]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Regenerate INSTALL.
[thirdparty/glibc.git] / ChangeLog
1 2017-03-21 Joseph Myers <joseph@codesourcery.com>
2
3 * INSTALL: Regenerated.
4
5 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
6
7 * config.h.in: Add LINK_OBSOLETE_NSL.
8 * config.make.in: Add build-obsolete-nsl.
9 * configure.ac: Add obsolete-nsl option.
10 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
11 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
12 * include/rpcsvc/nislib.h: Likewise.
13 * include/rpcsvc/ypclnt.h: Likewise.
14 * manual/install.texi: Document --enable-obsolete-nsl.
15 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
16 * nis/nis_add.c: Replace libnsl_hidden_def with
17 libnsl_hidden_nolink_def.
18 * nis/nis_addmember.c: Likewise.
19 * nis/nis_call.c: Likewise.
20 * nis/nis_clone_obj.c: Likewise.
21 * nis/nis_defaults.c: Likeise.
22 * nis/nis_domain_of_r.c: Likewise.
23 * nis/nis_error.c: Likewise.
24 * nis/nis_file.c: Likewise.
25 * nis/nis_free.c: Likewise.
26 * nis_local_names.c: Likewise.
27 * nis/nis_lookup.c: Likewise.
28 * nis/nis_modify.c: Likewise.
29 * nis/nis_print.c: Likewise.
30 * nis/nis_remove.c: Likewise.
31 * nis/nis_table.c: Likewise.
32 * nis/nis_util.c: Likewise.
33 * nis/nis_xdr.c: Likewise.
34 * nis/yp_xdr.c: Likewise.
35 * nis/ypclnt.c: Likewise.
36 * nis/ypupdate_xdr.c: Likewise.
37 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
38 * nis/nis_clone_dir.c: Likewise.
39 * nis/nis_clone_res.c: Likewise.
40 * nis/nis_creategroup.c: Likewise.
41 * nis/nis_destroygroup.c: Likewise.
42 * nis/nis_domain_of.c: Likewise.
43 * nis/nis_getservlist.c: Likewise.
44 * nis/nis_ismember.c: Likewise.
45 * nis/nis_mkdir.c: Likewise.
46 * nis/nis_ping.c: Likewise.
47 * nis/nis_print_group_entry.c: Likewise.
48 * nis/nis_removemember.c: Likewise.
49 * nis/nis_rmdir.c: Likewise.
50 * nis/nis_server.c: Likewise.
51 * nis/nis_subr.c: Likewise.
52 * nis/nis_verifygroup.c: Likewise.
53
54 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
55
56 * malloc/tst-interpose-aux.c (check_for_allocations):
57 Move compiler barrier before free.
58
59 2017-03-20 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #21279]
62 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
63 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
64 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
65 x86_64-x32-linux.
66 (mq_attr.mq_maxmsg): Likewise.
67 (mq_attr.mq_msgsize): Likewise.
68 (mq_attr.mq_curmsgs): Likewise.
69
70 [BZ #21278]
71 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
72 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
73 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
74 mips-o32-linux.
75
76 [BZ #21268]
77 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
78 if [__USE_MISC]
79 (NL3): Likewise.
80
81 2017-03-20 Mike Frysinger <vapier@gentoo.org>
82
83 [BZ #21275]
84 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
85 __stack to __stackbase.
86 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
87 checks so we can include defined(__ia64__) first.
88
89 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
90
91 * sysdeps/unix/sysv/linux/ttyname.h: New file.
92 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
93 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
94 Call is_pty when the link does not exist or does not match, fail
95 with ENODEV when it returns true.
96 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
97 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
98 Call is_pty when the link does not exist or does not match, fail
99 with ENODEV when it returns true.
100
101 2017-03-18 Joseph Myers <joseph@codesourcery.com>
102
103 [BZ #16437]
104 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
105 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
106 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
107 x86_64-x32-linux.
108 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
109 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
110 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
111
112 [BZ #21261]
113 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
114 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
115 names for all fields.
116 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
117 for jmp_buf field renaming.
118 (_JMPBUF_UNWINDS_ADJ): Likewise.
119
120 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
121 with allow-header.
122
123 2017-03-17 Chris Evans <scarybeasts@gmail.com>
124
125 * malloc/malloc.c (unlink): Add consistency check between size and
126 next->prev->size, to further harden against 1-byte overflows.
127
128 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
129
130 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
131 CPU_FEATURES_CPU_P.
132
133 2017-03-17 Joseph Myers <joseph@codesourcery.com>
134
135 [BZ #21259]
136 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
137 unconditionally, not just for [__USE_MISC].
138
139 [BZ #17786]
140 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
141 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
142 mips-o32-linux.
143
144 [BZ #21260]
145 * sysdeps/unix/sysv/linux/alpha/Makefile
146 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
147 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
148
149 * conform/conformtest.pl ($cross): New variable.
150 (--cross): New command-line option.
151 (runtest): Skip test execution when cross-compiling.
152 * conform/Makefile (conformtest-cross): New variable.
153 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
154 conformtest.pl.
155
156 * conform/conformtest.pl ($xfail_str): New variable.
157 (--xfail=): New command-line option.
158 (top level): Handle expectations starting xfail[cond]-.
159 * conform/Makefile (conformtest-xfail): New variable.
160 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
161 conformtest.pl.
162
163 2017-03-16 Joseph Myers <joseph@codesourcery.com>
164
165 * conform/conformtest.pl: Use compilation instead of execution
166 tests for testing values of constants and usability in #if.
167
168 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
169
170 * math/auto-libm-test-in: Mark some catan and catanh as
171 xfail-rounding:ibm128-libgcc.
172 * math/auto-libm-test-out-catan: Regenerate.
173 * math/auto-libm-test-out-catanh: Likewise.
174
175 2017-03-16 Joseph Myers <joseph@codesourcery.com>
176
177 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
178 (__END_NAMESPACE_STD): Likewise.
179 (__USING_NAMESPACE_STD): Likewise.
180 (__BEGIN_NAMESPACE_C99): Likewise.
181 (__END_NAMESPACE_C99): Likewise.
182 (__USING_NAMESPACE_C99): Likewise.
183 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
184 undefine macro.
185 (_Mdouble_END_NAMESPACE): Likewise.
186 * ctype/ctype.h: Do not handle C++ namespaces.
187 * libio/bits/stdio-ldbl.h: Likewise.
188 * libio/stdio.h: Likewise.
189 * locale/locale.h: Likewise.
190 * math/bits/mathcalls.h: Likewise.
191 * setjmp/setjmp.h: Likewise.
192 * signal/signal.h: Likewise.
193 * stdlib/bits/stdlib-float.h: Likewise.
194 * stdlib/bits/stdlib-ldbl.h: Likewise.
195 * stdlib/stdlib.h: Likewise.
196 * string/string.h: Likewise.
197 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
198 * time/bits/types/clock_t.h: Likewise.
199 * time/bits/types/struct_tm.h: Likewise.
200 * time/bits/types/time_t.h: Likewise.
201 * time/time.h: Likewise.
202 * wcsmbs/bits/wchar-ldbl.h: Likewise.
203 * wcsmbs/uchar.h: Likewise.
204 * wcsmbs/wchar.h: Likewise.
205 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
206 * wctype/wctype.h: Do not handle C++ namespaces.
207 * scripts/begin-end-check.pl: Remove.
208 * Makefile (installed-headers): Likewise.
209 (tests-special): Do not add $(objpfx)begin-end-check.out.
210 ($(objpfx)begin-end-check.out): Remove.
211
212 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
213 Adhemerval Zanella <adhemerval.zanella@linaro.org>
214
215 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
216 (DL_PLATFORM_INIT): New define.
217 (dl_platform_init): New function.
218 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
219 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
220 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
221 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
222 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
223
224 2017-03-15 Mike Frysinger <vapier@gentoo.org>
225
226 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
227 instead of PIC.
228
229 2017-03-15 Joseph Myers <joseph@codesourcery.com>
230
231 [BZ #21094]
232 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
233 24+24+24-bit pi for wider range of values around pi/2.
234 * math/auto-libm-test-in: Add more tests of cos and tan.
235 * math/auto-libm-test-out-cos: Regenerated.
236 * math/auto-libm-test-out-tan: Likewise.
237
238 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
239
240 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
241 (RTLD_START): Don't record stack end address in _dl_start_user.
242
243 2017-03-15 Alexey Neyman <stilor@att.net>
244
245 [BZ #21088]
246 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
247 around definitions match those around use.
248
249 2017-03-15 Alexey Neyman <stilor@att.net>
250
251 * configure.ac: Avoid empty subexpression in grep.
252 * configure: Regenerate.
253
254 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
255
256 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
257 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
258 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
259 (test_wrp_rv): Fix format.
260 (test_wrp_rv2): New macro.
261 (do_test): Handle mlock return on 64 bits kernels with 32 bits
262 binaries.
263
264 2017-03-15 Joseph Myers <joseph@codesourcery.com>
265
266 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
267 Use a union when storing pointers.
268 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
269 cast result when passing to INIT_VEC_PTRS_LOOP.
270 (VECTOR_WRAPPER_fFF_3): Likewise.
271 (VECTOR_WRAPPER_fFF_4): Likewise.
272
273 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
274
275 * include/bits/mathcalls-helper-functions.h: New file.
276 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
277 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
278 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
279 math/bits/mathcalls-helper-functions.h.
280 * math/bits/mathcalls-helper-functions.h: New file.
281 * math/math.h: Include bits/mathcalls-helper-functions.h for
282 float, double, and long double.
283
284 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
285
286 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
287 instead of feraiseexcept.
288
289 2017-03-15 Florian Weimer <fweimer@redhat.com>
290
291 [BZ #21243]
292 * support/temp_file.c (support_delete_temp_files): Add comment
293 about ignored errors.
294
295 2017-03-15 Florian Weimer <fweimer@redhat.com>
296
297 [BZ #21244]
298 * support/xclose.c: New file.
299 * support/Makefile (libsupport-routines): Add xclose.
300 * support/xunistd.h (xclose): Declare.
301 * support/resolv_test.c (server_thread_tcp_client)
302 (server_thread_tcp, make_server_sockets, resolv_test_start)
303 (resolv_test_end): Call xclose instead of close.
304 * support/support_enter_network_namespace.c
305 (support_enter_network_namespace): Likewise.
306 * support/support_run_diff.c (write_to_temp_file): Likewise.
307
308 2017-03-15 Florian Weimer <fweimer@redhat.com>
309
310 * support/support_format_dns_packet.c (support_format_dns_packet):
311 Handle CNAME records in the response. Extract RDATA names from
312 rdata, not the whole packet. Check AAAA record length.
313 * support/tst-support_format_dns_packet.c: New file.
314 * support/Makefile (tests): Add tst-support_format_dns_packet.
315 (tst-support_format_dns_packet): Link against libresolv.
316
317 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
318
319 [BZ #21232]
320 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
321 posix_fadvise64 weak_alias for static build.
322
323 2017-03-14 Andreas Schwab <schwab@suse.de>
324
325 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
326 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
327 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
328 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
329 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
330 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
331 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
332 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
333
334 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
335
336 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
337 posix error code.
338 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
339
340 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
341
342 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
343 no_isolate usage for SH.
344
345 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
346
347 [BZ #15105]
348 [BZ #19463]
349 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
350 * inet/rcmd.c (rcmd_af): Likewise.
351 * inet/rexec.c (rexec_af): Likewise.
352 * intl/dcigettext.c (_LIBC): Likewise.
353 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
354 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
355 * locale/setlocale.c (setlocale): Likewise.
356 * posix/spawn_faction_addopen.c
357 (posix_spawn_file_actions_addopen): Likewise.
358 * stdlib/putenv.c (putenv): Use __strndup.
359 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
361 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
362 (__Need_M_And_C) Remove define/undef.
363 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
364 (__malloc_and_calloc_defined): Remove define.
365 * string/bits/string2.h (__strdup): Remove define.
366 (strdup): Likewise.
367 (__strndup): Likewise.
368 (strndup): Likewise.
369
370 2017-03-13 Joseph Myers <joseph@codesourcery.com>
371
372 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
373 macro.
374 (IPV6_ADDR_PREFERENCES): Likewise.
375 (IPV6_MINHOPCOUNT): Likewise.
376 (IPV6_ORIGDSTADDR): Likewise.
377 (IPV6_RECVORIGDSTADDR): Likewise.
378 (IPV6_TRANSPARENT): Likewise.
379 (IPV6_UNICAST_IF): Likewise.
380 (IPV6_RECVFRAGSIZE): Likewise.
381
382 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
383
384 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
385
386 2017-03-12 Alexey Neyman <stilor@att.net>
387
388 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
389 in R_SH_DIR32 case is always false when inlined from
390 dl-conflict.c. Ifdef out to prevent GCC from insertin an
391
392 2016-03-12 Marko Myllynen <myllynen@redhat.com>
393
394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
395 (__ASSUME_RECV_SYSCALL): Replace duplicate by
396 __ASSUME_SEND_SYSCALL.
397
398 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
399
400 * sunrpc/Makefile: don't build and install rpcsvc header
401 files, rpcgen and librpcsvc.a by default.
402
403 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
404
405 * math/auto-libm-test-out-catan: Regenerated.
406 * math/auto-libm-test-out-catanh: Likewise.
407 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
408
409 2017-03-09 Joseph Myers <joseph@codesourcery.com>
410
411 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
412 for long double with corrected test expectations.
413
414 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
415
416 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
417 Define.
418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
419 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
420 * sysdeps/unix/sysv/linux/nios2/sysdep.h
421 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
422 * sysdeps/unix/sysv/linux/tile/sysdep.h
423 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
425 (__ASSUME_RECV_SYSCALL): Define.
426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
427 (__ASSUME_RECV_SYSCALL): Likewise.
428 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
429 (__ASSUME_RECV_SYSCALL): Likewise.
430 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
431 (__ASSUME_RECV_SYSCALL): Likewise.
432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
433 (__ASSUME_RECV_SYSCALL): Likewise.
434 * sysdeps/unix/sysv/linux/i386/kernel-features.h
435 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
436 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
437 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
438 * sysdeps/unix/sysv/linux/s390/kernel-features.h
439 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
440 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
441 auto-generation list.
442 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
443 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
444 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
445 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
446 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
447 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
448 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
449 __ASSUME_SENDTO_SYSCALL.
450 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
451 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
452 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
453
454 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
455 auto-generation list.
456 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
457 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
458 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
459 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
460 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
461 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
463 * sysdeps/unix/sysv/linux/kernel-features.h
464 (__ASSUME_SENDTO_SYSCALL): Define by default.
465 * sysdeps/unix/sysv/linux/i386/kernel-features.h
466 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
467 __NR_sendto.
468 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
469 (__ASSUME_SENDTO_SYSCALL): Likewise.
470 * sysdeps/unix/sysv/linux/s390/kernel-features.h
471 (__ASSUME_SENDTO_SYSCALL): Likewise.
472 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
473 (__ASSUME_SENDTO_SYSCALL): Remove definition.
474 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
475 (__ASSUME_SENDTO_SYSCALL): Likewise.
476 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
477 (__ASSUME_SENDTO_SYSCALL): Likewise.
478 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
479
480 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
481 auto-generation list.
482 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
483 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
484 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
485 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
488 (__ASSUME_RECV_SYSCALL): New define.
489 * sysdeps/unix/sysv/linux/arm/kernel-features.h
490 (__ASSUME_RECV_SYSCALL): Likewise.
491 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
492 (__ASSUME_RECV_SYSCALL): Likewise.
493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
494 (__ASSUME_RECV_SYSCALL): Likewise.
495 * sysdeps/unix/sysv/linux/mips/kernel-features.h
496 (__ASSUME_RECV_SYSCALL): Likewise.
497 * sysdeps/unix/sysv/linux/i386/kernel-features.h
498 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
499 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
500 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
501 * sysdeps/unix/sysv/linux/s390/kernel-features.h
502 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
503 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
504 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
505 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
506 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
507 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
508 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
509
510 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
511 auto-generation list.
512 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
513 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
514 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
515 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
518 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
519 * sysdeps/unix/sysv/linux/i386/kernel-features.h
520 (__ASSUME_RECVFROM_SYSCALL): Define by default.
521 * sysdeps/unix/sysv/linux/kernel-features.h
522 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
523 __NR_recvfrom.
524 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
525 (__ASSUME_RECVFROM_SYSCALL): Likewise.
526 * sysdeps/unix/sysv/linux/s390/kernel-features.h
527 (__ASSUME_RECVFROM_SYSCALL): Likewise.
528 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
529 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
530 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
531 (__ASSUME_RECVFROM_SYSCALL): Likewise.
532 * sysdeps/unix/sysv/linux/sh/kernel-features.h
533 (__ASSUME_RECVFROM_SYSCALL): Likewise.
534 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
535 (__ASSUME_RECVFROM_SYSCALL): Likewise.
536 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
537
538 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
539 auto-generation list.
540 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
541 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
542 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
543 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
544 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
545 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
546 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
547 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
548 * sysdeps/unix/sysv/linux/kernel-features.h
549 (__ASSUME_CONNECT_SYSCALL): Define.
550 * sysdeps/unix/sysv/linux/i386/kernel-features.h
551 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
552 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
553 (__ASSUME_CONNECT_SYSCALL): Likewise.
554 * sysdeps/unix/sysv/linux/s390/kernel-features.h
555 (__ASSUME_CONNECT_SYSCALL): Likewise.
556 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
557 (__ASSUME_CONNECT_SYSCALL): Likewise.
558
559 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
560 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
561 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
562 auto-generation list.
563 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
564 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
565 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
566 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
567 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
570 * sysdeps/unix/sysv/linux/i386/kernel-features.h
571 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
572 (__ASSUME_ACCEPT_SYSCALL): Undefine.
573 * sysdeps/unix/sysv/linux/kernel-features.h
574 (__ASSUME_ACCEPT_SYSCALL): New define.
575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
576 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
577 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
578 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
579 (__ASSUME_ACCEPT_SYSCALL): Define.
580 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
581 (__ASSUME_ACCEPT_SYSCALL): Undefine.
582 * sysdeps/unix/sysv/linux/s390/kernel-features.h
583 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
584 (__ASSUME_ACCEPT_SYSCALL): Undefine.
585 * sysdeps/unix/sysv/linux/sh/kernel-features.h
586 (__ASSUME_ACCEPT_SYSCALL): Undefine.
587 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
588 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
589
590 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
591 Zack Weinberg <zackw@panix.com>
592
593 * posix/test-errno.c: New file.
594 * posix/Makefile (tests): Add test-errno.
595 * sysdeps/unix/sysv/linux/test-errno.c: New file.
596 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
597
598 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
599
600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
601
602 2017-03-07 Florian Weimer <fweimer@redhat.com>
603
604 * time/tzset.c (compute_offset): Open-code min macro.
605 (min, max, sign): Remove.
606
607 2017-03-07 Florian Weimer <fweimer@redhat.com>
608
609 [BZ #15576]
610 Remove TZNAME_MAX limit from sysconf.
611 * include/time.h (__tzname_cur_max, __tzname_max): Remove
612 declaration.
613 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
614 compute_tzname_max.
615 (compute_tzname_max): Remove.
616 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
617 (update_vars): Do not update __tzname_cur_max.
618 (tzset_internal): Remove argument.
619 (__tzset): Adjust call to tzset_internal.
620 (__tz_convert): Likewise.
621
622 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
623 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
624 * manual/conf.texi (Sysconf Definition): Update comment.
625
626 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
627
628 [BZ #21209]
629 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
630 AT_SECURE processes.
631 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
632 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
633 (test_child): Likewise.
634 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
635
636 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
637
638 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
639
640 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
641
642 * sysdeps/s390/atomic-machine.h
643 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
644 (__arch_compare_and_exchange_val_8_acq,
645 __arch_compare_and_exchange_val_16_acq,
646 __arch_compare_and_exchange_val_32_acq,
647 __arch_compare_and_exchange_val_64_acq):
648 Delete macro.
649 (atomic_compare_and_exchange_val_acq,
650 atomic_compare_and_exchange_val_rel,
651 atomic_compare_and_exchange_bool_acq,
652 catomic_compare_and_exchange_bool_acq,
653 atomic_exchange_acq, atomic_exchange_rel,
654 atomic_exchange_and_add_acq,
655 atomic_exchange_and_add_rel,
656 catomic_exchange_and_add, atomic_or_val,
657 atomic_or, catomic_or, atomic_bit_test_set,
658 atomic_and_val, atomic_and, catomic_and):
659 Define macros with help of C11 atomic builtins.
660
661 2017-03-03 Justus Winter <justus@gnupg.org>
662
663 * sysdeps/mach/hurd/ftruncate64.c: New file.
664 * sysdeps/mach/hurd/truncate64.c: Likewise.
665
666 2017-03-03 Florian Weimer <fweimer@redhat.com>
667
668 * time/tzfile.c (NOID): Do not define.
669 * time/tzset.c (NOID): Likewise.
670
671 2017-03-03 Florian Weimer <fweimer@redhat.com>
672
673 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
674
675 2017-03-02 Florian Weimer <fweimer@redhat.com>
676
677 * elf/get-dynamic-info.h: Remove header file inclusion guard.
678
679 2017-03-02 Florian Weimer <fweimer@redhat.com>
680
681 [BZ #21015]
682 * manual/install.texi (Configuring and compiling): Document
683 --enable-bind-now.
684 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
685 (build-shlib-helper): Use $(LDFLAGS-lib.so).
686 (format.lds): Likewise.
687 [bind-now] (LDFLAGS-c.so): Remove.
688 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
689 be R_X86_64_GLOB_DAT.
690 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
691 relocation can be R_386_GLOB_DAT.
692 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
693 relocaiton can be R_ALPHA_GLOB_DAT.
694 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
695
696 2017-03-01 Zack Weinberg <zackw@panix.com>
697
698 * include/libc-pointer-arith.h: New file. Define
699 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
700 PTR_ALIGN_DOWN here.
701 * include/libc-internal.h: Definitions of above macros
702 moved from here. Don't include libc-diag.h anymore either.
703 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
704 Don't include libc-internal.h.
705
706 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
707 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
708 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
709 * string/strcoll_l.c, sysdeps/nacl/brk.c
710 * sysdeps/unix/clock_settime.c
711 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
712 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
715 Don't include libc-internal.h.
716
717 * elf/get-dynamic-info.h, iconv/loop.c
718 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
719 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
720 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
721 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
725 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
726 * sysdeps/ieee754/ldbl-128/k_tanl.c
727 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
729 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
730 Include libc-diag.h instead of libc-internal.h.
731
732 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
733 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
734 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
735 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
736 * sysdeps/unix/sysv/linux/spawni.c
737 * sysdeps/x86_64/nptl/tls.h:
738 Include libc-pointer-arith.h instead of libc-internal.h.
739
740 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
741 * sysdeps/x86_64/atomic-machine.h:
742 Add multiple include guard.
743
744 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
745 * string/strcasestr.c: No need to include config.h.
746 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
747 sys/auxv.h. Don't include sysdep.h.
748 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
749
750 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
751 DL_LOOKUP_ADDRESS.
752 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
753 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
754 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
755 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
756 of ARTIFICIAL_LIMIT.
757 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
758 declaration of __clone2.
759
760 2017-02-28 Florian Weimer <fweimer@redhat.com>
761
762 * scripts/backport-support.sh (latest_commit): New file.
763
764 2017-02-28 Florian Weimer <fweimer@redhat.com>
765
766 [BZ #20257]
767 * inet/Makefile (routines): Add deadline.
768 (tests-static): Add tst-deadline.
769 * inet/net-internal.h (struct deadline_current_time)
770 (__deadline_current_time, struct deadline, __deadline_is_infinite)
771 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
772 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
773 * inet/deadline.c: New file.
774 * inet/tst-deadline.c: Likewise.
775 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
776 tst-udp-timeout, tst-udp-garbage.
777 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
778 explicitly.
779 (tst-udp-garbage): Likewise. Also link against thread library.
780 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
781 struct layout is part of the ABI.
782 (clntudp_call): Rework timeout handling.
783 * sunrpc/tst-udp-garbage.c: New file.
784 * sunrpc/tst-udp-nonblocking.c: Likewise.
785 * sunrpc/tst-udp-timeout.c: Likewise.
786
787 2017-02-28 Florian Weimer <fweimer@redhat.com>
788
789 [BZ #5010]
790 * sunrpc/svc.c (svc_is_mapped): Remove.
791 (svc_unregister): Obtain mapped status while the service is still
792 registered.
793 * sunrpc/Makefile [have-thread-library] (tests): Add
794 tst-svc_register.
795 (tst-svc_register): Link against libc.so explicitly and the thread
796 library.
797 * sunrpc/tst-svc_register.c: New file.
798
799 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
800
801 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
802 * sysdeps/pthread/bits/sigthread.h: Likewise.
803
804 2017-02-27 Florian Weimer <fweimer@redhat.com>
805
806 [BZ #21115]
807 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
808 * sunrpc/Makefile (tests): Add tst-udp-error.
809 (tst-udp-error): Link against libc.so explicitly.
810 * sunrpc/tst-udp-error: New file.
811
812 2017-02-25 Zack Weinberg <zackw@panix.com>
813
814 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
815 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
816
817 * sysdeps/generic/math_ldbl.h
818 * sysdeps/ia64/fpu/math_ldbl.h
819 * sysdeps/ieee754/ldbl-128/math_ldbl.h
820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
821 * sysdeps/ieee754/ldbl-96/math_ldbl.h
822 * sysdeps/powerpc/fpu/math_ldbl.h
823 * sysdeps/x86_64/fpu/math_ldbl.h:
824 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
825 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
826 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
827 Add copyright notices.
828
829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
830 Don't use EXTRACT_WORDS64.
831
832 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
833 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
834 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
835 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
836 Include math_ldbl.h, not math_private.h.
837
838 2017-02-25 Zack Weinberg <zackw@panix.com>
839
840 * include/libc-diag.h: New file. Define ignore_value,
841 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
842 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
843
844 * include/libc-internal.h: Definitions of above macros moved from
845 here. Include libc-diag.h. Add copyright notice.
846
847 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
848 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
849 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
850 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
851 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
852 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
853 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
854 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
855 Include libc-diag.h instead of libc-internal.h.
856
857 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
858 call to unsetenv (NULL).
859 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
860 call to pthread_mutexattr_destroy (NULL).
861
862 2017-02-25 Zack Weinberg <zackw@panix.com>
863
864 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
865 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
866 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
867 gets was removed from C++ in C++14.
868 * include/stdio.h: Remove redundant declaration of gets.
869 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
870 be declared, since we are testing it.
871 * stdio-common/Makefile (tst-gets.c): Compile with
872 -Wno-deprecated-declarations.
873 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
874 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
875 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
876 Compile with -Wno-deprecated-declarations.
877
878 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
879
880 * math/libm-test-support.c (check_ulp): Use LIT() around literal
881 numbers.
882
883 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
884
885 * resolv/tst-resolv-qtypes.c (domain):
886 Change type to const pointer to const char.
887
888 2017-02-24 Joseph Myers <joseph@codesourcery.com>
889
890 * math/Makefile (libm-tests-generated): Remove variable.
891 (libm-tests-base-normal): New variable.
892 (libm-tests-base-finite): Likewise.
893 (libm-tests-base-inline): Likewise.
894 (libm-tests-base): Likewise.
895 (libm-tests-normal): Likewise.
896 (libm-tests-finite): Likewise.
897 (libm-tests-inline): Likewise.
898 (libm-tests-vector): Likewise.
899 (libm-tests): Define in terms of these new variables.
900 (libm-tests-for-type): New variable.
901 (libm-tests.o): Move definition.
902 (tests): Move addition of $(libm-tests).
903 (generated): Update for new and removed libm test files.
904 ($(objpfx)libm-test.c): Remove target.
905 ($(objpfx)libm-have-vector-test.h): Likewise.
906 (CFLAGS-test-double-vlen2.c): Remove variable.
907 (CFLAGS-test-double-vlen4.c): Likewise.
908 (CFLAGS-test-double-vlen8.c): Likewise.
909 (CFLAGS-test-float-vlen4.c): Likewise.
910 (CFLAGS-test-float-vlen8.c): Likewise.
911 (CFLAGS-test-float-vlen16.c): Likewise.
912 (CFLAGS-test-float.c): Likewise.
913 (CFLAGS-test-float-finite.c): Likewise.
914 (CFLAGS-libm-test-support-float.c): Likewise.
915 (CFLAGS-test-double.c): Likewise.
916 (CFLAGS-test-double-finite.c): Likewise.
917 (CFLAGS-libm-test-support-double.c): Likewise.
918 (CFLAGS-test-ldouble.c): Likewise.
919 (CFLAGS-test-ldouble-finite.c): Likewise.
920 (CFLAGS-libm-test-support-ldouble.c): Likewise.
921 (libm-test-inline-cflags): New variable.
922 (CFLAGS-test-ifloat.c): Remove variable.
923 (CFLAGS-test-idouble.c): Likewise.
924 (CFLAGS-test-ildouble.c): Likewise.
925 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
926 dependencies.
927 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
928 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
929 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
930 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
931 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
932 Likewise.
933 (dependencies on libm-test-support-*.o): Remove.
934 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
935 rules using iterators.
936 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
937 Likewise.
938 ($(objpfx)libm-test-support-$(o).o): Likewise.
939 ($(addprefix $(objpfx),$(filter-out $(tests-static)
940 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
941 instead.
942 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
943 define rule instead.
944 * math/README.libm-test: Update.
945 * math/libm-test-acos.inc: Include libm-test-driver.c.
946 (do_test): New function.
947 * math/libm-test-acosh.inc: Include libm-test-driver.c.
948 (do_test): New function.
949 * math/libm-test-asin.inc: Include libm-test-driver.c.
950 (do_test): New function.
951 * math/libm-test-asinh.inc: Include libm-test-driver.c.
952 (do_test): New function.
953 * math/libm-test-atan.inc: Include libm-test-driver.c.
954 (do_test): New function.
955 * math/libm-test-atan2.inc: Include libm-test-driver.c.
956 (do_test): New function.
957 * math/libm-test-atanh.inc: Include libm-test-driver.c.
958 (do_test): New function.
959 * math/libm-test-cabs.inc: Include libm-test-driver.c.
960 (do_test): New function.
961 * math/libm-test-cacos.inc: Include libm-test-driver.c.
962 (do_test): New function.
963 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
964 (do_test): New function.
965 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
966 (do_test): New function.
967 * math/libm-test-carg.inc: Include libm-test-driver.c.
968 (do_test): New function.
969 * math/libm-test-casin.inc: Include libm-test-driver.c.
970 (do_test): New function.
971 * math/libm-test-casinh.inc: Include libm-test-driver.c.
972 (do_test): New function.
973 * math/libm-test-catan.inc: Include libm-test-driver.c.
974 (do_test): New function.
975 * math/libm-test-catanh.inc: Include libm-test-driver.c.
976 (do_test): New function.
977 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
978 (do_test): New function.
979 * math/libm-test-ccos.inc: Include libm-test-driver.c.
980 (do_test): New function.
981 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
982 (do_test): New function.
983 * math/libm-test-ceil.inc: Include libm-test-driver.c.
984 (do_test): New function.
985 * math/libm-test-cexp.inc: Include libm-test-driver.c.
986 (do_test): New function.
987 * math/libm-test-cimag.inc: Include libm-test-driver.c.
988 (do_test): New function.
989 * math/libm-test-clog.inc: Include libm-test-driver.c.
990 (do_test): New function.
991 * math/libm-test-clog10.inc: Include libm-test-driver.c.
992 (do_test): New function.
993 * math/libm-test-conj.inc: Include libm-test-driver.c.
994 (do_test): New function.
995 * math/libm-test-copysign.inc: Include libm-test-driver.c.
996 (do_test): New function.
997 * math/libm-test-cos.inc: Include libm-test-driver.c.
998 (do_test): New function.
999 * math/libm-test-cosh.inc: Include libm-test-driver.c.
1000 (do_test): New function.
1001 * math/libm-test-cpow.inc: Include libm-test-driver.c.
1002 (do_test): New function.
1003 * math/libm-test-cproj.inc: Include libm-test-driver.c.
1004 (do_test): New function.
1005 * math/libm-test-creal.inc: Include libm-test-driver.c.
1006 (do_test): New function.
1007 * math/libm-test-csin.inc: Include libm-test-driver.c.
1008 (do_test): New function.
1009 * math/libm-test-csinh.inc: Include libm-test-driver.c.
1010 (do_test): New function.
1011 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1012 (do_test): New function.
1013 * math/libm-test-ctan.inc: Include libm-test-driver.c.
1014 (do_test): New function.
1015 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1016 (do_test): New function.
1017 * math/libm-test-erf.inc: Include libm-test-driver.c.
1018 (do_test): New function.
1019 * math/libm-test-erfc.inc: Include libm-test-driver.c.
1020 (do_test): New function.
1021 * math/libm-test-exp.inc: Include libm-test-driver.c.
1022 (do_test): New function.
1023 * math/libm-test-exp10.inc: Include libm-test-driver.c.
1024 (do_test): New function.
1025 * math/libm-test-exp2.inc: Include libm-test-driver.c.
1026 (do_test): New function.
1027 * math/libm-test-expm1.inc: Include libm-test-driver.c.
1028 (do_test): New function.
1029 * math/libm-test-fabs.inc: Include libm-test-driver.c.
1030 (do_test): New function.
1031 * math/libm-test-fdim.inc: Include libm-test-driver.c.
1032 (do_test): New function.
1033 * math/libm-test-floor.inc: Include libm-test-driver.c.
1034 (do_test): New function.
1035 * math/libm-test-fma.inc: Include libm-test-driver.c.
1036 (do_test): New function.
1037 * math/libm-test-fmax.inc: Include libm-test-driver.c.
1038 (do_test): New function.
1039 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1040 (do_test): New function.
1041 * math/libm-test-fmin.inc: Include libm-test-driver.c.
1042 (do_test): New function.
1043 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1044 (do_test): New function.
1045 * math/libm-test-fmod.inc: Include libm-test-driver.c.
1046 (do_test): New function.
1047 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1048 (do_test): New function.
1049 * math/libm-test-frexp.inc: Include libm-test-driver.c.
1050 (do_test): New function.
1051 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1052 (do_test): New function.
1053 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1054 (do_test): New function.
1055 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1056 (do_test): New function.
1057 * math/libm-test-hypot.inc: Include libm-test-driver.c.
1058 (do_test): New function.
1059 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1060 (do_test): New function.
1061 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1062 (do_test): New function.
1063 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1064 (do_test): New function.
1065 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1066 (do_test): New function.
1067 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1068 (do_test): New function.
1069 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1070 (do_test): New function.
1071 * math/libm-test-isinf.inc: Include libm-test-driver.c.
1072 (do_test): New function.
1073 * math/libm-test-isless.inc: Include libm-test-driver.c.
1074 (do_test): New function.
1075 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1076 (do_test): New function.
1077 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1078 (do_test): New function.
1079 * math/libm-test-isnan.inc: Include libm-test-driver.c.
1080 (do_test): New function.
1081 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1082 (do_test): New function.
1083 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1084 (do_test): New function.
1085 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1086 (do_test): New function.
1087 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1088 (do_test): New function.
1089 * math/libm-test-iszero.inc: Include libm-test-driver.c.
1090 (do_test): New function.
1091 * math/libm-test-j0.inc: Include libm-test-driver.c.
1092 (do_test): New function.
1093 * math/libm-test-j1.inc: Include libm-test-driver.c.
1094 (do_test): New function.
1095 * math/libm-test-jn.inc: Include libm-test-driver.c.
1096 (do_test): New function.
1097 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1098 (do_test): New function.
1099 * math/libm-test-llogb.inc: Include libm-test-driver.c.
1100 (do_test): New function.
1101 * math/libm-test-llrint.inc: Include libm-test-driver.c.
1102 (do_test): New function.
1103 * math/libm-test-llround.inc: Include libm-test-driver.c.
1104 (do_test): New function.
1105 * math/libm-test-log.inc: Include libm-test-driver.c.
1106 (do_test): New function.
1107 * math/libm-test-log10.inc: Include libm-test-driver.c.
1108 (do_test): New function.
1109 * math/libm-test-log1p.inc: Include libm-test-driver.c.
1110 (do_test): New function.
1111 * math/libm-test-log2.inc: Include libm-test-driver.c.
1112 (do_test): New function.
1113 * math/libm-test-logb.inc: Include libm-test-driver.c.
1114 (do_test): New function.
1115 * math/libm-test-lrint.inc: Include libm-test-driver.c.
1116 (do_test): New function.
1117 * math/libm-test-lround.inc: Include libm-test-driver.c.
1118 (do_test): New function.
1119 * math/libm-test-modf.inc: Include libm-test-driver.c.
1120 (do_test): New function.
1121 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1122 (do_test): New function.
1123 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1124 (do_test): New function.
1125 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1126 (do_test): New function.
1127 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1128 (do_test): New function.
1129 * math/libm-test-nextup.inc: Include libm-test-driver.c.
1130 (do_test): New function.
1131 * math/libm-test-pow.inc: Include libm-test-driver.c.
1132 (do_test): New function.
1133 * math/libm-test-remainder.inc: Include libm-test-driver.c.
1134 (do_test): New function.
1135 * math/libm-test-remquo.inc: Include libm-test-driver.c.
1136 (do_test): New function.
1137 * math/libm-test-rint.inc: Include libm-test-driver.c.
1138 (do_test): New function.
1139 * math/libm-test-round.inc: Include libm-test-driver.c.
1140 (do_test): New function.
1141 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1142 (do_test): New function.
1143 * math/libm-test-scalb.inc: Include libm-test-driver.c.
1144 (do_test): New function.
1145 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1146 (do_test): New function.
1147 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1148 (do_test): New function.
1149 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1150 (do_test): New function.
1151 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1152 (do_test): New function.
1153 * math/libm-test-signbit.inc: Include libm-test-driver.c.
1154 (do_test): New function.
1155 * math/libm-test-significand.inc: Include libm-test-driver.c.
1156 (do_test): New function.
1157 * math/libm-test-sin.inc: Include libm-test-driver.c.
1158 (do_test): New function.
1159 * math/libm-test-sincos.inc: Include libm-test-driver.c.
1160 (do_test): New function.
1161 * math/libm-test-sinh.inc: Include libm-test-driver.c.
1162 (do_test): New function.
1163 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1164 (do_test): New function.
1165 * math/libm-test-tan.inc: Include libm-test-driver.c.
1166 (do_test): New function.
1167 * math/libm-test-tanh.inc: Include libm-test-driver.c.
1168 (do_test): New function.
1169 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1170 (do_test): New function.
1171 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1172 (do_test): New function.
1173 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1174 (do_test): New function.
1175 * math/libm-test-trunc.inc: Include libm-test-driver.c.
1176 (do_test): New function.
1177 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1178 (do_test): New function.
1179 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1180 (do_test): New function.
1181 * math/libm-test-y0.inc: Include libm-test-driver.c.
1182 (do_test): New function.
1183 * math/libm-test-y1.inc: Include libm-test-driver.c.
1184 (do_test): New function.
1185 * math/libm-test-yn.inc: Include libm-test-driver.c.
1186 (do_test): New function.
1187 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1188 (HAVE_VECTOR): Remove macro.
1189 (START): Do not call HAVE_VECTOR.
1190 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1191 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1192 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1193 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1194 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1195 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1196 * math/test-math-vector.h (FUNC_TEST): New macro.
1197 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1198 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1199 (double-vlen4-funcs): Likewise.
1200 (double-vlen4-avx2-funcs): Likewise.
1201 (double-vlen8-funcs): Likewise.
1202 (float-vlen4-funcs): Likewise.
1203 (float-vlen8-funcs): Likewise.
1204 (float-vlen8-avx2-funcs): Likewise.
1205 (float-vlen16-funcs): Likewise.
1206 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1207 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1208 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1209 macro.
1210 (TEST_VECTOR_sin): Likewise.
1211 (TEST_VECTOR_sincos): Likewise.
1212 (TEST_VECTOR_log): Likewise.
1213 (TEST_VECTOR_exp): Likewise.
1214 (TEST_VECTOR_pow): Likewise.
1215 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1216 Likewise.
1217 (TEST_VECTOR_sin): Likewise.
1218 (TEST_VECTOR_sincos): Likewise.
1219 (TEST_VECTOR_log): Likewise.
1220 (TEST_VECTOR_exp): Likewise.
1221 (TEST_VECTOR_pow): Likewise.
1222 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1223 Likewise.
1224 (TEST_VECTOR_sinf): Likewise.
1225 (TEST_VECTOR_sincosf): Likewise.
1226 (TEST_VECTOR_logf): Likewise.
1227 (TEST_VECTOR_expf): Likewise.
1228 (TEST_VECTOR_powf): Likewise.
1229 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1230 Likewise.
1231 (TEST_VECTOR_sinf): Likewise.
1232 (TEST_VECTOR_sincosf): Likewise.
1233 (TEST_VECTOR_logf): Likewise.
1234 (TEST_VECTOR_expf): Likewise.
1235 (TEST_VECTOR_powf): Likewise.
1236 * math/gen-libm-have-vector-test.sh: Remove file.
1237 * math/libm-test.inc: Likewise.
1238 * math/libm-test-support-double.c: Likewise.
1239 * math/libm-test-support-float.c: Likewise.
1240 * math/libm-test-support-ldouble.c: Likewise.
1241 * math/test-double-finite.c: Likewise.: Likewise.
1242 * math/test-double.c: Likewise.
1243 * math/test-float-finite.c: Likewise.
1244 * math/test-float.c: Likewise.
1245 * math/test-idouble.c: Likewise.
1246 * math/test-ifloat.c: Likewise.
1247 * math/test-ildouble.c: Likewise.
1248 * math/test-ldouble-finite.c: Likewise.
1249 * math/test-ldouble.c: Likewise.
1250 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1251 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1252 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1253 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1254 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1255 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1256 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1257 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1258 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1259 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1260
1261 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1262 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1263
1264 * math/Makefile: Add wrappers to gen-libm-calls.
1265 * math/w_acos_template.c: New file.
1266 * math/w_acosh_template.c: Likewise.
1267 * math/w_asin_template.c: Likewise.
1268 * math/w_atan2_template.c: Likewise.
1269 * math/w_atanh_template.c: Likewise.
1270 * math/w_cosh_template.c: Likewise.
1271 * math/w_exp10_template.c: Likewise.
1272 * math/w_exp2_template.c: Likewise.
1273 * math/w_exp_template.c: Likewise.
1274 * math/w_fmod_template.c: Likewise.
1275 * math/w_hypot_template.c: Likewise.
1276 * math/w_j0_template.c: Likewise.
1277 * math/w_j1_template.c: Likewise.
1278 * math/w_jn_template.c: Likewise.
1279 * math/w_lgamma_r_template.c: Likewise.
1280 * math/w_lgamma_template.c: Likewise.
1281 * math/w_log10_template.c: Likewise.
1282 * math/w_log2_template.c: Likewise.
1283 * math/w_log_template.c: Likewise.
1284 * math/w_pow_template.c: Likewise.
1285 * math/w_remainder_template.c: Likewise.
1286 * math/w_sinh_template.c: Likewise.
1287 * math/w_sqrt_template.c: Likewise.
1288 * math/w_tgamma_template.c: Likewise.: Likewise.
1289 * sysdeps/generic/math-type-macros-double.h
1290 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1291 the new wrappers.
1292 * sysdeps/generic/math-type-macros-float.h: Likewise.
1293 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1294
1295 2017-02-22 Joseph Myers <joseph@codesourcery.com>
1296
1297 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1298 New enum constant and macro.
1299
1300 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1301 kernel version to 4.10.
1302
1303 2017-02-21 Joseph Myers <joseph@codesourcery.com>
1304
1305 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1306
1307 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1308
1309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1310
1311 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
1312
1313 * sysdeps/powerpc/tst-set_ppr.c: New file.
1314 Implement test cases for __ppc_set_ppr_* functions.
1315 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1316 in the list of tests.
1317
1318 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
1319
1320 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1321 instead of test-skeleton.c.
1322 (do_test): Replaced pthread_create and pthread_join with
1323 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
1324 Removed unneeded status variable.
1325 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1326 instead of test-skeleton.c.
1327 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1328
1329 2017-02-20 Mike FABIAN <mfabian@redhat.com>
1330
1331 [BZ #20313]
1332 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1333 201605L, for Unicode 9.
1334
1335 2017-02-20 Joseph Myers <joseph@codesourcery.com>
1336
1337 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1338 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1339 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1340 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1341 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1342 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1343
1344 2017-02-19 Zack Weinberg <zackw@panix.com>
1345
1346 * rt/tst-mqueue4.c: Include stdint.h.
1347
1348 2017-02-17 Joseph Myers <joseph@codesourcery.com>
1349
1350 * sysdeps/arm/libm-test-ulps: Update.
1351 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1353 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1354
1355 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1356
1357 [BZ #21029]
1358 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1359 * sysdeps/unix/sysv/linux/i386/Makefile
1360 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1361 (uses-6-syscall-arguments): Remove.
1362 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1363 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1364 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1365 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1366 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1367 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1368 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1369 [$(subdir) = misc] (cflags-pselect.o): Likewise.
1370 [$(subdir) = misc] (cflags-pselect.os): Likewise.
1371 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1372 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1373 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1374 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1375 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1376 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1377 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1378 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1379 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1380 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1381 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1382 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1383 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1384 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1385 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1386 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1387 Likewise.
1388 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1389 Likewise.
1390 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1391 Likewise.
1392 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1393 Likewise.
1394 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1395 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1396 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1397 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1398 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1399 ebp on inline assembly.
1400 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1401 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1402 Set if CAN_USE_REGISTER_ASM_EBP is set.
1403
1404 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1407 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1408
1409 2017-02-17 Joseph Myers <joseph@codesourcery.com>
1410
1411 * math/auto-libm-test-in: Add tests of catan and catanh.
1412 * math/auto-libm-test-out-catan: New generated file.
1413 * math/auto-libm-test-out-catanh: Likewise.
1414 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1415 Move tests with finite inputs, except divide-by-zero cases, to
1416 auto-libm-test-in.
1417 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1418 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1419 (libm-test-funcs-noauto): Remove catan and catanh.
1420 * sysdeps/i386/fpu/libm-test-ulps: Update.
1421 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1423
1424 * math/auto-libm-test-in: Add tests of casin and casinh.
1425 * math/auto-libm-test-out-casin: New generated file.
1426 * math/auto-libm-test-out-casinh: Likewise.
1427 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1428 Move tests with finite inputs to auto-libm-test-in.
1429 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1430 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1431 (libm-test-funcs-noauto): Remove casin and casinh.
1432 * sysdeps/i386/fpu/libm-test-ulps: Update.
1433 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1435
1436 * math/auto-libm-test-in: Add tests of cacos and cacosh.
1437 * math/auto-libm-test-out-cacos: New generated file.
1438 * math/auto-libm-test-out-cacosh: Likewise.
1439 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1440 Move tests with finite inputs to auto-libm-test-in.
1441 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1442 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1443 (libm-test-funcs-noauto): Remove cacos and cacosh.
1444 * sysdeps/i386/fpu/libm-test-ulps: Update.
1445 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1447
1448 Revert:
1449 2017-02-16 Zack Weinberg <zackw@panix.com>
1450
1451 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1452 Don't include init-arch.h.
1453 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1454 Don't include init-arch.h.
1455
1456 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1457
1458 [BZ #21171]
1459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1460 +Inf and raise divide-by-zero when x is negative.
1461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1463 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
1464 -Inf and raise divide-by-zero when x = +-0.
1465 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1466 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1467 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1468 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1469 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1470 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1472
1473 2017-02-16 Zack Weinberg <zackw@panix.com>
1474
1475 * scripts/build-many-glibcs.py (bot_build_mail): If the
1476 bot_config does not contain all of the necessary email-
1477 related settings, just print a warning and continue.
1478
1479 2017-02-16 Zack Weinberg <zackw@panix.com>
1480
1481 * crypt/md5.h: Test _LIBC with #if defined, not #if.
1482 * dirent/opendir-tst1.c: Include sys/stat.h.
1483 * dirent/tst-fdopendir.c: Include sys/stat.h.
1484 * dirent/tst-fdopendir2.c: Include stdlib.h.
1485 * dirent/tst-scandir.c: Include stdbool.h.
1486 * elf/tst-auditmod1.c: Include link.h and stddef.h.
1487 * elf/tst-tls15.c: Include stdlib.h.
1488 * elf/tst-tls16.c: Include stdlib.h.
1489 * elf/tst-tls17.c: Include stdlib.h.
1490 * elf/tst-tls18.c: Include stdlib.h.
1491 * iconv/tst-iconv6.c: Include endian.h.
1492 * iconvdata/bug-iconv11.c: Include limits.h.
1493 * io/test-utime.c: Include stdint.h.
1494 * io/tst-faccessat.c: Include sys/stat.h.
1495 * io/tst-fchmodat.c: Include sys/stat.h.
1496 * io/tst-fchownat.c: Include sys/stat.h.
1497 * io/tst-fstatat.c: Include sys/stat.h.
1498 * io/tst-futimesat.c: Include sys/stat.h.
1499 * io/tst-linkat.c: Include sys/stat.h.
1500 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1501 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1502 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1503 * io/tst-openat.c: Include stdbool.h.
1504 * io/tst-readlinkat.c: Include sys/stat.h.
1505 * io/tst-renameat.c: Include sys/stat.h.
1506 * io/tst-symlinkat.c: Include sys/stat.h.
1507 * io/tst-unlinkat.c: Include stdbool.h.
1508 * libio/bug-memstream1.c: Include stdlib.h.
1509 * libio/bug-wmemstream1.c: Include stdlib.h.
1510 * libio/tst-fwrite-error.c: Include stdlib.h.
1511 * libio/tst-memstream1.c: Include stdlib.h.
1512 * libio/tst-memstream2.c: Include stdlib.h.
1513 * libio/tst-memstream3.c: Include stdlib.h.
1514 * malloc/tst-interpose-aux.c: Include stdint.h.
1515 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1516 * nptl/tst-basic7.c: Include limits.h.
1517 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1518 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1519 * nptl/tst-cancel4_1.c: Include stddef.h.
1520 * nptl/tst-cancel4_2.c: Include stddef.h.
1521 * nptl/tst-cond16.c: Include limits.h.
1522 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1523 * nptl/tst-cond18.c: Include limits.h.
1524 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1525 * nptl/tst-cond4.c: Include stdint.h.
1526 * nptl/tst-cond6.c: Include stdint.h.
1527 * nptl/tst-stack2.c: Include limits.h.
1528 * nptl/tst-stackguard1.c: Include stddef.h.
1529 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1530 * nptl/tst-tls4moda.c: Include stddef.h.
1531 Don't include stdio.h, unistd.h, or tls.h.
1532 * nptl/tst-tls4modb.c: Include stddef.h.
1533 Don't include stdio.h, unistd.h, or tls.h.
1534 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1535 * posix/tst-getaddrinfo2.c: Include stdio.h.
1536 * posix/tst-getaddrinfo5.c: Include stdio.h.
1537 * posix/tst-pathconf.c: Include sys/stat.h.
1538 * posix/tst-posix_fadvise-common.c: Include stdint.h.
1539 * posix/tst-preadwrite-common.c: Include sys/stat.h.
1540 * posix/tst-regex.c: Include stdint.h.
1541 Don't include spawn.h or spawn_int.h.
1542 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1543 * posix/tst-vfork3.c: Include sys/stat.h.
1544 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1545 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1546 * resolv/tst-resolv-search.c: Include stdlib.h.
1547 * stdio-common/tst-fmemopen2.c: Include stdint.h.
1548 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1549 * stdlib/test-canon.c: Include sys/stat.h.
1550 * stdlib/tst-tls-atexit.c: Include stdbool.h.
1551 * string/test-memchr.c: Include stdint.h.
1552 * string/tst-cmp.c: Include stdint.h.
1553 * sysdeps/pthread/tst-timer.c: Include stdint.h.
1554 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1555 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1556 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1557 Don't include init-arch.h.
1558 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1559 Don't include init-arch.h.
1560 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1561 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1562 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1563 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1564 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1565 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1566 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1567 * time/clocktest.c: Include stdint.h.
1568 * time/tst-posixtz.c: Include stdint.h.
1569 * timezone/tst-timezone.c: Include stdint.h.
1570
1571 2017-02-16 Zack Weinberg <zackw@panix.com>
1572
1573 * string/string.h [__USE_MISC]: Include strings.h.
1574 (__bzero, bcmp, bcopy, bzero, index, rindex)
1575 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1576 (ffs, ffsl, ffsll): Don't declare.
1577 * string/strings.h: Do not suppress the file if string.h has
1578 already been included.
1579 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1580 annotations.
1581 (index, rindex): Define inline forwarders even if
1582 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1583 (ffs): Use __attribute_const__.
1584 (ffsl, ffsll): Declare here.
1585 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1586 have now been standardized.
1587 * include/string.h (__bzero): Declare here.
1588
1589 * bits/types.h: Move to posix/bits.
1590 * include/bits/types.h: New wrapper.
1591
1592 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1593
1594 * string/bits/string2.h (strcmp): Remove define.
1595 (__strcmp_cg): Likewise.
1596 (strncmp): Likewise.
1597
1598 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1599
1600 * include/string.h: Add __cplusplus check.
1601
1602 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1603
1604 [BZ #21134]
1605 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1606 "divide by zero" exception when the input is zero.
1607 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1608 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1609 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1610 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1611 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1612
1613 2017-02-15 Joseph Myers <joseph@codesourcery.com>
1614
1615 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1616 and include ...
1617 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
1618 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1619 to, and include ...
1620 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
1621 file.
1622 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1623 and include ...
1624 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
1625 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1626 and include ...
1627 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
1628 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1629 and include ...
1630 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
1631 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1632 and include ...
1633 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
1634 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1635 to, and include ...
1636 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
1637 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1638 and include ...
1639 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
1640
1641 2017-02-14 Joseph Myers <joseph@codesourcery.com>
1642
1643 * math/libm-test-support.h: Do not include <math-tests-arch.h>
1644 here.
1645 * math/libm-test-support.c (libm_test_init): Do not call
1646 INIT_ARCH_EXT here.
1647 * math/libm-test-driver.c: Include <math-tests-arch.h>.
1648 (main): Call INIT_ARCH_EXT.
1649
1650 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1651
1652 [BZ #21130]
1653 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1654 with the "invalid" exception raised when x is -Inf.
1655 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1656
1657 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1658
1659 * string/bits/string2.h (strchr): Remove define.
1660
1661 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1664 tst-avx512.
1665 (test-extras): Add tst-avx-aux and tst-avx512-aux.
1666 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1667 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1668 ($(objpfx)tst-sse): New rule.
1669 ($(objpfx)tst-avx): Likewise.
1670 ($(objpfx)tst-avx512): Likewise.
1671 (CFLAGS-tst-avx-aux.c): New.
1672 (CFLAGS-tst-avxmod.c): Likewise.
1673 (CFLAGS-tst-avx512-aux.c): Likewise.
1674 (CFLAGS-tst-avx512mod.c): Likewise.
1675 * sysdeps/x86_64/tst-avx-aux.c: New file.
1676 * sysdeps/x86_64/tst-avx.c: Likewise.
1677 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1678 * sysdeps/x86_64/tst-avx512.c: Likewise.
1679 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1680 * sysdeps/x86_64/tst-avxmod.c: Likewise.
1681 * sysdeps/x86_64/tst-sse.c: Likewise.
1682 * sysdeps/x86_64/tst-ssemod.c: Likewise.
1683
1684 2017-02-09 Joseph Myers <joseph@codesourcery.com>
1685
1686 * math/auto-libm-test-in: Add more tests of csin and csinh.
1687 * math/auto-libm-test-out-csin: Regenerated.
1688 * math/auto-libm-test-out-csinh: Likewise.
1689 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1690 auto-libm-test-in.
1691 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1692
1693 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1694
1695 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1696 libm-compat-calls-auto.
1697 (libm-compat-calls): Likewise.
1698 (libm-compat-calls-auto): Rename to libm-compat-calls and add
1699 w_lgamma_compatF and k_standardF (merged from the items above).
1700 (libm-routines): Use libm-compat-calls, instead of
1701 libm-compat-calls-auto, with type-foreach.
1702
1703 2017-02-09 Joseph Myers <joseph@codesourcery.com>
1704
1705 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1706 macro.
1707 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1708 (CFLAGS-test-ifloat.c): ... this. Remove
1709 -U__LIBC_INTERNAL_MATH_INLINES.
1710 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1711 (CFLAGS-test-idouble.c): ... this. Remove
1712 -U__LIBC_INTERNAL_MATH_INLINES.
1713 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1714 (CFLAGS-test-ildouble.c): ... this. Remove
1715 -U__LIBC_INTERNAL_MATH_INLINES.
1716
1717 2017-02-08 Joseph Myers <joseph@codesourcery.com>
1718
1719 * math/libm-test-support.c: New file. Content from
1720 math/libm-test-driver.c.
1721 * math/libm-test-support.h: Likewise.
1722 * math/libm-test-support-double.c: New file.
1723 * math/libm-test-support-float.c: Likewise.
1724 * math/libm-test-support-ldouble.c: Likewise.
1725 * math/libm-test-driver.c: Remove main comment and header
1726 includes. Include libm-test-support.h.
1727 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1728 (flag_test_errno): Remove static.
1729 (flag_test_exceptions): Likewise.
1730 (flag_test_finite): Likewise.
1731 (flag_test_inline): Likewise.
1732 (flag_test_mathvec): Likewise.
1733 (test_msg): Likewise.
1734 (NO_EXCEPTION): Remove.
1735 (INVALID_EXCEPTION): Likewise.
1736 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1737 (OVERFLOW_EXCEPTION): Likewise.
1738 (UNDERFLOW_EXCEPTION): Likewise.
1739 (INEXACT_EXCEPTION): Likewise.
1740 (INVALID_EXCEPTION_OK): Likewise.
1741 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1742 (OVERFLOW_EXCEPTION_OK): Likewise.
1743 (UNDERFLOW_EXCEPTION_OK): Likewise.
1744 (NO_INEXACT_EXCEPTION): Likewise.
1745 (EXCEPTIONS_OK): Likewise.
1746 (IGNORE_ZERO_INF_SIGN): Likewise.
1747 (TEST_NAN_SIGN): Likewise.
1748 (TEST_NAN_PAYLOAD): Likewise.
1749 (NO_TEST_INLINE): Likewise.
1750 (XFAIL_TEST): Likewise.
1751 (ERRNO_UNCHANGED): Likewise.
1752 (ERRNO_EDOM): Likewise.
1753 (ERRNO_ERANGE): Likewise.
1754 (IGNORE_RESULT): Likewise.
1755 (NON_FINITE): Likewise.
1756 (TEST_SNAN): Likewise.
1757 (NO_TEST_MATHVEC): Likewise.
1758 (__CONCATX): Likewise.
1759 (TYPE_MIN): Likewise.
1760 (TYPE_TRUE_MIN): Likewise.
1761 (TYPE_MAX): Likewise.
1762 (MIN_EXP): Likewise.
1763 (MAX_EXP): Likewise.
1764 (MANT_DIG): Likewise.
1765 (FSTR_MAX): Likewise.
1766 (ulp_idx): Likewise.
1767 (qtype_str): Remove static.
1768 (TEST_COND_binary32): Remove.
1769 (TEST_COND_binary64): Likewise.
1770 (TEST_COND_binary128): Likewise.
1771 (TEST_COND_ibm128): Likewise.
1772 (TEST_COND_intel96): Likewise.
1773 (TEST_COND_m68k96): Likewise.
1774 (TEST_COND_ibm128_libgcc): Likewise.
1775 (XFAIL_IBM128_LIBGCC): Likewise.
1776 (PAYLOAD_DIG): Likewise.
1777 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1778 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1779 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1780 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1781 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1782 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1783 (TEST_COND_long32): Likewise.
1784 (TEST_COND_long64): Likewise.
1785 (TEST_COND_before_rounding): Likewise.
1786 (TEST_COND_after_rounding): Likewise.
1787 (ulps_file_name): Likewise.
1788 (ulps_file): Likewise.
1789 (output_ulps): Likewise.
1790 (output_dir): Likewise.
1791 (noErrors): Likewise.
1792 (noTests): Likewise.
1793 (noExcTests): Likewise.
1794 (noErrnoTests): Likewise.
1795 (verbose): Likewise.
1796 (output_max_error): Likewise.
1797 (output_points): Likewise.
1798 (ignore_max_ulp): Likewise.
1799 (max_error): Likewise.
1800 (real_max_error): Likewise.
1801 (imag_max_error): Likewise.
1802 (prev_max_error): Likewise.
1803 (prev_real_max_error): Likewise.
1804 (prev_imag_max_error): Likewise.
1805 (max_valid_error): Likewise.
1806 (TYPE_DECIMAL_DIG): Likewise.
1807 (TYPE_HEX_DIG): Likewise.
1808 (fmt_ftostr): Likewise.
1809 (compare_ulp_data): Likewise.
1810 (find_ulps): Likewise.
1811 (init_max_error): Likewise.
1812 (set_max_error): Likewise.
1813 (print_float): Likewise.
1814 (print_screen): Likewise.
1815 (print_screen_max_error): Likewise.
1816 (update_stats): Likewise.
1817 (print_function_ulps): Likewise.
1818 (print_complex_function_ulps): Likewise.
1819 (fpstack_test): Likewise.
1820 (print_max_error): Likewise.
1821 (print_complex_max_error): Likewise.
1822 (test_single_exception): Likewise.
1823 (test_exceptions): Likewise.
1824 (test_single_errno): Likewise.
1825 (test_errno): Likewise.
1826 (ULPDIFF): Likewise.
1827 (ulp): Likewise.
1828 (check_float_internal): Likewise.
1829 (check_float): Likewise.
1830 (check_complex): Likewise.
1831 (check_int): Likewise.
1832 (check_long): Likewise.
1833 (check_bool): Likewise.
1834 (check_longlong): Likewise.
1835 (check_intmax_t): Likewise.
1836 (check_uintmax_t): Likewise.
1837 (enable_test): Likewise.
1838 (matherr): Likewise.
1839 (initialize): Likewise.
1840 (options): Likewise.
1841 (doc): Remove static.
1842 (argp): Likewise.
1843 (parse_opt): Remove.
1844 (check_ulp): Likewise.
1845 (libm_test_init): Likewise.
1846 (libm_test_finish): Likewise.
1847 * math/Makefile (libm-test-support): New variable.
1848 (test-extras): Add libm-test-support files.
1849 (extra-test-objs): Likewise.
1850 (CFLAGS-libm-test-support-float.c): New variable.
1851 (CFLAGS-libm-test-support-double.c): Likewise.
1852 (CFLAGS-libm-test-support-ldouble.c): Likewise.
1853 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1854 libm-test-support objects.
1855
1856 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1857
1858 * math/Makefile (libm-calls): Move w_exp...
1859 (libm-compat-calls-auto): Here.
1860
1861 * math/w_expl.c: Add suffix "_compat" to filename.
1862 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1863 * sysdeps/ia64/fpu/w_expf.c: Likewise.
1864 * sysdeps/ia64/fpu/w_exp.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1866 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1870
1871 * math/w_expl_compat.c: New file, copied from above.
1872 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1873 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1874 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1876 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1879 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1880
1881 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1882 to filename.
1883 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1884
1885 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1886 copied from above and adjusted for the new filenames.
1887 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1888
1889 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1890
1891 * math/Makefile (libm-calls): Move w_lgammaF...
1892 (libm-compat-calls-auto): Here.
1893
1894 * math/w_lgamma.c: Add suffix "_compat2" to filename.
1895 * math/w_lgammaf.c: Likewise.
1896 * math/w_lgammal.c: Likewise.
1897
1898 * math/w_lgamma_compat2.c: New file, copied from above.
1899 * math/w_lgammaf_compat2.c: Likewise.
1900 * math/w_lgammal_compat2.c: Likewise.
1901
1902 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1903
1904 * math/Makefile (libm-calls): Move w_lgammaF_r...
1905 (libm-compat-calls-auto): Here.
1906
1907 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1908 * math/w_lgammaf_r.c: Likewise.
1909 * math/w_lgammal_r.c: Likewise.
1910 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1911 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1912 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1913
1914 * math/w_lgamma_r_compat.c: New file, copied from above.
1915 * math/w_lgammaf_r_compat.c: Likewise.
1916 * math/w_lgammal_r_compat.c: Likewise.
1917 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1918 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1919 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1920
1921 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1922 to filename.
1923 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1924
1925 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1926 copied from above and adjusted for the new filenames.
1927 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1928
1929 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
1930
1931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1932 calculation in SYSCALL_ERROR_HANDLER().
1933
1934 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
1935
1936 * manual/contrib.texi: Fix typo.
1937
1938 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
1939
1940 [BZ #21109]
1941 * elf/dl-tunable-types.h (tunable_callback_t): Accept
1942 tunable_val_t as argument.
1943 * elf/dl-tunables.c (__tunable_set_val): Add comment.
1944 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1945 argument.
1946 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1947
1948 2017-02-08 Kir Kolyshkin <kir@openvz.org>
1949
1950 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1951 Add PTRACE_EVENT_STOP.
1952 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1953 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1957 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1958
1959 2017-02-07 Joseph Myers <joseph@codesourcery.com>
1960
1961 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1962 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1963 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1964 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1965 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1966 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1967 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1968 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1969 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1970 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1971
1972 [BZ #21112]
1973 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1974 12 bits zero.
1975 (cp_l): Update for new value of cp_h.
1976 * math/auto-libm-test-in: Add another test of pow.
1977 * math/auto-libm-test-out-pow: Regenerated.
1978
1979 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
1980
1981 * manual/contrib.texi: Fix typo.
1982
1983 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1984
1985 [BZ #15998]
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1987 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1989
1990 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1993 STRCHR as __strchr_power8.
1994 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1995 strlen as __strlen_power8.
1996
1997 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1998
1999 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2000 unaligned load for shorter strings.
2001 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2002
2003 2017-02-06 Joseph Myers <joseph@codesourcery.com>
2004
2005 * math/libm-test-driver.c (flag_test_errno): New variable.
2006 (flag_test_exceptions): Likewise.
2007 (flag_test_finite): Likewise.
2008 (flag_test_inline): Likewise.
2009 (flag_test_mathvec): Likewise.
2010 (test_msg): Likewise.
2011 (ulp_idx): Likewise.
2012 (qtype_str): Likewise.
2013 (ULP_IDX): Remove macro.
2014 (QTYPE_STR): Likewise.
2015 (find_ulps): Use ulp_idx not ULP_IDX.
2016 (print_function_ulps): Use qtype_str, printed with %s, not
2017 QTYPE_STR, printed with concatentation to format string.
2018 (print_complex_function_ulps): Likewise.
2019 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2020 (test_errno): Use flag_test_errno not TEST_ERRNO.
2021 (enable_test): Use flag_test_inline, flag_test_finite and
2022 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2023 TEST_MATHVEC.
2024 (libm_test_init): New function. Factored out of main.
2025 (libm_test_finish): Likewise.
2026 (main): Call libm_test_init and libm_test_finish and move most
2027 code to those functions.
2028
2029 * math/libm-test-driver.c (STRX): New macro.
2030 (STR): Likewise.
2031 (STR_FLOAT): Likewise.
2032 (STR_VEC_LEN): Likewise.
2033 (TEST_MSG): Likewise. Define here instead of expecting to be
2034 defined by including file.
2035 * math/test-double-finite.c (TEST_MSG): Remove macro.
2036 * math/test-double-vlen2.h (TEST_MSG): Likewise.
2037 * math/test-double-vlen4.h (TEST_MSG): Likewise.
2038 * math/test-double-vlen8.h (TEST_MSG): Likewise.
2039 * math/test-double.c (TEST_MSG): Likewise.
2040 * math/test-float-finite.c (TEST_MSG): Likewise.
2041 * math/test-float-vlen16.h (TEST_MSG): Likewise.
2042 * math/test-float-vlen4.h (TEST_MSG): Likewise.
2043 * math/test-float-vlen8.h (TEST_MSG): Likewise.
2044 * math/test-float.c (TEST_MSG): Likewise.
2045 * math/test-idouble.c (TEST_MSG): Likewise.
2046 * math/test-ifloat.c (TEST_MSG): Likewise.
2047 * math/test-ildouble.c (TEST_MSG): Likewise.
2048 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2049 * math/test-ldouble.c (TEST_MSG): Likewise.
2050
2051 * math/libm-test.inc: Move all tests of individual functions to
2052 libm-test-*.inc and #include libm-test-*.c files.
2053 (acos_test_data): Remove.
2054 (acos_test): Likewise.
2055 (acosh_test_data): Likewise.
2056 (acosh_test): Likewise.
2057 (asin_test_data): Likewise.
2058 (asin_test): Likewise.
2059 (asinh_test_data): Likewise.
2060 (asinh_test): Likewise.
2061 (atan_test_data): Likewise.
2062 (atan_test): Likewise.
2063 (atanh_test_data): Likewise.
2064 (atanh_test): Likewise.
2065 (atan2_test_data): Likewise.
2066 (atan2_test): Likewise.
2067 (cabs_test_data): Likewise.
2068 (cabs_test): Likewise.
2069 (cacos_test_data): Likewise.
2070 (cacos_test): Likewise.
2071 (cacosh_test_data): Likewise.
2072 (cacosh_test): Likewise.
2073 (canonicalize_test_data): Likewise.
2074 (canonicalize_test): Likewise.
2075 (carg_test_data): Likewise.
2076 (carg_test): Likewise.
2077 (casin_test_data): Likewise.
2078 (casin_test): Likewise.
2079 (casinh_test_data): Likewise.
2080 (casinh_test): Likewise.
2081 (catan_test_data): Likewise.
2082 (catan_test): Likewise.
2083 (catanh_test_data): Likewise.
2084 (catanh_test): Likewise.
2085 (cbrt_test_data): Likewise.
2086 (cbrt_test): Likewise.
2087 (ccos_test_data): Likewise.
2088 (ccos_test): Likewise.
2089 (ccosh_test_data): Likewise.
2090 (ccosh_test): Likewise.
2091 (ceil_test_data): Likewise.
2092 (ceil_test): Likewise.
2093 (cexp_test_data): Likewise.
2094 (cexp_test): Likewise.
2095 (cimag_test_data): Likewise.
2096 (cimag_test): Likewise.
2097 (clog_test_data): Likewise.
2098 (clog_test): Likewise.
2099 (clog10_test_data): Likewise.
2100 (clog10_test): Likewise.
2101 (conj_test_data): Likewise.
2102 (conj_test): Likewise.
2103 (copysign_test_data): Likewise.
2104 (copysign_test): Likewise.
2105 (cos_test_data): Likewise.
2106 (cos_test): Likewise.
2107 (cosh_test_data): Likewise.
2108 (cosh_test): Likewise.
2109 (cpow_test_data): Likewise.
2110 (cpow_test): Likewise.
2111 (cproj_test_data): Likewise.
2112 (cproj_test): Likewise.
2113 (creal_test_data): Likewise.
2114 (creal_test): Likewise.
2115 (csin_test_data): Likewise.
2116 (csin_test): Likewise.
2117 (csinh_test_data): Likewise.
2118 (csinh_test): Likewise.
2119 (csqrt_test_data): Likewise.
2120 (csqrt_test): Likewise.
2121 (ctan_test_data): Likewise.
2122 (ctan_test): Likewise.
2123 (ctanh_test_data): Likewise.
2124 (ctanh_test): Likewise.
2125 (erf_test_data): Likewise.
2126 (erf_test): Likewise.
2127 (erfc_test_data): Likewise.
2128 (erfc_test): Likewise.
2129 (exp_test_data): Likewise.
2130 (exp_test): Likewise.
2131 (exp10_test_data): Likewise.
2132 (exp10_test): Likewise.
2133 (pow10_test): Likewise.
2134 (exp2_test_data): Likewise.
2135 (exp2_test): Likewise.
2136 (expm1_test_data): Likewise.
2137 (expm1_test): Likewise.
2138 (fabs_test_data): Likewise.
2139 (fabs_test): Likewise.
2140 (fdim_test_data): Likewise.
2141 (fdim_test): Likewise.
2142 (floor_test_data): Likewise.
2143 (floor_test): Likewise.
2144 (fma_test_data): Likewise.
2145 (fma_test): Likewise.
2146 (fmax_test_data): Likewise.
2147 (fmax_test): Likewise.
2148 (fmaxmag_test_data): Likewise.
2149 (fmaxmag_test): Likewise.
2150 (fmin_test_data): Likewise.
2151 (fmin_test): Likewise.
2152 (fminmag_test_data): Likewise.
2153 (fminmag_test): Likewise.
2154 (fmod_test_data): Likewise.
2155 (fmod_test): Likewise.
2156 (fpclassify_test_data): Likewise.
2157 (fpclassify_test): Likewise.
2158 (frexp_test_data): Likewise.
2159 (frexp_test): Likewise.
2160 (fromfp_test_data): Likewise.
2161 (fromfp_test): Likewise.
2162 (fromfpx_test_data): Likewise.
2163 (fromfpx_test): Likewise.
2164 (getpayload_test_data): Likewise.
2165 (getpayload_test): Likewise.
2166 (hypot_test_data): Likewise.
2167 (hypot_test): Likewise.
2168 (ilogb_test_data): Likewise.
2169 (ilogb_test): Likewise.
2170 (iscanonical_test_data): Likewise.
2171 (iscanonical_test): Likewise.
2172 (iseqsig_test_data): Likewise.
2173 (iseqsig_test): Likewise.
2174 (isfinite_test_data): Likewise.
2175 (isfinite_test): Likewise.
2176 (finite_test): Likewise.
2177 (isgreater_test_data): Likewise.
2178 (isgreater_test): Likewise.
2179 (isgreaterequal_test_data): Likewise.
2180 (isgreaterequal_test): Likewise.
2181 (isinf_test_data): Likewise.
2182 (isinf_test): Likewise.
2183 (isless_test_data): Likewise.
2184 (isless_test): Likewise.
2185 (islessequal_test_data): Likewise.
2186 (islessequal_test): Likewise.
2187 (islessgreater_test_data): Likewise.
2188 (islessgreater_test): Likewise.
2189 (isnan_test_data): Likewise.
2190 (isnan_test): Likewise.
2191 (isnormal_test_data): Likewise.
2192 (isnormal_test): Likewise.
2193 (issignaling_test_data): Likewise.
2194 (issignaling_test): Likewise.
2195 (issubnormal_test_data): Likewise.
2196 (issubnormal_test): Likewise.
2197 (isunordered_test_data): Likewise.
2198 (isunordered_test): Likewise.
2199 (iszero_test_data): Likewise.
2200 (iszero_test): Likewise.
2201 (j0_test_data): Likewise.
2202 (j0_test): Likewise.
2203 (j1_test_data): Likewise.
2204 (j1_test): Likewise.
2205 (jn_test_data): Likewise.
2206 (jn_test): Likewise.
2207 (lgamma_test_data): Likewise.
2208 (lgamma_test): Likewise.
2209 (gamma_test): Likewise.
2210 (llogb_test_data): Likewise.
2211 (llogb_test): Likewise.
2212 (lrint_test_data): Likewise.
2213 (lrint_test): Likewise.
2214 (llrint_test_data): Likewise.
2215 (llrint_test): Likewise.
2216 (log_test_data): Likewise.
2217 (log_test): Likewise.
2218 (log10_test_data): Likewise.
2219 (log10_test): Likewise.
2220 (log1p_test_data): Likewise.
2221 (log1p_test): Likewise.
2222 (log2_test_data): Likewise.
2223 (log2_test): Likewise.
2224 (logb_test_data): Likewise.
2225 (logb_test): Likewise.
2226 (lround_test_data): Likewise.
2227 (lround_test): Likewise.
2228 (llround_test_data): Likewise.
2229 (llround_test): Likewise.
2230 (modf_test_data): Likewise.
2231 (modf_test): Likewise.
2232 (nearbyint_test_data): Likewise.
2233 (nearbyint_test): Likewise.
2234 (nextafter_test_data): Likewise.
2235 (nextafter_test): Likewise.
2236 (nextup_test_data): Likewise.
2237 (nextup_test): Likewise.
2238 (nextdown_test_data): Likewise.
2239 (nextdown_test): Likewise.
2240 (nexttoward_test_data): Likewise.
2241 (nexttoward_test): Likewise.
2242 (pow_test_data): Likewise.
2243 (pow_test): Likewise.
2244 (remainder_test_data): Likewise.
2245 (remainder_test): Likewise.
2246 (drem_test): Likewise.
2247 (remquo_test_data): Likewise.
2248 (remquo_test): Likewise.
2249 (rint_test_data): Likewise.
2250 (rint_test): Likewise.
2251 (round_test_data): Likewise.
2252 (round_test): Likewise.
2253 (roundeven_test_data): Likewise.
2254 (roundeven_test): Likewise.
2255 (scalb_test_data): Likewise.
2256 (scalb_test): Likewise.
2257 (scalbn_test_data): Likewise.
2258 (scalbn_test): Likewise.
2259 (ldexp_test): Likewise.
2260 (scalbln_test_data): Likewise.
2261 (scalbln_test): Likewise.
2262 (setpayload_test_data): Likewise.
2263 (setpayload_test): Likewise.
2264 (setpayloadsig_test_data): Likewise.
2265 (setpayloadsig_test): Likewise.
2266 (signbit_test_data): Likewise.
2267 (signbit_test): Likewise.
2268 (sin_test_data): Likewise.
2269 (sin_test): Likewise.
2270 (sincos_test_data): Likewise.
2271 (sincos_test): Likewise.
2272 (sinh_test_data): Likewise.
2273 (sinh_test): Likewise.
2274 (sqrt_test_data): Likewise.
2275 (sqrt_test): Likewise.
2276 (tan_test_data): Likewise.
2277 (tan_test): Likewise.
2278 (tanh_test_data): Likewise.
2279 (tanh_test): Likewise.
2280 (tgamma_test_data): Likewise.
2281 (tgamma_test): Likewise.
2282 (totalorder_test_data): Likewise.
2283 (totalorder_test): Likewise.
2284 (totalordermag_test_data): Likewise.
2285 (totalordermag_test): Likewise.
2286 (trunc_test_data): Likewise.
2287 (trunc_test): Likewise.
2288 (ufromfp_test_data): Likewise.
2289 (ufromfp_test): Likewise.
2290 (ufromfpx_test_data): Likewise.
2291 (ufromfpx_test): Likewise.
2292 (y0_test_data): Likewise.
2293 (y0_test): Likewise.
2294 (y1_test_data): Likewise.
2295 (y1_test): Likewise.
2296 (yn_test_data): Likewise.
2297 (yn_test): Likewise.
2298 (significand_test_data): Likewise.
2299 (significand_test): Likewise.
2300 * math/Makefile (auto-libm-test-out-files): Remove variable.
2301 (libm-test-funcs-noauto): New variable.
2302 (libm-test-funcs-all): Likewise.
2303 (libm-test-c-auto): Likewise.
2304 (libm-test-c-noauto): Likewise.
2305 (libm-tests-generated): Add $(libm-test-c-auto) and
2306 $(libm-test-c-noauto).
2307 (generated): Do not add auto-libm-test-out.
2308 (libm-test-c-auto-obj): New variable.
2309 (libm-test-c-noauto-obj): Likewise.
2310 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2311 ($(libm-test-c-noauto-obj)): New static pattern rule.
2312 ($(libm-test-c-auto-obj)): Likewise.
2313 (libm-test-incs): New variable.
2314 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2315 and pass it to gen-libm-have-vector-test.sh.
2316 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2317 be passed on command line.
2318 * math/libm-test-acos.inc: New file. Content from
2319 math/libm-test.inc.
2320 * math/libm-test-acosh.inc: Likewise.
2321 * math/libm-test-asin.inc: Likewise.
2322 * math/libm-test-asinh.inc: Likewise.
2323 * math/libm-test-atan.inc: Likewise.
2324 * math/libm-test-atan2.inc: Likewise.
2325 * math/libm-test-atanh.inc: Likewise.
2326 * math/libm-test-cabs.inc: Likewise.
2327 * math/libm-test-cacos.inc: Likewise.
2328 * math/libm-test-cacosh.inc: Likewise.
2329 * math/libm-test-canonicalize.inc: Likewise.
2330 * math/libm-test-carg.inc: Likewise.
2331 * math/libm-test-casin.inc: Likewise.
2332 * math/libm-test-casinh.inc: Likewise.
2333 * math/libm-test-catan.inc: Likewise.
2334 * math/libm-test-catanh.inc: Likewise.
2335 * math/libm-test-cbrt.inc: Likewise.
2336 * math/libm-test-ccos.inc: Likewise.
2337 * math/libm-test-ccosh.inc: Likewise.
2338 * math/libm-test-ceil.inc: Likewise.
2339 * math/libm-test-cexp.inc: Likewise.
2340 * math/libm-test-cimag.inc: Likewise.
2341 * math/libm-test-clog.inc: Likewise.
2342 * math/libm-test-clog10.inc: Likewise.
2343 * math/libm-test-conj.inc: Likewise.
2344 * math/libm-test-copysign.inc: Likewise.
2345 * math/libm-test-cos.inc: Likewise.
2346 * math/libm-test-cosh.inc: Likewise.
2347 * math/libm-test-cpow.inc: Likewise.
2348 * math/libm-test-cproj.inc: Likewise.
2349 * math/libm-test-creal.inc: Likewise.
2350 * math/libm-test-csin.inc: Likewise.
2351 * math/libm-test-csinh.inc: Likewise.
2352 * math/libm-test-csqrt.inc: Likewise.
2353 * math/libm-test-ctan.inc: Likewise.
2354 * math/libm-test-ctanh.inc: Likewise.
2355 * math/libm-test-erf.inc: Likewise.
2356 * math/libm-test-erfc.inc: Likewise.
2357 * math/libm-test-exp.inc: Likewise.
2358 * math/libm-test-exp10.inc: Likewise.
2359 * math/libm-test-exp2.inc: Likewise.
2360 * math/libm-test-expm1.inc: Likewise.
2361 * math/libm-test-fabs.inc: Likewise.
2362 * math/libm-test-fdim.inc: Likewise.
2363 * math/libm-test-floor.inc: Likewise.
2364 * math/libm-test-fma.inc: Likewise.
2365 * math/libm-test-fmax.inc: Likewise.
2366 * math/libm-test-fmaxmag.inc: Likewise.
2367 * math/libm-test-fmin.inc: Likewise.
2368 * math/libm-test-fminmag.inc: Likewise.
2369 * math/libm-test-fmod.inc: Likewise.
2370 * math/libm-test-fpclassify.inc: Likewise.
2371 * math/libm-test-frexp.inc: Likewise.
2372 * math/libm-test-fromfp.inc: Likewise.
2373 * math/libm-test-fromfpx.inc: Likewise.
2374 * math/libm-test-getpayload.inc: Likewise.
2375 * math/libm-test-hypot.inc: Likewise.
2376 * math/libm-test-ilogb.inc: Likewise.
2377 * math/libm-test-iscanonical.inc: Likewise.
2378 * math/libm-test-iseqsig.inc: Likewise.
2379 * math/libm-test-isfinite.inc: Likewise.
2380 * math/libm-test-isgreater.inc: Likewise.
2381 * math/libm-test-isgreaterequal.inc: Likewise.
2382 * math/libm-test-isinf.inc: Likewise.
2383 * math/libm-test-isless.inc: Likewise.
2384 * math/libm-test-islessequal.inc: Likewise.
2385 * math/libm-test-islessgreater.inc: Likewise.
2386 * math/libm-test-isnan.inc: Likewise.
2387 * math/libm-test-isnormal.inc: Likewise.
2388 * math/libm-test-issignaling.inc: Likewise.
2389 * math/libm-test-issubnormal.inc: Likewise.
2390 * math/libm-test-isunordered.inc: Likewise.
2391 * math/libm-test-iszero.inc: Likewise.
2392 * math/libm-test-j0.inc: Likewise.
2393 * math/libm-test-j1.inc: Likewise.
2394 * math/libm-test-jn.inc: Likewise.
2395 * math/libm-test-lgamma.inc: Likewise.
2396 * math/libm-test-llogb.inc: Likewise.
2397 * math/libm-test-llrint.inc: Likewise.
2398 * math/libm-test-llround.inc: Likewise.
2399 * math/libm-test-log.inc: Likewise.
2400 * math/libm-test-log10.inc: Likewise.
2401 * math/libm-test-log1p.inc: Likewise.
2402 * math/libm-test-log2.inc: Likewise.
2403 * math/libm-test-logb.inc: Likewise.
2404 * math/libm-test-lrint.inc: Likewise.
2405 * math/libm-test-lround.inc: Likewise.
2406 * math/libm-test-modf.inc: Likewise.
2407 * math/libm-test-nearbyint.inc: Likewise.
2408 * math/libm-test-nextafter.inc: Likewise.
2409 * math/libm-test-nextdown.inc: Likewise.
2410 * math/libm-test-nexttoward.inc: Likewise.
2411 * math/libm-test-nextup.inc: Likewise.
2412 * math/libm-test-pow.inc: Likewise.
2413 * math/libm-test-remainder.inc: Likewise.
2414 * math/libm-test-remquo.inc: Likewise.
2415 * math/libm-test-rint.inc: Likewise.
2416 * math/libm-test-round.inc: Likewise.
2417 * math/libm-test-roundeven.inc: Likewise.
2418 * math/libm-test-scalb.inc: Likewise.
2419 * math/libm-test-scalbln.inc: Likewise.
2420 * math/libm-test-scalbn.inc: Likewise.
2421 * math/libm-test-setpayload.inc: Likewise.
2422 * math/libm-test-setpayloadsig.inc: Likewise.
2423 * math/libm-test-signbit.inc: Likewise.
2424 * math/libm-test-significand.inc: Likewise.
2425 * math/libm-test-sin.inc: Likewise.
2426 * math/libm-test-sincos.inc: Likewise.
2427 * math/libm-test-sinh.inc: Likewise.
2428 * math/libm-test-sqrt.inc: Likewise.
2429 * math/libm-test-tan.inc: Likewise.
2430 * math/libm-test-tanh.inc: Likewise.
2431 * math/libm-test-tgamma.inc: Likewise.
2432 * math/libm-test-totalorder.inc: Likewise.
2433 * math/libm-test-totalordermag.inc: Likewise.
2434 * math/libm-test-trunc.inc: Likewise.
2435 * math/libm-test-ufromfp.inc: Likewise.
2436 * math/libm-test-ufromfpx.inc: Likewise.
2437 * math/libm-test-y0.inc: Likewise.
2438 * math/libm-test-y1.inc: Likewise.
2439 * math/libm-test-yn.inc: Likewise.
2440 * math/README.libm-test: Update.
2441
2442 * math/gen-auto-libm-tests.c: Update comment about use of program.
2443 (generate_output): Add argument FUNCTION.
2444 (main): Require extra argument. Pass function name to
2445 generate_output.
2446 * math/Makefile (generated): Add auto-libm-test-out.
2447 (libm-test-funcs-auto): New variable.
2448 (auto-libm-test-out-files): New variable.
2449 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2450 Concatenate those files to form $(objpfx)auto-libm-test-out and
2451 use it as input to gen-libm-test.pl.
2452 * math/README.libm-test: Update.
2453 * math/auto-libm-test-out: Remove.
2454 * math/auto-libm-test-out-acos: New generated file.
2455 * math/auto-libm-test-out-acosh: Likewise.
2456 * math/auto-libm-test-out-asin: Likewise.
2457 * math/auto-libm-test-out-asinh: Likewise.
2458 * math/auto-libm-test-out-atan: Likewise.
2459 * math/auto-libm-test-out-atan2: Likewise.
2460 * math/auto-libm-test-out-atanh: Likewise.
2461 * math/auto-libm-test-out-cabs: Likewise.
2462 * math/auto-libm-test-out-carg: Likewise.
2463 * math/auto-libm-test-out-cbrt: Likewise.
2464 * math/auto-libm-test-out-ccos: Likewise.
2465 * math/auto-libm-test-out-ccosh: Likewise.
2466 * math/auto-libm-test-out-cexp: Likewise.
2467 * math/auto-libm-test-out-clog: Likewise.
2468 * math/auto-libm-test-out-clog10: Likewise.
2469 * math/auto-libm-test-out-cos: Likewise.
2470 * math/auto-libm-test-out-cosh: Likewise.
2471 * math/auto-libm-test-out-cpow: Likewise.
2472 * math/auto-libm-test-out-csin: Likewise.
2473 * math/auto-libm-test-out-csinh: Likewise.
2474 * math/auto-libm-test-out-csqrt: Likewise.
2475 * math/auto-libm-test-out-ctan: Likewise.
2476 * math/auto-libm-test-out-ctanh: Likewise.
2477 * math/auto-libm-test-out-erf: Likewise.
2478 * math/auto-libm-test-out-erfc: Likewise.
2479 * math/auto-libm-test-out-exp: Likewise.
2480 * math/auto-libm-test-out-exp10: Likewise.
2481 * math/auto-libm-test-out-exp2: Likewise.
2482 * math/auto-libm-test-out-expm1: Likewise.
2483 * math/auto-libm-test-out-fma: Likewise.
2484 * math/auto-libm-test-out-hypot: Likewise.
2485 * math/auto-libm-test-out-j0: Likewise.
2486 * math/auto-libm-test-out-j1: Likewise.
2487 * math/auto-libm-test-out-jn: Likewise.
2488 * math/auto-libm-test-out-lgamma: Likewise.
2489 * math/auto-libm-test-out-log: Likewise.
2490 * math/auto-libm-test-out-log10: Likewise.
2491 * math/auto-libm-test-out-log1p: Likewise.
2492 * math/auto-libm-test-out-log2: Likewise.
2493 * math/auto-libm-test-out-pow: Likewise.
2494 * math/auto-libm-test-out-sin: Likewise.
2495 * math/auto-libm-test-out-sincos: Likewise.
2496 * math/auto-libm-test-out-sinh: Likewise.
2497 * math/auto-libm-test-out-sqrt: Likewise.
2498 * math/auto-libm-test-out-tan: Likewise.
2499 * math/auto-libm-test-out-tanh: Likewise.
2500 * math/auto-libm-test-out-tgamma: Likewise.
2501 * math/auto-libm-test-out-y0: Likewise.
2502 * math/auto-libm-test-out-y1: Likewise.
2503 * math/auto-libm-test-out-yn: Likewise.
2504
2505 * math/Makefile (generated): Do not include libm-test.stmp.
2506 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2507 on $(objpfx)libm-test.stmp.
2508 ($(objpfx)libm-test.stmp): Remove rule.
2509 ($(objpfx)libm-test-ulps.h): New rule.
2510 ($(objpfx)libm-test.c): Likewise.
2511 ($(objpfx)libm-have-vector-test.h): Likewise.
2512 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2513 individual generated files, not libm-test.stmp.
2514
2515 * math/gen-libm-test.pl ($output_dir): Remove variable.
2516 ($srcdir): Likewise.
2517 ($opt_a): New variable.
2518 ($opt_c): Likewise.
2519 ($opt_C): Likewise.
2520 ($opt_H): Likewise.
2521 (-n): Make option take argument and use it as NewUlps output.
2522 (-a): New option. Use its argument for auto-libm-test-out input.
2523 (-c): New option. Use its argument for libm-test.inc input.
2524 (-C): New option. Use its argument for libm-test.c output.
2525 (-H): New option. Use its argument for libm-test-ulps.h output.
2526 (top level): Only process inputs needed to generate outputs
2527 specified by command-line options. Only generate outputs
2528 specified by command-line options.
2529 * math/README.libm-test: Update example gen-libm-test.pl command.
2530 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2531 commands.
2532 (regen-ulps): Likewise.
2533
2534 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
2535
2536 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2537 * include/string.h (index): Remove define.
2538 (rindex): Likewise.
2539 * misc/getttyent.c (__getttyent): Rename index to strchr.
2540 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2541 * sunrpc/rpc_main.c (mkfile_output): Likewise.
2542
2543 2017-02-06 Joseph Myers <joseph@codesourcery.com>
2544
2545 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
2546 * math/libm-test.inc: Move all contents, other than tests of
2547 individual functions, to libm-test-driver.c.
2548 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2549 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2550 [!FE_UPWARD] (FE_UPWARD): Likewise.
2551 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2552 (NO_EXCEPTION): Likewise.
2553 (INVALID_EXCEPTION): Likewise.
2554 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2555 (OVERFLOW_EXCEPTION): Likewise.
2556 (UNDERFLOW_EXCEPTION): Likewise.
2557 (INEXACT_EXCEPTION): Likewise.
2558 (INVALID_EXCEPTION_OK): Likewise.
2559 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2560 (OVERFLOW_EXCEPTION_OK): Likewise.
2561 (UNDERFLOW_EXCEPTION_OK): Likewise.
2562 (NO_INEXACT_EXCEPTION): Likewise.
2563 (EXCEPTIONS_OK): Likewise.
2564 (IGNORE_ZERO_INF_SIGN): Likewise.
2565 (TEST_NAN_SIGN): Likewise.
2566 (TEST_NAN_PAYLOAD): Likewise.
2567 (NO_TEST_INLINE): Likewise.
2568 (XFAIL_TEST): Likewise.
2569 (ERRNO_UNCHANGED): Likewise.
2570 (ERRNO_EDOM): Likewise.
2571 (ERRNO_ERANGE): Likewise.
2572 (IGNORE_RESULT): Likewise.
2573 (NON_FINITE): Likewise.
2574 (TEST_SNAN): Likewise.
2575 (NO_TEST_MATHVEC): Likewise.
2576 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2577 (__CONCATX): Likewise.
2578 (TYPE_MIN): Likewise.
2579 (TYPE_TRUE_MIN): Likewise.
2580 (TYPE_MAX): Likewise.
2581 (MIN_EXP): Likewise.
2582 (MAX_EXP): Likewise.
2583 (MANT_DIG): Likewise.
2584 (FSTR_MAX): Likewise.
2585 (ULP_IDX): Likewise.
2586 (QTYPE_STR): Likewise.
2587 (TEST_COND_binary32): Likewise.
2588 (TEST_COND_binary64): Likewise.
2589 (TEST_COND_binary128): Likewise.
2590 (TEST_COND_ibm128): Likewise.
2591 (TEST_COND_intel96): Likewise.
2592 (TEST_COND_m68k96): Likewise.
2593 (TEST_COND_ibm128_libgcc): Likewise.
2594 (XFAIL_IBM128_LIBGCC): Likewise.
2595 (PAYLOAD_DIG): Likewise.
2596 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2597 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2598 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2599 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2600 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2601 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2602 (TEST_COND_long32): Likewise.
2603 (TEST_COND_long64): Likewise.
2604 (TEST_COND_before_rounding): Likewise.
2605 (TEST_COND_after_rounding): Likewise.
2606 (lit_pi_3_m_4_d): Likewise.
2607 (lit_pi_3_m_4_ln10_m_d): Likewise.
2608 (lit_pi_2_ln10_m_d): Likewise.
2609 (lit_pi_4_ln10_m_d): Likewise.
2610 (lit_pi_ln10_d): Likewise.
2611 (lit_pi_2_d): Likewise.
2612 (lit_pi_4_d): Likewise.
2613 (lit_pi): Likewise.
2614 (lit_e): Likewise.
2615 (ulps_file_name): Likewise.
2616 (ulps_file): Likewise.
2617 (output_ulps): Likewise.
2618 (output_dir): Likewise.
2619 (noErrors): Likewise.
2620 (noTests): Likewise.
2621 (noExcTests): Likewise.
2622 (noErrnoTests): Likewise.
2623 (verbose): Likewise.
2624 (output_max_error): Likewise.
2625 (output_points): Likewise.
2626 (ignore_max_ulp): Likewise.
2627 (plus_zero): Likewise.
2628 (minus_zero): Likewise.
2629 (plus_infty): Likewise.
2630 (minus_infty): Likewise.
2631 (qnan_value_pl): Likewise.
2632 (qnan_value): Likewise.
2633 (snan_value_pl): Likewise.
2634 (snan_value): Likewise.
2635 (max_value): Likewise.
2636 (min_value): Likewise.
2637 (min_subnorm_value): Likewise.
2638 (snan_value_ld): Likewise.
2639 (max_error): Likewise.
2640 (real_max_error): Likewise.
2641 (imag_max_error): Likewise.
2642 (prev_max_error): Likewise.
2643 (prev_real_max_error): Likewise.
2644 (prev_imag_max_error): Likewise.
2645 (max_valid_error): Likewise.
2646 (TYPE_DECIMAL_DIG): Likewise.
2647 (TYPE_HEX_DIG): Likewise.
2648 (fmt_ftostr): Likewise.
2649 (compare_ulp_data): Likewise.
2650 (find_ulps): Likewise.
2651 (init_max_error): Likewise.
2652 (set_max_error): Likewise.
2653 (print_float): Likewise.
2654 (print_screen): Likewise.
2655 (print_screen_max_error): Likewise.
2656 (update_stats): Likewise.
2657 (print_function_ulps): Likewise.
2658 (print_complex_function_ulps): Likewise.
2659 (fpstack_test): Likewise.
2660 (print_max_error): Likewise.
2661 (print_complex_max_error): Likewise.
2662 (test_single_exception): Likewise.
2663 (test_exceptions): Likewise.
2664 (test_single_errno): Likewise.
2665 (test_errno): Likewise.
2666 (ULPDIFF): Likewise.
2667 (ulp): Likewise.
2668 (check_float_internal): Likewise.
2669 (check_float): Likewise.
2670 (check_complex): Likewise.
2671 (check_int): Likewise.
2672 (check_long): Likewise.
2673 (check_bool): Likewise.
2674 (check_longlong): Likewise.
2675 (check_intmax_t): Likewise.
2676 (check_uintmax_t): Likewise.
2677 (enable_test): Likewise.
2678 (struct test_f_f_data): Likewise.
2679 (struct test_ff_f_data): Likewise.
2680 (struct test_fj_f_data): Likewise.
2681 (struct test_fi_f_data): Likewise.
2682 (struct test_fl_f_data): Likewise.
2683 (struct test_if_f_data): Likewise.
2684 (struct test_fff_f_data): Likewise.
2685 (struct test_fiu_M_data): Likewise.
2686 (struct test_fiu_U_data): Likewise.
2687 (struct test_c_f_data): Likewise.
2688 (struct test_f_f1_data): Likewise.
2689 (struct test_fF_f1_data): Likewise.
2690 (struct test_ffI_f1_data): Likewise.
2691 (struct test_c_c_data): Likewise.
2692 (struct test_cc_c_data): Likewise.
2693 (struct test_f_i_data): Likewise.
2694 (struct test_ff_i_data): Likewise.
2695 (struct test_f_l_data): Likewise.
2696 (struct test_f_L_data): Likewise.
2697 (struct test_fFF_11_data): Likewise.
2698 (struct test_Ff_b1_data): Likewise.
2699 (IF_ROUND_INIT_): Likewise.
2700 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2701 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2702 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2703 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2704 (ROUND_RESTORE_): Likewise.
2705 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2706 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2707 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2708 (ROUND_RESTORE_FE_UPWARD): Likewise.
2709 (RM_): Likewise.
2710 (RM_FE_DOWNWARD): Likewise.
2711 (RM_FE_TONEAREST): Likewise.
2712 (RM_FE_TOWARDZERO): Likewise.
2713 (RM_FE_UPWARD): Likewise.
2714 (COMMON_TEST_SETUP): Likewise.
2715 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2716 (COMMON_TEST_CLEANUP): Likewise.
2717 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2718 (RUN_TEST_f_f): Likewise.
2719 (RUN_TEST_LOOP_f_f): Likewise.
2720 (RUN_TEST_fp_f): Likewise.
2721 (RUN_TEST_LOOP_fp_f): Likewise.
2722 (RUN_TEST_2_f): Likewise.
2723 (RUN_TEST_LOOP_2_f): Likewise.
2724 (RUN_TEST_ff_f): Likewise.
2725 (RUN_TEST_LOOP_ff_f): Likewise.
2726 (RUN_TEST_LOOP_fj_f): Likewise.
2727 (RUN_TEST_fi_f): Likewise.
2728 (RUN_TEST_LOOP_fi_f): Likewise.
2729 (RUN_TEST_fl_f): Likewise.
2730 (RUN_TEST_LOOP_fl_f): Likewise.
2731 (RUN_TEST_if_f): Likewise.
2732 (RUN_TEST_LOOP_if_f): Likewise.
2733 (RUN_TEST_fff_f): Likewise.
2734 (RUN_TEST_LOOP_fff_f): Likewise.
2735 (RUN_TEST_fiu_M): Likewise.
2736 (RUN_TEST_LOOP_fiu_M): Likewise.
2737 (RUN_TEST_fiu_U): Likewise.
2738 (RUN_TEST_LOOP_fiu_U): Likewise.
2739 (RUN_TEST_c_f): Likewise.
2740 (RUN_TEST_LOOP_c_f): Likewise.
2741 (RUN_TEST_f_f1): Likewise.
2742 (RUN_TEST_LOOP_f_f1): Likewise.
2743 (RUN_TEST_fF_f1): Likewise.
2744 (RUN_TEST_LOOP_fF_f1): Likewise.
2745 (RUN_TEST_fI_f1): Likewise.
2746 (RUN_TEST_LOOP_fI_f1): Likewise.
2747 (RUN_TEST_ffI_f1_mod8): Likewise.
2748 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2749 (RUN_TEST_Ff_b1): Likewise.
2750 (RUN_TEST_LOOP_Ff_b1): Likewise.
2751 (RUN_TEST_Ffp_b1): Likewise.
2752 (RUN_TEST_LOOP_Ffp_b1): Likewise.
2753 (RUN_TEST_c_c): Likewise.
2754 (RUN_TEST_LOOP_c_c): Likewise.
2755 (RUN_TEST_cc_c): Likewise.
2756 (RUN_TEST_LOOP_cc_c): Likewise.
2757 (RUN_TEST_f_i): Likewise.
2758 (RUN_TEST_LOOP_f_i): Likewise.
2759 (RUN_TEST_f_i_tg): Likewise.
2760 (RUN_TEST_LOOP_f_i_tg): Likewise.
2761 (RUN_TEST_ff_b): Likewise.
2762 (RUN_TEST_LOOP_ff_b): Likewise.
2763 (RUN_TEST_ff_i_tg): Likewise.
2764 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2765 (RUN_TEST_f_b): Likewise.
2766 (RUN_TEST_LOOP_f_b): Likewise.
2767 (RUN_TEST_f_b_tg): Likewise.
2768 (RUN_TEST_LOOP_f_b_tg): Likewise.
2769 (RUN_TEST_f_l): Likewise.
2770 (RUN_TEST_LOOP_f_l): Likewise.
2771 (RUN_TEST_f_L): Likewise.
2772 (RUN_TEST_LOOP_f_L): Likewise.
2773 (RUN_TEST_fFF_11): Likewise.
2774 (RUN_TEST_LOOP_fFF_11): Likewise.
2775 (VEC_SUFF): Likewise.
2776 (STR_CONCAT): Likewise.
2777 (STR_CON3): Likewise.
2778 (HAVE_VECTOR): Likewise.
2779 (START): Likewise.
2780 (END): Likewise.
2781 (END_COMPLEX): Likewise.
2782 (ALL_RM_TEST): Likewise.
2783 (matherr): Likewise.
2784 (initialize): Likewise.
2785 (options): Likewise.
2786 (doc): Likewise.
2787 (parse_opt): Likewise.
2788 (argp): Likewise.
2789 (check_ulp): Likewise.
2790 (main): Likewise.
2791 (do_test): New function. Call tests of individual functions
2792 previously called from main.
2793
2794 * math/libm-test.inc: Remove comment listing functions tested and
2795 not tested.
2796
2797 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2798
2799 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2800 (allocate_stack): Remove COLORING_INCREMENT usage.
2801 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2802 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2803
2804 2017-02-06 Joseph Myers <joseph@codesourcery.com>
2805
2806 * manual/libm-err-tab.pl (@all_functions): Change to
2807 %all_functions. Initialize as empty.
2808 (parse_ulps): Add to %all_functions based on functions found in
2809 ulps files. Ignore results for non-default rounding modes and
2810 vector functions.
2811 (print_platforms): Use %all_platforms.
2812 * manual/math.texi (Errors in Math Functions): Document omissions
2813 from the table.
2814
2815 * math/Makefile (before-compile): Remove.
2816
2817 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2818
2819 [BZ #21075]
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2821 unused assignment.
2822 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2823
2824 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2825
2826 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2827 Add __glibc_unlikely hint.
2828
2829 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2830
2831 [BZ #16640]
2832 * sysdeps/i386/i686/strtok.S: Remove file.
2833 * sysdeps/i386/i686/strtok_r.S: Likewise.
2834 * sysdeps/i386/strtok.S: Likewise.
2835 * sysdeps/i386/strtok_r.S: Likewise.
2836 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2838 * sysdeps/x86_64/strtok.S: Likewise.
2839 * sysdeps/x86_64/strtok_r.S: Likewise.
2840
2841 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2842 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2844 (__ASSUME_FADVISE64_AS_64_64): Define.
2845 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2846 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2847 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2848 __ALIGNMENT_ARG usage.
2849 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2850 __NR_fadvise64_64 if it is not defined.
2851
2852 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
2853
2854 * version.h (RELEASE): Set to "development"
2855 (VERSION): Set to 2.25.90.
2856 * NEWS: Add 2.26 section.
2857
2858 * version.h (RELEASE): Set to "stable"
2859 (VERSION): Set to 2.25.
2860 * include/features.h (__GLIBC_MINOR__): Set to 25.
2861
2862 * manual/contrib.texi: Add more contributors from this release
2863 and past releases.
2864
2865 * NEWS (2.25): Add list of bugs fixed.
2866
2867 * NEWS: Add missing news items.
2868
2869 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
2870
2871 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2872 parent if child exited in that manner. Print WEXITSTATUS
2873 instead of the raw status.
2874 (do_test_prep): Rename to do_test.
2875 (do_test): Return the result of run_executable_sgid.
2876 (TEST_FUNCTION_ARGV): Adjust.
2877
2878 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
2879 Florian Weimer <fweimer@redhat.com>
2880 Carlos O'Donell <carlos@redhat.com>
2881
2882 [BZ #20915]
2883 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2884 Do not initialize DTV.
2885 * nptl/allocatestack.c (init_one_static_tls): Likewise.
2886
2887 2017-02-03 David S. Miller <davem@davemloft.net>
2888
2889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2898 (libm-sysdep_routines): Update.
2899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2904 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2905 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2906 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2907 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2909 Likewise.
2910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2912 Likewise.
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2915 Likewise.
2916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2918 Likewise.
2919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2921 (libm-sysdep_routines): Update.
2922
2923 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2926 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2927 against unrelocated shared library.
2928 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2929
2930 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
2931
2932 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2933 * elf/tst-env-setuid-tunables.c
2934 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2935 GLIBC_TUNABLES is removed in a setgid process.
2936
2937 [BZ #21073]
2938 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2939 * elf/dl-tunables.c (tunables_strdup): Remove.
2940 (get_next_env): Also return the previous envp.
2941 (parse_tunables): Erase tunables of category
2942 TUNABLES_SECLEVEL_SXID_ERASE.
2943 (maybe_enable_malloc_check): Make MALLOC_CHECK_
2944 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2945 (__tunables_init)[TUNABLES_FRONTEND ==
2946 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2947 after parsing.
2948 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2949 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2950 * elf/dl-tunables.h (struct _tunable): Change member is_secure
2951 to security_level.
2952 * elf/dl-tunables.list: Add security_level annotations for all
2953 tunables.
2954 * scripts/gen-tunables.awk: Recognize and generate enum values
2955 for security_level.
2956 * elf/tst-env-setuid.c: New test case.
2957 * elf/tst-env-setuid-tunables: new test case.
2958 * elf/Makefile (tests-static): Add them.
2959
2960 2017-02-01 Richard Henderson <rth@twiddle.net>
2961
2962 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2963 adjusting the byte count.
2964
2965 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
2966
2967 * conform/Makefile (linknamespace-libs): Define.
2968
2969 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2970 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2971 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2972 operands.
2973
2974 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
2975
2976 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2977
2978 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 [BZ #21081]
2981 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2982 (L(stosb)): Add VZEROUPPER before ret.
2983
2984 2016-01-28 Carlos O'Donell <carlos@redhat.com>
2985 Alexey Makhalov <amakhalov@vmware.com>
2986 Florian Weimer <fweimer@redhat.com>
2987
2988 [BZ #20116]
2989 * nptl/pthread_create.c: Document concurrency notes.
2990 Enhance thread creation notes.
2991 (create_thread): Use bool *stopped_start.
2992 (START_THREAD_DEFN): Comment ownership of PD.
2993 (__pthread_create_2_1): Add local bool stopped_start and use
2994 that instead of pd->stopped_start where appropriate.
2995 * nptl/createthread.c (create_thread): Use bool *stopped_start.
2996 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2997 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2998 * nptl/tst-create-detached.c: New file.
2999 * nptl/Makefile (tests): Add tst-create-detached.
3000 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3001 Reference the enhanced thread creation notes.
3002 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3003 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3004 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3005 (__pthread_current_priority): Likewise.
3006 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3007 xpthread_attr_init, xpthread_attr_setdetachstate, and
3008 xpthread_attr_setstacksize.
3009 * support/xpthread_attr_destroy.c: New file.
3010 * support/xpthread_attr_init.c: New file.
3011 * support/xpthread_attr_setdetachstate.c: New file.
3012 * support/xpthread_attr_setstacksize.c: New file.
3013 * support/xthread.h: Define prototypes for xpthread_attr_destroy
3014 xpthread_attr_init, xpthread_attr_setdetachstate, and
3015 xpthread_attr_setstacksize.
3016
3017 2017-01-27 Florian Weimer <fweimer@redhat.com>
3018
3019 * nptl/Makefile (tests): Add tst-robust-fork.
3020 * nptl/tst-robust-fork.c: New file.
3021 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3022 xpthread_mutex_consistent, xpthread_mutex_destroy,
3023 xpthread_mutex_init, xpthread_mutexattr_destroy,
3024 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3025 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3026 xpthread_mutexattr_settype.
3027 * support/xmmap.c: New file.
3028 * support/xmunmap.c: Likewise.
3029 * support/xpthread_mutex_consistent.c: Likewise.
3030 * support/xpthread_mutex_destroy.c: Likewise.
3031 * support/xpthread_mutex_init.c: Likewise.
3032 * support/xpthread_mutexattr_destroy.c: Likewise.
3033 * support/xpthread_mutexattr_init.c: Likewise.
3034 * support/xpthread_mutexattr_setprotocol.c: Likewise.
3035 * support/xpthread_mutexattr_setpshared.c: Likewise.
3036 * support/xpthread_mutexattr_setrobust.c: Likewise.
3037 * support/xpthread_mutexattr_settype.c: Likewise.
3038 * support/xthread.h (xpthread_mutexattr_destroy)
3039 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3040 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3041 (xpthread_mutexattr_settype, xpthread_mutex_init)
3042 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3043 * support/xunistd.h (xmmap, xmunmap): Likewise.
3044
3045 2017-01-25 Florian Weimer <fweimer@redhat.com>
3046
3047 * string/Makefile (xtests): Add comment.
3048 (LOCALES): Add en_GB.UTF-8.
3049 (tst-strcoll-overflow.out): Depend on generated locales.
3050 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3051 (SIZE, TIMEOUT): Update comments.
3052 (do_test): Define as static. Fail test if setlocale fails.
3053 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
3054 messages.
3055 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3056 TIMEOUT at 300 seconds should be enough to run this test
3057 successfully.
3058
3059 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3060
3061 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3062 /* FALLTHRU */ comments.
3063
3064 2017-01-24 James Clarke <jrtc27@jrtc27.com>
3065
3066 [BZ #21053]
3067 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3068 constants instead of the old R* ones.
3069 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3070 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3071 (NGREG): ... to this, to fit in with other architectures.
3072 (gpregset_t): Use new NGREG macro.
3073 [__USE_GNU]: Remove condition; all architectures other than tile
3074 are unconditional.
3075 (R*): Rename to REG_R*.
3076
3077 2017-01-20 DJ Delorie <dj@redhat.com>
3078
3079 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3080 (tunable_set_val_if_valid_range_signed) ... this, and ...
3081 (tunable_set_val_if_valid_range_unsigned) ... this.
3082 (tunable_initialize): Call the correct one of the above based on type.
3083
3084 2017-01-20 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3087 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3088 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3089 * sysdeps/microblaze/libm-test-ulps: Likewise.
3090 * sysdeps/sh/libm-test-ulps: Likewise.
3091
3092 * math/README.libm-test: Update list of characters for input and
3093 output types.
3094
3095 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3096
3097 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3098 (__lll_unlock_elision): Fix adapt_count decrement.
3099
3100 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
3101
3102 * README.pretty-printers (Known issues): Warn about printers not
3103 always covering everything.
3104 * nptl/nptl-printers.py (MutexPrinter): Change output.
3105 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3106
3107 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3108
3109 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3110 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3111 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3112 (__lll_lock_elision): Do not test futex before starting a
3113 transaction. Use __glibc_likely instead of __builtin_expect.
3114 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3115 (__lll_trylock_elision): Do not test futex before starting a
3116 transaction. Use __glibc_likely instead of __builtin_expect.
3117
3118 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
3119
3120 * po/Makefile (update-translations): New target.
3121
3122 2017-01-19 Joseph Myers <joseph@codesourcery.com>
3123
3124 [BZ #21061]
3125 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3126
3127 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
3128
3129 * elf/dl-tunables (get_next_env): Always advance envp.
3130 * stdlib/tst-empty-env.c: New test case.
3131 * stdlib/Makefile (tests): Use it.
3132
3133 2017-01-19 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #21047]
3136 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3137 name for instruction.
3138 [!__SOFTFP__] (_FPU_SETCW): Likewise.
3139
3140 2017-01-18 Joseph Myers <joseph@codesourcery.com>
3141
3142 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3143 for make install.
3144
3145 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
3146
3147 * po/bg.po: Merge from Translation Project.
3148 * po/fr.po: Likewise.
3149 * po/ko.po: Likewise.
3150 * po/nl.po: Likewise.
3151 * po/sv.po: Likewise.
3152
3153 2017-01-18 Joseph Myers <joseph@codesourcery.com>
3154
3155 * manual/install.texi (Tools for Compilation): Update GCC version
3156 known to work to build glibc.
3157 * INSTALL: Regenerated.
3158
3159 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3160
3161 [BZ #21006]
3162 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3163
3164 2017-01-16 Joseph Myers <joseph@codesourcery.com>
3165
3166 [BZ #21045]
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3168 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3169 to __sigprocmask.
3170
3171 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
3172
3173 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3174 wrap-around.
3175 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3176
3177 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3178
3179 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3180
3181 * NEWS: Fix typo.
3182
3183 2016-01-13 Torvald Riegel <triegel@redhat.com>
3184
3185 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3186 barriers and comments.
3187 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3188 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3189 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3190
3191 2016-01-13 Torvald Riegel <triegel@redhat.com>
3192
3193 [BZ #19402]
3194 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3195 mutexes.
3196
3197 2016-01-13 Torvald Riegel <triegel@redhat.com>
3198
3199 [BZ #20985]
3200 * nptl/Makefile: Adapt.
3201 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3202 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3203 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3204 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3205 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3206 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3207 lll_robust* functions and adapt.
3208 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3209 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3210 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3211 __lll_robust_timedlock, __lll_robust_unlock): Remove.
3212 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3213 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3214 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3215 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3216 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3217 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3218 __lll_robust_timedlock, __lll_robust_unlock): Remove.
3219 * nptl/lowlevelrobustlock.c: Remove file.
3220 * nptl/lowlevelrobustlock.sym: Likewise.
3221 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3222 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3223
3224 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3225
3226 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3227
3228 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
3229
3230 * po/cs.po: Merge translations from the Translation Project.
3231 * po/de.po: Likewise.
3232 * po/pl.po: Likewise.
3233 * po/ru.po: Likewise.
3234 * po/tr.po: Likewise.
3235 * po/uk.po: Likewise.
3236 * po/vi.po: Likewise.
3237 * po/zh_CN.po: Likewise.
3238
3239 2017-01-12 Joseph Myers <joseph@codesourcery.com>
3240
3241 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3242
3243 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3244 object.
3245
3246 2017-01-11 Joseph Myers <joseph@codesourcery.com>
3247
3248 [BZ #16458]
3249 * bits/uintn-identity.h: New file.
3250 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3251 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3252 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3253 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3254 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3255 * string/endian.h: Include <bits/uintn-identity.h>.
3256 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3257 __uint16_identity.
3258 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3259 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3260 __uint32_identity.
3261 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3262 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3263 __uint64_identity.
3264 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3265 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3266 __uint16_identity.
3267 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3268 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3269 __uint32_identity.
3270 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3271 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3272 __uint64_identity.
3273 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3274 * string/Makefile (headers): Add bits/uintn-identity.h.
3275 (tests): Add test-endian-types.
3276 * string/test-endian-types.c: New file.
3277 * inet/Makefile (tests): Add test-hnto-types.
3278 * inet/test-hnto-types.c: New file.
3279
3280 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3281
3282 * po/be.po: Update from Translation Project.
3283 * po/bg.po: Likewise.
3284 * po/ca.po: Likewise.
3285 * po/cs.po: Likewise.
3286 * po/da.po: Likewise.
3287 * po/de.po: Likewise.
3288 * po/el.po: Likewise.
3289 * po/eo.po: Likewise.
3290 * po/es.po: Likewise.
3291 * po/fi.po: Likewise.
3292 * po/fr.po: Likewise.
3293 * po/gl.po: Likewise.
3294 * po/hr.po: Likewise.
3295 * po/hu.po: Likewise.
3296 * po/ia.po: Likewise.
3297 * po/id.po: Likewise.
3298 * po/it.po: Likewise.
3299 * po/ja.po: Likewise.
3300 * po/ko.po: Likewise.
3301 * po/lt.po: Likewise.
3302 * po/nb.po: Likewise.
3303 * po/nl.po: Likewise.
3304 * po/pl.po: Likewise.
3305 * po/pt_BR.po: Likewise.
3306 * po/ru.po: Likewise.
3307 * po/rw.po: Likewise.
3308 * po/sk.po: Likewise.
3309 * po/sl.po: Likewise.
3310 * po/sv.po: Likewise.
3311 * po/tr.po: Likewise.
3312 * po/uk.po: Likewise.
3313 * po/vi.po: Likewise.
3314 * po/zh_CN.po: Likewise.
3315 * po/zh_TW.po: Likewise.
3316
3317 2017-01-11 Joseph Myers <joseph@codesourcery.com>
3318
3319 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3320 -Wformat-truncation instead of -Wformat-length.
3321 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3322 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3323 GCC 7.
3324 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3325 (do_test): Ignore -Wformat-truncation for GCC 7.
3326
3327 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3328 buffer used to print long int value.
3329
3330 * elf/sotruss-lib.c (init): Increase space allocated for pid by
3331 one byte. Print it with %ld, cast to long int.
3332
3333 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3334
3335 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3336 (re.fullmatch, subprocess.run): Likewise.
3337
3338 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
3339
3340 * po/libc.pot: Regenerate.
3341
3342 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3343
3344 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3345 (min_strlen): Likewise.
3346 (disable_tunable): Likewise.
3347 (maybe_disable_malloc_check): Rename to
3348 maybe_enable_malloc_check.
3349 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3350 if /etc/suid-debug file exists.
3351 (__tunables_init): Update caller.
3352 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3353 secure.
3354
3355 2016-01-10 Torvald Riegel <triegel@redhat.com>
3356
3357 * nptl/DESIGN-rwlock.txt: Remove.
3358 * nptl/lowlevelrwlock.sym: Remove.
3359 * nptl/Makefile: Add new tests.
3360 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
3361 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3362 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3363 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3364 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3365 PTHREAD_RWLOCK_FUTEX_USED): New.
3366 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3367 implementation.
3368 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3369 (__pthread_rwlock_rdlock): Adapt.
3370 * nptl/pthread_rwlock_timedrdlock.c
3371 (pthread_rwlock_timedrdlock): Adapt.
3372 * nptl/pthread_rwlock_timedwrlock.c
3373 (pthread_rwlock_timedwrlock): Adapt.
3374 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3375 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3376 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3377 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3378 (__pthread_rwlock_wrlock): Adapt.
3379 * nptl/tst-rwlock10.c: Adapt.
3380 * nptl/tst-rwlock11.c: Adapt.
3381 * nptl/tst-rwlock17.c: New file.
3382 * nptl/tst-rwlock18.c: New file.
3383 * nptl/tst-rwlock19.c: New file.
3384 * nptl/tst-rwlock2b.c: New file.
3385 * nptl/tst-rwlock8.c: Adapt.
3386 * nptl/tst-rwlock9.c: Adapt.
3387 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3388 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3389 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3390 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3391 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3392 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3393 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3394 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3395 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3396 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3397 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3398 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3399 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3400 (pthread_rwlock_t): Adapt.
3401 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3402 (pthread_rwlock_t): Adapt.
3403 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3404 * nptl/nptl-printers.py (): Adapt.
3405 * nptl/nptl_lock_constants.pysym: Adapt.
3406 * nptl/test-rwlock-printers.py: Adapt.
3407 * nptl/test-rwlockattr-printers.c: Adapt.
3408 * nptl/test-rwlockattr-printers.py: Adapt.
3409
3410 2017-01-10 Joseph Myers <joseph@codesourcery.com>
3411
3412 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3413 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3414 (fma_test_data): Likewise.
3415 (hypot_test_data): Likewise.
3416 (log1p_test_data): Likewise.
3417 (modf_test_data): Likewise.
3418 (pow_test_data): Likewise.
3419 (remainder_test_data): Likewise.
3420 (remquo_test_data): Likewise.
3421 (scalb_test_data): Likewise.
3422 (scalbn_test_data): Likewise.
3423 (scalbln_test_data): Likewise.
3424 * math/gen-libm-test.pl (parse_args): Transform
3425 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3426 on the rounding mode.
3427
3428 2017-01-09 Joseph Myers <joseph@codesourcery.com>
3429
3430 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3431 xfail-rounding:ibm128-libgcc automatically to tests overflowing
3432 and those that can underflow to zero.
3433 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3434 add others.
3435 * math/auto-libm-test-out: Regenerated.
3436
3437 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3438 supported.
3439 (feholdexcept_tests): Skip tests requiring exceptions or rounding
3440 modes support if not supported.
3441
3442 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3443 Add libc.so PLT entry.
3444 (__tls_get_addr): Make ld.so PLT entry optional.
3445
3446 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3447
3448 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3449 * string/bits/string3.h: ... here.
3450
3451 2017-01-05 Joseph Myers <joseph@codesourcery.com>
3452
3453 [BZ #21028]
3454 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3455 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3456 if EXCEPTION_TESTS returns false.
3457
3458 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3459
3460 [BZ #20558]
3461 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3462 strings_fortified.h.
3463 [__USE_MISC] (bzero): Likewise.
3464 [__USE_MISC] (explicit_bzero): Likewise.
3465 * string/strings.h: Include strings_fortified.h.
3466 * string/Makefile (headers): Add strings_fortified.h.
3467 * string/bits/strings_fortified.h: New file.
3468 * include/bits/strings_fortified.h: Likewise.
3469
3470 2017-01-05 Joseph Myers <joseph@codesourcery.com>
3471
3472 * elf/tst-tls13.c (TIMEOUT): Remove.
3473 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3474 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3475 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3476 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3477 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3478
3479 [BZ #21026]
3480 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3481 (readahead): New syscall entry.
3482
3483 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3484
3485 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3486 around tests of strncat with large sizes.
3487
3488 * malloc/tst-malloc.c: Include <libc-internal.h>.
3489 (do_test): Disable -Walloc-size-larger-than= around tests of
3490 malloc with negative sizes.
3491 * malloc/tst-mcheck.c: Include <libc-internal.h>.
3492 (do_test): Disable -Walloc-size-larger-than= around tests of
3493 malloc and realloc with negative sizes.
3494 * malloc/tst-realloc.c: Include <libc-internal.h>.
3495 (do_test): Disable -Walloc-size-larger-than= around tests of
3496 realloc with negative sizes.
3497
3498 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3499 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3500 allowed to 16 ulps.
3501 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3502 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
3503 * math/auto-libm-test-out: Regenerated.
3504
3505 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3506
3507 * math/Makefile (libm-calls): Move wrappers...
3508 (libm-compat-call-auto): Here.
3509 (libm-routines): Add items in libm-compat-calls-auto.
3510 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3511 the filenames of the wrappers that have been renamed.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3514
3515 * math/w_acos.c: Add _compat suffix to filename.
3516 * math/w_acosf.c: Likewise.
3517 * math/w_acosh.c: Likewise.
3518 * math/w_acoshf.c: Likewise.
3519 * math/w_acoshl.c: Likewise.
3520 * math/w_acosl.c: Likewise.
3521 * math/w_asin.c: Likewise.
3522 * math/w_asinf.c: Likewise.
3523 * math/w_asinl.c: Likewise.
3524 * math/w_atan2.c: Likewise.
3525 * math/w_atan2f.c: Likewise.
3526 * math/w_atan2l.c: Likewise.
3527 * math/w_atanh.c: Likewise.
3528 * math/w_atanhf.c: Likewise.
3529 * math/w_atanhl.c: Likewise.
3530 * math/w_cosh.c: Likewise.
3531 * math/w_coshf.c: Likewise.
3532 * math/w_coshl.c: Likewise.
3533 * math/w_exp10.c: Likewise.
3534 * math/w_exp10f.c: Likewise.
3535 * math/w_exp10l.c: Likewise.
3536 * math/w_exp2.c: Likewise.
3537 * math/w_exp2f.c: Likewise.
3538 * math/w_exp2l.c: Likewise.
3539 * math/w_fmod.c: Likewise.
3540 * math/w_fmodf.c: Likewise.
3541 * math/w_fmodl.c: Likewise.
3542 * math/w_hypot.c: Likewise.
3543 * math/w_hypotf.c: Likewise.
3544 * math/w_hypotl.c: Likewise.
3545 * math/w_j0.c: Likewise.
3546 * math/w_j0f.c: Likewise.
3547 * math/w_j0l.c: Likewise.
3548 * math/w_j1.c: Likewise.
3549 * math/w_j1f.c: Likewise.
3550 * math/w_j1l.c: Likewise.
3551 * math/w_jn.c: Likewise.
3552 * math/w_jnf.c: Likewise.
3553 * math/w_jnl.c: Likewise.
3554 * math/w_log10.c: Likewise.
3555 * math/w_log10f.c: Likewise.
3556 * math/w_log10l.c: Likewise.
3557 * math/w_log2.c: Likewise.
3558 * math/w_log2f.c: Likewise.
3559 * math/w_log2l.c: Likewise.
3560 * math/w_log.c: Likewise.
3561 * math/w_logf.c: Likewise.
3562 * math/w_logl.c: Likewise.
3563 * math/w_pow.c: Likewise.
3564 * math/w_powf.c: Likewise.
3565 * math/w_powl.c: Likewise.
3566 * math/w_remainder.c: Likewise.
3567 * math/w_remainderf.c: Likewise.
3568 * math/w_remainderl.c: Likewise.
3569 * math/w_scalb.c: Likewise.
3570 * math/w_scalbf.c: Likewise.
3571 * math/w_scalbl.c: Likewise.
3572 * math/w_sinh.c: Likewise.
3573 * math/w_sinhf.c: Likewise.
3574 * math/w_sinhl.c: Likewise.
3575 * math/w_sqrt.c: Likewise.
3576 * math/w_sqrtf.c: Likewise.
3577 * math/w_sqrtl.c: Likewise.
3578 * math/w_tgamma.c: Likewise.
3579 * math/w_tgammaf.c: Likewise.
3580 * math/w_tgammal.c: Likewise.
3581
3582 * math/w_acos_compat.c: New file copied from above and
3583 adjusted for new #includes path
3584 * math/w_acosf_compat.c: Likewise.
3585 * math/w_acosh_compat.c: Likewise.
3586 * math/w_acoshf_compat.c: Likewise.
3587 * math/w_acoshl_compat.c: Likewise.
3588 * math/w_acosl_compat.c: Likewise.
3589 * math/w_asin_compat.c: Likewise.
3590 * math/w_asinf_compat.c: Likewise.
3591 * math/w_asinl_compat.c: Likewise.
3592 * math/w_atan2_compat.c: Likewise.
3593 * math/w_atan2f_compat.c: Likewise.
3594 * math/w_atan2l_compat.c: Likewise.
3595 * math/w_atanh_compat.c: Likewise.
3596 * math/w_atanhf_compat.c: Likewise.
3597 * math/w_atanhl_compat.c: Likewise.
3598 * math/w_cosh_compat.c: Likewise.
3599 * math/w_coshf_compat.c: Likewise.
3600 * math/w_coshl_compat.c: Likewise.
3601 * math/w_exp10_compat.c: Likewise.
3602 * math/w_exp10f_compat.c: Likewise.
3603 * math/w_exp10l_compat.c: Likewise.
3604 * math/w_exp2_compat.c: Likewise.
3605 * math/w_exp2f_compat.c: Likewise.
3606 * math/w_exp2l_compat.c: Likewise.
3607 * math/w_fmod_compat.c: Likewise.
3608 * math/w_fmodf_compat.c: Likewise.
3609 * math/w_fmodl_compat.c: Likewise.
3610 * math/w_hypot_compat.c: Likewise.
3611 * math/w_hypotf_compat.c: Likewise.
3612 * math/w_hypotl_compat.c: Likewise.
3613 * math/w_j0_compat.c: Likewise.
3614 * math/w_j0f_compat.c: Likewise.
3615 * math/w_j0l_compat.c: Likewise.
3616 * math/w_j1_compat.c: Likewise.
3617 * math/w_j1f_compat.c: Likewise.
3618 * math/w_j1l_compat.c: Likewise.
3619 * math/w_jn_compat.c: Likewise.
3620 * math/w_jnf_compat.c: Likewise.
3621 * math/w_jnl_compat.c: Likewise.
3622 * math/w_log10_compat.c: Likewise.
3623 * math/w_log10f_compat.c: Likewise.
3624 * math/w_log10l_compat.c: Likewise.
3625 * math/w_log2_compat.c: Likewise.
3626 * math/w_log2f_compat.c: Likewise.
3627 * math/w_log2l_compat.c: Likewise.
3628 * math/w_log_compat.c: Likewise.
3629 * math/w_logf_compat.c: Likewise.
3630 * math/w_logl_compat.c: Likewise.
3631 * math/w_pow_compat.c: Likewise.
3632 * math/w_powf_compat.c: Likewise.
3633 * math/w_powl_compat.c: Likewise.
3634 * math/w_remainder_compat.c: Likewise.
3635 * math/w_remainderf_compat.c: Likewise.
3636 * math/w_remainderl_compat.c: Likewise.
3637 * math/w_scalb_compat.c: Likewise.
3638 * math/w_scalbf_compat.c: Likewise.
3639 * math/w_scalbl_compat.c: Likewise.
3640 * math/w_sinh_compat.c: Likewise.
3641 * math/w_sinhf_compat.c: Likewise.
3642 * math/w_sinhl_compat.c: Likewise.
3643 * math/w_sqrt_compat.c: Likewise.
3644 * math/w_sqrtf_compat.c: Likewise.
3645 * math/w_sqrtl_compat.c: Likewise.
3646 * math/w_tgamma_compat.c: Likewise.
3647 * math/w_tgammaf_compat.c: Likewise.
3648 * math/w_tgammal_compat.c: Likewise.
3649
3650 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3651 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3652 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3653 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3654 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3655 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3656 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3657 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3658 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3659 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3660 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3661 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3662 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3663 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3664 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3665 * sysdeps/ia64/fpu/w_powl.c: Likewise.
3666 * sysdeps/ia64/fpu/w_powf.c: Likewise.
3667 * sysdeps/ia64/fpu/w_pow.c: Likewise.
3668 * sysdeps/ia64/fpu/w_logl.c: Likewise.
3669 * sysdeps/ia64/fpu/w_logf.c: Likewise.
3670 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3671 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3672 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3673 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3674 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3675 * sysdeps/ia64/fpu/w_log10.c: Likewise.
3676 * sysdeps/ia64/fpu/w_log.c: Likewise.
3677 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3678 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3679 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3680 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3681 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3682 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3683 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3684 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3685 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3686 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3687 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3688 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3689 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3690 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3691 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3692 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3693 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3694 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3695 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3696 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3697 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3698 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3699 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3700 * sysdeps/ia64/fpu/w_asin.c: Likewise.
3701 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3702 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3703 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3704 * sysdeps/ia64/fpu/w_acos.c: Likewise.
3705 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3706 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3707 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3708 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3709 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3710 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3713 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3715 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3716 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3717 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3719 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3721 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3722 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3723 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3725 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3727 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3728 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3729 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3730 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3731 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3733 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3734 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3735 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3736 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3737 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3739 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3741 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3743 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3745 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3747 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3749 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3751 Likewise.
3752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3753 Likewise.
3754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3756 Likewise.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3758 Likewise.
3759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3760 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3761 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3764 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3765 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3772 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3773 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3774
3775 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3776 and adjusted for new #includes path
3777 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3778 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3779 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3780 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3781 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3782 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3783 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3784 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3785 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3786 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3787 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3788 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3789 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3790 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3791 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3792 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3793 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3794 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3795 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3796 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3797 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3798 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3799 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3800 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3801 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3802 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3803 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3804 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3805 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3806 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3807 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3808 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3809 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3810 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3811 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3812 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3813 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3814 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3815 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3816 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3817 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3818 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3819 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3820 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3821 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3822 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3823 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3824 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3825 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3826 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3827 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3828 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3829 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3830 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3831 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3832 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3833 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3834 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3835 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3836 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3837 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3838 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3839 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3840 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3841 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3842 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3843 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3844 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3845 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3846 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3847 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3848 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3849 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3850 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3851 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3852 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3853 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3854 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3855 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3856 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3857 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3858 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3859 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3860 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3861 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3862 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3863 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3864 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3865 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3866 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3867 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3868 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3869 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3870 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3871 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3872 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3873 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3874 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3875 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3877 Likewise.
3878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3879 Likewise.
3880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3881 Likewise.
3882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3883 Likewise.
3884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3885 Likewise.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3887 Likewise.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3892 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3893 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3895 Likewise.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3897 Likewise.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3899 Likewise.
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3901 Likewise.
3902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3904 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3905 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3906
3907 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3908
3909 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3910 __jmp_buf_internal_tag.
3911
3912 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3913 preserve NaN payload if [__mips_nan2008].
3914 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3915
3916 [BZ #21022]
3917 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3918
3919 2017-01-03 Joseph Myers <joseph@codesourcery.com>
3920
3921 * sysdeps/i386/fpu/libm-test-ulps: Update.
3922
3923 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3924
3925 * sysdeps/ia64/strcat.c: Remove file.
3926 * sysdeps/powerpc/strcat.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3928 C implementation.
3929 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3930 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3931
3932 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3933 Steven Munroe <sjmunroe@us.ibm.com>
3934 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3935
3936 [BZ #20822]
3937 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3938 (__lll_lock_elision): Access adapt_count via C11 atomics.
3939 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3940 (__lll_trylock_elision): Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3942 (__lll_unlock_elision): Update adapt_count variable inside the
3943 critical section using C11 atomics.
3944
3945 2017-01-03 Joseph Myers <joseph@codesourcery.com>
3946
3947 * math/test-fenvinline.c (do_test): Disable tests of raised
3948 exceptions if !EXCEPTION_TESTS (FLOAT).
3949
3950 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3951
3952 [BZ #19390]
3953 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3954 maximum string size.
3955 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3956 in pointer addition.
3957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3958 Likewise.
3959
3960 2017-01-03 Joseph Myers <joseph@codesourcery.com>
3961
3962 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3963 passed to tst-ldconfig-X.sh.
3964
3965 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
3966
3967 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3968
3969 2017-01-02 Joseph Myers <joseph@codesourcery.com>
3970
3971 [BZ #21019]
3972 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3973 New syscall entry.
3974 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3975 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3976 lseek.
3977
3978 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3979 power4 glibc for powerpc-linux-gnu.
3980
3981 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3982
3983 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3984 semctl.
3985
3986 2017-01-02 Joseph Myers <joseph@codesourcery.com>
3987
3988 * math/test-nearbyint-except.c: Include <stdbool.h>.
3989 (any_supported): New variable.
3990 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
3991 set any_supported.
3992 (do_test): Return 77 if no floating-point type supported
3993 exceptions.
3994
3995 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3996 condition on [__mips_hard_float].
3997
3998 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3999
4000 [BZ #21014]
4001 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4002 in pointer addition.
4003 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4004
4005 2017-01-02 Torvald Riegel <triegel@redhat.com>
4006
4007 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4008 new condvar.
4009
4010 2017-01-02 Joseph Myers <joseph@codesourcery.com>
4011
4012 * scripts/build-many-glibcs.py (Context.checkout): Default
4013 binutils version to 2.28 branch.
4014
4015 2017-01-01 Florian Weimer <fweimer@redhat.com>
4016
4017 * support/support_format_netent.c (support_format_netent): Work
4018 around alpha struct netent definition difference.
4019
4020 2017-01-01 Florian Weimer <fweimer@redhat.com>
4021
4022 * support/xwrite.c (xwrite): Use %td for pointer difference.
4023
4024 2017-01-01 Florian Weimer <fweimer@redhat.com>
4025
4026 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4027 have-tunables only.
4028 (tests-static): Add tst-malloc-usable-static-tunables for
4029 have-tunables only.
4030
4031 2017-01-01 Joseph Myers <joseph@codesourcery.com>
4032
4033 * scripts/config.guess: Update to version 2017-01-01.
4034 * scripts/config.sub: Update to version 2017-01-01.
4035
4036 * NEWS: Update copyright dates.
4037 * catgets/gencat.c (print_version): Likewise.
4038 * csu/version.c (banner): Likewise.
4039 * debug/catchsegv.sh: Likewise.
4040 * debug/pcprofiledump.c (print_version): Likewise.
4041 * debug/xtrace.sh (do_version): Likewise.
4042 * elf/ldconfig.c (print_version): Likewise.
4043 * elf/ldd.bash.in: Likewise.
4044 * elf/pldd.c (print_version): Likewise.
4045 * elf/sotruss.sh: Likewise.
4046 * elf/sprof.c (print_version): Likewise.
4047 * iconv/iconv_prog.c (print_version): Likewise.
4048 * iconv/iconvconfig.c (print_version): Likewise.
4049 * locale/programs/locale.c (print_version): Likewise.
4050 * locale/programs/localedef.c (print_version): Likewise.
4051 * login/programs/pt_chown.c (print_version): Likewise.
4052 * malloc/memusage.sh (do_version): Likewise.
4053 * malloc/memusagestat.c (print_version): Likewise.
4054 * malloc/mtrace.pl: Likewise.
4055 * manual/libc.texinfo: Likewise.
4056 * nptl/version.c (banner): Likewise.
4057 * nscd/nscd.c (print_version): Likewise.
4058 * nss/getent.c (print_version): Likewise.
4059 * nss/makedb.c (print_version): Likewise.
4060 * posix/getconf.c (main): Likewise.
4061 * scripts/test-installation.pl: Likewise.
4062 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4063
4064 * All files with FSF copyright notices: Update copyright dates
4065 using scripts/update-copyrights.
4066 * intl/plural.c: Regenerated.
4067 * locale/programs/charmap-kw.h: Likewise.
4068 * locale/programs/locfile-kw.h: Likewise.
4069
4070 2016-12-31 Florian Weimer <fweimer@redhat.com>
4071
4072 [BZ #20593]
4073 Update DNS RR type definitions.
4074 * scripts/gen-rrtypes.py: New file.
4075 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4076 BIND-internal RR type not used on the Internet. Add ns_t_ds,
4077 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4078 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4079 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4080 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4081 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4082 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4083 ns_t_ta, ns_t_dlv.
4084 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4085 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4086 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4087 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4088 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4089 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4090 Define.
4091 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
4092 entry for ns_t_zxfr.
4093
4094 2016-12-31 Florian Weimer <fweimer@redhat.com>
4095
4096 [BZ #18784]
4097 CVE-2015-5180
4098 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4099 T_UNSPEC. Adjust value.
4100 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4101 * resolv/res_query.c (__libc_res_nquery): Likewise.
4102 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4103 QTYPEs.
4104 * resolv/tst-resolv-qtypes.c: New file.
4105 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4106 (tst-resolv-qtypes): Link against libresolv and libpthread.
4107
4108 2016-12-31 Florian Weimer <fweimer@redhat.com>
4109
4110 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4111
4112 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4113
4114 * manual/tunables.texi: New chapter.
4115 * manual/Makefile (chapters): Add it.
4116 * manual/probes.texi (@node): Point to the Tunables chapter.
4117
4118 * Makeconfig (have-tunables): Check for non-negative instead
4119 of positive.
4120 * configure.ac: Add 'valstring' as a valid value for
4121 --enable-tunables.
4122 * configure: Regenerate.
4123 * elf/Makefile (have-tunables): Check for non-negative instead
4124 of positive.
4125 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4126 dl-tunables.c.
4127 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4128 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4129 (tunables_strdup): Likewise.
4130 (disable_tunables): Likewise.
4131 (parse_tunables): Likewise.
4132 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4133 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4134 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4135 (TUNABLES_FRONTEND_yes): New macro, define as
4136 TUNABLES_FRONTEND_valstring by default.
4137 * manual/install.texi: Document new acceptable values for
4138 --enable-tunables.
4139 * INSTALL: Regenerate.
4140
4141 * config.make.in (have-loop-to-function): Define.
4142 * elf/Makefile (CFLAGS-dl-tunables.c): Add
4143 -fno-tree-loop-distribute-patterns.
4144 * elf/dl-tunables.c: Include libc-internals.h.
4145 (GLIBC_TUNABLES): New macro.
4146 (tunables_strdup): New function.
4147 (parse_tunables): New function.
4148 (min_strlen): New function.
4149 (__tunables_init): Use the new functions and macro.
4150 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4151 * malloc/tst-malloc-usable-tunables.c: New test case.
4152 * malloc/tst-malloc-usable-static-tunables.c: New test case.
4153 * malloc/Makefile (tests, tests-static): Add tests.
4154
4155 * manual/install.texi: Add --enable-tunables option.
4156 * INSTALL: Regenerate.
4157 * README.tunables: New file.
4158 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4159 (before-compile): Generate dl-tunable-list.h early.
4160 * config.h.in: Add HAVE_TUNABLES.
4161 * config.make.in: Add have-tunables.
4162 * configure.ac: Add --enable-tunables option.
4163 * configure: Regenerate.
4164 * csu/init-first.c (__libc_init_first): Move
4165 __libc_init_secure earlier...
4166 * csu/init-first.c (LIBC_START_MAIN):... to here.
4167 Include dl-tunables.h, libc-internal.h.
4168 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4169 binaries.
4170 * elf/Makefile (dl-routines): Add dl-tunables.
4171 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4172 namespace.
4173 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4174 only when !HAVE_TUNABLES.
4175 * elf/rtld.c (process_envvars): Likewise.
4176 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4177 (_dl_sysdep_start): Call __tunables_init.
4178 * elf/dl-tunable-types.h: New file.
4179 * elf/dl-tunables.c: New file.
4180 * elf/dl-tunables.h: New file.
4181 * elf/dl-tunables.list: New file.
4182 * malloc/tst-malloc-usable-static.c: New test case.
4183 * malloc/Makefile (tests-static): Add it.
4184 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4185 Define TUNABLE_NAMESPACE.
4186 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4187 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
4188 callback functions.
4189 (ptmalloc_init): Set tunable values.
4190 * scripts/gen-tunables.awk: New file.
4191 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4192 (_dl_sysdep_start): Call __tunables_init.
4193
4194 2016-12-31 Florian Weimer <fweimer@redhat.com>
4195
4196 * resolv/resolv.h (RES_BLAST): Deprecate.
4197 * resolv/res_debug.c (p_option): Remove RES_BLAST.
4198 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4199 to RES_BLAST.
4200
4201 2016-12-27 Florian Weimer <fweimer@redhat.com>
4202
4203 [BZ #19582]
4204 Deprecate RES_USE_INET6.
4205 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4206 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4207 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4208 RES_USE_INET6.
4209 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4210 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4211 (_nss_nisplus_gethostbyaddr_r): Likewise.
4212 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4213 of res_use_inet6.
4214 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4215 instead of RES_USE_INET6.
4216 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4217 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4218 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4219 Likewise.
4220 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4221 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4222 Likewise.
4223 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4224 (_nss_dns_gethostbyname_r): Likewise.
4225 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4226 alternate RES_USE_INET6 handling.
4227 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4228 instead of RES_USE_INET6.
4229 * resolv/res_init.c (res_setoptions): Likewise.
4230 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4231 * resolv/resolv-internal.h: New file.
4232 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4233 make the deprecation warning non-fatal.
4234 * resolv/README (Using the resolver in multi-threaded code): Drop
4235 reference to RES_USE_INET6.
4236 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4237 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4238
4239 2016-12-31 Florian Weimer <fweimer@redhat.com>
4240
4241 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4242 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4243 tst-resolv-search.
4244 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4245 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4246 with libresolv and libpthread.
4247 * resolv/tst-bug18665.c: New file.
4248 * resolv/tst-bug18665-tcp: Likewise.
4249 * resolv/tst-res_use_inet6: Likewise.
4250 * resolv/tst-resolv-basic: Likewise.
4251 * resolv/tst-resolv-network: Likewise.
4252 * resolv/tst-resolv-search: Likewise.
4253 * support/Makefile (libsupport-routines): Add check_addrinfo,
4254 check_dns_packet, check_hostent, check_netent, resolv_test,
4255 support_format_address_family, support_format_addrinfo,
4256 support_format_dns_packet, support_format_herrno,
4257 support_format_hostent, support_format_netent, support_run_diff,
4258 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4259 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4260 xstrdup, xwrite.
4261 * support/check_addrinfo.c: New file.
4262 * support/check_dns_packet.c: Likewise.
4263 * support/check_hostent.c: Likewise.
4264 * support/check_netent.c: Likewise.
4265 * support/check_nss.h: Likewise.
4266 * support/format_nss.h: Likewise.
4267 * support/resolv_test.c: Likewise.
4268 * support/resolv_test.h: Likewise.
4269 * support/run_diff.h: Likewise.
4270 * support/support_format_address_family.c: Likewise.
4271 * support/support_format_addrinfo.c: Likewise.
4272 * support/support_format_dns_packet.c: Likewise.
4273 * support/support_format_herrno.c: Likewise.
4274 * support/support_format_hostent.c: Likewise.
4275 * support/support_format_netent.c: Likewise.
4276 * support/support_run_diff.c: Likewise.
4277 * support/xaccept.c: Likewise.
4278 * support/xbind.c: Likewise.
4279 * support/xconnect.c: Likewise.
4280 * support/xfclose.c: Likewise.
4281 * support/xfopen.c: Likewise.
4282 * support/xgetsockname.c: Likewise.
4283 * support/xlisten.c: Likewise.
4284 * support/xmemstream.c: Likewise.
4285 * support/xmemstream.h: Likewise.
4286 * support/xpoll.c: Likewise.
4287 * support/xpthread_once.c: Likewise.
4288 * support/xrecvfrom.c: Likewise.
4289 * support/xsendto.c: Likewise.
4290 * support/xsetsockopt.c: Likewise.
4291 * support/xstdio.h: Likewise.
4292 * support/xstrdup.c: Likewise.
4293 * support/support.h (xstrdup): Declare.
4294 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4295 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4296 * support/xthread.h (xpthread_once): Likwise.
4297 * support/xunistd.h (xwrite): Declare.
4298
4299 2016-12-31 Florian Weimer <fweimer@redhat.com>
4300
4301 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4302 (test_verbose): Declare.
4303 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4304 * support/support_test_main.c (default_options): Likewise.
4305 (usage, support_test_main): Handle 'v'.
4306 (test_verbose): Define.
4307 * support/tst-support_record_failure.c (do_test): Use
4308 test_verbose.
4309 * support/tst-support_record_failure-2.sh (different_status): Add
4310 --verbose test.
4311
4312 2016-12-31 Florian Weimer <fweimer@redhat.com>
4313
4314 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4315 test failures are recorded.
4316 * support/check.c (support_print_failure_impl): Call
4317 support_record_failure.
4318 (support_exit_failure_impl): Call support_record_failure if status
4319 indicates failure.
4320 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4321 * support/xasprintf.c (xasprintf): Likewise.
4322 * support/xfork.c (xfork): Likewise.
4323 * support/xpthread_check_return.c (xpthread_check_return):
4324 Likewise.
4325 * support/xsocket.c (xsocket): Likeweise.
4326 * support/xwaitpid.c (xwaitpid): Likewise.
4327 * support/support_record_failure.c (struct test_failures): Adjust
4328 to coding style.
4329 * support/support_test_verify_impl.c (support_test_verify_impl):
4330 Adjust error messages.
4331 * support/tst-support_record_failure-2.sh (different_status):
4332 Adjust error messages.
4333
4334 2016-12-31 Florian Weimer <fweimer@redhat.com>
4335
4336 * support/namespace.h: New file.
4337 * support/support_become_root.c: Likewise.
4338 * support/support_enter_network_namespace.c: Likewise.
4339 * support/tst-support-namespace.c: Likewise.
4340 * support/xsocket.c: Likewise.
4341 * support/xsocket.h: Likewise.
4342 * support/Makefile (libsupport-routines): Add support_become_root,
4343 support_enter_network_namespace, xsocket.
4344 (tests): Add tst-support-namespace.
4345
4346 2016-12-31 Florian Weimer <fweimer@redhat.com>
4347
4348 [BZ #17252]
4349 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4350 __USE_GNU.
4351
4352 2016-12-31 Torvald Riegel <triegel@redhat.com>
4353
4354 [BZ #13165]
4355 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4356 use new algorithm.
4357 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4358 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4359 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4360 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4361 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4362 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4363 __condvar_cleanup_waiting, __condvar_dec_grefs,
4364 __pthread_cond_wait_common): New.
4365 (__condvar_cleanup): Remove.
4366 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4367 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4368 Likewise.
4369 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4370 Likewise.
4371 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4372 * nptl/tst-cond1.c: Add comment.
4373 * nptl/tst-cond20.c (do_test): Adapt.
4374 * nptl/tst-cond22.c (do_test): Likewise.
4375 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4376 structure.
4377 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4378 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4379 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4380 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4381 Likewise.
4382 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4383 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4384 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4385 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4386 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4387 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4388 Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4390 Likewise.
4391 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4392 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4393 (COND_CLOCK_BITS): Adapt.
4394 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4395 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4396 __PTHREAD_COND_SHARED_MASK): New.
4397 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4398 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4399 * nptl/nptl_lock_constants.pysym: Adapt.
4400 * nptl/test-cond-printers.py: Adapt.
4401 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4402 cond_compat_check_and_clear): Adapt.
4403 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4404 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4405 (__pthread_cond_timedwait): ... and move here.
4406 * nptl/DESIGN-condvar.txt: Remove file.
4407 * nptl/lowlevelcond.sym: Likewise.
4408 * nptl/pthread_cond_timedwait.c: Likewise.
4409 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4411 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4412 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4413 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4414 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4415 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4416 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4417 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4418 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4419 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4420 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4422 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4423 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4424 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4425
4426 2016-12-31 Joseph Myers <joseph@codesourcery.com>
4427
4428 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4429 (fromfp): New declaration.
4430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4431 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4432 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4433 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4434 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4435 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4437 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4438 * math/math.h: Include <bits/types.h>.
4439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4440 constant and macro.
4441 (FP_INT_DOWNWARD): Likewise.
4442 (FP_INT_TOWARDZERO): Likewise.
4443 (FP_INT_TONEARESTFROMZERO): Likewise.
4444 (FP_INT_TONEAREST): Likewise.
4445 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4446 (fromfpf): Likewise.
4447 (fromfpl): Likewise.
4448 (ufromfp): Likewise.
4449 (ufromfpf): Likewise.
4450 (ufromfpl): Likewise.
4451 (fromfpx): Likewise.
4452 (fromfpxf): Likewise.
4453 (fromfpxl): Likewise.
4454 (ufromfpx): Likewise.
4455 (ufromfpxf): Likewise.
4456 (ufromfpxl): Likewise.
4457 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4458 s_fromfpxF and s_ufromfpxF.
4459 * math/gen-fromfp-tests.py: New file.
4460 * math/gen-fromfp-tests-inputs: Likewise.
4461 * math/libm-test.inc: Include <stdint.h>
4462 (check_intmax_t): New function.
4463 (check_uintmax_t): Likewise.
4464 (struct test_fiu_M_data): New type.
4465 (struct test_fiu_U_data): Likewise.
4466 (RUN_TEST_fiu_M): New macro.
4467 (RUN_TEST_LOOP_fiu_M): Likewise.
4468 (RUN_TEST_fiu_U): Likewise.
4469 (RUN_TEST_LOOP_fiu_U): Likewise.
4470 (fromfp_test_data): New array.
4471 (fromfp_test): New function.
4472 (fromfpx_test_data): New array.
4473 (fromfpx_test): New function.
4474 (ufromfp_test_data): New array.
4475 (ufromfp_test): New function.
4476 (ufromfpx_test_data): New array.
4477 (ufromfpx_test): New function.
4478 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4479 ufromfpx_test.
4480 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4481 characters.
4482 * math/test-tgmath-ret.c: Include <stdint.h>.
4483 (rm): New variable.
4484 (width): Likewise.
4485 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4486 called function.
4487 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4488 CHECK_RET_CONST_TYPE.
4489 (CHECK_RET_CONST_DOUBLE): Likewise.
4490 (CHECK_RET_CONST_LDOUBLE): Likewise.
4491 (CHECK_RET_CONST): Take extra arguments and pass them to calls
4492 macros.
4493 (fromfp): New CHECK_RET_CONST call.
4494 (ufromfp): Likewise.
4495 (fromfpx): Likewise.
4496 (ufromfpx): Likewise.
4497 (do_test): Call check_return_fromfp, check_return_ufromfp,
4498 check_return_fromfpx and check_return_ufromfpx.
4499 * math/test-tgmath.c: Include <stdint.h>
4500 (NCALLS): Increase to 138.
4501 (F(compile_test)): Initialize i. Call fromfp functions.
4502 (F(fromfp)): New function.
4503 (F(fromfpx)): Likewise.
4504 (F(ufromfp)): Likewise.
4505 (F(ufromfpx)): Likewise.
4506 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4507 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4508 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4509 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4510 ufromfpxl.
4511 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4512 ufromfp and ufromfpx.
4513 * math/fromfp.h: New file.
4514 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4519 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4520 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4521 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4522 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4523 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4540 ufromfp, fromfpx and ufromfpx.
4541 (CFLAGS-nldbl-fromfp.c): New variable.
4542 (CFLAGS-nldbl-fromfpx.c): Likewise.
4543 (CFLAGS-nldbl-ufromfp.c): Likewise.
4544 (CFLAGS-nldbl-ufromfpx.c): Likewise.
4545 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4546 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4547 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4548 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4549 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4550 * sysdeps/nacl/libm.abilist: Update.
4551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4564 Likewise.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4566 Likewise.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4568 Likewise.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4570 Likewise.
4571 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4572 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4573 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4574 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4575 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4577 Likewise.
4578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4579 Likewise.
4580 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4583
4584 2016-12-30 Florian Weimer <fweimer@redhat.com>
4585
4586 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4587 compat-gethnamaddr.
4588 (CPPFLAGS): Remove.
4589 * resolv/gethnamaddr.c: Rename ...
4590 * resolv/compat-gethnamaddr.c: ... to this file.
4591 (_endhtent): Make static.
4592 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
4593 symbol.
4594 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
4595 compat symbol.
4596 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
4597 symbol.
4598 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4599 Turn into compat symbol.
4600 * include/resolv.h (_endhtent): Remove declaration.
4601
4602 2016-12-30 Joseph Myers <joseph@codesourcery.com>
4603
4604 * bits/types.h (__intmax_t): New typedef.
4605 (__uintmax_t): Likewise.
4606 * sysdeps/generic/stdint.h: Include <bits/types.h>.
4607 (intmax_t): Define using __intmax_t.
4608 (uintmax_t): Define using __uintmax_t.
4609
4610 * support/Makefile (tests-special): Make definition conditional on
4611 [$(run-built-tests) = yes].
4612 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4613 on [$(run-built-tests) = yes].
4614
4615 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
4616
4617 * Rules (tests): Add tests-printers-programs to tests to be
4618 built.
4619
4620 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4621
4622 * sysvipc/Makefile (tests): Add test-sysvshm.
4623 * sysvipc/test-sysvshm.c: New file.
4624
4625 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4626 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4627 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4628 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4629 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4630 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4631 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4632 Likewise.
4633 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4634 Likewise.
4635 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4636 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4637 is defined.
4638
4639 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4640 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4641 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4642 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4643 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4644 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4645 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4646 Likewise.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4648 Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4650 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4651 defined.
4652
4653 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4654 oldshmctl.
4655 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4656 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4657 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4658 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4659 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4660 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4661 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4662 Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4664 Likewise.
4665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4666 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4667 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4668 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4669 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4670 implementation.
4671 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4672 if it is defined.
4673
4674 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4675 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4676 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4677 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4678 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4679 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4680 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4681 Likewise.
4682 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4683 Likewise.
4684 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4685 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4686 Define to __NR_osf_shmat.
4687 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4688 defined.
4689
4690 * sysvipc/Makefile (tests): Add test-sysvsem.
4691 * sysvipc/test-sysvsem.c: New file.
4692
4693 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4694 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4695 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4696 Likewise.
4697 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4698 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4699 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4700 Likewise.
4701 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4702 Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4704 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4705 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4706 add a comment about s390 syscall difference from default one.
4707 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4708 syscall if it is defined.
4709
4710 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4711 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4712 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4713 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4714 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4715 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4716 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4719 Likewise.
4720 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4721 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4722 defined.
4723
4724 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4725 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4726 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4727 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4728 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4729 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4730 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4731 Likewise.
4732 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4733 Likewise.
4734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4735 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4736 if it is defined.
4737
4738 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4739 oldsemctl.
4740 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4741 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4742 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4744 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4745 implementation.
4746 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4747 syscall if it is defined.
4748 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4749 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4750 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4751 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4752 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4753 Likewise.
4754 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4755
4756 * sysvipc/Makefile (tests): Add test-sysvmsg.
4757 * sysvipc/test-sysvmsg.c: New file.
4758 * support/check.h (FAIL_UNSUPPORTED): New define.
4759
4760 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4761 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4762 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4763 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4764 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4765 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4766 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4767 Likewise.
4768 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4769 Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4771 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4772 define.
4773
4774 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4775 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4776 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4777 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4778 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4779 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4780 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4781 Likewise.
4782 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4783 Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4785 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4786 if defined.
4787
4788 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4789 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4790 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4791 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4792 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4793 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4794 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4795 Likewise.
4796 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4797 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4798 Likewise.
4799 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4800 if defined.
4801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4802
4803 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4804 oldmsgctl.
4805 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4806 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4807 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4808 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4809 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4810 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4811 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4812 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4815 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4816 implementation.
4817 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4818 if defined.
4819
4820 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4821 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4822 definition and define its own.
4823 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4824 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4825 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4826 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4827 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4828 definitions to common header.
4829 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4830 operation from ipc_ops.h.
4831
4832 * sysdeps/unix/sysv/linux/kernel-features.h
4833 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4834 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4835 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4836 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4837 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4838 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4839 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4841 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4842 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4843 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4844 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4845 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4847 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4848
4849 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4850
4851 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4852 overflow in pointer addition.
4853
4854 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4855
4856 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4857 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4859 (strchr): Add __strchr_power8 to list of strchr functions.
4860 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4861 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4862 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4863 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4864 (strchr): Add __strchr_power8 to ifunc list.
4865 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4866 (__strchrnul): Add __strchrnul_power8 to ifunc list.
4867 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4868 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4869
4870 2016-12-28 Florian Weimer <fweimer@redhat.com>
4871
4872 * support/Makefile (libsupport-routines): Add
4873 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4874 (tests): Add tst-support_record_failure.
4875 (tests-special): tst-support_record_failure-2.
4876 (tst-support_record_failure-2.out): Depend on
4877 tst-support_record_failure-2.sh and tst-support_record_failure.
4878 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4879 (support_test_verify_impl, support_record_failure)
4880 (support_report_failure, support_report_failure_reset): Declare.
4881 * support/support_test_main.c (adjust_exit_status): New function.
4882 (support_test_main): Call it to incorporate record test failures.
4883 * support/support_test_verify_impl.c: New file.
4884 * support/support_record_failure.c: Likewise.
4885 * support/tst-support_record_failure.c: Likewise.
4886 * support/tst-support_record_failure-2.sh: Likewise.
4887 * support/xunistd.h: Likewise.
4888 * support/xfork.c: Likewise.
4889 * support/xwaitpid.c: Likewise.
4890
4891 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
4892
4893 * scripts/check-c++-types.sh: Add comments.
4894
4895 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
4896
4897 [BZ #19514]
4898 * resolv/res_send.c: Fix typo in comment.
4899 * sysdeps/i386/i386-mcount.S: Likewise.
4900 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4901 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4902 * sysdeps/sparc/sparc-mcount.S: Likewise.
4903
4904 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4905
4906 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4907 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4908 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4909 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4911 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4914
4915 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4916
4917 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4918
4919 2016-12-27 Florian Weimer <fweimer@redhat.com>
4920
4921 [BZ #17252]
4922 * posix/unistd.h (getentropy): Declare.
4923
4924 2016-12-27 Florian Weimer <fweimer@redhat.com>
4925
4926 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4927 Remove.
4928 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4929 (cmd): Remove spoof, nospoof, spoofalert.
4930 (parse_line): Ignore spoof-related lines.
4931 (do_init): Do not process RESOLV_SPOOF_CHECK.
4932
4933 2016-12-27 Florian Weimer <fweimer@redhat.com>
4934
4935 [BZ #20964]
4936 sunrpc: Always obtain AF_INET addresses from NSS.
4937 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4938 * sunrpc/rpc_gethostbyname.c: New file.
4939 * sunrpc/Makefile (routines): Add it.
4940 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4941 * sunrpc/clnt_simp.c (callrpc): Likewise.
4942 * sunrpc/getrpcport.c (getrpcport): Likewise.
4943
4944 2016-12-27 Florian Weimer <fweimer@redhat.com>
4945
4946 * sunrpc/rpcinfo.c: Remove.
4947 * sunrpc/Makefile: Remove comments referring to rpcinfo.
4948
4949 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4950
4951 [BZ# 19387]
4952 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4953 addition.
4954 * string/test-memchr.c (do_test): Remove alignment limitation.
4955 (test_main): Add test that trigger BZ# 19387.
4956
4957 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
4958
4959 [BZ #7065]
4960 Enable stack protectore if requested by ./configure.
4961 * Makeconfig (+stack-protector): New variable.
4962 (+cflags): Use it.
4963
4964 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
4965
4966 [BZ #7065]
4967 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4969 (__rt_sigreturn_stub): Use inhibit_stack_protector.
4970 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4971 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4972
4973 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
4974
4975 [BZ #7065]
4976 * login/Makefile (pt_chown-cflags): Remove.
4977 * nscd/Makefile (CFLAGS-nscd): Likewise.
4978 * resolv/Makefile (CFLAGS-libresolv): Likewise.
4979
4980 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
4981
4982 [BZ #7065]
4983 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4984 non-libc-linking testcase.
4985
4986 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
4987 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4988 Florian Weimer <fweimer@redhat.com>
4989
4990 [BZ #7065]
4991 PLT avoidance for __stack_chk_fail*.
4992 * debug/Makefile (CFLAGS-stack_chk_fail.c)
4993 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4994 * debug/stack_chk_fail.c (__stack_chk_fail): Add
4995 __stack_chk_fail_local alias.
4996 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4997 (__stack_chk_fail): Turn into hidden reference to
4998 __stack_chk_fail_local.
4999
5000 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5001
5002 [BZ #7065]
5003 * configure.ac: Add check for unsupported stack-protection level.
5004 (libc_cv_predef_stack_protector): Remove.
5005 (no_ssp): New variable.
5006 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5007 (stack_protector): Set to -fno-stack-protector similarly.
5008 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5009 (libc_cv_asm_set_directive): Likewise.
5010 (libc_cv_protected_data): Likewise.
5011 (libc_cv_z_combreloc): Likewise.
5012 (libc_cv_hashstyle): Likewise.
5013 (libc_cv_has_glob_dat): Likewise.
5014 (libc_cv_output_format): Likewise.
5015 (libc_cv_output_format): Likewise.
5016 (libc_cv_ehdr_start): Likewise.
5017 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5018 (LIBC_LINKER_FEATURE): Likewise.
5019 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5020
5021 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5022
5023 [BZ #7065]
5024 * elf/Makefile (dummy-stack-chk-fail): New.
5025 (librtld.map): Use it.
5026
5027 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5028
5029 [BZ #7065]
5030 Compile the dynamic linker without stack protection.
5031 * elf/Makefile (elide-stack-protector): New.
5032 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5033 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5034 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5035 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5036
5037 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5038
5039 [BZ #7065]
5040 * config.make.in (have-ssp, no-stack-protector): New.
5041 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5042 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5043 (CFLAGS-sbrk.op): Likewise.
5044 (CFLAGS-brk.o): Likewise.
5045 (CFLAGS-brk.op): Likewise.
5046 * string/Makefile (CFLAGS-memcpy.c): Likewise.
5047 (CFLAGS-wordcopy.c): Likewise.
5048
5049 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5050
5051 [BZ #7065]
5052 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5053 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5054 * include/libc-symbols.h (inhibit_stack_protector): New macro.
5055 (__ifunc_resolver): Use it.
5056 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5057 inhibit_stack_protector.
5058 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5059 * elf/ifuncmain7.c (foo_ifunc): Likewise.
5060 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5061 (foo_protected_ifunc): Likewise.
5062 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5063 (foo_protected_ifunc): Likewise.
5064 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5065 * sysdeps/nacl/nacl_interface_query.c
5066 (nacl_interface_query_ifunc): Likewise.
5067 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5068 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5069 Likewise.
5070 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5071 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5072 the generated vDSO syscall resolver.
5073
5074 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5075 Florian Weimer <fweimer@redhat.com>
5076
5077 [BZ #7065]
5078 Initialize the stack guard earlier when linking statically.
5079 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5080 (__pthread_initialize_minimal): Declare.
5081 * csu/libc-start.c (__pthread_initialize_minimal): Remove
5082 declaration.
5083 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
5084 stack canary and apply_irel initialization up. Call
5085 __pthread_initialize_minimal only if linked in.
5086 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5087 constant values.
5088 (__pthread_initialize_minimal): Remove.
5089 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5090 (__pthread_initialize_minimal_internal): Do not call
5091 __libc_setup_tls.
5092
5093 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
5094
5095 [BZ #7065]
5096 * configure.ac (libc_cv_ssp): Move up.
5097 (libc_cv_ssp_strong): Likewise.
5098 (libc_cv_ssp_all): New.
5099 (stack_protector): Augment, adding -fstack-protector-all.
5100 (no_stack_protector): New.
5101 (STACK_PROTECTOR_LEVEL): New.
5102 (AC_ARG_ENABLE(stack-protector)): New configure flag.
5103 * manual/install.texi (--enable-stack-protector): Document it.
5104 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5105
5106 2016-12-24 Carlos O'Donell <carlos@redhat.com>
5107
5108 * README.pretty-printers: Must specify CPPFLAGS-* also.
5109 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5110 (CPPFLAGS-test-mutex-printers.c): Define.
5111 (CPPFLAGS-test-condattr-printers.c): Define.
5112 (CPPFLAGS-test-cond-printers.c): Define.
5113 (CPPFLAGS-test-rwlockattr-printers.c): Define.
5114 (CPPFLAGS-test-rwlock-printers.c): Define.
5115
5116 * nss/Makefile [ifeq (yes,$(have-thread-library))]
5117 (tests): Add tst-cancel-getpwuid_r.
5118 * nss/tst-cancel-getpwuid_r.c: New file.
5119
5120 [BZ #11941]
5121 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5122 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5123 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5124 tst-nodelete-dlclose.
5125 (modules-names): Add tst-nodelete-dlclose-dso and
5126 tst-nodelete-dlclose-plugin.
5127 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5128 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5129 ($(objpfx)tst-nodelete-dlclose): Define.
5130 ($(objpfx)tst-nodelete-dlclose.out): Define.
5131
5132 2016-12-23 Florian Weimer <fweimer@redhat.com>
5133
5134 * scripts/test_printers_common.py: Log GDB output in case of
5135 Python detection failure.
5136
5137 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
5138
5139 * configure.ac: Check for python3 or python.
5140 * configure: Regenerated.
5141 * config.make.in (PYTHON): New variable.
5142 * benchtests/Makefile: Don't define PYTHON.
5143 (bench): Define target only if PYTHON was defined.
5144 * Rules: Don't define PYTHON.
5145 Define pretty printer targets only if PYTHON was defined.
5146 (tests-printers): Add to tests-unsupported if PYTHON is not
5147 found.
5148 (python-flags, python-invoke): Remove.
5149 (tests-printers-out): Use PYTHON instead of python-invoke.
5150
5151 2016-12-21 Joseph Myers <joseph@codesourcery.com>
5152
5153 [BZ #20978]
5154 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5155 Compare name == NULL, not name != NULL.
5156
5157 * manual/texinfo.tex: Update to version 2016-09-18.18 with
5158 trailing whitespace removed.
5159 * scripts/config.guess: Update to version 2016-10-02.
5160 * scripts/config.sub: Update to version 2016-11-19.
5161 * scripts/install-sh: Update to version 2016-01-11.22.
5162 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5163 * scripts/move-if-change: Update to version 2016-01-11 22:04.
5164
5165 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5166
5167 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5168 (do_one_test) Restore original string so iteration works.
5169 * string/string-inlines.c (do_test): Create better input strings.
5170 (test_main) Reduce number of testruns.
5171 * string/string-inlines.c (__old_strsep_1c): New function.
5172 (__old_strsep_2c): Likewise.
5173 (__old_strsep_3c): Likewise.
5174 * string/strsep.c (__strsep): Remove case of small delim string.
5175 Call strcspn directly rather than strpbrk.
5176 * string/bits/string2.h (__strsep): Remove define.
5177 (__strsep_1c): Remove.
5178 (__strsep_2c): Remove.
5179 (__strsep_3c): Remove.
5180 (strsep): Remove.
5181 * sysdeps/unix/sysv/linux/internal_statvfs.c
5182 (__statvfs_getflags): Rename to __strsep.
5183
5184 2016-12-21 Florian Weimer <fweimer@redhat.com>
5185
5186 * csu/libc-tls.c (_dl_tls_setup): Remove.
5187 * elf/dl-tls.c (_dl_tls_setup): Likewise.
5188 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5189 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5190
5191 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
5192
5193 [BZ #7065]
5194 * sysdeps/x86_64/Makefile [$(subdir) = elf]
5195 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5196
5197 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
5198 Florian Weimer <fweimer@redhat.com>
5199
5200 [BZ #7065]
5201 * csu/Makefile (tests): Empty assignment and document it.
5202 (tests-static): Remove.
5203 * csu/tst-empty.c: Move to...
5204 * misc/tst-empty.c: ... here. Switch to new test driver.
5205 * csu/tst-atomic.c: Move to...
5206 * misc/tst-atomic.c: ... here. Switch to new test driver.
5207 * csu/tst-atomic-long.c: Move to...
5208 * misc/tst-atomic-long.c: ... here.
5209 * misc/Makefile (tests): Add tst-empty, tst-atomic,
5210 tst-atomic-long.
5211 (tests-static): Add tst-empty.
5212
5213 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
5214
5215 * manual/nss.texi: Change incorrect @vtable to @table.
5216 * manual/arith.texi: Convert @tables of variables to @vtables
5217 and remove unnecessary indexing.
5218 * manual/filesys.texi: Likewise.
5219 * manual/llio.texi: Likewise.
5220 * manual/memory.texi: Likewise.
5221 * manual/process.texi: Likewise.
5222 * manual/resource.texi: Likewise.
5223 * manual/search.texi: Likewise.
5224 * manual/signal.texi: Likewise.
5225 * manual/socket.texi: Likewise.
5226 * manual/stdio.texi: Likewise.
5227 * manual/sysinfo.texi: Likewise.
5228 * manual/syslog.texi: Likewise.
5229 * manual/terminal.texi: Likewise.
5230 * manual/time.texi: Likewise.
5231 * manual/users.texi: Likewise.
5232
5233 2016-12-21 Joseph Myers <joseph@codesourcery.com>
5234
5235 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5236 (roundeven): New declaration.
5237 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5238 macro.
5239 * math/Versions (roundeven): New libm symbol at version
5240 GLIBC_2.25.
5241 (roundevenf): Likewise.
5242 (roundevenl): Likewise.
5243 * math/Makefile (libm-calls): Add s_roundevenF.
5244 * math/libm-test.inc (roundeven_test_data): New array.
5245 (roundeven_test): New function.
5246 (main): Call roundeven_test.
5247 * math/test-tgmath.c (NCALLS): Increase to 134.
5248 (F(compile_test)): Call roundeven.
5249 (F(roundeven)): New function.
5250 * manual/arith.texi (Rounding Functions): Document roundeven,
5251 roundevenf and roundevenl.
5252 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5253 * include/math.h (roundeven): Use libm_hidden_proto.
5254 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5255 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5256 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5261 roundeven.
5262 (CFLAGS-nldbl-roundeven.c): New variable.
5263 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5264 * sysdeps/nacl/libm.abilist: Update.
5265 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5266 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5267 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5268 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5269 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5270 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5271 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5272 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5273 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5274 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5275 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5276 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5278 Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5280 Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5282 Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5284 Likewise.
5285 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5286 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5287 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5288 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5297
5298 2016-12-20 Joseph Myers <joseph@codesourcery.com>
5299
5300 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5301 preprocessor indentation inside #if.
5302
5303 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5304
5305 * math/libm-test.inc (fmt_ftostr): New function.
5306 (print_float, check_float_internal): Replace some uses of
5307 FTOSTR with uses of fmt_ftostr.
5308 (print_max_error, print_complex_max_error, print_function_ulps)
5309 (print_complex_function_ulps): Remove uses of the macros
5310 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5311 * math/test-double.h (FTOSTR): Define to strfromd.
5312 (PRINTF_EXPR): Delete.
5313 (PRINTF_XEXPR): Likewise.
5314 (PRINTF_NEXPR): Likewise.
5315 * math/test-float.h (FTOSTR): Define to strfromf.
5316 (PRINTF_EXPR): Delete.
5317 (PRINTF_XEXPR): Likewise.
5318 (PRINTF_NEXPR): Likewise.
5319 * math/test-ldouble.h (FTOSTR): Define to strfroml.
5320 (PRINTF_EXPR): Delete.
5321 (PRINTF_XEXPR): Likewise.
5322 (PRINTF_NEXPR): Likewise.
5323
5324 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5325
5326 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5327 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5328 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5329 (__lll_lock_elision): Decrement adapt_count while unlocking
5330 instead of before locking.
5331 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5332 (__lll_trylock_elision): Likewise.
5333 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5334 (__lll_unlock_elision): Likewise.
5335
5336 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5337
5338 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5339 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5340 Use __libc_tbegin_retry macro.
5341
5342 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5343
5344 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5345 Add -msoft-float.
5346 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5347 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5348 Use __libc_t* transaction macros instead of __builtin_t*.
5349 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5350 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5351
5352 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5353
5354 * sysdeps/unix/sysv/linux/s390/elision-lock.c
5355 (__lll_lock_elision): Use atomics to load / store adapt_count.
5356 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5357 (__lll_trylock_elision): Likewise.
5358
5359 2016-12-20 Florian Weimer <fweimer@redhat.com>
5360
5361 Do not require memset elimination in explicit_bzero test.
5362 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5363 (enum test_expectation): Add NO_EXPECTATIONS.
5364 (subtests): NO_EXPECTATIONS for ordinary clear.
5365 (check_test_buffer): Handle NO_EXPECTATIONS.
5366 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5367
5368 2016-12-20 Joseph Myers <joseph@codesourcery.com>
5369
5370 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5371 (fmaxmag): New declaration.
5372 (fminmag): Likewise.
5373 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5374 macro.
5375 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5376 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5377 (fmaxmagf): Likewise.
5378 (fmaxmagl): Likewise.
5379 (fminmag): Likewise.
5380 (fminmagf): Likewise.
5381 (fminmagl): Likewise.
5382 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5383 * math/s_fmaxmag_template.c: New file.
5384 * math/s_fminmag_template.c: Likewise.
5385 * math/libm-test.inc (fmaxmag_test_data): New array.
5386 (fmaxmag_test): New function.
5387 (fminmag_test_data): New array.
5388 (fminmag_test): New function.
5389 (main): Call fmaxmag_test and fminmag_test.
5390 * math/test-tgmath.c (NCALLS): Increase to 132.
5391 (F(compile_test)): Call fmaxmag and fminmag.
5392 (F(fminmag)): New function.
5393 (F(fmaxmag)): Likewise.
5394 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5395 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5396 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5397 fminmag.
5398 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5399 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5400 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5403 and fminmag.
5404 (CFLAGS-nldbl-fmaxmag.c): New variable.
5405 (CFLAGS-nldbl-fminmag.c): Likewise.
5406 * sysdeps/nacl/libm.abilist: Update.
5407 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5408 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5409 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5410 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5411 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5412 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5413 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5414 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5415 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5416 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5417 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5418 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5420 Likewise.
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5422 Likewise.
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5424 Likewise.
5425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5426 Likewise.
5427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5429 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5433 Likewise.
5434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5435 Likewise.
5436 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5437 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5438 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5439
5440 2016-12-19 Torvald Riegel <triegel@redhat.com>
5441
5442 [BZ #20973]
5443 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5444 wake-up in robust mutexes.
5445 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5446
5447 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5448
5449 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5450 (CFLAGS-bench-fmaxf.c): New rule.
5451 (CFLAGS-bench-fminf.c): Likewise.
5452 * benchtests/fmaxf-inputs: New file.
5453 * benchtests/fminf-inputs: Likewise.
5454
5455 * benchtests/Makefile (bench-math): Add fmin and fmax.
5456 (CFLAGS-bench-fmax.c): New rule.
5457 (CFLAGS-bench-fmin.c): Likewise.
5458 * benchtests/fmax-inputs: New file.
5459 * benchtests/fmin-inputs: Likewise.
5460
5461 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5462 parenthesis.
5463 (CMDLINE_PROCESS): Define using function instead of macro.
5464 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5465 of test-skeleton.
5466 * benchtests/bench-memchr.c: Likewise.
5467 * benchtests/bench-memcmp.c: Likewise.
5468 * benchtests/bench-memcpy-large.c: Likewise.
5469 * benchtests/bench-memcpy.c: Likewise.
5470 * benchtests/bench-memmem.c: Likewise.
5471 * benchtests/bench-memmove-large.c: Likewise.
5472 * benchtests/bench-memmove.c: Likewise.
5473 * benchtests/bench-memset-large.c: Likewise.
5474 * benchtests/bench-memset.c: Likewise.
5475 * benchtests/bench-rawmemchr.c: Likewise.
5476 * benchtests/bench-strcasecmp.c: Likewise.
5477 * benchtests/bench-strcasestr.c: Likewise.
5478 * benchtests/bench-strcat.c: Likewise.
5479 * benchtests/bench-strchr.c: Likewise.
5480 * benchtests/bench-strcmp.c: Likewise.
5481 * benchtests/bench-strcpy.c: Likewise.
5482 * benchtests/bench-strcpy_chk.c: Likewise.
5483 * benchtests/bench-strlen.c: Likewise.
5484 * benchtests/bench-strncasecmp.c: Likewise.
5485 * benchtests/bench-strncmp.c: Likewise.
5486 * benchtests/bench-strncpy.c: Likewise.
5487 * benchtests/bench-strnlen.c: Likewise.
5488 * benchtests/bench-strpbrk.c: Likewise.
5489 * benchtests/bench-strrchr.c: Likewise.
5490 * benchtests/bench-strsep.c: Likewise.
5491 * benchtests/bench-strspn.c: Likewise.
5492 * benchtests/bench-strstr.c: Likewise.
5493 * benchtests/bench-strtok.c: Likewise.
5494
5495 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
5496
5497 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5498 stepping identification.
5499 (init_cpu_features): Add handle of Haswell.
5500
5501 2016-11-25 Jim Meyering <meyering@fb.com>
5502
5503 [BZ #20386]
5504 Let gcc detect assert(a = 1) errors.
5505 * assert/assert.h (assert): Rewrite, retaining the old definintion
5506 when required, but otherwise putting the expression as-is in an "if"
5507 expression (hence, with no added parentheses) within a statement
5508 expression.
5509
5510 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
5511
5512 * benchtests/Makefile (binaries-benchset): Depend on libsupport
5513 DSO.
5514
5515 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
5516
5517 * Rules (python-flags, python-invoke): New.
5518 ($(test-printers-out)): Use $(python-flags).
5519
5520 2016-12-16 Joseph Myers <joseph@codesourcery.com>
5521
5522 * manual/arith.texi (Math Error Reporting): Document that sNaN
5523 arguments are not considered domain errors.
5524
5525 2016-12-16 Zack Weinberg <zackw@panix.com>
5526 Florian Weimer <fweimer@redhat.com>
5527 Nick Mathewson <nickm@torproject.org>
5528
5529 * string/explicit_bzero.c: New routine.
5530 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5531 * string/Makefile (routines, strop-tests, tests): Add them.
5532 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5533 * string/string.h [__USE_MISC]: Declare explicit_bzero.
5534
5535 * debug/explicit_bzero_chk.c: New routine.
5536 * debug/Makefile (routines): Add it.
5537 * debug/tst-chk1.c: Test fortification of explicit_bzero.
5538 * string/bits/string3.h: Fortify explicit_bzero.
5539
5540 * manual/string.texi: Document explicit_bzero.
5541 * NEWS: Mention addition of explicit_bzero.
5542
5543 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5544 data before returning, using explicit_bzero.
5545 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5546 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5547 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5548
5549 * include/string.h: Redirect internal uses of explicit_bzero
5550 to __explicit_bzero_chk[_internal].
5551 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5552 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5553 * sysdeps/arm/nacl/libc.abilist
5554 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5555 * sysdeps/unix/sysv/linux/alpha/libc.abilist
5556 * sysdeps/unix/sysv/linux/arm/libc.abilist
5557 * sysdeps/unix/sysv/linux/hppa/libc.abilist
5558 * sysdeps/unix/sysv/linux/i386/libc.abilist
5559 * sysdeps/unix/sysv/linux/ia64/libc.abilist
5560 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5561 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5562 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5563 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5564 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5565 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5566 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5567 * sysdeps/unix/sysv/linux/nios2/libc.abilist
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5572 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5573 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5574 * sysdeps/unix/sysv/linux/sh/libc.abilist
5575 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5579 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5580 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5581 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5582 Add entries for explicit_bzero and __explicit_bzero_chk.
5583
5584 2016-12-16 Joseph Myers <joseph@codesourcery.com>
5585
5586 * math/fenv.h
5587 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5588 (FE_SNANS_ALWAYS_SIGNAL): New macro.
5589 * math/test-fe-snans-always-signal.c: New file.
5590 * math/Makefile (tests): Add test-fe-snans-always-signal.
5591 (CFLAGS-test-fe-snans-always-signal.c): New variable.
5592 * manual/arith.texi (Infinity and NaN): Document
5593 FE_SNANS_ALWAYS_SIGNAL.
5594
5595 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5596
5597 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5598 bracket.
5599
5600 2016-12-16 Joseph Myers <joseph@codesourcery.com>
5601
5602 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5603 before calling execv.
5604
5605 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5606
5607 [BZ# 20971]
5608 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5609 overflow in pointer addition.
5610 * string/test-memchr.c (do_test): Add an argument to pass as
5611 the size on memchr.
5612 (test_main): Add check for SIZE_MAX.
5613
5614 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5615
5616 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5617 (libm-calls): Add w_scalblnF.
5618 * math/w_scalbln.c: Remove.
5619 * math/w_scalblnf.c: Likewise.
5620 * math/w_scalblnl.c: Likewise.
5621 * math/w_scalbln_template.c: New file with type-generic
5622 implementation based on math/w_scalbln.c.
5623 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5624 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5625
5626 2016-12-15 Joseph Myers <joseph@codesourcery.com>
5627
5628 [BZ #20947]
5629 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5630 either is a signaling NaN.
5631 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
5632 follow fmaxl more closely.
5633 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5634 when either is a signaling NaN.
5635 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5636 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5637 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5638 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5639 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5640 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5641 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5642 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5643 (fmin_test_data): Likewise.
5644
5645 2016-12-15 Andreas Schwab <schwab@suse.de>
5646
5647 * support/support_test_main.c (support_test_main): Don't shadow
5648 file-local variable test_pid.
5649
5650 2016-12-15 Joseph Myers <joseph@codesourcery.com>
5651
5652 [BZ #20947]
5653 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5654 either is a signaling NaN.
5655 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5656
5657 2016-12-14 Joseph Myers <joseph@codesourcery.com>
5658
5659 [BZ #20947]
5660 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5661 when either is a signaling NaN.
5662 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5663
5664 * bits/long-double.h: New file.
5665 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5666 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5667 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5668 * sysdeps/mips/bits/long-double.h: Likewise.
5669 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5670 * math/Makefile (headers): Add bits/long-double.h.
5671 * misc/sys/cdefs.h: Include <bits/long-double.h>.
5672 * stdlib/strtold.c: Include <bits/long-double.h> instead of
5673 <bits/wordsize.h>.
5674 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5675 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5676 * math/math.h: Do not include <bits/mathdef.h>.
5677 * sysdeps/aarch64/bits/mathdef.h: Remove file.
5678 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5679 inclusion.
5680 * sysdeps/ia64/bits/mathdef.h: Remove file.
5681 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5682 * sysdeps/mips/bits/mathdef.h: Likewise.
5683 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5684 * sysdeps/s390/bits/mathdef.h: Likewise.
5685 * sysdeps/sparc/bits/mathdef.h: Likewise.
5686 * sysdeps/x86/bits/mathdef.h: Likewise.
5687 * sysdeps/s390/s390-32/bits/wordsize.h
5688 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5689 conditional code.
5690 * sysdeps/s390/s390-64/bits/wordsize.h
5691 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5694 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5697 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5698 Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5700 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5701 Likewise.
5702
5703 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5704 <linux/falloc.h>.
5705 (FALLOC_FL_KEEP_SIZE): Remove.
5706 (FALLOC_FL_PUNCH_HOLE): Likewise.
5707 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5708 (FALLOC_FL_ZERO_RANGE): Likewise.
5709
5710 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5711
5712 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5713
5714 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5715
5716 * sysdeps/unix/sysv/linux/renameat.c: New file.
5717 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5718
5719 * sysdeps/unix/sysv/linux/rename.c: New file.
5720 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5721
5722 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
5723
5724 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5725 * string/strtok.c (strtok): Change to tailcall __strtok_r.
5726 * string/strtok_r.c (__strtok_r): Optimize for performance.
5727 * string/string-inlines.c (__old_strtok_r_1c): New function.
5728 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5729
5730 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5731
5732 * math/Makefile (gen-libm-calls): Add w_log1pF.
5733 (libm-calls): Remove w_log1pF.
5734 * math/w_log1p.c: Remove.
5735 * math/w_log1pf.c: Likewise.
5736 * math/w_log1pl.c: Likewise.
5737 * math/w_log1p_template.c: New file with type-generic
5738 implementation based on math/w_log1p.c.
5739 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5740 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5741
5742 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
5743
5744 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5745
5746 2016-12-14 Joseph Myers <joseph@codesourcery.com>
5747
5748 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5749 kernel version to 4.9.
5750
5751 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
5752
5753 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5754 ($(inst_libdir)/libm.a): Fix rule to create the target only.
5755
5756 2016-12-13 Andreas Schwab <schwab@suse.de>
5757
5758 * sysdeps/powerpc/dl-procinfo.c: Don't define
5759 _dl_powerpc_platforms.
5760 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5761 constants instead of referencing _dl_powerpc_platforms.
5762 (_dl_platform_string): Remove.
5763
5764 2016-12-13 Florian Weimer <fweimer@redhat.com>
5765
5766 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5767
5768 2016-12-13 Florian Weimer <fweimer@redhat.com>
5769
5770 * Rules (binaries-shared-tests, binaries-pie-tests)
5771 (binaries-static-tests): Link with $(link-extra-libs-tests).
5772 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5773 Remove $(link-extra-libs-tests).
5774
5775 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5776
5777 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5778 (sysdep_routines): Add strncmp_power9.
5779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5780 (strncmp): Add __strncmp_power9 to list of strncmp functions.
5781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5782 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5783 (strncmp): Add __strncmp_power9 to ifunc list.
5784 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5785
5786 2016-12-12 Florian Weimer <fweimer@redhat.com>
5787
5788 [BZ #17252]
5789 Add getentropy, getrandom.
5790 * stdlib/sys/random.h: New file.
5791 (headers): Add it.
5792 * stdlib/Makefile (routines): Add getentropy, getrandom.
5793 (tests): Add tst-getrandom.
5794 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5795 * stdlib/getentropy.c: New file.
5796 * stdlib/getrandom.c: Likewise.
5797 * stdlib/tst-getrandom.c: Likewise.
5798 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5799 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5800 * manual/crypt.texi (Unpredictable Bytes): New section.
5801 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5802 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5803 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5804 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5805 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5806 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5807 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5808 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5809 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5810 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5811 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5812 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5813 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5814 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5815 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5816 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5818 Likewise.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5820 Likewise.
5821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5824 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5825 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5826 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5830 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5832 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5833
5834 2016-12-10 Florian Weimer <fweimer@redhat.com>
5835
5836 [BZ #20956]
5837 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5838 as additional compiler barriers.
5839 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5840 (fn2, do_test): Declare with external linkage.
5841 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5842 (do_test): Declare with external linkage.
5843 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5844 (do_test): Declare with external linkage.
5845 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5846 (do_test): Declare with external linkage.
5847
5848 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
5849
5850 * support/support_test_main.c (support_test_main): Use correct
5851 timeout.
5852
5853 2016-12-09 Carlos O'Donell <carlos@redhat.com>
5854 Florian Weimer <fweimer@redhat.com>
5855
5856 [BZ #16421]
5857 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5858 and __u6_addr32 members.
5859 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5860 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5861 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5862 Use __u6_addr32.
5863 * inet/tst-checks.c: Use <support/test-driver.c>
5864 * inet/tst-checks-posix.c: New file.
5865 * inet/Makefile (tests): Add it.
5866 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5867
5868 2016-12-09 Florian Weimer <fweimer@redhat.com>
5869
5870 New subdirectory support for build and test infrastructure.
5871 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
5872 setting install-lib.
5873 * Makeconfig (link-extra-libs-tests): Define.
5874 (+link-pie-tests, +link-static-tests, +link-tests): Use
5875 link-extra-libs-tests.
5876 (rpath-dirs, all-subdirs): Add support.
5877 (built-modules): Add libsupport.
5878 (libsupport): Define.
5879 * support: New directory.
5880 * support/Makefile: New file.
5881 * support/check.c: Likewise.
5882 * support/check.h: Likewise.
5883 * support/delayed_exit.c: Likewise.
5884 * support/ignore_stderr.c: Likewise.
5885 * support/oom_error.c: Likewise.
5886 * support/set_fortify_handler.c: Likewise.
5887 * support/support.h: Likewise.
5888 * support/temp_file-internal.h: Likewise.
5889 * support/temp_file.c: Likewise.
5890 * support/test-driver.c: Likewise.
5891 * support/test-driver.h: Likewise.
5892 * support/test_main.c: Likewise.
5893 * support/write_message.c: Likewise.
5894 * support/xasprintf.c: Likewise.
5895 * support/xcalloc.c: Likewise.
5896 * support/xmalloc.c: Likewise.
5897 * support/xpthread_barrier_destroy.c: Likewise.
5898 * support/xpthread_barrier_init.c: Likewise.
5899 * support/xpthread_barrier_wait.c: Likewise.
5900 * support/xpthread_cancel.c: Likewise.
5901 * support/xpthread_check_return.c: Likewise.
5902 * support/xpthread_cond_wait.c: Likewise.
5903 * support/xpthread_create.c: Likewise.
5904 * support/xpthread_detach.c: Likewise.
5905 * support/xpthread_join.c: Likewise.
5906 * support/xpthread_mutex_lock.c: Likewise.
5907 * support/xpthread_mutex_unlock.c: Likewise.
5908 * support/xpthread_sigmask.c: Likewise.
5909 * support/xpthread_spin_lock.c: Likewise.
5910 * support/xpthread_spin_unlock.c: Likewise.
5911 * support/xrealloc.c: Likewise.
5912 * support/xsignal.h: Likewise.
5913 * support/xthread.h: Likewise.
5914 * support_tempfile.h: Likewise.
5915 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5916 (TEST_DATA_LIMIT): Remove unused macro.
5917 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
5918 <support/check.h>.
5919 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5920 (ignore_stderr, set_fortify_handler): Remove. Now in
5921 <support/support.h>.
5922 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
5923 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5924 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5925 (xpthread_join): Remove. Now in <support/xthread.h>.
5926 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5927 Introduce legacy wrappers.
5928 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5929 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5930 (write_message): Remove.
5931 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5932 test-skeleton.c.
5933 * io/test-open-tmpfile: Likewise.
5934 * io/tst-posix_fallocate-common.c: Likewise.
5935 * libio/tst-fseek.c: Likewise.
5936 * malloc/tst-malloc-backtrace.c: Likewise.
5937 * malloc/tst-malloc-fork-deadlock.c: Likewise.
5938 * malloc/tst-malloc-thread-exit.c: Likewise.
5939 * nptl/tst-cancel7.c: Likewise.
5940 * nptl/tst-cleanup0.c: Likewise.
5941 * posix/tst-posix_fadvise-common.c: Likewise.
5942 * rt/tst-shm.c: Likewise.
5943 * time/bug-getdate1.c: Likewise.
5944 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5945 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5946 * elf/Makefile (tst-piemod1.so): Link against libsupport.
5947
5948 2016-12-08 Joseph Myers <joseph@codesourcery.com>
5949
5950 * Rules [$(run-built-tests) != no] (tests-expected): Add
5951 $(tests-printers).
5952 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5953
5954 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
5955
5956 [BZ #20539]
5957 * math/Makefile (install-lib-ldscripts): Add libm.a.
5958 (install_subdir): Remove.
5959 (install-others): Add.
5960 ($(inst_libdir)/libm.a): Add rule for installation as
5961 linker script.
5962 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5963
5964 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
5965
5966 * INSTALL: Regenerated.
5967 * Makeconfig: Add comments and whitespace to make the control flow
5968 clearer.
5969 (+link-printers-tests, +link-pie-printers-tests,
5970 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5971 built-rtld-LDFLAGS, link-libc-rpath,
5972 link-libc-tests-after-rpath-link,
5973 link-libc-printers-tests): New.
5974 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5975 link-libc-tests): Use the new variables as required.
5976 * Makerules ($(py-const)): New rule.
5977 generated: Add $(py-const).
5978 * README.pretty-printers: New file.
5979 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5980 (others): Depend on $(py-const).
5981 (tests): Depend on $(tests-printers-programs) or
5982 $(tests-printers-out),
5983 as required. Pass $(tests-printers) to merge-test-results.sh.
5984 * manual/install.texi: Add requirements for testing the pretty
5985 printers.
5986 * nptl/Makefile (gen-py-const-headers, pretty-printers,
5987 tests-printers, CFLAGS-test-mutexattr-printers.c
5988 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5989 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5990 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5991 * nptl/nptl-printers.py: New file.
5992 * nptl/nptl_lock_constants.pysym: Likewise.
5993 * nptl/test-cond-printers.c: Likewise.
5994 * nptl/test-cond-printers.py: Likewise.
5995 * nptl/test-condattr-printers.c: Likewise.
5996 * nptl/test-condattr-printers.py: Likewise.
5997 * nptl/test-mutex-printers.c: Likewise.
5998 * nptl/test-mutex-printers.py: Likewise.
5999 * nptl/test-mutexattr-printers.c: Likewise.
6000 * nptl/test-mutexattr-printers.py: Likewise.
6001 * nptl/test-rwlock-printers.c: Likewise.
6002 * nptl/test-rwlock-printers.py: Likewise.
6003 * nptl/test-rwlockattr-printers.c: Likewise.
6004 * nptl/test-rwlockattr-printers.py: Likewise.
6005 * scripts/gen-py-const.awk: Likewise.
6006 * scripts/test_printers_common.py: Likewise.
6007 * scripts/test_printers_exceptions.py: Likewise.
6008
6009 2016-12-07 Joseph Myers <joseph@codesourcery.com>
6010
6011 * scripts/build-many-glibcs.py (Context.__init__): Take strip
6012 argument.
6013 (Glibc.build_glibc): Strip installed shared libraries if
6014 requested.
6015 (get_parser): Add --strip option.
6016 (main): Update Context call.
6017
6018 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6019 Dominik Vogt <vogt@linux.vnet.ibm.com>
6020
6021 [BZ #20847]
6022 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6023 array bounds for else branch.
6024 (__execvpe): Style fixes.
6025 * posix/tst-vfork3.c (run_script): New function.
6026 (create_script): Likewise.
6027 (do_test): Use run_script internal function.
6028 (do_prepare): Use create_script internal function.
6029
6030 2016-12-07 Andreas Schwab <schwab@suse.de>
6031
6032 * sysdeps/unix/sysv/linux/x86/elision-conf.h
6033 (__elision_available): Don't declare.
6034 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6035 (__elision_available): Don't define.
6036 (elision_init): Don't set __elision_available.
6037
6038 2016-12-07 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #20940]
6041 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6042 return Inf for arguments Inf and sNaN.
6043 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6044 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6045 Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6047 Likewise.
6048 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6049 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6050 for arguments Inf and sNaN. When returning a NaN, compute it by
6051 arithmetic on the arguments.
6052 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6053 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6054 arguments.
6055
6056 2016-12-06 Joseph Myers <joseph@codesourcery.com>
6057
6058 [BZ #20916]
6059 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6060 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
6061 to compute result.
6062 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6063 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6064
6065 2016-12-05 Torvald Riegel <triegel@redhat.com>
6066
6067 * include/atomic.h (__atomic_check_size_ls): New.
6068 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6069 atomic_store_release): Use it.
6070 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6071 (elision_adapt, ELIDE_LOCK): Use atomics.
6072 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6073 atomics and improve code comments.
6074 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6075 (__lll_trylock_elision): Likewise.
6076
6077 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6078
6079 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6080 programs.
6081
6082 2016-12-02 Joseph Myers <joseph@codesourcery.com>
6083
6084 [BZ #20916]
6085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6086 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
6087 arguments to compute result.
6088 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6089 1 for arguments (sNaN, 0) or (1, sNaN).
6090 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6092
6093 [BZ #20919]
6094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6095 NaN first argument when raised to power 0.
6096 * math/w_pow.c (__pow): Do not check for NaN or zero results from
6097 raising to power zero.
6098 * math/w_powf.c (__powf): Likewise.
6099 * math/w_powl.c (__powl): Likewise.
6100 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6101 pow (0, 0) or pow (NaN, 0).
6102
6103 2016-12-02 Carlos O'Donell <carlos@redhat.com>
6104
6105 [BZ #20918]
6106 * configure.ac: Test for static NSS cryptographic libraries and set
6107 libc_cv_static_nss_crypt.
6108 * configure: Regenerate.
6109 * config.make.in (static-nss-crypt): Define.
6110 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6111 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6112 (CFLAGS-tst-linkall-static.c): Define.
6113 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6114 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6115 ($(objpfx)tst-linkall-static): Define.
6116 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6117 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6118
6119 2016-12-02 Florian Weimer <fweimer@redhat.com>
6120
6121 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6122 (one-hundred, tst-tls-many-dynamic-modules): Define.
6123 (modules-names): Add $(tst-tls-many-dynamic-modules).
6124 (tst-tls-manydynamic%mod.os): Build with special preprocessor
6125 macros.
6126 (tst-tls-manydynamic): Link against libdl, libpthread.
6127 (tst-tls-manydynamic.out): The test needs the test modules at run
6128 time.
6129 * elf/tst-tls-manydynamic.c: New file.
6130 * elf/tst-tls-manydynamic.h: Likewise.
6131 * elf/tst-tls-manydynamicmod.c: Likewise.
6132
6133 2016-12-02 Florian Weimer <fweimer@redhat.com>
6134
6135 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6136 (TLS_DTV_UNALLOCATED): Add.
6137 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6138 offsets.
6139
6140 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
6141
6142 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6143
6144 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
6145
6146 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6147 Add -fno-optimize-sibling-calls.
6148
6149 2016-12-02 Joseph Myers <joseph@codesourcery.com>
6150
6151 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6152 New declaration.
6153 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6154 macro.
6155 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6156 New macro.
6157 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6158 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6159 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6160 (llogbf): Likewise.
6161 (llogbl): Likewise.
6162 * math/Makefile (gen-libm-calls): Add w_llogbF.
6163 (tests): Add test-fp-llogb-constants.
6164 * math/w_llogb_template.c: New file. Based on
6165 math/w_ilogb_template.c.
6166 * math/libm-test.inc (llogb_test_data): New array.
6167 (llogb_test): New function.
6168 (main): Call llogb_test.
6169 * math/test-fp-llogb-constants.c: New file. Based on
6170 math/test-fp-ilogb-constants.c.
6171 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6172 (do_test): Call check_return_llogb.
6173 * math/test-tgmath.c (NCALLS): Increase to 126.
6174 (F(compile_test)): Call llogb.
6175 (F(llogb)): New function.
6176 * manual/math.texi (Exponents and Logarithms): Document llogb,
6177 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6178 * manual/libm-err-tab.pl (@all_functions): Add llogb.
6179 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6180 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6182 (CFLAGS-nldbl-llogb.c): New variable.
6183 * sysdeps/nacl/libm.abilist: Update.
6184 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6185 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6186 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6187 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6189 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6190 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6191 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6192 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6193 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6194 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6195 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6197 Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6199 Likewise.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6201 Likewise.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6203 Likewise.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6205 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6206 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6210 Likewise.
6211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6212 Likewise.
6213 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6214 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6216
6217 2016-12-01 Joseph Myers <joseph@codesourcery.com>
6218
6219 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6220 _Float128 instead of long double.
6221 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6222
6223 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6224 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6225 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6226 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6227 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6228 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6229 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6230 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6232 Likewise.
6233
6234 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6235
6236 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6237 Remove redirection to __strrchr_ppc.
6238
6239 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6240
6241 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6242 (sysdep_routines): Add strcmp_power9.
6243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6244 (strcmp): Add __strcmp_power9 to list of strcmp functions.
6245 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6246 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6247 (strcmp): Add __strcmp_power9 to ifunc list.
6248 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6249
6250 2016-12-01 Joseph Myers <joseph@codesourcery.com>
6251
6252 * bits/fp-logb.h: New file.
6253 * sysdeps/ia64/bits/fp-logb.h: Likewise.
6254 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6255 * sysdeps/x86/bits/fp-logb.h: Likewise.
6256 * math/Makefile (headers): Add bits/fp-logb.h.
6257 * math/math.h: Include <bits/fp-logb.h>.
6258 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6259 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6260 * bits/mathdef.h (FP_ILOGB0): Remove.
6261 (FP_ILOGBNAN): Likewise.
6262 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6263 (FP_ILOGBNAN): Likewise.
6264 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6265 (FP_ILOGBNAN): Likewise.
6266 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6267 (FP_ILOGBNAN): Likewise.
6268 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6269 (FP_ILOGBNAN): Likewise.
6270 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6271 (FP_ILOGBNAN): Likewise.
6272 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6273 (FP_ILOGBNAN): Likewise.
6274 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6275 (FP_ILOGBNAN): Likewise.
6276 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6277 (FP_ILOGBNAN): Likewise.
6278 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6279 (FP_ILOGBNAN): Likewise.
6280
6281 * scripts/build-many-glibcs.py: Add bot to usage message. Import
6282 time module.
6283 (Context.__init__): Initialize self.logsdir_old.
6284 (Context.run_builds): Handle bot action.
6285 (Context.bot_cycle): Copy logs directory before running builds.
6286 (Context.bot_run_self): Take argument for whether to check
6287 subprocess result. Flush stdout before running subprocess.
6288 (Context.bot): New function.
6289 (get_parser): Allow bot action.
6290
6291 2016-11-30 Joseph Myers <joseph@codesourcery.com>
6292
6293 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6294 Import email.mime.text, email.utils and smtplib modules.
6295 (Context.__init__): Initialize self.bot_config_json.
6296 (Context.run_builds): Handle bot-cycle action.
6297 (Context.load_bot_config_json): New function.
6298 (Context.part_build_old): Likewise.
6299 (Context.bot_cycle): Likewise.
6300 (Context.bot_build_mail): Likewise.
6301 (Context.bot_run_self): Likewise.
6302 (get_parser): Allow bot-cycle action.
6303
6304 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6305
6306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6307 Remove redirection to __stpcpy_ppc.
6308
6309 2016-11-30 Florian Weimer <fweimer@redhat.com>
6310
6311 Remove __libc_memalign from ld.so because it is unused.
6312 * elf/dl-minimal.c: Update comment on the malloc implementation.
6313 (malloc): Renamed from __libc_memalign, replacing the original
6314 malloc implementation. Replace the align parameter with
6315 MALLOC_ALIGNMENT.
6316 * elf/Versions (ld): Update comment and remove __libc_memalign.
6317 * sysdeps/nacl/ld.abilist: Likewise.
6318 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6319 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6320 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6321 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6322 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6327 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6328 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6329 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6330 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6335 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6336 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6337 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6338 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6341 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6342 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6344 * sysdeps/generic/localplt.data (ld.so): Likewise.
6345 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6346 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6347 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6348 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6349 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6350 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6351 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6352 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6353 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6355 (ld.so): Likewise.
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6357 (ld.so): Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6361 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6362 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6363 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6364 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6365
6366 2016-11-30 Florian Weimer <fweimer@redhat.com>
6367
6368 [BZ #16628]
6369 Implement _dl_catch_error, _dl_signal_error in libc.so.
6370 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6371 (catch_hook): Define as thread-local or regular variable,
6372 depending on DL_ERROR_BOOTSTRAP.
6373 (CATCH_HOOK): Remove.
6374 (dl_signal_error, _dl_catch_error): Use
6375 catch_hook. Add hidden definition for libc.
6376 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
6377 for DL_ERROR_BOOTSTRAP only.
6378 * elf/dl-error.c: New file.
6379 * elf/dl-error-minimal.c: Likewise.
6380 * elf/tst-latepthread.c: Likewise.
6381 * elf/tst-latepthreadmod.c: Likewise.
6382 * elf/Makefile (routines): Add dl-error.
6383 (dl-routines): Remove dl-error.
6384 (rtld-routines): Add dl-error-minimal.
6385 [build-shared] (tests): Add tst-latepthread.
6386 (module-names): Add tst-latepthreadmod.
6387 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6388 symbol.
6389 (tst-latepthreadmod.so): Link against libpthread.
6390 (tst-latepthread): Link against libdbl.
6391 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6392 _dl_catch_error.
6393 [ld] (GLIBC_PRIVATE): Likewise.
6394 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6395 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6396 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6397 directly.
6398 * elf/dl-tsd.c: Remove file.
6399 * elf/rtld.c (_rtld_global_ro): Remove initializers for
6400 _dl_catch_error, _dl_signal_error.
6401 (_dl_initial_error_catch_tsd): Remove definition.
6402 (do_preload): Remove initialization of dl_error_catch_tsd.
6403 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6404 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6405 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6406 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6407 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6408 set dl_error_catch_tsd.
6409 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6410 _dl_error_catch_tsd member.
6411 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6412 members.
6413 (_dl_initial_error_catch_tsd): Remove declaration.
6414 (_dl_dprintf): Provide definition for use outside of ld.so.
6415 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6416 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
6417 prototype for libc.
6418 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6419 _dl_catch_error.
6420 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6421 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6422 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6423 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6424 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6425 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6426 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6427 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6431 (ld.so): Likewise.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6433 (ld.so): Likewise.
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6435 Likewise.
6436 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6437 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6439 Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6441 Likewise.
6442 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6443
6444 2016-11-30 Florian Weimer <fweimer@redhat.com>
6445
6446 [BZ #4099]
6447 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6448 _IO_BUFSIZ (8192).
6449
6450 2016-11-30 Carlos O'Donell <carlos@redhat.com>
6451
6452 * PROJECTS: Remove file.
6453
6454 2016-11-29 Florian Weimer <fweimer@redhat.com>
6455
6456 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6457
6458 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
6459 Steve Ellcey <sellcey@caviumnetworks.com>
6460
6461 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6462 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6463 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6464 fxstatat.
6465 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6466 lxstat.
6467 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6468 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6469 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6470 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6471 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6472 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6473 __xstat.
6474
6475 2016-11-29 Florian Weimer <fweimer@redhat.com>
6476
6477 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6478 Define.
6479 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6480 definition.
6481
6482 2016-11-29 Florian Weimer <fweimer@redhat.com>
6483
6484 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6485 version and turn into strong alias. Remove compat symbol.
6486
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6488 (__longjmp): Remove.
6489
6490 2016-11-29 Joseph Myers <joseph@codesourcery.com>
6491
6492 * bits/fp-fast.h: New file.
6493 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6494 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6495 * math/Makefile (headers): Add bits/fp-fast.h.
6496 * math/math.h: Include <bits/fp-fast.h>.
6497 * bits/mathdef.h (FP_FAST_FMA): Remove.
6498 (FP_FAST_FMAF): Likewise.
6499 (FP_FAST_FMAL): Likewise.
6500 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6501 (FP_FAST_FMAF): Likewise.
6502 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6503 (FP_FAST_FMAF): Likewise.
6504 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6505 (FP_FAST_FMAF): Likewise.
6506 (FP_FAST_FMAL): Likewise.
6507 * sysdeps/arm/bits/mathdef.h: Remove file.
6508 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6510 * sysdeps/tile/bits/mathdef.h: Likewise.
6511
6512 2016-11-28 Joseph Myers <joseph@codesourcery.com>
6513
6514 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
6515 * math/w_ilogb.c: Remove.
6516 * math/w_ilogbf.c: Likewise.
6517 * math/w_ilogbl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6519 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6520 * math/Makefile (gen-libm-calls): Add w_ilogbF.
6521 (libm-calls): Remove w_ilogbF.
6522 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6523 (LDOUBLE_ilogbl_libm_version): New macro.
6524
6525 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6526
6527 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6528 [!__STRICT_ANSI__ && !__cplusplus].
6529
6530 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
6531
6532 [BZ #20750]
6533 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6534 of PIC.
6535
6536 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6537 Yury Norov <ynorov@caviumnetworks.com>
6538 Steve Ellcey <sellcey@caviumnetworks.com>
6539
6540 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6541 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6542 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6543 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6544 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6545 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6546 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6547 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6548 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6549 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6550 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6551 to get correct reg name for ILP32.
6552 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6553 (RELA_SIZE): New Macro.
6554 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6555 to support ILP32.
6556 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6557 cast for ILP32 mode.
6558 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6559 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6560 * sysdeps/aarch64/memset.S (__memset): Ditto.
6561 * sysdeps/aarch64/strchr.S (strchr): Ditto.
6562 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6563 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6564 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6565 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6566 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6567 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6568 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6569 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6570 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6571 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6572 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6573 change PTR_MANGLE call to use register numbers instead of names.
6574 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6575 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6576 ILP32 mode, change PTR_MANGLE calls to use register numbers.
6577 * sysdeps/aarch64/start.S (_start): Ditto.
6578 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6579 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6580 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6581 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6582 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6583 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6584 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6585 Make defined values dependent on __ILP32__.
6586 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6587 (sem_t): Change __align type.
6588 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6589 PTR_SIZE): New Macros.
6590 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6591 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6592 Set when in ILP32 mode.
6593 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6594 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6595 Set elf flags for ILP32.
6596 (add_system_dir): Set ILP32 library directories.
6597 * sysdeps/unix/sysv/linux/aarch64/init-first.c
6598 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6599 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6600 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6601 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6602 New Macros.
6603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6604
6605 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
6606
6607 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6608 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6609 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6610
6611 2016-11-28 Joseph Myers <joseph@codesourcery.com>
6612
6613 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6614 <asm/cachectl.h>.
6615
6616 2016-11-27 Zack Weinberg <zackw@panix.com>
6617
6618 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6619 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6620
6621 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6622
6623 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6624 error_t to fix usage in C++ programs.
6625
6626 2016-11-26 Joseph Myers <joseph@codesourcery.com>
6627
6628 * scripts/build-many-glibcs.py: Import datetime module.
6629 (Context.__init__): Load JSON build state. Initialize list of
6630 status logs.
6631 (Context.run_builds): Update saved build state.
6632 (Context.add_makefile_cmdlist): Update list of status logs.
6633 (Context.load_build_state_json): New function.
6634 (Context.store_build_state_json): Likewise.
6635 (Context.clear_last_build_state): Likewise.
6636 (Context.update_build_state): Likewise.
6637 (CommandList.status_logs): Likewise.
6638
6639 2016-11-25 Joseph Myers <joseph@codesourcery.com>
6640
6641 * scripts/build-many-glibcs.py (Context.__init__): Save text of
6642 script being executed.
6643 (Context.get_script_text): New function.
6644 (Context.exec_self): Likewise.
6645 (Context.checkout): Re-exec script if changed by checkout process.
6646
6647 2016-11-24 Joseph Myers <joseph@codesourcery.com>
6648
6649 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6650 (setpayloadsig): New declaration.
6651 * math/Versions (setpayloadsig): New libm symbol at version
6652 GLIBC_2.25.
6653 (setpayloadsigf): Likewise.
6654 (setpayloadsigl): Likewise.
6655 * math/Makefile (libm-calls): Add s_setpayloadsigF.
6656 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6657 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6658 (setpayloadsig_test_data): New array.
6659 (setpayloadsig_test): New function.
6660 (main): Call setpayloadsig_test.
6661 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6662 setpayloadsigf and setpayloadsigl.
6663 * manual/libm-err-tab.pl: Update comment on interfaces without
6664 ulps tabulated.
6665 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6666 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6671 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6672 setpayloadsig.
6673 (CFLAGS-nldbl-setpayloadsig.c): New variable.
6674 * sysdeps/nacl/libm.abilist: Update.
6675 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6676 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6677 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6678 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6679 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6682 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6683 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6684 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6685 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6686 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6688 Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6690 Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6692 Likewise.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6694 Likewise.
6695 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6697 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6698 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6699 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6703 Likewise.
6704 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6705 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6706 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6707
6708 * scripts/build-many-glibcs.py: Import json module.
6709 (Context.__init__): Take replace_sources argument. Load
6710 versions.json.
6711 (Context.load_versions_json): New function.
6712 (Context.store_json): Likewise.
6713 (Context.store_versions_json): Likewise.
6714 (Context.set_component_version): Likewise.
6715 (Context.checkout): Update versions.json. Check for and handle
6716 changes of version. Prefer previously explicitly specified
6717 version to default version.
6718 (Context.checkout_vcs): Return a revision identifier.
6719 (Context.git_checkout): Likewise.
6720 (Context.gcc_checkout): Likewise.
6721 (get_parser): Add --replace-sources option.
6722 (main): Pass replace_sources argument to Context call.
6723
6724 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6725
6726 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6727 * nptl/allocatestack.c (allocate_stack): Likewise.
6728 (__reclaim_stacks): Likewise.
6729 (setxid_signal_thread): Obtain pid through syscall.
6730 * nptl/nptl-init.c (sigcancel_handler): Likewise.
6731 (sighandle_setxid): Likewise.
6732 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6733 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6734 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6735 Likewise.
6736 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6737 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6738 comment.
6739 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6740 * nptl/descr.h (struct pthread): Change comment about pid value.
6741 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6742 pid assert.
6743 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6744 Do not set pid value.
6745 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6746 pid cache check.
6747 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6748 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6749 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6750 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6751 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6752 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6753 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6754 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6755 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6756 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6757 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6758 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6759 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6760 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6761 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6762 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6763 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6764 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6765 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6766 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6767 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6768 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6769 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6770 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6771 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6774 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6775 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6776 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6779 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6781 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6782 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6783 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6784 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6785 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6786 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6787 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6788 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6789 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6792 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6794 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6797 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6798 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6799 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6800 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6801 struct access.
6802 (clone_test): Remove function.
6803 (do_test): Rewrite to take in consideration pid is not cached anymore.
6804
6805 2016-11-24 Joseph Myers <joseph@codesourcery.com>
6806
6807 * bits/flt-eval-method.h: New file.
6808 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6809 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6810 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6811 * math/Makefile (headers): Add bits/flt-eval-method.h.
6812 * math/math.h: Include <bits/flt-eval-method.h>.
6813 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6814 [__USE_ISOC99] (double_t): Likewise.
6815 * bits/mathdef.h (float_t): Remove.
6816 (double_t): Likewise.
6817 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6818 (double_t): Likewise.
6819 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6820 (double_t): Likewise.
6821 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6822 (double_t): Likewise.
6823 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6824 (double_t): Likewise.
6825 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6826 (double_t): Likewise.
6827 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6828 (double_t): Likewise.
6829 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6830 (double_t): Likewise.
6831 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6832 (double_t): Likewise.
6833 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6834 (double_t): Likewise.
6835 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6836 (double_t): Likewise.
6837 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6838 (double_t): Likewise.
6839 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6840 (double_t): Likewise.
6841 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6842 (double_t): Likewise.
6843
6844 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
6845
6846 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6847 instead of PIC.
6848
6849 2016-11-23 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #20859]
6852 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6853 (-0x7fffffff) instead of 0x80000001.
6854 * math/test-fp-ilogb-constants.c: New file.
6855 * math/Makefile (tests): Add test-fp-ilogb-constants.
6856
6857 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
6858
6859 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6860 (_init): Use it in place of hardcoded R_MIPS_JALR.
6861 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6862 (_init): Use it in place of hardcoded R_MIPS_JALR.
6863 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6864 (_init): Use it in place of hardcoded R_MIPS_JALR.
6865
6866 2016-11-23 Joseph Myers <joseph@codesourcery.com>
6867
6868 [BZ #20787]
6869 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6870 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6871 (double_t): Do not define to double if [__x86_64__] when
6872 __FLT_EVAL_METHOD__ is nonzero.
6873 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6874 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6875 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6876 test-flt-eval-method-387 and test-flt-eval-method-sse.
6877 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6878 variable.
6879 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6880
6881 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
6882
6883 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6884 use of -fno-isolate-erroneous-paths options for tilepro.
6885
6886 2016-11-23 Florian Weimer <fweimer@redhat.com>
6887
6888 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6889 structure initialization is no longer needed.
6890
6891 2016-11-23 Joseph Myers <joseph@codesourcery.com>
6892
6893 [BZ #20855]
6894 * bits/mathdef.h (float_t): Define to float.
6895 * math/test-flt-eval-method.c: New file.
6896 * math/Makefile (tests): Add test-flt-eval-method.
6897 (CFLAGS-test-flt-eval-method.c): New variable.
6898
6899 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
6900
6901 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6902 and __fstatfs. Make them aliases of __fstatfs64 if
6903 STATFS_IS_STATFS64 is set to non-zero.
6904 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6905 and __statfs64.
6906 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6907 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6908 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6909 for __statfs and statfs.
6910 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6911 to 0.
6912 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6913 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6914 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6915 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6916 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6917 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6920 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6921 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6923 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6924
6925 2016-11-22 Andreas Schwab <schwab@suse.de>
6926
6927 * misc/mkstemp.c: Include <fcntl.h>.
6928 * misc/mkstemps.c: Likewise.
6929 * misc/mkostemp.c: Likewise.
6930 * misc/mkostemps.c: Likewise.
6931
6932 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
6933
6934 [BZ #20847]
6935 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6936 array bounds.
6937 (__execvpe): Likewise.
6938
6939 2016-11-22 Joseph Myers <joseph@codesourcery.com>
6940
6941 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6942 -fno-isolate-erroneous-paths options for tilepro.
6943
6944 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
6945
6946 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6947 to 0 when in 32 bit mode.
6948 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6949 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6950 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6951 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6953 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6954 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6955 XSTAT_IS_XSTAT64 test.
6956 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6957 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6958 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6959 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6960 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6961 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6962 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6963 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6964 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6965 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6966 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6967
6968 2016-11-19 Joseph Myers <joseph@codesourcery.com>
6969
6970 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6971 (setpayload): New declaration.
6972 * math/Versions (setpayload): New libm symbol at version
6973 GLIBC_2.25.
6974 (setpayloadf): Likewise.
6975 (setpayloadl): Likewise.
6976 * math/Makefile (libm-calls): Add s_setpayloadF.
6977 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6978 test_Ff_b1_data.
6979 (RUN_TEST_Ff_b1): New macro.
6980 (RUN_TEST_LOOP_Ff_b1): Likewise.
6981 (canonicalize_test_data): Update type.
6982 (setpayload_test_data): New array.
6983 (setpayload_test): New function.
6984 (main): Call setpayload_test.
6985 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6986 setpayloadf and setpayloadl.
6987 * manual/libm-err-tab.pl: Update comment on interfaces without
6988 ulps tabulated.
6989 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6990 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6991 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6992 Likewise.
6993 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6994 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6995 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6997 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6998 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6999 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7001 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7002 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7003 setpayload.
7004 (CFLAGS-nldbl-setpayload.c): New variable.
7005 * sysdeps/nacl/libm.abilist: Update.
7006 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7007 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7008 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7009 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7010 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7011 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7012 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7013 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7014 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7015 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7016 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7017 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7019 Likewise.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7021 Likewise.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7023 Likewise.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7025 Likewise.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7027 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7028 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7032 Likewise.
7033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7034 Likewise.
7035 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7038
7039 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7040
7041 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7042 * include/unistd.h: Extend comment about __access_noerrno return
7043 semantics.
7044 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7045 (access_common): Correct typo for EACCES.
7046
7047 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
7048
7049 * sysdeps/tile/math-tests.h: New file.
7050
7051 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7052 (__old_set_dataplane): Rename from set_dataplane and make a
7053 compatibility symbol.
7054 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7055 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7056 sys/dataplane.h.
7057
7058 2016-11-18 Joseph Myers <joseph@codesourcery.com>
7059
7060 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7061 script quote words in command output to log suitably for input to
7062 the shell.
7063
7064 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
7065 Maciej W. Rozycki <macro@imgtec.com>
7066
7067 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7068 `.Lno_weak_fn' label.
7069 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7070 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7071
7072 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7073 Yury Norov <ynorov@caviumnetworks.com>
7074
7075 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7076 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7077 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7078 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7079 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7081 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7083 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7084 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7085 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7086 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7087 (sysdep_routines): Remove oldgetrlimit64.
7088 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7089 (sysdep_routines): Likewise.
7090 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7091 (sysdep_routines): Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7093 [$(subdir) = resource] (sysdep_routines): Likewise.
7094 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7095 [$(subdir) = resource] (sysdep_routines): Likewise.
7096 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7097 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7098 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7099 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7100 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7101 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7102 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7103 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7104 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7106 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7107 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7109 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7110 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7111 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7112 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7113 setrlimit and getrlimit.
7114 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7116 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7119 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7121 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7123 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7124 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7125 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7126 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7127 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7128 (__old_getrlimit64): Add compatibility symbol.
7129 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7130
7131 2016-11-17 Joseph Myers <joseph@codesourcery.com>
7132
7133 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7134 newly built gmp, mpfr and mpc.
7135
7136 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7137
7138 2016-11-16 Joseph Myers <joseph@codesourcery.com>
7139
7140 * conform/Makefile (linknamespace-libs): Rename to
7141 linknamespace-libs-thr.
7142 (linknamespace-libs-posix): New variable.
7143 (linknamespace-libs-xsi): Likewise.
7144 (linknamespace-libs-XPG3): Include libcrypt.a.
7145 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7146 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7147 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7148 (linknamespace-libs-XOPEN2K): Likewise.
7149 (linknamespace-libs-XOPEN2K8): Likewise.
7150 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7151
7152 [BZ #20829]
7153 * stdio-common/Versions (__snprintf): Add to version
7154 GLIBC_PRIVATE.
7155 * include/stdio.h (__snprintf): Use libc_hidden_proto.
7156 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7157 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7158 of snprintf.
7159 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7160
7161 2016-11-16 Zack Weinberg <zackw@panix.com>
7162
7163 * string/string.h: Remove obsolete comment stating that
7164 strcoll_l and strxfrm_l have not yet been standardized.
7165
7166 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7167
7168 * hurd/hurd.h (__hurd_fail_noerrno): New function.
7169 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7170 __access_noerrno.
7171 * io/access.c (__access_noerrno): New function.
7172 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7173 (hurd_fail_seterrno): Likewise.
7174 (access_common): Likewise.
7175 (__access_noerrno): Likewise.
7176 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7177 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7178 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7179 macro.
7180
7181 2016-11-16 Joseph Myers <joseph@codesourcery.com>
7182
7183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7184 Only declare fpregs if [__SH_FPU_ANY__].
7185
7186 2016-11-15 Joseph Myers <joseph@codesourcery.com>
7187
7188 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7189 Make code unconditional.
7190 [!(__SH4__ || __SH4A__)]: Remove conditional code.
7191
7192 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
7193
7194 * manual/sysinfo.texi (S_APPEND): Delete.
7195 (S_IMMUTABLE): Likewise.
7196
7197 2016-11-15 Denis Kaganovich <mahatma@eu.by>
7198 Magnus Granberg <zorry@gentoo.org>
7199 Mike Frysinger <vapier@gentoo.org>
7200
7201 [BZ #20662]
7202 * configure.ac (libc_cv_predef_stack_protector): Also check for
7203 __stack_chk_fail_local symbols.
7204 * configure: Regenerated.
7205
7206 2016-11-15 Florian Weimer <fweimer@redhat.com>
7207
7208 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7209 (libc_hidden_def): Remove redefinition.
7210 (__sigsetjmp): Add hidden definition.
7211 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7212 (libc_hidden_def): Remove redefinition.
7213 (__sigsetjmp): Add hidden definition.
7214
7215 2016-11-14 Joseph Myers <joseph@codesourcery.com>
7216
7217 * scripts/build-many-glibcs.py (os.path): Do not import.
7218 (Context): Inherit explicitly from object. Remove blank line
7219 between class and docstring.
7220 (Config): Likewise.
7221 (Glibc): Likewise.
7222 (Command): Likewise.
7223 (CommandList): Likewise.
7224 (Context.write_files): Store chmod mode in a variable.
7225
7226 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7227 LIBC_SLIBDIR_RTLDDIR for tilegx32.
7228 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7229
7230 2016-11-14 Zack Weinberg <zackw@panix.com>
7231
7232 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7233 creating or re-creating it.
7234
7235 * string/bits/string2.h: Fix typo in comment.
7236
7237 2016-11-14 Zack Weinberg <zackw@panix.com>
7238
7239 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7240 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7241 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7242 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7243 of redirected function names.
7244
7245 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7246 as well. Document that MESSAGE must be a single string literal.
7247
7248 2016-11-11 Joseph Myers <joseph@codesourcery.com>
7249
7250 * scripts/build-many-glibcs.py: New file.
7251
7252 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7253 (do_test): Disable -Wmaybe-uninitialized around uses of
7254 except_mask.
7255
7256 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7257
7258 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
7259
7260 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7261 (atomic_store_release): Provide tilepro-specific implementations.
7262
7263 2016-11-10 Joseph Myers <joseph@codesourcery.com>
7264
7265 * math/math.h (__MATH_TG): New macro.
7266 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7267 [__USE_ISOC99] (signbit): Likewise.
7268 [__USE_ISOC99] (isfinite): Likewise.
7269 [__USE_ISOC99] (isnan): Likewise.
7270 [__USE_ISOC99] (isinf): Likewise.
7271 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7272 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7273 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7274 __MATH_TG and __MATH_EVAL_FMT2.
7275 * sysdeps/generic/math_private.h (fabs_tg): Define using
7276 __MATH_TG.
7277 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7278 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7279 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7280 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7281 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7282 macro.
7283 (__iscanonical): Likewise.
7284 (iscanonical): Define using __MATH_TG.
7285
7286 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7287
7288 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7289 guards.
7290
7291 * sysdeps/unix/sysv/linux/access.c: New file.
7292 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7293
7294 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
7295
7296 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7297 and __WORDSIZE32_PTRDIFF_LONG.
7298
7299 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
7300
7301 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7302
7303 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7304
7305 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7306 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7307 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7308 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7309 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7311 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7312 * sysdeps/unix/sysv/linux/truncate.c: New file.
7313 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7314 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7315 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7316 Remove.
7317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7318 Likewise.
7319
7320 * posix/tst-truncate-common.c: New file.
7321 * posix/tst-truncate.c: Use tst-truncate-common.c.
7322 * posix/tst-truncate64.c: Likewise and add LFS tests.
7323 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7324 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7325 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7326 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7327 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7329 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7330 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7331 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7332 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7333 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7334 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7335 Remove.
7336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7337 Likewise.
7338
7339 2016-11-08 Joseph Myers <joseph@codesourcery.com>
7340
7341 [BZ #20790]
7342 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7343 to MAXLINESIZE.
7344 * sunrpc/bug20790.x: New file.
7345 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7346 variable.
7347 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7348 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7349
7350 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7351
7352 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7353
7354 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7355 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
7356 calloc, realloc, free, memalign and __libc_memalign rather than
7357 making them optional.
7358
7359 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7360 for libc.so.
7361
7362 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7363
7364 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7365 ptw-lseek64.
7366 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7367 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
7368 Likewise.
7369 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7370 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7371 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7372 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7373 * sysdeps/unix/sysv/linux/lseek.c: New file.
7374 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7375 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7376 __libc_lseek64 from auto-generation.
7377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7379
7380 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7381
7382 * nptl/tst-basic1.c (tf, do_test): Use write_message.
7383 * nptl/tst-cleanup1.c (do_test): Likewise.
7384 * nptl/tst-cleanup3.c (do_test): Likewise.
7385 * nptl/tst-key1.c (do_test): Likewise.
7386 * nptl/tst-key2.c (tf, do_test): Likewise.
7387 * nptl/tst-key3.c (tf, do_test): Likewise.
7388 * nptl/tst-stdio1.c (do_test): Likewise.
7389 * nptl/tst-stdio2.c (do_test): Likewise.
7390
7391 * nptl/tst-kill3.c (handler): Use write_message in place of write.
7392 * nptl/tst-kill6.c (handler): Likewise.
7393 * nptl/tst-tls2.c (CB): Likewise.
7394 * nptl/tst-tls3.c (CB): Likewise.
7395
7396 2016-11-07 Joseph Myers <joseph@codesourcery.com>
7397
7398 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7399
7400 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
7401 Steve Ellcey <sellcey@caviumnetworks.com>
7402
7403 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7404 __ASSUME_ST_INO_64_BIT as 0
7405 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7406 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7407 over the code where __ASSUME_ST_INO_64_BIT is used.
7408 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7409 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7410 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7411
7412 2016-11-07 Florian Weimer <fweimer@redhat.com>
7413
7414 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7415 Document ABI exposure of the __kind offset.
7416 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7417 Mention reason for the __kind offset exposure in the ABI.
7418 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7419 Likewise.
7420 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7421 Likewise.
7422 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7423 Likewise.
7424 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7425 (struct __pthread_mutex_s): Likewise.
7426 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7427 Likewise.
7428 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7429 Likewise.
7430 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7431 Likewise.
7432 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7433 Likewise.
7434 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7435 Likewise.
7436 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7437 Likewise.
7438 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7439 (struct __pthread_mutex_s): Likewise.
7440 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7441 (struct __pthread_mutex_s): Likewise.
7442 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7443 Likewise.
7444
7445 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
7446
7447 * test-skeleton.c: Document do_test usage.
7448
7449 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
7450
7451 * iconv/gconv.h (__gconv_info): Define __data element using a
7452 zero-length array.
7453
7454 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
7455
7456 * math/test-tgmath2.c: Split up test function.
7457
7458 2016-11-04 Joseph Myers <joseph@codesourcery.com>
7459
7460 * Rules (tests-expected): New variable, depending on
7461 $(run-built-tests).
7462 (tests): Pass $(tests-expected) to merge-test-results.sh, not
7463 $(tests).
7464
7465 * Rules [$(run-built-tests) = no] (tests): Do not depend on
7466 $(tests-unsupported).
7467
7468 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7469
7470 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7471 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
7472
7473 2016-11-04 Joseph Myers <joseph@codesourcery.com>
7474
7475 [BZ #20768]
7476 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7477 __fegetenv instead of fegetenv.
7478
7479 [BZ #14139]
7480 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7481 (find_files): Obtain platform name from libm-test-ulps-name and
7482 store in %pplatforms.
7483 (canonicalize_platform): Remove.
7484 (print_platforms): Use $pplatforms directly.
7485 (by_platforms): Do not allow for platforms missing from
7486 %pplatforms.
7487 * sysdeps/aarch64/libm-test-ulps-name: New file.
7488 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7489 * sysdeps/arm/libm-test-ulps-name: Likewise.
7490 * sysdeps/generic/libm-test-ulps-name: Likewise.
7491 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7493 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7494 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7495 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7496 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7497 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7498 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7499 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7500 * sysdeps/nios2/libm-test-ulps-name: Likewise.
7501 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7502 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7503 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7504 * sysdeps/sh/libm-test-ulps-name: Likewise.
7505 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7506 * sysdeps/tile/libm-test-ulps-name: Likewise.
7507 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7508
7509 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7510
7511 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7512 (test-xfail-check-execstack): New variable.
7513
7514 * sysdeps/mips/localplt.data: New file.
7515
7516 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
7517 Steve Ellcey <sellcey@caviumnetworks.com>
7518
7519 * bits/wordsize.h: Add documentation.
7520 * sysdeps/aarch64/bits/wordsize.h : New file
7521 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7522 definitions.
7523 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7524 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7525 with #if instead of #ifdef.
7526 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7527 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7528 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7529 Add or change defines.
7530 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7531 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7532 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7533 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7534 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7535 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7536 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7537 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7538 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7540 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7541 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7542 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7543 * sysdeps/x86/bits/wordsize.h: Likewise.
7544
7545 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
7546 Kevin Petit <kevin.petit@arm.com>
7547
7548 * sysdeps/aarch64/memchr.S (__memchr): New file.
7549
7550 2016-11-04 Joseph Myers <joseph@codesourcery.com>
7551
7552 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7553
7554 2016-11-03 Joseph Myers <joseph@codesourcery.com>
7555
7556 [BZ #19398]
7557 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7558 $(linknamespace-symlists-tests).
7559
7560 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
7561
7562 * time/tst-strptime2.c: Ignore -Wformat-length warning.
7563
7564 2016-11-02 Florian Weimer <fweimer@redhat.com>
7565 Carlos O'Donell <carlos@redhat.com>
7566
7567 [Bug #20729]
7568 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7569 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
7570 for -Os related change.
7571
7572 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
7573
7574 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7575
7576 2016-11-01 Joseph Myers <joseph@codesourcery.com>
7577
7578 [BZ #19673]
7579 * manual/math.texi (Exponents and Logarithms): Correct description
7580 of clog10.
7581
7582 2016-10-31 Carlos O'Donell <carlos@redhat.com>
7583
7584 [Bz #20729]
7585 * locale/weight.h: Include libc-internal.h.
7586 * locale/weightwc.h: Likewise.
7587 * nptl/nptl_dbP.h: Likewise.
7588
7589 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
7590
7591 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7592 when it is MACH_PORT_NULL.
7593
7594 2016-10-31 Andreas Schwab <schwab@suse.de>
7595
7596 [BZ #20707]
7597 * posix/glob.c (glob): Initialize pglob before checking for
7598 GLOB_BRACE. Don't call glob recursively if pattern contains no
7599 valid brace expression despite GLOB_BRACE.
7600 * posix/globtest.sh: Test it.
7601
7602 2016-10-28 Carlos O'Donell <carlos@redhat.com>
7603
7604 [BZ #20729]
7605 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7606 Define.
7607 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7608 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7609 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7610 for seq2.back_us and seq1.back_us only for -Os compiles.
7611 * locale/weightwc.h (findix): Likewise.
7612 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7613 DB_GET_FIELD_ADDRESS only for -Os compiles.
7614 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7615 for slen only for -Os compiles.
7616 * string/strcoll_l.c (get_next_seq): Ignore
7617 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7618 for -Os compiles.
7619
7620 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7621 * include/crypt.h: New file.
7622
7623 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7624
7625 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7626 from test-skeleton.c.
7627 (statclass): Replace calls to write with calls to write_message.
7628
7629 2016-10-28 Joseph Myers <joseph@codesourcery.com>
7630
7631 * math/math.h
7632 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7633 New macro.
7634 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7635 Likewise.
7636 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7637 Likewise.
7638 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7639 SNANL.
7640 * math/test-double.h (snan_value_MACRO): New macro.
7641 * math/test-float.h (snan_value_MACRO): Likewise.
7642 * math/test-ldouble.h (snan_value_MACRO): Likewise.
7643 * math/libm-test.inc (issignaling_test_data): Add tests of
7644 snan_value_MACRO.
7645
7646 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7647
7648 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7649 behavior when eliding a lock not held by the current thread.
7650 * sysdeps/powerpc/nptl/elide.h: Likewise.
7651
7652 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7653
7654 [BZ #20728]
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7656 branch to _exit() by a function call.
7657
7658 2016-10-28 Florian Weimer <fweimer@redhat.com>
7659
7660 * malloc/malloc.c: Update chunk layout comments.
7661 (chunk_main_arena): Update comment.
7662
7663 2016-10-28 Florian Weimer <fweimer@redhat.com>
7664
7665 * crypt/sha256.c, crypt/sha256-block.c,
7666 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7667 sha256_process_block to __sha256_process_block.
7668 * crypt/sha512.c, crypt/sha512-block.c,
7669 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7670 sha512_process_block to __sha512_process_block.
7671
7672 2016-10-28 Carlos O'Donell <carlos@redhat.com>
7673
7674 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7675
7676 * math/test-nan-overflow.c: Include stdlib.h for malloc.
7677
7678 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 [BZ #20019]
7681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7682 definition in unrelocated shared library.
7683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7684
7685 2016-10-28 Florian Weimer <fweimer@redhat.com>
7686
7687 [BZ #20729]
7688 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7689 * sysdeps/unix/sysv/linux/i386/Makefile
7690 (uses-6-syscall-arguments): Define.
7691 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7692 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7693 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7694 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7695 Likewise.
7696 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7697 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7698 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7699 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7700 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7701 (CFLAGS-fallocate64.os): Likewise.
7702 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7703 (CFLAGS-pthread_rwlock_timedrdlock.os)
7704 (CFLAGS-pthread_rwlock_timedwrlock.o)
7705 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7706 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7707 (CFLAGS-sem_timedwait.os): Likewise.
7708
7709 2016-10-28 Florian Weimer <fweimer@redhat.com>
7710
7711 * elf/tst-linkall-static.c: New file.
7712 * elf/Makefile (tests-static): Add tst-linkall-static.
7713 (tst-linkall-static): Link against static libraries.
7714
7715 2016-10-27 Florian Weimer <fweimer@redhat.com>
7716
7717 * malloc/malloc.c (sysmalloc): Initialize previous size field of
7718 mmaped chunks.
7719
7720 2016-10-28 Florian Weimer <fweimer@redhat.com>
7721
7722 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7723 members to mchunk_prev_size, mchunk_size.
7724 (chunk_main_arena): Reverse sense and rename from
7725 chunk_non_main_arena.
7726 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7727 mchunk_size instead of size.
7728 (set_non_main_arena): Define.
7729 (chunksize): Use chunksize_nomask instead of direct member access.
7730 (chunksize_nomask): Define.
7731 (next_chunk): Use chunksize instead of direct member access.
7732 (prev_size, set_prev_size): Define.
7733 (prev_chunk): Use prev_size instead of direct member access.
7734 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7735 (inuse_bit_at_offset, set_inuse_bit_at_offset)
7736 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7737 (mchunk_prev_size, mchunk_size): Poison tokens.
7738 (unlink): Use chunksize_nomask, prev_size accessors.
7739 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7740 (do_check_free_chunk): Use prev_size accessor.
7741 (sysmalloc): Use set_prev_size, set_head accessors.
7742 (munmap_chunk, mremap_chunk): Use prev_size accessor.
7743 (__libc_free): Use chunksize_nomask accessor.
7744 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7745 chunk_main_arena accessors.
7746 (_int_free): Use chunksize_nomask, prev_size accessors.
7747 (malloc_consolidate): Use chunksize, prev_size accessors.
7748 (_int_realloc): Use chunksize_nomask accessor.
7749 (_int_memalign): Use set_prev_size accessor.
7750 (__malloc_info): Use chunksize_nomask accessor.
7751 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7752 accessors.
7753 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7754 (heap_trim): Use chunksize_nomask, prev_size accessors.
7755
7756 2016-10-28 Joseph Myers <joseph@codesourcery.com>
7757
7758 [BZ #19380]
7759 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7760 for inexact results.
7761 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7762 of inexact result where mpfr_subnormalize is the only inexact
7763 step.
7764 * stdlib/tst-strtod-round-data.h: Regenerated.
7765 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7766 Define to 0.
7767 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7768
7769 2016-10-27 David S. Miller <davem@davemloft.net>
7770
7771 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7772
7773 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
7774
7775 * malloc/malloc.c (do_set_mallopt_check): New function.
7776 (do_set_mmap_threshold): Likewise.
7777 (do_set_mmaps_max): Likewise.
7778 (do_set_top_pad): Likewise.
7779 (do_set_perturb_byte): Likewise.
7780 (do_set_trim_threshold): Likewise.
7781 (do_set_arena_max): Likewise.
7782 (do_set_arena_test): Likewise.
7783 (__libc_mallopt): Use them.
7784
7785 2016-10-26 Joseph Myers <joseph@codesourcery.com>
7786
7787 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7788 (canonicalize): New declaration.
7789 * math/Versions (canonicalize): New libm symbol at version
7790 GLIBC_2.25.
7791 (canonicalizef): Likewise.
7792 (canonicalizel): Likewise.
7793 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7794 * math/s_canonicalize_template.c: New file.
7795 * math/libm-test.inc: Update comment on functions tested and
7796 testing of NaN payloads.
7797 (TEST_NAN_PAYLOAD): New macro.
7798 (NO_TEST_INLINE): Update value.
7799 (XFAIL_TEST): Likewise.
7800 (ERRNO_UNCHANGED): Likewise.
7801 (ERRNO_EDOM): Likewise.
7802 (ERRNO_ERANGE): Likewise.
7803 (IGNORE_RESULT): Likewise.
7804 (NON_FINITE): Likewise.
7805 (TEST_SNAN): Likewise.
7806 (NO_TEST_MATHVEC): Likewise.
7807 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7808 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7809 (struct test_Ffp_b1_data): New type.
7810 (RUN_TEST_Ffp_b1): New macro.
7811 (RUN_TEST_LOOP_Ffp_b1): Likewise.
7812 (canonicalize_test_data): New array.
7813 (canonicalize_test): New function.
7814 (main): Call canonicalize_test.
7815 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7816 canonicalizef and canonicalizel.
7817 * manual/libm-err-tab.pl: Update comment on interfaces without
7818 ulps tabulated.
7819 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7820 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7821 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7822 canonicalize.
7823 (CFLAGS-nldbl-canonicalize.c): New variable.
7824 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7825 to ...
7826 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7827 ... here.
7828 (do_test): Also test canonicalizel.
7829 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7830 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7831 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7832 file.
7833 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7834 Use libm_hidden_def.
7835 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7836 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7837 (do_test): Also test canonicalizel.
7838 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7839 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7840 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7841 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7842 libm_hidden_def.
7843 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7844 macro.
7845 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7846 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7847 * sysdeps/nacl/libm.abilist: Update.
7848 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7849 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7850 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7851 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7852 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7853 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7854 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7855 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7856 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7857 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7858 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7859 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7861 Likewise.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7863 Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7865 Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7867 Likewise.
7868 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7869 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7870 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7871 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7874 Likewise.
7875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7876 Likewise.
7877 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7878 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7880
7881 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7882 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7883 getpayload.
7884 (CFLAGS-nldbl-getpayload.c): New variable.
7885
7886 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7887
7888 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7889 integer from the format string.
7890
7891 2016-10-26 Florian Weimer <fweimer@redhat.com>
7892
7893 [BZ #19473]
7894 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7895 declarations.
7896 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7897 weak aliases.
7898 * malloc/hooks.c (__malloc_get_state): Remove definition.
7899 (malloc_get_state): New stub implementation as
7900 compatibility symbol.
7901 (malloc_set_state): Rename from __malloc_set_state. Turn into
7902 compat symbol.
7903 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7904 malloc_set_state.
7905 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7906
7907 2016-10-26 Florian Weimer <fweimer@redhat.com>
7908
7909 * iconvdata/iso646.c (enum variant): Drop illegal_var.
7910 (names): Turn into concatenation of strings.
7911 (gconv_init): Adapt iteration over names.
7912
7913 2016-10-26 Florian Weimer <fweimer@redhat.com>
7914
7915 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7916 make const.
7917 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7918 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7919 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7920 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7921 character in sbconv.
7922 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7923 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7924 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7925
7926 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
7927
7928 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7929
7930 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7931 (M_TRIM_THRESHOLD): Likewise.
7932
7933 * manual/memory.texi (M_ARENA_TEST): Add documentation.
7934 (M_ARENA_MAX): Likewise.
7935 * malloc/malloc.c: Remove obsolete comment.
7936
7937 * manual/memory.texi: Add environment variable alternatives to
7938 setting mallopt parameters.
7939
7940 2016-10-26 Carlos O'Donell <carlos@redhat.com>
7941
7942 * include/atomic.h
7943 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7944 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7945
7946 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7947
7948 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7949 * stdlib/tst-strfrom.h: New file.
7950 * stdlib/tst-strfrom.c: New file.
7951 * stdlib/tst-strfrom-locale.c: New file.
7952
7953 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7954 * stdlib/bug-strtod2.c: Likewise.
7955 * stdlib/tst-strtod-round-skeleton.c: Likewise.
7956 * stdlib/tst-strtod6.c: Likewise.
7957 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7958
7959 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7960
7961 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7962 * manual/arith.texi: Document strfromd, strfromf, strfroml.
7963 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7964 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7965 * stdlib/stdlib.h (strfromd): New declaration.
7966 (strfromf): Likewise.
7967 (strfroml): Likewise.
7968 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
7969 strfrom.
7970 * stdlib/strfromd.c: New file.
7971 * stdlib/strfromf.c: Likewise.
7972 * stdlib/strfroml.c: Likewise.
7973 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7974 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7975 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7976 * sysdeps/arm/nacl/libc.abilist: Update.
7977 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7980 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7981 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7982 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7983 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7984 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7985 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7986 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7987 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7988 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7989 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7990 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7996 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7997 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8002 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8003 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8005
8006 2016-10-25 Joseph Myers <joseph@codesourcery.com>
8007
8008 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8009 instead of cmpli.
8010 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8011 instead of cmpli.
8012
8013 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
8014
8015 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8016 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8017 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8019 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8020 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8021
8022 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8023
8024 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8025 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8026 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8027 SYSCALL_LL64_PRW.
8028 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8029 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8030 __ASSUME_PRW_DUMMY_ARG.
8031 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8032 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8033 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8034 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8035 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8036 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8037
8038 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
8039
8040 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8041
8042 2016-10-22 Florian Weimer <fweimer@redhat.com>
8043
8044 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8045 "C++", to override a potential extern "C" directive around the
8046 header file inclusion.
8047
8048 2016-10-21 Joseph Myers <joseph@codesourcery.com>
8049
8050 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8051
8052 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8053
8054 * sysdeps/powerpc/fpu/fenv_private.h:
8055 (_FPU_MASK_ALL): Rename to...
8056 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8057 XE FPSCR bits.
8058
8059 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8060
8061 (_FPU_MASK_ROUNDING): Rename to...
8062 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8063 NI bits.
8064
8065 (_FPU_MASK_EXCEPT_ROUND): Rename to...
8066 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8067 bits and rounding bits.
8068
8069 (__libc_feholdbits_ppc): New inline function to mask, set,
8070 and pontentially clear FSPCR bits, and change MSR[FE] bits.
8071 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8072 (libc_feholdexcept_setround_ppc): Likewise.
8073
8074 (__libc_femergeenv_ppc): New function to dynamically mask both
8075 old and new FP environments and merge.
8076 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8077 (libc_feresetround_ppc): Likewise.
8078 (libc_feupdateenv_test_ppc): Likewise.
8079 (libc_feupdateenv_ppc): Likewise.
8080
8081 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8082 of ISA RN bits, and update macro names.
8083 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8084 effectively the same as the previously mentioned function.
8085
8086 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8087 usage with fe_resetround_ppc.
8088
8089 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8090 to be used.
8091 (libc_feholdexcept_setround_ctxf): Likewise.
8092 (libc_feholdexcept_setround_ctxl): Likewise.
8093
8094 2016-10-21 Florian Weimer <fweimer@redhat.com>
8095
8096 [BZ #20715]
8097 * math/math.h [__cplusplus] (iszero): Define as function template.
8098 * math/Makefile [CXX] (tests): Add test-math-iszero.
8099 (CFLAGS-test-math-iszero.cc): Set.
8100 * math/test-math-iszero.cc: New file.
8101
8102 2016-10-20 Joseph Myers <joseph@codesourcery.com>
8103
8104 [BZ #20660]
8105 * sysdeps/arm/e_sqrt.c: New file.
8106 * sysdeps/arm/e_sqrtf.c: Likewise.
8107
8108 2016-10-19 Joseph Myers <joseph@codesourcery.com>
8109
8110 [BZ #20718]
8111 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8112 not use floating-point comparisons to test sign.
8113 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8114 Likewise.
8115
8116 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8117 (getpayload): New declaration.
8118 * math/Versions (getpayload): New libm symbol at version
8119 GLIBC_2.25.
8120 (getpayloadf): Likewise.
8121 (getpayloadl): Likewise.
8122 * math/Makefile (libm-calls): Add s_getpayloadF.
8123 * math/libm-test.inc: Include <nan-high-order-bit.h>.
8124 (struct test_f_f_data): Add comment.
8125 (RUN_TEST_fp_f): New macro.
8126 (RUN_TEST_LOOP_fp_f): Likewise.
8127 (getpayload_test_data): New array.
8128 (getpayload_test): New function.
8129 (main): Call getpayload_test.
8130 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8131 descriptor.
8132 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8133 getpayloadf and getpayloadl.
8134 * manual/libm-err-tab.pl: Update comment on interfaces without
8135 ulps tabulated.
8136 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8137 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8138 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8139 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8142 * sysdeps/nacl/libm.abilist: Update.
8143 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8144 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8145 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8146 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8147 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8148 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8149 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8150 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8151 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8152 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8153 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8154 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8156 Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8158 Likewise.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8160 Likewise.
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8162 Likewise.
8163 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8169 Likewise.
8170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8171 Likewise.
8172 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8173 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8174 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8175
8176 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8177
8178 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8179 tst-fallocate{64}.
8180 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8181 on syscall return.
8182
8183 2016-10-17 Carlos O'Donell <carlos@redhat.com>
8184
8185 [BZ #20689]
8186 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8187 usable.
8188
8189 2016-10-17 Joseph Myers <joseph@codesourcery.com>
8190
8191 * sysdeps/generic/nan-high-order-bit.h: New file.
8192 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8193 * sysdeps/mips/nan-high-order-bit.h: Likewise.
8194 * sysdeps/hppa/math_private.h: Remove file.
8195 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8196 not define here.
8197 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8198 <nan-high-order-bit.h>.
8199 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8200 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8201 <nan-high-order-bit.h>.
8202 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8203 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8204 <nan-high-order-bit.h>.
8205 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8206 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8207 <nan-high-order-bit.h>.
8208 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8209 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8210 <nan-high-order-bit.h>.
8211 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8212 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8213 <nan-high-order-bit.h>.
8214 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8215 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8216 <nan-high-order-bit.h>.
8217 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8218 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8219 <nan-high-order-bit.h>.
8220 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8221 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8222 <nan-high-order-bit.h>.
8223 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8224 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8225 <nan-high-order-bit.h>.
8226 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8227 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8228 <nan-high-order-bit.h>.
8229 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8230 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8231 <nan-high-order-bit.h>.
8232 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8233 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8234 <nan-high-order-bit.h>.
8235 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8236 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8237 <nan-high-order-bit.h>.
8238 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8239 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8240 <nan-high-order-bit.h>.
8241 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8242 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8243 <nan-high-order-bit.h>.
8244 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8245 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8246 <nan-high-order-bit.h>.
8247 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8248 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8249 <nan-high-order-bit.h>.
8250 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8251
8252 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8253
8254 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8255
8256 2016-09-22 John David Anglin <dave.anglin@bell.net>
8257
8258 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8259 abort-instr.h.
8260 (EFAULT): Remove conditional define.
8261 (ENOSYS): Likewise.
8262 (atomic_compare_and_exchange_val_acq): Use instruction nullification
8263 instead of conditional branch instructions.
8264
8265 2016-10-15 Joseph Myers <joseph@codesourcery.com>
8266
8267 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8268 (totalordermag): New declaration.
8269 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8270 New macro.
8271 * math/Versions (totalordermag): New libm symbol at version
8272 GLIBC_2.25.
8273 (totalordermagf): Likewise.
8274 (totalordermagl): Likewise.
8275 * math/Makefile (libm-calls): Add s_totalordermagF.
8276 * math/libm-test.inc (totalordermag_test_data): New array.
8277 (totalordermag_test): New function.
8278 (main): Call totalordermag_test.
8279 * math/test-tgmath.c (NCALLS): Increase to 125.
8280 (F(compile_test)): Call totalordermag.
8281 (F(totalordermag)): New function.
8282 * manual/arith.texi (FP Comparison Functions): Document
8283 totalordermag, totalordermagf and totalordermagl.
8284 * manual/libm-err-tab.pl: Update comment on interfaces without
8285 ulps tabulated.
8286 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8287 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8288 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8293 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8294 totalordermag.
8295 (CFLAGS-nldbl-totalordermag.c): New variable.
8296 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8297 (do_test): Also test totalordermagl.
8298 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8299 Likewise.
8300 * sysdeps/nacl/libm.abilist: Update.
8301 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8303 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8304 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8307 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8308 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8309 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8310 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8311 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8314 Likewise.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8316 Likewise.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8318 Likewise.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8320 Likewise.
8321 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8322 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8323 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8325 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8327 Likewise.
8328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8329 Likewise.
8330 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8331 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8332 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8333
8334 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
8335
8336 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8337 boolean.
8338
8339 2016-10-13 Joseph Myers <joseph@codesourcery.com>
8340
8341 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8342 raising FE_INVALID with feraisexcept in case where part of
8343 argument is infinite, subtract that part of argument from itself.
8344 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8345 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8346 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8347
8348 2016-10-12 Joseph Myers <joseph@codesourcery.com>
8349
8350 * math/libm-test.inc (totalorder_test_data): Add more tests.
8351
8352 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8353
8354 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8355 Undefine weak_alias and add a comment why mips64 require
8356 versioning.
8357
8358 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 [BZ #20647]
8361 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8362 maximum CPUID level is less than 2.
8363
8364 2016-10-12 Joseph Myers <joseph@codesourcery.com>
8365
8366 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8367 (totalorder): New declaration.
8368 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8369 New macro.
8370 * math/Versions (totalorder): New libm symbol at version
8371 GLIBC_2.25.
8372 (totalorderf): Likewise.
8373 (totalorderl): Likewise.
8374 * math/Makefile (libm-calls): Add s_totalorderF.
8375 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8376 string.
8377 * math/libm-test.inc (PAYLOAD_DIG): New macro.
8378 (qnan_value_pl): Likewise.
8379 (snan_value_pl): Likewise.
8380 (qnan_value): Define using qnan_value_pl.
8381 (snan_value): Define using snan_value_pl.
8382 (struct test_ff_i_data): Add comment about which tests use this
8383 structure.
8384 (RUN_TEST_ff_b): New macro.
8385 (RUN_TEST_LOOP_ff_b): Likewise.
8386 (totalorder_test_data): New array.
8387 (totalorder_test): New function.
8388 (main): Call totalorder_test.
8389 * math/test-tgmath.c (NCALLS): Increase to 122.
8390 (F(compile_test)): Call totalorder.
8391 (F(totalorder)): New function.
8392 * manual/arith.texi (FP Comparison Functions): Document
8393 totalorder, totalorderf and totalorderl.
8394 * manual/libm-err-tab.pl: Update comment on interfaces without
8395 ulps tabulated.
8396 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8397 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8398 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8403 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8404 totalorder.
8405 (CFLAGS-nldbl-totalorder.c): New variable.
8406 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8407 file.
8408 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8409 Add test-totalorderl-ldbl-128ibm.
8410 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8411 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8412 test-totalorderl-ldbl-96.
8413 * sysdeps/nacl/libm.abilist: Update.
8414 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8415 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8416 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8417 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8418 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8419 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8420 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8421 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8422 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8423 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8424 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8425 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8431 Likewise.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8433 Likewise.
8434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8437 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8438 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8440 Likewise.
8441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8442 Likewise.
8443 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8444 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8445 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8446
8447 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8448
8449 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8450 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8451 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8452 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8453 remove ENOSYS implementation.
8454 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8455 Consolidate all Linux implementations.
8456
8457 2016-10-11 Florian Weimer <fweimer@redhat.com>
8458
8459 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8460 * resolv/herror.c (herror): Cast away const-ness.
8461 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8462 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8463
8464 2016-10-11 Joseph Myers <joseph@codesourcery.com>
8465
8466 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8467 instead of M_NAN + M_NAN.
8468 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8469
8470 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8471
8472 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8473 unused variable 'p'.
8474
8475 2016-10-09 Alan Modra <amodra@gmail.com>
8476 Andreas Schwab <schwab@linux-m68k.org>
8477
8478 [BZ #20554]
8479 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8480 [PIC && !SHARED]: Set up PIC register for PLT call.
8481
8482 2016-10-07 Joseph Myers <joseph@codesourcery.com>
8483
8484 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8485 conditional on value of [__FLT_EVAL_METHOD__].
8486 * math/test-iseqsig-excess-precision.c: New file.
8487 * math/Makefile (tests): Add test-iseqsig-excess-precision.
8488
8489 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8490
8491 * math/s_iseqsig_template.c: Include math-private.h.
8492
8493 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8494 * posix/tst-posix_fadvise.c: New file.
8495 * posix/tst-posix_fadvise64.c: Likewise.
8496 * posix/tst-posix_fadvise-common.c: Likewise.
8497 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8498 (__ASSUME_FADVISE64_64_6ARG): Define.
8499 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8500 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8501 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8502 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8503 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8504 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8505 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8506 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8507 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8508 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8509 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8510 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8513 Likewise.
8514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8515 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8516 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8517 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8518 Alias to __posix_fadvise64_l32.
8519 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8520 Add compat definition to posix_fadvise64.
8521 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8522 Add versioned definition to posix_fadvise64.
8523 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8524 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8525 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8526 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8527 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8528
8529 * io/Makefile (tests): Add tst-posix_fallocate and
8530 tst-posix_fallocate64.
8531 * io/tst-posix_fallocate-common.c: New file.
8532 * io/tst-posix_fallocate.c: Likewise.
8533 * io/tst-posix_fallocate64.c: Likewise.
8534 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8535 file.
8536 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8537 Likewise.
8538 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8539 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8540 Likewise.
8541 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8542 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8543 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8544 SYSCALL_LL to pass both offset and len arguments.
8545 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8546 Likewise.
8547 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8548 __libc_pwrite64 alias used by posix_fallocate64.
8549
8550 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8551 tst-fallocate64.
8552 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8553 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8554 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8555 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8556 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8557 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8558 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8559 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8561 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8562 macro on offset argument.
8563 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8564 SYSCALL_LL64 on offset argument.
8565
8566 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8567 tst-fallocate64.
8568 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8569 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8570 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8571 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8572 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8573 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8574 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8575 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8576 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8577 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8578 macro on offset argument.
8579 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8580 SYSCALL_LL64 on offset argument.
8581 * test-skeleton.c (FAIL_RET): Add macro.
8582 (FAIL_EXIT): Likewise.
8583 (FAIL_EXIT1): Likewise.
8584 (_FAIL): Likewise.
8585
8586 2016-10-07 Florian Weimer <fweimer@redhat.com>
8587
8588 [BZ #20629]
8589 resolv: Remove RES_USEBSTRING and its implementation.
8590 * resolv/resolv.h (RES_USEBSTRING): Remove.
8591 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8592 (digitvalue, encode_bitstring, decode_bitstring): Remove.
8593 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8594 (labellen): Remove extended label types support.
8595 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8596 * resolv/res_init.c (res_setoptions): Likewise.
8597 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8598
8599 2016-10-07 Florian Weimer <fweimer@redhat.com>
8600
8601 resolv: Remove RES_NOIP6DOTINT and its implementation.
8602 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8603 (RES_NOIP6DOTINT): Remove.
8604 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8605 handling.
8606 * resolv/res_debug.c (p_option): Likewise.
8607 * resolv/res_init.c (res_setoptions): Likewise.
8608 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8609
8610 2016-10-07 Florian Weimer <fweimer@redhat.com>
8611
8612 resolv: Deprecate unimplemented flags.
8613 * misc/sys/cdefs.h (__glibc_macro_warning1)
8614 (__glibc_macro_warning): Define.
8615 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8616 (RES_KEEPTSIG): Mark as deprecated.
8617 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8618 RES_NOCHECKNAME, RES_KEEPTSIG.
8619 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8620
8621 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8622
8623 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8624 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8625 Use strong_alias to create symbols for glibc verison 2.19.
8626
8627 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8628
8629 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8630
8631 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8632
8633 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8634
8635 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8636
8637 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8638
8639 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8640
8641 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8642 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8643 in header for using it as type for ifunc function because __GI_* symbols
8644 for ppc32 do not target the ifunc symbols.
8645 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8646
8647 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8648
8649 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8650 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8651 libc_ifunc_hidden_def.
8652 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8653 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8654 Redirect ifunced function in header for using it as type of ifunc'ed
8655 function. Redefine libc_hidden_def to use fallback non ifunc'ed
8656 function for __GI_* symbol.
8657 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8658 * include/libc-symbols.h
8659 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8660
8661 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8662
8663 [BZ #20478]
8664 * sysdeps/s390/multiarch/ifunc-resolve.h
8665 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8666 to create ifunc symbols.
8667 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8668 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8669 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8670 for using it as type for ifunc function.
8671 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8672 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8673 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8674 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8675 * sysdeps/s390/multiarch/strcat.c: Likewise.
8676 * sysdeps/s390/multiarch/strchr.c: Likewise.
8677 * sysdeps/s390/multiarch/strcmp.c: Likewise.
8678 * sysdeps/s390/multiarch/strcpy.c: Likewise.
8679 * sysdeps/s390/multiarch/strcspn.c: Likewise.
8680 * sysdeps/s390/multiarch/strlen.c: Likewise.
8681 * sysdeps/s390/multiarch/strncmp.c: Likewise.
8682 * sysdeps/s390/multiarch/strncpy.c: Likewise.
8683 * sysdeps/s390/multiarch/strnlen.c: Likewise.
8684 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8685 * sysdeps/s390/multiarch/strrchr.c: Likewise.
8686 * sysdeps/s390/multiarch/strspn.c: Likewise.
8687 * sysdeps/s390/multiarch/wcschr.c: Likewise.
8688 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8689 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8690 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8691 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8692 * sysdeps/s390/multiarch/wmemset.c: Likewise.
8693 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8694 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8695 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8696 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8697 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8698 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8699
8700 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8701
8702 * include/libc-symbols.h (__ifunc_resolver):
8703 New macro is used by __ifunc* macros.
8704 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8705 depending on HAVE_GCC_IFUNC.
8706 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8707 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8709 Redirect ifunced function in header for using as type for ifunc function.
8710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8716 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8717 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8718 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8719 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8720 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8721 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8723 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8729 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8730 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8731 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8732 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8733 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8734 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8735 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8736 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8737 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8738 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8739 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8740 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8741 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8742 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8744 Add libc_hidden_def() and use libc_ifunc_hidden() macro
8745 instead of libc_ifunc() macro.
8746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8748
8749 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
8750
8751 * config.h.in (HAVE_GCC_IFUNC): New undef.
8752 * configure.ac: Add check if gcc supports attribute ifunc feature.
8753 * configure: Regenerated.
8754 * manual/install.texi: Add recommendation for gcc with
8755 indirect-function support.
8756 * INSTALL: Regenerated.
8757
8758 2016-10-06 Joseph Myers <joseph@codesourcery.com>
8759
8760 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8761 macro.
8762 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8763 (__iseqsig): New declaration.
8764 * math/s_iseqsig_template.c: New file.
8765 * math/Versions (__iseqsigf): New libm symbol at version
8766 GLIBC_2.25.
8767 (__iseqsig): Likewise.
8768 (__iseqsigl): Likewise.
8769 * math/libm-test.inc (iseqsig_test_data): New array.
8770 (iseqsig_test): New function.
8771 (main): Call iseqsig_test.
8772 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8773 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8774 * manual/libm-err-tab.pl: Update comment on interfaces without
8775 ulps tabulated.
8776 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8777 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8778 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8779 * sysdeps/nacl/libm.abilist: Update.
8780 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8782 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8783 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8784 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8785 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8786 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8787 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8788 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8789 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8793 Likewise.
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8795 Likewise.
8796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8797 Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8799 Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8806 Likewise.
8807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8808 Likewise.
8809 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8812
8813 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
8814
8815 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8816 do_sincos_2, sloww, sloww1): Update comments.
8817
8818 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8819 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8820
8821 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8822 K boolean and rename it.
8823 (__sin): Adjust.
8824 (__cos): Adjust.
8825
8826 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
8827 Siddhesh Poyarekar <siddhesh@sourceware.org>
8828
8829 * manual/nss.texi: Fix typos in the manual.
8830
8831 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
8832
8833 * manual/contrib.texi: Fix typos in the manual.
8834
8835 * manual/maint.texi: Fix typos in the manual.
8836
8837 * manual/install.texi: Fix typos in the manual.
8838 * INSTALL: Regenerated.
8839
8840 * manual/lang.texi: Fix typos in the manual.
8841
8842 * manual/probes.texi: Fix typos in the manual.
8843
8844 * manual/threads.texi: Fix typos in the manual.
8845
8846 * manual/debug.texi: Fix typos in the manual.
8847
8848 * manual/crypt.texi: Fix typos in the manual.
8849
8850 * manual/conf.texi: Fix typos in the manual.
8851
8852 * manual/sysinfo.texi: Fix typos in the manual.
8853
8854 * manual/users.texi: Fix typos in the manual.
8855
8856 * manual/job.texi: Fix typos in the manual.
8857
8858 * manual/process.texi: Fix typos in the manual.
8859
8860 * manual/argp.texi: Fix typos in the manual.
8861 * manual/getopt.texi: Likewise.
8862 * manual/startup.texi: Likewise.
8863
8864 * manual/signal.texi: Fix typos in the manual.
8865
8866 * manual/setjmp.texi: Fix typos in the manual.
8867
8868 * manual/resource.texi: Fix typos in the manual.
8869
8870 * manual/time.texi: Fix typos in the manual.
8871
8872 * manual/arith.texi: Fix typos in the manual.
8873
8874 * manual/math.texi: Fix typos in the manual.
8875
8876 * manual/syslog.texi: Fix typos in the manual.
8877
8878 * manual/terminal.texi: Fix typos in the manual.
8879
8880 * manual/socket.texi: Fix typos in the manual.
8881
8882 * manual/filesys.texi: Fix typos in the manual.
8883
8884 * manual/llio.texi: Fix typos in the manual.
8885
8886 * manual/stdio.text: Fix typos in the manual.
8887
8888 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8889
8890 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8891 instead of K1.
8892
8893 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8894 SHIFT_QUADRANT and make it bool.
8895 (do_sincos_2): Likewise.
8896 (sloww): Likewise.
8897 (sloww1): Likewise.
8898 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8899 (__cos): Likewise.
8900
8901 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8902
8903 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8904
8905 2016-10-04 Joseph Myers <joseph@codesourcery.com>
8906
8907 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8908 Define to __WORDSIZE, not conditional on [LONG_MAX ==
8909 0x7fffffffL].
8910 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8911
8912 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8913
8914 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8915 inline by __inline__.
8916 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8917 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8918 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8919 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8920 sigset_t from signal.h.
8921 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8922 which is already required.
8923
8924 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
8925
8926 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8927
8928 2016-10-03 Joseph Myers <joseph@codesourcery.com>
8929
8930 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8931 (struct tcp_repair_window): New type.
8932
8933 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8934
8935 * libio/tst-memstream3.c: Include string.h.
8936
8937 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8938
8939 [BZ #18241]
8940 [BZ #20181]
8941 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8942 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8943 write position is at the end the buffer.
8944 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8945 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8946 (_IO_str_seekoff): Set correct offset from negative displacement and
8947 set EINVAL for invalid ones.
8948 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8949 buffer length.
8950 (_IO_wstr_switch_to_get_mode): New function.
8951 (_IO_wstr_seekoff): Set correct offset from negative displacement and
8952 set EINVAL for invalid ones.
8953 * libio/tst-memstream3.c: New file.
8954 * libio/tst-wmemstream3.c: Likewise.
8955 * manual/examples/memstrm.c: Remove warning when priting size_t.
8956
8957 2016-09-30 Joseph Myers <joseph@codesourcery.com>
8958
8959 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8960 macro to use __builtin_fma.
8961 * sysdeps/x86_64/fpu/dla.h: Remove file.
8962
8963 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8964 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8965 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8966
8967 2016-09-30 Carlos O'Donell <carlos@redhat.com>
8968
8969 [BZ #20292]
8970 * elf/Makefile (routines): Add dl-addr-obj.
8971 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8972 tst-_dl_addr_inside_object.
8973 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8974 [ifeq (yesyes,$(have-fpie)$(build-shared))]
8975 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8976 [ifeq (yesyes,$(have-fpie)$(build-shared))]
8977 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8978 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8979 * elf/dl-open.c: Likewise.
8980 * elf/dl-addr-obj.c: New file.
8981 * elf/tst-_dl_addr_inside_object.c: New file.
8982
8983 2016-09-30 Joseph Myers <joseph@codesourcery.com>
8984
8985 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8986 <bits/iscanonical.h>.
8987 * bits/iscanonical.h: New file.
8988 * math/s_iscanonicall.c: Likewise.
8989 * math/Versions (__iscanonicall): New libm symbol at version
8990 GLIBC_2.25.
8991 * math/libm-test.inc (iscanonical_test_data): New array.
8992 (iscanonical_test): New function.
8993 (main): Call iscanonical_test.
8994 * math/Makefile (headers): Add bits/iscanonical.h.
8995 (type-ldouble-routines): Add s_iscanonicall.
8996 * manual/arith.texi (Floating Point Classes): Document
8997 iscanonical.
8998 * manual/libm-err-tab.pl: Update comment on interfaces without
8999 ulps tabulated.
9000 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9001 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9002 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9003 Likewise.
9004 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9005 test-iscanonical-ldbl-128ibm.
9006 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9007 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9008 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9009 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9010 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9011 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9012 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9014 Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9016 Likewise.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9018 Likewise.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9020 Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9022 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9023
9024 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9025
9026 * string/bits/string3.h: Remove C++ style comments.
9027
9028 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
9029
9030 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9031 instead of ternary condition.
9032 (do_sincos_2): Likewise.
9033 (__sin): Likewise.
9034 (__cos): Likewise.
9035 (slow): Likewise.
9036 (sloww): Likewise.
9037 (sloww1): Likewise.
9038 (bsloww): Likewise.
9039 (bsloww1): Likewise.
9040
9041 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9042 instead of ternary condition.
9043 (do_sin_slow): Likewise.
9044 (do_sincos_1): Likewise.
9045 (do_sincos_2): Likewise.
9046 (__cos): Likewise.
9047 (sloww): Likewise.
9048 (sloww1): Likewise.
9049 (sloww2): Likewise.
9050 (bsloww): Likewise.
9051 (bsloww1): Likewise.
9052 (bsloww2): Likewise.
9053
9054 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9055 check from here...
9056 (slow2): ... and here...
9057 (__sin): ... to here.
9058
9059 2016-09-28 Joseph Myers <joseph@codesourcery.com>
9060
9061 * math/math.h
9062 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9063 Cast argument to its own type.
9064 * math/test-iszero-excess-precision.c: New file.
9065 * math/Makefile (tests): Add test-iszero-excess-precision.
9066 (CFLAGS-test-iszero-excess-precision.c): New variable.
9067
9068 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9069
9070 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9071 field, add err field.
9072 (__spawni_child): Report error through err member instead of pipe.
9073 (__spawnix): Likewise.
9074
9075 2016-09-28 Zack Weinberg <zackw@panix.com>
9076
9077 * scripts/check-installed-headers.sh: Generalize treatment of
9078 sys/elf.h to all target architectures.
9079
9080 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9081 deleted typedef ucontext_t.
9082
9083 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9084
9085 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9086 (__INTERNAL_SYSCALL1): Likewise.
9087 (__INTERNAL_SYSCALL2): Likewise.
9088 (__INTERNAL_SYSCALL3): Likewise.
9089 (__INTERNAL_SYSCALL4): Likewise.
9090 (__INTERNAL_SYSCALL5): Likewise.
9091 (__INTERNAL_SYSCALL6): Likewise.
9092 (__INTERNAL_SYSCALL7): Likewise.
9093 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9094 (__INTERNAL_SYSCALL_NARGS): Likewise.
9095 (__INTERNAL_SYSCALL_DISP): Likewise.
9096 (INTERNAL_SYSCALL_CALL): Likewise.
9097 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9098 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9099 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9100 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9101 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9102 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9103 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9104 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9105 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9106 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9107 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9108 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9109 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9110
9111 2016-09-23 Joseph Myers <joseph@codesourcery.com>
9112
9113 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9114 macro.
9115 * math/libm-test.inc (iszero_test_data): New array.
9116 (iszero_test): New function.
9117 (main): Call iszero_test.
9118 * manual/arith.texi (Floating Point Classes): Document iszero.
9119 * manual/libm-err-tab.pl: Update comment on interfaces without
9120 ulps tabulated.
9121
9122 2016-09-23 Zack Weinberg <zackw@panix.com>
9123
9124 * scripts/check-installed-headers.sh: New script.
9125 * Rules: In each directory that defines header files to be installed,
9126 run check-installed-headers.sh on them as a special test.
9127 * Makefile: Likewise for the headers installed at top level.
9128
9129 * include/aliases.h, include/alloca.h, include/argz.h
9130 * include/arpa/nameser.h, include/arpa/nameser_compat.h
9131 * include/elf.h, include/envz.h, include/err.h
9132 * include/execinfo.h, include/fpu_control.h, include/getopt.h
9133 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9134 * include/link.h, include/malloc.h, include/mcheck.h
9135 * include/mntent.h, include/netinet/ether.h
9136 * include/nss.h, include/obstack.h, include/printf.h
9137 * include/pty.h, include/resolv.h, include/rpc/auth.h
9138 * include/rpc/auth_des.h, include/rpc/auth_unix.h
9139 * include/rpc/clnt.h, include/rpc/des_crypt.h
9140 * include/rpc/key_prot.h, include/rpc/netdb.h
9141 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9142 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9143 * include/rpc/rpc_msg.h, include/rpc/svc.h
9144 * include/rpc/svc_auth.h, include/rpc/xdr.h
9145 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9146 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9147 * include/rpcsvc/ypupd.h, include/shadow.h
9148 * include/stdio_ext.h, include/sys/epoll.h
9149 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9150 * include/sys/prctl.h, include/sys/profil.h
9151 * include/sys/statfs.h, include/sys/sysctl.h
9152 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9153 * sysdeps/arm/nacl/include/bits/setjmp.h
9154 * sysdeps/mips/include/sys/asm.h
9155 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9156 * sysdeps/unix/sysv/linux/include/sys/timex.h
9157 * sysdeps/x86/fpu/include/bits/fenv.h:
9158 Add #ifndef _ISOMAC guard around internal declarations.
9159 Add multiple-inclusion guard if not already present.
9160
9161 2016-09-23 Zack Weinberg <zackw@panix.com>
9162
9163 * sysdeps/generic/sys/ucontext.h
9164 * sysdeps/arm/sys/ucontext.h
9165 * sysdeps/i386/sys/ucontext.h
9166 * sysdeps/m68k/sys/ucontext.h
9167 * sysdeps/mips/sys/ucontext.h
9168 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9169 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9170 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9171 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9172 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9173 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9174 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9175 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9177 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9179 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9180 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9181 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9182 Include both bits/sigcontext.h and bits/sigstack.h.
9183 Fix grammar error in comment, if present.
9184
9185 * bits/sigstack.h
9186 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9187 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9188 * sysdeps/unix/sysv/linux/bits/sigstack.h
9189 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9190 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9191 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9192 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9193 * bits/sigcontext.h
9194 * sysdeps/mach/hurd/i386/bits/sigcontext.h
9195 * sysdeps/unix/sysv/linux/bits/sigcontext.h
9196 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9197 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9198 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
9199 as well as signal.h, if this was not already allowed. Request
9200 definition of size_t if necessary. Minimize semantically-null
9201 differences across files.
9202
9203 2016-09-23 Zack Weinberg <zackw@panix.com>
9204
9205 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9206 Remove all logic conditional on __need macros. Move all the
9207 conditionally defined types to their own headers...
9208 * time/bits/types/clock_t.h: Define clock_t here.
9209 * time/bits/types/clockid_t.h: Define clockid_t here.
9210 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9211 * time/bits/types/struct_timespec.h: Define struct timespec here.
9212 * time/bits/types/struct_timeval.h: Define struct timeval here.
9213 * time/bits/types/struct_tm.h: Define struct tm here.
9214 * time/bits/types/time_t.h: Define time_t here.
9215 * time/bits/types/timer_t.h: Define timer_t here.
9216 * time/Makefile: Install the new headers.
9217
9218 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9219 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9220 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9221 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9222 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9223 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9224 * sysdeps/unix/sysv/linux/bits/resource.h
9225 * sysdeps/unix/sysv/linux/bits/timex.h
9226 * sysdeps/unix/sysv/linux/mips/bits/resource.h
9227 * sysdeps/unix/sysv/linux/net/ppp_defs.h
9228 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9229 * sysdeps/unix/sysv/linux/sys/acct.h
9230 * sysdeps/unix/sysv/linux/sys/timerfd.h
9231 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9232 * time/sys/time.h, time/sys/timeb.h
9233 Use the new bits/types headers.
9234
9235 * include/time.h: Remove __need logic.
9236 * include/bits/time.h
9237 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9238 * include/bits/types/time_t.h, include/bits/types/timer_t.h
9239 * include/bits/types/struct_itimerspec.h
9240 * include/bits/types/struct_timespec.h
9241 * include/bits/types/struct_timeval.h
9242 * include/bits/types/struct_tm.h:
9243 New wrapper headers.
9244
9245 2016-09-23 Zack Weinberg <zackw@panix.com>
9246
9247 * sysdeps/mach/hurd/net/if_ppp.h
9248 * sysdeps/unix/sysv/linux/net/if_ppp.h:
9249 Only define struct ifpppstatsreq and struct ifpppcstatsreq
9250 if __USE_MISC is defined, to ensure struct ifreq is declared.
9251
9252 * inet/netinet/ether.h: Condition all function prototypes
9253 on __USE_MISC, to ensure struct ether_addr is declared.
9254
9255 * socket/bits/types/struct_osockaddr.h: New header.
9256 * include/bits/types/struct_osockaddr.h: New wrapper.
9257 * socket/Makefile: Install the new header.
9258 * socket/sys/socket.h, inet/protocols/talkd.h:
9259 Refer to bits/types/struct_osockaddr.h for the definition of
9260 struct osockaddr.
9261
9262 2016-09-23 Zack Weinberg <zackw@panix.com>
9263
9264 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9265 * inet/protocols/routed.h, inet/protocols/talkd.h
9266 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9267 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9268 * sysdeps/generic/netinet/if_ether.h
9269 * sysdeps/generic/netinet/in_systm.h
9270 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9271 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9272 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9273 * sysdeps/mach/hurd/net/if_arp.h
9274 * sysdeps/mach/hurd/net/if_ppp.h
9275 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9276 * sysdeps/unix/sysv/linux/bits/in.h
9277 * sysdeps/unix/sysv/linux/net/ethernet.h
9278 * sysdeps/unix/sysv/linux/net/if_arp.h
9279 * sysdeps/unix/sysv/linux/net/if_ppp.h
9280 * sysdeps/unix/sysv/linux/net/if_shaper.h
9281 * sysdeps/unix/sysv/linux/net/route.h
9282 * sysdeps/unix/sysv/linux/netinet/if_ether.h
9283 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9284 * sysdeps/unix/sysv/linux/netinet/if_tr.h
9285 * sysdeps/unix/sysv/linux/netipx/ipx.h
9286 * sysdeps/unix/sysv/linux/sys/acct.h
9287 * include/arpa/nameser.h, include/resolv.h:
9288 Change all uses of u_char to unsigned char,
9289 u_short and ushort to unsigned short, u_int and uint to unsigned int,
9290 u_long and ulong to unsigned long, u_int8_t to uint8_t,
9291 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9292 and u_int64_t and u_quad_t to uint64_t.
9293
9294 * mach/sys/reboot.h: Remove two casts of integer literals
9295 to the types they already have.
9296
9297 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9298 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9299 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9300 from referring to 'unsigned char' to 'uint8_t' for consistency with
9301 the macro definition below.
9302
9303 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9304 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9305 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9306 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9307 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9308 * sysdeps/unix/sysv/linux/sys/acct.h
9309 * include/arpa/nameser.h, include/resolv.h:
9310 Fix indentation disrupted by mechanical edits.
9311
9312 * inet/protocols/talkd.h, resolv/arpa/nameser.h
9313 * sysdeps/generic/netinet/in_systm.h
9314 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9315 * sysdeps/gnu/netinet/udp.h
9316 * sysdeps/unix/sysv/linux/net/ethernet.h
9317 * sysdeps/unix/sysv/linux/net/if_arp.h
9318 * sysdeps/unix/sysv/linux/net/if_ppp.h
9319 * sysdeps/unix/sysv/linux/net/if_shaper.h
9320 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9321 * sysdeps/unix/sysv/linux/netinet/if_tr.h
9322 * sysdeps/unix/sysv/linux/netipx/ipx.h
9323 * sysdeps/unix/sysv/linux/sys/acct.h
9324 Include stdint.h for uintNN_t definitions.
9325 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9326
9327 2016-09-23 Zack Weinberg <zackw@panix.com>
9328
9329 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9330 * sysdeps/unix/sysv/linux/netrose/rose.h:
9331 Include sys/socket.h and netax25/ax25.h.
9332
9333 * inet/netinet/icmp6.h, inet/netinet/ip6.h
9334 * resolv/arpa/nameser_compat.h:
9335 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9336
9337 * sysdeps/unix/sysv/linux/sys/quota.h:
9338 Use __caddr_t instead of caddr_t.
9339 * sysdeps/unix/sysv/linux/sys/timerfd.h:
9340 Use __clockid_t instead of clockid_t.
9341
9342 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9343
9344 * argp/argp.h: Check whether _LIBC is defined before expanding it.
9345 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9346 expanding it.
9347
9348 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9349 Define __glibc_c99_flexarr_available to 1 when the compiler
9350 supports C99-compatible flexible array members, 0 otherwise.
9351 * sysdeps/unix/sysv/linux/bits/socket.h
9352 * sysdeps/mach/hurd/bits/socket.h
9353 * bits/socket.h: Use __glibc_c99_flexarr_available in
9354 definitions of struct cmsghdr and CMSG_DATA.
9355
9356 2016-09-23 Florian Weimer <fweimer@redhat.com>
9357
9358 * manual/nss.texi (NSS Modules Interface): Adjust function return
9359 type to enum nss_status. Document errnop argument. Clarify
9360 h_errnop semantics. Fix cross-reference formatting.
9361 (NSS Module Function Internals): Mention that *errnop needs to be
9362 set on failure, but not to zero.
9363
9364 2016-09-23 Florian Weimer <fweimer@redhat.com>
9365
9366 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9367 (get_random_name): New functions.
9368 (check_wrapper_flags_mode): Use linkat to give the new file a name
9369 determined by get_random_name.
9370 (do_test): Add calls to test open64 and openat64.
9371
9372 2016-09-23 Florian Weimer <fweimer@redhat.com>
9373
9374 * test-skeleton.c: Remove #include <stdarg.h>.
9375
9376 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
9377
9378 [BZ #19826]
9379 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9380 initialization of static TLS entries.
9381 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9382 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9383
9384 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9385
9386 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9387 _hurd_malloc_fork_prepare.
9388 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9389 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9390 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9391 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9392 (_hurd_fork_child_hook): Drop malloc_fork_child.
9393 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9394 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9395 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9396 after locking locks (notably hurd_dtable_lock). Call
9397 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9398 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9399 __malloc_fork_unlock_child.
9400 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9401
9402 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
9403
9404 * soft-fp/extendhftf2.c: New.
9405 * soft-fp/fixhfti.c: Likewise.
9406 * soft-fp/fixunshfti.c: Likewise.
9407 * soft-fp/floattihf.c: Likewise.
9408 * soft-fp/floatuntihf.c: Likewise.
9409 * soft-fp/half.h: Likewise.
9410 * soft-fp/trunctfhf2.c: Likewise.
9411
9412 2016-09-21 Joseph Myers <joseph@codesourcery.com>
9413
9414 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9415 macro.
9416 * math/libm-test.inc (issubnormal_test_data): New array.
9417 (issubnormal_test): New function.
9418 * manual/arith.texi (Floating Point Classes): Document
9419 issubnormal.
9420 * manual/libm-err-tab.pl: Update comment on interfaces without
9421 ulps tabulated.
9422
9423 * sysdeps/generic/stdint.h: Define
9424 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9425 <bits/libc-header-start.h> instead of including <features.h>.
9426 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9427 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9429 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9431 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9432 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9434 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9435 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9437 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9438 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9440 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9450 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9451 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9452 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9454 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9455 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9456 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9457 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9458 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9459 * manual/arith.texi (Integers): Document these macros for types
9460 specified by width properties.
9461 * manual/lang.texi (Width of Type): Document these macros for
9462 other standard typedefs.
9463 * stdlib/tst-width-stdint.c: New file.
9464 * stdlib/Makefile (tests): Add tst-width-stdint.
9465
9466 2016-09-21 Florian Weimer <fweimer@redhat.com>
9467
9468 [BZ #20016]
9469 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9470 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9471 Move ...
9472 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9473 ... here, as compatibility symbols in a new file.
9474 * resolv/Makefile (libresolv-routines): Add compat-hooks.
9475 * resolv/res_init.c (__res_vinit): Adjust member names.
9476 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9477 * resolv/resolv.h (res_sendhookact, res_send_qhook)
9478 (res_send_rhook): Remove.
9479 (struct __res_state): Rename qhook, rhook members.
9480
9481 2016-09-21 Florian Weimer <fweimer@redhat.com>
9482
9483 malloc: Use __libc_lock wrappers.
9484 * malloc/arena.c (list_lock, free_list_lock): Define using
9485 __libc_lock_define_initialized.
9486 (arena_lock): Adjust formatting.
9487 * malloc/malloc.c (struct malloc_state): Define mutex using
9488 __libc_lock_define.
9489 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9490 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9491 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9492 (mutex_unlock, mutex_trylock): Remove.
9493 (__pthread_initialize): Remove unused macro.
9494 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9495 (mutex_unlock, mutex_trylock): Remove.
9496
9497 2016-09-21 Florian Weimer <fweimer@redhat.com>
9498
9499 [BZ #20592]
9500 Remove RR type classification macros.
9501 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9502 (ns_t_udp_p, ns_t_xfr_p): Remove.
9503
9504 2016-09-21 Florian Weimer <fweimer@redhat.com>
9505
9506 Remove misleading version information.
9507 * resolv/arpa/nameser.h (__NAMESER): Remove.
9508 * resolv/arpa/nameser_compat.h (__BIND): Remove.
9509
9510 2016-09-21 Florian Weimer <fweimer@redhat.com>
9511
9512 Remove the always-defined BIND_4_COMPAT macro.
9513 * resolv/arpa/nameser.h: Unconditionally include
9514 <arpa/nameser_compat.h>.
9515 (BIND_4_COMPAT): Remove.
9516 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9517
9518 2016-09-21 Florian Weimer <fweimer@redhat.com>
9519
9520 [BZ #20591]
9521 Remove obsolete DNSSEC support.
9522 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9523 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9524 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9525 (ns_verify_tcp, ns_verify_tcp_init): Remove.
9526 (ns_cert_types): Add comment.
9527 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9528 separately.
9529 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9530 (dst_s_dns_key_id): Remove.
9531 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9532 variables.
9533
9534 2016-09-21 Florian Weimer <fweimer@redhat.com>
9535
9536 [BZ #20524]
9537 * manual/string.texi (String/Array Comparison): Clarify the
9538 strverscmp behavior.
9539
9540 2016-09-21 Florian Weimer <fweimer@redhat.com>
9541
9542 * test-skeleton.c (xasprintf): Add function.
9543 * io/tst-open-tmpfile.c: New test.
9544 * io/Makefile (tests): Add it.
9545
9546 2016-09-21 Florian Weimer <fweimer@redhat.com>
9547
9548 Avoid running $(CXX) during build to obtain header file paths.
9549 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9550 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9551 * Makerules (cstdlib, cmath): Remove variables. Use
9552 $(c++-cstdlib-header), $(c++-cmath-header) instead.
9553 * configure: Regenerate.
9554
9555 2016-09-21 Florian Weimer <fweimer@redhat.com>
9556
9557 * Makeconfig (all-object-suffixes): Include .op only if
9558 $(build-profile).
9559
9560 2016-09-21 Florian Weimer <fweimer@redhat.com>
9561
9562 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9563 conditionals. Do not define PATH_MAX.
9564
9565 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9566
9567 * posix/Makefile (tests): Add tst-spawn3.
9568 * posix/tst-spawn3.c: New file.
9569 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9570 if it is already opened for open action.
9571
9572 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9573 all signals when executing the clone vfork child.
9574 (SIGALL_SET): Remove macro.
9575
9576 * nptl/Makefile (tests): Add tst-exec5.
9577 * nptl/tst-exec5.c: New file.
9578 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9579 asynchronous cancellation.
9580
9581 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9582
9583 * hurd/exc2signal.c: #include <hurd/signal.h>
9584 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9585 'sigcode', 'error' parameters with 'detail' parameter. Fix code
9586 accordingly.
9587 * mach/mach_error.c (mach_error): Fix old-style function definition.
9588 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9589
9590 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9591
9592 * math/Makefile (libm-calls): Remove s_nanF.
9593 (gen-libm-calls): Add s_nanF.
9594
9595 * math/s_nan.c: Refactor into ...
9596 * math/s_nan_template.c: New file.
9597
9598 * math/s_nanf.c: Removed.
9599 * math/s_nanl.c: Removed.
9600 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9601 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9602
9603 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9604 (LDOUBLE_nanl_libm_version): New macro.
9605
9606 * sysdeps/generic/math-type-macros-double.h:
9607 (M_STRTO_NAN): New macro.
9608 * sysdeps/generic/math-type-macros-float.h: Likewise.
9609 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9610
9611 * sysdeps/generic/math-type-macros.h: Document
9612 M_STRTO_NAN.
9613
9614 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9615
9616 * math/s_nanf.c: Remove __nanf undef.
9617 * math/s_nan.c: Remove __nan undef.
9618 * math/s_nanl.c: Remove __nanl undef.
9619
9620 * sysdeps/generic/math_private.h (__nan): Remove macro
9621 override.
9622 (__nanf): Likewise.
9623 (__nanl): Likewise.
9624
9625 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9626
9627 * math/Makefile (gen-all-calls): New variable.
9628 (generated): Replace gen-libm-calls with gen-all-calls.
9629 (gen-libm-templates.stmp): Likewise. Also, ensure
9630 the output directory exists or is created and add
9631 dependency on the Makefile.
9632 (calls): Move s_ldexpF into gen-calls.
9633 (gen-calls): New variable.
9634
9635 * math/s_ldexpf.c: Removed.
9636 * math/s_ldexpl.c: Removed.
9637 * math/s_ldexp.c: Refactored into ...
9638 * math/s_ldexp_template.c: New file.
9639
9640 * sysdeps/generic/math-type-macros-double.h: Remove
9641 redundant fall-through definition of declare_mgen_alias.
9642 (declare_mgen_alias_2): New macro.
9643
9644 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9645 New macro for function aliased to two exported symbols.
9646
9647 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9648 new template file.
9649 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9650
9651 2016-09-20 Florian Weimer <fweimer@redhat.com>
9652
9653 * Makeconfig (all-object-suffixes): Remove .og.
9654 * Makerules (elide-routines.og): Remove.
9655 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9656 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9657 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9658
9659 2016-09-20 Florian Weimer <fweimer@redhat.com>
9660
9661 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9662 .os objects.
9663
9664 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9665
9666 [BZ #20615]
9667 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9668 fpu directory by non-fpu.
9669 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9670 on non-fpu directory from a fpu directory.
9671
9672 2016-09-19 Joseph Myers <joseph@codesourcery.com>
9673
9674 * include/limits.h: Define
9675 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9676 <bits/libc-header-start.h> instead of including <features.h>.
9677 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9678 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9679 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9680 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9681 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9682 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9683 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9684 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9685 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9686 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9687 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9688 * manual/lang.texi (Width of Type): Document these macros.
9689 * stdlib/tst-width.c: New file.
9690 * stdlib/Makefile (tests): Add tst-width.
9691
9692 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9693
9694 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9695 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9696
9697 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9698
9699 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9700 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9701 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9702
9703 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9704
9705 [BZ #18243]
9706 * rt/Makefile (test): Add tst-shm-cancel.
9707 * rt/tst-shm-cancel.c: New file.
9708 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9709
9710 [BZ #18243]
9711 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9712 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9713 definition.
9714 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9715 uncontended case.
9716 * nptl/sem_wait.c (__new_sem_wait): Likewise.
9717 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9718 (tf): Fix check for uncontended case.
9719 (do_test): Likewise.
9720 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9721 (tf): Fix check for uncontended case.
9722 (do_test): Likewise.
9723 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9724 (tf): Fix check for uncontended case.
9725 (do_test): Likewise.
9726 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9727 (tf): Fix check for uncontended case.
9728 (do_test): Likewise.
9729
9730 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9731 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9732
9733 [BZ #15765]
9734 * nptl/Makefile (tests): Add tst-sem16.
9735 * nptl/tst-sem16.c: New file.
9736 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9737
9738 * nptl/sem_open.c (sem_open): Init pad value to 0.
9739 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9740 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9741
9742 2016-09-15 Florian Weimer <fweimer@redhat.com>
9743
9744 [BZ #20611]
9745 * inet/Makefile (routines): Add inet6_scopeid_pton.
9746 (tests): Add tst-inet6_scopeid_pton.
9747 * inet/inet6_scopeid_pton.c: New file.
9748 * inet/net-internal.h: Likewise.
9749 * inet/tst-inet6_scopeid_pton.c: New test.
9750 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9751 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9753
9754 2016-09-14 Florian Weimer <fweimer@redhat.com>
9755
9756 Remove support for compiling wrappers with PTW.
9757 * sysdeps/nptl/Makeconfig: Drop ptw- support.
9758 * nptl/Makefile (pthread-compat-wrappers): Define.
9759 (libpthread-routines): Use pthread-compat-wrappers.
9760 * sysdeps/unix/sysv/linux/alpha/Makefile
9761 (libpthread-routines, libpthread-shared-only-routines): Remove
9762 ptw- prefix.
9763 * sysdeps/s390/nptl/Makefile
9764 (libpthread-routines, libpthread-shared-only-routines): Likewise.
9765 * sysdeps/ia64/nptl/Makefile
9766 (libpthread-routines, libpthread-shared-only-routines): Likewise.
9767 * sysdeps/nacl/Makefile (libpthread-routines): Use
9768 pthread-compat-wrappers to filter the routines list instead of the
9769 ptw- prefix.
9770
9771 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9772
9773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9774 with L() and remove explicit suffix, convert real literals
9775 which can be equivalentally substituted with integers, and
9776 transform -L(x) to L(-x).
9777
9778 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9826 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9828
9829 2016-09-13 Florian Weimer <fweimer@redhat.com>
9830
9831 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9832
9833 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
9834
9835 * malloc/Makefile (tests): Remove individual static test names
9836 and just add all of tests-static.
9837
9838 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9839
9840 2016-09-07 Joseph Myers <joseph@codesourcery.com>
9841
9842 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9843 file.
9844
9845 * sysdeps/sparc/fpu/fegetmode.c: New file.
9846 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9847
9848 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9849 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9850
9851 * sysdeps/s390/fpu/fegetmode.c: New file.
9852 * sysdeps/s390/fpu/fesetmode.c: Likewise.
9853
9854 * sysdeps/powerpc/fpu/fegetmode.c: New file.
9855 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9856 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9857 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9858 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9859 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9860
9861 * sysdeps/mips/fpu/fegetmode.c: New file.
9862 * sysdeps/mips/fpu/fesetmode.c: Likewise.
9863
9864 * sysdeps/m68k/fpu/fegetmode.c: New file.
9865 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9866
9867 * sysdeps/ia64/fpu/fegetmode.c: New file.
9868 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9869
9870 * sysdeps/hppa/fpu/fegetmode.c: New file.
9871 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9872
9873 * sysdeps/arm/fegetmode.c: New file.
9874 * sysdeps/arm/fesetmode.c: Likewise.
9875
9876 * sysdeps/alpha/fpu/fegetmode.c: New file.
9877 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9878
9879 * sysdeps/aarch64/fpu/fegetmode.c: New file.
9880 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9881
9882 * math/fegetmode.c: New file.
9883 * math/fesetmode.c: Likewise.
9884 * sysdeps/i386/fpu/fegetmode.c: Likewise.
9885 * sysdeps/i386/fpu/fesetmode.c: Likewise.
9886 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9887 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9888 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9889 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9890 declaration.
9891 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9892 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9893 typedef.
9894 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9895 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9896 (femode_t): New typedef.
9897 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9898 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9899 (femode_t): New typedef.
9900 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9901 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9902 (femode_t): New typedef.
9903 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9904 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9905 (femode_t): New typedef.
9906 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9907 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9908 (femode_t): New typedef.
9909 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9910 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9911 (femode_t): New typedef.
9912 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9913 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9914 (femode_t): New typedef.
9915 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9916 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9917 (femode_t): New typedef.
9918 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9919 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9920 (femode_t): New typedef.
9921 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9922 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9923 (femode_t): New typedef.
9924 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9925 declaration.
9926 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9927 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9928 (femode_t): New typedef.
9929 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9930 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9931 (femode_t): New typedef.
9932 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9933 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9934 (femode_t): New typedef.
9935 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9936 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9937 (femode_t): New typedef.
9938 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9939 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9940 (femode_t): New typedef.
9941 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9942 * manual/arith.texi (FE_DFL_MODE): Document macro.
9943 (fegetmode): Document function.
9944 (fesetmode): Likewise.
9945 * math/Versions (fegetmode): New libm symbol at version
9946 GLIBC_2.25.
9947 (fesetmode): Likewise.
9948 * math/Makefile (libm-support): Add fegetmode and fesetmode.
9949 (tests): Add test-femode and test-femode-traps.
9950 * math/test-femode-traps.c: New file.
9951 * math/test-femode.c: Likewise.
9952 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9953 alias for __fe_dfl_env.
9954 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9955 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9956 (__fe_dfl_mode): Likewise.
9957 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9958 version GLIBC_2.25.
9959 * sysdeps/nacl/libm.abilist: Update.
9960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9973 Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9975 Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9977 Likewise.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9979 Likewise.
9980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9982 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9983 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9986 Likewise.
9987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9988 Likewise.
9989 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9990 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9992
9993 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
9994
9995 [BZ #20495]
9996 [BZ #20508]
9997 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9998 processors, set Use_dl_runtime_resolve_slow and set
9999 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10000 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10001 New.
10002 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10003 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10004 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10005 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10006 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10007 if Use_dl_runtime_resolve_opt is set. Use
10008 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10009 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10010 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
10011 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10012 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10013 New.
10014 (_dl_runtime_resolve_opt): Likewise.
10015 (_dl_runtime_profile): Define only if _dl_runtime_profile is
10016 defined.
10017
10018 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10019
10020 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10021 __libc_memalign with "+ RELA R_390_GLOB_DAT".
10022
10023 2016-09-06 Florian Weimer <fweimer@redhat.com>
10024
10025 Convert malloc to __libc_lock. Automated part, using this Perl
10026 s/// command:
10027 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10028 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10029 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10030 conversion.
10031
10032 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
10033
10034 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10035 (linknamespace-symlists-tests): Likewise.
10036 (linknamespace-header-tests): Likewise.
10037
10038 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
10039
10040 [BZ #19810]
10041 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10042 * elf/tst-noload.c: New test case.
10043 * elf/Makefile (tests): Add tst-noload.
10044
10045 2016-09-02 Roland McGrath <roland@hack.frob.com>
10046
10047 * sysdeps/nacl/dup.c: Add libc_hidden_def.
10048
10049 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10050 not any more.
10051
10052 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10053
10054 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10055
10056 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10057 (do_cos_slow): Likewise.
10058 (do_sin): Likewise.
10059 (do_sin_slow): Likewise.
10060 (slow): Likewise.
10061 (slow1): Likewise.
10062 (slow2): Likewise.
10063 (sloww): Likewise.
10064 (sloww1): Likewise.
10065 (sloww2): Likewise.
10066 (bsloww): Likewise.
10067 (bsloww1): Likewise.
10068 (bsloww2): Likewise.
10069 (cslow2): Likewise.
10070
10071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10072
10073 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10074 arguments. Consolidate input partitioning from callers here.
10075 (do_cos_slow): Likewise.
10076 (do_sin): Likewise.
10077 (do_sin_slow): Likewise.
10078 (do_sincos_1): Remove the no longer necessary input partitioning.
10079 (do_sincos_2): Likewise.
10080 (__sin): Likewise.
10081 (__cos): Likewise.
10082 (slow1): Likewise.
10083 (slow2): Likewise.
10084 (sloww1): Likewise.
10085 (sloww2): Likewise.
10086 (bsloww1): Likewise.
10087 (bsloww2): Likewise.
10088 (cslow2): Likewise.
10089
10090 2016-09-02 Florian Weimer <fweimer@redhat.com>
10091
10092 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10093 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
10094 outside of allocated array.
10095
10096 2016-09-02 Florian Weimer <fweimer@redhat.com>
10097
10098 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10099 instead of MB_CUR_MAX to avoid variable-length array.
10100
10101 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10102
10103 * math/Makefile (libm-calls): Remove k_rem_pio2F.
10104 (type-double-routines): Add k_rem_pio2.
10105 (type-float-routines): Add k_rem_pio2f.
10106
10107 * sysdeps/generic/math_private.h:
10108 (__kernel_rem_pio2l): Removed.
10109
10110 * math/k_rem_pio2l.c: Removed.
10111 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10112 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10113 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10114 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10115
10116 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10117
10118 * math/Makefile (gen-libm-calls): Add s_fmin
10119 (libm-calls): Remove above.
10120
10121 * math/s_fmin.c: Refactor into ...
10122 * math/s_fmin_template.c: New file.
10123
10124 * math/s_fminf.c: Removed.
10125 * math/s_fminl.c: Removed.
10126 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10127 (LDOUBLE_fmin_libm_version): New macro.
10128
10129 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10130 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10131
10132 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10133
10134 * math/Makefile: (gen-libm-calls): Add s_fmax.
10135 (libm-calls): Remove above.
10136
10137 * math/s_fmax.c: Refactor into ...
10138 * math/s_fmax_template.c: New file.
10139 * math/s_fmaxf.c: Removed.
10140 * math/s_fmaxl.c: Removed.
10141
10142 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10143 (LDOUBLE_fmaxl_libm_version): New macro.
10144
10145 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10146 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10147
10148 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10149 s_fmin.c to pick the aarch64 version of the file.
10150 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10151 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10152
10153 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10154
10155 * math/Makefile: (gen-libm-calls): Add s_nextdown.
10156 (libm-calls): Remove above.
10157
10158 * math/s_nextdown.c: Refactor into ...
10159 * math/s_nextdown_template.c: New file.
10160 * math/s_nextdownf.c: Removed.
10161 * math/s_nextdownl.c: Removed.
10162
10163 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10164
10165 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10166
10167 * math/Makefile (gen-libm-calls): Add s_fdim.
10168 (libm-calls): Move to above.
10169
10170 * math/s_fdim.c: Renamed and refactored into to ...
10171 * math/s_fdim_template.c: New file.
10172 * math/s_fdiml.c: Removed.
10173 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10174 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10175
10176 * sysdeps/generic/math-type-macros-double.h:
10177 (declare_mgen_alias): Don't declare if already declared.
10178 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10179 Likewise.
10180
10181 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10182 (declare_mgen_alias): Don't declare if already declared.
10183 (M_LIBM_NEED_COMPAT): Likewise.
10184 (declare_mgen_libm_compat): Likewise.
10185 (LDOUBLE_fdiml_libm_version): New macro.
10186
10187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10188 Include math/s_fdim.c now that ldbl-opt version is not needed.
10189 (declare_mgen_alias): New macro to disable aliasing.
10190
10191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10192 (declare_mgen_alias): Likewise.
10193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10194 (declare_mgen_alias): Likewise.
10195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10196 (declare_mgen_alias): Likewise.
10197 (M_LIBM_NEED_COMPAT): Likewise.
10198
10199 2016-09-01 Florian Weimer <fweimer@redhat.com>
10200
10201 [BZ #20525]
10202 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10203 Include <linux/quota.h>.
10204 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10205 and btodb.
10206 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10207 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10208 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10209 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10210 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10211 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10212 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10213 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10214 types.
10215 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10216 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10217
10218 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10219
10220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10221 (gammal_positive): Fix spacing.
10222 (__ieee754_gammal_r): Likewise.
10223
10224 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10225
10226 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10227 (_Float128): Define as long double, always.
10228 (L): Apply long double type suffix, always.
10229
10230 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10231 _Float128, excepting comments.
10232
10233 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10299 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10301
10302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10303 _Float128, and include math_private.h.
10304 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10305
10306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10307 long double semantics.
10308 (_Float128): Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10313
10314 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10315
10316 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10317 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10318 * sysdeps/s390/configure: Regenerated.
10319 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10320 instruction for raising over-/underflow if z196 zarch is supported
10321 by default.
10322 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10323
10324 2016-08-30 Svante Signell <svante.signell@gmail.com>
10325
10326 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10327 it point to a dumb buffer for RPC to fill it.
10328
10329 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
10330
10331 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10332 instead of if/else.
10333 (do_sin_slow): Likewise.
10334 (do_sincos_1): Use fabs instead of if/else.
10335 (do_sincos_2): Likewise.
10336 (__sin): Likewise.
10337 (__cos): Likewise.
10338 (slow2): Likewise.
10339 (sloww): Likewise.
10340 (sloww1): Likewise. Drop argument M.
10341 (sloww2): Use fabs instead of if/else.
10342 (bsloww): Likewise.
10343 (bsloww1): Likewise.
10344 (bsloww2): Likewise.
10345
10346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10347 fall through comment.
10348 (do_sincos_1): Likewise.
10349
10350 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10351 Consolidate switch cases 0 and 2.
10352
10353 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10354
10355 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10356 (libm-calls): Remove the above.
10357
10358 * math/s_cexp_template.c: Update using type-generic macros.
10359 * math/s_clog10_template.c: Likewise.
10360 * math/s_cpow_template.c: Likewise.
10361 * math/s_clog_template.c: Likewise.
10362 * math/s_cproj_template.c: Likewise.
10363 * math/s_csqrt_template.c: Likewise.
10364
10365 * math/s_cexp.c: Removed.
10366 * math/s_cexpf.c: Removed.
10367 * math/s_cexpl.c: Removed.
10368 * math/s_clog10.c: Removed.
10369 * math/s_clog10f.c: Removed.
10370 * math/s_clog10l.c: Removed.
10371 * math/s_cpow.c: Removed.
10372 * math/s_cpowf.c: Removed.
10373 * math/s_cpowl.c: Removed.
10374 * math/s_clog.c: Removed.
10375 * math/s_clogf.c: Removed.
10376 * math/s_clogl.c: Removed.
10377 * math/s_cproj.c: Removed.
10378 * math/s_cprojf.c: Removed.
10379 * math/s_cprojl.c: Removed.
10380 * math/s_csqrt.c: Removed.
10381 * math/s_csqrtf.c: Removed.
10382 * math/s_csqrtl.c: Removed.
10383
10384 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10385 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10386 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10387 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10388 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10389 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10390
10391 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10392 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10393 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10394 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10395 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10396 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10397 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10398 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10399 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10400 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10401 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10402
10403 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10404 version.
10405
10406 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10407 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10408 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10409 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10410
10411 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10412
10413 * s_cexp_template.c: Copy of s_cexp.c.
10414 * s_clog_template.c: Copy of s_clog.c.
10415 * s_clog10_template.c: Copy of s_clog10.c.
10416 * s_cpow_template.c: Copy of s_cpow.c.
10417 * s_cproj_template.c: Copy of s_cproj.c.
10418 * s_csqrt_template.c: Copy of s_csqrt.c.
10419
10420 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10421
10422 [BZ #20517]
10423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10424 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10425 exported.
10426
10427 2016-08-29 Joseph Myers <joseph@codesourcery.com>
10428
10429 * math/fetestexceptflag.c: New file.
10430 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
10431 Stefan Liebler.
10432 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10433 (fetestexceptflag): New function declaration.
10434 * manual/arith.texi (fetestexceptflag): Document function.
10435 * math/Versions (fetestexceptflag): New libm symbol at version
10436 GLIBC_2.25.
10437 * math/Makefile (libm-support): Add fetestexceptflag.
10438 (tests): Add test-fetestexceptflag.
10439 * math/test-fetestexceptflag.c: New file.
10440 * sysdeps/nacl/libm.abilist: Update.
10441 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10454 Likewise.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10456 Likewise.
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10458 Likewise.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10460 Likewise.
10461 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10467 Likewise.
10468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10469 Likewise.
10470 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10471 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10472 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10473
10474 2016-08-26 Florian Weimer <fweimer@redhat.com>
10475
10476 [BZ #20432]
10477 Avoid strong references to malloc-internal symbols when linking
10478 statically, to support statically interposed mallocs.
10479 * include/libc-symbols.h (call_function_static_weak): New macro.
10480 * malloc/Makefile (tests): Add tst-interpose-nothread,
10481 tst-interpose-thread, tst-interpose-static-nothread,
10482 tst-interpose-static-thread.
10483 (tests-static): Add tst-interpose-static-nothread,
10484 tst-interpose-static-thread.
10485 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10486 tst-interpose-aux-thread.o.
10487 (test-extras): Add tst-interpose-aux-nothread,
10488 tst-interpose-aux-thread.
10489 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10490 tst-interpose-aux-nothread.o.
10491 (tst-interpose-thread, tst-interpose-static-thread): Link with
10492 tst-interpose-aux-thread.o and libthread.
10493 * malloc/tst-interpose-aux-nothread.c: New file.
10494 * malloc/tst-interpose-aux-thread.c: Likewise.
10495 * malloc/tst-interpose-aux.c: Likewise.
10496 * malloc/tst-interpose-aux.h: Likewise.
10497 * malloc/tst-interpose-nothread.c: Likewise.
10498 * malloc/tst-interpose-skeleton.c: Likewise.
10499 * malloc/tst-interpose-static-nothread.c: Likewise.
10500 * malloc/tst-interpose-static-thread.c: Likewise.
10501 * malloc/tst-interpose-thread.c: Likewise.
10502 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10503 * sysdeps/mach/hurd/fork.c (__fork): Only call
10504 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10505 __malloc_fork_unlock_child if defined.
10506 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10507
10508 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10509
10510 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10511 timespec C99 designated initialization.
10512
10513 2016-08-26 Florian Weimer <fweimer@redhat.com>
10514
10515 [BZ #19946]
10516 Avoid expected SIGALRM signals.
10517 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10518 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10519 (xpthread_create, xpthread_detach, xpthread_join)
10520 (delayed_exit_thread, delayed_exit): New functions.
10521 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10522 (tf): Use xpthread_cond_wait.
10523 (do_test): Likewise. Replace alarm with delayed_exit.
10524 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10525 (do_test): Call delayed_exit. Report failure.
10526 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10527 (do_test): Call delayed_exit.
10528 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10529 (do_test): Call delayed_exit. Use xpthread_join. Report error.
10530 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10531 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
10532 error.
10533 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10534 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
10535 error.
10536 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10537 (do_test): Call delayed_exit.
10538 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10539 (do_test): Call delayed_exit.
10540 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10541 (do_test): Call delayed_exit instead of alarm. Use
10542 xpthread_mutex_lock.
10543 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10544 (do_test): Call delayed_exit instead of alarm. Use
10545 xpthread_mutex_lock.
10546 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10547 (do_test): Call delayed_exit instead of alarm.
10548 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10549 (do_test): Call delayed_exit instead of alarm. Use
10550 xpthread_spin_lock.
10551 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10552 (do_test): Call delayed_exit instead of alarm. Use
10553 xpthread_join.
10554
10555 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
10556
10557 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10558 adjust CFA when allocating register save area on re-aligned
10559 stack.
10560
10561 2016-08-26 Florian Weimer <fweimer@redhat.com>
10562
10563 * string/tst-cmp.c: New test.
10564 * string/Makefile (tests): Add it.
10565
10566 2016-08-25 Mark Wielaard <mark@klomp.org>
10567
10568 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10569 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
10570 (check_tree_recurse): Use newly defined accessors.
10571 (check_tree): Likewise.
10572 (maybe_split_for_insert): Likewise.
10573 (__tfind): Likewise.
10574 (__tdelete): Likewise.
10575 (trecurse): Likewise.
10576 (tdestroy_recurse): Likewise.
10577 (__tsearch): Likewise. And add asserts for malloc alignment.
10578 (__twalk): Cast root to node in case CHECK_TREE is defined.
10579
10580 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
10581
10582 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10583
10584 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10585
10586 * math/Makefile (libm-gen-calls): Add
10587 catan, catanh, ctan, ctanh.
10588 (libm-calls): Remove the above.
10589
10590 * math/s_catan_template.c: Update using type-generic macros.
10591 * math/s_catanh_template.c: Likewise.
10592 * math/s_ctan_template.c: Likewise.
10593 * math/s_ctanh_template.c: Likewise.
10594
10595 * math/s_catanf.c: Removed.
10596 * math/s_catan.c: Removed.
10597 * math/s_catanl.c: Removed.
10598 * math/s_catanhf.c: Removed.
10599 * math/s_catanh.c: Removed.
10600 * math/s_catanhl.c: Removed.
10601 * math/s_ctanf.c: Removed.
10602 * math/s_ctan.c: Removed.
10603 * math/s_ctanl.c: Removed.
10604 * math/s_ctanhf.c: Removed.
10605 * math/s_ctanh.c: Removed.
10606 * math/s_ctanhl.c: Removed.
10607
10608 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10609 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10610 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10611 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10612 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10613 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10614
10615 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10616 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10617 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10618 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10619
10620 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10621
10622 * s_catan_template.c: Copy of s_catan.c.
10623 * s_catanh_template.c: Copy of s_catanh.c.
10624 * s_ctan_template.c: Copy of s_ctan.c.
10625 * s_ctanh_template.c: Copy of s_ctanh.c.
10626
10627 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10628
10629 * math/Makefile (gen-libm-calls): Move
10630 casin, casinh, csin, csinh here.
10631 (libm-calls): Remove the above.
10632
10633 * math/s_casin_template.c: Update using type-generic macros.
10634 * math/s_casinh_template.c: Likewise.
10635 * math/s_csin_template.c: Likewise.
10636 * math/s_csinh_template.c: Likewise.
10637 * math/k_casinh_template.c: Likewise.
10638
10639 * math/s_casinf.c: Removed.
10640 * math/s_casin.c: Removed.
10641 * math/s_casinl.c: Removed.
10642 * math/s_casinh.c: Removed.
10643 * math/s_casinhf.c: Removed.
10644 * math/s_casinhl.c: Removed.
10645 * math/s_csin.c: Removed.
10646 * math/s_csinf.c: Removed.
10647 * math/s_csinl.c: Removed.
10648 * math/s_csinh.c: Removed.
10649 * math/s_csinhf.c: Removed.
10650 * math/s_csinhl.c: Removed.
10651 * math/k_casinh.c: Removed.
10652 * math/k_casinhf.c: Removed.
10653 * math/k_casinhl.c: Removed.
10654
10655 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10656 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10657 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10658 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10659
10660 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10661 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10662 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10663 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10664 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10665 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10666 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10667 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10668
10669 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10670 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10671 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10672 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10673
10674 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10675 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10676 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10677 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10678
10679 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10680
10681 * s_casin_template.c: Copy of s_casin.c.
10682 * s_casinh_template.c: Copy of s_casinh.c.
10683 * s_csin_template.c: Copy of s_csin.c.
10684 * s_csinh_template.c: Copy of s_csinh.c.
10685 * k_casinh_template.c: Copy of k_casinh.c.
10686
10687 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10690
10691 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10692
10693 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10694 (mul_split) Remove, rename as mul_splitl, remove
10695 redundant float.h include, and include via mul_splitl.h
10696
10697 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10699 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10700 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10702
10703 * math/mul_splitl.h: New file.
10704
10705 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10706 Move into mul_split.h, and remove redundant float.h include.
10707
10708 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10712
10713 * math/mul_split.h: New file.
10714
10715 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10716
10717 * math/Makefile (libm-gen-calls): Move
10718 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10719 (libm-calls): Remove above.
10720
10721 * math/s_cacos_template.c: Update using type-generic macros.
10722 * math/s_cacosh_template.c: Likewise.
10723 * math/s_ccos_template.c: Likewise.
10724 * math/s_ccosh_template.c: Likewise.
10725
10726 * math/s_cacosf.c: Removed.
10727 * math/s_cacos.c: Removed.
10728 * math/s_cacosl.c: Removed.
10729 * math/s_cacoshf.c: Removed.
10730 * math/s_cacosh.c: Removed.
10731 * math/s_cacoshl.c: Removed.
10732 * math/s_ccosf.c: Removed.
10733 * math/s_ccos.c: Removed.
10734 * math/s_ccosl.c: Removed.
10735 * math/s_ccoshf.c: Removed.
10736 * math/s_ccosh.c: Removed.
10737 * math/s_ccoshl.c: Removed.
10738
10739 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10740 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10741 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10742 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10743 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10744 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10745
10746 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10747 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10748 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10749 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10750
10751 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10752 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10753 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10754 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10755
10756 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10757
10758 * s_cacos_template.c: Copy of s_cacos.c.
10759 * s_cacosh_template.c: Copy of s_cacosh.c.
10760 * s_ccos_template.c: Copy of s_ccos.c.
10761 * s_ccosh_template.c: Copy of s_ccosh.c.
10762
10763 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10764
10765 * stdlib/tst-strtod-round-skeleton.c:
10766 Refactored from tst-strtod-round.c.
10767
10768 (L_): New macro to apply literal modifier.
10769 (FNPFX): New macro to select str or wcs prefix.
10770 (CHAR): New macro to choose wchar_t or char.
10771 (STRM): New macro to choose printf for tested character type.
10772
10773 (STRTO): New macro to choose appropriate string -> real function.
10774 (FNPFXS): Stringitized version of FNPFX.
10775 (STR): Support for above macro.
10776 (STRX): Likewise.
10777
10778 (TEST): Update with above macros.
10779 (test): Likewise.
10780 (GEN_ONE_TEST): Likewise.
10781 (test_in_one_mode): Likewise.
10782
10783 * stdlib/tst-strtod-round.c: New file.
10784 * wcsmbs/tst-wcstod-round.c: New file.
10785
10786 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10787 (tst-wcstod-round): Add libm depencency for fesetround.
10788
10789 2016-08-19 Zack Weinberg <zackw@panix.com>
10790
10791 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10792
10793 2016-08-18 Torvald Riegel <triegel@redhat.com>
10794
10795 [BZ #20477]
10796 * resolv/res_hconf.c (do_init): Use atomic access.
10797 * resolv/res_hconf.h: Add comments.
10798 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10799 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10801
10802 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
10803
10804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10805 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10807 Likewise.
10808
10809 2016-08-18 Florian Weimer <fweimer@redhat.com>
10810
10811 [BZ #16907]
10812 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10813 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10814 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10815 (__attribute__): Remove definition.
10816
10817 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10818
10819 * sysdeps/ieee754/ldbl-128/e_asinl.c:
10820 Remove unused sqrtl declaration.
10821
10822 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10823
10824 * math/Makefile: (gen-libm-templates.stmp): New rule.
10825 (libm-calls): Move carg conj cimag and cabs into ...
10826 (gen-libm-calls): New variable.
10827 (generated): Inform Make objects from gen-libm-calls
10828 may be generated.
10829
10830 * sysdeps/generic/math-type-macros.h: New file.
10831 * sysdeps/generic/math-type-macros-float.h: Likewise.
10832 * sysdeps/generic/math-type-macros-double.h: Likewise.
10833 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10834 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10835 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10836
10837 * math/cabs.c: Refactor into
10838 * math/cabs_template.c: new file.
10839 * math/cabsf.c: Removed.
10840 * math/cabsl.c: Removed.
10841 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10842 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10843
10844 * math/carg.c: Refactor into
10845 * math/carg_template.c: new file.
10846 * math/cargf.c: Removed.
10847 * math/cargl.c: Removed.
10848 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10849 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10850
10851 * math/conj.c: Refactor into
10852 * math/conj_template.c: new file.
10853 * math/conjf.c: Removed.
10854 * math/conjl.c: Removed.
10855 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10856 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10857
10858 * math/cimag.c: Refactor into
10859 * math/cimag_template.c: new file.
10860 * math/cimagf.c: Removed.
10861 * math/cimagl.c: Removed.
10862 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10863 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10864
10865 * math/cimag.c: Refactor into
10866 * math/cimag_template.c: new file.
10867 * math/cimagf.c: Removed.
10868 * math/cimagl.c: Removed.
10869 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10870 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10871
10872 2016-08-17 Florian Weimer <fweimer@redhat.com>
10873
10874 Reduce time to expected nptl/tst-once5 failure.
10875 * nptl/tst-once5.cc (TIMEOUT): Define.
10876
10877 2016-08-17 Florian Weimer <fweimer@redhat.com>
10878
10879 [BZ #20452]
10880 Avoid additional copies of objects in libc.a in static libraries.
10881 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10882 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10883 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10884 rt-sysdep.
10885 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10886 Add nptl-sysdep.
10887 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10888 Add ptw-sysdep.
10889 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10890 rt-sysdep.
10891 * sysdeps/unix/sysv/linux/alpha/Makefile
10892 (libpthread-shared-only-routines): Add ptw-sysdep,
10893 ptw-sigprocmask, ptw-rt_sigaction.
10894 * sysdeps/unix/sysv/linux/ia64/Makefile
10895 (librt-shared-only-routines): Add rt-sysdep.
10896 * sysdeps/unix/sysv/linux/i386/Makefile
10897 (libpthread-shared-only-routines): Add libc-do-syscall.
10898 * sysdeps/unix/sysv/linux/microblaze/Makefile
10899 (libpthread-shared-only-routines): Add sysdep.
10900 * sysdeps/unix/sysv/linux/powerpc/Makefile
10901 (librt-shared-only-routines): Add rt-sysdep.
10902 (libpthread-shared-only-routines): Add sysdep.
10903 * sysdeps/unix/sysv/linux/s390/Makefile
10904 (librt-shared-only-routines): Add rt-sysdep.
10905 * sysdeps/unix/sysv/linux/sparc/Makefile
10906 (librt-shared-only-routines): Add rt-sysdep.
10907 (libpthread-shared-only-routines): Add sysdep.
10908 * sysdeps/unix/sysv/linux/tile/Makefile
10909 (libpthread-shared-only-routines): Likewise.
10910
10911 2016-08-16 Joseph Myers <joseph@codesourcery.com>
10912
10913 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10914 Mask implicit bit out of unpacked value.
10915 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10918
10919 * sysdeps/sparc/fpu/fesetexcept.c: New file.
10920
10921 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10922
10923 * sysdeps/s390/fpu/fesetexcept.c: New file.
10924
10925 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10926 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10927 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10928
10929 * sysdeps/mips/fpu/fesetexcept.c: New file.
10930
10931 * sysdeps/m68k/fpu/fesetexcept.c: New file.
10932
10933 * sysdeps/ia64/fpu/fesetexcept.c: New file.
10934
10935 * sysdeps/hppa/fpu/fesetexcept.c: New file.
10936
10937 * sysdeps/arm/fesetexcept.c: New file.
10938
10939 * sysdeps/alpha/fpu/fesetexcept.c: New file.
10940
10941 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10942
10943 * math/fesetexcept.c: New file.
10944 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10945 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10946 * math/fenv.h: Define
10947 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10948 <bits/libc-header-start.h> instead of including <features.h>.
10949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10950 declaration.
10951 * manual/arith.texi (fesetexcept): Document function.
10952 * math/Versions (fesetexcept): New libm symbol at version
10953 GLIBC_2.25.
10954 * math/Makefile (libm-support): Add fesetexcept.
10955 (tests): Add test-fesetexcept and test-fesetexcept-traps.
10956 * math/test-fesetexcept.c: New file.
10957 * math/test-fesetexcept-traps.c: Likewise.
10958 * sysdeps/nacl/libm.abilist: Update.
10959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10974 Likewise.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10976 Likewise.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10978 Likewise.
10979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10985 Likewise.
10986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10987 Likewise.
10988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10991
10992 2016-08-16 Florian Weimer <fweimer@redhat.com>
10993
10994 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10995 New.
10996 (do_test): Apply default_stack_size_in_mb if not set.
10997 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10998
10999 2016-08-15 Andreas Schwab <schwab@suse.de>
11000
11001 [BZ #20435]
11002 CVE-2016-6323
11003 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11004 as .cantunwind.
11005
11006 2016-08-12 Joseph Myers <joseph@codesourcery.com>
11007
11008 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11009 comment from fraiseexcpt.c.
11010
11011 * math/test-fexcept.c (feraiseexcept_exact): New function.
11012 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11013 (test_except): Likewise.
11014
11015 2016-08-10 Joseph Myers <joseph@codesourcery.com>
11016
11017 [BZ #20455]
11018 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11019 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11020 to be restored.
11021
11022 * math/test-fexcept-traps.c: New file.
11023 * math/test-fexcept.c: Likewise.
11024 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11025 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11026 macro.
11027 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11028 (EXCEPTION_SET_FORCES_TRAP): Likewise.
11029
11030 2016-08-09 Torvald Riegel <triegel@redhat.com>
11031
11032 * include/atomic.h (atomic_fetch_and_relaxed,
11033 atomic_fetch_and_release, atomic_fetch_or_release,
11034 atomic_fetch_xor_release): New.
11035
11036 2016-08-06 Christian Seiler <christian@iwakd.de>
11037
11038 [BZ #20444]
11039 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11040 MACH_PORT_NULL.
11041
11042 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
11043
11044 * math/s_fdim.c: Avoid alias renamed.
11045 * math/s_fdimf.c: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11047 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11048 Add s_fdimf-vis3, s_fdim-vis3.
11049 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11050 (CFLAGS-s_fdim-vis3.c): Likewise.
11051 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11052 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11053
11054 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
11055
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11057 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11058 Remove s_fdimf-vis3, s_fdim-vis3.
11059 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11060 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11067 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11068 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11069
11070 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
11071
11072 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11073 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11074 -Wa,-Av9a -mvis.
11075
11076 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11077
11078 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11079 LIT() to individual constants in simple expressions
11080 after splitting on spaces.
11081 (_apply_lit): Rename replaced version, and use it to
11082 apply to what appears to be a token.
11083
11084 * math/libm-test.inc: Fix many, many issues with
11085 spacing.
11086
11087 2016-08-05 Joseph Myers <joseph@codesourcery.com>
11088
11089 * math/math.h: Move comment about <bits/mathdef.h> definitions
11090 above inclusion of <bits/mathdef.h>. Do not mention
11091 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11092
11093 2016-08-05 Torvald Riegel <triegel@redhat.com>
11094
11095 * include/atomic.h (atomic_exchange_relaxed): New.
11096
11097 2016-08-04 Joseph Myers <joseph@codesourcery.com>
11098
11099 * math/e_scalb.c: Do not include <fenv.h>.
11100 (invalid_fn): Do calculation resulting in NaN instead of raising
11101 FE_INVALID and returning a NaN explicitly.
11102 * math/e_scalbf.c: Do not include <fenv.h>.
11103 (invalid_fn): Do calculation resulting in NaN instead of raising
11104 FE_INVALID and returning a NaN explicitly.
11105 * math/e_scalbl.c: Do not include <fenv.h>.
11106 (invalid_fn): Do calculation resulting in NaN instead of raising
11107 FE_INVALID and returning a NaN explicitly.
11108
11109 2016-08-04 Carlos O'Donell <carlos@redhat.com>
11110
11111 * po/de.po: Updated from Translation Project.
11112 * po/fi.po: Likewise.
11113 * po/sv.po: Likewise.
11114
11115 2016-08-04 Florian Weimer <fweimer@redhat.com>
11116
11117 [BZ #20452]
11118 Use sysdep.o from libc.a in static libraries.
11119 * sysdeps/unix/sysv/linux/i386/Makefile
11120 (libpthread-shared-only-routines): Add sysdep.
11121 (librt-shared-only-routines): Likewise.
11122
11123 2016-08-03 Joseph Myers <joseph@codesourcery.com>
11124
11125 * math/tgmath.h (nextdown): Define if
11126 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11127 (nextup): Likewise.
11128
11129 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11130 macro.
11131 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11132 Document.
11133 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11134 Document macro.
11135 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11136 (exp10f): Likewise.
11137 (exp10l): Likewise.
11138 * math/bits/mathcalls.h (exp10): Declare if
11139 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11140
11141 * manual/arith.texi (nextup): Fix typo in last change.
11142
11143 2016-08-03 Zack Weinberg <zackw@panix.com>
11144
11145 [BZ #19239]
11146 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11147 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11148 define major, minor, and makedev to issue deprecation warnings on use.
11149 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11150 previously-activated deprecation warnings for these macros and prevent
11151 subsequent inclusions of this header from having any effect.
11152 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11153 including <sys/sysmacros.h>, and undefine it again afterward.
11154
11155 2016-08-03 Zack Weinberg <zackw@panix.com>
11156
11157 * sysdeps/generic/sys/sysmacros.h: Delete file.
11158 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11159 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11160 * bits/sysmacros.h: ... here; this encoding is now the generic
11161 encoding. Now defines only the following macros:
11162 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11163 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11164 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11165
11166 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11167 bits/sysmacros.h and the above new macros to generate the
11168 public implementations of major, minor, and makedev.
11169 * misc/tst-makedev.c: New test.
11170 * include/sys/sysmacros.h: New wrapper.
11171
11172 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11173 (routines): Add makedev.
11174 (tests): Add tst-makedev.
11175 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11176 gnu_dev_makedev.
11177 * posix/Makefile (headers): Remove sys/sysmacros.h.
11178 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11179
11180 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11181 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11182 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11183 * sysdeps/unix/sysv/linux/alpha/libc.abilist
11184 * sysdeps/unix/sysv/linux/arm/libc.abilist
11185 * sysdeps/unix/sysv/linux/hppa/libc.abilist
11186 * sysdeps/unix/sysv/linux/i386/libc.abilist
11187 * sysdeps/unix/sysv/linux/ia64/libc.abilist
11188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11189 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11190 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11191 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11192 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11193 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11194 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11195 * sysdeps/unix/sysv/linux/nios2/libc.abilist
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11200 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11201 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11202 * sysdeps/unix/sysv/linux/sh/libc.abilist
11203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11207 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11208 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11210 Add GLIBC_2.25.
11211
11212 * include/features.h (__glibc_clang_prereq): New macro.
11213 * misc/sys/cdefs.h (__glibc_clang_has_extension)
11214 (__attribute_deprecated_msg__): New macros.
11215
11216 2016-08-03 Joseph Myers <joseph@codesourcery.com>
11217
11218 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11219 macro.
11220 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11221 * manual/arith.texi (issignaling): Document as ISO from TS
11222 18661-1:2014.
11223 (nextup): Likewise.
11224 (nextupf): Likewise.
11225 (nextupl): Likewise.
11226 (nextdown): Likewise.
11227 (nextdownf): Likewise.
11228 (nextdownl): Likewise.
11229 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11230 macro.
11231 * math/math.h: Define
11232 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11233 <bits/libc-header-start.h> instead of including <features.h>.
11234 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11235 [__USE_GNU].
11236 * math/bits/mathcalls.h (nextdown): Declare if
11237 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11238 (nextup): Likewise.
11239 (__issignaling): Likewise.
11240
11241 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11242
11243 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11244 check, and remove __glibc_likely hint
11245 from FP_INFINITE check.
11246 * s_csinhf.c (__csinhf): Likewise.
11247
11248 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11249 hint from FP_INFINITE check.
11250 * s_csinhl.c (__csinhl): Likewise.
11251
11252 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11253
11254 * math/Makefile (libm-calls): Insert F placeholder into
11255 object names. Move w_lgamma_compat* routines into
11256 (libm-compat-calls): New variable.
11257 (libm-compat-calls-ldouble-yes): New variable.
11258 (calls): Insert F placeholder.
11259 (generated): Redefine using new type-foreach macro call.
11260 (routines): Likewise.
11261
11262 (types): New variable to hold a list of symbolic names
11263 for each type supported by the target machine.
11264 (libm-routines): Redefine using new types variable.
11265 (type-foreach): macro to replace fooF with the
11266 appropriately suffixed foo for each types.
11267
11268 (type-ldouble-suffix): New variable.
11269 (type-ldouble-routines): Likewise.
11270 (type-ldouble-yes): Likewise.
11271 (type-double-suffix): Likewise.
11272 (type-double-routines): Likewise.
11273 (type-float-suffix): Likewise.
11274 (type-float-routines): Likewise.
11275
11276 (dbl-only-routines): Remove.
11277 (long-c-yes): Likewise.
11278 (long-m-routines): Likewise.
11279 (long-m-support): Likewise.
11280 (long-m-yes): Likewise.
11281 (test-longdouble-yes): Likewise.
11282
11283 (test-float.o): Simplify by increasing the scope of the
11284 recipe which adds libm-test.stmp to the vector types.
11285 (test-ifloat.o): Likewise.
11286 (test-float-finite.o): Likewise.
11287 (test-double.o): Likewise
11288 (test-idouble.o): Likewise.
11289 (test-double-finite.o): Likewise.
11290 (test-ldouble.o): Likewise
11291 (test-ildoubl.o): Likewise.
11292 (test-ldouble-finite.o): Likewise.
11293
11294 (libm-tests): Redefine type tests using foreach and the
11295 list of types in types.
11296
11297 (CPPFLAGS-test-ildoubl.c): Rename to
11298 (CPPFLAGS-test-ildouble.c): New variable
11299
11300 * math/test-ildoubl.c: Rename to
11301 * math/test-ildouble.c: New file.
11302
11303 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11304
11305 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11306 Use fabsl instead of fabs.
11307 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11308 Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11310 Add long double suffix to constant to ensure proper
11311 promotion to long double.
11312
11313 2016-08-03 Tom Tromey <tom@tromey.com>
11314
11315 [BZ #20311]
11316 * nptl_db/Makefile (headers): Add proc_service.h.
11317 * nptl_db/proc_service.h: Add include guard. Use
11318 __BEGIN/__END_DECLS.
11319 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11320 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11321 arguments.
11322
11323
11324 2016-08-03 Florian Weimer <fweimer@redhat.com>
11325
11326 [BZ #17730]
11327 Avoid using memalign for TCB allocations.
11328 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11329 (_dl_allocate_tls_storage): Use malloc and manual alignment.
11330 Avoid alignment gap in the TLS_DTV_AT_TP case.
11331 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11332 determine the pointer to free.
11333 * nptl/tst-tls3-malloc.c: New test.
11334 * nptl/Makefile (tests): Add it.
11335 (tst-tls3-malloc): Link with libdl, libpthread.
11336 (LDFLAGS-tst-tls3-malloc): Set.
11337 (tst-tls3-malloc.out): Depend on DSO used in test.
11338
11339 2016-08-03 Florian Weimer <fweimer@redhat.com>
11340
11341 [BZ #17730]
11342 Avoid using memalign for TLS allocations.
11343 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
11344 is_static member with to_free member.
11345 (union dtv): Use struct dtv_pointer.
11346 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11347 dtv_pointer instead of is_static.
11348 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11349 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11350 instead of val.
11351 (allocate_dtv_entry): New function.
11352 (allocate_and_init): Return struct dtv_pointer. Call
11353 allocate_dtv_entry instead of __libc_memalign.
11354 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11355 instead of val.
11356 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11357 instead of is_static. Adjust call to allocate_and_init.
11358 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11359 struct dtv_pointer instead of val.
11360
11361 2016-08-03 Florian Weimer <fweimer@redhat.com>
11362
11363 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11364 (MALLOC_ALIGN_MASK): Move ...
11365 * malloc/malloc-internal.h: ... to here.
11366 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11367
11368 2016-08-03 Joseph Myers <joseph@codesourcery.com>
11369
11370 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11371 (UDP_ENCAP_GTP1U): Likewise.
11372
11373 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11374 (PF_MAX): Update value.
11375 (AF_QIPCRTR): New macro.
11376
11377 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
11378
11379 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11380 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11381 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11383 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11384 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11385 s_truncf-vis3, s_trunc-vis3.
11386 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11387 (CFLAGS-s_ceil-vis3.c): Likewise.
11388 (CFLAGS-s_floorf-vis3.c): Likewise.
11389 (CFLAGS-s_floor-vis3.c): Likewise.
11390 (CFLAGS-s_truncf-vis3.c): Likewise.
11391 (CFLAGS-s_trunc-vis3.c): Likewise.
11392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11400 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11401 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11402 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11403 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11404
11405 2016-08-02 David S. Miller <davem@davemloft.net>
11406
11407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11408 (__nearbyint_vis3): Don't check for sNaN before float register is
11409 loaded with the incoming argument.
11410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11411 (__nearbyintf_vis3): Likewise.
11412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11413 Likewise.
11414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11415 Likewise.
11416
11417 * string/test-strncmp.c (do_test_limit): Make sure the test data
11418 stream is aligned as required for the type "CHAR".
11419 (do_test): Likewise.
11420
11421 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
11422
11423 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11424 by beq instructions jumping to the end of the function.
11425 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11426 clobber list. Use "i" constraint instead of "X".
11427 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11428 of "X".
11429
11430 2016-08-02 Joseph Myers <joseph@codesourcery.com>
11431
11432 * bits/libc-header-start.h: New file.
11433 * Makefile (headers): Add bits/libc-header-start.h.
11434 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11435 (__GLIBC_USE): New macro.
11436 * libio/stdio.h: Define
11437 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11438 <bits/libc-header-start.h> instead of including <features.h>.
11439 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11440 (open_memstream): Likewise.
11441 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11442 (__asprintf): Likewise.
11443 (asprintf): Likewise.
11444 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11445 (getdelim): Likewise.
11446 (getline): Likewise.
11447 * string/string.h: Define
11448 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11449 <bits/libc-header-start.h> instead of including <features.h>.
11450 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11451 (strndup): Likewise.
11452 * wcsmbs/wchar.h: Define
11453 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11454 <bits/libc-header-start.h> instead of including <features.h>.
11455 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11456 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11457
11458 2016-08-02 Florian Weimer <fweimer@redhat.com>
11459
11460 Support linking against compatibility symbols, for use in tests.
11461 * include/libc-symbols.h (symbol_version_reference): New macro.
11462 (symbol_version): Use it.
11463 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11464 (compat_symbol): Use compat_symbol_reference.
11465 (compat_symbol_1, compat_symbol_2): Remove.
11466 (compat_symbol_reference, compat_symbol_reference_1)
11467 (compat_symbol_reference_2): New macro. Use
11468 symbol_version_reference.
11469
11470 2016-08-02 Florian Weimer <fweimer@redhat.com>
11471
11472 [BZ #19469]
11473 * malloc/Makefile (CPPFLAGS): Compile tests with
11474 -DTEST_NO_MALLOPT.
11475 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11476
11477 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
11478
11479 [BZ #20033]
11480 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11481 finite version.
11482 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11483 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11484 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11485 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11486 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11487 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11488 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11490 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11491 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11492 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11493 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11494 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11495 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11496 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11497 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11498 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11499 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11500 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11501 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11502 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11503 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11504 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11505 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11506 in zero power.
11507
11508 2016-08-02 Florian Weimer <fweimer@redhat.com>
11509
11510 [BZ #20370]
11511 * malloc/arena.c (get_free_list): Update comment. Assert that
11512 arenas on the free list have no attached threads.
11513 (remove_from_free_list): New function.
11514 (reused_arena): Call it.
11515
11516 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
11517
11518 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11519 when it is a NaN.
11520 [_IEEE_FP_INEXACT] Remove.
11521 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11522 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11523 when it is a NaN.
11524 [_IEEE_FP_INEXACT] Remove.
11525 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11526 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11527 when it is a NaN.
11528 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11529 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11530 when its absolute value is greater than 0x1.0p52.
11531 [_IEEE_FP_INEXACT] Remove.
11532 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11533 when its absolute value is greater than 0x1.0p23.
11534 [_IEEE_FP_INEXACT] Remove.
11535
11536 2016-08-01 Carlos O'Donell <carlos@redhat.com>
11537
11538 * version.h (RELEASE): Set to "development"
11539 (VERSION): Set to 2.24.90.
11540 * NEWS: Add 2.25 section.
11541
11542 * version.h (RELEASE): Set to "stable"
11543 (VERSION): Set to 2.24.
11544 * include/features.h (__GLIBC_MINOR__): Set to 24.
11545
11546 * NEWS: Add 2.24 fixed bugs.
11547 * po/libc.pot: Regenerate.
11548
11549 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
11550
11551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11552 [$(subdir) = math] (libm-sysdep_routines): Remove.
11553 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11554 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11555 s_truncf-vis3, s_trunc-vis3.
11556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11558 file.
11559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11592 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11593 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11594 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11595 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11596 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11597 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11598 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11599 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11600 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11601 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11602
11603 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
11604
11605 [BZ #20384]
11606 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11607 test-double-libmvec-sincos-avx-main.o,
11608 test-double-libmvec-sincos-avx2-main.o,
11609 test-double-libmvec-sincos-main.o,
11610 test-float-libmvec-sincosf-avx-main.o,
11611 test-float-libmvec-sincosf-avx2-main.o and
11612 test-float-libmvec-sincosf-main.o.
11613 test-float-libmvec-sincosf-avx512-main.o.
11614 ($(objpfx)test-double-libmvec-sincos): Also link with
11615 $(objpfx)test-double-libmvec-sincos-main.o.
11616 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11617 $(objpfx)test-double-libmvec-sincos-avx-main.o.
11618 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11619 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11620 ($(objpfx)test-float-libmvec-sincosf): Also link with
11621 $(objpfx)test-float-libmvec-sincosf-main.o.
11622 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11623 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11624 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11625 test-double-libmvec-sincos-avx512-main.o and
11626 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11627 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11628 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11629 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11630 (CFLAGS-test-double-libmvec-sincos.c): Removed.
11631 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11632 (CFLAGS-test-double-libmvec-sincos-main.c): New.
11633 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11634 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11635 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11636 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11637 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11638 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11639 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11640 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11641 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11642 -DREQUIRE_AVX2.
11643 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11644 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11645 -DREQUIRE_AVX512F.
11646 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11647 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11648 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11649 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11650 file.
11651 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11652 Likewise.
11653 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11654 Likewise.
11655 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11656 Likewise.
11657 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11658 Likewise.
11659 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11660 Likewise.
11661 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11662 Likewise.
11663 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11664 Likewise.
11665
11666 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
11667
11668 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11669
11670 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
11671
11672 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11673 and typo in a comment about AT_HWCAP entry.
11674
11675 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
11676
11677 * sysdeps/aarch64/libm-test-ulps: Updated.
11678
11679 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11680
11681 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11682 of r13 as it is not restored in mvcle case.
11683
11684 2016-07-19 Mike Frysinger <vapier@gentoo.org>
11685
11686 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11687 Rename "ret" to "__ret".
11688 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11689 inline_syscall5, inline_syscall6): Likewise.
11690
11691 2016-07-19 Will Newton <will.newton@gmail.com>
11692
11693 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11694 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11695 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11696 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11697 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11698
11699 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
11700
11701 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11702 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11703 -mfpmath=387 with $(rtld-CFLAGS).
11704 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11705 $(rtld-CFLAGS).
11706
11707 2016-07-18 Ross Burton <ross.burton@intel.com>
11708 Khem Raj <raj.khem@gmail.com>
11709
11710 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11711 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11712 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11713 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11714 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11715 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11716 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11717 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11718 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11719 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11720 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11721 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11722 R_METAG_TLS_DTPOFF): New.
11723
11724 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
11725 Matt Clay <mclay@lycos.com>
11726
11727 [BZ #20357]
11728 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11729 to call __mpsin/__mpcos and to negate values.
11730 * math/auto-libm-test-in: Add test.
11731 * math/auto-libm-test-out: Regenerate.
11732
11733 2016-07-18 Zack Weinberg <zackw@panix.com>
11734
11735 * grp/Makefile: Don't install the internal header grp-merge.h.
11736
11737 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
11738
11739 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11740
11741 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11742
11743 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11744
11745 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11746
11747 [BZ #15368]
11748 * sysdeps/unix/sysv/linux/nptl-signals.h
11749 (__nptl_clear_internal_signals): New function.
11750 (__libc_signal_block_all): Likewise.
11751 (__libc_signal_block_app): Likewise.
11752 (__libc_signal_restore_set): Likewise.
11753 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11754 implementation.
11755 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11756 the cached pid/tid value in pthread structure.
11757
11758 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 [BZ #20347]
11761 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11762
11763 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
11764
11765 [BZ #20348]
11766 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11767 preadv64, pwrite64 and pwritev64.
11768
11769 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
11770
11771 [BZ #20350]
11772 * posix/tst-preadwrite.c: Renamed to ...
11773 * posix/tst-preadwrite-common.c: This.
11774 (PREAD): Removed.
11775 (PWRITE): Likewise.
11776 (STRINGIFY): Likewise.
11777 (STRINGIFY2): Likewise.
11778 (do_prepare): Make it static and remove function arguments.
11779 (do_test): Likewise.
11780 (PREPARE): Updated.
11781 (TEST_FUNCTION): New.
11782 (name): Make it static.
11783 (fd): Likewise.
11784 (do_prepare): Use create_temp_file.
11785 (do_test): Renamed to ...
11786 (do_test_with_offset): This. Make it static and accept offset.
11787 Properly check return value of PWRITE and PREAD. Return bytes
11788 read. Don't close fd nor unlink name.
11789 * posix/tst-preadwrite.c: Rewrite.
11790 * posix/tst-preadwrite64.c: Likewise.
11791
11792 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
11793
11794 [BZ #20309]
11795 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11796 -mtls-dialect=gnu2 works.
11797 * configure: Regenerated.
11798 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11799 (tests): Add tst-gnu2-tls1.
11800 (modules-names): Add tst-gnu2-tls1mod.
11801 ($(objpfx)tst-gnu2-tls1): New.
11802 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11803 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11804 * elf/tst-gnu2-tls1.c: New file.
11805 * elf/tst-gnu2-tls1mod.c: Likewise.
11806 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11807 bytes for push in the PLT entry to align the stack.
11808
11809 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 [BZ #20349]
11812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11813
11814 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
11815
11816 [BZ #18707]
11817 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11818 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11819
11820 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11821
11822 * sysdeps/unix/sysv/linux/sysdep.h
11823 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11824 guards.
11825 * misc/tst-preadvwritev-common.c: New file.
11826 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11827 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11828 a check for files larger than 2GB.
11829
11830 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11831 (__ASSUME_OFF_DIFF_OFF64): Remove define.
11832 * sysdeps/unix/sysv/linux/pread.c
11833 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11834 __OFF_T_MATCHES_OFF64_T.
11835 * sysdeps/unix/sysv/linux/pread64.c
11836 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11837 * sysdeps/unix/sysv/linux/preadv.c
11838 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11839 * sysdeps/unix/sysv/linux/preadv64.c
11840 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11841 * sysdeps/unix/sysv/linux/pwrite.c
11842 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11843 * sysdeps/unix/sysv/linux/pwrite64.c
11844 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11845 * sysdeps/unix/sysv/linux/pwritev.c
11846 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11847 * sysdeps/unix/sysv/linux/pwritev64.c
11848 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11849
11850 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
11851
11852 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11853 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11854
11855 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
11856
11857 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11858
11859 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
11860
11861 [BZ #20240]
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11863 (CFLAGS-s_modf-ppc32.c): New variable.
11864 (CFLAGS-s_modff-ppc32.c): Likewise.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11866 (CFLAGS-s_modf-ppc64.c): Likewise.
11867 (CFLAGS-s_modff-ppc64.c): Likewise.
11868
11869 2016-07-07 Andreas Schwab <schwab@suse.de>
11870
11871 [BZ #20263]
11872 * nptl/tst-robust10.c: New test.
11873 * nptl/Makefile (tests): Add tst-robust10.
11874
11875 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
11876
11877 [BZ #20263]
11878 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11879
11880 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
11881
11882 * sysdeps/s390/linkmap.h (struct link_map_machine):
11883 Remove member gotplt and add member jmprel.
11884 * sysdeps/s390/s390-32/dl-machine.h
11885 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11886 instead of gotplt with &got[3].
11887 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11888 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11889
11890 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
11891
11892 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11893
11894 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11895
11896 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11897 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11898 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11899 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11900 * libio/vtables.c (_IO_vtable_check)
11901 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11902 * libio/libioP.h (IO_set_accept_foreign_vtables)
11903 [!PTR_MANGLE]: Do not call PTR_MANGLE.
11904
11905 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
11906
11907 [BZ #20314]
11908 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11909 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11910 $(common-objpfx)cmath.
11911 ($(common-objpfx)cstdlib): New target.
11912 ($(common-objpfx)cmath): Likewise.
11913
11914 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
11915
11916 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11917
11918 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11919
11920 [BZ #20327]
11921 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11922 are not part of the string.
11923
11924 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11925
11926 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11927 * nptl/tst-cancel4-common.h (fifoname): New variable.
11928 (fifofd): Likewise.
11929 (cl_fifo): New function.
11930 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11931 SIGINT.
11932 (tf_open): Add early cancel test.
11933
11934 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
11935
11936 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11937
11938 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
11939
11940 * sysdeps/generic/ldsodefs.h
11941 (dl_symbol_visibility_binds_local_p): New inline function.
11942 * elf/dl-addr.c (determine_info): Treat hidden and internal
11943 symbols as local.
11944 * elf/dl-lookup.c (do_lookup_x): Likewise.
11945 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11946
11947 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
11948
11949 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11950 invalid exception for a sNaN input.
11951 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11952 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11953 (__nearbyint_vis3): Likewise
11954 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11955 (__nearbyintf_vis3): Likewise
11956 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11957 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11958 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11959 Likewise.
11960 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11961 Likewise.
11962
11963 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
11964
11965 [BZ #20139]
11966 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11967 (HAVE_AVX512DQ_ASM_SUPPORT): This.
11968 * sysdeps/x86_64/configure.ac: Require assembler from binutils
11969 2.24 or above.
11970 (HAVE_AVX512_ASM_SUPPORT): Removed.
11971 (HAVE_AVX512DQ_ASM_SUPPORT): New.
11972 * sysdeps/x86_64/configure: Regenerated.
11973 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11974 check unconditional.
11975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11976 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11977 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11978 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11979 Likewise.
11980 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11981 Likewise.
11982 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11983 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11984 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11985 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11986 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11987 Likewise.
11988 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11989 Likewise.
11990 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11991 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11992 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11993 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11994 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11995 Likewise.
11996 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11997 Likewise.
11998 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11999 Likewise.
12000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12001 Likewise.
12002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12003 Likewise.
12004 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12005 Likewise.
12006 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12007 Likewise.
12008 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12009 Likewise.
12010 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12011 Likewise.
12012 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12013 Likewise.
12014 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12015 Likewise.
12016
12017 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
12018
12019 [BZ #20024]
12020 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12021 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12022 of this implementation of vector function.
12023 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12024 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12025 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12026 Likewise.
12027 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12028 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12029 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12030 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12031 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12032 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12033 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12034 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12035 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12036 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12037 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12038 for testing vector sincos with fixed ABI.
12039 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12040 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12041 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12042 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12043 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12044 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12045 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12046 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12047 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12048 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12049 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12050 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12051 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12052 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12053 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12054 * sysdeps/x86_64/fpu/Makefile: Added new tests.
12055
12056 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
12057
12058 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12059
12060 2016-06-30 Anton Blanchard <anton@samba.org>
12061
12062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12063 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12064 s_sinf-ppc64.
12065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12068 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12069
12070 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12071
12072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12074 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12075 e_expf-ppc64.
12076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12079 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12080
12081 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
12082
12083 [BZ #20277]
12084 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12085 when SHARED is defined.
12086
12087 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
12088
12089 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12090 (index_arch_Prefer_ERMS): Likewise.
12091 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12092 __memcpy_erms for Prefer_ERMS.
12093 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12094 (__memmove_erms): Enabled for libc.a.
12095 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12096 __memmove_erms or Prefer_ERMS.
12097 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12098 __mempcpy_erms for Prefer_ERMS.
12099 * sysdeps/x86_64/multiarch/memset.S (memset): Return
12100 __memset_erms for Prefer_ERMS.
12101
12102 2016-06-30 Andreas Schwab <schwab@suse.de>
12103
12104 [BZ #20262]
12105 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12106 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
12107 of memory.
12108
12109 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 [BZ #18645]
12112 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12113 (test-extras): Add tst-cleanupx4aux.
12114 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
12115 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12116 tst-cleanupx4aux.o.
12117 * nptl/tst-cleanupx4aux.c: New file.
12118
12119 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
12120
12121 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12122
12123 2016-06-29 Andreas Schwab <schwab@suse.de>
12124
12125 [BZ #20260]
12126 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12127 address before the beginning of the string as an integer to avoid
12128 array-bounds warning.
12129
12130 2016-06-28 Richard Henderson <rth@redhat.com>
12131
12132 * elf/elf.h (EM_BPF): New.
12133 (EM_NUM): Update.
12134 (R_BPF_NONE, R_BPF_MAP_FD): New.
12135
12136 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12137 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12138 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12139 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12140 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12141 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12142 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12143 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12144 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12145 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12146 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12147 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12148 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12149 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12150 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12151 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12152 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12153 (EM_NUM): Update.
12154
12155 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
12156
12157 [BZ #18960]
12158 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12159 Set _nl_current_LC_CATEGORY_used to two instead of one.
12160
12161 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
12162
12163 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12164 (do_test): ... this.
12165 (TEST_FUNCTION): New macro.
12166 Include test-skeleton.c.
12167 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12168 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12169
12170 2016-06-27 Joseph Myers <joseph@codesourcery.com>
12171
12172 [BZ #15479]
12173 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12174 floating-point environment rather than just control word.
12175 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12176 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12177 floating-point environment, with "invalid" exceptions merged in,
12178 rather than just control word.
12179 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12180 * math/libm-test.inc (trunc_test_data): Do not allow spurious
12181 "inexact" exceptions.
12182
12183 [BZ #15479]
12184 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12185 floating-point environment rather than just control word.
12186 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12187 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12188 floating-point environment, with "invalid" exceptions merged in,
12189 rather than just control word.
12190 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12191 * math/libm-test.inc (floor_test_data): Do not allow spurious
12192 "inexact" exceptions.
12193
12194 [BZ #15479]
12195 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12196 floating-point environment rather than just control word.
12197 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12198 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12199 floating-point environment, with "invalid" exceptions merged in,
12200 rather than just control word.
12201 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12202 * math/libm-test.inc (ceil_test_data): Do not allow spurious
12203 "inexact" exceptions.
12204
12205 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
12206
12207 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12208 __libc_vfork.
12209 (__vfork) [IS_IN (libc)]: Remove alias.
12210 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12211 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12213
12214 2016-06-24 Torvald Riegel <triegel@redhat.com>
12215
12216 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12217 of atomic_compare_and_exchange_bool_rel.
12218 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12219 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12220 catomic_compare_and_exchange_bool_rel): Remove.
12221 * sysdeps/aarch64/atomic-machine.h
12222 (atomic_compare_and_exchange_bool_rel): Likewise.
12223 * sysdeps/alpha/atomic-machine.h
12224 (atomic_compare_and_exchange_bool_rel): Likewise.
12225 * sysdeps/arm/atomic-machine.h
12226 (atomic_compare_and_exchange_bool_rel): Likewise.
12227 * sysdeps/mips/atomic-machine.h
12228 (atomic_compare_and_exchange_bool_rel): Likewise.
12229 * sysdeps/microblaze/atomic-machine.h
12230 ( __arch_compare_and_exchange_bool_8_rel,
12231 __arch_compare_and_exchange_bool_16_rel): Likewise.
12232 * sysdeps/powerpc/atomic-machine.h
12233 ( __arch_compare_and_exchange_bool_8_rel,
12234 __arch_compare_and_exchange_bool_16_rel): Likewise.
12235 * sysdeps/powerpc/powerpc32/atomic-machine.h
12236 ( __arch_compare_and_exchange_bool_32_rel,
12237 __arch_compare_and_exchange_bool_64_rel): Likewise.
12238 * sysdeps/powerpc/powerpc64/atomic-machine.h
12239 ( __arch_compare_and_exchange_bool_32_rel,
12240 __arch_compare_and_exchange_bool_64_rel): Likewise.
12241 * sysdeps/tile/atomic-machine.h
12242 (atomic_compare_and_exchange_bool_rel): Likewise.
12243
12244 2016-06-23 Joseph Myers <joseph@codesourcery.com>
12245
12246 [BZ #20296]
12247 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12248 when either argument is a NaN.
12249 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12250 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12251
12252 * math/libm-test.inc (snan_value_ld): New macro.
12253 (isgreater_test_data): Add sNaN tests.
12254 (isgreaterequal_test_data): Likewise.
12255 (isless_test_data): Likewise.
12256 (islessequal_test_data): Likewise.
12257 (islessgreater_test_data): Likewise.
12258 (isunordered_test_data): Likewise.
12259 (nextafter_test_data): Likewise.
12260 (nexttoward_test_data): Likewise.
12261 (remainder_test_data): Likewise.
12262 (remquo_test_data): Likewise.
12263 (significand_test_data): Likewise.
12264 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12265
12266 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
12267
12268 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12269 environment macros are defined.
12270 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12271
12272 2016-06-23 Florian Weimer <fweimer@redhat.com>
12273
12274 [BZ #20191]
12275 Implement vtable verification in libio.
12276 * Makerules (shlib.lds): Place __libc_IO_vtables section.
12277 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12278 * debug/vdprintf_chk.c (__vdprintf_chk): Call
12279 _IO_new_file_init_internal instead of _IO_file_init.
12280 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12281 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12282 * libio/Makefile (routines): Add vtables.
12283 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12284 (_IO_init): Remove, not for internal use.
12285 (_IO_init_internal): Declare, internal replacement for _IO_init.
12286 (_IO_file_init): Remove, not for internal use.
12287 (_IO_new_file_init): Remove, not for internal use.
12288 (_IO_new_file_init_internal): Declare, internal replacement for
12289 _IO_new_file_init.
12290 (_IO_old_file_init): Remove, not for internal use.
12291 (_IO_old_file_init_internal): Declare, internal replacement for
12292 _IO_old_file_init.
12293 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12294 internal use.
12295 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12296 Declare.
12297 (libio_vtable): New macro.
12298 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12299 functions.
12300 * libio/fileops.c (_IO_new_file_init_internal): Rename from
12301 _IO_new_file_init.
12302 (_IO_new_file_init): New externally visible wrapper which disables
12303 vtable verification.
12304 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12305 Define as vtables.
12306 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12307 (_IO_init): New externally visible wrapper which disables
12308 vtable verification.
12309 * libio/iofdopen.c (_IO_new_fdopen): Call
12310 _IO_new_file_init_internal instead of _IO_file_init. Adjust
12311 comment.
12312 * libio/iofopen.c (__fopen_internal): Call
12313 _IO_new_file_init_internal instead of _IO_file_init.
12314 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12315 Define as vtables.
12316 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12317 _IO_new_file_init_internal instead of _IO_file_init.
12318 * libio/iopopen.c (_IO_new_popen): Likewise.
12319 (_IO_proc_jumps): Define as vtable.
12320 * libio/iovdprintf.c (_IO_vdprintf): Call
12321 _IO_new_file_init_internal instead of _IO_file_init.
12322 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12323 (__open_memstream): Call _IO_init_internal instead of _IO_init.
12324 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12325 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12326 _IO_old_file_init.
12327 (_IO_old_file_init): New externally visible wrapper which disables
12328 vtable verification.
12329 (_IO_old_file_jumps): Define as vtable.
12330 * libio/oldiofdopen.c (_IO_old_fdopen): Call
12331 _IO_old_file_init_internal instead of _IO_old_file_init.
12332 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12333 * libio/oldiopopen.c (_IO_old_popen): Likewise.
12334 (_IO_old_proc_jumps): Define as vtable.
12335 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12336 Define as vtables.
12337 * libio/vtables.c: New file.
12338 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12339 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12340 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12341 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12342 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12343 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12344 instead of _IO_init.
12345
12346 2016-06-23 Florian Weimer <fweimer@redhat.com>
12347
12348 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12349
12350 2016-06-23 Florian Weimer <fweimer@redhat.com>
12351
12352 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12353 potentially unused.
12354
12355 2016-06-22 Florian Weimer <fweimer@redhat.com>
12356
12357 * test-skeleton.c (write_message): New function.
12358 * malloc/tst-mallocfork2.c (write_message): Remove.
12359 * debug/tst-longjmp_chk2.c (write_indented): New function.
12360 (write_message): Remove.
12361 (stackoverflow_handler): Call write_indented.
12362
12363 2016-06-22 Joseph Myers <joseph@codesourcery.com>
12364
12365 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12366 "inexact" exceptions after fnstenv.
12367 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12368 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12369 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12370
12371 2015-06-22 Zack Weinberg <zackw@panix.com>
12372
12373 * sysdeps/generic/bits/hwcap.h: Moved to ...
12374 * bits/hwcap.h: Here.
12375
12376 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
12377
12378 * sysdeps/aarch64/memcpy.S (memcpy):
12379 Further tuning for performance.
12380
12381 2016-06-21 Florian Weimer <fweimer@redhat.com>
12382
12383 [BZ #20284]
12384 * malloc/arena.c (reused_arena): Do not return NULL if we start
12385 out with a non-corrupted arena.
12386
12387 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12388
12389 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12390 * misc/tst-preadvwritev.c: New file.
12391 * misc/tst-preadvwritev64.c: Likewise.
12392 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12393 usage.
12394 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12395 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12396 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12397 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12398
12399 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
12400
12401 [BZ #19654]
12402 * sysdeps/x86_64/fpu/Makefile: Added new tests.
12403 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12404 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12405 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12406 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12407 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12408 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12409 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12410 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12411 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12412 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12413 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12414 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12415 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12416 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12417 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12418 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12419 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12420 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12421 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12422 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12423 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12424 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12425 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12426 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12427 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12428
12429 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
12430
12431 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12432 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12433
12434 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
12435
12436 * sysdeps/aarch64/memcpy.S (memcpy):
12437 Rewrite of optimized memcpy and memmove.
12438 * sysdeps/aarch64/memmove.S (memmove): Remove
12439 memmove code (merged into memcpy.S).
12440
12441 2016-06-20 Florian Weimer <fweimer@redhat.com>
12442
12443 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12444 * sysdeps/generic/dl-dtv.h: New file.
12445 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12446 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12447 (dtv_t): Remove.
12448 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12449 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12450 (dtv_t): Remove.
12451 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12452 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12453 (dtv_t): Remove.
12454 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12455 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12456 (dtv_t): Remove.
12457 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12458 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12459 (dtv_t): Remove.
12460 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12461 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12462 (dtv_t): Remove.
12463 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12464 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12465 (dtv_t): Remove.
12466 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12467 (dtv_t): Remove.
12468 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12469 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12470 (dtv_t): Remove.
12471 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12472 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12473 (dtv_t): Remove.
12474 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12475 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12476 (dtv_t): Remove.
12477 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12478 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12479 (dtv_t): Remove.
12480 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12481 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12482 (dtv_t): Remove.
12483 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12484 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12485 (dtv_t): Remove.
12486 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12487 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12488 (dtv_t): Remove.
12489 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12490 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12491 (dtv_t): Remove.
12492
12493 2016-06-20 Florian Weimer <fweimer@redhat.com>
12494
12495 Revert symbol poisoning of __malloc_initialize_hook.
12496 * include/stdc-predef.h (__malloc_initialize_hook): Remove
12497 poisoning.
12498 * malloc/Makefile: Remove un-poisoning.
12499 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12500 instead of old__malloc_initialize_hook.
12501 * malloc/malloc-hooks.h: Likewise.
12502 * malloc/malloc.c: Likewise.
12503 * malloc/mcheck-init.c: Likewise.
12504
12505 2016-06-19 Carlos O'Donell <carlos@redhat.com>
12506
12507 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12508
12509 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
12510
12511 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12512 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12513 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12515
12516 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12517
12518 * NEWS: Mention addition of nextup and nextdown.
12519 * manual/arith.texi: Document nextup and nextdown.
12520 * manual/libm-err-tab.pl: Add nextup and nextdown.
12521 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12522 * math/Versions (libm): Add GLIBC_2.24.
12523 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12524 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12525 Add new test.
12526 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12527 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12528 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12529 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12530 (nextup_test_data): Likewise.
12531 (nextdown_test_data): Likewise.
12532 * math/s_nextdown.c: New file.
12533 * math/s_nextdownf.c: Likewise.
12534 * math/s_nextdownl.c: Likewise.
12535 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12536 F(nextup): New function.
12537 F(nextdown): Likewise.
12538 * math/tgmath.h: Add nextup and nextdown.
12539 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12540 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12541 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12542 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12543 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12544 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12545 Add nextup and nextdown.
12546 (CFLAGS-nldbl-nextup.c): New variable.
12547 (CFLAGS-nldbl-nextdown.c): Likewise.
12548 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12549 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12550 * sysdeps/nacl/libm.abilist: Update.
12551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12565 Likewise.
12566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12577 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12578 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12579
12580 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12581
12582 * manual/pattern.texi: Fix typos & grammar errors.
12583
12584 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12585
12586 * manual/search.texi: Fix typos & grammar errors.
12587
12588 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12589
12590 * manual/message.texi: Fix typos & grammar errors.
12591
12592 2016-06-16 Mike Frysinger <vapier@gentoo.org>
12593
12594 * manual/contrib.texi: Fix spelling typos.
12595 * manual/crypt.texi: Likewise.
12596 * manual/filesys.texi: Likewise.
12597 * manual/locale.texi: Likewise.
12598 * manual/message.texi: Likewise.
12599 * manual/nss.texi: Likewise.
12600 * manual/string.texi: Likewise.
12601
12602 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12603
12604 * manual/locale.texi: Fix typos & grammar errors.
12605
12606 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12607
12608 * manual/charset.texi: Fix typos & grammar errors.
12609
12610 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12611
12612 * manual/string.texi: Fix typos.
12613
12614 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12615
12616 * manual/ctype.texi: Fix typos.
12617
12618 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
12619
12620 * manual/memory.texi: Fix various typos & grammar errors.
12621
12622 2016-06-14 Joseph Myers <joseph@codesourcery.com>
12623
12624 [BZ #20255]
12625 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
12626 * math/libm-test.inc (fdim_test_data): Add another test.
12627
12628 [BZ #6796]
12629 [BZ #20255]
12630 [BZ #20256]
12631 * math/s_fdim.c: Include <math_private.h>.
12632 (__fdim): Use math_narrow_eval on result.
12633 * math/s_fdimf.c: Include <math_private.h>.
12634 (__fdimf): Use math_narrow_eval on result.
12635 * sysdeps/i386/fpu/s_fdim.S: Remove file.
12636 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12637 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12638 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12639 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12640 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12641 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12642 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12643 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12645 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12646 * math/libm-test.inc (fdim_test_data): Expect errno setting on
12647 overflow. Add sNaN tests.
12648
12649 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12650 fpclassify.
12651 * math/s_fdimf.c (__fdimf): Likewise.
12652 * math/s_fdiml.c (__fdiml): Likewise.
12653
12654 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12655
12656 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12657 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12659 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12660 ifunc'ed strcasecmp/strncasecmp.
12661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12662 [EALIGN]: Removed.
12663 [END]: Likewise.
12664 [__strcasecmp]: Define instead of the above to control symbol name.
12665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12666 for __strcasecmp_power8.
12667 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12668 for __strncasecmp_power8.
12669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12671 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12672 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12673 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12674 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12675
12676 2016-06-13 Joseph Myers <joseph@codesourcery.com>
12677
12678 [BZ #20252]
12679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12680 arguments when second argument is a NaN.
12681 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12682 qNaN tests.
12683
12684 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12685 (conj_test_data): Likewise.
12686 (copysign_test_data): Likewise.
12687 (creal_test_data): Likewise.
12688 (fma_test_data): Likewise.
12689 (fmod_test_data): Likewise.
12690
12691 [BZ #20250]
12692 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12693 itself.
12694 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12695 zero input to itself.
12696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12697 Likewise.
12698 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12699 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12701 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12702 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12703
12704 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12705
12706 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12707 * nptl/tst-cancel4-common.c: New file.
12708 * nptl/tst-cancel4-common.h: Likewise.
12709 * nptl/tst-cancel4.c: Move common definitions to
12710 tst-cancel4-common.{c,h} file.
12711 * nptl/tst-cancel4_1.c: New test.
12712 * nptl/tst-cancel4_2.c: New test.
12713
12714 2016-06-13 Florian Weimer <fweimer@redhat.com>
12715
12716 [BZ #20248]
12717 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12718 (write_message): New function.
12719 (stackoverflow_handler): Call it instead of printf, to avoid
12720 excessive stack usage by printf.
12721 (do_test): Restore SIGSEGV, SIGBUS default handlers.
12722
12723 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12724
12725 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12726 (prio_inherit_missing): Remove define.
12727 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12728 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12730 Likewise.
12731 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12732 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12734 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12735 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12736 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12737
12738 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12739
12740 [BZ #19670]
12741 [BZ #19672]
12742
12743 * io/test-lfs.c (do_prepare): Use xmalloc.
12744 * io/tst-fcntl.c (do_prepare): Likewise.
12745 * libio/tst-fopenloc.c (do_bz17916): Likewise.
12746 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12747 * login/tst-utmp.c (do_prepare): Likewise.
12748 * posix/tst-exec.c (do_prepare): Likewise.
12749 * posix/tst-pathconf.c (prepare): Likewise.
12750 * posix/tst-spawn.c (do_prepare): Likewise.
12751 * posix/tst-truncate.c (do_prepare): Likewise.
12752 * rt/tst-aio.c (do_prepare): Likewise.
12753 * rt/tst-aio64.c (do_prepare): Likewise.
12754
12755 2016-06-11 Florian Weimer <fweimer@redhat.com>
12756
12757 [BZ #20237]
12758 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12759 (get*ent): Set entidx to NULL during initialization. If entidx is
12760 NULL, start iteration from the beginning.
12761
12762 2016-06-11 Florian Weimer <fweimer@redhat.com>
12763
12764 * malloc/malloc.c (musable): Return correct size for dumped fake
12765 mmapped chunk.
12766
12767 2016-06-11 Florian Weimer <fweimer@redhat.com>
12768
12769 [BZ #20222]
12770 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12771 (_IO_cookie_write): Likewise.
12772 (_IO_cookie_seek): Likewise.
12773 (_IO_cookie_close): Likewise.
12774 (_IO_old_cookie_seek): Likewise.
12775 (set_callbacks): New function.
12776 (_IO_cookie_init): Call set_callbacks to copy callbacks.
12777
12778 2016-06-11 Marko Myllynen <myllynen@redhat.com>
12779
12780 * locale/programs/localedef.c (oldstyle_tables): Remove.
12781 * locale/programs/localedef.h (oldstyle_tables): Likewise.
12782
12783 2016-06-10 Joseph Myers <joseph@codesourcery.com>
12784
12785 [BZ #20240]
12786 * math/Makefile (CFLAGS-s_modf.c): New variable.
12787 (CFLAGS-s_modff.c): Likewise.
12788 (CFLAGS-s_modfl.c): Likewise.
12789 * math/libm-test.inc (modf_test_data): Add sNaN tests.
12790
12791 2016-06-09 Carlos O'Donell <carlos@redhat.com>
12792
12793 [BZ #20215]
12794 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12795 [!__GNUC_PREREQ (3,2)]: Likewise.
12796
12797 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
12798
12799 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12800 (msghdr.msg_controllen): Likewise.
12801 (cmsghdr.cmsg_len): Likewise.
12802 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12803 ptw-oldsendmsg.
12804 (CFLAGS-oldrecvmsg.c): Remove rule.
12805 (CFLAGS-oldsendmsg.c): Likewise.
12806 (CFLAGS-recvmsg.c): Add rule.
12807 (CFLAGS-sendmsg.c): Likewise.
12808 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12809 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12810 (CFLAGS-recvmsg.c): Remove rule.
12811 (CFLAGS-sendmsg.c): Likewise.
12812 (CFLAGS-oldrecvmsg.c): Likewise.
12813 (CFLAGS-oldsendmsg.c): Likewise.
12814 (CFLAGS-recvmmsg.c): Likewise.
12815 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12816 to kernel defined interfaces.
12817 (msghdr.msg_controllen): Likewise.
12818 (cmsghdr.cmsg_len): Likewise.
12819 (msghdr.__glibc_reserved1): Remove member.
12820 (msghdr.__glibc_reserved2): Likewise.
12821 (cmsghdr.__glibc_reserved1): Likewise.
12822 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12823 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12824 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12825 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12826 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12827 version.
12828 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12829 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12830 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12831 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12832 Remove recvmsg and sendmsg.
12833 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12834 Likewise.
12835 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12838 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12839 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12840 Likewise.
12841 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12842 Likewise.
12843 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12844 [libc] (GLIBC_2.24): Likewise.
12845 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12846 Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12848 Likewise.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12850 [libc] (GLIBC_2.24): Likewise.
12851 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12852 Likewise.
12853 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12854 Likewise.
12855 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12856 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12859 Likewise.
12860 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12861 Likewise.
12862 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12863 Likewise.
12864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12865 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12866 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12867 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12868 version for {recv,send,recm,sendm}msg.
12869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12875 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12876 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12877 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12882 Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12884 Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12898
12899 2016-06-10 Florian Weimer <fweimer@redhat.com>
12900
12901 [BZ #19564]
12902 Remove __malloc_initialize_hook from the API.
12903 * malloc/malloc.h (__malloc_initialize_hook): Remove.
12904 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12905 #pragma GCC poison.
12906 * malloc/malloc-hooks.h: New file.
12907 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12908 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12909 (old__malloc_initialize_hook): Rename from
12910 __malloc_initialize_hook to evade poisoning. Turn into compat
12911 symbol.
12912 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12913 __malloc_initialize_hook.
12914 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12915 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12916 * manual/memory.texi (Hooks for Malloc): Remove
12917 __malloc_initialize_hook. Adjust hook example.
12918
12919 2016-06-09 Joseph Myers <joseph@codesourcery.com>
12920
12921 [BZ #20235]
12922 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12923 itself.
12924 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12925 * math/libm-test.inc (log2_test_data): Add sNaN tests.
12926
12927 [BZ #20234]
12928 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12929 infinity or NaN input to itself.
12930
12931 [BZ #20233]
12932 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12933 to itself.
12934
12935 [BZ #20232]
12936 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12937 itself.
12938
12939 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
12940
12941 * sysdeps/x86_64/start.S (_start): Always indirect branch to
12942 __libc_start_main via GOT.
12943
12944 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * sysdeps/x86_64/memcopy.h: New file.
12947 * sysdeps/x86_64/wordcopy.c: Likewise.
12948
12949 2016-06-09 Florian Weimer <fweimer@redhat.com>
12950
12951 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12952 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12953 <cstdlib>.
12954 (optimization_barrier): New.
12955 (do_test): Use it. Call quick_exit in the global namespace.
12956 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12957 instead of <cstdlib>, <thread>.
12958 (optimization_barrier): New.
12959 (non_main_thread): Adjust declaration. Call optimization_barrier.
12960 Call quick_exit in the global namespace.
12961 (do_test): Call optimization_barrier. Use pthread_create,
12962 pthread_join instead of std::thread.
12963
12964 2016-06-09 Andreas Schwab <schwab@suse.de>
12965
12966 [BZ #19755]
12967 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12968 new entries in auto-propagate mode.
12969 * nscd/grpcache.c (cache_addgr): Likewise.
12970
12971 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
12972
12973 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12974 New functions.
12975 (add_temp_file): Use them.
12976
12977 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
12978
12979 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12980
12981 2016-06-08 Joseph Myers <joseph@codesourcery.com>
12982
12983 [BZ #20229]
12984 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12985 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12986 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12987
12988 [BZ #20228]
12989 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12990 itself.
12991 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12992 * math/libm-test.inc (log10_test_data): Add sNaN tests.
12993
12994 [BZ #20227]
12995 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12996 itself.
12997 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12998 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12999 * math/libm-test.inc (log_test_data): Add sNaN tests.
13000
13001 [BZ #20226]
13002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13003 itself.
13004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13005 * math/libm-test.inc (exp_test_data): Add sNaN tests.
13006 (exp10_test_data): Likewise.
13007 (expm1_test_data): Likewise.
13008
13009 [BZ #20225]
13010 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13011 itself.
13012 * math/s_ldexpf.c (__ldexpf): Likewise.
13013 * math/s_ldexpl.c (__ldexpl): Likewise.
13014 * math/w_scalbln.c (__w_scalbln): Likewise.
13015 * math/w_scalblnf.c (__w_scalblnf): Likewise.
13016 * math/w_scalblnl.c (__w_scalblnl): Likewise.
13017 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13018 (scalbln_test_data): Likewise.
13019
13020 [BZ #20224]
13021 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13022 argument to itself.
13023 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13024
13025 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 [BZ #19776]
13028 * sysdeps/x86_64/memcpy.S: Make it dummy.
13029 * sysdeps/x86_64/mempcpy.S: Likewise.
13030 * sysdeps/x86_64/memmove.S: New file.
13031 * sysdeps/x86_64/memmove_chk.S: Likewise.
13032 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13033 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13034 * sysdeps/x86_64/memmove.c: Removed.
13035 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13036 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13037 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13038 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13039 Likewise.
13040 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13041 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13043 memcpy-sse2-unaligned, memmove-avx-unaligned,
13044 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13046 (__libc_ifunc_impl_list): Replace
13047 __memmove_chk_avx512_unaligned_2 with
13048 __memmove_chk_avx512_unaligned. Remove
13049 __memmove_chk_avx_unaligned_2. Replace
13050 __memmove_chk_sse2_unaligned_2 with
13051 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
13052 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
13053 with __memmove_avx512_unaligned. Replace
13054 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13055 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
13056 with __memcpy_chk_avx512_unaligned. Remove
13057 __memcpy_chk_avx_unaligned_2. Replace
13058 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13059 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
13060 Replace __memcpy_avx512_unaligned_2 with
13061 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
13062 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
13063 with __mempcpy_chk_avx512_unaligned. Remove
13064 __mempcpy_chk_avx_unaligned_2. Replace
13065 __mempcpy_chk_sse2_unaligned_2 with
13066 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
13067 Replace __mempcpy_avx512_unaligned_2 with
13068 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
13069 Replace __mempcpy_sse2_unaligned_2 with
13070 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
13071 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13072 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13073 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13074 if processor has ERMS. Default to __memcpy_sse2_unaligned.
13075 (ENTRY): Removed.
13076 (END): Likewise.
13077 (ENTRY_CHK): Likewise.
13078 (libc_hidden_builtin_def): Likewise.
13079 Don't include ../memcpy.S.
13080 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13081 __memcpy_chk_avx512_unaligned_erms and
13082 __memcpy_chk_avx512_unaligned. Use
13083 __memcpy_chk_avx_unaligned_erms and
13084 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13085 Default to __memcpy_chk_sse2_unaligned.
13086 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13087 Change function suffix from unaligned_2 to unaligned.
13088 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13089 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13090 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13091 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
13092 (ENTRY): Removed.
13093 (END): Likewise.
13094 (ENTRY_CHK): Likewise.
13095 (libc_hidden_builtin_def): Likewise.
13096 Don't include ../mempcpy.S.
13097 (mempcpy): New. Add a weak alias.
13098 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13099 __mempcpy_chk_avx512_unaligned_erms and
13100 __mempcpy_chk_avx512_unaligned. Use
13101 __mempcpy_chk_avx_unaligned_erms and
13102 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13103 Default to __mempcpy_chk_sse2_unaligned.
13104
13105 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
13106
13107 [BZ #19881]
13108 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13109 into ...
13110 * sysdeps/x86_64/memset.S: This.
13111 (__bzero): Removed.
13112 (__memset_tail): Likewise.
13113 (__memset_chk): Likewise.
13114 (memset): Likewise.
13115 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13116 defined.
13117 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13118 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13119 (__memset_zero_constant_len_parameter): Check SHARED instead of
13120 PIC.
13121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13122 memset-avx2 and memset-sse2-unaligned-erms.
13123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13124 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13125 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13126 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13127 (__bzero): Enabled.
13128 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13129 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13130 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
13131 or __memset_avx2_unaligned_erms if processor has ERMS. Support
13132 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13133 (memset): Removed.
13134 (__memset_chk): Likewise.
13135 (MEMSET_SYMBOL): New.
13136 (libc_hidden_builtin_def): Replace __memset_sse2 with
13137 __memset_sse2_unaligned.
13138 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13139 __memset_chk_sse2 and __memset_chk_avx2 with
13140 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13141 Use __memset_chk_sse2_unaligned_erms or
13142 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
13143 __memset_chk_avx512_unaligned_erms and
13144 __memset_chk_avx512_unaligned.
13145
13146 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13147
13148 * math/gen-auto-libm-test.c (fp_format_desc): remove
13149 suffix member.
13150 (output_generic_value): Remove usage of suffix member,
13151 and the resulting unuse of the fp_format argument.
13152 (output_for_one_input_case): Remove unused fp_format
13153 parameter.
13154
13155 * math/auto-libm-test-out: Regenerate.
13156
13157 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13158 usage with TEST_COND_ibm128.
13159 (TEST_COND_flt_32): Remove.
13160 (TEST_COND_dbl_64): Remove.
13161 (TEST_COND_ldbl_96_intel): Remove.
13162 (TEST_COND_ldbl_96_m68k): Remove.
13163 (TEST_COND_ldbl_128): Remove.
13164
13165 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13166
13167 * auto-libm-test-in:
13168 Replace flt-32 usage with binary32.
13169 Replace dbl-64 usage with binary64.
13170 Replace ldbl-intel-96 usage with intel96.
13171 Replace ldbl-m68k-96 usage with m68k96.
13172 Replace ldbl-128ibm usage with ibm128.
13173 Replace ldbl-128 usage with binary128.
13174
13175 * auto-libm-test-out: Regenerate.
13176
13177 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13178
13179 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13180 (parse_ulps): Dynamically generate type name matching
13181 string from all_floats.
13182 (get_ulps): Generate the ulps as an array instead.
13183 (output_ulps): Dynamically compose the type based
13184 on the number of supported formats, and print
13185 the indices as type specific helper macros.
13186
13187 * math/libm-test.inc: Remove comment about CHOOSE.
13188 (ulp_data): Generate the type in libm-test-ulps.h.
13189 (ULP_IDX): New macro.
13190 (find_ulps): Update usage of max_ulp.
13191
13192 * math/test-double-vlen2.h (CHOOSE): Remove.
13193 * math/test-double-vlen4.h (CHOOSE): Likewise.
13194 * math/test-double-vlen8.h (CHOOSE): Likewise.
13195 * math/test-float.c (CHOOSE): Likewise.
13196 * math/test-float-finite.c (CHOOSE): Likewise.
13197 * math/test-double.c (CHOOSE): Likewise.
13198 * math/test-double-finite.c (CHOOSE): Likewise.
13199 * math/test-idouble.c (CHOOSE): Likewise.
13200 * math/test-ifloat.c (CHOOSE): Likewise.
13201 * math/test-ildoubl.c (CHOOSE): Likewise.
13202 * math/test-ldouble-finite.c (CHOOSE): Likewise.
13203 * math/test-ldouble.c (CHOOSE): Likewise.
13204
13205 * math/test-float.h (TEST_FLOAT): Remove.
13206 * math/test-double.h (TEST_DOUBLE): Likewise.
13207 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13208
13209 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13210
13211 * math/gen-libm-test.pl: (apply_lit): New subroutine.
13212 (parse_args): Strip C suffix from floating point literals
13213 typed with 'f' and wrap them with LIT().
13214
13215 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13216 (test_ff_f_data_nexttoward): Rename to
13217 (test_fj_f_data): New struct.
13218 (nexttoward_test_data): Relabel tests as
13219 TEST_fj_f instead of TEST_ff_f.
13220
13221 2016-06-08 Florian Weimer <fweimer@redhat.com>
13222
13223 Emacs bug 23726.
13224 * malloc/malloc.c (dumped_main_arena_start): Update comment.
13225 (__libc_realloc): Correct size computation for dumped fake mmapped
13226 chunks.
13227
13228 2016-06-07 Joseph Myers <joseph@codesourcery.com>
13229
13230 [BZ #20219]
13231 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13232 to itself.
13233 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13234
13235 [BZ #20218]
13236 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13237 to itself.
13238 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13239
13240 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 [BZ #20195]
13243 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13244 check to ...
13245 (init_cpu_features): Here.
13246
13247 2016-06-07 Carlos O'Donell <carlos@redhat.com>
13248
13249 [BZ #20214]
13250 * sysdeps/unix/sysv/linux/bits/in.h
13251 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13252 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13253 Define to 1.
13254 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13255 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13256 Define to 0.
13257 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13258 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13259
13260 2016-06-06 Carlos O'Donell <carlos@redhat.com>
13261
13262 [BZ #20198]
13263 * stdlib/Makefile (tests): Add tst-quick_exit, and
13264 tst-thread-quick_exit.
13265 [ifeq ($(have-cxx-thread_local),yes)]
13266 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13267 (CFLAGS-tst-thread-quick_exit.o): Likewise.
13268 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13269 (LDLIBS-tst-thread-quick_exit): Likewise.
13270 [ifneq ($(have-cxx-thread_local),yes)]
13271 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13272 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13273 If run_dtors is true call __call_tls_dtors.
13274 (exit): Call __run_exit_handlers with run_dtors set to true.
13275 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13276 definition.
13277 * stdlib/quick_exit.c (quick_exit): Remove function.
13278 (__new_quick_exit): New function.
13279 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13280 function.
13281 * stdlib/tst-quick_exit.cc: New file.
13282 * stdlib/tst-thread-quick_exit.cc: New file.
13283 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13284 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13287 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13288 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13289 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13290 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13292 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13294 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13295 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13296 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13297 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13298 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13303 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13304 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13305 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13306 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13307 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13310 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13311 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13312 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13313
13314 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13317 a typo in comments.
13318
13319 2016-06-06 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #20213]
13322 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13323 argument to itself.
13324 * math/libm-test.inc (asin_test_data): Add sNaN tests.
13325
13326 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13327
13328 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13329 required flags.
13330 (CFLAGS-pwritev64.c): Likewise.
13331 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13333 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13334 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13335 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13336 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13337 syscall from auto-generation.
13338 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13339 [WORDSIZE == 64] (pwritev64): Remove macro.
13340 [!PWRITEV] (PWRITEV): Likewise.
13341 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13342 [!PWRITEV] (PWRITE): Likewise.
13343 [!PWRITEV] (OFF_T): Likewise.
13344 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13345 (LO_HI_LONG): Remove macro.
13346 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13347 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13348 (PWRITEV): Remove macro.
13349 (PWRITEV_REPLACEMENTE): Likewise.
13350 (PWRITE): Likewise.
13351 (OFF_T): Likewise.
13352 (pwritev64): New function.
13353 * nptl/tst-cancel4.c (tf_writev): Add test.
13354
13355 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13356 required flags.
13357 (CFLAGS-preadv64.c): Likewise.
13358 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13359 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13360 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13362 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13364 syscall from auto-generation.
13365 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13366 [WORDSIZE == 64] (preadv64): Remove macro.
13367 [!PREADV] (PREADV): Likewise.
13368 [!PREADV] (PREADV_REPLACEMENT): Likewise.
13369 [!PREADV] (PREAD): Likewise.
13370 [!PREADV] (OFF_T): Likewise.
13371 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13372 (LO_HI_LONG): Remove macro.
13373 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13374 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13375 (PREADV): Remove macro.
13376 (PREADV_REPLACEMENTE): Likewise.
13377 (PREAD): Likewise.
13378 (OFF_T): Likewise.
13379 (preadv64): New function.
13380 * nptl/tst-cancel4.c (tf_preadv): Add test.
13381
13382 2016-06-06 Joseph Myers <joseph@codesourcery.com>
13383
13384 [BZ #20212]
13385 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13386 argument to itself.
13387 * math/libm-test.inc (acos_test_data): Add sNaN tests.
13388
13389 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13390
13391 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13392 New symbol defined as libc_hidden_def.
13393 (strcasestr): Became a weak alias to __strcasestr.
13394 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13395 according to multi-arch support. Move __stpncpy hidden
13396 definition from here to...
13397 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
13398 symbol stpncpy.
13399 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13400 libc_hidden_builtin_def.
13401 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13402 memset symbol to use when multi-arch support is available.
13403
13404 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
13405
13406 * dlfcn/tst-rec-dlopen.c: Include string.h.
13407
13408 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13409
13410 * manual/install.texi: Remove mention of --without-tls
13411 * INSTALL: Regenerate.
13412
13413 2016-06-05 Florian Weimer <fweimer@redhat.com>
13414
13415 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13416 Remove.
13417 (call_function, interposed_malloc_called): New variables.
13418 (malloc): New function.
13419 (do_test): Do not change malloc hooks. Initialize malloc. Set
13420 and clear call_function as needed.
13421
13422 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
13423
13424 * include/wchar.h (__wmemset): Use __typeof.
13425
13426 2016-06-03 Carlos O'Donell <carlos@redhat.com>
13427
13428 * include/wchar.h (__wmemset): Declare function without typeof.
13429
13430 2016-06-03 Joseph Myers <joseph@codesourcery.com>
13431
13432 [BZ #20205]
13433 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13434 exponent when incrementing negative subnormal with low mantissa
13435 word zero.
13436 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13437 Add another test.
13438
13439 2016-06-03 Florian Weimer <fweimer@redhat.com>
13440
13441 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13442 __wmemset instead of wmemset.
13443
13444 2016-06-02 Carlos O'Donell <carlos@redhat.com>
13445
13446 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13447 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13448 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13449 __USE_KERNEL_IPV6_DEFS to 0.
13450 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13451 Update comment.
13452
13453 2016-06-01 Florian Weimer <fweimer@redhat.com>
13454
13455 [BZ #19861]
13456 Do not use IFUNC resolver with potentially unrelocated symbol.
13457 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13458 (DEFINE_FORK): Remove macro and inline definition.
13459 (fork_alias): Renamed from fork_ifunc.
13460 (__fork_alias): Renamed from __fork_ifunc.
13461
13462 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13463
13464 [BZ 19653]
13465 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13466 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13467
13468 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13469
13470 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13471 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13472 i386-linux-gnu).
13473 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13474 Set to no.
13475 * sysdeps/mach/hurd/configure: Refresh.
13476
13477 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13478
13479 [BZ #20178]
13480 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13481 on failure instead of exit.
13482
13483 2016-05-30 Roland McGrath <roland@hack.frob.com>
13484
13485 [BZ #3629]
13486 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13487 of POSIX.1-2008.
13488
13489 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13490
13491 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13492 Use PLT entry for calling _hurd_self_sigstate.
13493
13494 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13497 available logical processors with SMT level type sharing L2
13498 cache for Intel processors.
13499
13500 2016-05-27 Joseph Myers <joseph@codesourcery.com>
13501
13502 [BZ #20160]
13503 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13504 argument to itself before returning the result.
13505 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13506 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13507 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13508 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13509 Likewise.
13510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13511 Likewise.
13512 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13513 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13514 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13515 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13516 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13517 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13518
13519 [BZ #20160]
13520 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13521 argument to itself before returning the result.
13522 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13523 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13524 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13525 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13526 Likewise.
13527 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13528 Likewise.
13529 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13530 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13531 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13533 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13534 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13535
13536 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13537
13538 * libm-test.inc: Replace usage of M_El with
13539 (lit_e): New macro.
13540
13541 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13542
13543 * libm-test.inc: Replace usage of M_PI_4l with
13544 (lit_pi_4_d): New macro.
13545
13546 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13547
13548 * libm-test.inc: Replace usage of M_PIl with
13549 (lit_pi): New macro.
13550
13551 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13552
13553 * libm-test.inc: Replace usage of M_PI2l with
13554 (lit_pi_2_d): New macro.
13555
13556 * math/test-double.h (LITM): New macro.
13557 * math/test-float.h (LITM): Likewise.
13558 * math/test-ldouble.h (LITM): Likewise.
13559
13560 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13561
13562 * libm-test.inc (M_PI_34l): Rename to
13563 (lit_pi_3_m_4_d): New Macro.
13564 (M_PI_34_LOG10El): Rename to
13565 (lit_pi_3_m_4_ln10_m_d): New Macro.
13566 (M_PI2_LOG10El): Rename to
13567 (lit_pi_2_ln10_m_d): New Macro.
13568 (M_PI4_LOG10El): Rename to
13569 (lit_pi_4_ln10_m_d): New Macro.
13570 (M_PI_LOG10El): Rename to
13571 (lit_pi_ln10_d): New Macro.
13572
13573 2016-05-27 Joseph Myers <joseph@codesourcery.com>
13574
13575 [BZ #20157]
13576 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13577 determine whether to negate low half if [_ARCH_PPCGR], and integer
13578 comparison otherwise.
13579 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13580 determine whether to negate low half.
13581
13582 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13583 (NO_TEST_INLINE_DOUBLE): Likewise.
13584 (TEST_COND_x86_64): Likewise.
13585 (TEST_COND_x86): Likewise.
13586 (M_PI_6l): Likewise.
13587
13588 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13589
13590 * math/libm-test.inc:
13591 (TEST_FLOAT): Change usage to TEST_COND_binary32.
13592 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13593 (TEST_LDOUBLE): Update usage to evaluate as true if
13594 the guarded tests match the property being tested.
13595 (LDBL_MAX_EXP): Change to MAX_EXP.
13596 (LDBL_MIN_EXP): Change to MIN_EXP.
13597 (LDBL_MANT_DIG): Change to MANT_DIG, except for
13598 nexttoward tests.
13599
13600 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13601
13602 * math/libm-test.inc:
13603 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13604 (TYPE_MIN): Likewise.
13605 (TYPE_TRUE_MIN): Likewise.
13606 (TYPE_MAX): Likewise.
13607 (MIN_EXP): Likewise.
13608 (MAX_EXP): Likewise.
13609 (MANT_DIG): Likewise.
13610
13611 (FSTR_MAX): New macro.
13612 (__CONCATX): Likewise.
13613 (QTYPE_STR): Likewise.
13614 (TEST_COND_binary32): Likewise.
13615 (TEST_COND_binary64): Likewise.
13616 (TEST_COND_binary128): Likewise.
13617 (TEST_COND_ibm128): Likewise.
13618 (TEST_COND_intel96): Likewise.
13619 (TEST_COND_m68k96): Likewise.
13620
13621 (TEST_COND_flt_32): Redefine as equivalent format test macro.
13622 (TEST_COND_dbl_64): Likewise.
13623 (TEST_COND_ldbl_96_intel): Likewise.
13624 (TEST_COND_ldbl_96_m68k): Likewise.
13625 (TEST_COND_ldbl_128): Likewise.
13626 (TEST_COND_ldbl_128ibm): Likewise.
13627
13628 (plus_zero): Redefine using LIT macro.
13629 (minus_zero): Likewise.
13630 (plus_infty): Redefine as (INF).
13631 (minux_infty): Redefine as (-INF).
13632 (max_value): Redefine as TYPE_MAX.
13633 (min_value): Redefine as TYPE_MIN.
13634 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13635
13636 (print_float): Refactor to use snprintf to convert FLOAT values
13637 to string. This brings it closer to dropin replacement of strtof
13638 for the TS 18661 defined types.
13639 (update_stats): Likewise.
13640 (print_complex_function_ulps): Likewise.
13641 (print_max_error): Likewise.
13642 (print_complex_max_error): Likewise.
13643 (check_float_internal): Likewise.
13644
13645 * math/test-float.h (PREFIX): New macro.
13646 (LIT): Likewise.
13647 (TYPE_STR): Likewise.
13648 (FTOSTR): Likewise.
13649
13650 * math/test-double.h (PREFIX): New macro.
13651 (LIT): Likewise.
13652 (TYPE_STR): Likewise.
13653 (FTOSTR): Likewise.
13654
13655 * math/test-ldouble.h (PREFIX): New macro.
13656 (LIT): Likewise.
13657 (TYPE_STR): Likewise.
13658 (FTOSTR): Likewise.
13659
13660 2016-05-27 Joseph Myers <joseph@codesourcery.com>
13661
13662 [BZ #20156]
13663 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13664 to itself when zero or not finite.
13665 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13666 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13667 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13668 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13669
13670 2016-05-26 Joseph Myers <joseph@codesourcery.com>
13671
13672 [BZ #20153]
13673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13674 x * x + x for infinities and NaNs.
13675
13676 [BZ #20151]
13677 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13678 argument to itself before returning result.
13679 (__ieee754_y0l): Likewise.
13680 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13681 (__ieee754_y1l).
13682
13683 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13684 (atan_test_data): Likewise.
13685 (ceil_test_data): Likewise.
13686 (cos_test_data): Likewise.
13687 (cosh_test_data): Likewise.
13688 (erf_test_data): Likewise.
13689 (exp2_test_data): Likewise.
13690 (fabs_test_data): Likewise.
13691 (floor_test_data): Likewise.
13692 (ilogb_test_data): Likewise.
13693 (j0_test_data): Likewise.
13694 (j1_test_data): Likewise.
13695 (jn_test_data): Likewise.
13696 (lgamma_test_data): Likewise.
13697 (lrint_test_data): Likewise.
13698 (llrint_test_data): Likewise.
13699 (logb_test_data): Likewise.
13700 (lround_test_data): Likewise.
13701 (llround_test_data): Likewise.
13702 (nearbyint_test_data): Likewise.
13703 (rint_test_data): Likewise.
13704 (round_test_data): Likewise.
13705 (sin_test_data): Likewise.
13706 (sincos_test_data): Likewise.
13707 (sinh_test_data): Likewise.
13708 (sqrt_test_data): Likewise.
13709 (tan_test_data): Likewise.
13710 (tanh_test_data): Likewise.
13711 (tgamma_test_data): Likewise.
13712 (trunc_test_data): Likewise.
13713 (y0_test_data): Likewise.
13714 (y1_test_data): Likewise.
13715 (yn_test_data): Likewise.
13716
13717 * math/libm-test.inc: Update comment about NaN testing.
13718 (TEST_SNAN): New macro.
13719 (snan_value): Likewise.
13720 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13721 (fpclassify_test_data): Add sNaN tests.
13722 (isfinite_test_data): Likewise.
13723 (isinf_test_data): Likewise.
13724 (isnan_test_data): Likewise.
13725 (isnormal_test_data): Likewise.
13726 (issignaling_test_data): Likewise.
13727 (signbit_test_data): Likewise.
13728 * math/gen-libm-test.pl (%beautify): Add snan_value.
13729 (show_exceptions): Add argument $test_snan.
13730 (parse_args): Handle snan_value as non-finite. Update call to
13731 show_exceptions.
13732 * math/Makefile (libm-test-no-inline-cflags): Add
13733 -fsignaling-nans.
13734
13735 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13736
13737 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13738 (CFLAGS-oldsendmsg.c): Add rule.
13739 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13740 Correct recvmsg symbol name.
13741 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13742 Likewise.
13743
13744 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13745
13746 * sysdeps/unix/sysv/linux/Makefile
13747 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13748 oldsendmmsg.
13749 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13750 sendmmsg.
13751 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13754 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13759 Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13762 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13763 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13764 iovlen and controllen fields to adjust to POSIX specification.
13765 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13766
13767 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13768 and change to correct expected type.
13769 (msghdr.msg_controllen): Likewise.
13770 (cmsghdr.cmsg_len): Likewise.
13771 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13772 expected POSIX assumption about the size.
13773 (msghdr.msg_controllen): Likewise.
13774 (msghdr.__glibc_reserved1): Likewise.
13775 (msghdr.__glibc_reserved2): Likewise.
13776 (cmsghdr.cmsg_len): Likewise.
13777 (cmsghdr.__glibc_reserved1): Likewise.
13778 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13779 Add ptw-oldrecvmsg and ptw-oldsendmsg.
13780 (CFLAGS-sendmsg.c): Remove rule.
13781 (CFLAGS-recvmsg.c): Likewise.
13782 (CFLAGS-oldsendmsg.c): Add rule.
13783 (CFLAGS-oldrecvmsg.c): Likewise.
13784 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13785 recvmsg and sendmsg.
13786 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13787 Likewise.
13788 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13789 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13790 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13791 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13792 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13793 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13794 Likewise.
13795 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13796 Likewise.
13797 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13798 Likewise.
13799 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13800 Likewise.
13801 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13802 Likewise.
13803 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13804 Likewise.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13806 (GLIBC_2.24): Likewise.
13807 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13808 Likewise.
13809 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13810 Likewise.
13811 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13812 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13813 Likewise.
13814 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13815 Likewise.
13816 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13817 Likewise.
13818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13819 (GLIBC_2.24): Likewise.
13820 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13821 Likewise.
13822 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13823 Likewise.
13824 * sysdeps/unix/sysv/linux/Makefile
13825 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13826 (CFLAGS-sendmsg.c): Add rule.
13827 (CFLAGS-recvmsg.c): Likewise.
13828 (CFLAGS-oldsendmsg.c): Likewise.
13829 (CFLAGS-oldrecvmsg.c): Likewise.
13830 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13831 initialization.
13832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13833 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13834 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13835 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13836 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13837 iovlen and controllen fields to adjust to POSIX specification.
13838 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13839 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13840 added recvmsg and sendmsg.
13841 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13842 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13843 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13844 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13848 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13854 Likewise.
13855 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13857 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13858 Likewise.
13859 Likewise.
13860 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13861 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13862 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13863 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13864 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13865 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13869 Likewise.
13870 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13872
13873 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13874 from auto-generation.
13875 (sendmsg): Likewise.
13876 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13877 (sendmsg): Likewise.
13878 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13879 (sendmsg): Likewise.
13880 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13881 (sendmsg): Likewise.
13882 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13883 (sendmsg): Likewise.
13884 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13885 (sendmsg): Likewise.
13886 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13887 Likewise.
13888 (sendmsg): Likewise.
13889 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13890 (sendmsg): Likewise.
13891 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13892 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13893 Remove.
13894 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13895 Likewise.
13896 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13897 Undefine.
13898 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13899 Likewise.
13900 * sysdeps/unix/sysv/linux/kernel-features.h
13901 (__ASSUME_SENDMSG_SYSCALL): Define.
13902 (__ASSUME_RECVMSG_SYSCALL): Likewise.
13903 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13904 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13905 Remove.
13906 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13907 Likewise.
13908 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13909 Undefine.
13910 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13911 Likewise.
13912 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13913 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13914 Remove.
13915 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13916 Likewise.
13917 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13918 Undefine.
13919 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13920 Likewise.
13921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13922 (__ASSUME_SENDMSG_SYSCALL): Undefine.
13923 (__ASSUME_RECVMSG_SYSCALL): Likewise.
13924 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13925 (__ASSUME_SENDMSG_SYSCALL): Likewise.
13926 (__ASSUME_RECVMSG_SYSCALL): Likewise.
13927 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13928 (__ASSUME_SENDMSG_SYSCALL): Likewise.
13929 (__ASSUME_RECVMSG_SYSCALL): Likewise.
13930
13931 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13932
13933 * stdlib/gen-tst-strtod-round.c: Add backslash to
13934 compile command in comment.
13935 (printfp): Remove the literal suffix, and define an infinite
13936 value as INF to avoid expansion clash with INFINITY.
13937 (round_str): Remove the literal suffix.
13938 (round_for_all): Likewise, remove the now duplicate ldbl-64
13939 entry, and remove some magic constants.
13940
13941 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13942 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
13943 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13944 (_CONCAT): New macro.
13945 (CONCAT): Likewise.
13946 (CHOOSE_ld): Likewise.
13947 (CHOOSE_f): Likewise.
13948 (CHOOSE_d): Likewise.
13949 (FTYPE_MEMBER): Likewise.
13950 (BOOL_MEMBER): Likewise.
13951 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13952 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13953 (_XNTRY): Likewise.
13954 (XNTRY): Likewise.
13955 (_ENTRY): Likewise.
13956 (ENTRY): Likewise.
13957 (test_exactness): Generate members via macro.
13958 (test_results): Likewise.
13959 (test): Update members.
13960 (TEST): Redefine using new macros.
13961 (INF): New macro.
13962 (fetestmodes): New structure.
13963 (do_test): Refactor to be type generic.
13964 (test_in_one_mode): Refactor duplicate code into
13965 (GEN_ONE_TEST): New macro.
13966
13967 * stdlib/tst-strtod-round-data.h: Regenerate.
13968
13969 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13970 Extend to pass additional arbitrary parameters to
13971 generators.
13972
13973 2016-05-25 Joseph Myers <joseph@codesourcery.com>
13974
13975 [BZ #15479]
13976 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13977 floating-point state after first floating-point operation on
13978 input. Restore full floating-point state instead of just rounding
13979 mode.
13980 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13981 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13982 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13983 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13984 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13985
13986 [BZ #15479]
13987 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13988 floating-point state after first floating-point operation on
13989 input. Restore full floating-point state instead of just rounding
13990 mode.
13991 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13992 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13993 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13994 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13995 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13996
13997 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13998
13999 [BZ #19727]
14000 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14001 valid high surrogate.
14002 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14003 of an utf16 surrogate.
14004 * iconv/gconv_simple.c (BODY): Likewise.
14005 * iconvdata/bug-iconv12.c: New file.
14006 * iconvdata/Makefile (tests): Add bug-iconv12.
14007
14008 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14009
14010 [BZ #19726]
14011 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14012 outptrp in case of an illegal input.
14013 * iconv/tst-iconv6.c: New file.
14014 * iconv/Makefile (tests): Add tst-iconv6.
14015
14016 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14017
14018 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14019 an error in case of a value in range of an utf16 low surrogate.
14020
14021 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14022
14023 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14024 an error in case of a value in range of an utf16 low surrogate.
14025
14026 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14027
14028 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14029 Move to ...
14030 * sysdeps/s390/Makefile: ... here.
14031 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14032 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14033 (BRANCH_ON_COUNT): New define.
14034 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14035 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14036 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14037 run on s390-32, too.
14038 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14039 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14040 run on s390-32, too.
14041 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14042 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14043 run on s390-32, too.
14044
14045 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14046
14047 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14048 etf3eh or new vector loop-variant.
14049
14050 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14051
14052 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14053 etf3eh or new vector loop-variant.
14054
14055 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14056
14057 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14058 or new vector loop-variant.
14059
14060 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14061
14062 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14063 Rename to TR_LOOP and usage of tr instead of troo instruction.
14064
14065 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14066
14067 * sysdeps/s390/multiarch/gconv_simple.c: New File.
14068 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14069
14070 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14071
14072 * sysdeps/s390/multiarch/8bit-generic.c: New File.
14073 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14074 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14075 New override define.
14076 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14077
14078 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14079
14080 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14081 * sysdeps/s390/configure.ac: Add test for S390 vector register
14082 support in gcc.
14083 * sysdeps/s390/configure: Regenerated.
14084
14085 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14086
14087 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14088 Install file from $(objpfx)gconv-modules.
14089 ($(objpfx)gconv-modules): Concatenate architecture specific file
14090 in variable sysdeps-gconv-modules and gconv-modules in src dir.
14091 * sysdeps/s390/gconv-modules: New file.
14092 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14093 Deleted.
14094 ($(objpfx)gconv-modules-s390): Deleted.
14095 (sysdeps-gconv-modules): New variable.
14096
14097 2016-05-24 Joseph Myers <joseph@codesourcery.com>
14098
14099 [BZ #15479]
14100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14101 of immediate operand to rounding instruction.
14102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14103 Likewise.
14104 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14105 Likewise.
14106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14107 Likewise.
14108
14109 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14110
14111 * math/libm-test.inc (MIN_EXP): Directly define as
14112 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14113
14114 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14115
14116 * math/libm-test.inc (MANT_DIG): Directly define as
14117 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14118
14119 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14120
14121 * stdlib/gen-tst-strtod-round.c (main):
14122 Change usage to more closely match the generated
14123 output. Add usage and compilation instructions.
14124 (string_to_fp): Add and use FILE* parameter as
14125 output target.
14126 (print_fp): Likewise.
14127 (round_str): Likewise.
14128 (round_for_all): Likewise.
14129 * stdlib/tst-strtod-round.c (tests): Move into
14130 * stdlib/tst-strtod-round-data.h: New file.
14131
14132 2016-05-24 Joseph Myers <joseph@codesourcery.com>
14133
14134 [BZ #15479]
14135 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14136 (__round): Do not force "inexact" exception.
14137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14138 variable.
14139 (__round): Do not force "inexact" exception.
14140 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14141 (__roundf): Do not force "inexact" exception.
14142 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14143 (__roundl): Do not force "inexact" exception.
14144 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14145 (__roundl): Do not force "inexact" exception.
14146 * math/libm-test.inc (round_test_data): Do not allow spurious
14147 "inexact" exceptions.
14148
14149 [BZ #15479]
14150 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14151 exception in comment.
14152 (huge): Remove variable.
14153 (__floor): Do not force "inexact" exception.
14154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14155 "inexact" exception in comment.
14156 (huge): Remove variable.
14157 (__floor): Do not force "inexact" exception.
14158 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14159 exception in comment.
14160 (huge): Remove variable.
14161 (__floorf): Do not force "inexact" exception.
14162 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14163 exception in comment.
14164 (huge): Remove variable.
14165 (__floorl): Do not force "inexact" exception.
14166
14167 [BZ #15479]
14168 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14169 exception in comment.
14170 (huge): Remove variable.
14171 (__ceil): Do not force "inexact" exception.
14172 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14173 "inexact" exception in comment.
14174 (huge): Remove variable.
14175 (__ceil): Do not force "inexact" exception.
14176 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14177 (__ceilf): Do not force "inexact" exception.
14178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14179 exception in comment.
14180 (huge): Remove variable.
14181 (__ceill): Do not force "inexact" exception.
14182
14183 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
14184
14185 * config.h.in (BIND_NOW): New.
14186 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
14187 * configure: Regenerated.
14188 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14189 indirect branch via the GOT slot.
14190
14191 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14192
14193 [BZ #19765]
14194 * sysdeps/s390/mempcpy.S: New File.
14195 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14196 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14197 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14198 Add mempcpy variants.
14199 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14200 (memcpy): Adjust to be usable from mempcpy entry point.
14201 (__memcpy_mvcle): Likewise.
14202 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14203 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14204 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14205 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14206 (__memcpy_z10): Likewise.
14207 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14208
14209 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14210
14211 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14212 Remove __GI_ symbol.
14213 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14214 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14215 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14216 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14217 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14218 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14219
14220 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14221
14222 * sysdeps/s390/s390-64/memcpy.S (memcpy):
14223 Use cghi instead of chi to compare 64bit value.
14224
14225 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14226
14227 * sysdeps/s390/s390-32/memcpy.S (memcpy):
14228 Jump to 1MB check before executing mvc-loop.
14229
14230 2016-05-24 Florian Weimer <fweimer@redhat.com>
14231
14232 [BZ #6527]
14233 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14234 unconditionally.
14235 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14236
14237 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14238
14239 * stdlib/tst-strtod6.c (do_test): Use new type generic
14240 invocation of the test function.
14241 (test): Refactor into ...
14242 (TEST_STRTOD): New macro base function.
14243
14244 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14245
14246 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14247 (TEST_STRTOD): New macro.
14248 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14249
14250 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14251
14252 * stdlib/tst-strtod6.c (do_test): Use new type generic
14253 invocation of the test function.
14254 (test): Refactor into ...
14255 (TEST_STRTOD): New macro base function.
14256
14257 2016-05-23 Florian Weimer <fweimer@redhat.com>
14258
14259 CVE-2016-4429
14260 [BZ #20112]
14261 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14262 payload.
14263
14264 2016-05-23 Florian Weimer <fweimer@redhat.com>
14265
14266 [BZ #20111]
14267 * bits/sockaddr.h (_SS_SIZE): Define.
14268 * bits/socket.h (_SS_SIZE): Remove.
14269 (_SS_PADSIZE): Adjust to account for all padding.
14270 (struct sockaddr_storage): Update comment. Avoid implicit
14271 padding.
14272 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14273 (_SS_PADSIZE): Adjust to account for all padding.
14274 (struct sockaddr_storage): Update comment. Avoid implicit
14275 padding.
14276 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14277 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14278 (_SS_PADSIZE): Adjust to account for all padding.
14279 (struct sockaddr_storage): Update comment. Avoid implicit
14280 padding.
14281 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14282 __SS_SIZE is 126 in this version.
14283 * inet/tst-sockaddr.c: New file.
14284 * inet/Makefile (tests): Add tst-sockaddr.c
14285 (tst-sockaddr.c): Compile with non-strict aliasing.
14286
14287 2016-05-23 Joseph Myers <joseph@codesourcery.com>
14288
14289 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14290 [XPG3 || XPG4].
14291 (NL_ARGMAX): Also expect for [XPG3].
14292 (NL_LANGMAX): Likewise.
14293 (NL_MSGMAX): Likewise.
14294 (NL_NMAX): Likewise.
14295 (NL_SETMAX): Likewise.
14296 (NL_TEXTMAX): Likewise.
14297 (NZERO): Likewise.
14298 (TMP_MAX): Likewise.
14299 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14300 variable.
14301
14302 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14303 (PF_MAX): Update value.
14304 (AF_KCM): New macro.
14305 (SOL_NETBEUI): Likewise.
14306 (SOL_LLC): Likewise.
14307 (SOL_DCCP): Likewise.
14308 (SOL_NETLINK): Likewise.
14309 (SOL_TIPC): Likewise.
14310 (SOL_RXRPC): Likewise.
14311 (SOL_PPPOL2TP): Likewise.
14312 (SOL_BLUETOOTH): Likewise.
14313 (SOL_PNPIPE): Likewise.
14314 (SOL_RDS): Likewise.
14315 (SOL_IUCV): Likewise.
14316 (SOL_CAIF): Likewise.
14317 (SOL_ALG): Likewise.
14318 (SOL_NFC): Likewise.
14319 (SOL_KCM): Likewise.
14320 (MSG_BATCH): New enum value and macro.
14321
14322 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 [BZ #18185]
14325 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14326 sharing L2 cache to 2 for Knights Landing.
14327
14328 2016-05-20 Joseph Myers <joseph@codesourcery.com>
14329
14330 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14331 (FTW_DP): Do not expect for [XPG3 || XPG4].
14332 (FTW_SL): Do not expect for [XPG3].
14333 (FTW_SLN): Likewise.
14334 (FTW_PHYS): Likewise.
14335 (FTW_MOUNT): Likewise.
14336 (FTW_DEPTH): Likewise.
14337 (FTW_CHDIR): Likewise.
14338 (nftw): Likewise.
14339 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14340 variable.
14341
14342 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
14343
14344 * manual/errno.texi: Fix various typos & grammar errors.
14345
14346 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
14347
14348 * manual/intro.texi: Fix duplicated typo.
14349
14350 2016-05-19 Joseph Myers <joseph@codesourcery.com>
14351
14352 [BZ #13304]
14353 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14354 <float.h>, <math_private.h> and <stdlib.h>.
14355 (add_split): New function.
14356 (mul_split): Likewise.
14357 (ext_val): New typedef.
14358 (store_ext_val): New function.
14359 (mul_ext_val): New function.
14360 (compare): New function.
14361 (add_split_ext): New function.
14362 (__fmal): After checking for Inf, NaN and zero, compute result as
14363 an exact sum of scaled double values in round-to-nearest before
14364 adding those up and adjusting for other rounding modes.
14365 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14366 tests of fma.
14367 * math/auto-libm-test-out: Regenerated.
14368
14369 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
14370
14371 [BZ #20119]
14372 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14373 processor level type mask for CPUID with EAX == 11.
14374
14375 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
14376
14377 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14378 logical threads if the HTT bit is 0.
14379 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14380 (index_cpu_HTT): Likewise.
14381 (reg_HTT): Likewise.
14382
14383 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
14384
14385 [BZ #20115]
14386 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14387 Remove alignments on jump targets.
14388
14389 2016-05-19 Joseph Myers <joseph@codesourcery.com>
14390
14391 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14392 (getpwent): Likewise.
14393 (setpwent): Likewise.
14394 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14395 variable.
14396
14397 * conform/data/search.h-data (insque): Do not expect for [XPG3].
14398 (remque): Likewise.
14399 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14400 variable.
14401
14402 2016-05-18 Joseph Myers <joseph@codesourcery.com>
14403
14404 * math/libm-test.inc: Update comment not to refer to signs of NaNs
14405 not being tested.
14406
14407 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14410 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
14411 call.
14412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14413 (__condvar_cleanup1): Likewise.
14414
14415 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14418 New
14419 (__pthread_unwind): Renamed to ...
14420 (PTHREAD_UNWIND): This.
14421 (__pthread_enable_asynccancel): Replace
14422 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14423
14424 2016-05-18 Joseph Myers <joseph@codesourcery.com>
14425
14426 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14427 (CLONE_NEWCGROUP): New macro.
14428
14429 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14430 (Q_GETNEXTQUOTA): New macro.
14431
14432 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
14433
14434 [BZ #19907]
14435 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14436 buffer updated by the previous run.
14437 * string/test-memcpy.c (do_one_test): Likewise.
14438 * benchtests/bench-memmove.c (do_one_test): Add a comment.
14439 * string/test-memmove.c (do_one_test): Likewise.
14440
14441 2016-05-17 Joseph Myers <joseph@codesourcery.com>
14442
14443 [BZ #20094]
14444 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14445 not [__USE_XOPEN].
14446 (unlockpt): Likewise.
14447 (ptsname): Likewise.
14448 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14449 variable.
14450
14451 [BZ #20076]
14452 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14453 instead of [__USE_UNIX98].
14454 (S_ISSOCK): Likewise.
14455 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14456 variable.
14457
14458 [BZ #20074]
14459 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14460 [__USE_POSIX].
14461 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14462 variable.
14463
14464 [BZ #20051]
14465 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14466 (ttyslot): Do not declare.
14467 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14468 (ttyslot): New prototype.
14469 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14470 variable.
14471 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14472
14473 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
14474
14475 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14476
14477 2016-05-13 Florian Weimer <fweimer@redhat.com>
14478
14479 Fix race condition in tst-mallocfork2, use fewer resources.
14480 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14481 to current process group.
14482 (signal_sender): Yield in the non-sleeping case.
14483
14484 2016-05-13 Joseph Myers <joseph@codesourcery.com>
14485
14486 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14487 (ecvt): Likewise.
14488 (fcvt): Likewise.
14489 (gcvt): Likewise.
14490 (getsubopt): Likewise.
14491 (grantpt): Likewise.
14492 (initstate): Likewise.
14493 (l64a): Likewise.
14494 (mktemp): Likewise.
14495 (mkstemp): Likewise.
14496 (ptsname): Likewise.
14497 (random): Likewise.
14498 (realpath): Likewise.
14499 (setstate): Likewise.
14500 (srandom): Likewise.
14501 (ttyslot): Likewise.
14502 (unlockpt): Likewise.
14503 (valloc): Likewise.
14504
14505 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14506 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14507 variable.
14508
14509 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 [BZ #20072]
14512 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14513 init_cpu_features only if SHARED is defined.
14514 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14515
14516 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
14517
14518 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14519 non-inclusive caches on Intel processors.
14520
14521 2016-05-13 Florian Weimer <fweimer@redhat.com>
14522
14523 * malloc/malloc.c (dumped_main_arena_start)
14524 (dumped_main_arena_end): New variables.
14525 (DUMPED_MAIN_ARENA_CHUNK): New macro.
14526 (do_check_chunk): Skip dumped fake mmapped chunks.
14527 (munmap_chunk): Likewise.
14528 (__libc_free): Do not adjust statistics for fake mmapped chunks.
14529 (__libc_realloc): Adjust hardening check. Always copy dumped fake
14530 mmapped chunks.
14531 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14532 Mark dumped chunks as using mmap. Update dumped_main_arena_start
14533 and dumped_main_arena_end to cover the dumped heap.
14534
14535 2016-05-12 Joseph Myers <joseph@codesourcery.com>
14536
14537 * conform/data/time.h-data (getdate_err): Do not expect for
14538 [XPG3].
14539 (getdate): Likewise.
14540 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14541 variable.
14542
14543 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14544 (F_ULOCK): Likewise.
14545 (F_TEST): Likewise.
14546 (F_TLOCK): Likewise.
14547 (useconds_t): Likewise.
14548 (intptr_t): Do not expect for [XPG3] or [XPG4].
14549 (brk): Do not expect for [XPG3]
14550 (fchown): Likewise.
14551 (fchdir): Likewise.
14552 (ftruncate): Likewise.
14553 (getdtablesize): Likewise.
14554 (gethostid): Likewise.
14555 (getpagesize): Likewise.
14556 (getpgid): Likewise.
14557 (getsid): Likewise.
14558 (getwd): Likewise.
14559 (lchown): Likewise.
14560 (lockf): Likewise.
14561 (readlink): Likewise.
14562 (sbrk): Likewise.
14563 (setpgrp): Likewise.
14564 (setregid): Likewise.
14565 (setreuid): Likewise.
14566 (symlink): Likewise.
14567 (sync): Likewise.
14568 (truncate): Likewise.
14569 (ualarm): Likewise.
14570 (usleep): Likewise.
14571 (vfork): Likewise.
14572 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14573 variable.
14574
14575 [BZ #20054]
14576 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14577 not [__USE_UNIX98].
14578 * conform/data/unistd.h-data (gethostname): Do not expect for
14579 [XPG3].
14580
14581 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14582 [!POSIX] (S_IFBLK): Likewise.
14583 [!POSIX] (S_IFCHR): Likewise.
14584 [!POSIX] (S_IFIFO): Likewise.
14585 [!POSIX] (S_IFREG): Likewise.
14586 [!POSIX] (S_IFDIR): Likewise.
14587 [!POSIX] (S_IFLNK): Likewise.
14588 [!POSIX] (S_IFSOCK): Likewise.
14589 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14590 variable.
14591 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14592
14593 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
14594
14595 * sysdeps/aarch64/memset.S (__memset):
14596 Rewrite of optimized memset.
14597
14598 2016-05-12 Florian Weimer <fweimer@redhat.com>
14599
14600 [BZ #19703]
14601 Partially async-signal-safe fork for single-threaded processes.
14602 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14603 variable. Do not acquire and reset/release malloc and libio locks
14604 in single-threaded processes.
14605 * malloc/tst-mallocfork2.c: New file.
14606 * malloc/Makefile (tests): Add it.
14607
14608 2016-05-12 Florian Weimer <fweimer@redhat.com>
14609
14610 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14611 argument. Use scratch buffer instead of extend_alloca.
14612 (gethosts): Use scratch buffer instead of extend_alloca.
14613 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
14614 extend_alloca.
14615 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14616
14617 2016-05-11 Joseph Myers <joseph@codesourcery.com>
14618
14619 [BZ #20055]
14620 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14621 instead of [__USE_UNIX98].
14622 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14623 [__USE_UNIX98].
14624 * conform/data/termios.h-data (tcgetsid): Do not expect for
14625 [XPG3].
14626 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14627 variable.
14628 (test-xfail-XPG4/termios.h/conform): Likewise.
14629
14630 2016-05-11 Florian Weimer <fweimer@redhat.com>
14631
14632 Do not use mcheck in localedef.
14633 * locale/programs/localedef.c (turn_on_mcheck)
14634 (__malloc_initialize_hook): Remove.
14635
14636 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14637
14638 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14639 * sysdeps/s390/s390-64/Makefile: Likewise.
14640
14641 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
14642
14643 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14644 Remove ifunc-defines.sym.
14645 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14646 Likewise.
14647 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14648 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14649 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14650 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14651 rtld-global-offsets.sym.
14652 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14653 * sysdeps/x86/cpu-features-offsets.sym: This.
14654 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14655 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14656
14657 2016-05-10 Joseph Myers <joseph@codesourcery.com>
14658
14659 [BZ #20073]
14660 * io/sys/stat.h (fchmod): Declare for
14661 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14662 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14663 variable.
14664
14665 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14666 [XPG3] (S_IFSOCK): Likewise.
14667 [XPG3] (S_ISVTX): Likewise.
14668 [XPG3] (S_ISLNK): Likewise.
14669 [XPG3] (S_ISSOCK): Likewise.
14670 [XPG3] (fchmod): Likewise.
14671 [XPG3] (lstat): Likewise.
14672 [XPG3] (mknod): Likewise.
14673
14674 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14675 [XPG3]. Expect type long and XFAIL for [XPG4].
14676 (st_blocks): Likewise.
14677
14678 [BZ #20044]
14679 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14680 (pthread_atfork): New prototype.
14681 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14682 variable.
14683
14684 [BZ #20043]
14685 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14686 prototype.
14687
14688 2016-05-10 Florian Weimer <fweimer@redhat.com>
14689
14690 [BZ #20017]
14691 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14692 gmtime.
14693
14694 2016-05-10 Florian Weimer <fweimer@redhat.com>
14695
14696 [BZ #19994]
14697 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14698 flag in _res.options.
14699
14700 2016-05-09 Joseph Myers <joseph@codesourcery.com>
14701
14702 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14703 [XPG3 || XPG4].
14704 (blksize_t): Likewise.
14705 (clockid_t): Likewise.
14706 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14707 variable.
14708 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14709
14710 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
14711
14712 * sysdeps/unix/sysv/linux/s390/init-first.c:
14713 Add VDSO_SYMBOL(getcpu).
14714 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14715 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14716 Add VDSO_SYMBOL(getcpu).
14717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14718 New define HAVE_GETCPU_VSYSCALL.
14719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14720
14721 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14724 instead of <sysdeps/x86_64/cacheinfo.c>.
14725 * sysdeps/x86_64/cacheinfo.c: Moved to ...
14726 * sysdeps/x86/cacheinfo.c: Here.
14727
14728 2016-05-04 Florian Weimer <fweimer@redhat.com>
14729
14730 * malloc/malloc-internal.h: Adjust header file guard.
14731
14732 2016-05-04 Florian Weimer <fweimer@redhat.com>
14733
14734 [BZ #19787]
14735 * inet/getnameinfo.c (check_sprintf_result): New function.
14736 (CHECKED_SNPRINTF): New macro.
14737 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14738 to the host buffer.
14739 (gni_host_local): Use checked_copy to copy the host name.
14740 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14741 (gni_serv_local): Use checked_copy to copy the service name.
14742 (getnameinfo): Remove unnecessary truncation of result buffers.
14743
14744 2016-05-04 Florian Weimer <fweimer@redhat.com>
14745
14746 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14747 in case of inet_ntop failure.
14748
14749 2016-05-04 Florian Weimer <fweimer@redhat.com>
14750
14751 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14752 avoid long lines.
14753 (gni_host_inet_numeric): Likewise. Reduce scope of local
14754 variables.
14755 (gni_host_inet, gni_host_local): Add comment.
14756 (gni_host): Add comment. Use temporary to avoid long lines.
14757
14758 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14759
14760 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14761 registers specifiers where general purpose registers specifiers should
14762 have been used.
14763
14764 2016-05-04 Florian Weimer <fweimer@redhat.com>
14765
14766 [BZ #19779]
14767 CVE-2016-1234
14768 Avoid copying names of directory entries.
14769 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14770 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14771 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14772 (struct readdir_result): New type.
14773 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14774 (GL_READDIR): New macros.
14775 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14776 (convert_dirent, convert_dirent64): New functions.
14777 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
14778 convert_dirent64. Adjust references to the readdir result.
14779 * sysdeps/unix/sysv/linux/i386/glob64.c:
14780 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14781 * posix/bug-glob2.c (LONG_NAME): Define.
14782 (filesystem): Add LONG_NAME.
14783 (my_DIR): Increase the size of room_for_dirent.
14784
14785 2016-05-03 Joseph Myers <joseph@codesourcery.com>
14786
14787 [BZ #20041]
14788 * misc/sys/select.h (__need_timespec): Only define if
14789 [__USE_XOPEN2K].
14790 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14791 variable.
14792 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14793 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14794 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14795
14796 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14797 Segher Boessenkool <segher@gcc.gnu.org>
14798
14799 [BZ #20004]
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14801 (__novec_swapcontext): Add missing load.
14802
14803 2016-05-02 Joseph Myers <joseph@codesourcery.com>
14804
14805 [BZ #20023]
14806 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14807 <time.h>.
14808 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14809 variable.
14810 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14811
14812 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14813
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14815 flags CLONE_VM compare.
14816
14817 2016-05-02 Florian Weimer <fweimer@redhat.com>
14818
14819 [BZ #20031]
14820 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14821 completely empty.
14822
14823 2016-05-02 Florian Weimer <fweimer@redhat.com>
14824
14825 [BZ #19573]
14826 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14827 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14828 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14829 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14830 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14831 (hesiod_free_list): Mark as hidden.
14832 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14833 res_set, res_get.
14834 * hesiod/hesiod.c: Remove unnecessary forward declarations.
14835 (init, __hesiod_res_get, __hesiod_res_set): Remove.
14836 (hesiod_init): Remove obsolete res_ninit call.
14837 (hesiod_end): Do not free resolver state. Do not invoke callback.
14838 (hesiod_bind): Do not call init.
14839 (get_txt_records): Use res_mkquery, res_send instead of
14840 res_nmkquery, res_nsend.
14841 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14842 instead of _nss_hesiod_init.
14843 (_nss_hesiod_initgroups_dyn): Likewise.
14844 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14845 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14846 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14847
14848 2016-05-02 Florian Weimer <fweimer@redhat.com>
14849
14850 * hesiod/hesiod_p.h (DEF_RHS): Remove.
14851 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14852
14853 2016-05-02 Florian Weimer <fweimer@redhat.com>
14854
14855 * hesiod/hesiod.h: Remove RCS keyword.
14856 * hesiod/hesiod_p.h: Likewise.
14857
14858 * hesiod/hesiod.c: Likewise.
14859
14860 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
14861
14862 [BZ #12450]
14863 * locale/iso-639.def: Add Samogitian/sgs.
14864
14865 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
14866
14867 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14868
14869 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14870
14871 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
14872 Carlos O'Donell <carlos@redhat.com>
14873
14874 [BZ #19072]
14875 * grp/Makefile (headers): Add grp-merge.h
14876 (routines): Add grp-merge.
14877 * grp/getgrgid_r.c: Include grp-merge.h.
14878 (DEEPCOPY_FN): Define.
14879 (MERGE_FN): Define.
14880 * grp/getgrname_r.c: Include grp-merge.h.
14881 (DEEPCOPY_FN): Define.
14882 (MERGE_FN): Define.
14883 * grp/grp-merge.c: New file.
14884 * grp/grp-merge.h: New file.
14885 * include/grp-merge.h: New file.
14886 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14887 __copy_grp@GLIBC_PRIVATE.
14888 * manual/nss.texi (Actions in the NSS configuration): Describe
14889 return, continue, and merge.
14890 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14891 (DEEPCOPY_FN): Define.
14892 (MERGE_FN): Define.
14893 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14894 (DEEPCOPY_FN): Define.
14895 (MERGE_FN): Define.
14896 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14897 [!MERGE_FN]: Define __merge_einval.
14898 (CHECK_MERGE): Define.
14899 (REENTRANT_NAME): Process merge if do_merge is true.
14900 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14901 (__nss_getent_r): Likewise.
14902 * nss/nsswitch.c (nss_parse_service_list): Likewise.
14903 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14904
14905 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14906
14907 [BZ #20012]
14908 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14909 length to calculate the buffer to read.
14910 (fmemopen_write): Set the buffer position based on bytes written.
14911 (fmemopen_seek): Return EINVAL for invalid whence modes.
14912
14913 [BZ #19957]
14914 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14915 tst-getpid2.
14916 (test): Add tst-clone2.
14917 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14918 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14919 pid/tid fields for CLONE_VM.
14920 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14921 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14922 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14923 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14924 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14925 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14926 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14927 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14929 Likewise.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14931 Likewise.
14932 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14933 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14934 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14936 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14937 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14938 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14939 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14940
14941 2016-04-29 Florian Weimer <fweimer@redhat.com>
14942
14943 [BZ #19642]
14944 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14945 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14946 (gni_serv_local, gni_serv): New functions extracted from
14947 getnameinfo.
14948 (getnameinfo): Call gni_host and gni_serv to perform the
14949 processing. Always free scratch buffer.
14950
14951 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14952
14953 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14954 remaining bytes in the dest string, with zeros.
14955
14956 2016-04-29 Florian Weimer <fweimer@redhat.com>
14957
14958 [BZ #20010]
14959 CVE-2016-3706
14960 * sysdeps/posix/getaddrinfo.c
14961 (convert_hostent_to_gaih_addrtuple): New function.
14962 (gethosts): Call convert_hostent_to_gaih_addrtuple.
14963 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14964 AF_INET data.
14965
14966 2016-04-29 Florian Weimer <fweimer@redhat.com>
14967
14968 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14969 callback function gl_readdir.
14970 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14971 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14972 (glob_in_dir): Remove len. Use strdup instead of malloc and
14973 memcpy to copy the name.
14974 * manual/pattern.texi (Calling Glob): Document requirements for
14975 implementations of the gl_readdir callback function.
14976 * manual/examples/mkdirent.c: New example.
14977 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14978 per the manual guidance.
14979 * posix/tst-gnuglob.c (my_readdir): Likewise.
14980
14981 2016-04-28 Joseph Myers <joseph@codesourcery.com>
14982
14983 [BZ #20014]
14984 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14985 not [__USE_POSIX].
14986 (getchar_unlocked): Likewise.
14987 (putc_unlocked): Likewise.
14988 (putchar_unlocked): Likewise.
14989 (flockfile): Likewise.
14990 (ftrylockfile): Likewise.
14991 (funlockfile): Likewise.
14992 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14993 variable.
14994 (test-xfail-XPG4/stdio.h/conform): Likewise.
14995
14996 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14997 Expect constant.
14998 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14999 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15000 variable.
15001 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15002 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15003
15004 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15005 [__USE_LARGEFILE64] (off64_t): Likewise.
15006 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15007 variable.
15008
15009 2016-04-28 Florian Weimer <fweimer@redhat.com>
15010
15011 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15012
15013 2016-04-28 Florian Weimer <fweimer@redhat.com>
15014
15015 * resolv/inet_addr.c: Reindent preprocessor conditionals.
15016 * resolv/res_init.c: Likewise.
15017 * resolv/res_mkquery.c: Likewise.
15018
15019 2016-04-28 Florian Weimer <fweimer@redhat.com>
15020
15021 * resolv/res_init.c (isascii): Do not define. Use definition in
15022 <ctype.h>.
15023 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15024 (LOG_AUTH): Remove.
15025 (SPRINTF): Remove, adjust caller.
15026 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15027
15028 2016-04-28 Florian Weimer <fweimer@redhat.com>
15029
15030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15031 SUNSECURITY conditional.
15032 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15033
15034 2016-04-28 Florian Weimer <fweimer@redhat.com>
15035
15036 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15037 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15038 Remove BSD-related preprocessor conditionals.
15039 * conf/portability.h: Remove.
15040
15041 2016-04-28 Florian Weimer <fweimer@redhat.com>
15042
15043 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15044 * resolv/res_data.c: Likewise.
15045
15046 2016-04-28 Florian Weimer <fweimer@redhat.com>
15047
15048 * resolv/res_comp.c: Remove code conditional on __ultrix__.
15049 * resolv/res_data.c: Remove code conditional on ultrix.
15050
15051 2016-04-28 Florian Weimer <fweimer@redhat.com>
15052
15053 * resolv/res_init.c (RFC1535): Do not define. Remove
15054 RFC1535 preprocessor conditionals.
15055 * resolv/README: Update. Do not claim strict RFC 1535 compliance
15056 because there configuration options which make the resolver
15057 behavior different.
15058
15059 2016-04-28 Florian Weimer <fweimer@redhat.com>
15060
15061 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
15062 RESOLVSORT preprocessor conditionals.
15063 * resolv/nss_dns/dns-host.c: Likewise.
15064 * resolv/res_init.c: Likewise.
15065
15066 2016-04-28 Florian Weimer <fweimer@redhat.com>
15067
15068 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
15069 is never defined.
15070
15071 2016-04-28 Florian Weimer <fweimer@redhat.com>
15072
15073 * inet/inet_lnaof.c: Remove SCSS keyword.
15074 * inet/inet_mkadr.c: Likewise.
15075 * inet/inet_net.c: Likewise.
15076 * inet/inet_netof.c: Likewise.
15077 * inet/rcmd.c: Likewise.
15078 * inet/rexec.c: Likewise.
15079 * inet/ruserpass.c: Likewise.
15080
15081 2016-04-28 Florian Weimer <fweimer@redhat.com>
15082
15083 * resolv/inet_addr.c: Remove _LIBC conditionals.
15084 * resolv/res_data.c: Likewise.
15085 * resolv/res_init.c: Likewise.
15086 * resolv/res_mkquery.c: Likewise.
15087 * resolv/res_libc.c: Update comment.
15088 * resolv/README: Update.
15089
15090 2016-04-28 Florian Weimer <fweimer@redhat.com>
15091
15092 * resolv/gethnamaddr.c: Remove SCSS keyword.
15093 * resolv/herror.c: Likewise.
15094 * resolv/inet_addr.c: Likewise.
15095 * resolv/inet_net_ntop.c: Likewise.
15096 * resolv/inet_net_pton.c: Likewise.
15097 * resolv/inet_neta.c: Likewise.
15098 * resolv/inet_ntop.c: Likewise.
15099 * resolv/inet_pton.c: Likewise.
15100 * resolv/ns_date.c: Remove RCS keyword.
15101 * resolv/ns_name.c: Likewise.
15102 * resolv/ns_netint.c: Likewise.
15103 * resolv/ns_parse.c: Likewise.
15104 * resolv/ns_print.c: Likewise.
15105 * resolv/ns_samedomain.c: Likewise.
15106 * resolv/ns_ttl.c: Likewise.
15107 * resolv/nsap_addr.c: Likewise.
15108 * resolv/res_comp.c: Remove SCSS and RCS keyword.
15109 * resolv/res_data.c: Remove RCS keyword.
15110 * resolv/res_debug.c: Remove SCSS and RCS keyword.
15111 * resolv/res_init.c: Likewise.
15112 * resolv/res_mkquery.c: Likewise.
15113 * resolv/res_query.c: Likewise.
15114 * resolv/res_send.c: Likewise.
15115
15116 2016-04-27 Joseph Myers <joseph@codesourcery.com>
15117
15118 * conform/data/stdio.h-data (fdopen): Expect also for
15119 [XPG3 || XPG4].
15120
15121 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15122 (fseeko): Likewise.
15123 (ftello): Likewise.
15124 (ftrylockfile): Likewise.
15125 (funlockfile): Likewise.
15126 (getc_unlocked): Likewise.
15127 (getchar_unlocked): Likewise.
15128 (putc_unlocked): Likewise.
15129 (putchar_unlocked): Likewise.
15130
15131 2016-04-27 Florian Weimer <fweimer@redhat.com>
15132
15133 [BZ #19868]
15134 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15135 DNS packet syntax checks (which were not needed before). Skip
15136 over non-PTR records.
15137
15138 2016-04-27 Florian Weimer <fweimer@redhat.com>
15139
15140 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15141 definition. Include <stddef.h> instead.
15142
15143 2016-04-27 Florian Weimer <fweimer@redhat.com>
15144
15145 [BZ #19831]
15146 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15147 function.
15148 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15149 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15150
15151 2016-04-27 Florian Weimer <fweimer@redhat.com>
15152
15153 [BZ #19862]
15154 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15155 (getanswer_r): Do not call syslog.
15156 (gaih_getanswer_slice): Likewise.
15157 * resolv/gethnamaddr.c (AskedForGot): Remove.
15158 (getanswer): Do not call syslog.
15159 (gethostbyaddr): Likewise.
15160
15161 2016-04-27 Joseph Myers <joseph@codesourcery.com>
15162
15163 * conform/data/signal.h-data (union sigval): Expect also if
15164 [XOPEN2K].
15165 (struct sigevent): Likewise.
15166 (SIGEV_NONE): Likewise.
15167 (SIGEV_SIGNAL): Likewise.
15168 (SIGEV_THREAD): Likewise.
15169 (SIGRTMIN): Likewise.
15170 (SIGRTMAX): Likewise.
15171 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15172 variable.
15173 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15174
15175 2016-04-27 Florian Weimer <fweimer@redhat.com>
15176
15177 [BZ #19830]
15178 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15179 (gaih_getanswer_slice): Likewise.
15180 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15181 Also check for availability of RR metadata.
15182
15183 2016-04-27 Florian Weimer <fweimer@redhat.com>
15184
15185 [BZ #19825]
15186 * resolv/res_send.c (send_vc): Remove early *resplen2
15187 initialization. Set *resplen2 on socket error. Call
15188 close_and_return_error for other errors.
15189
15190 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
15191
15192 * sysdeps/unix/sysv/linux/netiucv/iucv.h
15193 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15194 (SCM_IUCV_TRGCLS): New define.
15195
15196 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15197
15198 [BZ #20005]
15199 * libio/fmemopen.c (fmemopen_write): Update internal position after
15200 write.
15201 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15202 * stdio-common/tst-fmemopen4.c: New file..
15203
15204 2016-04-26 Joseph Myers <joseph@codesourcery.com>
15205
15206 [BZ #19996]
15207 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15208 not [__USE_XOPEN2K].
15209 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15210 variable.
15211
15212 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15213 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15214 variable.
15215
15216 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15217 [__USE_XOPEN2K8].
15218 [__USE_LARGEFILE64] (off64_t): Likewise.
15219 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15220 variable.
15221
15222 2016-04-25 Joseph Myers <joseph@codesourcery.com>
15223
15224 [BZ #19989]
15225 * libio/stdio.h (cuserid): Do not declare if
15226 [__USE_XOPEN2K && !__USE_GNU].
15227 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15228 variable.
15229
15230 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15231
15232 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15233 (sysdep_routines): Add P8 and PPC64 strcspn targets.
15234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15235 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15236 ifunc'ed strcspn.
15237 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15238 [EALIGN]: Removed.
15239 [END]: Likewise
15240 [STRSPN]: Define instead of the above to control symbol name.
15241 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15242 New file.
15243 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15244 Likewise.
15245 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15246 Likewise.
15247 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15248 Likewise.
15249 * sysdeps/powerpc/powerpc64/power8/strspn.S:
15250 [INITIAL_MASK]: New macro.
15251 [STRCSPN]: Likewise.
15252 [UPDATE_MASK]: Likewise.
15253 [USE_AS_STRCSPN]: Likewise.
15254
15255 2016-04-25 Florian Weimer <fweimer@redhat.com>
15256
15257 [BZ #19931]
15258 * stdio-common/tst-vfprintf-width-prec.c: New file.
15259 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15260 (tests-special): Add tst-vfprintf-width-prec-mem.out.
15261 (generated): Add mtrace-related files.
15262 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15263 (tst-%-mem.out): New pattern rule, replaces
15264 tst-printf-bz18872-mem.out.
15265 * stdio-common/vfprintf.c (vfprintf): When handling a precision
15266 specifier, deallocate any previously allocated work buffer.
15267
15268 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15269
15270 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15271 Add nop before __startcontext, add explaining comments.
15272
15273 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
15274
15275 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15276 any more. Notably since IPV6_PKTINFO has been reintroduced with a
15277 completely different API.
15278
15279 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15280 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15281 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15282 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15283 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15284 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15285 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15286 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15287 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15288 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15289
15290 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15293
15294 2016-04-23 Mike Frysinger <vapier@gentoo.org>
15295
15296 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15297 when it is the default of 0.
15298
15299 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15300
15301 * sysdeps/powerpc/locale-defines.sym: Add new macros.
15302 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15303 (sysdep_routines): Add new strcasestr targets.
15304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15305 (__libc_ifunc_impl_list): Likewise.
15306 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15307 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15308 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15309 * sysdeps/powerpc/powerpc64/power8/Makefile:
15310 New file to add strcasestr-ppc64 to sysdep_routines.
15311 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15312 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15313
15314 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
15315
15316 * benchtests/Makefile (wcsmbs-benchset): Include only for
15317 native builds and runs.
15318 (LOCALES): Likewise.
15319 (bench-build): Build timing-type here instead of the bench
15320 target. Generate locale only for native builds.
15321 * benchtests/README: Add note for cross-building.
15322
15323 * benchtests/Makefile (bench-clean): Clean up extra-objs.
15324
15325 * benchtests/README: Update README to include instructions on
15326 using bench-build.
15327
15328 * Makefile.in (bench-build): New target.
15329 * Rules (PHONY): Add bench-build target.
15330 * benchtests/Makefile (bench): Depend on bench-build.
15331 (bench-build): New target.
15332
15333 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15334
15335 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15336 profil_reply_port.
15337 (profile_waiter): Do not initialize profil_reply_port.
15338 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15339 frequency instead of tick length in us.
15340
15341 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
15342
15343 [BZ #18712]
15344 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15345 (__old_mempcpy_small): Likewise.
15346 (__old_strcpy_small): Likewise.
15347 (__old_stpcpy_small): Likewise.
15348 (__old_strpbrk_c2): Fix compat symbol name.
15349 (__old_strpbrk_c3): Likewise.
15350 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15351 (__mempcpy_small): Remove.
15352 (__strcpy_small): Remove.
15353 (__stpcpy_small): Remove.
15354
15355 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
15356
15357 [BZ #19400]
15358 * locale/iso-639.def: Add the Talossan/tzl language.
15359
15360 2016-04-16 Mike Frysinger <vapier@gentoo.org>
15361
15362 [BZ #16983]
15363 * locale/programs/ld-address.c (address_finish): Update postal_fmt
15364 comment. Add "ln" to strchr check on postal_fmt.
15365
15366 2016-04-16 Mike Frysinger <vapier@gentoo.org>
15367
15368 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15369 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
15370 tel_dom_fmt.
15371
15372 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15373
15374 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15375 (sysdep_routines): Added __strlen_power8.
15376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15377 __strlen_power8 entry.
15378 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15379 Implementation for POWER8.
15380 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15381 for __strlen_power8.
15382 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15383 Implementation for POWER8.
15384
15385 2016-04-15 Mike Frysinger <vapier@gentoo.org>
15386
15387 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15388
15389 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
15390
15391 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15392 Goldmont and Airmont processors.
15393
15394 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
15395
15396 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15397 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15398 (__STRING2_SMALL_GET32): Remove.
15399 (memset): Remove.
15400 (__memset_1): Remove.
15401 (__memset_gc): Remove.
15402 (__mempcpy): Remove.
15403 (mempcpy): Remove.
15404 (__mempcpy_args): Remove.
15405 (strchr): Remove.
15406 (strcpy): Remove.
15407 (strcpy_args): Remove.
15408 (__stpcpy_args): Remove.
15409 (__strcmp_cc): Remove.
15410 (__strcmp_gc): Remove.
15411 (strstr): Remove.
15412
15413 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
15414
15415 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15416 * nis/nis_call.c (nis_server_cache_add): Likewise.
15417
15418 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15419
15420 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15421
15422 2016-04-14 Florian Weimer <fweimer@redhat.com>
15423
15424 * malloc/arena.c (__malloc_fork_lock_parent)
15425 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15426 internal_function attribute.
15427
15428 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
15429
15430 * stdio-common/printf_fp.c (__printf_fp_l):
15431 Rename ___printf_fp_l to __printf_fp_l and
15432 remove strong alias. Use libc_hidden_def instead
15433 of ldbl_hidden_def macro.
15434
15435 2016-04-14 Florian Weimer <fweimer@redhat.com>
15436
15437 Remove malloc hooks from fork handler. They are no longer needed
15438 because malloc runs right before fork, and no malloc calls from
15439 other fork handlers are not possible anymore.
15440 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15441 declarations.
15442 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15443 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15444 (atfork_recursive_cntr): Remove.
15445 (__malloc_fork_lock_parent): Do not override malloc hooks and
15446 thread_arena.
15447 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15448 thread_arena.
15449 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
15450 thread_arena instead of save_arena.
15451
15452 2016-04-14 Florian Weimer <fweimer@redhat.com>
15453
15454 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15455 (thread_atfork, thread_atfork_static): Remove.
15456 * sysdeps/mach/hurd/malloc-machine.h:
15457 (thread_atfork, thread_atfork_static): Remove.
15458
15459 2016-04-14 Florian Weimer <fweimer@redhat.com>
15460
15461 [BZ #19431]
15462 Run the malloc fork handler as late as possible to avoid deadlocks.
15463 * malloc/malloc-internal.h: New file.
15464 * malloc/malloc.c: Include it.
15465 * malloc/arena.c (ATFORK_MEM): Remove.
15466 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15467 Update comment.
15468 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15469 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15470 Remove outdated comment.
15471 (ptmalloc_init): Do not call thread_atfork. Remove
15472 thread_atfork_static.
15473 * malloc/tst-malloc-fork-deadlock.c: New file.
15474 * Makefile (tests): Add tst-malloc-fork-deadlock.
15475 (tst-malloc-fork-deadlock): Link against libpthread.
15476 * manual/memory.texi (Aligned Memory Blocks): Update safety
15477 annotation comments.
15478 * sysdeps/nptl/fork.c (__libc_fork): Call
15479 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15480 __malloc_fork_unlock_child.
15481 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15482
15483 2016-04-14 Florian Weimer <fweimer@redhat.com>
15484
15485 [BZ #19613]
15486 Remove union wait.
15487 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15488 (w_stopsig, w_stopval): Remove.
15489 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15490 stat_loc argument.
15491 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15492 (__WAIT_STATUS_DEFN): Remove.
15493 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15494 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15495 (wait, wait3, wait4): Use int * for the stat_loc argument.
15496 * posix/wait.c (__wait): Likewise.
15497 * posix/wait3.c (__wait3): Likewise.
15498 * posix/wait4.c (__wait4): Likewise.
15499 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15500 (__WAIT_STATUS_DEFN): Remove.
15501 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15502 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15503 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15504 argument.
15505 * sysdeps/posix/wait.c (__libc_wait): Likewise.
15506 * sysdeps/posix/wait3.c (__wait3): Likewise.
15507 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15508 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15509 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15510 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15511 stat_loc argument.
15512 * manual/process.texi (BSD Wait Functions): Remove union wait.
15513
15514 2016-04-13 Andreas Schwab <schwab@suse.de>
15515
15516 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15517 (test-extras): Add tst-tlsalign-vars.
15518 * math/Makefile: Wrap long lines.
15519 (libm-vec-test-wrappers): Define.
15520 (test-extras): Add $(libm-vec-test-wrappers).
15521 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15522 * nss/Makefile (extra-test-objs): Add nss_test1.os.
15523 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15524 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15525 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15526 (extra-test-objs): Add corresponding objects.
15527
15528 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
15529
15530 [BZ #19928]
15531 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15532 New.
15533 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15534 times of shared cache size.
15535 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15536 (VMOVNT): New.
15537 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15538 (VMOVNT): Likewise.
15539 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15540 (VMOVNT): Likewise.
15541 (VMOVU): Changed to movups for smaller code sizes.
15542 (VMOVA): Changed to movaps for smaller code sizes.
15543 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15544 comments.
15545 (PREFETCH): New.
15546 (PREFETCH_SIZE): Likewise.
15547 (PREFETCHED_LOAD_SIZE): Likewise.
15548 (PREFETCH_ONE_SET): Likewise.
15549 Rewrite to use forward and backward loops, which move 4 vector
15550 registers at a time, to support overlapping addresses and use
15551 non temporal store if size is above the threshold and there is
15552 no overlap between destination and source.
15553
15554 2016-04-12 Alex Smith <alex.smith@imgtec.com>
15555
15556 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15557 Include dl-vdso.
15558 * sysdeps/unix/sysv/linux/mips/Versions: Add
15559 __vdso_clock_gettime.
15560 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15561 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15562 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15563 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15564 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15565 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15566 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15567 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15568 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15569
15570 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15571
15572 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15573 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15576 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15577 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15580 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15582 syscalls generation.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15584 [__NR_pwrite64] (__NR_write): Remove define.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15586 [__NR_pwrite64] (__NR_write): Remove define.
15587 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15588 Remove define.
15589 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15590 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15591 Remove define.
15592 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15593 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15594 Linux implementation as base.
15595 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15596
15597 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15598 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15600 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15603 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15605 syscall generation.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15607 [__NR_pread64] (__NR_pread): Remove define.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15609 [__NR_pread64] (__NR_pread): Likewise.
15610 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15611 define.
15612 (__libc_pread): Use SYSCALL_LL macro on offset argument.
15613 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15614 Remove define.
15615 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15616 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15617 Linux implementation as base.
15618 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15619 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15620 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15621
15622 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15623 definition.
15624 (__ALIGNMENT_COUNT): Likewise.
15625 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15626 (__ALIGNMENT_COUNT): Likewise.
15627 (SYSCALL_LL): New define.
15628 (SYSCALL_LL64): Likewise.
15629 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15630 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15631 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15632 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15633
15634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15635 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15637 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15639 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15640
15641 2016-04-11 Florian Weimer <fweimer@redhat.com>
15642
15643 [BZ #19865]
15644 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15645 original buffer before retry.
15646
15647 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15648
15649 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15650 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15651 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15652 GLRO(dl_auxv) list.
15653 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15654 including <ldsodefs.h>.
15655 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15656
15657 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
15658
15659 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15660 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15661 $(CPPFLAGS).
15662
15663 2016-04-09 Khem Raj <raj.khem@gmail.com>
15664
15665 [BZ #17950]
15666 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15667 Add -mfpmath=387.
15668
15669 2016-04-09 Mike Frysinger <vapier@gentoo.org>
15670
15671 * sysdeps/i386/configure.ac: Change == to = when calling test.
15672 * sysdeps/x86_64/configure.ac: Likewise.
15673 * sysdeps/i386/configure: Regenerated.
15674 * sysdeps/x86_64/configure: Likewise.
15675
15676 2016-04-08 Mike Frysinger <vapier@gentoo.org>
15677
15678 [BZ #16137]
15679 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15680 * benchtests/bench-strcoll.c (input_files): Likewise.
15681 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15682 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15683 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15684
15685 2016-04-08 Joseph Myers <joseph@codesourcery.com>
15686
15687 [BZ #19929]
15688 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15689 [__USE_XOPEN2K8 && !__USE_GNU].
15690 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15691 variable.
15692
15693 [BZ #19925]
15694 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15695 define if [!__USE_MISC && __USE_XOPEN2K].
15696 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15697 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15699 Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15701 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15702 variable.
15703 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15704
15705 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15706
15707 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15708 (sysdep_routines): Add new strspn targets.
15709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15710 (__libc_ifunc_impl_list): Add strspn.
15711 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15712 New file.
15713 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15714 Likewise.
15715 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15716 Likewise.
15717 * sysdeps/powerpc/powerpc64/power8/strspn.S:
15718 Likewise.
15719
15720 2016-04-07 Florian Weimer <fweimer@redhat.com>
15721
15722 * misc/hsearch_r.c: Include <limits.h>.
15723
15724 2016-04-07 Florian Weimer <fweimer@redhat.com>
15725
15726 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15727
15728 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15731 (MEMCPY_SYMBOL): New.
15732 (MEMPCPY_SYMBOL): Likewise.
15733 (MEMMOVE_CHK_SYMBOL): Likewise.
15734 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15735 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15736 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
15737 Provide alias for memcpy in libc.a and ld.so.
15738
15739 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
15740
15741 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15742 (MEMSET_CHK_SYMBOL): New. Define if not defined.
15743 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15744 Disabled fro now.
15745 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15746 symbols. Properly check USE_MULTIARCH on __memset symbols.
15747
15748 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
15749
15750 * benchtests/Makefile (string-benchset): Add memcpy-large,
15751 memmove-large and memset-large.
15752 * benchtests/bench-memcpy-large.c: New file.
15753 * benchtests/bench-memmove-large.c: Likewise.
15754 * benchtests/bench-memmove-large.c: Likewise.
15755 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15756
15757 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
15758
15759 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15760 32-bit displacement to avoid long nop between instructions.
15761
15762 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
15763
15764 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15765 a comment on VMOVU and VMOVA.
15766
15767 2016-04-04 Florian Weimer <fweimer@redhat.com>
15768
15769 [BZ #19633]
15770 Use specified locale for number formatting in strfmon_l.
15771 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15772 (__nl_lookup_word): New inline functions.
15773 * include/printf.h (__print_fp_l): Declare.
15774 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15775 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
15776 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15777 (___printf_fp): New function.
15778 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15779 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15780 * stdlib/tst-strfmon_l.c (do_test): New test.
15781 * stdlib/Makefile (tests): Add kt.
15782 (LOCALES): Build additional locales.
15783 (tst-strfmon_l.out): Require locales.
15784
15785 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
15786
15787 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15788 if not in libc.
15789 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15790 Likewise.
15791 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15792 Likewise.
15793 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15794 Likewise.
15795
15796 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
15797
15798 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15799 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15800 with unaligned_erms.
15801 (__memmove_erms): Skip if source == destination.
15802 (__memmove_unaligned_erms): Don't check source == destination
15803 first.
15804
15805 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15808 bit_arch_Fast_Copy_Backward for Intel Core proessors.
15809
15810 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15811
15812 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15813 * string/strspn.c (strspn): Likewise.
15814
15815 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 * benchtests/bench-memset.c (do_test): Support 64-byte
15818 alignment.
15819 (test_main): Test 64-byte alignment.
15820
15821 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
15822
15823 * benchtests/bench-memmove.c (test_main): Test 64-byte
15824 alignment.
15825
15826 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
15827
15828 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15829
15830 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15831
15832 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15833 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15834 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15835
15836 * string/strpbrk.c (strpbrk): Rewrite function.
15837 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15838 (__strpbrk_c2): Likewise.
15839 (__strpbrk_c3): Likewise.
15840 * string/string-inlines.c
15841 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15842 Likewise.
15843 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15844 Likewise.
15845
15846 * string/strspn.c (strcspn): Rewrite function.
15847 * string/bits/string2.h (strspn): Use __builtin_strcspn.
15848 (__strspn_c1): Remove inline function.
15849 (__strspn_c2): Likewise.
15850 (__strspn_c3): Likewise.
15851 * string/string-inlines.c
15852 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15853 compatibility symbol.
15854 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15855 Likewise.
15856 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15857 Likewise.
15858 * string/string-inlines.c: Include generic version.
15859
15860 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
15861 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15862
15863 * string/Version (libc): Add GLIBC_2.24.
15864 * string/strcspn.c (strcspn): Rewrite function.
15865 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15866 (__strcspn_c1): Remove inline function.
15867 (__strcspn_c2): Likewise.
15868 (__strcspn_c3): Likewise.
15869 * string/string-inline.c
15870 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15871 compatibility symbol.
15872 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15873 Likewise.
15874 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15875 Likewise.
15876 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15877
15878 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15879
15880 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15881 Use ahi instead of aghi to adjust stack pointer.
15882
15883 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15884
15885 [BZ #19853]
15886 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15887 TEST to take significant digits as second parameter.
15888 [TEST]: Redefine in terms of TEST_N taking 30
15889 significant digits.
15890 (do_test): Add test case to demonstrate precision
15891 failure in the ldbl-128ibm printf.
15892 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15893 (__mpn_extract_long_double): Carry 7 extra intermediate
15894 bits of precision to aide computing difference when
15895 signs differ.
15896
15897 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
15898
15899 [BZ #19881]
15900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15901 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15902 memset-avx512-unaligned-erms.
15903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15904 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15905 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15906 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15907 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15908 __memset_sse2_unaligned_erms, __memset_erms,
15909 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15910 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15911 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15912 file.
15913 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15914 Likewise.
15915 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15916 Likewise.
15917 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15918 Likewise.
15919
15920 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
15921
15922 [BZ #19776]
15923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15924 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15925 memmove-avx512-unaligned-erms.
15926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15927 (__libc_ifunc_impl_list): Test
15928 __memmove_chk_avx512_unaligned_2,
15929 __memmove_chk_avx512_unaligned_erms,
15930 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15931 __memmove_chk_sse2_unaligned_2,
15932 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15933 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15934 __memmove_avx512_unaligned_erms, __memmove_erms,
15935 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15936 __memcpy_chk_avx512_unaligned_2,
15937 __memcpy_chk_avx512_unaligned_erms,
15938 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15939 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15940 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15941 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15942 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15943 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15944 __mempcpy_chk_avx512_unaligned_erms,
15945 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15946 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15947 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15948 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15949 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15950 __mempcpy_erms.
15951 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15952 file.
15953 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15954 Likewise.
15955 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15956 Likewise.
15957 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15958 Likewise.
15959
15960 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15961
15962 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15963 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15964 (La_s390_64_regs): Likewise.
15965 (La_s390_32_retval): Append vector register lrv_v24.
15966 (La_s390_64_retval): Likeweise.
15967 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15968 Handle extended structs La_s390_32_regs and La_s390_32_retval.
15969 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15970 Handle extended structs La_s390_64_regs and La_s390_64_retval.
15971
15972 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15973
15974 [BZ #19916]
15975 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15976 to create a non-vector/vector version for _dl_runtime_resolve and
15977 _dl_runtime_profile. Move implementation to ...
15978 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15979 (_dl_runtime_resolve) Save and restore fpr/vrs.
15980 (_dl_runtime_profile) Save and restore vrs and fix some issues
15981 if _dl_call_pltexit is called.
15982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15983 Choose the correct resolver function if running on a machine with vx.
15984 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15985 to create a non-vector/vector version for _dl_runtime_resolve and
15986 _dl_runtime_profile. Move implementation to ...
15987 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15988 (_dl_runtime_resolve) Save and restore fpr/vrs.
15989 (_dl_runtime_profile) Save and restore vrs and fix some issues
15990 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15991 Choose the correct resolver function if running on a machine with vx.
15992
15993 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15994
15995 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15996
15997 2016-03-31 Florian Weimer <fweimer@redhat.com>
15998
15999 [BZ #19509]
16000 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16001 skip_map != NULL.
16002 * elf/tst-dlsym-error.c: New file.
16003 * elf/Makefile (tests): Add tst-dlsym-error.
16004 (tst-dlsym-error): Link against libdl.
16005
16006 2016-03-29 Joseph Myers <joseph@codesourcery.com>
16007
16008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16009 (__ASSUME_FUTIMESAT): Remove macro.
16010 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16011
16012 2016-03-29 Florian Weimer <fweimer@redhat.com>
16013
16014 [BZ #19879]
16015 CVE-2016-3075
16016 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16017 copy name.
16018
16019 2016-03-29 Florian Weimer <fweimer@redhat.com>
16020
16021 [BZ #19837]
16022 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16023 error if parse_line fails.
16024
16025 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
16026
16027 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16028 (index_cpu_ERMS): Likewise.
16029 (reg_ERMS): Likewise.
16030
16031 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
16032
16033 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16034 PER_LINUX_FDPIC): Add.
16035
16036 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
16037
16038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16039 memcpy-avx512-no-vzeroupper.
16040 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16041 to ...
16042 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16043 (MEMCPY): Don't define.
16044 (MEMCPY_CHK): Likewise.
16045 (MEMPCPY): Likewise.
16046 (MEMPCPY_CHK): Likewise.
16047 (MEMPCPY_CHK): Renamed to ...
16048 (__mempcpy_chk_avx512_no_vzeroupper): This.
16049 (MEMPCPY_CHK): Renamed to ...
16050 (__mempcpy_chk_avx512_no_vzeroupper): This.
16051 (MEMCPY_CHK): Renamed to ...
16052 (__memmove_chk_avx512_no_vzeroupper): This.
16053 (MEMCPY): Renamed to ...
16054 (__memmove_avx512_no_vzeroupper): This.
16055 (__memcpy_avx512_no_vzeroupper): New alias.
16056 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16057
16058 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
16059
16060 [BZ #18858]
16061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16062 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16063 and mempcpy-avx512-no-vzeroupper.
16064 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16065 New.
16066 (MEMPCPY): Likewise.
16067 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16068 (MEMPCPY_CHK): New.
16069 (MEMPCPY): Likewise.
16070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16071 (MEMPCPY): Likewise.
16072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16073 (MEMPCPY): Likewise.
16074 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16075 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16076 Likewise.
16077 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16078 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16079
16080 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
16081 Amit Pawar <Amit.Pawar@amd.com>
16082
16083 [BZ #19583]
16084 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16085 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16086 processors. Set Fast_Copy_Backward for AMD Excavator
16087 processors.
16088 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16089 New.
16090 (index_arch_Fast_Unaligned_Copy): Likewise.
16091 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16092 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16093
16094 2016-03-25 Florian Weimer <fweimer@redhat.com>
16095
16096 [BZ #19791]
16097 * resolv/res_send.c (close_and_return_error): New function.
16098 (send_dg): Initialize *resplen2 after reopen failure. Call
16099 close_and_return_error for error returns. On error paths without
16100 __res_iclose, initialze *resplen2 explicitly. Update comment for
16101 successful return.
16102
16103 2016-03-25 Florian Weimer <fweimer@redhat.com>
16104
16105 [BZ# 19860]
16106 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16107 zero if the compiler does not provide the AVX512F bit.
16108
16109 2016-03-24 Joseph Myers <joseph@codesourcery.com>
16110
16111 [BZ #19848]
16112 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16113 from 8 to 4.
16114 (__ieee754_powl): Compare integer exponent against 4 not 8.
16115 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16116 from 8 to 4.
16117 (__ieee754_powl): Compare integer exponent against 4 not 8.
16118 * math/auto-libm-test-in: Add more tests of pow.
16119 * math/auto-libm-test-out: Regenerated.
16120 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122
16123 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
16124
16125 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16126 Make code unconditional.
16127 [!__NR_utimensat]: Remove conditional code.
16128 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16129 Make code unconditional.
16130 [!__NR_utimensat]: Remove conditional code.
16131 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16132 Make code unconditional.
16133 [!__NR_utimensat]: Remove conditional code.
16134
16135 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
16136
16137 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16138 Make code unconditional.
16139
16140 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
16141
16142 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16143 call-clobbered %eax on retry path.
16144 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16145
16146 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
16147
16148 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16149 Don't set %rcx twice before "rep movsb".
16150
16151 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 [BZ #19583]
16154 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16155 inline. Check family before setting family, model and
16156 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
16157 bits here.
16158 (init_cpu_features): Replace HAS_CPU_FEATURE and
16159 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16160 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
16161 for Intel processors with usable AVX2. Call get_common_indeces
16162 for other processors with family == NULL.
16163 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16164 (CPU_FEATURES_ARCH_P): Likewise.
16165 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16166 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16167
16168 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16169
16170 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16171 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16172 $(shared-thread-library) instead of hardcoding the path to libpthread.
16173
16174 2016-03-22 Joseph Myers <joseph@codesourcery.com>
16175
16176 * sysdeps/unix/sysv/linux/kernel-features.h
16177 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16178 * sysdeps/unix/sysv/linux/getdents.c
16179 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16180 [!have_no_getdents64_defined]: Likewise.
16181 (__GETDENTS): Remove __have_no_getdents64 conditional.
16182
16183 2016-03-21 Joseph Myers <joseph@codesourcery.com>
16184
16185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16186 Remove macro.
16187 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16188 <kernel-features.h>.
16189 (signalfd) [__NR_signalfd4]: Make code unconditional.
16190 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16191
16192 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16193
16194 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16195 style.
16196
16197 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
16198
16199 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16200 (__pthread_enable_asynccancel): Use JUMPTARGET to call
16201 __pthread_unwind.
16202 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16203 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16204 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16205 (__condvar_cleanup1): Likewise.
16206
16207 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
16208
16209 [BZ #19822]
16210 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16211 move it to the final $@ location.
16212
16213 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16214
16215 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16216 access where posix_spawn success and pid argument is null.
16217 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16218 success case.
16219
16220 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
16221
16222 * sysdeps/mach/hurd/i386/c++-types.data: New file.
16223
16224 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16225
16226 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16227 and __fcntl.
16228 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16229 __fcntl only.
16230 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16231 adding attribute_hidden to __open and __fcntl.
16232
16233 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16234 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16235 depend on libc-modules.h,
16236 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16237
16238 2016-03-17 Joseph Myers <joseph@codesourcery.com>
16239
16240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16241 Remove macro.
16242 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16243 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16244 entry.
16245
16246 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16247 Remove macro.
16248 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16249 include <kernel-features.h>.
16250 [!__ASSUME_FALLOCATE]: Remove conditional code.
16251 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16252
16253 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16256 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16257 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16258 (_ZGVdN4v_cos_avx2): Likewise.
16259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16260 (_ZGVdN4v_cos): Likewise.
16261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16262 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16263 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16264 (_ZGVdN4v_exp_avx2): Likewise.
16265 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16266 (_ZGVdN4v_exp): Likewise.
16267 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16268 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16269 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16270 (_ZGVdN4v_log_avx2): Likewise.
16271 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16272 (_ZGVdN4v_log): Likewise.
16273 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16274 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16275 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16276 (_ZGVdN4vv_pow_avx2): Likewise.
16277 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16278 (_ZGVdN4vv_pow): Likewise.
16279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16280 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16281 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16282 (_ZGVdN4v_sin_avx2): Likewise.
16283 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16284 (_ZGVdN4v_sin): Likewise.
16285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16286 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16287 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16288 (_ZGVdN4vvv_sincos_avx2): Likewise.
16289 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16290 (_ZGVdN4vvv_sincos): Likewise.
16291 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16292 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16293 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16294 (_ZGVbN4v_cosf_sse4): Likewise.
16295 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16296 (_ZGVdN8v_cosf_avx2): Likewise.
16297 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16298 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16299 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16300 (_ZGVbN4v_expf_sse4): Likewise.
16301 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16302 (_ZGVdN8v_expf_avx2): Likewise.
16303 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16304 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16305 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16306 (_ZGVbN4v_logf_sse4): Likewise.
16307 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16308 (_ZGVdN8v_logf_avx2): Likewise.
16309 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16310 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16311 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16312 (_ZGVbN4vv_powf_sse4): Likewise.
16313 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16314 (_ZGVdN8vv_powf_avx2): Likewise.
16315 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16316 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16317 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16318 (_ZGVbN4vvv_sincosf_sse4): Likewise.
16319 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16320 (_ZGVdN8vvv_sincosf_avx2): Likewise.
16321 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16322 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16323 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16324 (_ZGVbN4v_sinf_sse4): Likewise.
16325 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16326 (_ZGVdN8v_sinf_avx2): Likewise.
16327 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16328 Use JUMPTARGET to call callee.
16329 (WRAPPER_IMPL_SSE2_ff): Likewise.
16330 (WRAPPER_IMPL_SSE2_fFF): Likewise.
16331 (WRAPPER_IMPL_AVX): Likewise.
16332 (WRAPPER_IMPL_AVX_ff): Likewise.
16333 (WRAPPER_IMPL_AVX_fFF): Likewise.
16334 (WRAPPER_IMPL_AVX512): Likewise.
16335 (WRAPPER_IMPL_AVX512_ff): Likewise.
16336 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16337 Likewise.
16338 (WRAPPER_IMPL_SSE2_ff): Likewise.
16339 (WRAPPER_IMPL_SSE2_fFF): Likewise.
16340 (WRAPPER_IMPL_AVX): Likewise.
16341 (WRAPPER_IMPL_AVX_ff): Likewise.
16342 (WRAPPER_IMPL_AVX_fFF): Likewise.
16343 (WRAPPER_IMPL_AVX512): Likewise.
16344 (WRAPPER_IMPL_AVX512_ff): Likewise.
16345 (WRAPPER_IMPL_AVX512_fFF): Likewise.
16346
16347 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16348
16349 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16350 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16351 qualifier.
16352 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16353 internal_function qualifiers.
16354
16355 2016-03-15 Carlos O'Donell <carlos@redhat.com>
16356
16357 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16358 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16359 * math/atest-exp.c (exp_mpn): Mark chk unused.
16360 * math/atest-exp2.c (exp_mpn): Likewise.
16361 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16362 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16363
16364 2016-03-15 Joseph Myers <joseph@codesourcery.com>
16365
16366 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16367 Remove macro.
16368 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16369 <kernel-features.h>.
16370 [__NR_ppoll]: Make code unconditional.
16371 [!__ASSUME_PPOLL]: Remove conditional code.
16372
16373 * sysdeps/unix/sysv/linux/kernel-features.h
16374 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16375 (__ASSUME_ACCEPT4): Likewise.
16376 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16377 Define.
16378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16379 Likewise.
16380 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16381 Likewise.
16382 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16383 Likewise.
16384 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16385 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16387 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16388 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16389 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16390 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16391 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16392 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16393 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16394 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16395 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16396 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16397 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16398 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16399 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16400 Likewise.
16401 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16402 Likewise.
16403 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16404 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16405 0x040300].
16406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16407 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16408 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16409 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16410 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16411 0x030300].
16412 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16413 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16414 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16415 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16416 0x040300].
16417 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16418 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16420 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16421 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16422 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16423 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16424 0x030300].
16425 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16426 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16427 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16429 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16430 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16431 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16432 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16433 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16434 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16435 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16436 0x040300].
16437 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16439 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16440 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16441 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16442 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16444 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16446 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16447 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16448 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16449 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16450 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16452 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16454 Likewise.
16455 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16456 Likewise.
16457
16458 2016-03-15 Andreas Schwab <schwab@suse.de>
16459
16460 [BZ #19257]
16461 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16462 statp->_u._ext.nscount as loop count.
16463
16464 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
16465
16466 * math/test-signgam-finite-c99.c: Also #undef
16467 __LIBC_INTERNAL_MATH_INLINES.
16468 * math/test-signgam-main.c: Likewise.
16469
16470 2016-03-14 Joseph Myers <joseph@codesourcery.com>
16471
16472 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16473 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16474 (MADV_FREE): Likewise.
16475 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16476 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16477 EPOLLEXCLUSIVE.
16478
16479 2016-03-14 Carlos O'Donell <carlos@redhat.com>
16480
16481 * timezone/README: Remove mention of checktab.awk. Mention wiki
16482 SharedSourceFiles.
16483
16484 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
16485
16486 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16487 WUNTRACED.
16488
16489 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16490
16491 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16492 order to match the type of p when calling atomic_exchange_acq().
16493
16494 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16495
16496 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16497 cfi_offset calls.
16498 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16499 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16500 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16501 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16502 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16503
16504 2016-03-10 Carlos O'Donell <carlos@redhat.com>
16505
16506 * timezone/checktab.awk: Removed.
16507
16508 2016-03-10 Joseph Myers <joseph@codesourcery.com>
16509
16510 * manual/math.texi (Errors in Math Functions): Document relaxed
16511 accuracy goals for IBM long double.
16512 * math/libm-test.inc (test_exceptions): Always allow spurious
16513 "underflow" and "inexact" exceptions for IBM long double.
16514
16515 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
16516
16517 [BZ #19762]
16518 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16519 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16520 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16521 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16522 (bit_arch_*): This for feature array.
16523 (bit_*): Renamed to ...
16524 (bit_cpu_*): This for cpu array.
16525 (index_*): Renamed to ...
16526 (index_arch_*): This for feature array.
16527 (index_*): Renamed to ...
16528 (index_cpu_*): This for cpu array.
16529 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16530 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16531 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16532 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16533 bit_##name with index_cpu_##name and bit_cpu_##name.
16534 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16535 bit_##name with index_arch_##name and bit_arch_##name.
16536
16537 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
16538
16539 [BZ #19792]
16540 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16541 Terminate FDE before return label.
16542
16543 2016-03-09 Joseph Myers <joseph@codesourcery.com>
16544
16545 [BZ #19790]
16546 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16547 (rintl): Define as macro.
16548 [USE_AS_NEARBYINTL] (__rintl): Likewise.
16549 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16550 of fesetround. Ensure results are evaluated before end of scope.
16551 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16552 USE_AS_NEARBYINTL and include s_rintl.c.
16553 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16554 Disable exception traps in new environment.
16555 (libc_feholdsetround_ppc_ctx): Likewise.
16556
16557 2016-03-08 Roland McGrath <roland@hack.frob.com>
16558
16559 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16560 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16561 (tst_audit10_aux) [__AVX512F__]: ... here.
16562
16563 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
16564
16565 * include/sys/auxv.h: New file.
16566
16567 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
16568
16569 [BZ #19759]
16570 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16571
16572 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16573
16574 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16575 operand modifier.
16576 (feclearexcept): Likewise.
16577
16578 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16579
16580 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16581 to reflect the entire 32-bit HWCAP.
16582 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16583 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
16584
16585 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
16586
16587 [BZ #19783]
16588 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16589 $(test-via-rtld-prefix).
16590 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16591
16592 2016-03-08 Florian Weimer <fweimer@redhat.com>
16593
16594 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16595 union wait. Report any non-zero exit status as error.
16596
16597 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16598
16599 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16600 configured with --enable-hardcoded-path-in-tests.
16601
16602 2016-03-08 Joseph Myers <joseph@codesourcery.com>
16603
16604 [BZ #19677]
16605 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16606 (__ieee754_remainderl): Put zero low parts in canonical form.
16607 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16608 file. Based on
16609 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16610 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16611 with wrapper round test-fmodrem-ldbl-128ibm.c.
16612 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16613 file.
16614 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16615 Likewise.
16616 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16617 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16618
16619 2016-03-07 Florian Weimer <fweimer@redhat.com>
16620
16621 [BZ #19610]
16622 * elf/ldconfig.c (opt_link): Update comment.
16623 (options): Update help string for option -X.
16624 (search_dir): Unlink stale symbolic link only if updating symbolic
16625 links.
16626 * elf/tst-ldconfig-X.sh: New file.
16627 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16628 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16629
16630 2016-03-07 Andreas Schwab <schwab@suse.de>
16631
16632 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16633 needed arguments.
16634
16635 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
16636
16637 [BZ #15333]
16638 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16639 to lstat64.
16640
16641 2016-03-07 Florian Weimer <fweimer@redhat.com>
16642
16643 * libio/filedoalloc.c (isatty): Remove.
16644 (local_isatty): Add comment. Call __isatty directly.
16645 (_IO_file_doallocate): Update comment. Assume _LIBC.
16646 * libio/wfiledoalloc.c (isatty): Remove.
16647 (_IO_wfile_doallocate): Update comment.
16648
16649 2016-03-07 Florian Weimer <fweimer@redhat.com>
16650
16651 [BZ #19269]
16652 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16653 tst-audit4-aux.o.
16654 (tst-audit10): Depend on tst-audit10-aux.o.
16655 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16656 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16657 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16658 instead of inline AVX code.
16659 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16660 instead of inline AVX512 code.
16661 * sysdeps/x86_64/tst-audit4-aux.c: New file
16662 * sysdeps/x86_64/tst-audit10-aux.c: New file
16663
16664 [BZ #19648]
16665 * test-skeleton.c (main): Do not set RLIMIT_DATA.
16666
16667 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16668
16669 [BZ #14750]
16670 [BZ #10354]
16671 [BZ #18433]
16672 * include/sched.h (__clone): Add hidden prototype.
16673 (__clone2): Likewise.
16674 * include/unistd.h (__dup): Likewise.
16675 * posix/Makefile (tests): Add tst-spawn2.
16676 * posix/tst-spawn2.c: New file.
16677 * sysdeps/posix/dup.c (__dup): Add hidden definition.
16678 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16679 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16680 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16681 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16682 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16683 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16684 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16685 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16686 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16687 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16689 Likewise.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16691 Likewise.
16692 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16693 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16694 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16695 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16696 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16697 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16698 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16699 * sysdeps/unix/sysv/linux/nptl-signals.h
16700 (____nptl_is_internal_signal): New function.
16701 * sysdeps/unix/sysv/linux/spawni.c: New file.
16702
16703 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16704 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16705 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16706 * posix/tst-execvp2.c (do_test): Likewise.
16707 * posix/tst-execvp3.c (do_test): Likewise.
16708 * posix/tst-execvp4.c (do_test): Likewise.
16709 * posix/tst-execvpe1.c: New file.
16710 * posix/tst-execvpe2.c: Likewise.
16711 * posix/tst-execvpe3.c: Likewise.
16712 * posix/tst-execvpe4.c: Likewise.
16713 * posix/tst-execvpe5.c: Likewise.
16714 * posix/tst-execvpe6.c: Likewise.
16715
16716 [BZ #19534]
16717 * posix/execl.c (execl): Remove dynamic memory allocation.
16718 * posix/execle.c (execle): Likewise.
16719 * posix/execlp.c (execlp): Likewise.
16720
16721 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
16722
16723 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16724 Replace .text with .text.avx512.
16725 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16726 Likewise.
16727
16728 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
16729
16730 * sysdeps/generic/libnsl.abilist: New file.
16731 * sysdeps/generic/libutil.abilist: New file.
16732
16733 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 [BZ #19762]
16736 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16737 HAS_ARCH_FEATURE with Fast_Rep_String.
16738 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16739 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16740 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16741 Likewise.
16742 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16743 Likewise.
16744 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16745 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16746 Likewise.
16747 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16748 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16749 Likewise.
16750
16751 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
16752
16753 [BZ #19745]
16754 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16755 with *%rax in call.
16756
16757 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
16758
16759 [BZ #19745]
16760 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16761 with *__libc_start_main@GOTPCREL(%rip) in call.
16762
16763 2016-03-04 Roland McGrath <roland@hack.frob.com>
16764
16765 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16766 inside conditional for nonempty $(CXX).
16767
16768 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16769 nonempty.
16770
16771 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16772 to test for empty $(CXX) rather than $(CXX) of "no".
16773
16774 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
16775
16776 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16777
16778 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
16779 H.J. Lu <hongjiu.lu@intel.com>
16780
16781 [BZ #18880]
16782 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16783 instead of Slow_BSF, and also check for Fast_Copy_Backward to
16784 enable __memcpy_ssse3_back.
16785
16786 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
16787
16788 [BZ #19758]
16789 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16790 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16791
16792 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
16793
16794 [BZ #19490]
16795 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16796 (__fentry__): Likewise.
16797
16798 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
16799
16800 * gmon/Makefile (noprof): Add $(sysdep_noprof).
16801 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16802
16803 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
16804
16805 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16806 __mcount_internal directly.
16807 (C_LABEL(__fentry__)): Likewise.
16808 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16809 directly.
16810
16811 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
16812
16813 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16814 (__start_context): Call __setcontext directly.
16815
16816 2016-02-26 Joseph Myers <joseph@codesourcery.com>
16817
16818 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16819 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16820 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16821 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16822 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16823 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16824 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16825 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16826 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16827 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16828 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16829 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16831 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16832 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16833 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16834 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16836 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16837 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16838 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16839 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16840 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16841 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16842 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16843 Remove conditional code.
16844 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16845 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16846 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16847 * sysdeps/unix/sysv/linux/sh/kernel-features.h
16848 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16849 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16850 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16851 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16852 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16853 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16855 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16856
16857 2016-02-24 Marko Myllynen <myllynen@redhat.com>
16858
16859 * NEWS (2.23): Fix typo in bug 19048 text.
16860
16861 2016-02-24 Carlos O'Donell <carlos@redhat.com>
16862
16863 [BZ #14259]
16864 * Makeconfig: Rename msgcatdir to localedir.
16865 Rename inst_msgcatdir to inst_localedir.
16866 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16867 * config.make.in: Add localedir.
16868 * elf/Makefile ($(objpfx)sotruss): Use localedir.
16869 (ldd-rewrite): Likewise.
16870 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16871 (install-others): Use inst_localedir.
16872 (CPPFLAGS): Use localedir.
16873 * locale/Makefile (locale-CPPFLAGS): Likewise.
16874 * po/Makefile (mo-installed): Use inst_localedir.
16875
16876 [BZ #19575]
16877 * localedata/charmaps/GB18030: Update comments regarding PAU to
16878 non-PUA mappings.
16879
16880 2016-02-24 Joseph Myers <joseph@codesourcery.com>
16881
16882 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16883 test for header.
16884 * sysdeps/unix/sysv/linux/configure: Regenerated.
16885 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16886 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16887 Remove conditional code.
16888 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16889
16890 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16891 Define to 3.2.0.
16892 (arch_minimum_kernel): Likewise.
16893 * sysdeps/unix/sysv/linux/configure: Regenerated.
16894 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16895 Define to 2.6.32.
16896 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16897 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16898 (arch_minimum_kernel): Define to 2.6.32.
16899 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16900 * README: Document Linux 3.2 requirement.
16901 * manual/install.texi (Linux): Document Linux 3.2 headers
16902 requirement.
16903 * INSTALL: Regenerated.
16904
16905 2016-02-24 Andreas Schwab <schwab@suse.de>
16906
16907 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16908 if !NO_LONG_DOUBLE.
16909
16910 2016-02-22 Roland McGrath <roland@hack.frob.com>
16911
16912 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16913 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16914
16915 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
16916
16917 [BZ #19512]
16918 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16919
16920 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16921
16922 * posix/tst-dir.c: Include libc-internal.h.
16923
16924 2016-02-20 Florian Weimer <fweimer@redhat.com>
16925
16926 [BZ #19056]
16927 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16928 * manual/filesys.texi (Reading/Closing Directory): Mention
16929 deprecaion.
16930 * posix/tst-dir.c (main): Disable deprecation warning in test.
16931
16932 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
16933
16934 [BZ #19679]
16935 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16936 Renamed to ...
16937 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
16938 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16939 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
16940 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16941 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16942 * sysdeps/x86_64/dl-trampoline.h
16943 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16944 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16945
16946 2016-02-19 Mark Wielaard <mjw@redhat.com>
16947
16948 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16949
16950 2016-02-19 Mark Wielaard <mjw@redhat.com>
16951
16952 * elf/elf.h (R_386_GOT32X): New.
16953 (R_386_NUM): Update.
16954 (R_X86_64_GOTPCRELX: New.
16955 (R_X86_64_REX_GOTPCRELX): New.
16956 (R_X86_64_NUM): Update.
16957
16958 2016-02-19 Mike Frysinger <vapier@gentoo.org>
16959
16960 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16961
16962 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
16963
16964 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16965 assign attr->stackaddr to it, and adjust it down when
16966 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
16967 [_STACK_GROWS_UP]: Delete assert.
16968 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16969 Implement stack grows up logic.
16970 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16971 stack grows up logic.
16972
16973 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16974
16975 * NEWS: Update with 2.24 template.
16976
16977 2016-02-19 Joseph Myers <joseph@codesourcery.com>
16978
16979 [BZ #19678]
16980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16981 Ensure +0.0 is returned when taking the next value below the least
16982 positive value.
16983
16984 2016-02-19 Florian Weimer <fweimer@redhat.com>
16985
16986 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16987 available. Do not define NO_THREADS.
16988 * malloc/malloc.c: Do not check NO_THREADS.
16989 * malloc/arena.c: Likewise.
16990
16991 2016-02-19 Florian Weimer <fweimer@redhat.com>
16992
16993 * malloc/malloc.c (__libc_mallinfo): Update comment.
16994 (struct malloc_par): Remove max_total_mem member, it was always 0.
16995 (int_mallinfo): Store 0 into usmblks (no functional change).
16996 * malloc/hooks.c (struct malloc_state): Document that
16997 max_total_mem is always 0.
16998 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16999 always 0.
17000 * manual/memory.texi (Statistics of Malloc): Likewise.
17001
17002 2016-02-19 Florian Weimer <fweimer@redhat.com>
17003
17004 * malloc/malloc.c (sysmalloc): Do not update arena_max.
17005 * malloc/arena.c (arena_max): Remove.
17006 (heap_trim, _int_new_arena): Do not update arena_max.
17007
17008 2016-02-19 Florian Weimer <fweimer@redhat.com>
17009
17010 * resolv/res_init.c (res_ninit): Update comment.
17011
17012 2016-02-19 Florian Weimer <fweimer@redhat.com>
17013
17014 [BZ #19505]
17015 * posix/spawn_int.h: Add headers and include guard.
17016 (__spawn_valid_fd): New function.
17017 * posix/spawn_faction_addopen.c
17018 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17019 * posix/spawn_faction_addclose.c
17020 (posix_spawn_file_actions_addclose): Likewise.
17021 * posix/spawn_faction_adddup2.c
17022 (posix_spawn_file_actions_adddup2): Likewise. Add check for
17023 second file descriptor.
17024 * posix/spawn_valid_fd.c: New file.
17025 * posix/tst-posix_spawn-fd.c: New file.
17026 * posix/Makefile (routines): Add spawn_valid_fd.
17027 (tests): Add tst-posix_spawn-fd.
17028
17029 2016-02-19 Florian Weimer <fweimer@redhat.com>
17030
17031 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17032 (do_test): Limit the number of arenas, so that we can use fewer
17033 outer threads. Limit timeout to 3 seconds, in preparation for a
17034 larger TIMEOUT value.
17035
17036 2016-02-19 Joseph Myers <joseph@codesourcery.com>
17037
17038 [BZ #19674]
17039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17040 sign in overflowing and underflowing results when overflow or
17041 underflow is detected early. Include sign in result before rather
17042 than after scaling.
17043
17044 [BZ #19603]
17045 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17046 (__ieee754_remainderl): Adjust sign of integer version of low part
17047 when taking absolute value of high part.
17048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17049 * math/libm-test.inc (remainder_test_data): Add another test.
17050 (remquo_test_data): Likewise.
17051
17052 2016-02-18 Joseph Myers <joseph@codesourcery.com>
17053
17054 [BZ #19602]
17055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17056 equal high parts and both low parts zero specially.
17057 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17058 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17059 Add test-fmodl-ldbl-128ibm.
17060
17061 [BZ #19595]
17062 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17063 common logic for all cases of shifting subnormal results. Do not
17064 insert sign bit in shifted mantissa. Always pass -1023 as biased
17065 exponent to ldbl_insert_mantissa in subnormal case.
17066
17067 [BZ #19594]
17068 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17069 on high and low parts then adjust result and use
17070 ldbl_canonicalize_int if needed.
17071
17072 [BZ #19593]
17073 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17074 on high part and __floor or __ceil on low part then use
17075 ldbl_canonicalize_int if needed.
17076
17077 [BZ #19592]
17078 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17079 high and low parts then use ldbl_canonicalize_int if needed.
17080
17081 [BZ #17899]
17082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17083 New function.
17084 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17085 on high and low parts then use ldbl_canonicalize_int if needed.
17086
17087 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17088
17089 * configure: Regenerated.
17090
17091 * po/libc.pot: Regenerated.
17092
17093 * po/be.po: Updated translation.
17094 * po/bg.po: Likewise.
17095 * po/ca.po: Likewise.
17096 * po/cs.po: Likewise.
17097 * po/da.po: Likewise.
17098 * po/el.po: Likewise.
17099 * po/eo.po: Likewise.
17100 * po/es.po: Likewise.
17101 * po/fi.po: Likewise.
17102 * po/fr.po: Likewise.
17103 * po/gl.po: Likewise.
17104 * po/hr.po: Likewise.
17105 * po/hu.po: Likewise.
17106 * po/ia.po: Likewise.
17107 * po/id.po: Likewise.
17108 * po/it.po: Likewise.
17109 * po/ja.po: Likewise.
17110 * po/lt.po: Likewise.
17111 * po/nb.po: Likewise.
17112 * po/nl.po: Likewise.
17113 * po/pt_BR.po: Likewise.
17114 * po/rw.po: Likewise.
17115 * po/sk.po: Likewise.
17116 * po/sl.po: Likewise.
17117 * po/sv.po: Likewise.
17118 * po/tr.po: Likewise.
17119 * po/zh_CN.po: Likewise.
17120 * po/zh_TW.po: Likewise.
17121
17122 * version.h (RELEAES): Set to "development".
17123 (VERSION): Set to 2.23.90.
17124
17125 * version.h (RELEASE): Set to "stable".
17126 (VERSION): Set to 2.23.
17127 * include/feature.h (__GLIBC_MINOR__): Set to 23.
17128
17129 * NEWS: Updated fixed bugs.
17130
17131 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
17132 Wilco Dijkstra <wdijkstr@arm.com>
17133
17134 [BZ #19462]
17135 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17136 (_STRING_INLINE_unaligned): This.
17137 * include/string.h: Include <string_private.h>.
17138 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17139 _STRING_INLINE_unaligned.
17140 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17141 (_STRING_INLINE_unaligned): New.
17142 * sysdeps/aarch64/string_private.h: New file.
17143 * sysdeps/generic/string_private.h: Likewise.
17144 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17145 * sysdeps/s390/string_private.h: Likewise.
17146 * sysdeps/x86/string_private.h: Likewise.
17147 * sysdeps/m68k/m680x0/m68020/bits/string.h
17148 (_STRING_ARCH_unaligned): Renamed to ...
17149 (_STRING_INLINE_unaligned): This.
17150 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17151 to ...
17152 (_STRING_INLINE_unaligned): This.
17153 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17154 to ...
17155 (_STRING_INLINE_unaligned): This.
17156 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17157 to ...
17158 (_STRING_INLINE_unaligned): This.
17159
17160 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
17161 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 [BZ #19590]
17164 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17165 relocation.
17166
17167 2016-02-15 Carlos O'Donell <carlos@redhat.com>
17168
17169 [BZ #18665]
17170 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17171 *herrno_p.
17172 (gaih_getanswer): Document functional behviour. Return tryagain
17173 if any result is tryagain.
17174 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17175 when freed.
17176 * resolv/res_send.c: Add copyright text.
17177 (__libc_res_nsend): Document that MAXPACKET is expected.
17178 (send_vc): Document. Remove buffer reuse.
17179 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17180 size of the buffer. Add Dprint for truncated UDP buffer.
17181
17182 2016-02-14 Carlos O'Donell <carlos@redhat.com>
17183
17184 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17185 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17186 * INSTALL: Regenerate.
17187
17188 2016-02-14 Jakub Jelinek <jakub@redhat.com>
17189 Jonathan Wakely <jwakely@redhat.com>
17190 Carlos O'Donell <carlos@redhat.com>
17191
17192 [BZ 19439]
17193 * math/Makefile (tests): Add test-math-isinff.
17194 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17195 * math/bits/mathcalls.h [__USE_MISC]: Use
17196 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17197 functions not in C++11 and which don't conflict e.g. isinff,
17198 isinfl etc.
17199 * math/test-math-isinff.cc: New file.
17200
17201 2016-02-12 Florian Weimer <fweimer@redhat.com>
17202
17203 * misc/bug18240.c (do_test): Set RLIMIT_AS.
17204
17205 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
17206
17207 [BZ #19529]
17208 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17209
17210 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17211
17212 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17213
17214 2016-02-01 Joseph Myers <joseph@codesourcery.com>
17215
17216 [BZ #19550]
17217 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17218 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17219 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17220 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17221 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17222 New syscall entry.
17223 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17224 New syscall entry.
17225 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17226 syscall entry.
17227
17228 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
17229
17230 [BZ #18240]
17231 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17232 unsigned int wraparound.
17233
17234 2016-01-27 Florian Weimer <fweimer@redhat.com>
17235
17236 [BZ #18240]
17237 * misc/bug18240.c: New test.
17238 * misc/Makefile (tests): Add it.
17239
17240 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
17241 Joseph Myers <joseph@codesourcery.com>
17242
17243 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17244 load in branch delay slot when less than a word of input left.
17245
17246 2016-01-27 Andreas Schwab <schwab@suse.de>
17247
17248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17249 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17250 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17251 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17252
17253 2016-01-26 David S. Miller <davem@davemloft.net>
17254
17255 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17256
17257 2016-01-25 David S. Miller <davem@davemloft.net>
17258
17259 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17260 __sqrtl_finite.
17261 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17262 instead using versioned_symbol.
17263 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17264 of entries.
17265
17266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17267 __sqrtl_finite to GLIBC_2.23
17268
17269 2016-01-25 Ricchard Henderson <rth@redhat.com>
17270
17271 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17272
17273 2016-01-25 Andreas Schwab <schwab@suse.de>
17274
17275 [BZ #17514]
17276 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17277 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17278 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17279 * nptl/tst-mutex-errorcheck.c: New file.
17280
17281 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17282
17283 [BZ #18560]
17284 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17285 (IPCOP_semop): Likewise.
17286 (IPCOP_semget): Likewise.
17287 (IPCOP_semctl): Likewise.
17288 (IPCOP_msgsnd): Likewise.
17289 (IPCOP_msgrcv): Likewise.
17290 (IPCOP_msgget): Likewise.
17291 (IPCOP_msgctl): Likewise.
17292 (IPCOP_shmat): Likewise.
17293 (IPCOP_shmdt): Likewise.
17294 (IPCOP_shmget): Likewise.
17295 (IPCOP_shmctl): Likewise.
17296
17297 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17298
17299 * string/tst-endian.c: Include <libc-internal.h>.
17300 (do_test): Ignore tautological-compare warnings around
17301 "htobeXX (beXXtoh (i)) != i" and
17302 "htoleXX (leXXtoh (i)) != i" if-statements.
17303
17304 2016-01-24 David S. Miller <davem@davemloft.net>
17305
17306 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17307 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17308 alias.
17309 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17310 __sqrtl_finite.
17311
17312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17313
17314 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
17315
17316 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17317 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17318 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17319
17320 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17321
17322 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17323 (thread_func): Use new function to simplify barrier check.
17324 (do_test): Use new function to simplify checking barrier exit
17325 code, and actually join the child thread.
17326
17327 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17328
17329 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17330 semicolon.
17331 (__libc_tend): Likewise.
17332 (__libc_tabort): Likewise.
17333
17334 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
17335
17336 * sysdeps/nios2/libm-test-ulps: Update.
17337 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17338 (__gtsf2): Likewise.
17339 (__unorddf2): Likewise.
17340 (__unordsf2): Likewise.
17341 (__ledf2): Likewise.
17342
17343 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
17344
17345 * nis/nis_table.c (__follow_path): Disable diagnostic for
17346 uninitialized variable that is a false positive for gcc 4.7.
17347 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17348
17349 2016-01-20 Roland McGrath <roland@hack.frob.com>
17350
17351 * sysdeps/nacl/lowlevellock-futex.h
17352 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17353 Always evaluate PRIVATE argument.
17354
17355 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
17356
17357 [BZ #19490]
17358 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17359 (pthread_cond_broadcast): Use ENTRY/END
17360 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17361 (pthread_cond_signal): Likewise.
17362 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17363 Likewise.
17364 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17365 Likewise.
17366 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17367 Likewise.
17368
17369 2016-01-20 Joseph Myers <joseph@codesourcery.com>
17370
17371 * sysdeps/ieee754/dbl-64/s_finite.c
17372 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17373 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17374 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17376 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17377
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17379 (__gtsf2): Add as optional for libc.so.
17380 (__unordsf2): Likewise.
17381 (__signbit): Remove for libc.so.
17382 (__signbitl): Likewise.
17383
17384 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17385
17386 * iconvdata/bug-iconv11.c (test_ibm93x):
17387 Use %zu printf format specifier for size_t argument.
17388
17389 2016-01-19 Joseph Myers <joseph@codesourcery.com>
17390
17391 * math/gen-libm-test.pl (parse_ulps): Do not reduce
17392 already-recorded ulps.
17393 * sysdeps/arm/libm-test-ulps: Regenerated.
17394 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17395 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17396 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17397
17398 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
17399 Paul Pluzhnikov <ppluzhnikov@google.com>
17400
17401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17402 assembler not supporting AVX-512.
17403
17404 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17405
17406 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17407
17408 2016-01-18 Joseph Myers <joseph@codesourcery.com>
17409
17410 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17411 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17412
17413 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17414
17415 * sysdeps/arm/libm-test-ulps: Regenerated.
17416
17417 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17418
17419 [BZ #19451]
17420 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17421
17422 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17423
17424 [BZ #19486]
17425 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17426 * sysdeps/generic/fix-fp-int-convert-overflow.h
17427 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17428 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17429 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17430 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17431 Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17433 Avoid conversions to long int where inexact exceptions
17434 could be raised.
17435 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17436 Likewise.
17437 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17438 Avoid conversions to long long int where inexact exceptions
17439 could be raised.
17440 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17441 Likewise.
17442
17443 2016-01-17 Mike Frysinger <vapier@gentoo.org>
17444
17445 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17446 * configure: Regenerated.
17447
17448 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
17449
17450 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17451
17452 2016-01-16 Mike Frysinger <vapier@gentoo.org>
17453
17454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17455 outside of comment.
17456
17457 2016-01-15 Torvald Riegel <triegel@redhat.com>
17458
17459 * nptl/tst-barrier1.c: Add description on first line.
17460 * nptl/tst-barrier2.c: Likewise.
17461 * nptl/tst-barrier3.c: Likewise.
17462 * nptl/tst-barrier4.c: Likewise.
17463 * nptl/tst-barrier5.c: Likewise.
17464
17465 2016-01-15 Torvald Riegel <triegel@redhat.com>
17466
17467 [BZ #18868]
17468 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17469
17470 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
17471
17472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17474 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17475 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17476 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17477 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17478 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17479 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17480 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17481 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17482 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17483
17484 2016-01-15 Torvald Riegel <triegel@redhat.com>
17485
17486 [BZ #13065]
17487 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17488 new implementation.
17489 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17490 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17491 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17492 (BARRIER_IN_THRESHOLD): New macro.
17493 * nptl/pthread_barrierattr_setpshared.c
17494 (pthread_barrierattr_setpshared): Clean up.
17495 * nptl/tst-barrier4.c: Correct comment.
17496 * nptl/tst-barrier5.c: New file.
17497 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17498 (gen-as-const-headers): Remove lowlevelbarrier.sym.
17499 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17500 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17501 * nptl/lowlevelbarrier.sym: Remove.
17502 * nptl/DESIGN-barrier.txt: Remove.
17503 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17504 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17505 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17506 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17507 error.
17508 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17509 implementation.
17510
17511 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17512
17513 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17514 (do_child): Mask SIGRTMIN while thr is running.
17515
17516 2016-01-15 Martin Sebor <msebor@redhat.com>
17517
17518 [BZ #19432]
17519 * iconvdata/Makefile: Add bug-iconv11.
17520 * iconvdata/bug-iconv11.c: New test.
17521 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17522 * iconvdata/ibm933.c: Same.
17523 * iconvdata/ibm935.c: Same.
17524 * iconvdata/ibm937.c: Same.
17525 * iconvdata/ibm939.c: Same.
17526
17527 2016-01-15 Martin Sebor <msebor@redhat.com>
17528
17529 [BZ #19443]
17530 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17531 [DEBUG] (_ufc_set_bits): Declare used.
17532 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17533 [DEBUG] (print_all): Declare used.
17534 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17535 operands of the ternary ?: expression to target type.
17536 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17537 calling the undeclared abort.
17538 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17539
17540 2016-01-15 Martin Sebor <msebor@redhat.com>
17541
17542 [BZ #18755]
17543 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17544 warnings.
17545 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17546 (__gai_create_helper_thread): Same.
17547 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17548 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17549 to suppress -Wmaybe-uninitialized warnings.
17550
17551 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 [BZ #19465]
17554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17555 inside if.
17556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17557 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17558 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17559
17560 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
17561
17562 [BZ #19466]
17563 * time/tst-mktime2.c (time_t_max): Removed.
17564 (time_t_min): Likewise.
17565 (TYPE_SIGNED): New.
17566 (TYPE_MINIMUM): Likewise.
17567 (TYPE_MAXIMUM): Likewise.
17568 (TIME_T_MIN): Likewise.
17569 (TIME_T_MAX): Likewise.
17570 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17571 and TIME_T_MIN.
17572 (do_test): Likewise.
17573
17574 2016-01-14 Amit Pawar <amit.pawar@amd.com>
17575
17576 [BZ #19467]
17577 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17578 index_Fast_Unaligned_Load flag for Excavator family CPUs.
17579
17580 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
17581
17582 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17583
17584 2016-01-13 Carlos O'Donell <carlos@redhat.com>
17585
17586 * benchtests/Makefile (PYTHON): Define.
17587 (bench-func): Use $(PYTHON) to run python scripts.
17588 ($(objpfx)bench-%.c): Likewise.
17589
17590 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
17591
17592 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17593 leading slash when `file_name' is "/".
17594
17595 2016-01-12 Joseph Myers <joseph@codesourcery.com>
17596
17597 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17598 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17599 Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17601 Likewise.
17602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17603 Likewise.
17604 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17605 enum constant and macro.
17606 (PTRACE_SETSIGMASK): Likewise.
17607 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17608 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17609 (PTRACE_GETSIGMASK): Likewise.
17610 (PTRACE_SETSIGMASK): Likewise.
17611 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17612 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17613 Likewise.
17614 (PTRACE_SETSIGMASK): Likewise.
17615 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17617 (PTRACE_GETSIGMASK): Likewise.
17618 (PTRACE_SETSIGMASK): Likewise.
17619 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17621 Likewise.
17622 (PTRACE_SETSIGMASK): Likewise.
17623 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17624 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17625 Likewise.
17626 (PTRACE_SETSIGMASK): Likewise.
17627 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17628 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17629 Likewise.
17630 (PTRACE_SETSIGMASK): Likewise.
17631 (PTRACE_SECCOMP_GET_FILTER): Likewise.
17632
17633 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
17634 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17635
17636 [BZ #19439]
17637 * math/bits/mathcalls.h
17638 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17639 prototype.
17640 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17641
17642 2016-01-11 Andreas Schwab <schwab@suse.de>
17643
17644 [BZ #19253]
17645 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17646 cache when TZDEFRULES was used.
17647 * time/tst-tzname.c: New file.
17648 * time/Makefile (test): Add tst-tzname.
17649 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17650 * timezone/Makefile (test-zones): Add $(posixrules-file).
17651 ($(testdata)/$(posixrules-file)): New rule.
17652
17653 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
17654
17655 Fix doc quoting problems with Texinfo 5
17656 Without this change, in the info file output, Texinfo 5 quotes code
17657 in text with undirected single quotes 'like this' and generates
17658 code examples that with many PDF readers cannot be cut out of PDFs
17659 and pasted into code.
17660 * manual/libc.texinfo: Configure the libc manual like the GNU
17661 Emacs manual, by using @documentencoding and setting
17662 txicodequoteundirected and txicodequotebacktick. This way,
17663 Texinfo 5 quotes code in text with directed single quotes ‘like
17664 this’ and produces examples that can be cut out of PDFs. This
17665 change causes Texinfo 5 to generate info files that contain UTF-8
17666 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17667 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17668
17669 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17670
17671 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17672 __libc_tabort, __libc_tend): New wrappers that enforce compiler
17673 barriers to their respective compiler built-ins.
17674 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17675 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17676 * sysdeps/powerpc/sysdep.h: Likewise.
17677 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17678 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17679 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17680
17681 2016-01-08 Marko Myllynen <myllynen@redhat.com>
17682
17683 * scripts/config.guess: Revert previous shebang change.
17684 * scripts/config.sub: Likewise.
17685 * scripts/mkinstalldirs: Likewise.
17686
17687 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17688
17689 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17690 PPC_FEATURE2_HAS_IEEE128.
17691 * sysdeps/powerpc/dl-procinfo.c:
17692 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17693
17694 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
17695
17696 [BZ #19415]
17697 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17698 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
17699 (_dl_lookup_address): Rewrite using function resolver trampoline.
17700 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17701 two bits in address.
17702
17703 2016-01-07 Mike Frysinger <vapier@gentoo.org>
17704
17705 * longlong.h: Change !__SHMEDIA__ to
17706 (!defined (__SHMEDIA__) || !__SHMEDIA__).
17707 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17708
17709 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
17710 Joseph Myers <joseph@codesourcery.com>
17711 Mark Shinwell <shinwell@codesourcery.com>
17712 Andrew Stubbs <ams@codesourcery.com>
17713 Rich Felker <dalias@libc.org>
17714
17715 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17716
17717 2016-01-07 Richard Henderson <rth@redhat.com>
17718
17719 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17720
17721 2016-01-07 Mike Frysinger <vapier@gentoo.org>
17722
17723 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17724 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17725 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17726 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17727 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17728
17729 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
17730 Joseph Myers <joseph@codesourcery.com>
17731
17732 * timezone/private.h: Update from tzcode 2015g.
17733 * timezone/tzfile.h: Likewise.
17734 * timezone/tzselect.ksh: Likewise.
17735 * timezone/zdump.c: Likewise.
17736 * timezone/zic.c: Likewise.
17737 * timezone/ialloc.c: Remove file.
17738 * timezone/scheck.c: Likewise.
17739 * timezone/Makefile (extra-objs): Remove variable.
17740 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17741 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17742 -Wno-maybe-uninitialized.
17743 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17744 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17745 (CFLAGS-ialloc.c): Remove variable.
17746 (CFLAGS-scheck.c): Likewise.
17747 * timezone/README: Update list of files from tzcode.
17748
17749 2016-01-07 Khem Raj <raj.khem@gmail.com>
17750
17751 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17752 instead of __fxprintf when _LIBC is undefined.
17753
17754 2016-01-07 Marko Myllynen <myllynen@redhat.com>
17755
17756 * catgets/test-gencat.sh: Remove space after shebang.
17757 * conform/GlibcConform.pm: Likewise.
17758 * conform/check-header-lists.sh: Likewise.
17759 * conform/conformtest.pl: Likewise.
17760 * conform/linknamespace.pl: Likewise.
17761 * conform/list-header-symbols.pl: Likewise.
17762 * debug/catchsegv.sh: Likewise.
17763 * elf/genrtldtbl.awk: Likewise.
17764 * elf/tst-pathopt.sh: Likewise.
17765 * elf/tst-rtld-load-self.sh: Likewise.
17766 * grp/tst_fgetgrent.sh: Likewise.
17767 * iconvdata/gen-8bit-gap-1.sh: Likewise.
17768 * iconvdata/gen-8bit-gap.sh: Likewise.
17769 * iconvdata/gen-8bit.sh: Likewise.
17770 * iconvdata/run-iconv-test.sh: Likewise.
17771 * intl/tst-gettext.sh: Likewise.
17772 * intl/tst-gettext2.sh: Likewise.
17773 * intl/tst-gettext4.sh: Likewise.
17774 * intl/tst-gettext6.sh: Likewise.
17775 * intl/tst-translit.sh: Likewise.
17776 * io/ftwtest-sh: Likewise.
17777 * libio/test-freopen.sh: Likewise.
17778 * locale/gen-translit.pl: Likewise.
17779 * malloc/tst-mtrace.sh: Likewise.
17780 * manual/check-safety.sh: Likewise.
17781 * manual/libc-texinfo.sh: Likewise.
17782 * manual/tsort.awk: Likewise.
17783 * manual/xtract-typefun.awk: Likewise.
17784 * nptl/tst-cancel-wrappers.sh: Likewise.
17785 * nptl/tst-tls6.sh: Likewise.
17786 * posix/globtest.sh: Likewise.
17787 * posix/tst-getconf.sh: Likewise.
17788 * posix/wordexp-tst.sh: Likewise.
17789 * scripts/check-c++-types.sh: Likewise.
17790 * scripts/check-local-headers.sh: Likewise.
17791 * scripts/config.guess: Likewise.
17792 * scripts/config.sub: Likewise.
17793 * scripts/cpp: Likewise.
17794 * scripts/cross-test-ssh.sh: Likewise.
17795 * scripts/documented.sh: Likewise.
17796 * scripts/evaluate-test.sh: Likewise.
17797 * scripts/gen-libc-abis: Likewise.
17798 * scripts/gen-sorted.awk: Likewise.
17799 * scripts/list-fixed-bugs.py: Likewise.
17800 * scripts/merge-test-results.sh: Likewise.
17801 * scripts/mkinstalldirs: Likewise.
17802 * scripts/rellns-sh: Likewise.
17803 * scripts/test-installation.pl: Likewise.
17804 * scripts/update-copyrights: Likewise.
17805 * stdio-common/tst-printf.sh: Likewise.
17806 * stdio-common/tst-unbputc.sh: Likewise.
17807 * stdlib/tst-fmtmsg.sh: Likewise.
17808 * stdlib/tst-setcontext3.sh: Likewise.
17809 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17810 * sysdeps/unix/make-syscalls.sh: Likewise.
17811
17812 2016-01-06 John David Anglin <dave.anglin@bell.net>
17813
17814 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17815 asm stw with atomic_exchange_rel. Add explanatory comment.
17816 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17817 Likewise.
17818
17819 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 [BZ #19122]
17822 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17823 * sysdeps/generic/dl-unistd.h: New file.
17824 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17825
17826 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
17827
17828 [BZ #19122]
17829 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17830 * sysdeps/generic/dl-mman.h: New file.
17831 * sysdeps/mach/hurd/dl-mman.h: Likewise.
17832
17833 2016-01-05 Joseph Myers <joseph@codesourcery.com>
17834
17835 * manual/texinfo.tex: Update to version 2016-01-04.21 with
17836 trailing whitespace removed.
17837 * scripts/config.guess: Update to version 2016-01-01.
17838 * scripts/config.sub: Update to version 2016-01-01.
17839 * scripts/move-if-change: Update from gnulib.
17840
17841 2016-01-04 Anton Blanchard <anton@samba.org>
17842
17843 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17844 for array indices.
17845 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17846
17847 2016-01-04 Joseph Myers <joseph@codesourcery.com>
17848
17849 * NEWS: Update copyright dates.
17850 * catgets/gencat.c (print_version): Likewise.
17851 * csu/version.c (banner): Likewise.
17852 * debug/catchsegv.sh: Likewise.
17853 * debug/pcprofiledump.c (print_version): Likewise.
17854 * debug/xtrace.sh (do_version): Likewise.
17855 * elf/ldconfig.c (print_version): Likewise.
17856 * elf/ldd.bash.in: Likewise.
17857 * elf/pldd.c (print_version): Likewise.
17858 * elf/sotruss.sh: Likewise.
17859 * elf/sprof.c (print_version): Likewise.
17860 * iconv/iconv_prog.c (print_version): Likewise.
17861 * iconv/iconvconfig.c (print_version): Likewise.
17862 * locale/programs/locale.c (print_version): Likewise.
17863 * locale/programs/localedef.c (print_version): Likewise.
17864 * login/programs/pt_chown.c (print_version): Likewise.
17865 * malloc/memusage.sh (do_version): Likewise.
17866 * malloc/memusagestat.c (print_version): Likewise.
17867 * malloc/mtrace.pl: Likewise.
17868 * manual/libc.texinfo: Likewise.
17869 * nptl/version.c (banner): Likewise.
17870 * nscd/nscd.c (print_version): Likewise.
17871 * nss/getent.c (print_version): Likewise.
17872 * nss/makedb.c (print_version): Likewise.
17873 * posix/getconf.c (main): Likewise.
17874 * scripts/test-installation.pl: Likewise.
17875 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17876
17877 * All files with FSF copyright notices: Update copyright dates
17878 using scripts/update-copyrights.
17879 * intl/plural.c: Regenerated.
17880 * locale/programs/charmap-kw.h: Likewise.
17881 * locale/programs/locfile-kw.h: Likewise.
17882
17883 2016-01-02 Helge Deller <deller@gmx.de>
17884
17885 [BZ #19285]
17886 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17887 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17888 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17889 (MADV_xxK_PAGES): Remove.
17890
17891 2016-01-01 Mike Frysinger <vapier@gentoo.org>
17892
17893 [BZ #15421]
17894 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17895 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
17896 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17897 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17898
17899 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
17900
17901 [BZ #19408]
17902 * sysdeps/unix/sysv/linux/personality.c: New file.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17904 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17905 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17906 (sysdep_routines): Add personality.
17907 (tests): Add tst-personality.
17908 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17910 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17911 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17912 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17913 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17914 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17915 Likewise.
17916 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17917 Likewise.
17918 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17919 Likewise.
17920 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17922 Likewise.
17923
17924 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
17925
17926 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17927 (PATH_ARM_SYSTYPE): Remove.
17928 (PATH_CPUINFO): Likewise.
17929 (IO_BASE_FOOTBRIDGE): Likewise.
17930 (IO_SHIFT_FOOTBRIDGE): Likewise.
17931 (struct platform): Likewise.
17932 (init_iosys): Remove compatibility code for 2.4 kernels.
17933 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17934
17935 2015-12-29 Florian Weimer <fweimer@redhat.com>
17936
17937 * malloc/tst-malloc-thread-fail.c: New file.
17938 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17939 (tst-malloc-thread-fail): Link against libpthread.
17940
17941 2015-12-29 Mike Frysinger <vapier@gentoo.org>
17942
17943 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
17944 (get_parser): New function.
17945 (main): New function.
17946
17947 2015-12-29 Rob Wu <rob@robwu.nl>
17948
17949 [BZ #19369]
17950 * resolv/res_init.c (__res_vinit): Reset defdname before use.
17951
17952 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
17953
17954 [BZ #19270]
17955 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17956
17957 2015-12-28 Mike Frysinger <vapier@gentoo.org>
17958
17959 [BZ #15421]
17960 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17961
17962 2015-12-23 Torvald Riegel <triegel@redhat.com>
17963
17964 [BZ #13690]
17965 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17966 after releasing it.
17967 (__lll_robust_unlock): Likewise.
17968 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17969 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17970 (lll_robust_unlock): Likewise.
17971 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17972 Prevent warnings in callers.
17973
17974 2015-12-23 Florian Weimer <fweimer@redhat.com>
17975
17976 * malloc/arena.c (list_lock): Update comment.
17977
17978 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17979
17980 * sysdeps/powerpc/hwcapinfo.c: Export symbol
17981 __parse_hwcap_and_convert_at_platform to libc.a.
17982
17983 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17984
17985 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17986 platform and feature support for POWER9.
17987 * sysdeps/powerpc/dl-procinfo.h: Likewise.
17988 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17989 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17990 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17991 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17992 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17993 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17994 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17995
17996 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17997
17998 Harmonize generic stdio-lock support with nptl
17999
18000 This fixes build when _IO_funlockfile is a macro, fixes build where
18001 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18002 stack unwind.
18003
18004 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18005 _IO_release_lock ): Use cleanup attribute on new
18006 _IO_acquire_lock_file variable instead of assuming that
18007 _IO_release_lock will be called.
18008 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18009 _IO_acquire_lock_needs_exceptions_enabled.
18010 (_IO_acquire_lock_clear_flags2): New macro.
18011
18012 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18013
18014 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18015
18016 2015-12-21 Florian Weimer <fweimer@redhat.com>
18017
18018 [BZ #19182]
18019 * malloc/arena.c (list_lock): Document lock ordering requirements.
18020 (free_list_lock): New lock.
18021 (ptmalloc_lock_all): Comment on free_list_lock.
18022 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18023 (detach_arena): Update comment. free_list_lock is now needed.
18024 (_int_new_arena): Use free_list_lock around detach_arena call.
18025 Acquire arena lock after list_lock. Add comment, including FIXME
18026 about incorrect synchronization.
18027 (get_free_list): Switch to free_list_lock.
18028 (reused_arena): Acquire free_list_lock around detach_arena call
18029 and attached threads counter update. Add two FIXMEs about
18030 incorrect synchronization.
18031 (arena_thread_freeres): Switch to free_list_lock.
18032 * malloc/malloc.c (struct malloc_state): Update comments to
18033 mention free_list_lock.
18034
18035 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
18036
18037 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18038 Remove functions.
18039 (sloww, sloww1): Accept argument to offset quadrant.
18040 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18041 quadrant.
18042 (__sin, __cos): Consolidate common code into new functions.
18043 (reduce_sincos_1, do_sincos_1): New functions.
18044 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18045
18046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18047 code to new functions.
18048 (reduce_sincos_2, do_sincos_2): New functions.
18049 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18050
18051 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18052 common code for sincos.
18053 (__cos) [!IN_SINCOS]: Likewise.
18054 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18055 New function.
18056 (__sincos): Use it.
18057
18058 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
18059
18060 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18061 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18062 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18063
18064 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
18065
18066 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18069 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18070 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18071 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18072 index_Prefer_No_VZEROUPPER): New feature.
18073 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18074 Prefer_No_VZEROUPPER for Knights Landing.
18075
18076 015-12-18 Torvald Riegel <triegel@redhat.com>
18077
18078 * math/atest-exp2.c (mp_exp_m1): Remove.
18079
18080 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18081
18082 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18083 syscalls.
18084 (__SYSCALL0): New macro.
18085 (__SYSCALL1): Likewise.
18086 (__SYSCALL2): Likewise.
18087 (__SYSCALL3): Likewise.
18088 (__SYSCALL4): Likewise.
18089 (__SYSCALL5): Likewise.
18090 (__SYSCALL6): Likewise.
18091 (__SYSCALL_CONCAT_X): Likewise.
18092 (__SYSCALL_CONCAT): Likewise.
18093 (__SYSCALL_DIST): Likewise.
18094 (__SYSCALL_CALL): Likewise.
18095
18096 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
18097
18098 [BZ #19363]
18099 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18100
18101 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18102
18103 [BZ #19375]
18104 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18105 negative subnormals.
18106
18107 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18110 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18111 (INTERNAL_SYSCALL_NCS): Use it.
18112 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18113
18114 2015-12-16 Florian Weimer <fweimer@redhat.com>
18115
18116 [BZ #19243]
18117 * malloc/arena.c (get_free_list): Remove assert and adjust
18118 reference count handling. Add comment about reused_arena
18119 interaction.
18120 (reused_arena): Add comments abount get_free_list interaction.
18121 * malloc/tst-malloc-thread-exit.c: New file.
18122 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18123 (tst-malloc-thread-exit): Link against libpthread.
18124
18125 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
18126
18127 [BZ #19367]
18128 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18129 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18131 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18132 (index_Prefer_MAP_32BIT_EXEC): Likewise.
18133
18134 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
18135
18136 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18137 Silvermont optimizations for Knights Landing.
18138
18139 2015-12-15 Andreas Schwab <schwab@suse.de>
18140
18141 [BZ #17197]
18142 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18143 immediately after emitting SI.
18144 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18145 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18146 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18147 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18148 * iconvdata/bug-iconv10.c: New file.
18149 * iconvdata/Makefile (tests): Add bug-iconv10.
18150 ($(objpfx)bug-iconv10.out): New rule.
18151
18152 2015-12-15 Florian Weimer <fweimer@redhat.com>
18153
18154 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18155 aliasing violation.
18156
18157 2015-12-14 Joseph Myers <joseph@codesourcery.com>
18158
18159 [BZ #18472]
18160 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18161 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18162 conditionals for them.
18163 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18164 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18166 sys/kdaemon.h.
18167 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18168 compat-only syscall, obsoleted in glibc 2.23.
18169 (create_module): Likewise.
18170 (get_kernel_syms): Likewise.
18171 (query_module): Likewise.
18172 (uselib): Likewise.
18173 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18174
18175 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
18176
18177 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18178 <linux/version.h>.
18179 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18180 conditional code.
18181 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18182 and ioshift_name initialization.
18183
18184 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
18185
18186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18187 Fix indentation.
18188
18189 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
18190
18191 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18192
18193 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
18194
18195 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18196
18197 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
18198 Jakub Wilk <jwilk@debian.org>
18199
18200 [BZ #19347]
18201 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18202 to change the group of the device to the tty group.
18203
18204 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
18205
18206 Split large string section; add truncation advice
18207 * manual/examples/strncat.c: Remove.
18208 This example was misleading, as the code would have undefined
18209 behavior if "hello" was longer than SIZE. Anyway, the manual
18210 shouldn't encourage strncpy+strncat for this sort of thing.
18211 * manual/string.texi (Copying Strings and Arrays): Split into
18212 three sections Copying Strings and Arrays, Concatenating Strings,
18213 and Truncating Strings, as this section was way too long. All
18214 cross-referenced changed. Add advice about string-truncation
18215 functions. Remove misleading strncat example.
18216
18217 2015-12-10 Carlos O'Donell <carlos@redhat.com>
18218
18219 * manual/nss.texi (NSS Modules Interface): Document
18220 NSS_STATUS_NOTFOUND and SUCCESS.
18221
18222 2015-12-09 Mike FABIAN <mfabian@redhat.com>
18223
18224 [BZ 18568]
18225 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18226 201505L, for Unicode 8.
18227
18228 2015-12-09 Carlos O'Donell <carlos@redhat.com>
18229
18230 * locale/C-translit.h: Regenerate.
18231
18232 2015-12-09 Mike FABIAN <mfabian@redhat.com>
18233
18234 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18235 and U+0153.
18236
18237 2015-12-09 Joseph Myers <joseph@codesourcery.com>
18238
18239 [BZ #19351]
18240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18241 expanding log(1+z), compare z rather than its square with epsilon
18242 to determine when to avoid evaluating the expansion.
18243
18244 [BZ #19350]
18245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18246 Increase overflow threshold.
18247
18248 [BZ #19349]
18249 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18250 when small.
18251
18252 * sysdeps/unix/sysv/linux/i386/kernel-features.h
18253 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18254 New macro.
18255 [__LINUX_KERNEL_VERSION >= 0x040300]
18256 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18257 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18258 Likewise.
18259 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18260 Likewise.
18261 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18262 Likewise.
18263 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18264 Likewise.
18265 [__LINUX_KERNEL_VERSION >= 0x040300]
18266 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18267 [__LINUX_KERNEL_VERSION >= 0x040300]
18268 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18269 [__LINUX_KERNEL_VERSION >= 0x040300]
18270 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18271 [__LINUX_KERNEL_VERSION >= 0x040300]
18272 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18273 [__LINUX_KERNEL_VERSION >= 0x040300]
18274 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18275 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18276 Likewise.
18277 [__LINUX_KERNEL_VERSION >= 0x040300]
18278 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18279 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18280 Likewise.
18281 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18282 Likewise.
18283 [__LINUX_KERNEL_VERSION >= 0x040300]
18284 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18285 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18286 Likewise.
18287 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18288 Likewise.
18289 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18290 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18291 Likewise.
18292 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18293 Likewise.
18294 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18295 Likewise.
18296 [__LINUX_KERNEL_VERSION >= 0x040300]
18297 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18298 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18299 Likewise.
18300 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18301 Likewise.
18302 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18303 Likewise.
18304 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18305 Likewise.
18306 [__LINUX_KERNEL_VERSION >= 0x040300]
18307 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18308 [__LINUX_KERNEL_VERSION >= 0x040300]
18309 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18310 [__LINUX_KERNEL_VERSION >= 0x040300]
18311 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18312 [__LINUX_KERNEL_VERSION >= 0x040300]
18313 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18314 [__LINUX_KERNEL_VERSION >= 0x040300]
18315 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18316 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18317 Likewise.
18318 [__LINUX_KERNEL_VERSION >= 0x040300]
18319 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18320 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18321 Likewise.
18322 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18323 Likewise.
18324 [__LINUX_KERNEL_VERSION >= 0x040300]
18325 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18326 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18327 Likewise.
18328 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18329 Likewise.
18330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18331 (__ASSUME_SOCKET_SYSCALL): Likewise.
18332 (__ASSUME_BIND_SYSCALL): Likewise.
18333 (__ASSUME_CONNECT_SYSCALL): Likewise.
18334 (__ASSUME_LISTEN_SYSCALL): Likewise.
18335 (__ASSUME_ACCEPT_SYSCALL): Likewise.
18336 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18337 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18338 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18339 (__ASSUME_SEND_SYSCALL): Likewise.
18340 (__ASSUME_SENDTO_SYSCALL): Likewise.
18341 (__ASSUME_RECV_SYSCALL): Likewise.
18342 (__ASSUME_RECVFROM_SYSCALL): Likewise.
18343 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18344 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18345 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18346 (__ASSUME_SENDMSG_SYSCALL): Likewise.
18347 (__ASSUME_RECVMSG_SYSCALL): Likewise.
18348 * sysdeps/unix/sysv/linux/sh/kernel-features.h
18349 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18350 Likewise.
18351 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18352 Likewise.
18353 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18354 Likewise.
18355 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18356 Likewise.
18357 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18358 Likewise.
18359 [__LINUX_KERNEL_VERSION >= 0x020625]
18360 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18361 [__LINUX_KERNEL_VERSION >= 0x020625]
18362 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18363 [__LINUX_KERNEL_VERSION >= 0x020625]
18364 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18365 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18366 Likewise.
18367 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18368 Likewise.
18369 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18370 Likewise.
18371 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18372 Likewise.
18373 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18374 Likewise.
18375 [__LINUX_KERNEL_VERSION >= 0x020625]
18376 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18377 [__LINUX_KERNEL_VERSION >= 0x020625]
18378 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18379 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18380 Likewise.
18381 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18382 Likewise.
18383
18384 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
18385
18386 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18387 record the current if the current ABI and CPU support the FP64
18388 extension.
18389 (has-modd-spreg): Define to record the current if the current ABI and
18390 CPU support 32-bit floating point values in odd FPU registers.
18391 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18392 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18393 $(has-modd-spreg) equals yes.
18394 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18395 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18396 $(has-modd-spreg) equal yes.
18397
18398 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
18399
18400 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18401 basename.
18402
18403 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
18404
18405 * benchtests/Makefile (bench-math): Move ffs and ffsll...
18406 (bench-string): ... here.
18407 (bench): Add bench-string.
18408 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18409 to *-benchset to reflect what they are.
18410 (benchset): Adjust.
18411
18412 * benchtests/sincos-inputs: Add inputs from sin-inputs and
18413 cos-inputs.
18414
18415 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
18416
18417 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18418 __attribute__ ((__simd__)) for vector math function declarations.
18419
18420 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
18421
18422 Fix typo in strncat, wcsncat manual entries
18423 * manual/string.texi (Copying and Concatenation): Fix typos in
18424 sample implementations of strncat and wcsncat, by having them use
18425 the old value of the destination length, not the new one.
18426
18427 2015-12-04 Joseph Myers <joseph@codesourcery.com>
18428
18429 [BZ #16961]
18430 [BZ #16962]
18431 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18432 string on the stack for strtod.
18433 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18434 a string on the stack for strtof.
18435 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18436 constructing a string on the stack for strtold.
18437 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18438 __strtold_nan to GLIBC_PRIVATE.
18439 * math/test-nan-overflow.c: New file.
18440 * math/test-nan-payload.c: Likewise.
18441 * math/Makefile (tests): Add test-nan-overflow and
18442 test-nan-payload.
18443
18444 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
18445
18446 Consistency about byte vs character in string.texi
18447 * manual/string.texi (String and Array Utilities):
18448 Distinguish more carefully among bytes, multibyte characters,
18449 and wide characters. Use "byte" when talking about C 'char',
18450 to distinguish it more clearly from multibyte characters.
18451 Say "wide character" or "multibyte character" instead of
18452 "character", when a wide or multibyte character is intended.
18453 Similarly for "multibyte string" versus "string".
18454 Define these terms more carefully.
18455
18456 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
18457
18458 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18459 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18460 Likewise.
18461 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18462 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18463 * sysdeps/sh/math_private.h: New file.
18464 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18465 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18466 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18467 long double function name.
18468 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18474 Remove __finitel, __isinfl, and __isnanl.
18475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18476 Likewise.
18477 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18479 Remove __finitel.
18480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18481 Likewise.
18482 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18483
18484 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
18485
18486 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18487 installed libmvec_nonshared.a.
18488
18489 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18490
18491 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18492 (sysdep_routines): Likewise.
18493 (sysdep-rtld-routines): Likewise.
18494 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18495 [$(subdir) = nptl](tests-static): test-get_hwcap-static
18496 * sysdeps/powerpc/Versions: Added new
18497 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18498 * sysdeps/powerpc/hwcapinfo.c: New file.
18499 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18500 and parse hwcap, hwcap2 and platform number information.
18501 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
18502 to store HWCAP+HWCAP2 and platform number.
18503 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18504 for HWCAP+HWCAP2 and platform number in the TCB.
18505 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
18506 the HWCAP, HWCAP2 and platform number in the TCB.
18507 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18508 (TLS_INIT_TP): Included calls to add the hwcap and
18509 at_platform values in the TCB in TP initialization.
18510 (TLS_DEFINE_INIT_TP): Likewise.
18511 (THREAD_GET_HWCAP): New macro.
18512 (THREAD_SET_HWCAP): Likewise.
18513 (THREAD_GET_AT_PLATFORM): Likewise.
18514 (THREAD_SET_AT_PLATFORM): Likewise.
18515 * sysdeps/powerpc/powerpc32/dl-machine.h:
18516 (dl_platform_init): New function that calls
18517 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18518 powerpc32.
18519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18520 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
18521 this functionality, static linking case.
18522 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
18523 linking case.
18524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18525 __parse_hwcap_and_convert_at_platform for the static linking case.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18527 Included the new __parse_hwcap_and_convert_at_platform symbol in the
18528 ABI list for GLIBC 2.23.
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18530 Likewise.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18532 Likewise.
18533
18534 2015-12-02 Ludovic Courtès <ludo@gnu.org>
18535
18536 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18537 * configure: Regenerate.
18538 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18539 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
18540
18541 2015-12-02 Carlos O'Donell <carlos@redhat.com>
18542
18543 * iconvdata/ibm930.c: Add comment explaining encoding uses.
18544 * iconvdata/ibm933.c: Likewise.
18545 * iconvdata/ibm935.c: Likewise.
18546 * iconvdata/ibm937.c: Likewise.
18547 * iconvdata/ibm939.c: Likewise.
18548
18549 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18550
18551 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18552 pthread_join.
18553 * nptl/tst-cancel21.c (tf): Likewise.
18554
18555 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
18556
18557 [BZ #19313]
18558 * bits/typesizes.h (__CPU_MASK_TYPE): New.
18559 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18560 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18561 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18562 Likewise.
18563 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18564 Likewise.
18565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18566 Likewise.
18567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18568 Likewise.
18569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18570 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18571 unsigned long int with __CPU_MASK_TYPE.
18572
18573 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
18574
18575 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18576
18577 2015-12-01 Joseph Myers <joseph@codesourcery.com>
18578
18579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18580 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18581 t512.x.
18582 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18583
18584 2015-11-30 Amit Pawar <amit.pawar@amd.com>
18585
18586 [BZ #19214]
18587 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18588 argument to return extended model. Update family and model
18589 with extended family and model when family == 0x0f.
18590 (init_cpu_features): Updated.
18591
18592 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18593
18594 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18595 signed off_t, so 32bit bigger than 2GiB values are fine actually.
18596
18597 * sysdeps/mach/hurd/mmap64.c: New file.
18598
18599 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
18600
18601 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18602 rights for its main user thread in NEWTASK.
18603
18604 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
18605
18606 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18607 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18608
18609 2015-11-27 Carlos O'Donell <carlos@redhat.com>
18610
18611 [BZ #14259]
18612 * Makeconfig: Rename localedir to complocaledir.
18613 Rename inst_localedir to inst_complocaledir.
18614 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18615 * config.make.in: Use complocaledir and libc_cv_complocaledir.
18616 * configure.ac: Use libc_cv_complocaledir.
18617 * configure: Regenerate.
18618 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18619 -DCOMPLOCALEDIR.
18620 * locale/findlocale.c: Use COMPLOCALEDIR.
18621 * locale/loadarchive.c: Likewise.
18622 * locale/programs/locale.c: Likewise.
18623 * locale/programs/localedef.c: Likewise.
18624 * locale/programs/locarchive.c: Likewise.
18625 * localedata/Makefile: Use inst_complocaledir.
18626 * sysdeps/gnu/configure: Regenerate.
18627 * sysdeps/hppa/configure: Regenerate.
18628 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18629 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18631 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18632 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18633 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18634 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18635
18636 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
18637
18638 [BZ #19058]
18639 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18640 AS_NEEDED.
18641 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18642 workaround.
18643 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18644 libmvec-static-only-routines): Added new file.
18645 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18646
18647 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18648
18649 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18650 of interrupted RPC instead of restoring it.
18651
18652 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18653 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18654 libc_hidden_def.
18655 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18656 into initialized data instead of common. Define rtld_hidden_data_def.
18657 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18658 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18659 libc_hidden_def.
18660 (if_freenameindex): Add libc_hidden_weak.
18661 (if_nameindex): Add libc_hidden_weak.
18662 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18663 __open64.
18664 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18665 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18666 * sysdeps/mach/nanosleep.c: Include <time.h>
18667 (__nanosleep): Rename to __libc_nanosleep.
18668 (__nanosleep): Add weak_alias.
18669 (nanosleep): Update alias.
18670
18671 2015-11-24 Joseph Myers <joseph@codesourcery.com>
18672
18673 * stdlib/strtod_nan.c: New file.
18674 * stdlib/strtod_nan_double.h: Likewise.
18675 * stdlib/strtod_nan_float.h: Likewise.
18676 * stdlib/strtod_nan_main.c: Likewise.
18677 * stdlib/strtod_nan_narrow.h: Likewise.
18678 * stdlib/strtod_nan_wide.h: Likewise.
18679 * stdlib/strtof_nan.c: Likewise.
18680 * stdlib/strtold_nan.c: Likewise.
18681 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18682 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18683 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18684 * wcsmbs/wcstod_nan.c: Likewise.
18685 * wcsmbs/wcstof_nan.c: Likewise.
18686 * wcsmbs/wcstold_nan.c: Likewise.
18687 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18688 strtold_nan.
18689 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18690 wcstof_nan.
18691 * include/stdlib.h (__strtof_nan): Declare and use
18692 libc_hidden_proto.
18693 (__strtod_nan): Likewise.
18694 (__strtold_nan): Likewise.
18695 (__wcstof_nan): Likewise.
18696 (__wcstod_nan): Likewise.
18697 (__wcstold_nan): Likewise.
18698 * include/wchar.h (____wcstoull_l_internal): Declare.
18699 * stdlib/strtod_l.c: Do not include <ieee754.h>.
18700 (____strtoull_l_internal): Remove declaration.
18701 (STRTOF_NAN): Define macro.
18702 (SET_MANTISSA): Remove macro.
18703 (STRTOULL): Likewise.
18704 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18705 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18706 (STRTOF_NAN): Define macro.
18707 (SET_MANTISSA): Remove macro.
18708 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18709 (SET_MANTISSA): Remove macro.
18710 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18711 macro.
18712 (SET_MANTISSA): Remove macro.
18713 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18714 macro.
18715 (SET_MANTISSA): Remove macro.
18716 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18717 (SET_MANTISSA): Remove macro.
18718 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18719 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18720 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18721
18722 [BZ #19266]
18723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18724 upper case and lower case letters inside NAN(), not using TOLOWER.
18725 * stdlib/tst-strtod-nan-locale-main.c: New file.
18726 * stdlib/tst-strtod-nan-locale.c: Likewise.
18727 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18728 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18729 Depend on $(gen-locales).
18730 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18731 * wcsmbs/tst-wcstod-nan-locale.c: New file.
18732 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18733 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18734 Depend on $(gen-locales).
18735 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18736
18737 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
18738
18739 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18740
18741 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18743 __finitel, __isinfl, and __isnanl.
18744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18745 Likewise.
18746 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18748 __finitel.
18749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18750 Likewise.
18751 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18752
18753 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
18754
18755 * malloc/memusage.c (me): Remove redundant getenv call.
18756
18757 2015-10-24 Florian Weimer <fweimer@redhat.com>
18758
18759 [BZ #19143]
18760 [BZ #19164]
18761 * nptl/check-cpuset.h: Remove.
18762 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18763 Remove CPU set size check.
18764 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18765 Likewise.
18766 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18767 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18768 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18769 (__pthread_setaffinity_new): Remove CPU set size check.
18770 * sysdeps/unix/sysv/linux/sched_setaffinity.c
18771 (__kernel_cpumask_size): Remove.
18772 (__sched_setaffinity_new): Remove CPU set size check.
18773 * manual/threads.texi (Default Thread Attributes): Remove stale
18774 reference to check_cpuset_attr, determine_cpumask_size in comment.
18775 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18776 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
18777 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18778 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18779 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18780 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18781 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18782 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18783 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18784 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18785 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18786 skeleton test file.
18787 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
18788 tst-affinity-pid.
18789
18790 2015-11-24 Florian Weimer <fweimer@redhat.com>
18791
18792 * scripts/update-abilist.sh: New file.
18793 * Makefile (+subdir_targets): Add subdir_update-all-abi.
18794 * Makerules (update-all-abi-%, update-all-abi)
18795 (subdir_update-all-abi): New targets.
18796 * elf/Makefile (update-all-abi): New target.
18797
18798 2015-11-24 Florian Weimer <fweimer@redhat.com>
18799
18800 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18801 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18802 (__libc_lock_define_initialized): Use it.
18803 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18804 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18805 * malloc/malloc.c (main_arena): Likewise.
18806 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18807 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18808
18809 2015-11-23 Joseph Myers <joseph@codesourcery.com>
18810
18811 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18812 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18813 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18814 (PTRACE_O_MASK): Update value.
18815 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18816 New value in enum __ptrace_setoptions.
18817 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18818 (PTRACE_O_MASK): Update value.
18819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18820 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18821 (PTRACE_O_MASK): Update value.
18822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18823 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18824 (PTRACE_O_MASK): Update value.
18825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18826 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18827 (PTRACE_O_MASK): Update value.
18828 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18829 New value in enum __ptrace_setoptions.
18830 (PTRACE_O_MASK): Update value.
18831 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18832 New value in enum __ptrace_setoptions.
18833 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18834 (PTRACE_O_MASK): Update value.
18835
18836 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18837 New macro.
18838 (PACKET_AUXDATA): Likewise.
18839 (PACKET_ORIGDEV): Likewise.
18840 (PACKET_VERSION): Likewise.
18841 (PACKET_HDRLEN): Likewise.
18842 (PACKET_RESERVE): Likewise.
18843 (PACKET_TX_RING): Likewise.
18844 (PACKET_LOSS): Likewise.
18845 (PACKET_VNET_HDR): Likewise.
18846 (PACKET_TX_TIMESTAMP): Likewise.
18847 (PACKET_TIMESTAMP): Likewise.
18848 (PACKET_FANOUT): Likewise.
18849 (PACKET_TX_HAS_OFF): Likewise.
18850 (PACKET_QDISC_BYPASS): Likewise.
18851 (PACKET_ROLLOVER_STATS): Likewise.
18852 (PACKET_FANOUT_DATA): Likewise.
18853 (PACKET_MR_UNICAST): Likewise.
18854
18855 [BZ #19242]
18856 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18857 (TOUPPER): Likewise.
18858 * stdlib/tst-strtol-locale-main.c: New file.
18859 * stdlib/tst-strtol-locale.c: Likewise.
18860 * stdlib/Makefile (tests): Add tst-strtol-locale.
18861 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18862 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18863 Depend on $(gen-locales).
18864 * wcsmbs/tst-wcstol-locale.c: New file.
18865 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18866 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18867 tr_TR.ISO-8859-9.
18868 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18869 Depend on $(gen-locales).
18870
18871 2015-11-20 Roland McGrath <roland@hack.frob.com>
18872
18873 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18874 __glibc_likely instead of __builtin_expect. After falling back to
18875 dyncode_create in a non-ET_DYN case, use the allocate_code_data
18876 system interface to register the code pages as occupied.
18877
18878 2015-11-20 Joseph Myers <joseph@codesourcery.com>
18879
18880 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18881 [!ARM_MATH_PRIVATE_H].
18882 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18883 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18884 [!HPPA_MATH_PRIVATE_H].
18885 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18886 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18887 to [!I386_MATH_PRIVATE_H].
18888 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18889 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18890 Change guard to [!M68K_MATH_PRIVATE_H].
18891 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18892 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18893 guard to [!MICROBLAZE_MATH_PRIVATE_H].
18894 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18895 macro.
18896 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18897 [!MIPS_MATH_PRIVATE_H].
18898 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18899 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18900 [!NIO2_MATH_PRIVATE_H].
18901 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18902 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18903 [!TILE_MATH_PRIVATE_H].
18904 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18905
18906 [BZ #15421]
18907 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18908 initialize with 0 and define as weak alias of __signgam.
18909 * include/math.h [!_ISOMAC] (__signgam): Declare.
18910 * math/Makefile (libm-calls): Add w_lgamma_compat.
18911 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18912 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18913 test-signgam-ullong-init.
18914 (tests-static): Add test-signgam-uchar-static,
18915 test-signgam-uchar-init-static, test-signgam-uint-static,
18916 test-signgam-uint-init-static, test-signgam-ullong-static and
18917 test-signgam-ullong-init-static.
18918 (CFLAGS-test-signgam-uchar.c): New variable.
18919 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18920 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18921 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18922 (CFLAGS-test-signgam-uint.c): Likewise.
18923 (CFLAGS-test-signgam-uint-init.c): Likewise.
18924 (CFLAGS-test-signgam-uint-static.c): Likewise.
18925 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18926 (CFLAGS-test-signgam-ullong.c): Likewise.
18927 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18928 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18929 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18930 * math/Versions (libm): Add GLIBC_2.23.
18931 * math/lgamma-compat.h: New file.
18932 * math/test-signgam-main.c: Likewise.
18933 * math/test-signgam-uchar-init-static.c: Likewise.
18934 * math/test-signgam-uchar-init.c: Likewise.
18935 * math/test-signgam-uchar-static.c: Likewise.
18936 * math/test-signgam-uchar.c: Likewise.
18937 * math/test-signgam-uint-init-static.c: Likewise.
18938 * math/test-signgam-uint-init.c: Likewise.
18939 * math/test-signgam-uint-static.c: Likewise.
18940 * math/test-signgam-uint.c: Likewise.
18941 * math/test-signgam-ullong-init-static.c: Likewise.
18942 * math/test-signgam-ullong-init.c: Likewise.
18943 * math/test-signgam-ullong-static.c: Likewise.
18944 * math/test-signgam-ullong.c: Likewise.
18945 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18946 wrapper of w_lgamma_main.c.
18947 * math/w_lgamma_compat.c: New file.
18948 * math/w_lgamma_compatf.c: Likewise.
18949 * math/w_lgamma_compatl.c: Likewise.
18950 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
18951 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
18952 defining compatibility symbols.
18953 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
18954 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18955 wrapper of w_lgammaf_main.c.
18956 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
18957 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
18958 defining compatibility symbols.
18959 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
18960 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18961 wrapper of w_lgammal_main.c.
18962 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
18963 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
18964 defining compatibility symbols.
18965 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
18966 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18967 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18968 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
18969 <lgamma-compat.h>.
18970 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
18971 (__ieee754_gamma): Define as alias.
18972 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18973 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
18974 <lgamma-compat.h>.
18975 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
18976 (__ieee754_gammaf): Define as alias.
18977 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18978 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
18979 <lgamma-compat.h>.
18980 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
18981 (__ieee754_gammal): Define as alias.
18982 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18983 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
18984 <math/w_lgamma_compat.c>.
18985 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18986 Define as alias of __lgamma_compat and use in defining lgammal.
18987 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18988 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
18989 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18990 (USE_AS_COMPAT): New macro.
18991 (LGAMMA_OLD_VER): Undefine and redefine.
18992 (lgammal): Do not define here.
18993 (gammal): Only define here if [GAMMA_ALIAS].
18994 * conform/linknamespace.pl (@whitelist): Remove signgam.
18995 * sysdeps/nacl/libm.abilist: Update.
18996 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18997 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18998 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18999 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19000 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19001 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19002 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19003 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19004 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19005 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19006 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19007 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19009 Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19011 Likewise.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19013 Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19015 Likewise.
19016 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19017 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19018 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19019 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19022 Likewise.
19023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19024 Likewise.
19025 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19026 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19027 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19028
19029 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19030
19031 [BZ #16364]
19032 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19033 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19034
19035 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19036
19037 * sysdeps/s390/fpu/bits/mathinline.h:
19038 Use __asm__ [__volatile__] instead of asm [volatile].
19039 * sysdeps/s390/abort-instr.h: Likewise.
19040 * sysdeps/s390/atomic-machine.h: Likewise.
19041 * sysdeps/s390/bits/string.h: Likewise.
19042 * sysdeps/s390/dl-tls.h: Likewise.
19043 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19044 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19045 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19046 * sysdeps/s390/fpu/fesetround.c: Likewise.
19047 * sysdeps/s390/fpu/fpu_control.h: Likewise.
19048 * sysdeps/s390/fpu/s_fma.c: Likewise.
19049 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19050 * sysdeps/s390/memusage.h: Likewise.
19051 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19052 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19053 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19054 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19055 * sysdeps/s390/nptl/tls.h: Likewise.
19056 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19057 * sysdeps/s390/s390-32/backtrace.c: Likewise.
19058 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19059 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19060 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19061 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19062 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19063 * sysdeps/s390/s390-64/backtrace.c: Likewise.
19064 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19065 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19066 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19067 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19068 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19069 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19070 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19071 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19072 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19073 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19074 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19076 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19078 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19079
19080 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19081 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19082
19083 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19084 Add lwarx hint, and use macro for acquire instruction.
19085 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19086 Likewise.
19087 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19088 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19089 update to use new atomic macros.
19090
19091 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19092
19093 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19094 (__lll_trylock_elision): Fix setting of adapt_count.
19095 * sysdeps/unix/sysv/linux/powerpc/htm.h
19096 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19097 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19098 (_ABORT_SYSCALL): Renumber, and clarify definition.
19099 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19100
19101 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19102
19103 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19104 after system headers to prevent MIN/MAX redefinition. Define
19105 HAVE_ALLOCA to preserve builtin alloca usage.
19106
19107 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
19108
19109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19110 static and don't set or restore rounding.
19111 (__cos)[IN_SINCOS]: Likewise.
19112 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19113 (__sincos): Set and restore rounding mode. Remove check for infinite
19114 or NaN input.
19115
19116 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19117
19118 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19119 as used.
19120
19121 2015-11-16 Florian Weimer <fweimer@redhat.com>
19122
19123 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19124
19125 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
19126
19127 * config.make.in (have-glob-dat-reloc): New.
19128 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
19129 target supports GLOB_DAT relocaton. AC_SUBST.
19130 * configure: Regenerated.
19131 * elf/Makefile (tests): Add tst-prelink.
19132 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19133 (tst-prelink-ENV): New.
19134 ($(objpfx)tst-prelink-conflict.out): Likewise.
19135 ($(objpfx)tst-prelink-cmp.out): Likewise.
19136 * sysdeps/x86/tst-prelink.c: Moved to ...
19137 * elf/tst-prelink.c: Here.
19138 * sysdeps/x86/tst-prelink.exp: Moved to ...
19139 * elf/tst-prelink.exp: Here.
19140 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19141 (tst-prelink-ENV): Removed.
19142 ($(objpfx)tst-prelink-conflict.out): Likewise.
19143 ($(objpfx)tst-prelink-cmp.out): Likewise.
19144 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19145
19146 2015-11-13 Joseph Myers <joseph@codesourcery.com>
19147
19148 [BZ #14551]
19149 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19150 (__mpn_construct_long_double): If high part overflows to infinity,
19151 set errno and recompute overflowed result of the correct sign.
19152 * sysdeps/ieee754/ldbl-128ibm/Makefile
19153 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19154 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19155 $(libm).
19156 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19157
19158 2015-11-12 Joseph Myers <joseph@codesourcery.com>
19159
19160 [BZ #15479]
19161 [BZ #19238]
19162 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19163 floating-point state after first operation on input. Restore full
19164 state rather than just rounding mode.
19165 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19166 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19167 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19168
19169 [BZ #19235]
19170 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19171 add 0.5 to integer arguments.
19172 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19173 Likewise.
19174 (.LC2): New object.
19175
19176 2015-11-11 Mike Frysinger <vapier@gentoo.org>
19177
19178 * scripts/pylintrc (reports): Set to no.
19179
19180 2015-11-10 Roland McGrath <roland@hack.frob.com>
19181
19182 * elf/dl-load.c (open_verify): Take new argument FD.
19183 Skip __open call if passed FD is not -1.
19184 (_dl_map_object, open_path): Update callers.
19185 * elf/dl-sysdep-open.h: New file.
19186 * elf/dl-load.c: Include it.
19187 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19188 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19189 * sysdeps/nacl/dl-sysdep-open.h: New file.
19190 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19191 from libc to rtld.
19192
19193 2015-11-10 Joseph Myers <joseph@codesourcery.com>
19194
19195 [BZ #19228]
19196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19197 and restore full floating-point state.
19198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19199 Likewise.
19200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19201 Likewise.
19202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19203 Likewise.
19204 * math/test-nearbyint-except-2.c: New file.
19205 * math/Makefile (tests): Add test-nearbyint-except-2.
19206
19207 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
19208
19209 [BZ #19178]
19210 * sysdeps/x86/Makefile (tests): Add tst-prelink.
19211 (tst-prelink-ENV): New.
19212 ($(objpfx)tst-prelink-conflict.out): Likewise.
19213 ($(objpfx)tst-prelink-cmp.out): Likewise.
19214 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19215 * sysdeps/x86/tst-prelink.c: New file.
19216 * sysdeps/x86/tst-prelink.exp: Likewise.
19217
19218 2015-11-10 Joseph Myers <joseph@codesourcery.com>
19219
19220 * math/auto-libm-test-in: Add another test of pow.
19221 * math/auto-libm-test-out: Regenerated.
19222 * math/libm-test.inc (pow_test_data): Add another test.
19223
19224 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19225
19226 [BZ #19219]
19227 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19228 weak_alias to nearbyintl.
19229
19230 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
19231
19232 * sysdeps/aarch64/bits/string.h: New file.
19233 (_STRING_ARCH_unaligned): Define.
19234
19235 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
19236
19237 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19238 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19239 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19240 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19242
19243 2015-11-09 Ulrich Drepper <drepper@gmail.com>
19244
19245 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19246 for original name of the DSO. Add it to the name list of the DSO
19247 if it is actually given.
19248 (_dl_map_object): Keep track of whether an audit module rewrote
19249 the file name. If yes, pass the original name to
19250 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
19251 debugging is enabled, log the change of the file name.
19252 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19253 _dl_map_object_from_fd.
19254 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19255 * elf/tst-audit11.c: New file
19256 * elf/tst-auditmod11.c: New file.
19257 * elf/tst-audit11mod1.c: New file.
19258 * elf/tst-audit11mod2.c: New file.
19259 * elf/tst-audit11mod2.map: New file.
19260 * elf/tst-audit12.c: New file
19261 * elf/tst-auditmod12.c: New file.
19262 * elf/tst-audit12mod1.c: New file.
19263 * elf/tst-audit12mod2.c: New file.
19264 * elf/tst-audit12mod2.map: New file.
19265 * elf/tst-audit12mod3.c: New file.
19266
19267 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
19268
19269 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19270 Don't create weak aliases,
19271 because versioned symbols are created later.
19272 * sysdeps/s390/s390-32/setjmp.S
19273 (setjmp, _setjmp): Remove weak and rename to an unique name
19274 in SHARED case due to existing versioned symbols.
19275 * sysdeps/s390/s390-64/setjmp.S: Likewise.
19276 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19277 (getcontext): Create weak alias only in non SHARED case.
19278 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19279
19280 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
19281
19282 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19283 (__ASSUME_*_SYSCALL) Define new macros.
19284 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19285 Remove socketcall syscalls.
19286 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19287 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19288 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19289 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19290 * sysdeps/unix/sysv/linux/send.c (__libc_send):
19291 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19292
19293 2015-11-09 Florian Weimer <fweimer@redhat.com>
19294
19295 [BZ #12926]
19296 Terminate process on invalid netlink response.
19297 * sysdeps/unix/sysv/linux/netlinkaccess.h
19298 (__netlink_assert_response): Declare.
19299 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19300 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19301 (sysdep_routines): Add netlink_assert_response.
19302 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19303 __netlink_assert_response.
19304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19305 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19306 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19307 __netlink_assert_response.
19308
19309 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
19310
19311 [BZ #19178]
19312 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19313 (RTYPE_CLASS_PLT): Likewise.
19314 (RTYPE_CLASS_COPY): Likewise.
19315 (RTYPE_CLASS_TLS): Likewise.
19316 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19317 to set relocation type class for DL_DEBUG_PRELINK. Keep only
19318 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19319 DL_DEBUG_PRELINK.
19320
19321 2015-11-06 Joseph Myers <joseph@codesourcery.com>
19322
19323 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19324 calls with argument -0.5.
19325 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19326
19327 * configure.ac (libc_cv_z_nodelete): Remove configure test.
19328 (libc_cv_z_nodlopen): Likewise.
19329 (libc_cv_z_initfirst): Likewise.
19330 * configure: Regenerated.
19331
19332 2015-11-06 Florian Weimer <fweimer@redhat.com>
19333
19334 Simplify abilist format to be line-based.
19335 * scripts/abilist.awk: Collect descriptors in the descs variable.
19336 (emit): Write descs variable and sort it
19337 externally, with sort.
19338 * sysdeps/**/*.abilist: Convert to new format.
19339
19340 2015-11-06 Mark Wielaard <mjw@redhat.com>
19341
19342 [BZ #11460]
19343 * io/Makefile (routines): Add fts64.
19344 (tests): Add tst-fts and tst-fts-lfs.
19345 (CFLAGS-fts64.c): New.
19346 * io/Versions (GLIBC_2.23): New.
19347 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19348 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19349 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19350 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19351 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19352 (FTSENT64): Likewise.
19353 (fts64_children): Likewise.
19354 (fts64_close): Likewise.
19355 (fts64_open): Likewise.
19356 (fts64_read): Likewise.
19357 (fts64_set): Likewise.
19358 * io/fts64.c: New file.
19359 * io/tst-fts.c: New test.
19360 * io/tst-fts-lfs.c: Likewise.
19361 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19362 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19363 fts64_set.
19364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19365 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19366 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19367 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19372 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19376 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19378 Likewise.
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19380 Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19383 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19385 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19386 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19387 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19390 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19391 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19392 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19393 * sysdeps/wordsize-64/fts.c: New file.
19394 * sysdeps/wordsize-64/fts64.c: Likewise.
19395 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19396 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19398 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19399
19400 2015-11-05 Joseph Myers <joseph@codesourcery.com>
19401
19402 * math/libm-test.inc (NON_FINITE): New macro.
19403 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19404 * math/gen-libm-test.pl (show_exceptions): Add argument
19405 $non_finite.
19406 (parse_args): Update call to show_exceptions.
19407 * math/test-math-finite.h: New file.
19408 * math/test-math-no-finite.h: Likewise.
19409 * math/test-double-finite.c: Likewise.
19410 * math/test-float-finite.c: Likewise.
19411 * math/test-ldouble-finite.c: Likewise.
19412 * math/test-double.c: Include "test-math-no-finite.h".
19413 * math/test-float.c: Include "test-math-no-finite.h".
19414 * math/test-ldouble.c: Include "test-math-no-finite.h".
19415 * math/test-math-inline.h (TEST_FINITE): New macro.
19416 * math/test-math-vector.h (TEST_FINITE): Likewise.
19417 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19418 (libm-tests): Add test-float-finite and test-double-finite.
19419 ($(objpfx)test-float-finite.o): New dependency on
19420 $(objpfx)libm-test.stmp.
19421 ($(objpfx)test-double-finite.o): Likewise.
19422 ($(objpfx)test-ldouble-finite.o): Likewise.
19423 (libm-test-no-inline-cflags): New variable.
19424 (libm-test-finite-cflags): Likewise.
19425 (CFLAGS-test-float-finite.c): Likewise.
19426 (CFLAGS-test-double-finite.c): Likewise.
19427 (CFLAGS-test-ldouble-finite.c): Likewise.
19428 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19429 (CFLAGS-test-double.c): Likewise.
19430 (CFLAGS-test-ldouble.c): Likewise.
19431
19432 2015-11-05 Roland McGrath <roland@hack.frob.com>
19433
19434 * io/fcntl.c (__fcntl): Add ... to prototype.
19435 * misc/ioctl.c (__ioctl): Likewise.
19436 * misc/syscall.c (syscall): Likewise.
19437
19438 2015-11-05 Joseph Myers <joseph@codesourcery.com>
19439
19440 * scripts/list-fixed-bugs.py: New file.
19441
19442 [BZ #19213]
19443 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19444 returned for argument 1.
19445 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19446 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19447 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19448 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19449 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19450 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19451
19452 [BZ #19211]
19453 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19454 __USE_XOPEN], not if [!__USE_ISOC99].
19455 (lgammaf): Likewise.
19456 (lgammal): Likewise.
19457 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19458 (gammaf): Likewise.
19459 (gammal): Likewise.
19460 * math/test-signgam-finite-c11.c: New file.
19461 * math/test-signgam-finite-c99.c: Likewise.
19462 * math/test-signgam-finite.c: Likewise.
19463 * math/Makefile (tests): Add test-signgam-finite,
19464 test-signgam-finite-c99 and test-signgam-finite-c11.
19465 (CFLAGS-test-signgam-finite.c): New variable.
19466 (CFLAGS-test-signgam-finite-c99.c): Likewise.
19467 (CFLAGS-test-signgam-finite-c11.c): Likewise.
19468
19469 [BZ #19212]
19470 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19471 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19472 500].
19473 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19474 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19475 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19476 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19477 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19478 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19479 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19480 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19481 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19482 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19483
19484 [BZ #19209]
19485 * math/bits/math-finite.h (ldexp): Remove declaration.
19486 (ldexpf): Likewise.
19487 (ldexpl): Likewise.
19488
19489 [BZ #19205]
19490 * math/bits/math-finite.h (acosf): Condition declaration on
19491 [__USE_ISOC99].
19492 (acosl): Likewise.
19493 (acoshf): Likewise.
19494 (acoshl): Likewise.
19495 (asinf): Likewise.
19496 (asinl): Likewise.
19497 (atan2f): Likewise.
19498 (atan2l): Likewise.
19499 (atanhf): Likewise.
19500 (atanhl): Likewise.
19501 (coshf): Likewise.
19502 (coshl): Likewise.
19503 (expf): Likewise.
19504 (expl): Likewise.
19505 (fmodf): Likewise.
19506 (fmodl): Likewise.
19507 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19508 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19509 (j0l): Likewise.
19510 (y0f): Likewise.
19511 (y0l): Likewise.
19512 (j1f): Likewise.
19513 (j1l): Likewise.
19514 (y1f): Likewise.
19515 (y1l): Likewise.
19516 (jnf): Likewise.
19517 (jnl): Likewise.
19518 (ynf): Likewise.
19519 (ynl): Likewise.
19520 (lgammaf_r): Condition declaration on [__USE_ISOC99].
19521 (lgammal_r): Likewise.
19522 (__lgamma_r_finite): New declaration.
19523 (__lgammaf_r_finite): Likewise.
19524 (__lgammal_r_finite): Likewise.
19525 (lgamma): Use __lgamma_r_finite.
19526 (lgammaf): Condition definition on [__USE_ISOC99]. Use
19527 __lgammaf_r_finite.
19528 (lgammal): Condition definition on [__USE_ISOC99]. Use
19529 __lgammal_r_finite.
19530 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
19531 __lgamma_r_finite.
19532 (gammaf): Condition definition on [__USE_ISOC99]. Use
19533 __lgammaf_r_finite.
19534 (gammal): Condition definition on [__USE_ISOC99]. Use
19535 __lgammal_r_finite.
19536 (logf): Condition declaration on [__USE_ISOC99].
19537 (logl): Likewise.
19538 (log10f): Likewise.
19539 (log10l): Likewise.
19540 (ldexpf): Likewise.
19541 (ldexpl): Likewise.
19542 (powf): Likewise.
19543 (powl): Likewise.
19544 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19545 __USE_ISOC99].
19546 (remainderf): Condition declaration on [__USE_ISOC99].
19547 (remainderl): Likewise.
19548 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19549 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19550 (scalbl): Likewise.
19551 (sinhf): Condition declaration on [__USE_ISOC99].
19552 (sinhl): Likewise.
19553 (sqrtf): Likewise.
19554 (sqrtl): Likewise.
19555
19556 2015-11-04 Joseph Myers <joseph@codesourcery.com>
19557
19558 * sysdeps/arm/atomic-machine.h
19559 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19560 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19561 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19562 Remove conditional code.
19563 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19564 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19565 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19566 Change conditional to [__ASSEMBLER__].
19567 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19568 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19569 [!__ASSEMBLER__].
19570 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19571 code.
19572 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19573 conditional macro definitions.
19574 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19575 (__arch_compare_and_exchange_val_16_acq): Likewise.
19576 (__arch_compare_and_exchange_val_32_acq): Likewise.
19577 (atomic_exchange_and_add): Likewise.
19578 (atomic_add): Likewise.
19579 (atomic_add_negative): Likewise.
19580 (atomic_add_zero): Likewise.
19581 (atomic_bit_set): Likewise.
19582 (atomic_bit_test_set): Likewise.
19583 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19584 code unconditional.
19585 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19586
19587 * math/test-math-errno.h: New file.
19588 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19589 empty.
19590 (TEST_ERRNO): New macro.
19591 (TEST_EXCEPTIONS): Likewise.
19592 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19593 (TEST_EXCEPTIONS): Likewise.
19594 * math/test-math-vector.h (TEST_ERRNO): Likewise.
19595 * math/test-double.c: Include "test-math-errno.h".
19596 * math/test-float.c: Likewise.
19597 * math/test-ldouble.c: Likewise.
19598 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19599 code unconditional.
19600 (test_exceptions): Only run code if TEST_EXCEPTIONS.
19601 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19602 unconditional.
19603 (test_errno): Only run code if TEST_ERRNO.
19604 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19605
19606 2015-11-04 Florian Weimer <fweimer@redhat.com>
19607
19608 * nptl/tst-once5.cc: Remove attribution.
19609
19610 2015-11-04 Joseph Myers <joseph@codesourcery.com>
19611
19612 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19613 sqrt, tan, tanh, y0, y1 and yn.
19614 * math/auto-libm-test-out: Regenerated.
19615 * math/libm-test.inc (scalb_test_data): Add more tests.
19616 (scalbn_test_data): Likewise.
19617 (scalbln_test_data): Likewise.
19618 (signbit_test_data): Likewise.
19619 (sin_test_data): Likewise.
19620 (sincos_test_data): Likewise.
19621 (sinh_test_data): Likewise.
19622 (sqrt_test_data): Likewise.
19623 (tan_test_data): Likewise.
19624 (tanh_test_data): Likewise.
19625 (tgamma_test_data): Likewise.
19626 (y0_test_data): Likewise.
19627 (y1_test_data): Likewise.
19628 (yn_test_data): Likewise.
19629 (significand_test_data): Likewise.
19630 * sysdeps/i386/fpu/libm-test-ulps: Update.
19631
19632 2015-11-03 David Kastrup <dak@gnu.org>
19633
19634 [BZ #18604]
19635 * assert/assert.h (assert): Don't macro-expand failed assertion
19636 expression in error message.
19637 * malloc/malloc.c (assert): Likewise.
19638
19639 2015-11-03 Joseph Myers <joseph@codesourcery.com>
19640
19641 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19642 test.
19643 * configure: Regenerated.
19644
19645 2015-11-02 Joseph Myers <joseph@codesourcery.com>
19646
19647 * math/libm-test.inc (modf_test_data): Add more tests.
19648 (nearbyint_test_data): Likewise.
19649 (nextafter_test_data): Likewise.
19650 (nexttoward_test_data): Likewise.
19651 (pow_test_data): Likewise.
19652 (remainder_test_data): Likewise.
19653 (remquo_test_data): Likewise.
19654 (rint_test_data): Likewise.
19655
19656 [BZ #19201]
19657 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19658 Check for zero remainder in case of large exponents and ensure
19659 correct sign of result in that case.
19660 * math/libm-test.inc (remainder_test_data): Add more tests.
19661
19662 [BZ #6799]
19663 * math/s_nextafter.c: Include <errno.h>.
19664 (__nextafter): Set errno on overflow and underflow.
19665 * math/s_nexttowardf.c: Include <errno.h>.
19666 (__nexttowardf): Set errno on overflow and underflow.
19667 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19668 (__nextafterl): Set errno on overflow and underflow.
19669 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19670 (__nexttoward): Set errno on overflow and underflow.
19671 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19672 (__nexttowardf): Set errno on overflow and underflow.
19673 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19674 (__nextafterf): Set errno on overflow and underflow.
19675 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19676 (__nextafterl): Set errno on overflow and underflow.
19677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19678 (__nexttoward): Set errno on overflow and underflow.
19679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19680 (__nexttowardf): Set errno on overflow and underflow.
19681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19682 (__nextafterl): Set errno on overflow and underflow.
19683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19684 (__nexttoward): Set errno on overflow and underflow.
19685 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19686 (__nexttowardf): Set errno on overflow and underflow.
19687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19688 (__nexttoward): Set errno on overflow and underflow.
19689 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19690 (__nexttowardf): Set errno on overflow and underflow.
19691 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19692 (__nldbl_nexttowardf): Set errno on overflow and underflow.
19693 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19694 (__nextafterl): Set errno on overflow and underflow.
19695 * math/libm-test.inc (nextafter_test_data): Do not allow errno
19696 setting to be missing on overflow. Add more tests.
19697 (nexttoward_test_data): Likewise.
19698
19699 * configure.ac (libc_cv_initfini_array): Remove configure test.
19700 * configure: Regenerated.
19701
19702 2015-10-29 Joseph Myers <joseph@codesourcery.com>
19703
19704 [BZ #19189]
19705 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19706 non-finite argument handle arguments with negative sign.
19707
19708 * math/libm-test.inc (j0_test_data): Do not test sign of zero
19709 result from infinite argument.
19710 (j1_test_data): Likewise.
19711 (jn_test_data): Likewise.
19712 (y0_test_data): Likewise.
19713 (y1_test_data): Likewise.
19714 (yn_test_data): Likewise.
19715
19716 [BZ #16171]
19717 * math/w_remainder.c (drem): Define as weak alias of __remainder.
19718 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19719 * math/w_remainderf.c (dremf): Define as weak alias of
19720 __remainderf.
19721 * math/w_remainderl.c (dreml): Define as weak alias of
19722 __remainderl.
19723 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19724 __remainder.
19725 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19726 __remainderf.
19727 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19728 __remainderl.
19729 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19730 weak alias of remainderl.
19731 * sysdeps/ieee754/ldbl-opt/w_remainder.c
19732 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19733 alias of __remainder.
19734 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19735 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19736 strong alias of __remainderl.
19737 (dreml): Use long_double_symbol.
19738 * math/Makefile (libm-calls): Remove w_drem.
19739 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19740 (CFLAGS-nldbl-drem.c): Remove variable.
19741 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19742 * math/w_drem.c: Remove file.
19743 * math/w_dremf.c: Likewise.
19744 * math/w_dreml.c: Likewise.
19745 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19746 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19747 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19748
19749 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19750 * sysdeps/i386/configure: Regenerated.
19751 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19752 * sysdeps/x86_64/configure: Regenerated.
19753
19754 * configure.ac (libc_cv_asm_protected_directive): Remove configure
19755 test.
19756 (libc_cv_visibility_attribute): Likewise.
19757 (libc_cv_protected_data): Test unconditionally.
19758 (libc_cv_broken_visibility_attribute): Remove configure test.
19759 (libc_cv_have_sdata_section): Test unconditionally.
19760 * configure: Regenerated.
19761
19762 * include/libc-internal.h (libc_max_align_t): Remove typedef.
19763 * include/scratch_buffer.h: Include <stddef.h> instead of
19764 <libc-internal.h>.
19765 (struct scratch_buffer): Use max_align_t instead of
19766 libc_max_align_t.
19767
19768 2015-10-29 Florian Weimer <fweimer@redhat.com>
19769
19770 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19771 instead of extend_alloca. Change control flow to avoid a goto.
19772 Remove assert which is trivially always true.
19773
19774 2015-10-28 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #16068]
19777 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19778 (FE_ALL_EXCEPT_X86): New macro.
19779 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19780 FE_ALL_EXCEPT. Ensure precision control is included in
19781 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19782 handle "denormal operand exception" and clear FZ and DAZ bits.
19783 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19784 (FE_ALL_EXCEPT_X86): New macro.
19785 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19786 FE_ALL_EXCEPT. Ensure precision control is included in
19787 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19788 handle "denormal operand exception" and clear FZ and DAZ bits.
19789 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19790 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19791 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19792 test-fenv-x87 and test-fenv-sse-2.
19793 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19794
19795 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19796 * math/test-double.h (BUILD_COMPLEX): New macro.
19797 * math/test-float.h (BUILD_COMPLEX): Likewise.
19798 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19799
19800 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19801 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19802 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19804 instead of DBL_DENORM_MIN in comment.
19805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19806 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19808 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19810 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19811
19812 2015-10-28 Florian Weimer <fweimer@redhat.com>
19813
19814 [BZ# 19048]
19815 * malloc/malloc.c (struct malloc_state): Update comment. Add
19816 attached_threads member.
19817 (main_arena): Initialize attached_threads.
19818 * malloc/arena.c (list_lock): Update comment.
19819 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19820 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19821 (deattach_arena): New function.
19822 (_int_new_arena): Initialize arena reference count and deattach
19823 replaced arena.
19824 (get_free_list, reused_arena): Update reference count and deattach
19825 replaced arena.
19826 (arena_thread_freeres): Update arena reference count and only put
19827 unreferenced arenas on the free list.
19828
19829 2015-10-28 Joseph Myers <joseph@codesourcery.com>
19830
19831 [BZ #19181]
19832 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19833 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19834 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19835 * math/test-fenv-clear-main.c: New file.
19836 * math/test-fenv-clear.c: Likewise.
19837 * math/Makefile (tests): Add test-fenv-clear.
19838 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19839 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19840 test-fenv-clear-sse.
19841 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19842
19843 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19844 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19845 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19846
19847 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19848
19849 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19850 static libc.
19851
19852 2015-10-28 Joseph Myers <joseph@codesourcery.com>
19853
19854 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19855 test.
19856 * sysdeps/i386/configure: Regenerated.
19857 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19858 test.
19859 * sysdeps/x86_64/configure: Regenerated.
19860 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19862 memset-avx2 unconditionally instead of conditionally on
19863 [$(config-cflags-avx2) = yes].
19864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19865 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19866 unconditional.
19867 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19868 * sysdeps/x86_64/multiarch/memset_chk.S
19869 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19870 to [IS_IN (libc) && SHARED].
19871
19872 2015-10-27 Joseph Myers <joseph@codesourcery.com>
19873
19874 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19875 configure test.
19876 * sysdeps/arm/configure: Regenerated.
19877 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19878 Define variable if not already defined.
19879
19880 [BZ #17404]
19881 * sysdeps/mips/atomic-machine.h
19882 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19883 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19884 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19885
19886 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19887 unconditional.
19888 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19889 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19890 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19891 unconditional.
19892 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19893 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19894 unconditional.
19895 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19896 * stdlib/setenv.c
19897 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19898 code unconditional.
19899 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19900 Remove conditional code.
19901 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19902 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19903 unconditional.
19904 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19905 code.
19906 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19907 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19908 unconditional.
19909 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19910 code.
19911 * sysdeps/ieee754/ldbl-128/k_tanl.c
19912 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19913 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19914 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19915 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19916 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19917 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19918 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19919 unconditional.
19920 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19921 code.
19922 * sysdeps/ieee754/ldbl-96/k_tanl.c
19923 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19924 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19925
19926 * nptl/tst-initializers1-c11.c: New file.
19927 * nptl/tst-initializers1-gnu11.c: Likewise.
19928 * nptl/Makefile (tests): Add these new tests.
19929 (CFLAGS-tst-initializers1-c11.c): New variable.
19930 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19931
19932 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19933 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19934 instead of -std=gnu99.
19935 * configure.ac (systemtap): Test with -std=gnu11 instead of
19936 -std=gnu99.
19937 * configure: Regenerated.
19938 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19939 in compilation command in comment.
19940
19941 * sysdeps/nptl/configure.ac: Remove file.
19942 * sysdeps/nptl/configure: Remove generated file.
19943 * configure.ac (libc_cv_forced_unwind): Do not substitute.
19944 * configure: Regenerated.
19945 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19946 * config.make.in (have-forced-unwind): Remove variable.
19947 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19948 unconditional.
19949 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19950 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19951 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19952 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19953 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19954 unconditional.
19955
19956 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19957
19958 [BZ #19174]
19959 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19960 .skip_lock_out_of_tbegin_retries.
19961 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19962 (__lll_lock_elision): Likewise, and respect a value of
19963 try_tbegin <= 0.
19964
19965 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
19966
19967 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19968 statement.
19969
19970 2015-10-27 Joseph Myers <joseph@codesourcery.com>
19971
19972 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19973 variable.
19974 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19975 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19976
19977 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19978 of -std=c1x -D_ISOC11_SOURCE.
19979
19980 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19981 * configure: Regenerated.
19982 * manual/install.texi (Tools for Compilation): Document
19983 requirement for GCC 4.7 or later.
19984 * INSTALL: Regenerated.
19985
19986 2015-10-27 Ludovic Courtès <ludo@gnu.org>
19987
19988 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19989 on CNT to a conditional jump to 'puntdata'.
19990
19991 2015-10-27 Joseph Myers <joseph@codesourcery.com>
19992
19993 * configure.ac (libc_cv_gcc___thread): Remove configure test.
19994 (libc_cv_gcc_tls_model_attr): Likewise.
19995 * configure: Regenerated.
19996
19997 * configure.ac (libc_cv_need_minus_P): Remove configure test.
19998 * configure: Regenerated.
19999 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20000
20001 2015-10-26 Joseph Myers <joseph@codesourcery.com>
20002
20003 * configure.ac (old_glibc_headers): Remove configure test.
20004 * configure: Regenerated.
20005 * config.make.in (old-glibc-headers): Remove variable.
20006 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20007 (install): Remove dependency on remove-old-headers.
20008 (headers2_0): Remove variable.
20009 (remove-old-headers): Remove rule.
20010
20011 * configure.ac (libc_cv_dot_text): Remove configure test.
20012 (libc_cv_asm_set_directive): Use .text instead of
20013 ${libc_cv_dot_text} in configure test.
20014 * configure: Regenerated.
20015
20016 2015-10-26 Florian Weimer <fweimer@redhat.com>
20017
20018 [BZ #19168]
20019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20020
20021 2015-10-26 Florian Weimer <fweimer@redhat.com>
20022
20023 * configure.ac (CXX): Clear the variable if the C++ toolchain does
20024 not support static linking.
20025 * configure: Regenerate.
20026
20027 2015-10-23 Joseph Myers <joseph@codesourcery.com>
20028
20029 * math/libm-test.inc (check_float_internal): Do not special-case
20030 errors up to 0.5 ulp.
20031
20032 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20033 log2.
20034 * math/auto-libm-test-out: Regenerated.
20035 * math/libm-test.inc (MAX_EXP): New macro.
20036 (ilogb_test_data): Add more tests.
20037 (isfinite_test_data): Likewise.
20038 (isgreater_test_data): Likewise.
20039 (isgreaterequal_test_data): Likewise.
20040 (isinf_test_data): Likewise.
20041 (isless_test_data): Likewise.
20042 (islessequal_test_data): Likewise.
20043 (islessgreater_test_data): Likewise.
20044 (isnan_test_data): Likewise.
20045 (isnormal_test_data): Likewise.
20046 (issignaling_test_data): Likewise.
20047 (isunordered_test_data): Likewise.
20048 (j0_test_data): Likewise.
20049 (j1_test_data): Likewise.
20050 (jn_test_data): Likewise.
20051 (lgamma_test_data): Likewise.
20052 (log_test_data): Likewise.
20053 (log10_test_data): Likewise.
20054 (log1p_test_data): Likewise.
20055 (log2_test_data): Likewise.
20056 (logb_test_data): Likewise.
20057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20058
20059 [BZ #18611]
20060 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20061 avoid excess range and precision on underflow.
20062 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20063 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20064 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20065 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20066 underflow.
20067 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20069 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20071 * math/auto-libm-test-in: Do not allow missing errno setting for
20072 tests of j1 and jn.
20073 * math/auto-libm-test-out: Regenerated.
20074
20075 2015-10-22 Joseph Myers <joseph@codesourcery.com>
20076
20077 [BZ #15491]
20078 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20079 floating-point environment instead of clearing all exceptions.
20080 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20081 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20082 merging in "invalid" exceptions from frndint.
20083 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20084 * math/test-nearbyint-except.c: New file.
20085 * math/Makefile (tests): Add test-nearbyint-except.
20086
20087 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
20088
20089 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20090
20091 * sysdeps/tile/libm-test-ulps: Regenerated.
20092
20093 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20094
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20096 (__NR_sync_file_range2): Assume it is always defined.
20097 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20098 (__NR_sync_file_range): Assume it is always defined.
20099
20100 2015-10-22 Andreas Schwab <schwab@suse.de>
20101
20102 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20103 INTERNAL_SYSCALL_ERRNO.
20104 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20105 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20106 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20107 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20108 Likewise.
20109 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20110
20111 2015-10-21 Joseph Myers <joseph@codesourcery.com>
20112
20113 * io/tst-fcntl.c (fd): New static variable.
20114 (do_prepare): Open temporary file here....
20115 (do_test): ...not here.
20116
20117 * io/ftwtest-sh: Also trap on exit to remove temporary files.
20118
20119 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
20120
20121 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20122 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20123 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20124 Moved before "#ifdef __ASSEMBLER__".
20125
20126 2015-10-21 Joseph Myers <joseph@codesourcery.com>
20127
20128 [BZ #19156]
20129 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20130 arguments very close to 0.
20131
20132 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
20133
20134 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20135 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20136
20137 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
20138
20139 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20140 New. Defined for GCC 5 and above when not compiling for
20141 profiling.
20142 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20143
20144 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20145 Renamed to ...
20146 (CFLAGS-epoll_pwait.o): This.
20147 (CFLAGS-mmap.c): Renamed to ...
20148 (CFLAGS-mmap.o): This.
20149 (CFLAGS-mmap64.c): Renamed to ...
20150 (CFLAGS-mmap64.o): This.
20151 (CFLAGS-epoll_pwait.os): New.
20152 (CFLAGS-mmap.os): Likewise.
20153 (CFLAGS-mmap64.os): Likewise.
20154 (CFLAGS-semtimedop.os): Likewise.
20155 (CFLAGS-semtimedop.c): Renamed to ...
20156 (CFLAGS-semtimedop.o): This.
20157
20158 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20159
20160 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20161 warning message.
20162
20163 2015-10-21 Joseph Myers <joseph@codesourcery.com>
20164
20165 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20166 * Makefile ($(objpfx)c++-types-check.out): Filter out
20167 $(+gccwarn-c) instead of -Wstrict-prototypes.
20168
20169 * io/fts.c (fts_open): Convert to prototype-style function
20170 definition.
20171 * malloc/mcheck.c (mcheck): Likewise.
20172 (mcheck_pedantic): Likewise.
20173 * posix/regexec.c (re_search_2_stub): Likewise. Use
20174 internal_function.
20175 (re_search_internal): Likewise.
20176 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20177 prototype-style function definition.
20178 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20179 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20180 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20181 (xdr_utmpptr): Likewise.
20182 (xdr_utmparr): Likewise.
20183 (xdr_utmpidle): Likewise.
20184 (xdr_utmpidleptr): Likewise.
20185 (xdr_utmpidlearr): Likewise.
20186
20187 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20188 log, log10 and log2.
20189 * math/auto-libm-test-out: Regenerated.
20190 * math/libm-test.inc (fmod_test_data): Add more tests.
20191 (fpclassify_test_data): Likewise.
20192 (frexp_test_data): Likewise.
20193 (hypot_test_data): Likewise.
20194 (ilogb_test_data): Likewise.
20195
20196 2015-10-20 Joseph Myers <joseph@codesourcery.com>
20197
20198 * debug/fortify_fail.c (__fortify_fail): Convert to
20199 prototype-style function definition. Use internal_function.
20200 * libio/genops.c (save_for_backup): Convert to prototype-style
20201 function definition.
20202 * libio/wgenops.c (save_for_wbackup): Likewise.
20203 * login/grantpt.c (grantpt): Likewise.
20204 * login/ptsname.c (ptsname): Likewise.
20205 (__ptsname_r): Likewise.
20206 * login/unlockpt.c (unlockpt): Likewise.
20207 * mach/msgserver.c (__mach_msg_server): Likewise.
20208 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20209 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20210 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20211 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20212 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20213 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20214 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20215 Likewise.
20216 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
20217 internal_function.
20218 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20219 prototype-style function definition.
20220 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20221 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20222 (__pthread_create_2_0): Likewise.
20223 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20224 * nptl/register-atfork.c (__register_atfork): Likewise.
20225 * posix/glob.c (glob): Likewise.
20226 * posix/regcomp.c (re_comp): Likewise.
20227 * posix/regexec.c (re_exec): Likewise.
20228 * stdlib/add_n.c [__STDC__]: Make code unconditional.
20229 [!__STDC__]: Remove conditional code.
20230 * stdlib/cmp.c [__STDC__]: Make code unconditional.
20231 [!__STDC__]: Remove conditional code.
20232 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20233 [!__STDC__]: Remove conditional code.
20234 * stdlib/divrem.c [__STDC__]: Make code unconditional.
20235 [!__STDC__]: Remove conditional code.
20236 * stdlib/lshift.c [__STDC__]: Make code unconditional.
20237 [!__STDC__]: Remove conditional code.
20238 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20239 [!__STDC__]: Remove conditional code.
20240 * stdlib/mul.c [__STDC__]: Make code unconditional.
20241 [!__STDC__]: Remove conditional code.
20242 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20243 [!__STDC__]: Remove conditional code.
20244 * stdlib/rshift.c [__STDC__]: Make code unconditional.
20245 [!__STDC__]: Remove conditional code.
20246 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20247 function definition.
20248 (STRTOF): Likewise.
20249 * stdlib/strtod_l.c (__STRTOF): Likewise.
20250 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20251 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20252 (__strtol_l): Likewise.
20253 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20254 [!__STDC__]: Remove conditional code.
20255 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20256 definition.
20257 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20258 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20259 type.
20260 (__strcasecmp): Convert to prototype-style function definition.
20261 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20262 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20263 type.
20264 (__strncasecmp): Convert to prototype-style function definition.
20265 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20266 * sunrpc/xdr.c (xdr_union): Likewise.
20267 * sunrpc/xdr_array.c (xdr_array): Likewise.
20268 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20269 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20270 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20271 Likewise.
20272 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20273 Likewise.
20274 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20275 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20276 Likewise.
20277 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20278 (LOCALE_PARAM_PROTO): Likewise.
20279 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20280 argument type.
20281 (ut_argument_spec): Remove macro.
20282 (ut_argument_spec_iso): Rename to ut_argument_spec.
20283 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
20284 prototype-style function definition.
20285 (memcpy_uppcase): Likewise.
20286 (__strftime_internal): Likewise.
20287 (my_strftime): Likewise.
20288 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20289 (LOCALE_PARAM_DECL): Likewise.
20290 [_LIBC] (LOCALE_PARAM): Include argument type.
20291 (__strptime_internal): Convert to prototype-style function
20292 definition.
20293 (strptime): Likewise.
20294 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20295 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20296 type.
20297 (__wcscasecmp): Convert to prototype-style function definition.
20298 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20299 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20300 type.
20301 (__wcsncasecmp): Convert to prototype-style function definition.
20302
20303 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20304 function definition.
20305 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20306 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20307 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20308 * elf/dl-minimal.c (_itoa): Likewise.
20309 * hurd/hurdmalloc.c (malloc): Likewise.
20310 (free): Likewise.
20311 (realloc): Likewise.
20312 * inet/inet6_option.c (inet6_option_space): Likewise.
20313 (inet6_option_init): Likewise.
20314 (inet6_option_append): Likewise.
20315 (inet6_option_alloc): Likewise.
20316 (inet6_option_next): Likewise.
20317 (inet6_option_find): Likewise.
20318 * io/ftw.c (FTW_NAME): Likewise.
20319 (NFTW_NAME): Likewise.
20320 (NFTW_NEW_NAME): Likewise.
20321 (NFTW_OLD_NAME): Likewise.
20322 * libio/iofwide.c (_IO_fwide): Likewise.
20323 * libio/strops.c (_IO_str_init_static_internal): Likewise.
20324 (_IO_str_init_static): Likewise.
20325 (_IO_str_init_readonly): Likewise.
20326 (_IO_str_overflow): Likewise.
20327 (_IO_str_underflow): Likewise.
20328 (_IO_str_count): Likewise.
20329 (_IO_str_seekoff): Likewise.
20330 (_IO_str_pbackfail): Likewise.
20331 (_IO_str_finish): Likewise.
20332 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20333 (_IO_wstr_overflow): Likewise.
20334 (_IO_wstr_underflow): Likewise.
20335 (_IO_wstr_count): Likewise.
20336 (_IO_wstr_seekoff): Likewise.
20337 (_IO_wstr_pbackfail): Likewise.
20338 (_IO_wstr_finish): Likewise.
20339 * locale/programs/localedef.c (normalize_codeset): Likewise.
20340 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20341 (add_locales_to_archive): Likewise.
20342 (delete_locales_from_archive): Likewise.
20343 * malloc/malloc.c (__libc_mallinfo): Likewise.
20344 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20345 * misc/tsearch.c (__tfind): Likewise.
20346 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20347 * nptl/pthread_attr_getdetachstate.c
20348 (__pthread_attr_getdetachstate): Likewise.
20349 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20350 Likewise.
20351 * nptl/pthread_attr_getinheritsched.c
20352 (__pthread_attr_getinheritsched): Likewise.
20353 * nptl/pthread_attr_getschedparam.c
20354 (__pthread_attr_getschedparam): Likewise.
20355 * nptl/pthread_attr_getschedpolicy.c
20356 (__pthread_attr_getschedpolicy): Likewise.
20357 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20358 Likewise.
20359 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20360 Likewise.
20361 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20362 Likewise.
20363 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20364 Likewise.
20365 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20366 (__pthread_attr_init_2_0): Likewise.
20367 * nptl/pthread_attr_setdetachstate.c
20368 (__pthread_attr_setdetachstate): Likewise.
20369 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20370 Likewise.
20371 * nptl/pthread_attr_setinheritsched.c
20372 (__pthread_attr_setinheritsched): Likewise.
20373 * nptl/pthread_attr_setschedparam.c
20374 (__pthread_attr_setschedparam): Likewise.
20375 * nptl/pthread_attr_setschedpolicy.c
20376 (__pthread_attr_setschedpolicy): Likewise.
20377 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20378 Likewise.
20379 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20380 Likewise.
20381 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20382 Likewise.
20383 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20384 Likewise.
20385 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20386 Likewise.
20387 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20388 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20389 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20390 use internal_function.
20391 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20392 prototype-style function definition.
20393 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20394 (__pthread_mutex_cond_lock_adjust): Likewise. Use
20395 internal_function.
20396 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20397 Convert to prototype-style function definition.
20398 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20399 Likewise.
20400 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20401 Likewise.
20402 (__pthread_mutex_unlock): Likewise.
20403 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20404 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20405 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20406 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20407 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20408 * nss/makedb.c (process_input): Likewise.
20409 * posix/fnmatch.c (__strchrnul): Likewise.
20410 (__wcschrnul): Likewise.
20411 (fnmatch): Likewise.
20412 * posix/fnmatch_loop.c (FCT): Likewise.
20413 * posix/glob.c (globfree): Likewise.
20414 (__glob_pattern_type): Likewise.
20415 (__glob_pattern_p): Likewise.
20416 * posix/regcomp.c (re_compile_pattern): Likewise.
20417 (re_set_syntax): Likewise.
20418 (re_compile_fastmap): Likewise.
20419 (regcomp): Likewise.
20420 (regerror): Likewise.
20421 (regfree): Likewise.
20422 * posix/regexec.c (regexec): Likewise.
20423 (re_match): Likewise.
20424 (re_search): Likewise.
20425 (re_match_2): Likewise.
20426 (re_search_2): Likewise.
20427 (re_search_stub): Likewise. Use internal_function
20428 (re_copy_regs): Likewise.
20429 (re_set_registers): Convert to prototype-style function
20430 definition.
20431 (prune_impossible_nodes): Likewise. Use internal_function.
20432 * resolv/inet_net_pton.c (inet_net_pton): Convert to
20433 prototype-style function definition.
20434 (inet_net_pton_ipv4): Likewise.
20435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20436 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20437 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20438 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20439 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20440 Make variadic.
20441 * time/strptime_l.c (localtime_r): Convert to prototype-style
20442 function definition.
20443 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20444 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20445 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20446 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20447
20448 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20449 definition.
20450 (_ufc_doit_r): Likewise.
20451 * crypt/crypt_util.c (_ufc_copymem): Likewise.
20452 (_ufc_output_conversion_r): Likewise.
20453 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20454 * inet/rcmd.c (rcmd_af): Likewise.
20455 (rcmd): Likewise.
20456 (ruserok_af): Likewise.
20457 (ruserok): Likewise.
20458 (ruserok2_sa): Likewise.
20459 (ruserok_sa): Likewise.
20460 (iruserok_af): Likewise.
20461 (iruserok): Likewise.
20462 (__ivaliduser): Likewise.
20463 (__validuser2_sa): Likewise.
20464 * inet/rexec.c (rexec_af): Likewise.
20465 (rexec): Likewise.
20466 * inet/ruserpass.c (ruserpass): Likewise.
20467 * locale/programs/xmalloc.c (xcalloc): Likewise.
20468 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20469 * math/w_drem.c (__drem): Likewise.
20470 * math/w_dremf.c (__dremf): Likewise.
20471 * math/w_dreml.c (__dreml): Likewise.
20472 * misc/daemon.c (daemon): Likewise.
20473 * resolv/res_debug.c (p_fqnname): Likewise.
20474 * stdlib/div.c (div): Likewise.
20475 * string/memcmp.c (memcmp_bytes): Likewise.
20476 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20477 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20478
20479 * crypt/cert.c (main): Convert to prototype-style function
20480 definition.
20481 * io/pipe.c (__pipe): Likewise.
20482 * io/pipe2.c (__pipe2): Likewise.
20483 * misc/futimesat.c (futimesat): Likewise.
20484 * misc/utimes.c (__utimes): Likewise.
20485 * posix/execve.c (__execve): Likewise.
20486 * posix/execvp.c (execvp): Likewise.
20487 * posix/execvpe.c (__execvpe): Likewise.
20488 * posix/fexecve.c (fexecve): Likewise.
20489 * socket/socketpair.c (socketpair): Likewise.
20490 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20491 * stdlib/erand48.c (erand48): Likewise.
20492 * stdlib/erand48_r.c (__erand48_r): Likewise.
20493 * stdlib/jrand48.c (jrand48): Likewise.
20494 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20495 * stdlib/lcong48.c (lcong48): Likewise.
20496 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20497 * stdlib/nrand48.c (nrand48): Likewise.
20498 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20499 * stdlib/seed48.c (seed48): Likewise.
20500 * stdlib/seed48_r.c (__seed48_r): Likewise.
20501 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20502 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20503 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20504
20505 2015-10-19 Joseph Myers <joseph@codesourcery.com>
20506
20507 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20508 * configure: Regenerated.
20509 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20510 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20511 unconditional.
20512 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20513 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20514 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20515 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20516 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20517 unconditional.
20518 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20519
20520 * posix/Makefile (CFLAGS-regex.c): Remove variable.
20521 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20522
20523 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20524 function definition.
20525 * crypt/crypt_util.c (__encrypt_r): Likewise.
20526 * libio/genops.c (_IO_no_init): Likewise.
20527 * libio/iofopncook.c (_IO_fopencookie): Likewise.
20528 (_IO_old_fopencookie): Likewise.
20529 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20530 * libio/iogetline.c (_IO_getline): Likewise.
20531 (_IO_getline_info): Likewise.
20532 * libio/iogetwline.c (_IO_getwline): Likewise.
20533 (_IO_getwline_info): Likewise.
20534 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20535 * libio/vswprintf.c (_IO_vswprintf): Likewise.
20536 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20537 (find_entry): Likewise.
20538 (iterate_table): Likewise.
20539 (lookup): Likewise.
20540 * login/forkpty.c (forkpty): Likewise.
20541 * misc/hsearch_r.c (__hsearch_r): Likewise.
20542 * misc/select.c (__select): Likewise.
20543 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20544 Likewise.
20545 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20546 Likewise.
20547 * nptl/old_pthread_cond_timedwait.c
20548 (__pthread_cond_timedwait_2_0): Likewise.
20549 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20550 * nptl/pthread_barrierattr_getpshared.c
20551 (pthread_barrierattr_getpshared): Likewise.
20552 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20553 Likewise.
20554 * nptl/pthread_mutex_setprioceiling.c
20555 (pthread_mutex_setprioceiling): Likewise.
20556 * nptl/pthread_mutexattr_getprioceiling.c
20557 (pthread_mutexattr_getprioceiling): Likewise.
20558 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20559 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20560 Likewise.
20561 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20562 Likewise.
20563 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20564 Likewise.
20565 * socket/recvfrom.c (__recvfrom): Likewise.
20566 * socket/sendto.c (__sendto): Likewise.
20567 * socket/setsockopt.c (__setsockopt): Likewise.
20568 * stdio-common/_itoa.c (_itoa): Likewise.
20569 * stdio-common/_itowa.c (_itowa): Likewise.
20570 * stdio-common/reg-printf.c (__register_printf_specifier):
20571 Likewise.
20572 (__register_printf_function): Likewise.
20573 * stdio-common/tempname.c (__path_search): Likewise.
20574 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20575 * stdlib/mul_1.c (mpn_mul_1): Likewise.
20576 * stdlib/random_r.c (__initstate_r): Likewise.
20577 * stdlib/setenv.c (__add_to_environ): Likewise.
20578 * stdlib/submul_1.c (mpn_submul_1): Likewise.
20579 * streams/getpmsg.c (getpmsg): Likewise.
20580 * streams/putmsg.c (putmsg): Likewise.
20581 * streams/putpmsg.c (putpmsg): Likewise.
20582 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20583 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20584 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20585 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20586 * sunrpc/pm_getport.c (pmap_getport): Likewise.
20587 * sunrpc/svc_udp.c (cache_get): Likewise.
20588 * sunrpc/xdr_array.c (xdr_vector): Likewise.
20589 * sysdeps/mach/hurd/getcwd.c
20590 (__canonicalize_directory_name_internal): Likewise.
20591 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20592 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20593 * sysdeps/mach/hurd/select.c (__select): Likewise.
20594 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20595 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20596 * sysdeps/sparc/nptl/pthread_barrier_init.c
20597 (__pthread_barrier_init): Likewise.
20598 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20599 (__pthread_cond_timedwait): Likewise.
20600 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20601 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20602 Likewise.
20603 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20604 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20605 Likewise.
20606 * sysvipc/semtimedop.c (semtimedop): Likewise.
20607 * time/setitimer.c (__setitimer): Likewise.
20608 * time/strftime_l.c (emacs_strftime): Likewise.
20609
20610 2015-10-19 Mike Frysinger <vapier@gentoo.org>
20611
20612 * config.make.in (have-ssp): Delete.
20613 (stack-protector): New variable.
20614 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
20615 cache test for -fstack-protector-strong. Export stack_protector to
20616 the best ssp flag.
20617 * configure: Regenerated.
20618 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20619 * nscd/Makefile (CFLAGS-nscd): Likewise.
20620 * resolv/Makefile (CFLAGS-libresolv): Likewise.
20621
20622 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
20623
20624 [BZ #19122]
20625 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20626 attribute_hidden.
20627
20628 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20629
20630 [BZ #18743]
20631 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20632 code to...
20633 (ELIDE_LOCK): ...here.
20634 (__get_new_count): New function with part of the code from
20635 __elide_lock that updates the value of adapt_count after a
20636 transaction abort.
20637 (__elided_trylock): Moved this code to...
20638 (ELIDE_TRYLOCK): ...here.
20639
20640 2015-10-19 Mike Frysinger <vapier@gentoo.org>
20641
20642 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20643 * configure: Regenerate.
20644 * INSTALL: Regenerate.
20645 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20646 and tweak grammar.
20647
20648 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
20649
20650 * login/programs/pt_chown.c: Include signal.h
20651 (main): Clear any signal mask from the parent process.
20652
20653 2015-10-19 Joseph Myers <joseph@codesourcery.com>
20654
20655 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20656 * configure: Regenerated.
20657 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20658 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20659 $(gnu89-inline-CFLAGS).
20660
20661 * configure.ac (libc_cv_asm_weak_directive): Remove configure
20662 test.
20663 (libc_cv_asm_weakext_directive): Likewise.
20664 * configure: Regenerated.
20665 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20666 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20667 * include/libc-symbols.h
20668 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20669 #error.
20670 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20671 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20672
20673 * sysdeps/arm/backtrace.c (__backtrace): Convert to
20674 prototype-style function definition.
20675 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20676 * sysdeps/i386/ffs.c (__ffs): Likewise.
20677 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20678 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20679 Likewise.
20680 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20681 Likewise.
20682 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20684 Likewise.
20685 * sysdeps/m68k/ffs.c (__ffs): Likewise.
20686 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20687 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20688 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20689 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20690 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20691 * sysdeps/mach/hurd/access.c (__access): Likewise.
20692 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20693 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20694 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20695 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20696 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20697 (cthread_getspecific): Likewise.
20698 (cthread_setspecific): Likewise.
20699 (__libc_getspecific): Likewise.
20700 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20701 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20702 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20703 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20704 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20705 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20706 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20707 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20708 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20709 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20710 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20711 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20712 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20713 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20714 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20715 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20716 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20717 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20718 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20719 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20720 * sysdeps/mach/hurd/link.c (__link): Likewise.
20721 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20722 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20723 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20724 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20725 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20726 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20727 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20728 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20729 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20730 * sysdeps/mach/hurd/rename.c (rename): Likewise.
20731 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20732 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20733 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20734 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20735 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20736 * sysdeps/mach/hurd/send.c (__send): Likewise.
20737 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20738 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20739 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20740 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20741 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20742 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20743 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20744 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20745 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20746 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20747 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20748 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20749 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20750 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20751 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20752 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20753 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20754 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20755 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20756 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20757 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20758 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20759 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20760 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20761 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20762 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20763 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20764 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20765 * sysdeps/posix/alarm.c (alarm): Likewise.
20766 * sysdeps/posix/cuserid.c (cuserid): Likewise.
20767 * sysdeps/posix/dirfd.c (dirfd): Likewise.
20768 * sysdeps/posix/dup.c (__dup): Likewise.
20769 * sysdeps/posix/dup2.c (__dup2): Likewise.
20770 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20771 (main): Likewise.
20772 * sysdeps/posix/flock.c (__flock): Likewise.
20773 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20774 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20775 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20776 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20777 * sysdeps/posix/isatty.c (__isatty): Likewise.
20778 * sysdeps/posix/killpg.c (killpg): Likewise.
20779 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20780 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20781 * sysdeps/posix/raise.c (raise): Likewise.
20782 * sysdeps/posix/remove.c (remove): Likewise.
20783 * sysdeps/posix/rename.c (rename): Likewise.
20784 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20785 * sysdeps/posix/seekdir.c (seekdir): Likewise.
20786 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20787 * sysdeps/posix/sigignore.c (sigignore): Likewise.
20788 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20789 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20790 * sysdeps/posix/sigset.c (sigset): Likewise.
20791 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20792 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20793 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20794 * sysdeps/posix/time.c (time): Likewise.
20795 * sysdeps/posix/ttyname.c (getttyname): Likewise.
20796 (ttyname): Likewise.
20797 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20798 * sysdeps/posix/utime.c (utime): Likewise.
20799 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20800 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20801 Likewise.
20802 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20803 (pthread_spin_trylock): Likewise.
20804 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20805 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20806 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20807 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20808 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20809 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20810 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20811 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20812 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20813 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20814 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20815 * sysdeps/s390/ffs.c (__ffs): Likewise.
20816 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20817 Likewise.
20818 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20819 Likewise.
20820 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20821 Likewise.
20822 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20823 (pthread_barrier_destroy): Likewise.
20824 * sysdeps/sparc/nptl/pthread_barrier_wait.c
20825 (__pthread_barrier_wait): Likewise.
20826 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20827 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20828 (__pthread_barrier_wait): Likewise.
20829 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20830 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20831 (memcmp_not_common_alignment): Likewise.
20832 (MEMCMP): Likewise.
20833 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20834 (_wordcopy_fwd_dest_aligned): Likewise.
20835 (_wordcopy_bwd_aligned): Likewise.
20836 (_wordcopy_bwd_dest_aligned): Likewise.
20837 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20838 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20839 * sysdeps/unix/bsd/stty.c (stty): Likewise.
20840 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20841 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20842 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20843 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20844 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20845 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20846 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20847 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20848 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20849 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20850 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20851 * sysdeps/unix/stime.c (stime): Likewise.
20852 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20853 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20854 Likewise. Use internal_function.
20855 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20856 Convert to prototype-style function definition.
20857 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20858 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20860 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20861 Likewise. Use internal_function.
20862 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20863 prototype-style function definition
20864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20865 Likewise.
20866 (__getlogin_r): Likewise.
20867 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20868 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20869 (__pthread_cond_broadcast): Likewise.
20870 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20871 (__pthread_cond_destroy): Likewise.
20872 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20873 (__pthread_cond_init): Likewise.
20874 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20875 (__pthread_cond_signal): Likewise.
20876 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20877 (__pthread_cond_wait): Likewise.
20878 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20879 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20880 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20881 Likewise.
20882 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20883 Likewise.
20884 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20885 Likewise.
20886 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20887 Likewise.
20888 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20890 (__ftruncate64): Likewise.
20891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20892 (truncate64): Likewise.
20893 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20894 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20895 (pthread_getcpuclockid): Likewise.
20896 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20897 Likewise.
20898 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20899 Likewise.
20900 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20901 Likewise.
20902 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20903 Likewise.
20904 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20905 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20906 (__libc_sigaction): Likewise.
20907 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20908 Likewise.
20909 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20910 (__sigprocmask): Likewise.
20911 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20912 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20913 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20915 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20916 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20917 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20918 Likewise.
20919 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20920 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20921 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20922 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20924 Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20926 (__sigprocmask): Likewise.
20927 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20928 (cfgetispeed): Likewise.
20929 (cfsetospeed): Likewise.
20930 (cfsetispeed): Likewise.
20931 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20932 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20933 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20934 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20935 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20936 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20937 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20938 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20939 Likewise.
20940 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20941 Likewise.
20942 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20943 Likewise.
20944 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20945 Likewise.
20946 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20947
20948 2015-10-17 Florian Weimer <fweimer@redhat.com>
20949
20950 sunrpc: Rewrite with explicit TLS access using __thread.
20951 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20952 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20953 directly.
20954 (__rpc_thread_variables): Access thread_rpc_vars directly.
20955 Eliminate redundant assignment of the tvp variable.
20956
20957 2015-10-17 Florian Weimer <fweimer@redhat.com>
20958
20959 malloc: Rewrite with explicit TLS access using __thread.
20960 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20961 (tsd_setspecific, tsd_getspecific): Remove.
20962 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20963 (tsd_setspecific, tsd_getspecific): Likewise.
20964 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20965 (tsd_setspecific, tsd_getspecific): Likewise.
20966 * malloc/arena.c (thread_arena): New TLS variable.
20967 (arena_key): Remove variable.
20968 (arena_get): Use thread_arena.
20969 (arena_lookup): Remove macro.
20970 (malloc_atfork, free_atfork, ptmalloc_lock_all)
20971 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20972 (_int_new_arena, get_free_list, reused_arena)
20973 (arena_thread_freeres): Use thread_arena.
20974 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20975 tsd_getspecific, tsd_setspecific from safety annotations.
20976 (Allocating Cleared Space): Remove arena_lookup from safety
20977 annotations.
20978
20979 2015-10-17 Florian Weimer <fweimer@redhat.com>
20980
20981 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20982 struct scratch_buffer instead of extend_alloca.
20983
20984 2015-10-17 Florian Weimer <fweimer@redhat.com>
20985
20986 * sysdeps/unix/sysv/linux/kernel-features.h
20987 (__ASSUME_SOCK_CLOEXEC): Remove.
20988 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20989 (__have_paccept): Remove unused macro.
20990 * include/unistd.h (__have_sock_cloexec): Remove declaration.
20991 * misc/syslog.c (openlog_internal): Remove fallback code for
20992 !__ASSUME_SOCK_CLOEXEC.
20993 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20994 missing SOCK_CLOEXEC.
20995 * nscd/connections.c (have_sock_cloexec): Remove definition.
20996 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20997 * nscd/nscd_helper.c (open_socket): Remove fallback code for
20998 !__ASSUME_SOCK_CLOEXEC.
20999 * resolv/res_send.c (__have_o_nonblock): Remove definition.
21000 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21001 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21002 definition.
21003 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21004 code for !__ASSUME_SOCK_CLOEXEC.
21005
21006 2015-10-17 Florian Weimer <fweimer@redhat.com>
21007
21008 [BZ #18982]
21009 * manual/stdio.texi (Variable Arguments Output): Add portability
21010 note, explaining that vfprintf clobbers the va_list pointer.
21011
21012 2015-10-16 Joseph Myers <joseph@codesourcery.com>
21013
21014 * math/libm-test.inc (fabs_test_data): Add more tests.
21015 (fdim_test_data): Likewise.
21016 (fma_test_data): Likewise.
21017 (fmax_test_data): Likewise.
21018 (fmin_test_data): Likewise.
21019 (fmod_test_data): Likewise.
21020
21021 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
21022
21023 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
21024 data.
21025
21026 2015-10-16 Joseph Myers <joseph@codesourcery.com>
21027
21028 * math/libm-test.inc (ceil_test_data): Add more tests and more
21029 expectations for "inexact".
21030 (floor_test_data): Add more tests.
21031 (round_test_data): Likewise.
21032 (trunc_test_data): Likewise.
21033
21034 * crypt/cert.c (good_bye): Convert to prototype-style function
21035 definition.
21036 (get8): Likewise.
21037 (put8): Likewise.
21038 * crypt/crypt-entry.c (crypt): Likewise.
21039 (__fcrypt): Likewise.
21040 * crypt/crypt_util.c (_ufc_prbits): Likewise.
21041 (_ufc_set_bits): Likewise.
21042 (_ufc_clearmem): Likewise.
21043 (__init_des_r): Likewise.
21044 (shuffle_sb): Likewise.
21045 (shuffle_sb): Likewise.
21046 (_ufc_setup_salt_r): Likewise.
21047 (_ufc_mk_keytab_r): Likewise.
21048 (_ufc_dofinalperm_r): Likewise.
21049 (encrypt): Likewise.
21050 (__setkey_r): Likewise.
21051 (setkey): Likewise.
21052 * crypt/md5.c (md5_init_ctx): Likewise.
21053 (md5_read_ctx): Likewise.
21054 (md5_finish_ctx): Likewise.
21055 (md5_stream): Likewise.
21056 (md5_buffer): Likewise.
21057 (md5_process_bytes): Likewise.
21058 * crypt/sha256.c (__sha256_init_ctx): Likewise.
21059 (__sha256_finish_ctx): Likewise.
21060 (__sha256_process_bytes): Likewise.
21061 * crypt/sha512.c (__sha512_init_ctx): Likewise.
21062 (__sha512_finish_ctx): Likewise.
21063 (__sha512_process_bytes): Likewise.
21064 * ctype/isctype.c (__isctype): Likewise.
21065 * debug/backtrace.c (__backtrace): Likewise.
21066 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21067 * debug/fgets_chk.c (__fgets_chk): Likewise.
21068 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21069 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21070 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21071 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21072 * debug/memset_chk.c (__memset_chk): Likewise.
21073 * debug/strcat_chk.c (__strcat_chk): Likewise.
21074 * debug/strncat_chk.c (__strncat_chk): Likewise.
21075 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21076 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21077 * dirent/dirfd.c (dirfd): Likewise.
21078 * dirent/getdents.c (__getdirentries): Likewise.
21079 * dirent/getdents64.c (getdirentries64): Likewise.
21080 * dirent/rewinddir.c (__rewinddir): Likewise.
21081 * dirent/seekdir.c (seekdir): Likewise.
21082 * dirent/telldir.c (telldir): Likewise.
21083 * elf/sln.c (makesymlinks): Likewise.
21084 (makesymlink): Likewise.
21085 * gmon/gmon.c (__moncontrol): Likewise.
21086 (__monstartup): Likewise.
21087 (write_hist): Likewise.
21088 (write_call_graph): Likewise.
21089 (write_bb_counts): Likewise.
21090 * grp/setgroups.c (setgroups): Likewise.
21091 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21092 * inet/inet_net.c (inet_network): Likewise.
21093 * inet/inet_netof.c (inet_netof): Likewise.
21094 * inet/rcmd.c (rresvport_af): Likewise.
21095 (rresvport): Likewise.
21096 * io/access.c (__access): Likewise.
21097 * io/chdir.c (__chdir): Likewise.
21098 * io/chmod.c (__chmod): Likewise.
21099 * io/chown.c (__chown): Likewise.
21100 * io/close.c (__close): Likewise.
21101 * io/creat.c (creat): Likewise.
21102 * io/creat64.c (creat64): Likewise.
21103 * io/dup.c (__dup): Likewise.
21104 * io/dup2.c (__dup2): Likewise.
21105 * io/dup3.c (__dup3): Likewise.
21106 * io/euidaccess.c (__euidaccess): Likewise.
21107 * io/faccessat.c (faccessat): Likewise.
21108 * io/fchmod.c (__fchmod): Likewise.
21109 * io/fchmodat.c (fchmodat): Likewise.
21110 * io/fchown.c (__fchown): Likewise.
21111 * io/fchownat.c (fchownat): Likewise.
21112 * io/fcntl.c (__fcntl): Likewise.
21113 * io/flock.c (__flock): Likewise.
21114 * io/fts.c (fts_load): Likewise.
21115 (fts_close): Likewise.
21116 (fts_read): Likewise.
21117 (fts_set): Likewise.
21118 (fts_children): Likewise.
21119 (fts_build): Likewise.
21120 (fts_stat): Likewise.
21121 (fts_sort): Likewise.
21122 (fts_alloc): Likewise.
21123 (fts_lfree): Likewise.
21124 (fts_palloc): Likewise.
21125 (fts_padjust): Likewise.
21126 (fts_maxarglen): Likewise.
21127 (fts_safe_changedir): Likewise.
21128 * io/getwd.c (getwd): Likewise.
21129 * io/isatty.c (__isatty): Likewise.
21130 * io/lchown.c (__lchown): Likewise.
21131 * io/link.c (__link): Likewise.
21132 * io/linkat.c (linkat): Likewise.
21133 * io/lseek.c (__libc_lseek): Likewise.
21134 * io/mkdir.c (__mkdir): Likewise.
21135 * io/mkdirat.c (mkdirat): Likewise.
21136 * io/mkfifo.c (mkfifo): Likewise.
21137 * io/mkfifoat.c (mkfifoat): Likewise.
21138 * io/open.c (__libc_open): Likewise.
21139 * io/open64.c (__libc_open64): Likewise.
21140 * io/readlink.c (__readlink): Likewise.
21141 * io/readlinkat.c (readlinkat): Likewise.
21142 * io/rmdir.c (__rmdir): Likewise.
21143 * io/symlink.c (__symlink): Likewise.
21144 * io/symlinkat.c (symlinkat): Likewise.
21145 * io/ttyname.c (ttyname): Likewise.
21146 * io/ttyname_r.c (__ttyname_r): Likewise.
21147 * io/umask.c (__umask): Likewise.
21148 * io/unlink.c (__unlink): Likewise.
21149 * io/unlinkat.c (unlinkat): Likewise.
21150 * io/utime.c (utime): Likewise.
21151 * libio/clearerr.c (clearerr): Likewise.
21152 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21153 * libio/feof.c (_IO_feof): Likewise.
21154 * libio/feof_u.c (feof_unlocked): Likewise.
21155 * libio/ferror.c (_IO_ferror): Likewise.
21156 * libio/ferror_u.c (ferror_unlocked): Likewise.
21157 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21158 * libio/fileno.c (__fileno): Likewise.
21159 * libio/fputc.c (fputc): Likewise.
21160 * libio/fputc_u.c (fputc_unlocked): Likewise.
21161 * libio/fputwc.c (fputwc): Likewise.
21162 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21163 * libio/freopen.c (freopen): Likewise.
21164 * libio/freopen64.c (freopen64): Likewise.
21165 * libio/fseek.c (fseek): Likewise.
21166 * libio/fseeko.c (fseeko): Likewise.
21167 * libio/fseeko64.c (fseeko64): Likewise.
21168 * libio/ftello.c (__ftello): Likewise.
21169 * libio/ftello64.c (ftello64): Likewise.
21170 * libio/fwide.c (fwide): Likewise.
21171 * libio/genops.c (_IO_un_link): Likewise.
21172 (_IO_link_in): Likewise.
21173 (_IO_least_marker): Likewise.
21174 (_IO_switch_to_main_get_area): Likewise.
21175 (_IO_switch_to_backup_area): Likewise.
21176 (_IO_switch_to_get_mode): Likewise.
21177 (_IO_free_backup_area): Likewise.
21178 (_IO_switch_to_put_mode): Likewise.
21179 (__overflow): Likewise.
21180 (__underflow): Likewise.
21181 (__uflow): Likewise.
21182 (_IO_setb): Likewise.
21183 (_IO_doallocbuf): Likewise.
21184 (_IO_default_underflow): Likewise.
21185 (_IO_default_uflow): Likewise.
21186 (_IO_default_xsputn): Likewise.
21187 (_IO_sgetn): Likewise.
21188 (_IO_default_xsgetn): Likewise.
21189 (_IO_sync): Likewise.
21190 (_IO_default_setbuf): Likewise.
21191 (_IO_default_seekpos): Likewise.
21192 (_IO_default_doallocate): Likewise.
21193 (_IO_init): Likewise.
21194 (_IO_old_init): Likewise.
21195 (_IO_default_sync): Likewise.
21196 (_IO_default_finish): Likewise.
21197 (_IO_default_seekoff): Likewise.
21198 (_IO_sputbackc): Likewise.
21199 (_IO_sungetc): Likewise.
21200 (_IO_set_column): Likewise.
21201 (_IO_set_column): Likewise.
21202 (_IO_adjust_column): Likewise.
21203 (_IO_get_column): Likewise.
21204 (_IO_init_marker): Likewise.
21205 (_IO_remove_marker): Likewise.
21206 (_IO_marker_difference): Likewise.
21207 (_IO_marker_delta): Likewise.
21208 (_IO_seekmark): Likewise.
21209 (_IO_unsave_markers): Likewise.
21210 (_IO_nobackup_pbackfail): Likewise.
21211 (_IO_default_pbackfail): Likewise.
21212 (_IO_default_seek): Likewise.
21213 (_IO_default_stat): Likewise.
21214 (_IO_default_read): Likewise.
21215 (_IO_default_write): Likewise.
21216 (_IO_default_showmanyc): Likewise.
21217 (_IO_default_imbue): Likewise.
21218 (_IO_iter_next): Likewise.
21219 (_IO_iter_file): Likewise.
21220 * libio/getc.c (_IO_getc): Likewise.
21221 * libio/getwc.c (_IO_getwc): Likewise.
21222 * libio/iofclose.c (_IO_new_fclose): Likewise.
21223 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21224 * libio/iofflush.c (_IO_fflush): Likewise.
21225 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21226 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21227 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21228 * libio/iofgets.c (_IO_fgets): Likewise.
21229 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21230 * libio/iofgetws.c (fgetws): Likewise.
21231 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21232 * libio/iofopen64.c (_IO_fopen64): Likewise.
21233 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21234 (_IO_cookie_write): Likewise.
21235 (_IO_cookie_seek): Likewise.
21236 (_IO_cookie_close): Likewise.
21237 (_IO_cookie_seekoff): Likewise.
21238 (_IO_old_cookie_seek): Likewise.
21239 * libio/iofputs.c (_IO_fputs): Likewise.
21240 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21241 * libio/iofputws.c (fputws): Likewise.
21242 * libio/iofputws_u.c (fputws_unlocked): Likewise.
21243 * libio/iofread.c (_IO_fread): Likewise.
21244 * libio/iofread_u.c (__fread_unlocked): Likewise.
21245 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21246 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21247 * libio/ioftell.c (_IO_ftell): Likewise.
21248 * libio/iofwrite.c (_IO_fwrite): Likewise.
21249 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21250 * libio/iogets.c (_IO_gets): Likewise.
21251 * libio/iopadn.c (_IO_padn): Likewise.
21252 * libio/iopopen.c (_IO_new_proc_open): Likewise.
21253 (_IO_new_popen): Likewise.
21254 (_IO_new_proc_close): Likewise.
21255 * libio/ioputs.c (_IO_puts): Likewise.
21256 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21257 (_IO_seekoff): Likewise.
21258 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21259 (_IO_seekpos): Likewise.
21260 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21261 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21262 * libio/ioungetc.c (_IO_ungetc): Likewise.
21263 * libio/ioungetwc.c (ungetwc): Likewise.
21264 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21265 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21266 * libio/iowpadn.c (_IO_wpadn): Likewise.
21267 * libio/libc_fatal.c (__libc_fatal): Likewise.
21268 * libio/memstream.c (__open_memstream): Likewise.
21269 (_IO_mem_sync): Likewise.
21270 (_IO_mem_finish): Likewise.
21271 * libio/oldfileops.c (_IO_old_file_init): Likewise.
21272 (_IO_old_file_close_it): Likewise.
21273 (_IO_old_file_finish): Likewise.
21274 (_IO_old_file_fopen): Likewise.
21275 (_IO_old_file_attach): Likewise.
21276 (_IO_old_file_setbuf): Likewise.
21277 (_IO_old_do_write): Likewise.
21278 (old_do_write): Likewise.
21279 (_IO_old_file_underflow): Likewise.
21280 (_IO_old_file_overflow): Likewise.
21281 (_IO_old_file_sync): Likewise.
21282 (_IO_old_file_seekoff): Likewise.
21283 (_IO_old_file_write): Likewise.
21284 (_IO_old_file_xsputn): Likewise.
21285 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21286 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21287 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21288 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21289 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21290 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21291 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21292 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21293 (_IO_old_popen): Likewise.
21294 (_IO_old_proc_close): Likewise.
21295 * libio/oldpclose.c (__old_pclose): Likewise.
21296 * libio/pclose.c (__new_pclose): Likewise.
21297 * libio/peekc.c (_IO_peekc_locked): Likewise.
21298 * libio/putc.c (_IO_putc): Likewise.
21299 * libio/putc_u.c (putc_unlocked): Likewise.
21300 * libio/putchar.c (putchar): Likewise.
21301 * libio/putchar_u.c (putchar_unlocked): Likewise.
21302 * libio/putwc.c (putwc): Likewise.
21303 * libio/putwc_u.c (putwc_unlocked): Likewise.
21304 * libio/putwchar.c (putwchar): Likewise.
21305 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21306 * libio/rewind.c (rewind): Likewise.
21307 * libio/setbuf.c (setbuf): Likewise.
21308 * libio/setlinebuf.c (setlinebuf): Likewise.
21309 * libio/vasprintf.c (_IO_vasprintf): Likewise.
21310 * libio/vscanf.c (_IO_vscanf): Likewise.
21311 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21312 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21313 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21314 * libio/wgenops.c (_IO_least_wmarker): Likewise.
21315 (_IO_switch_to_main_wget_area): Likewise.
21316 (_IO_switch_to_wbackup_area): Likewise.
21317 (_IO_wsetb): Likewise.
21318 (_IO_wdefault_pbackfail): Likewise.
21319 (_IO_wdefault_finish): Likewise.
21320 (_IO_wdefault_uflow): Likewise.
21321 (__woverflow): Likewise.
21322 (__wuflow): Likewise.
21323 (__wunderflow): Likewise.
21324 (_IO_wdefault_xsputn): Likewise.
21325 (_IO_wdefault_xsgetn): Likewise.
21326 (_IO_wdoallocbuf): Likewise.
21327 (_IO_wdefault_doallocate): Likewise.
21328 (_IO_switch_to_wget_mode): Likewise.
21329 (_IO_free_wbackup_area): Likewise.
21330 (_IO_switch_to_wput_mode): Likewise.
21331 (_IO_sputbackwc): Likewise.
21332 (_IO_sungetwc): Likewise.
21333 (_IO_adjust_wcolumn): Likewise.
21334 (_IO_init_wmarker): Likewise.
21335 (_IO_wmarker_delta): Likewise.
21336 (_IO_seekwmark): Likewise.
21337 (_IO_unsave_wmarkers): Likewise.
21338 * libio/wmemstream.c (open_wmemstream): Likewise.
21339 (_IO_wmem_sync): Likewise.
21340 (_IO_wmem_finish): Likewise.
21341 * locale/nl_langinfo.c (nl_langinfo): Likewise.
21342 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21343 * locale/programs/simple-hash.c (init_hash): Likewise.
21344 (delete_hash): Likewise.
21345 (insert_entry): Likewise.
21346 (set_entry): Likewise.
21347 (next_prime): Likewise.
21348 (is_prime): Likewise.
21349 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21350 (xmalloc): Likewise.
21351 (xrealloc): Likewise.
21352 * locale/programs/xstrdup.c (xstrdup): Likewise.
21353 * localedata/collate-test.c (xstrcoll): Likewise.
21354 * localedata/xfrm-test.c (xstrcmp): Likewise.
21355 * login/getlogin_r.c (__getlogin_r): Likewise.
21356 * login/getpt.c (__posix_openpt): Likewise.
21357 * login/login_tty.c (login_tty): Likewise.
21358 * login/setlogin.c (setlogin): Likewise.
21359 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21360 (mach_msg_destroy_port): Likewise.
21361 (mach_msg_destroy_memory): Likewise.
21362 * malloc/mcheck.c (flood): Likewise.
21363 * misc/acct.c (acct): Likewise.
21364 * misc/brk.c (__brk): Likewise.
21365 * misc/chflags.c (chflags): Likewise.
21366 * misc/chroot.c (chroot): Likewise.
21367 * misc/fchflags.c (fchflags): Likewise.
21368 * misc/fstab.c (getfsspec): Likewise.
21369 (getfsfile): Likewise.
21370 * misc/fsync.c (fsync): Likewise.
21371 * misc/ftruncate.c (__ftruncate): Likewise.
21372 * misc/ftruncate64.c (__ftruncate64): Likewise.
21373 * misc/getdomain.c (getdomainname): Likewise.
21374 (getdomainname): Likewise.
21375 * misc/gethostname.c (__gethostname): Likewise.
21376 * misc/getpass.c (getpass): Likewise.
21377 * misc/getttyent.c (skip): Likewise.
21378 (value): Likewise.
21379 * misc/gtty.c (gtty): Likewise.
21380 * misc/hsearch.c (hsearch): Likewise.
21381 (hcreate): Likewise.
21382 * misc/hsearch_r.c (__hcreate_r): Likewise.
21383 (__hdestroy_r): Likewise.
21384 * misc/ioctl.c (__ioctl): Likewise.
21385 * misc/mkdtemp.c (mkdtemp): Likewise.
21386 * misc/mkostemp.c (mkostemp): Likewise.
21387 * misc/mkostemp64.c (mkostemp64): Likewise.
21388 * misc/mkostemps.c (mkostemps): Likewise.
21389 * misc/mkostemps64.c (mkostemps64): Likewise.
21390 * misc/mkstemp.c (mkstemp): Likewise.
21391 * misc/mkstemp64.c (mkstemp64): Likewise.
21392 * misc/mkstemps.c (mkstemps): Likewise.
21393 * misc/mkstemps64.c (mkstemps64): Likewise.
21394 * misc/mktemp.c (__mktemp): Likewise.
21395 * misc/preadv.c (preadv): Likewise.
21396 * misc/preadv64.c (preadv64): Likewise.
21397 * misc/pwritev.c (pwritev): Likewise.
21398 * misc/pwritev64.c (pwritev64): Likewise.
21399 * misc/readv.c (__readv): Likewise.
21400 * misc/revoke.c (revoke): Likewise.
21401 * misc/setdomain.c (setdomainname): Likewise.
21402 * misc/setegid.c (setegid): Likewise.
21403 * misc/seteuid.c (seteuid): Likewise.
21404 * misc/sethostid.c (sethostid): Likewise.
21405 * misc/sethostname.c (sethostname): Likewise.
21406 * misc/setregid.c (__setregid): Likewise.
21407 * misc/setreuid.c (__setreuid): Likewise.
21408 * misc/sstk.c (sstk): Likewise.
21409 * misc/stty.c (stty): Likewise.
21410 * misc/syscall.c (syscall): Likewise.
21411 * misc/syslog.c (setlogmask): Likewise.
21412 * misc/truncate.c (__truncate): Likewise.
21413 * misc/truncate64.c (truncate64): Likewise.
21414 * misc/ualarm.c (ualarm): Likewise.
21415 * misc/usleep.c (usleep): Likewise.
21416 * misc/ustat.c (ustat): Likewise.
21417 * misc/writev.c (__writev): Likewise.
21418 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21419 * nptl/old_pthread_cond_broadcast.c
21420 (__pthread_cond_broadcast_2_0): Likewise.
21421 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21422 Likewise.
21423 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21424 Likewise.
21425 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21426 Likewise.
21427 * nptl/pt-raise.c (raise): Likewise.
21428 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21429 Likewise.
21430 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21431 * nptl/pthread_barrierattr_destroy.c
21432 (pthread_barrierattr_destroy): Likewise.
21433 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21434 Likewise.
21435 * nptl/pthread_barrierattr_setpshared.c
21436 (pthread_barrierattr_setpshared): Likewise.
21437 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21438 Likewise.
21439 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21440 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21441 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21442 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21443 Likewise.
21444 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21445 Likewise.
21446 * nptl/pthread_condattr_getpshared.c
21447 (pthread_condattr_getpshared): Likewise.
21448 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21449 Likewise.
21450 * nptl/pthread_condattr_setpshared.c
21451 (pthread_condattr_setpshared): Likewise.
21452 * nptl/pthread_detach.c (pthread_detach): Likewise.
21453 * nptl/pthread_equal.c (__pthread_equal): Likewise.
21454 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21455 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21456 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21457 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21458 Likewise.
21459 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21460 Likewise.
21461 * nptl/pthread_mutex_getprioceiling.c
21462 (pthread_mutex_getprioceiling): Likewise.
21463 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21464 Likewise.
21465 * nptl/pthread_mutexattr_getprotocol.c
21466 (pthread_mutexattr_getprotocol): Likewise.
21467 * nptl/pthread_mutexattr_getpshared.c
21468 (pthread_mutexattr_getpshared): Likewise.
21469 * nptl/pthread_mutexattr_getrobust.c
21470 (pthread_mutexattr_getrobust): Likewise.
21471 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21472 Likewise.
21473 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21474 Likewise.
21475 * nptl/pthread_mutexattr_setprioceiling.c
21476 (pthread_mutexattr_setprioceiling): Likewise.
21477 * nptl/pthread_mutexattr_setprotocol.c
21478 (pthread_mutexattr_setprotocol): Likewise.
21479 * nptl/pthread_mutexattr_setpshared.c
21480 (pthread_mutexattr_setpshared): Likewise.
21481 * nptl/pthread_mutexattr_setrobust.c
21482 (pthread_mutexattr_setrobust): Likewise.
21483 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21484 Likewise.
21485 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21486 Likewise.
21487 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21488 Likewise.
21489 * nptl/pthread_rwlockattr_getkind_np.c
21490 (pthread_rwlockattr_getkind_np): Likewise.
21491 * nptl/pthread_rwlockattr_getpshared.c
21492 (pthread_rwlockattr_getpshared): Likewise.
21493 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21494 Likewise.
21495 * nptl/pthread_rwlockattr_setkind_np.c
21496 (pthread_rwlockattr_setkind_np): Likewise.
21497 * nptl/pthread_rwlockattr_setpshared.c
21498 (pthread_rwlockattr_setpshared): Likewise.
21499 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21500 Likewise.
21501 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21502 Likewise.
21503 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21504 Likewise.
21505 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21506 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21507 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21508 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21509 * nptl/sem_close.c (sem_close): Likewise.
21510 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21511 * nptl/sem_init.c (__old_sem_init): Likewise.
21512 * nptl/sigaction.c (__sigaction): Likewise.
21513 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21514 * posix/_exit.c (_exit): Likewise.
21515 * posix/alarm.c (alarm): Likewise.
21516 * posix/confstr.c (confstr): Likewise.
21517 * posix/fpathconf.c (__fpathconf): Likewise.
21518 * posix/getgroups.c (__getgroups): Likewise.
21519 * posix/getpgid.c (__getpgid): Likewise.
21520 * posix/group_member.c (__group_member): Likewise.
21521 * posix/pathconf.c (__pathconf): Likewise.
21522 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21523 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21524 * posix/setgid.c (__setgid): Likewise.
21525 * posix/setpgid.c (__setpgid): Likewise.
21526 * posix/setuid.c (__setuid): Likewise.
21527 * posix/sleep.c (__sleep): Likewise.
21528 * posix/sysconf.c (__sysconf): Likewise.
21529 * posix/times.c (__times): Likewise.
21530 * posix/uname.c (__uname): Likewise.
21531 * posix/waitid.c (__waitid): Likewise.
21532 * pwd/getpw.c (__getpw): Likewise.
21533 * resolv/base64.c (b64_pton): Likewise.
21534 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21535 * resolv/gethnamaddr.c (Dprintf): Likewise.
21536 (gethostbyname): Likewise.
21537 (gethostbyname2): Likewise.
21538 (gethostbyaddr): Likewise.
21539 (_sethtent): Likewise.
21540 (_gethtbyname): Likewise.
21541 (_gethtbyname2): Likewise.
21542 (_gethtbyaddr): Likewise.
21543 (map_v4v6_address): Likewise.
21544 (map_v4v6_hostent): Likewise.
21545 (addrsort): Likewise.
21546 (ht_sethostent): Likewise.
21547 (ht_gethostbyname): Likewise.
21548 (ht_gethostbyaddr): Likewise.
21549 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21550 (inet_net_ntop_ipv4): Likewise.
21551 * resolv/inet_neta.c (inet_neta): Likewise.
21552 * resolv/inet_ntop.c (inet_ntop): Likewise.
21553 (inet_ntop4): Likewise.
21554 (inet_ntop6): Likewise.
21555 * resolv/inet_pton.c (__inet_pton): Likewise.
21556 (inet_pton4): Likewise.
21557 (inet_pton6): Likewise.
21558 * resolv/res_debug.c (loc_aton): Likewise.
21559 (loc_ntoa): Likewise.
21560 * resource/getpriority.c (__getpriority): Likewise.
21561 * resource/getrusage.c (__getrusage): Likewise.
21562 * resource/nice.c (nice): Likewise.
21563 * resource/setpriority.c (__setpriority): Likewise.
21564 * resource/setrlimit64.c (setrlimit64): Likewise.
21565 * resource/vlimit.c (vlimit): Likewise.
21566 * resource/vtimes.c (vtimes): Likewise.
21567 * rt/aio_error.c (aio_error): Likewise.
21568 * rt/aio_return.c (aio_return): Likewise.
21569 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21570 * signal/kill.c (__kill): Likewise.
21571 * signal/killpg.c (killpg): Likewise.
21572 * signal/raise.c (raise): Likewise.
21573 * signal/sigaction.c (__sigaction): Likewise.
21574 * signal/sigaddset.c (sigaddset): Likewise.
21575 * signal/sigaltstack.c (sigaltstack): Likewise.
21576 * signal/sigandset.c (sigandset): Likewise.
21577 * signal/sigblock.c (__sigblock): Likewise.
21578 * signal/sigdelset.c (sigdelset): Likewise.
21579 * signal/sigempty.c (sigemptyset): Likewise.
21580 * signal/sigfillset.c (sigfillset): Likewise.
21581 * signal/sighold.c (sighold): Likewise.
21582 * signal/sigignore.c (sigignore): Likewise.
21583 * signal/sigintr.c (siginterrupt): Likewise.
21584 * signal/sigisempty.c (sigisemptyset): Likewise.
21585 * signal/sigismem.c (sigismember): Likewise.
21586 * signal/signal.c (signal): Likewise.
21587 * signal/sigorset.c (sigorset): Likewise.
21588 * signal/sigpause.c (__sigpause): Likewise.
21589 * signal/sigpending.c (sigpending): Likewise.
21590 * signal/sigprocmask.c (__sigprocmask): Likewise.
21591 * signal/sigrelse.c (sigrelse): Likewise.
21592 * signal/sigreturn.c (__sigreturn): Likewise.
21593 * signal/sigset.c (sigset): Likewise.
21594 * signal/sigsetmask.c (__sigsetmask): Likewise.
21595 * signal/sigstack.c (sigstack): Likewise.
21596 * signal/sigsuspend.c (__sigsuspend): Likewise.
21597 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21598 * signal/sysv_signal.c (__sysv_signal): Likewise.
21599 * socket/accept.c (accept): Likewise.
21600 * socket/accept4.c (__libc_accept4): Likewise.
21601 * socket/bind.c (__bind): Likewise.
21602 * socket/connect.c (__connect): Likewise.
21603 * socket/getpeername.c (getpeername): Likewise.
21604 * socket/getsockname.c (__getsockname): Likewise.
21605 * socket/getsockopt.c (getsockopt): Likewise.
21606 * socket/listen.c (__listen): Likewise.
21607 * socket/recv.c (__recv): Likewise.
21608 * socket/recvmsg.c (__recvmsg): Likewise.
21609 * socket/send.c (__send): Likewise.
21610 * socket/sendmsg.c (__sendmsg): Likewise.
21611 * socket/shutdown.c (shutdown): Likewise.
21612 * socket/sockatmark.c (sockatmark): Likewise.
21613 * socket/socket.c (__socket): Likewise.
21614 * stdio-common/ctermid.c (ctermid): Likewise.
21615 * stdio-common/cuserid.c (cuserid): Likewise.
21616 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21617 * stdio-common/remove.c (remove): Likewise.
21618 * stdio-common/rename.c (rename): Likewise.
21619 * stdio-common/renameat.c (renameat): Likewise.
21620 * stdio-common/tempname.c (__gen_tempname): Likewise.
21621 * stdio-common/xbug.c (InitBuffer): Likewise.
21622 (AppendToBuffer): Likewise.
21623 (ReadFile): Likewise.
21624 * stdlib/a64l.c (a64l): Likewise.
21625 * stdlib/drand48_r.c (drand48_r): Likewise.
21626 * stdlib/getcontext.c (getcontext): Likewise.
21627 * stdlib/getenv.c (getenv): Likewise.
21628 * stdlib/l64a.c (l64a): Likewise.
21629 * stdlib/llabs.c (llabs): Likewise.
21630 * stdlib/lldiv.c (lldiv): Likewise.
21631 * stdlib/lrand48_r.c (lrand48_r): Likewise.
21632 * stdlib/mrand48_r.c (mrand48_r): Likewise.
21633 * stdlib/putenv.c (putenv): Likewise.
21634 * stdlib/random.c (__srandom): Likewise.
21635 (__initstate): Likewise.
21636 (__setstate): Likewise.
21637 * stdlib/random_r.c (__srandom_r): Likewise.
21638 (__setstate_r): Likewise.
21639 (__random_r): Likewise.
21640 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21641 * stdlib/setcontext.c (setcontext): Likewise.
21642 * stdlib/setenv.c (setenv): Likewise.
21643 (unsetenv): Likewise.
21644 * stdlib/srand48.c (srand48): Likewise.
21645 * stdlib/srand48_r.c (__srand48_r): Likewise.
21646 * stdlib/swapcontext.c (swapcontext): Likewise.
21647 * stdlib/system.c (__libc_system): Likewise.
21648 * stdlib/tst-strtod.c (expand): Likewise.
21649 * stdlib/tst-strtol.c (expand): Likewise.
21650 * stdlib/tst-strtoll.c (expand): Likewise.
21651 * streams/fattach.c (fattach): Likewise.
21652 * streams/fdetach.c (fdetach): Likewise.
21653 * streams/getmsg.c (getmsg): Likewise.
21654 * streams/isastream.c (isastream): Likewise.
21655 * string/ffs.c (__ffs): Likewise.
21656 * string/ffsll.c (ffsll): Likewise.
21657 * string/memcmp.c (memcmp_common_alignment): Likewise.
21658 (memcmp_not_common_alignment): Likewise.
21659 (MEMCMP): Likewise.
21660 * string/memcpy.c (memcpy): Likewise.
21661 * string/memmove.c (MEMMOVE): Likewise.
21662 * string/memset.c (memset): Likewise.
21663 * string/rawmemchr.c (RAWMEMCHR): Likewise.
21664 * string/strchrnul.c (STRCHRNUL): Likewise.
21665 * string/strerror.c (strerror): Likewise.
21666 * string/strndup.c (__strndup): Likewise.
21667 * string/strverscmp.c (__strverscmp): Likewise.
21668 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21669 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21670 (clnttcp_freeres): Likewise.
21671 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21672 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21673 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21674 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21675 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21676 (xdr_callhdr): Likewise.
21677 * sunrpc/rpcinfo.c (udpping): Likewise.
21678 (tcpping): Likewise.
21679 (pstatus): Likewise.
21680 (pmapdump): Likewise.
21681 (brdcst): Likewise.
21682 (deletereg): Likewise.
21683 (getprognum): Likewise.
21684 (getvers): Likewise.
21685 (get_inet_address): Likewise.
21686 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21687 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21688 (svcudp_stat): Likewise.
21689 (svcudp_recv): Likewise.
21690 (svcudp_reply): Likewise.
21691 (svcudp_getargs): Likewise.
21692 (svcudp_freeargs): Likewise.
21693 (svcudp_destroy): Likewise.
21694 * sunrpc/xdr.c (xdr_bytes): Likewise.
21695 (xdr_netobj): Likewise.
21696 (xdr_string): Likewise.
21697 (xdr_wrapstring): Likewise.
21698 * sunrpc/xdr_float.c (xdr_float): Likewise.
21699 (xdr_double): Likewise.
21700 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21701 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21702 * sysvipc/ftok.c (ftok): Likewise.
21703 * sysvipc/msgctl.c (msgctl): Likewise.
21704 * sysvipc/msgget.c (msgget): Likewise.
21705 * sysvipc/msgrcv.c (msgrcv): Likewise.
21706 * sysvipc/msgsnd.c (msgsnd): Likewise.
21707 * sysvipc/semget.c (semget): Likewise.
21708 * sysvipc/semop.c (semop): Likewise.
21709 * sysvipc/shmat.c (shmat): Likewise.
21710 * sysvipc/shmctl.c (shmctl): Likewise.
21711 * sysvipc/shmdt.c (shmdt): Likewise.
21712 * sysvipc/shmget.c (shmget): Likewise.
21713 * termios/cfmakeraw.c (cfmakeraw): Likewise.
21714 * termios/speed.c (cfgetospeed): Likewise.
21715 (cfgetispeed): Likewise.
21716 (cfsetospeed): Likewise.
21717 (cfsetispeed): Likewise.
21718 * termios/tcflow.c (tcflow): Likewise.
21719 * termios/tcflush.c (tcflush): Likewise.
21720 * termios/tcgetattr.c (__tcgetattr): Likewise.
21721 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21722 * termios/tcgetsid.c (tcgetsid): Likewise.
21723 * termios/tcsendbrk.c (tcsendbreak): Likewise.
21724 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21725 * time/adjtime.c (__adjtime): Likewise.
21726 * time/dysize.c (dysize): Likewise.
21727 * time/ftime.c (ftime): Likewise.
21728 * time/getitimer.c (__getitimer): Likewise.
21729 * time/gettimeofday.c (__gettimeofday): Likewise.
21730 * time/gmtime.c (__gmtime_r): Likewise.
21731 (gmtime): Likewise.
21732 * time/localtime.c (__localtime_r): Likewise.
21733 (localtime): Likewise.
21734 * time/offtime.c (__offtime): Likewise.
21735 * time/settimeofday.c (__settimeofday): Likewise.
21736 * time/stime.c (stime): Likewise.
21737 * time/strftime_l.c (tm_diff): Likewise.
21738 (iso_week_days): Likewise.
21739 * time/strptime.c (strptime): Likewise.
21740 * time/time.c (time): Likewise.
21741 * time/timespec_get.c (timespec_get): Likewise.
21742 * time/tzset.c (tzset_internal): Likewise.
21743 (compute_change): Likewise.
21744 (__tz_compute): Likewise.
21745 * wcsmbs/btowc.c (__btowc): Likewise.
21746 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21747 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21748 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21749 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21750 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21751 * wcsmbs/wcscat.c (__wcscat): Likewise.
21752 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21753 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21754 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21755 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21756 * wcsmbs/wcsdup.c (wcsdup): Likewise.
21757 * wcsmbs/wcslen.c (__wcslen): Likewise.
21758 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21759 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21760 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21761 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21762 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21763 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21764 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21765 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21766 * wcsmbs/wcstok.c (wcstok): Likewise.
21767 * wcsmbs/wctob.c (wctob): Likewise.
21768 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21770 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21771 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21772 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21773 * wcsmbs/wmemset.c (__wmemset): Likewise.
21774 * wctype/wcfuncs.c (__towlower): Likewise.
21775 (__towupper): Likewise.
21776
21777 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21778 (lll_unlock_elision): Add adapt_count parameter.
21779
21780 2015-10-15 Joseph Myers <joseph@codesourcery.com>
21781
21782 * sysdeps/nptl/configure.ac: Do not give errors based on the
21783 results of top-level configure tests.
21784 * sysdeps/nptl/configure: Regenerated.
21785
21786 * configure.ac (libc_cv_Bgroup): Remove configure test.
21787 * configure: Regenerated.
21788 * config.make.in (have-Bgroup): Remove variable.
21789
21790 * configure.ac (sizeof_long_double): Remove configure test.
21791 * configure: Regenerated.
21792 * config.make.in (sizeof-long-double): Remove variable.
21793
21794 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21795 * configure: Regenerated.
21796 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21797 variable.
21798 (exceptions): Likewise.
21799 * sysdeps/arm/configure: Regenerated.
21800 * config.make.in (exceptions): Remove variable.
21801 * Makeconfig (uses-callbacks): Use -fexceptions instead of
21802 $(exceptions).
21803 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21804 (CFLAGS-vdprintf_chk.c): Likewise.
21805 (CFLAGS-printf_chk.c): Likewise.
21806 (CFLAGS-fprintf_chk.c): Likewise.
21807 (CFLAGS-vprintf_chk.c): Likewise.
21808 (CFLAGS-vfprintf_chk.c): Likewise.
21809 (CFLAGS-gets_chk.c): Likewise.
21810 (CFLAGS-fgets_chk.c): Likewise.
21811 (CFLAGS-fgets_u_chk.c): Likewise.
21812 (CFLAGS-fread_chk.c): Likewise.
21813 (CFLAGS-fread_u_chk.c): Likewise.
21814 (CFLAGS-wprintf_chk.c): Likewise.
21815 (CFLAGS-fwprintf_chk.c): Likewise.
21816 (CFLAGS-vwprintf_chk.c): Likewise.
21817 (CFLAGS-vfwprintf_chk.c): Likewise.
21818 (CFLAGS-fgetws_chk.c): Likewise.
21819 (CFLAGS-fgetws_u_chk.c): Likewise.
21820 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21821 (CFLAGS-fputc.c): Likewise.
21822 (CFLAGS-fputwc.c): Likewise.
21823 (CFLAGS-freopen64.c): Likewise.
21824 (CFLAGS-freopen.c): Likewise.
21825 (CFLAGS-fseek.c): Likewise.
21826 (CFLAGS-fseeko64.c): Likewise.
21827 (CFLAGS-fseeko.c): Likewise.
21828 (CFLAGS-ftello64.c): Likewise.
21829 (CFLAGS-ftello.c): Likewise.
21830 (CFLAGS-fwide.c): Likewise.
21831 (CFLAGS-genops.c): Likewise.
21832 (CFLAGS-getc.c): Likewise.
21833 (CFLAGS-getchar.c): Likewise.
21834 (CFLAGS-getwc.c): Likewise.
21835 (CFLAGS-getwchar.c): Likewise.
21836 (CFLAGS-iofclose.c): Likewise.
21837 (CFLAGS-iofflush.c): Likewise.
21838 (CFLAGS-iofgetpos64.c): Likewise.
21839 (CFLAGS-iofgetpos.c): Likewise.
21840 (CFLAGS-iofgets.c): Likewise.
21841 (CFLAGS-iofgetws.c): Likewise.
21842 (CFLAGS-iofputs.c): Likewise.
21843 (CFLAGS-iofputws.c): Likewise.
21844 (CFLAGS-iofread.c): Likewise.
21845 (CFLAGS-iofsetpos64.c): Likewise.
21846 (CFLAGS-iofsetpos.c): Likewise.
21847 (CFLAGS-ioftell.c): Likewise.
21848 (CFLAGS-iofwrite.c): Likewise.
21849 (CFLAGS-iogetdelim.c): Likewise.
21850 (CFLAGS-iogetline.c): Likewise.
21851 (CFLAGS-iogets.c): Likewise.
21852 (CFLAGS-iogetwline.c): Likewise.
21853 (CFLAGS-ioputs.c): Likewise.
21854 (CFLAGS-ioseekoff.c): Likewise.
21855 (CFLAGS-ioseekpos.c): Likewise.
21856 (CFLAGS-iosetbuffer.c): Likewise.
21857 (CFLAGS-iosetvbuf.c): Likewise.
21858 (CFLAGS-ioungetc.c): Likewise.
21859 (CFLAGS-ioungetwc.c): Likewise.
21860 (CFLAGS-oldfileops.c): Likewise.
21861 (CFLAGS-oldiofclose.c): Likewise.
21862 (CFLAGS-oldiofgetpos64.c): Likewise.
21863 (CFLAGS-oldiofgetpos.c): Likewise.
21864 (CFLAGS-oldiofsetpos64.c): Likewise.
21865 (CFLAGS-oldiofsetpos.c): Likewise.
21866 (CFLAGS-peekc.c): Likewise.
21867 (CFLAGS-putc.c): Likewise.
21868 (CFLAGS-putchar.c): Likewise.
21869 (CFLAGS-putwc.c): Likewise.
21870 (CFLAGS-putwchar.c): Likewise.
21871 (CFLAGS-rewind.c): Likewise.
21872 (CFLAGS-wfileops.c): Likewise.
21873 (CFLAGS-wgenops.c): Likewise.
21874 (CFLAGS-oldiofopen.c): Likewise.
21875 (CFLAGS-iofopen.c): Likewise.
21876 (CFLAGS-iofopen64.c): Likewise.
21877 (CFLAGS-oldtmpfile.c): Likewise.
21878 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21879 (CFLAGS-fprintf.c): Likewise.
21880 (CFLAGS-printf.c): Likewise.
21881 (CFLAGS-vfwprintf.c): Likewise.
21882 (CFLAGS-vfscanf.c): Likewise.
21883 (CFLAGS-vfwscanf.c): Likewise.
21884 (CFLAGS-fscanf.c): Likewise.
21885 (CFLAGS-scanf.c): Likewise.
21886 (CFLAGS-isoc99_vfscanf.c): Likewise.
21887 (CFLAGS-isoc99_vscanf.c): Likewise.
21888 (CFLAGS-isoc99_fscanf.c): Likewise.
21889 (CFLAGS-isoc99_scanf.c): Likewise.
21890 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21891 (CFLAGS-isoc99_fwscanf.c): Likewise.
21892 (CFLAGS-isoc99_vwscanf.c): Likewise.
21893 (CFLAGS-isoc99_vfwscanf.c): Likewise.
21894
21895 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21896 after mkstemp64.
21897 * login/tst-utmp.c (do_prepare): Likewise.
21898 * rt/tst-aio.c (do_prepare): Likewise.
21899 * rt/tst-aio64.c (do_prepare): Likewise.
21900
21901 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21902
21903 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21904 (__lll_lock_elision): Remove adapt_count decrement...
21905 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21906 (__lll_trylock_elision): Likewise.
21907 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21908 (__lll_unlock_elision): ... to here. And utilize
21909 new adapt_count parameter.
21910 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21911 (__lll_unlock_elision): Update to include adapt_count
21912 parameter.
21913 (lll_unlock_elision): Pass pointer to adapt_count
21914 variable.
21915
21916 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21917
21918 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21919 Add elision adapt_count parameter to list of arguments.
21920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21921 (lll_unlock_elision): Update with new parameter list
21922 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21923 (lll_unlock_elision): Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21925 (lll_unlock_elision): Likewise.
21926
21927 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
21928
21929 [BZ #19122]
21930 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21931 attribute_hidden.
21932
21933 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21934 attribute_hidden.
21935 [IS_IN (rtld)] (__strdup): Likewise.
21936 [IS_IN (rtld)] (__strerror_r): Likewise.
21937 [IS_IN (rtld)] (__strsep_g): Likewise.
21938 [IS_IN (rtld)] (memchr): Likewise.
21939 [IS_IN (rtld)] (memcmp): Likewise.
21940 [IS_IN (rtld)] (memcpy): Likewise.
21941 [IS_IN (rtld)] (memmove): Likewise.
21942 [IS_IN (rtld)] (memset): Likewise.
21943 [IS_IN (rtld)] (rawmemchr): Likewise.
21944 [IS_IN (rtld)] (stpcpy): Likewise.
21945 [IS_IN (rtld)] (strchr): Likewise.
21946 [IS_IN (rtld)] (strcmp): Likewise.
21947 [IS_IN (rtld)] (strlen): Likewise.
21948 [IS_IN (rtld)] (strnlen): Likewise.
21949 [IS_IN (rtld)] (strsep): Likewise.
21950
21951 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21952 attribute_hidden.
21953 [IS_IN (rtld)] (__strtoul_internal): Likewise.
21954
21955 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21956 attribute_hidden.
21957 [IS_IN (rtld)] (__libc_sigaction): Likewise.
21958
21959 * include/setjmp.h (__longjmp): Add attribute_hidden.
21960 [IS_IN (rtld)] (__sigsetjmp): Likewise.
21961
21962 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21963 Add attribute_hidden.
21964
21965 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21966 [IS_IN (rtld)] (__open): Likewise.
21967 [IS_IN (rtld)] (__fcntl): Likewise.
21968
21969 * include/dirent.h (__opendirat): Add attribute_hidden.
21970 (__getdents): Likewise.
21971 (__getdents64): Likewise.
21972 (__alloc_dir): Likewise.
21973 [IS_IN (rtld)] (__closedir): Likewise.
21974 [IS_IN (rtld)] (__fdopendir): Likewise.
21975 [IS_IN (rtld)] (__readdir): Likewise.
21976 [IS_IN (rtld)] (__readdir64): Likewise.
21977 [IS_IN (rtld)] (__rewinddir): Likewise.
21978
21979 * include/dlfcn.h (_dl_catch_error): Moved to ...
21980 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21981 attribute_hidden.
21982
21983 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21984 (_itoa_word): Likewise.
21985
21986 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21987 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21988 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21989 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21990 (_dl_higher_prime_number): Likewise.
21991 (_dl_debug_printf_c): Likewise.
21992 (_dl_signal_cerror): Likewise.
21993 (_dl_receive_error): Likewise.
21994 (_dl_reloc_bad_type): Likewise.
21995 (_dl_resolve_conflicts): Likewise.
21996 (_dl_check_all_versions): Likewise.
21997 (_dl_check_map_versions): Likewise.
21998 (_dl_sort_fini): Likewise.
21999 (_dl_debug_initialize): Likewise.
22000 (_dl_init_paths): Likewise.
22001 (_dl_show_auxv): Likewise.
22002 (_dl_next_ld_env_entry): Likewise.
22003 (_dl_important_hwcaps): Likewise.
22004 (_dl_load_cache_lookup): Likewise.
22005 (_dl_update_slotinfo): Likewise.
22006 (_dl_show_scope): Likewise.
22007
22008 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22009 attribute_hidden.
22010 (_wordcopy_fwd_dest_aligned): Likewise.
22011 (_wordcopy_bwd_aligned): Likewise.
22012 (_wordcopy_bwd_dest_aligned): Likewise.
22013
22014 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22015 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22016 Likewise.
22017 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22018 Likewise.
22019 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22020
22021 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22024 GCC 5 requirement.
22025
22026 2015-10-15 Joseph Myers <joseph@codesourcery.com>
22027
22028 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22029 test.
22030 * sysdeps/i386/configure: Regenerated.
22031 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22032 code unconditional.
22033
22034 * configure.ac (libc_cv_asm_previous_directive): Remove configure
22035 test.
22036 (libc_cv_asm_popsection_directive): Likewise.
22037 * configure: Regenerated.
22038 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22039 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22040 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22041 (__make_section_unallocated): Make definition unconditional.
22042 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22043 Remove conditional definition.
22044 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22045 (__make_section_unallocated): Likewise.
22046
22047 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22048 * configure: Regenerated.
22049 * config.make.in (static-libgcc): Remove variable.
22050 * Makerules (build-shlib-helper): Use -static-libgcc instead of
22051 $(static-libgcc).
22052 (build-module-helper): Likewise.
22053
22054 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22055 * configure: Regenerated.
22056
22057 2015-10-15 Florian Weimer <fweimer@redhat.com>
22058
22059 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22060 (struct char_buffer): New type.
22061 (char_buffer_start, char_buffer_size, char_buffer_error)
22062 (char_buffer_rewind, char_buffer_add): New functions.
22063 (ADDW): Remove macro, replaced by the char_buffer_add function.
22064 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22065 of extend_alloca. Make control flow more explicit.
22066
22067 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 [BZ #19137]
22070 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22071 Add -fomit-frame-pointer.
22072 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22073
22074 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
22075
22076 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22077 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22078 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22079 only if !__GNUC_PREREQ (5,0).
22080 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22081 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22082 (INTERNAL_SYSCALL_NCS): Likewise.
22083 (LOADREGS_0): New macro for GCC 5.
22084 (ASMARGS_0): Likewise.
22085 (LOADREGS_1): Likewise.
22086 (ASMARGS_1): Likewise.
22087 (LOADREGS_2): Likewise.
22088 (ASMARGS_2): Likewise.
22089 (LOADREGS_3): Likewise.
22090 (ASMARGS_3): Likewise.
22091 (LOADREGS_4): Likewise.
22092 (ASMARGS_4): Likewise.
22093 (LOADREGS_5): Likewise.
22094 (ASMARGS_5): Likewise.
22095 (LOADREGS_6): Likewise.
22096 (ASMARGS_6): Likewise.
22097
22098 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
22099
22100 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22101 -fomit-frame-pointer.
22102 (CFLAGS-mmap64.c): Likewise.
22103 (CFLAGS-semtimedop.c): Likewise.
22104 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22105 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22107 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22108
22109 2015-10-15 Florian Weimer <fweimer@redhat.com>
22110
22111 [BZ #18928]
22112 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22113 _dl_pointer_guard member.
22114 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22115 initializer.
22116 (security_init): Always set up pointer guard.
22117 (process_envvars): Do not process LD_POINTER_GUARD.
22118
22119 2015-10-14 Joseph Myers <joseph@codesourcery.com>
22120
22121 [BZ #19134]
22122 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22123 (.LC2): Likewise.
22124 (.LC3): Likewise.
22125 (__lround): Do not add 0.5 to integer or out-of-range arguments.
22126
22127 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
22128
22129 [BZ #19129]
22130 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22131 r0 and r1.
22132
22133 2015-10-14 Namhyung Kim <namhyung@gmail.com>
22134
22135 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22136
22137 2015-10-14 Carlos O'Donell <carlos@redhat.com>
22138
22139 * include/stap-probe.h: Fix macro definition formatting.
22140
22141 2015-10-14 Florian Weimer <fweimer@redhat.com>
22142
22143 [BZ #19074]
22144 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22145 load and store num_ifs.
22146
22147 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 [BZ #18822]
22150 * sysdeps/unix/sysv/linux/sched_getaffinity.c
22151 (__sched_getaffinity_new): Add libc_hidden_proto and
22152 libc_hidden_def.
22153
22154 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
22155
22156 [BZ #19007]
22157 * scripts/localplt.awk: Also allow GOT references.
22158 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22159 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22160 with "+ REL R_386_GLOB_DAT".
22161 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22162 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22163
22164 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22167 INLINE_SYSCALL_ERROR_RETURN_VALUE.
22168 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22169 Likewise.
22170 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22171 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22172 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22173 INTERNAL_SYSCALLINTERNAL_SYSCALL and
22174 INLINE_SYSCALL_ERROR_RETURN_VALUE.
22175 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22176 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22177 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22178 Likewise.
22179 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22180
22181 2015-10-13 Joseph Myers <joseph@codesourcery.com>
22182
22183 [BZ #19125]
22184 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22185 <math_private.h> and <stdint.h>.
22186 (__llround): Avoid conversions to and from long long int, and
22187 subtractions, where those might raise spurious exceptions.
22188 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22189 <math_private.h> and <stdint.h>.
22190 (__llroundf): Avoid conversions to and from long long int, and
22191 subtractions, where those might raise spurious exceptions.
22192
22193 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22196 INLINE_SYSCALL_ERROR_RETURN_VALUE.
22197 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22198 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22199 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22200 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22201 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22202 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22203 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22204 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22205 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22206 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22207 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22208 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22209 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22210 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22211 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22212 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22213 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22214 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22215 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22216 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22217 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22218 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22219 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22220 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22221 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22222 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22223 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22224 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22225 (__xstat64_conv): Likewise.
22226 (__xstat32_conv): Likewise.
22227
22228 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
22229
22230 * sysdeps/unix/sysv/linux/sysdep.h: New file.
22231 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22232 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22233 <sysdeps/unix/sysv/linux/sysdep.h>.
22234 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22235 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22236 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22237 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22238 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22239 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22240 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22241 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22242 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22245 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22247 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22250 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22251 (sysdep-dl-routines): Add sysdep.
22252 [$(subdir) == nptl] (libpthread-routines): Likewise.
22253 [$(subdir) == rt] (librt-routines): Likewise.
22254 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22255 PIC when branching to SYSCALL_ERROR_LABEL.
22256 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22258 <sysdeps/unix/sysv/linux/sysdep.h>.
22259 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22260 (SYSCALL_ERROR_ERRNO): Removed.
22261 (SYSCALL_ERROR_HANDLER): Changed to empty.
22262 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22263 (__syscall_error): New prototype.
22264 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22265 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22266
22267 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 [BZ #19124]
22270 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22271 (_dl_runtime_resolve_avx512): Make it a hidden alias of
22272 _dl_runtime_resolve_avx.
22273 (_dl_runtime_profile_avx512): Make it a hidden alias of
22274 _dl_runtime_profile_avx.
22275
22276 2015-10-13 Joseph Myers <joseph@codesourcery.com>
22277
22278 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22279 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22280 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22281 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22282
22283 [BZ #16422]
22284 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22285 New configure test.
22286 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22287 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22288 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22289 <math_private.h> and <stdint.h>.
22290 (__llrint): Avoid conversions to long long int where those might
22291 raise spurious exceptions.
22292 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22293 <math_private.h> and <stdint.h>.
22294 (__llrintf): Avoid conversions to long long int where those might
22295 raise spurious exceptions.
22296
22297 2015-10-12 Andreas Schwab <schwab@suse.de>
22298
22299 [BZ #18969]
22300 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
22301 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22302 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
22303 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22304 $(gen-locales).
22305 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
22306 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22307 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22308 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22309 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22310 $(gen-locales).
22311 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
22312 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22313 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22314 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22315 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22316 ($(objpfx)tst-ftell-active-handler.out)
22317 ($(objpfx)tst-ftell-append.out)
22318 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22319 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22320 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22321 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22322 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
22323 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22324 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22325 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22326 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22327 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22328 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22329 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22330 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22331 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22332 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22333 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22334 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22335 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22336 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
22337 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22338 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22339 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22340 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22341 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
22342 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22343 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22344 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22345 $(gen-locales).
22346 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
22347 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22348 $(gen-locales).
22349 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
22350 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22351 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22352 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22353 $(gen-locales).
22354 * libio/tst_wprintf2.c (main): Use explicit locale.
22355 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22356
22357 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22358
22359 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22360 __msg_sig_post.
22361 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22362
22363 2015-10-09 Joseph Myers <joseph@codesourcery.com>
22364
22365 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22367
22368 * sysdeps/arm/libm-test-ulps: Regenerated.
22369
22370 [BZ #15470]
22371 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22372
22373 [BZ #16399]
22374 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22375 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22376 and <fix-fp-int-convert-overflow.h>.
22377 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22378 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22379 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22380 and <fix-fp-int-convert-overflow.h>.
22381 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22382 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22383 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22384 <fix-fp-int-convert-overflow.h>.
22385 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22386 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22387 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22388 <fix-fp-int-convert-overflow.h>.
22389 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22390 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22391 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22392 and <fix-fp-int-convert-overflow.h>.
22393 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22394 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22395 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22396 <limits.h> and <fix-fp-int-convert-overflow.h>.
22397 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22398 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22399 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22400 and <fix-fp-int-convert-overflow.h>.
22401 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22402 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22403 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22404 and <fix-fp-int-convert-overflow.h>.
22405 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22406 FIX_DBL_LLONG_CONVERT_OVERFLOW.
22407 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22408
22409 2015-10-09 Carlos O'Donell <carlos@redhat.com>
22410
22411 [BZ #18589]
22412 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22413 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22414 $(gen-locales).
22415
22416 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22417 Phil Blundell <pb@pbcl.net>
22418
22419 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22420 * nptl/tst-cancel26.c: New file.
22421 * nptl/tst-cancel27.c: Likewise.
22422
22423 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
22424
22425 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22426 __ILP32__ isn't defined.
22427 (lrint): Likewise.
22428 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22429 (lrintf): Likewise.
22430 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22431 (lrintl): Likewise.
22432 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22433 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22434 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22435
22436 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22437
22438 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22439 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22440
22441 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22442 file.
22443 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22444 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22445
22446 2015-10-09 Joseph Myers <joseph@codesourcery.com>
22447
22448 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22449 configure test.
22450 * sysdeps/i386/configure: Regenerated.
22451 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22452 configure test.
22453 * sysdeps/x86_64/configure: Regenerated.
22454 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22455 Make code unconditional.
22456
22457 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22458 test.
22459 * sysdeps/i386/configure: Regenerated.
22460 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22461 test.
22462 * sysdeps/x86_64/configure: Regenerated.
22463 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22464 Make code unconditional.
22465 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22466 Likewise.
22467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22468 Likewise.
22469 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22470 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22471 code unconditional.
22472 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22473 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22474 code unconditional.
22475 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22476 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22477 code unconditional.
22478 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22479 code unconditional.
22480 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22481 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22482 code unconditional.
22483 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22484 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22485 code unconditional.
22486 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22487 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22488 code unconditional.
22489 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22490 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22491 code unconditional.
22492 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22493 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22494
22495 [BZ #19095]
22496 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22497 mantissa to long int before shifting left.
22498
22499 2015-10-08 Joseph Myers <joseph@codesourcery.com>
22500
22501 [BZ #19094]
22502 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22503 <limits.h>.
22504 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22505 when result overflows but exception would not result from cast.
22506 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22507 <limits.h>.
22508 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22509 when result overflows but exception would not result from cast.
22510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22511 <limits.h>.
22512 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22513 when result overflows but exception would not result from cast.
22514 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22515 <limits.h>.
22516 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22517 when result overflows but exception would not result from cast.
22518 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22519 <limits.h>.
22520 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22521 when result overflows but exception would not result from cast.
22522 * math/libm-test.inc (lrint_test_data): Add more tests.
22523 (llrint_test_data): Likewise.
22524
22525 2015-10-08 Roland McGrath <roland@hack.frob.com>
22526
22527 [BZ #18872]
22528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22529 Move out from under [$(run-built-tests) = yes] conditional.
22530 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22531 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22532
22533 2015-10-08 Carlos O'Donell <carlos@redhat.com>
22534
22535 [BZ #18589]
22536 * string/Makefile (tests): Add bug-strcoll2.
22537 (LOCALES): Add cs_CZ.UTF-8.
22538 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22539
22540 [BZ #18589]
22541 * string/bug-strcoll2.c: New file.
22542 * locale/categories.def: Revert commit
22543 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22544 * locale/langinfo.h: Likewise.
22545 * locale/localeinfo.h: Likewise.
22546 * locale/C-collate.c: Likewise.
22547 * locale/programs/ld-collate.c (collate_output): Likewise.
22548 * string/strcoll_l.c (STRDIFF): Likewise.
22549 (STRCOLL): Likewise.
22550 * wcsmbs/wcscoll_l.c: Likewise.
22551
22552 2015-10-08 Joseph Myers <joseph@codesourcery.com>
22553
22554 * math/libm-test.inc (lround_test_data): Do not expect the absence
22555 of "inexact" for some tests with non-integer arguments.
22556 (llround_test_data): Likewise.
22557
22558 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22559 test.
22560 (libc_cv_cc_sse2avx): Likewise.
22561 * sysdeps/i386/configure: Regenerated.
22562 * sysdeps/i386/i686/multiarch/Makefile
22563 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22564 [$(subdir) = math].
22565 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22566 code unconditional.
22567 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22568 Likewise.
22569 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22570 Likewise.
22571 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22572 Likewise.
22573 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22574 test.
22575 (libc_cv_cc_sse2avx): Likewise.
22576 * sysdeps/x86_64/configure: Regenerated.
22577 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22578 unconditional.
22579 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22580 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22581 unconditional.
22582 (_dl_runtime_profile)
22583 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22584 conditional code.
22585 * sysdeps/x86_64/fpu/multiarch/Makefile
22586 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22587 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22588 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22589 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22590 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22591 * sysdeps/x86_64/fpu/multiarch/e_log.c
22592 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22593 * sysdeps/x86_64/fpu/multiarch/s_atan.c
22594 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22595 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22596 Likewise.
22597 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22598 Likewise.
22599 * sysdeps/x86_64/fpu/multiarch/s_sin.c
22600 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22601 * sysdeps/x86_64/fpu/multiarch/s_tan.c
22602 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22603 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22604 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22605 (HAVE_SSE2AVX_SUPPORT): Likewise.
22606
22607 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
22608
22609 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22610 instead of #pragma optimize.
22611
22612 2015-10-07 Carlos O'Donell <carlos@redhat.com>
22613
22614 [BZ #17195]
22615 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22616 as is similarly done in systrim and _int_free already.
22617
22618 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
22619
22620 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22621
22622 2015-10-07 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #19088]
22625 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22626 <limits.h>.
22627 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22628 overflows but exception would not result from cast.
22629 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22630 and <limits.h>.
22631 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22632 overflows but exception would not result from cast.
22633 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22634 <limits.h>.
22635 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22636 overflows but exception would not result from cast.
22637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22638 <limits.h>.
22639 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22640 overflows but exception would not result from cast.
22641 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22642 <limits.h>.
22643 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22644 overflows but exception would not result from cast.
22645 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22646 <limits.h>.
22647 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22648 overflows but exception would not result from cast.
22649 * math/libm-test.inc (lround_test_data): Add more tests.
22650 (llround_test_data): Likewise.
22651
22652 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
22653
22654 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22655 (CFLAGS-ialloc.c): Ditto.
22656 (CFLAGS-scheck.c): Ditto.
22657
22658 2015-10-07 Carlos O'Donell <carlos@redhat.com>
22659
22660 [BZ #19086]
22661 * manual/filesys.texi (Storage Allocation): Fix argument order for
22662 posix_fallocate64.
22663
22664 2015-10-07 Joseph Myers <joseph@codesourcery.com>
22665
22666 [BZ #19085]
22667 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22668 exponent below 48 inside case for non-overflowing exponent.
22669 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22670
22671 2015-10-07 Florian Weimer <fweimer@redhat.com>
22672
22673 * iconvdata/cp737.h (from_idx): Add const.
22674 * iconvdata/cp775.h (from_idx): Likewise.
22675
22676 2015-10-07 Joseph Myers <joseph@codesourcery.com>
22677
22678 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22679 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22680 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22681
22682 [BZ #19079]
22683 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22684 file, conditioned on [!_LP64].
22685 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22686 [!_LP64] (__lround): Do not define as function or alias.
22687 [!_LP64] (lround): Likewise.
22688 [!_LP64] (__lroundl): Likewise.
22689 [!_LP64] (lroundl): Likewise.
22690 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22691 macro.
22692 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22693 Likewise.
22694
22695 2015-10-06 Joseph Myers <joseph@codesourcery.com>
22696
22697 * math/libm-test.inc (lrint_test_data): Add more tests.
22698 (llrint_test_data): Likewise.
22699 (lround_test_data): Likewise.
22700 (llround_test_data): Likewise.
22701
22702 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22703 (llrint_test_data): Add tests used for lrint.
22704
22705 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22706 test.
22707 * sysdeps/i386/configure: Regenerated.
22708 * sysdeps/i386/i686/multiarch/Makefile
22709 [$(config-cflags-sse4) = yes]: Make code unconditional.
22710 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22711 Likewise.
22712 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22713 Likewise.
22714 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22715 test.
22716 * sysdeps/x86_64/configure: Regenerated.
22717 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22718 Make code unconditional.
22719 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22720 Likewise.
22721 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22722 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22723
22724 * scripts/rpm2dynsym.sh: Remove file.
22725
22726 2015-10-06 Florian Weimer <fweimer@redhat.com>
22727
22728 * configure.ac (libc_cv_cxx_thread_local): Define.
22729 * configure: Regenerate.
22730 * config.make.in (have-cxx-thread_local): Define.
22731 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22732 (LDLIBS-tst-thread_local1): Define.
22733 (tests): Add tst-thread_local1.
22734 [have-cxx-thread_local != yes] (tests-unsupported): Add
22735 tst-thread_local1.
22736 * nptl/tst-thread_local1.cc: New file.
22737
22738 2015-10-06 Joseph Myers <joseph@codesourcery.com>
22739
22740 [BZ #19078]
22741 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22742 (u_thres): Likewise.
22743 (__expl): Determine whether to call __kernel_standard_l based on
22744 value of result, not argument.
22745
22746 * math/libm-test.inc (scalb_test_data): Add more expectations for
22747 the "inexact" exception.
22748
22749 [BZ #19077]
22750 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22751 0.0L for argument 1.0L.
22752
22753 [BZ #19076]
22754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22755 constant 0.0L when computing infinite result.
22756
22757 2015-10-06 Florian Weimer <fweimer@redhat.com>
22758
22759 [BZ #10432]
22760 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22761 malloc_usable_size.
22762
22763 2015-10-06 Florian Weimer <fweimer@redhat.com>
22764
22765 [BZ #19018]
22766 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22767 Mangle function pointer before storing it.
22768 (__call_tls_dtors): Demangle function pointer before calling it.
22769
22770 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22771
22772 [BZ #19012]
22773 * iconv/gconv_db.c (gen_steps): Check for additional errors.
22774 Clean up on failure.
22775
22776 2015-10-05 Joseph Myers <joseph@codesourcery.com>
22777
22778 [BZ #19071]
22779 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22780 long int variable to store possibly incremented high part of
22781 mantissa.
22782 * math/libm-test.inc (lround_test_data): Add tests used for
22783 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
22784 for tests requiring 64-bit long. Do not condition tests on
22785 [TEST_FLOAT] unnecessarily.
22786 (llround_test_data): Add tests used for lround. Add another
22787 expectation for the "inexact" exception. Do not condition tests
22788 on [TEST_FLOAT] unnecessarily.
22789
22790 [BZ #887]
22791 [BZ #19049]
22792 [BZ #19050]
22793 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22794 * sysdeps/ieee754/dbl-64/e_log10.c: Include
22795 <fix-int-fp-convert-zero.h>.
22796 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22797 * sysdeps/ieee754/dbl-64/e_log2.c: Include
22798 <fix-int-fp-convert-zero.h>.
22799 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22800 * sysdeps/ieee754/dbl-64/s_erf.c: Include
22801 <fix-int-fp-convert-zero.h>.
22802 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22803 * sysdeps/ieee754/dbl-64/s_logb.c: Include
22804 <fix-int-fp-convert-zero.h>.
22805 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22806 * sysdeps/ieee754/flt-32/e_log10f.c: Include
22807 <fix-int-fp-convert-zero.h>.
22808 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22809 * sysdeps/ieee754/flt-32/e_log2f.c: Include
22810 <fix-int-fp-convert-zero.h>.
22811 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22812 * sysdeps/ieee754/flt-32/s_erff.c: Include
22813 <fix-int-fp-convert-zero.h>.
22814 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22815 * sysdeps/ieee754/flt-32/s_logbf.c: Include
22816 <fix-int-fp-convert-zero.h>.
22817 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22819 <fix-int-fp-convert-zero.h>.
22820 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22822 <fix-int-fp-convert-zero.h>.
22823 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22824 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22825 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22826 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22827 file.
22828 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22829
22830 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
22831
22832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22833
22834 2015-10-02 Joseph Myers <joseph@codesourcery.com>
22835
22836 [BZ #19059]
22837 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22838 overflowing computation.
22839 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22840 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22842 Likewise.
22843 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22844 Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22846 Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22848 Likewise.
22849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22851 Likewise.
22852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22853 Likewise.
22854 * math/libm-test.inc (nexttoward_test_data): Add more tests.
22855
22856 * nss/rewrite_field.c (__nss_rewrite_field): Use
22857 internal_function.
22858 * nss/valid_field.c (__nss_valid_field): Likewise.
22859 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22860
22861 2015-10-02 Florian Weimer <fweimer@redhat.com>
22862
22863 [BZ #18724]
22864 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22865 (__nss_invalid_field_characters, __nss_valid_field)
22866 (__nss_valid_list_field, __nss_rewrite_field): Declare.
22867 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22868 tst-field.c: New file.
22869 * nss/Makefile (routines): Add valid_field, rewrite_field.
22870 (tests-static): Define unconditionally.
22871 (tests): Include tests-static.
22872 [build-static-nss] (tests-static): Use append.
22873 [build-static-nss] (tests): Remove modification.
22874 * nss/getent.c (print_group): Call putgrent. Report error.
22875 (print_gshadow): Call putsgent. Report error.
22876 (print_passwd): Call putpwent. Report error.
22877 (print_shadow): Call putspent. Report error.
22878 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22879 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22880 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
22881 name, password, directory, shell fields for valid syntax. Rewrite
22882 GECOS field to match syntax.
22883 * pwd/Makefile (tests): Add tst-putpwent.
22884 * pwd/tst-putpwent.c: New file.
22885 * grp/putgrent.c (putgrent): Convert to ISO function definition.
22886 Check grName, grpasswd, gr_mem fields for valid syntax.
22887 Change loop variable i to size_t.
22888 * grp/Makefile (tests): Add tst-putgrent.
22889 * grp/tst-putgrent.c: New file.
22890 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22891 valid syntax.
22892 * shadow/Makefile (tests): Add tst-putspent.
22893 * shadow/tst-putspent.c: New file.
22894 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22895 sg_mem fields for valid syntax.
22896 * gshadow/Makefile (tests): Add tst-putsgent.
22897 * gshadow/tst-putsgent.c: New file.
22898
22899 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22900
22901 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22902 assembly instructions.
22903
22904 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22905
22906 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22907 prefix from operands.
22908
22909 2015-10-01 Joseph Myers <joseph@codesourcery.com>
22910
22911 [BZ #16347]
22912 [BZ #19046]
22913 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22914 <libc-internal.h>.
22915 (MAXLGM): Do not use diagnostic control macros.
22916 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22917 threshold for ldbl-128ibm.
22918 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22919 instead of multiplying by log then subtracting.
22920 * math/auto-libm-test-in: Add more tests of lgamma.
22921 * math/auto-libm-test-out: Regenerated.
22922
22923 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22924 (TYPE_HEX_DIG): Likewise.
22925 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22926 precisions when printing floating-point numbers.
22927 (check_float_internal): Likewise.
22928
22929 2015-09-30 Joseph Myers <joseph@codesourcery.com>
22930
22931 [BZ #16620]
22932 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22933 of log (10) rounded downward to 48 bits.
22934 (log10_low): Use corresponding low part of log (10).
22935
22936 [BZ #19032]
22937 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22938 compute result as (x - x) / (x - x) not as 0 / 0.
22939 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22940 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22941
22942 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22943 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22944 and expm1.
22945 * math/auto-libm-test-out: Regenerated.
22946 * math/libm-test.inc (acos_test_data): Add more tests.
22947 (asin_test_data): Likewise.
22948 (asinh_test_data): Likewise.
22949 (atan_test_data): Likewise.
22950 (atanh_test_data): Likewise.
22951 (atan2_test_data): Likewise.
22952 (cbrt_test_data): Likewise.
22953 (ceil_test_data): Likewise.
22954 (copysign_test_data): Likewise.
22955 (cos_test_data): Likewise.
22956 (cosh_test_data): Likewise.
22957 (erf_test_data): Likewise.
22958 (erfc_test_data): Likewise.
22959 (exp_test_data): Likewise.
22960 (exp10_test_data): Likewise.
22961 (exp2_test_data): Likewise.
22962 (expm1_test_data): Likewise.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22964
22965 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
22966
22967 [BZ #19006]
22968 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22969 to ...
22970 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22971 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22972 to ...
22973 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22974 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22975 to ...
22976 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22977 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22978 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22979 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22980 to ...
22981 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22982 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22983 Moved to ...
22984 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22985 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22986 Moved to ...
22987 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22988 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22989 to ...
22990 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22991 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22992 Moved to ...
22993 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22994 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22995 to ...
22996 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22997 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22998 Removed.
22999 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23000 Likewise.
23001 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23002 Likewise.
23003 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23004 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23005 Likewise.
23006 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23007 Likewise.
23008 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23009 Likewise.
23010 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23011 Likewise.
23012 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23013 Likewise.
23014 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23015 Likewise.
23016 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23017 Likewise.
23018 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23019 Likewise.
23020 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23021 Likewise.
23022 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23023 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23024 Likewise.
23025 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23026 Likewise.
23027 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23028 Likewise.
23029 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23030 Likewise.
23031 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23032 Likewise.
23033 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23034 Replace ../i486/pthread_cond_timedwait.S with
23035 ../pthread_cond_timedwait.S.
23036
23037 2015-09-30 Joseph Myers <joseph@codesourcery.com>
23038
23039 * math/libm-test.inc (acos_test_data): Refine expectations for
23040 errno and "inexact" exceptions.
23041 (acosh_test_data): Likewise.
23042 (asin_test_data): Likewise.
23043 (asinh_test_data): Likewise.
23044 (atan_test_data): Likewise.
23045 (atanh_test_data): Likewise.
23046 (atan2_test_data): Likewise.
23047 (cbrt_test_data): Likewise.
23048 (ceil_test_data): Likewise.
23049 (copysign_test_data): Likewise.
23050 (cosh_test_data): Likewise.
23051 (erf_test_data): Likewise.
23052 (erfc_test_data): Likewise.
23053 (exp_test_data): Likewise.
23054 (exp10_test_data): Likewise.
23055 (exp2_test_data): Likewise.
23056 (expm1_test_data): Likewise.
23057 (fabs_test_data): Likewise.
23058 (floor_test_data): Likewise.
23059 (fma_test_data): Likewise.
23060 (fmax_test_data): Likewise.
23061 (fmin_test_data): Likewise.
23062 (fmod_test_data): Likewise.
23063 (fpclassify_test_data): Likewise.
23064 (frexp_test_data): Likewise.
23065 (hypot_test_data): Likewise.
23066 (ilogb_test_data): Likewise.
23067 (isgreater_test_data): Likewise.
23068 (isgreaterequal_test_data): Likewise.
23069 (isinf_test_data): Likewise.
23070 (isless_test_data): Likewise.
23071 (islessequal_test_data): Likewise.
23072 (islessgreater_test_data): Likewise.
23073 (isnan_test_data): Likewise.
23074 (isnormal_test_data): Likewise.
23075 (issignaling_test_data): Likewise.
23076 (isunordered_test_data): Likewise.
23077 (j0_test_data): Likewise.
23078 (j1_test_data): Likewise.
23079 (jn_test_data): Likewise.
23080 (lgamma_test_data): Likewise.
23081 (lrint_test_data): Likewise.
23082 (llrint_test_data): Likewise.
23083 (log_test_data): Likewise.
23084 (log10_test_data): Likewise.
23085 (log1p_test_data): Likewise.
23086 (log2_test_data): Likewise.
23087 (logb_test_data): Likewise.
23088 (lround_test_data): Likewise.
23089 (llround_test_data): Likewise.
23090 (modf_test_data): Likewise.
23091 (nearbyint_test_data): Likewise.
23092 (nextafter_test_data): Likewise.
23093 (nexttoward_test_data): Likewise.
23094 (pow_test_data): Likewise.
23095 (remainder_test_data): Likewise.
23096 (remquo_test_data): Likewise.
23097 (rint_test_data): Likewise.
23098 (round_test_data): Likewise.
23099 (signbit_test_data): Likewise.
23100 (sinh_test_data): Likewise.
23101 (sqrt_test_data): Likewise.
23102 (tanh_test_data): Likewise.
23103 (tgamma_test_data): Likewise.
23104 (trunc_test_data): Likewise.
23105 (y0_test_data): Likewise.
23106 (y1_test_data): Likewise.
23107 (yn_test_data): Likewise.
23108 (significand_test_data): Likewise.
23109
23110 2015-09-29 Carlos O'Donell <carlos@redhat.com>
23111
23112 * manual/filesys.texi (Storage Allocation): Document that
23113 posix_fallocate emulation fails when fd is open with O_WRONLY.
23114
23115 2015-09-28 Joseph Myers <joseph@codesourcery.com>
23116
23117 [BZ #19016]
23118 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23119 allow more cases with X^2 + Y^2 >= 0.5.
23120 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
23121 normal element in sum instead of special-casing based on values of
23122 arguments.
23123 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23124 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
23125 -1 as normal element in sum instead of special-casing based on
23126 values of arguments.
23127 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23128 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23129 (__x2y2m1): Update comment.
23130 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
23131 as normal element in sum instead of special-casing based on values
23132 of arguments.
23133 * math/s_clog.c (__clog): Handle more cases using log1p without
23134 hypot.
23135 * math/s_clog10.c (__clog10): Likewise.
23136 * math/s_clog10f.c (__clog10f): Likewise.
23137 * math/s_clog10l.c (__clog10l): Likewise.
23138 * math/s_clogf.c (__clogf): Likewise.
23139 * math/s_clogl.c (__clogl): Likewise.
23140 * math/auto-libm-test-in: Add more tests of clog and clog10.
23141 * math/auto-libm-test-out: Regenerated.
23142 * sysdeps/i386/fpu/libm-test-ulps: Update.
23143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144
23145 2015-09-28 Martin Sebor <msebor@redhat.com>
23146
23147 [BZ #18969]
23148 * string/Makefile (LOCALES): Define.
23149 (gen-locales.mk): Include.
23150 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23151 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23152 * string/tst-strxfrm2.c (do_test): Print the name of the locale
23153 on setlocale failure.
23154
23155 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23156
23157 [BZ #18985]
23158 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23159 (__strftime_internal): Likewise.
23160 * time/tst-strftime.c (do_bz18985): New test.
23161 (do_test): Call it.
23162
23163 2015-09-26 Joseph Myers <joseph@codesourcery.com>
23164
23165 [BZ #18956]
23166 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23167 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
23168 extracting high part.
23169 * math/auto-libm-test-in: Add another test of pow.
23170 * math/auto-libm-test-out: Regenerated.
23171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23172
23173 2015-09-25 Joseph Myers <joseph@codesourcery.com>
23174
23175 [BZ #18825]
23176 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23177 New macro.
23178 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23179 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23180 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23181 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23182 DBL_NARROW_EVAL, reloading the PIC register as needed.
23183 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23184 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23185 FLT_NARROW_EVAL. Use separate return path for case when first
23186 argument is NaN.
23187 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
23188 DEFINE_LDBL_MIN.
23189 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23190 PIC register.
23191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23192 math_check_force_underflow_nonneg.
23193 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23194 underflow for subnormal result.
23195 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23197 math_check_force_underflow_nonneg.
23198 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23199 math_check_force_underflow.
23200 * sysdeps/x86_64/fpu/x86_64-math-asm.h
23201 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23202 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
23203 DEFINE_LDBL_MIN.
23204 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23205 * math/auto-libm-test-in: Add more tests of pow.
23206 * math/auto-libm-test-out: Regenerated.
23207
23208 2015-09-25 Florian Weimer <fweimer@redhat.com>
23209
23210 * nss/bug17079.c (init_test_items): Add diagnostic for
23211 inconsistent entries.
23212 (test_buffer_size): Skip inconsistent entries.
23213
23214 2015-09-25 Joseph Myers <joseph@codesourcery.com>
23215
23216 [BZ #13304]
23217 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23218 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23219 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23220
23221 [BZ #13304]
23222 * sysdeps/microblaze/s_fma.c: New file.
23223 * sysdeps/microblaze/s_fmaf.c: Likewise.
23224 * sysdeps/microblaze/sfp-machine.h: Likewise.
23225
23226 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
23227
23228 [BZ #17250]
23229 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23230 member.
23231
23232 2015-09-24 Joseph Myers <joseph@codesourcery.com>
23233
23234 [BZ #18803]
23235 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23236 (MO): New macro.
23237 (__ieee754_hypot) [PIC]: Load PIC register.
23238 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23239 DBL_NARROW_EVAL.
23240 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23241 math_check_force_underflow_nonneg in case where result might be
23242 tiny.
23243 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23244 Likewise.
23245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23246 Likewise.
23247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23249 * math/auto-libm-test-in: Add more tests of hypot.
23250 * math/auto-libm-test-out: Regenerated.
23251
23252 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
23253
23254 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23255
23256 2015-09-24 Joseph Myers <joseph@codesourcery.com>
23257
23258 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23259 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23260 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23261 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23262 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23263 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23264 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23265
23266 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23267 LOAD_PIC_REG.
23268
23269 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23270 (FLT_CHECK_FORCE_UFLOW): Likewise.
23271 (DBL_CHECK_FORCE_UFLOW): Likewise.
23272 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23273 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23274 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23275 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23276 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23277 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23278 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23279 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23280 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23281 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23282 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23283 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23284 (flt_min): Replace with use of DEFINE_FLT_MIN.
23285 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23286 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23287 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23288 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23289 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23290 (flt_min): Replace with use of DEFINE_FLT_MIN.
23291 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23292 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23293 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23294 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23295 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23296 (flt_min): Replace with use of DEFINE_FLT_MIN.
23297 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23298 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23299 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23300 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23301 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23302 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23303 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23304 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23305 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23306 (__atan): Use DBL_CHECK_FORCE_UFLOW.
23307 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23308 (flt_min): Replace with use of DEFINE_FLT_MIN.
23309 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23310 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23311 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23312 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
23313 main computation.
23314 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23315 (flt_min): Replace with use of DEFINE_FLT_MIN.
23316 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
23317 main computation.
23318 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23319 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23320 (MO): New macro.
23321 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23322 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23323 (flt_min): Replace with use of DEFINE_FLT_MIN.
23324 (MO): New macro.
23325 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23326 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23327 (__log1pl): Use MO.
23328
23329 [BZ #19003]
23330 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23331 $(config-cflags-nofma).
23332
23333 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23334
23335 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23336
23337 2015-09-23 Joseph Myers <joseph@codesourcery.com>
23338
23339 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23340 (TWO127): Likewise.
23341
23342 * sysdeps/generic/math_private.h (fabs_tg): New macro.
23343 (min_of_type): Likewise.
23344 (math_check_force_underflow): Likewise.
23345 (math_check_force_underflow_nonneg): Likewise.
23346 (math_check_force_underflow_complex): Likewise.
23347 * math/e_exp2l.c (__ieee754_exp2l): Use
23348 math_check_force_underflow_nonneg.
23349 * math/k_casinh.c (__kernel_casinh): Likewise.
23350 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23351 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23352 * math/s_catan.c (__catan): Use
23353 math_check_force_underflow_complex.
23354 * math/s_catanf.c (__catanf): Likewise.
23355 * math/s_catanh.c (__catanh): Likewise.
23356 * math/s_catanhf.c (__catanhf): Likewise.
23357 * math/s_catanhl.c (__catanhl): Likewise.
23358 * math/s_catanl.c (__catanl): Likewise.
23359 * math/s_ccosh.c (__ccosh): Likewise.
23360 * math/s_ccoshf.c (__ccoshf): Likewise.
23361 * math/s_ccoshl.c (__ccoshl): Likewise.
23362 * math/s_cexp.c (__cexp): Likewise.
23363 * math/s_cexpf.c (__cexpf): Likewise.
23364 * math/s_cexpl.c (__cexpl): Likewise.
23365 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23366 * math/s_clog10.c (__clog10): Likewise.
23367 * math/s_clog10f.c (__clog10f): Likewise.
23368 * math/s_clog10l.c (__clog10l): Likewise.
23369 * math/s_clogf.c (__clogf): Likewise.
23370 * math/s_clogl.c (__clogl): Likewise.
23371 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23372 * math/s_csinf.c (__csinf): Likewise.
23373 * math/s_csinh.c (__csinh): Likewise.
23374 * math/s_csinhf.c (__csinhf): Likewise.
23375 * math/s_csinhl.c (__csinhl): Likewise.
23376 * math/s_csinl.c (__csinl): Likewise.
23377 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23378 * math/s_csqrtf.c (__csqrtf): Likewise.
23379 * math/s_csqrtl.c (__csqrtl): Likewise.
23380 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23381 * math/s_ctanf.c (__ctanf): Likewise.
23382 * math/s_ctanh.c (__ctanh): Likewise.
23383 * math/s_ctanhf.c (__ctanhf): Likewise.
23384 * math/s_ctanhl.c (__ctanhl): Likewise.
23385 * math/s_ctanl.c (__ctanl): Likewise.
23386 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23387 instead of volatile.
23388 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23389 math_check_force_underflow.
23390 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23391 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23392 volatile when forcing underflow.
23393 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23394 math_check_force_underflow_nonneg.
23395 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23396 Likewise.
23397 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23398 math_check_force_underflow.
23399 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23400 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23401 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23402 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23403 math_check_force_underflow_nonneg.
23404 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23405 math_check_force_underflow.
23406 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23408 instead of volatile.
23409 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23410 math_check_force_underflow.
23411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23412 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23413 math_check_force_underflow_nonneg.
23414 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23415 math_check_force_underflow.
23416 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23417 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23418 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23419 math_check_force_underflow_nonneg.
23420 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23421 Likewise.
23422 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23423 math_check_force_underflow.
23424 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23425 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23426 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23427 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23428 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23429 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23430 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23431 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23432 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23433 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23435 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23436 Likewise.
23437 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23438 math_check_force_underflow_nonneg.
23439 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23440 Likewise.
23441 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23442 math_check_force_underflow.
23443 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23444 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23446 Likewise.
23447 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23448 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23449 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23450 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23452 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23454 instead of volatile.
23455 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23456 math_check_force_underflow.
23457 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23459 math_check_force_underflow.
23460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23461 Likewise.
23462 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23463 Use math_check_force_underflow_nonneg.
23464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23465 math_check_force_underflow.
23466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23467 Likewise.
23468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23469 Likewise.
23470 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23471 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23472 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23474 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23476 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23477 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23479 math_check_force_underflow_nonneg.
23480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23481 math_check_force_underflow.
23482 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23483 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23484 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23485 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23486 math_check_force_underflow_nonneg.
23487 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23488 math_check_force_underflow.
23489 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23491 instead of volatile.
23492 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23493 math_check_force_underflow.
23494
23495 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23496 * stdlib/strtod_l.c: Include <math_private.h>.
23497 (overflow_value): Use math_narrow_eval.
23498 (underflow_value): Likewise.
23499 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23500 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23501 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23502 (__ieee754_gamma_r): Likewise.
23503 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23504 Likewise.
23505 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23506 Likewise.
23507 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23508 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23509 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23510 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23511 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23512 (__ieee754_gammaf_r): Likewise.
23513 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23514 Likewise.
23515 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23516 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23517 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23518 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23519 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23520 volatile.
23521 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23523 math_narrow_eval.
23524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23525 Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23527 Likewise.
23528 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23529 Likewise.
23530 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23531 volatile.
23532 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23533 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23534 math_narrow_eval.
23535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23536 Likewise.
23537 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23538 Likewise.
23539
23540 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
23541
23542 * nptl/Versions: Remove ignored symbols.
23543
23544 2015-09-22 Florian Weimer <fweimer@redhat.com>
23545
23546 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
23547 * nss/Makefile (tests): Update.
23548
23549 2015-09-22 Florian Weimer <fweimer@redhat.com>
23550
23551 * nss/bug18287.c: New file.
23552 * nss/Makefile (tests): Add bug18287.
23553
23554 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23555
23556 * mach/Versions (__mach_host_self_): Add symbol.
23557
23558 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
23559
23560 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23561 vm_page_size.
23562
23563 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
23564
23565 Really fix sysdeps/i386/fpu/s_scalbn.S build
23566
23567 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23568 (libc: GLIBC_2_22): Remove unused version set.
23569
23570 2015-09-18 Mike Frysinger <vapier@gentoo.org>
23571
23572 * config.make.in (enable-timezone-tools): New variable.
23573 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23574 (enable_timezone_tools): Export to generated files.
23575 * configure: Regenerate.
23576 * INSTALL: Regenerate.
23577 * manual/install.texi (--disable-timezone-tools): Document new flag.
23578 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23579 ifeq ($(enable-timezone-tools),yes) check.
23580
23581 2015-09-18 Joseph Myers <joseph@codesourcery.com>
23582
23583 * timezone/Makefile: Revert previous change.
23584
23585 [BZ #18980]
23586 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23587 (DEFINE_DBL_MIN): Likewise.
23588 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23589 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23590 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23591 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23592 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23593 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23594 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23595 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23596 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23597 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23598 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23599 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23600 (flt_min): Replace with use of DEFINE_FLT_MIN.
23601 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23602 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23603 (dbl_min): Replace with use of DEFINE_DBL_MIN.
23604 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23605 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23606 (flt_min): Replace with use of DEFINE_FLT_MIN.
23607 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23608 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23609 (flt_min): Replace with use of DEFINE_FLT_MIN.
23610 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23611 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23612 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23613 (__ieee754_hypot): Use DBL_NARROW_EVAL.
23614 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23615 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23616 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23617 (__ieee754_pow): Use DBL_NARROW_EVAL.
23618 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23619 (__ieee754_powf): Use FLT_NARROW_EVAL.
23620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23621 (__ieee754_expf_sse2): Convert double-precision result to single
23622 precision.
23623 * sysdeps/i386/fpu/libm-test-ulps: Update.
23624
23625 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23626
23627 * timezone/Makefile: Ignore unused variable errors due to private.h
23628 (time_t_min) and (time_t_max).
23629 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
23630 Likewise.
23631
23632 2015-09-18 Joseph Myers <joseph@codesourcery.com>
23633
23634 [BZ #18981]
23635 * sysdeps/i386/fpu/i386-math-asm.h: New file.
23636 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23637 (__ieee754_scalb): Use DBL_NARROW_EVAL.
23638 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23639 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23640 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23641 (__scalbn): Use DBL_NARROW_EVAL.
23642 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23643 (__scalbnf): Use FLT_NARROW_EVAL.
23644
23645 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23646
23647 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23648 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23649 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23650 * stdio-common/printf_fp.c (___printf_fp):
23651 Use signbit to get the sign. Use isinf macro to allow inlining.
23652 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23653 * stdio-common/printf_size.c (__printf_size): Likewise.
23654
23655 2015-09-18 Mike Frysinger <vapier@gentoo.org>
23656
23657 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23658
23659 2015-09-18 Joseph Myers <joseph@codesourcery.com>
23660
23661 [BZ #18980]
23662 * sysdeps/generic/math_private.h: Include <float.h>.
23663 (math_narrow_eval): New macro.
23664 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23665 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23666 math_narrow_eval on overflowing return value.
23667 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23668 Likewise.
23669 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23670 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23671 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23672 Likewise.
23673 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23674
23675 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23676
23677 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23678 * math/Makefile: Remove isinf_ns.c.
23679 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23680 * math/multc3.c (__multc3): Likewise.
23681 * math/s_casin.c (__casin): Likewise.
23682 * math/s_casinf.c (__casinf): Likewise.
23683 * math/s_casinl.c (__casinl): Likewise.
23684 * math/s_cproj.c (__cproj): Likewise.
23685 * math/s_cprojf.c (__cprojf): Likewise.
23686 * math/s_cprojl.c (__cprofl): Likewise.
23687 * math/s_ctan.c (__ctan): Likewise.
23688 * math/s_ctanf.c (__ctanf): Likewise.
23689 * math/s_ctanh.c (__ctanh): Likewise.
23690 * math/s_ctanhf.c (__ctanhf): Likewise.
23691 * math/s_ctanhl.c (__ctanhl): Likewise.
23692 * math/s_ctanl.c (__ctanl): Likewise.
23693 * math/w_fmod.c (__fmod): Likewise.
23694 * math/w_fmodf.c (__fmodf): Likewise.
23695 * math/w_fmodl.c (_fmodl): Likewise.
23696 * math/w_remainder.c (__remainder): Likewise.
23697 * math/w_remainderf.c (__remainderf): Likewise.
23698 * math/w_remainderl.c (__remainderl): Likewise.
23699 * math/w_scalb.c (__scalb): Likewise.
23700 * math/w_scalbf.c (__scalbf): Likewise.
23701 * math/w_scalbl.c (__scalbl): Likewise.
23702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23703 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23704 with isinf.
23705 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23707 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23708 __isinf_nsf with isinf.
23709 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23710 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23711 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23712 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23713 with isinf.
23714 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23715 __isinf_nsl with isinf.
23716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23717 with isinf.
23718 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23719 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23720 __isinf_nsl with isinf.
23721 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23722 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23723 with isinf.
23724
23725 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23726
23727 * resolv/base64.c (rcsid): Remove unused static.
23728 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23729 static. (tqpi1): Likewise.
23730 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23731 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23732 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23733 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23735 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23736 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23737 * timezone/private.h (time_t_min): Likewise. (time_t_max):
23738 Likewise.
23739
23740 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
23741
23742 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23743 <nptl/pthreadP.h>.
23744 (_longjmp_unwind): Use __libc_ptf_call.
23745 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23746
23747 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
23748
23749 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23750 * sysdeps/arm/__longjmp.S: Likewise.
23751
23752 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23753
23754 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23755 Use __builtin_signbit.
23756 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23757 Use __builtin_signbitf.
23758 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23759 Use __builtin_signbitl.
23760 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23761 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23762
23763 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23764
23765 [BZ #15367]
23766 [BZ #17441]
23767
23768 * math/Makefile: Build test-snan.c with -fsignaling-nans.
23769 * math/math.h (fpclassify): Use __builtin_fpclassify when
23770 available. (signbit): Use __builtin_signbit(f/l).
23771 (isfinite): Use__builtin_isfinite. (isnormal): Use
23772 __builtin_isnormal. (isnan): Use __builtin_isnan.
23773 (isinf): Use __builtin_isinf_sign.
23774
23775 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
23776
23777 * benchtests/Makefile: Add bench-math-inlines, link with libm.
23778 * benchtests/bench-math-inlines.c: New benchmark.
23779 * benchtests/bench-util.h: New file.
23780 * benchtests/bench-util.c: New file.
23781 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23782
23783 2015-09-18 Carlos O'Donell <carlos@redhat.com>
23784
23785 * elf/tst-dlmopen1.c: Define TEST_SO.
23786 (do_test): Use TEST_SO.
23787
23788 * elf/dl-load.c: Include libc-internal.h.
23789 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23790
23791 2015-09-18 Vincent Bernat <vincent@bernat.im>
23792
23793 [BZ #17887]
23794 * time/strptime_l.c (__strptime_internal): Make %z accept
23795 [+-]HH:MM time zones.
23796
23797 2015-09-18 Vincent Bernat <vincent@bernat.im>
23798
23799 [BZ #17886]
23800 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23801 valid time zone.
23802
23803 2015-09-17 Mike Frysinger <vapier@gentoo.org>
23804
23805 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23806 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23807 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23808 (__ASSUME_FDATASYNC): Delete.
23809
23810 2015-09-17 Joseph Myers <joseph@codesourcery.com>
23811
23812 * conform/linknamespace.pl: Require weak undefined symbols to be
23813 in the standard namespace.
23814 (%strong_syms): Rename to %seen_syms.
23815 (%strong_seen): Rename to %seen_where.
23816
23817 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
23818
23819 [BZ #18970]
23820 * misc/error.c (error): Replace pthread_setcancelstate with
23821 __pthread_setcancelstate.
23822 (error_at_line): Likewise.
23823 * posix/wordexp.c (parse_comm): Likewise.
23824 * stdlib/fmtmsg.c (fmtmsg): Likewise.
23825 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23826 (__pthread_setcancelstate): This.
23827 (pthread_setcancelstate): Add an alias.
23828 * nptl/nptl-init.c (pthread_functions): Replace
23829 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23830 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23831 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23832 hidden_proto.
23833 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23834 it with hidden_def.
23835 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23836 (pthread_setcancelstate): Renamed to ...
23837 (__pthread_setcancelstate): This.
23838 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23839 __libc_ptf_call with __pthread_setcancelstate.
23840
23841 2015-09-17 Joseph Myers <joseph@codesourcery.com>
23842 Andreas Schwab <schwab@suse.de>
23843
23844 [BZ #17118]
23845 * math/s_ctan.c (__ctan): Determine sign of zero real part of
23846 result when imaginary part of argument is infinite using sine and
23847 cosine.
23848 * math/s_ctanf.c (__ctanf): Likewise.
23849 * math/s_ctanl.c (__ctanl): Likewise.
23850 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23851 of result when real part of argument is infinite using sine and
23852 cosine.
23853 * math/s_ctanhf.c (__ctanhf): Likewise.
23854 * math/s_ctanhl.c (__ctanhl): Likewise.
23855 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23856 (ctanh_test_data): Add more tests of ctanh.
23857
23858 2015-09-17 Joseph Myers <joseph@codesourcery.com>
23859
23860 [BZ #15384]
23861 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23862 bit-mask as in subtraction.
23863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23864 Likewise.
23865 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23867 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23868
23869 [BZ #18951]
23870 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23871 underflow exception for small results.
23872 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23873 Likewise.
23874 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23875 Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23877 Likewise.
23878 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23879 Likewise.
23880 * math/auto-libm-test-in: Add more tests of tgamma.
23881 * math/auto-libm-test-out: Regenerated.
23882
23883 2015-09-17 Andreas Schwab <schwab@suse.de>
23884
23885 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23886
23887 2015-09-16 Joseph Myers <joseph@codesourcery.com>
23888
23889 [BZ #18977]
23890 * math/bits/mathcalls.h
23891 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23892 not declare.
23893 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23894 Likewise.
23895 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23896 Likewise.
23897 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23898 Likewise.
23899 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23900 Likewise.
23901 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23902 Likewise.
23903 * conform/data/math.h-data
23904 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23905 function.
23906 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23907 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23908 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23909 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23910 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23911 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23912 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23913 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23914 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23915 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23916 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23917
23918 [BZ #6803]
23919 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23920 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23921 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23922 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23923 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23924 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23925 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23926 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23927 [NO_LONG_DOUBLE] (scalbnl): Likewise.
23928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23929 Likewise.
23930 [NO_LONG_DOUBLE] (scalbnl): Likewise.
23931 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23933 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23934 long_double_symbol calls.
23935 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23936 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23937 strong alias of __ldexpl.
23938 (scalbnl): Define using long_double_symbol.
23939 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23940 Remove alias.
23941 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23942 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23943 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23944 (scalbln_test_data): Add more errno expectations.
23945
23946 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
23947
23948 Cache the host port like we cache the task port. This way we do not
23949 need to call the kernel just to get the port. Furthermore, we no
23950 longer increase the reference count on every invocation of
23951 `mach_host_self'.
23952
23953 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23954 Protect declarations against the macro expansion.
23955 * mach/mach_init.c (__mach_host_self_): New variable.
23956 (mach_init): Initialize `__mach_host_self_'.
23957 * mach/mach_init.h (__mach_host_self_): New declaration.
23958 (__mach_host_self, mach_host_self): New macros.
23959 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23960 Release reference.
23961
23962 2015-09-16 Joseph Myers <joseph@codesourcery.com>
23963
23964 [BZ #4404]
23965 * po/de.po: Update from Translation Project.
23966
23967 [BZ #16415]
23968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23969 (__expm1l): Remove code to handle positive infinity and overflow.
23970 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23971 variable.
23972 (__expm1l): Remove code to handle positive infinity and overflow.
23973
23974 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
23975 Paul Pluzhnikov <ppluzhnikov@google.com>
23976
23977 [BZ #18872]
23978 * stdio-common/Makefile (tst-printf-bz18872): New test.
23979 (tst-printf-bz18872-mem.out): Likewise.
23980 * stdio-common/tst-printf-bz18872.sh: Generate new test.
23981 * stdio-common/vfprintf.c: Fix memory leaks.
23982
23983 2015-09-16 Andreas Schwab <schwab@suse.de>
23984
23985 [BZ #17244]
23986 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23987 Remove extra va_start/va_end calls.
23988
23989 [BZ #17243]
23990 * posix/execl.c (execl): Add missing va_end.
23991 * posix/execle.c (execle): Likewise.
23992 * posix/execlp.c (execlp): Likewise.
23993
23994 2015-09-15 Roland McGrath <roland@hack.frob.com>
23995
23996 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23997 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23998
23999 2015-09-15 Joseph Myers <joseph@codesourcery.com>
24000
24001 [BZ #18967]
24002 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
24003 undefine around includes of <bits/mathcalls.h>.
24004 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24005 not declare function.
24006 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24007 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24008 (scalb): Likewise.
24009 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24010 not define macro.
24011 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24012 variable.
24013 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24014 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24015 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24016
24017 [BZ #18857]
24018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24019 return non-finite argument without doing ordered comparisons on
24020 it.
24021
24022 [BZ #16296]
24023 * math/fenv.h (fegetround): Use __attribute_pure__.
24024 * include/fenv.h (__fegetround): Likewise.
24025
24026 [BZ #18595]
24027 * math/s_ctan.c (__ctan): Force underflow exception for results
24028 whose real or imaginary part has small absolute value.
24029 * math/s_ctanf.c (__ctanf): Likewise.
24030 * math/s_ctanh.c (__ctanh): Likewise.
24031 * math/s_ctanhf.c (__ctanhf): Likewise.
24032 * math/s_ctanhl.c (__ctanhl): Likewise.
24033 * math/s_ctanl.c (__ctanl): Likewise.
24034 * math/auto-libm-test-in: Do not allow missing underflow for ctan
24035 and ctanh. Add more tests of ctan and ctanh.
24036
24037 [BZ #15918]
24038 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24039 handling of cases where one argument is an infinity.
24040
24041 [BZ #18875]
24042 [BZ #18966]
24043 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24044 (MO): New macro.
24045 (__ieee754_exp10): For small results, force underflow exception
24046 and remove excess range and precision from return value.
24047 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24048 (MO): New macro.
24049 (__ieee754_exp10f): For small results, force underflow exception
24050 and remove excess range and precision from return value.
24051 * math/auto-libm-test-in: Add more tests of exp10.
24052 * math/auto-libm-test-out: Regenerated.
24053
24054 2015-09-14 Joseph Myers <joseph@codesourcery.com>
24055
24056 [BZ #18875]
24057 [BZ #18961]
24058 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24059 (MO): New macro.
24060 (__ieee754_exp): For small results, force underflow exception and
24061 remove excess range and precision from return value.
24062 (__exp_finite): Likewise.
24063 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24064 (MO): New macro.
24065 (__ieee754_expf): For small results, force underflow exception and
24066 remove excess range and precision from return value.
24067 (__expf_finite): Likewise.
24068 * math/auto-libm-test-in: Add more tests of exp.
24069 * math/auto-libm-test-out: Regenerated.
24070
24071 [BZ #16521]
24072 [BZ #18875]
24073 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24074 small results.
24075 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24076 (MO): New macro.
24077 (__ieee754_exp2): For small results, force underflow exception and
24078 remove excess range and precision from return value.
24079 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24080 (MO): New macro.
24081 (__ieee754_exp2f): For small results, force underflow exception
24082 and remove excess range and precision from return value.
24083 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24084 (MO): New macro.
24085 (__ieee754_exp2l): Force underflow exception for small results.
24086 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24087 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24088 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24089 (MO): New macro.
24090 (__ieee754_exp2l): Force underflow exception for small results.
24091 * math/auto-libm-test-in: Add more tests or exp2.
24092 * math/auto-libm-test-out: Regenerated.
24093
24094 2015-09-14 Carlos O'Donell <carlos@redhat.com>
24095
24096 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24097
24098 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24099 /dev/null.
24100
24101 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
24102
24103 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24104 io fs process)): Drop spurious backslash.
24105
24106 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
24107
24108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24109 Use sysinfo system call instead of parsing /proc/meminfo.
24110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24111 Likewise.
24112
24113 2015-09-11 Mike Frysinger <vapier@gentoo.org>
24114
24115 [BZ #16985]
24116 * programs/localedef.c (main): Display argv[remaining] when
24117 output_path is NULL.
24118
24119 2015-09-11 Joseph Myers <joseph@codesourcery.com>
24120
24121 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24122 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24123 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24124 tanh.
24125 * math/auto-libm-test-out: Regenerated.
24126 * sysdeps/i386/fpu/libm-test-ulps: Update.
24127 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24128 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24130
24131 2015-09-11 Roland McGrath <roland@hack.frob.com>
24132
24133 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24134 Use 'override' keyword to freeze the value here, preventing
24135 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24136
24137 2015-09-11 Joseph Myers <joseph@codesourcery.com>
24138
24139 [BZ #14912]
24140 * sysdeps/aarch64/bits/atomic.h: Move to ...
24141 * sysdeps/aarch64/atomic-machine.h: ...here.
24142 (_AARCH64_BITS_ATOMIC_H): Rename macro to
24143 _AARCH64_ATOMIC_MACHINE_H.
24144 * sysdeps/alpha/bits/atomic.h: Move to ...
24145 * sysdeps/alpha/atomic-machine.h: ...here.
24146 * sysdeps/arm/bits/atomic.h: Move to ...
24147 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
24148 * bits/atomic.h: Move to ...
24149 * sysdeps/generic/atomic-machine.h: ...here.
24150 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24151 * sysdeps/i386/bits/atomic.h: Move to ...
24152 * sysdeps/i386/atomic-machine.h: ...here.
24153 * sysdeps/ia64/bits/atomic.h: Move to ...
24154 * sysdeps/ia64/atomic-machine.h: ...here.
24155 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24156 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24157 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24158 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24159 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24160 * sysdeps/microblaze/bits/atomic.h: Move to ...
24161 * sysdeps/microblaze/atomic-machine.h: ...here.
24162 * sysdeps/mips/bits/atomic.h: Move to ...
24163 * sysdeps/mips/atomic-machine.h: ...here.
24164 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24165 * sysdeps/powerpc/bits/atomic.h: Move to ...
24166 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
24167 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24168 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
24169 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
24170 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24171 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
24172 <atomic-machine.h> instead of <bits/atomic.h>.
24173 * sysdeps/s390/bits/atomic.h: Move to ...
24174 * sysdeps/s390/atomic-machine.h: ...here.
24175 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24176 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24177 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24178 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24179 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24180 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24181 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24182 * sysdeps/tile/bits/atomic.h: Move to ...
24183 * sysdeps/tile/atomic-machine.h: ...here.
24184 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24185 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
24186 <sysdeps/tile/atomic-machine.h> instead of
24187 <sysdeps/tile/bits/atomic.h>.
24188 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24189 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24190 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
24191 <sysdeps/tile/atomic-machine.h> instead of
24192 <sysdeps/tile/bits/atomic.h>.
24193 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24194 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24195 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
24196 <sysdeps/arm/atomic-machine.h> instead of
24197 <sysdeps/arm/bits/atomic.h>.
24198 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24199 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24200 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24201 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24202 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24203 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24204 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24205 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24206 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24207 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24208 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24209 * sysdeps/x86_64/bits/atomic.h: Move to ...
24210 * sysdeps/x86_64/atomic-machine.h: ...here.
24211 * include/atomic.h: Include <atomic-machine.h> instead of
24212 <bits/atomic.h>.
24213
24214 * sysdeps/mips/mips32/libm-test-ulps: Update.
24215 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24216
24217 [BZ #18952]
24218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24219 not convert non-integer negative arguments to int to determine the
24220 value of signgam.
24221 * math/auto-libm-test-in: Add more tests of lgamma.
24222 * math/auto-libm-test-out: Regenerated.
24223
24224 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24225 cosh, csqrt, erfc, expm1 and lgamma.
24226 * math/auto-libm-test-out: Regenerated.
24227 * sysdeps/i386/fpu/libm-test-ulps: Update.
24228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24229
24230 2015-09-10 Joseph Myers <joseph@codesourcery.com>
24231
24232 [BZ #2542]
24233 [BZ #2543]
24234 [BZ #2558]
24235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24236 __lgamma_neg for arguments from -28.0 to -2.0.
24237 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24238 __lgamma_negf for arguments from -15.0 to -2.0.
24239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24240 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24242 Call __lgamma_negl for arguments from -33.0 to -2.0.
24243 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24244 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24245 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24246 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24253 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24254 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24255 (__lgamma_neg): Likewise.
24256 (__lgamma_negl): Likewise.
24257 (__lgamma_product): Likewise.
24258 (__lgamma_productl): Likewise.
24259 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24260 * math/auto-libm-test-in: Add more tests of lgamma.
24261 * math/auto-libm-test-out: Regenerated.
24262 * sysdeps/i386/fpu/libm-test-ulps: Update.
24263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24264
24265 2015-09-09 Justin Maggard <jmaggard@netgear.com>
24266
24267 [BZ #18675]
24268 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24269
24270 2015-09-08 Joseph Myers <joseph@codesourcery.com>
24271
24272 [BZ #14912]
24273 * bits/libc-lock.h: Move to ...
24274 * sysdeps/generic/libc-lock.h: ...here.
24275 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24276 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24277 * sysdeps/mach/hurd/libc-lock.h: ...here.
24278 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24279 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24280 * sysdeps/mach/bits/libc-lock.h: Move to ...
24281 * sysdeps/mach/libc-lock.h: ...here.
24282 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24283 * sysdeps/nptl/bits/libc-lock.h: Move to ...
24284 * sysdeps/nptl/libc-lock.h: ...here.
24285 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24286 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24287 * sysdeps/nptl/libc-lockP.h: ...here.
24288 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24289 * crypt/crypt_util.c: Include <libc-lock.h> instead of
24290 <bits/libc-lock.h>.
24291 * dirent/scandir-tail.c: Likewise.
24292 * dlfcn/dlerror.c: Likewise.
24293 * elf/dl-close.c: Likewise.
24294 * elf/dl-iteratephdr.c: Likewise.
24295 * elf/dl-lookup.c: Likewise.
24296 * elf/dl-open.c: Likewise.
24297 * elf/dl-support.c: Likewise.
24298 * elf/dl-writev.h: Likewise.
24299 * elf/rtld.c: Likewise.
24300 * grp/fgetgrent.c: Likewise.
24301 * gshadow/fgetsgent.c: Likewise.
24302 * gshadow/sgetsgent.c: Likewise.
24303 * iconv/gconv_conf.c: Likewise.
24304 * iconv/gconv_db.c: Likewise.
24305 * iconv/gconv_dl.c: Likewise.
24306 * iconv/gconv_int.h: Likewise.
24307 * iconv/gconv_trans.c: Likewise.
24308 * include/link.h: Likewise.
24309 * inet/getnameinfo.c: Likewise.
24310 * inet/getnetgrent.c: Likewise.
24311 * inet/getnetgrent_r.c: Likewise.
24312 * intl/bindtextdom.c: Likewise.
24313 * intl/dcigettext.c: Likewise.
24314 * intl/finddomain.c: Likewise.
24315 * intl/gettextP.h: Likewise.
24316 * intl/loadmsgcat.c: Likewise.
24317 * intl/localealias.c: Likewise.
24318 * intl/textdomain.c: Likewise.
24319 * libidn/idn-stub.c: Likewise.
24320 * libio/libioP.h: Likewise.
24321 * locale/duplocale.c: Likewise.
24322 * locale/freelocale.c: Likewise.
24323 * locale/newlocale.c: Likewise.
24324 * locale/setlocale.c: Likewise.
24325 * login/getutent_r.c: Likewise.
24326 * login/getutid_r.c: Likewise.
24327 * login/getutline_r.c: Likewise.
24328 * login/utmp-private.h: Likewise.
24329 * login/utmpname.c: Likewise.
24330 * malloc/mtrace.c: Likewise.
24331 * misc/efgcvt.c: Likewise.
24332 * misc/error.c: Likewise.
24333 * misc/fstab.c: Likewise.
24334 * misc/getpass.c: Likewise.
24335 * misc/mntent.c: Likewise.
24336 * misc/syslog.c: Likewise.
24337 * nis/nis_call.c: Likewise.
24338 * nis/nis_callback.c: Likewise.
24339 * nis/nss-default.c: Likewise.
24340 * nis/nss_compat/compat-grp.c: Likewise.
24341 * nis/nss_compat/compat-initgroups.c: Likewise.
24342 * nis/nss_compat/compat-pwd.c: Likewise.
24343 * nis/nss_compat/compat-spwd.c: Likewise.
24344 * nis/nss_nis/nis-alias.c: Likewise.
24345 * nis/nss_nis/nis-ethers.c: Likewise.
24346 * nis/nss_nis/nis-grp.c: Likewise.
24347 * nis/nss_nis/nis-hosts.c: Likewise.
24348 * nis/nss_nis/nis-network.c: Likewise.
24349 * nis/nss_nis/nis-proto.c: Likewise.
24350 * nis/nss_nis/nis-pwd.c: Likewise.
24351 * nis/nss_nis/nis-rpc.c: Likewise.
24352 * nis/nss_nis/nis-service.c: Likewise.
24353 * nis/nss_nis/nis-spwd.c: Likewise.
24354 * nis/nss_nisplus/nisplus-alias.c: Likewise.
24355 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24356 * nis/nss_nisplus/nisplus-grp.c: Likewise.
24357 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24358 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24359 * nis/nss_nisplus/nisplus-network.c: Likewise.
24360 * nis/nss_nisplus/nisplus-proto.c: Likewise.
24361 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24362 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24363 * nis/nss_nisplus/nisplus-service.c: Likewise.
24364 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24365 * nis/ypclnt.c: Likewise.
24366 * nptl/libc_pthread_init.c: Likewise.
24367 * nss/getXXbyYY.c: Likewise.
24368 * nss/getXXent.c: Likewise.
24369 * nss/getXXent_r.c: Likewise.
24370 * nss/nss_db/db-XXX.c: Likewise.
24371 * nss/nss_db/db-netgrp.c: Likewise.
24372 * nss/nss_db/nss_db.h: Likewise.
24373 * nss/nss_files/files-XXX.c: Likewise.
24374 * nss/nss_files/files-alias.c: Likewise.
24375 * nss/nsswitch.c: Likewise.
24376 * posix/regex_internal.h: Likewise.
24377 * posix/wordexp.c: Likewise.
24378 * pwd/fgetpwent.c: Likewise.
24379 * resolv/res_hconf.c: Likewise.
24380 * resolv/res_libc.c: Likewise.
24381 * shadow/fgetspent.c: Likewise.
24382 * shadow/lckpwdf.c: Likewise.
24383 * shadow/sgetspent.c: Likewise.
24384 * socket/opensock.c: Likewise.
24385 * stdio-common/reg-modifier.c: Likewise.
24386 * stdio-common/reg-printf.c: Likewise.
24387 * stdio-common/reg-type.c: Likewise.
24388 * stdio-common/vfprintf.c: Likewise.
24389 * stdio-common/vfscanf.c: Likewise.
24390 * stdlib/abort.c: Likewise.
24391 * stdlib/cxa_atexit.c: Likewise.
24392 * stdlib/fmtmsg.c: Likewise.
24393 * stdlib/random.c: Likewise.
24394 * stdlib/setenv.c: Likewise.
24395 * string/strsignal.c: Likewise.
24396 * sunrpc/auth_none.c: Likewise.
24397 * sunrpc/bindrsvprt.c: Likewise.
24398 * sunrpc/create_xid.c: Likewise.
24399 * sunrpc/key_call.c: Likewise.
24400 * sunrpc/rpc_thread.c: Likewise.
24401 * sysdeps/arm/backtrace.c: Likewise.
24402 * sysdeps/generic/ldsodefs.h: Likewise.
24403 * sysdeps/generic/stdio-lock.h: Likewise.
24404 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24405 * sysdeps/i386/backtrace.c: Likewise.
24406 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24407 * sysdeps/m68k/backtrace.c: Likewise.
24408 * sysdeps/mach/hurd/cthreads.c: Likewise.
24409 * sysdeps/mach/hurd/dirstream.h: Likewise.
24410 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24411 * sysdeps/nptl/malloc-machine.h: Likewise.
24412 * sysdeps/nptl/stdio-lock.h: Likewise.
24413 * sysdeps/posix/dirstream.h: Likewise.
24414 * sysdeps/posix/getaddrinfo.c: Likewise.
24415 * sysdeps/posix/system.c: Likewise.
24416 * sysdeps/pthread/aio_suspend.c: Likewise.
24417 * sysdeps/s390/s390-32/backtrace.c: Likewise.
24418 * sysdeps/s390/s390-64/backtrace.c: Likewise.
24419 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24420 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24421 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24422 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24423 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24424 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24425 * sysdeps/unix/sysv/linux/system.c: Likewise.
24426 * sysdeps/x86_64/backtrace.c: Likewise.
24427 * time/alt_digit.c: Likewise.
24428 * time/era.c: Likewise.
24429 * time/tzset.c: Likewise.
24430 * wcsmbs/wcsmbsload.c: Likewise.
24431 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24432 instead of <bits/libc-lock.h> in comment.
24433
24434 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
24435
24436 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24437 Only use .set mips2 if the current ISA is below mips2.
24438 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24439 Likewise.
24440 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24441 mips32r2 if the current ISA is below mips32r2.
24442 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24443 (TLS_IE): Updated to use the TLD_RDHWR macro.
24444 (TLS_LE): Likewise.
24445 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24446 __ASSEMBLER__ condition.
24447
24448 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
24449
24450 Fix parallel build of before-compile targets.
24451
24452 * sysdeps/mach/Makefile ($(patsubst
24453 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24454 mach-before-compile target.
24455 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24456 io fs process)): Move rule to dedicated hurd-before-compile target.
24457
24458 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24459
24460 Fix rules generating headers in hurd/ and mach/ when initial make call
24461 has subdir= explicitly set.
24462
24463 * sysdeps/mach/Makefile ($(patsubst
24464 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24465 calling $(MAKE).
24466 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24467 io fs process)): Force subdir to hurd when calling $(MAKE).
24468 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24469 subdir to mach when calling $(MAKE).
24470
24471 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
24472
24473 Check sysheaders when looking for Mach and Hurd headers
24474
24475 * sysdeps/mach/configure.ac: Add sysheaders check.
24476 * sysdeps/mach/configure: Regenerate.
24477 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24478 * sysdeps/mach/hurd/configure: Regenerate.
24479
24480 2015-09-04 Roland McGrath <roland@hack.frob.com>
24481
24482 [BZ #18921]
24483 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24484 Fix inverted sense of test of 'o_directory_works' value.
24485 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24486 Bernhard Voelker <mail@bernhard-voelker.de>.
24487
24488 2015-09-04 Joseph Myers <joseph@codesourcery.com>
24489
24490 [BZ #14912]
24491 * bits/linkmap.h: Move to ...
24492 * sysdeps/generic/linkmap.h: ...here.
24493 * sysdeps/aarch64/bits/linkmap.h: Move to ...
24494 * sysdeps/aarch64/linkmap.h: ...here.
24495 * sysdeps/arm/bits/linkmap.h: Move to ...
24496 * sysdeps/arm/linkmap.h: ...here.
24497 * sysdeps/hppa/bits/linkmap.h: Move to ...
24498 * sysdeps/hppa/linkmap.h: ...here.
24499 * sysdeps/ia64/bits/linkmap.h: Move to ...
24500 * sysdeps/ia64/linkmap.h: ...here.
24501 * sysdeps/mips/bits/linkmap.h: Move to ...
24502 * sysdeps/mips/linkmap.h: ...here.
24503 * sysdeps/s390/bits/linkmap.h: Move to ...
24504 * sysdeps/s390/linkmap.h: ...here.
24505 * sysdeps/sh/bits/linkmap.h: Move to ...
24506 * sysdeps/sh/linkmap.h: ...here.
24507 * sysdeps/x86/bits/linkmap.h: Move to ...
24508 * sysdeps/x86/linkmap.h: ...here.
24509 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24510
24511 2015-09-04 Andreas Schwab <schwab@suse.de>
24512
24513 [BZ #18635]
24514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24515 (__makecontext): Terminate FDE before return label.
24516 (__novec_makecontext): Likewise.
24517
24518 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24519
24520 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24521 first member of struct sv in syscall macro.
24522
24523 2015-09-04 Joseph Myers <joseph@codesourcery.com>
24524
24525 [BZ #14912]
24526 * bits/stdio-lock.h: Move to ...
24527 * sysdeps/generic/stdio-lock.h: ...here.
24528 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24529 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24530 * sysdeps/nptl/stdio-lock.h: ...here.
24531 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24532 * include/libio.h: Include <stdio-lock.h> instead of
24533 <bits/stdio-lock.h>.
24534 * sysdeps/nptl/fork.c: Likewise.
24535 * sysdeps/pthread/flockfile.c: Likewise.
24536 * sysdeps/pthread/ftrylockfile.c: Likewise.
24537 * sysdeps/pthread/funlockfile.c: Likewise.
24538
24539 [BZ #14912]
24540 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24541 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24542 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24543 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24544 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24545 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24546 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24547
24548 2015-09-03 Roland McGrath <roland@hack.frob.com>
24549
24550 * elf/Makefile (test-xfail-tst-protected1a): New variable.
24551 (test-xfail-tst-protected1b): New variable.
24552
24553 2015-09-03 Joseph Myers <joseph@codesourcery.com>
24554
24555 [BZ #14912]
24556 * bits/libc-tsd.h: Move to ...
24557 * sysdeps/generic/libc-tsd.h: ...here.
24558 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24559 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24560 * sysdeps/mach/hurd/libc-tsd.h: ...here.
24561 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24562 * include/ctype.h: Include <libc-tsd.h> instead of
24563 <bits/libc-tsd.h>.
24564 * include/rpc/rpc.h: Likewise.
24565 * locale/localeinfo.h: Likewise.
24566 * sunrpc/rpc_thread.c: Likewise.
24567 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24568 * sysdeps/nptl/malloc-machine.h: Likewise.
24569
24570 * Makefile (headers): Remove bits/libc-lock.h.
24571 * libio/Makefile (headers): Remove bits/stdio-lock.h.
24572
24573 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24574 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24575 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24576 <bits/stdio-lock.h>.
24577 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24578 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24579
24580 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
24581
24582 [BZ #18757]
24583 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24584 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24585 BZ #18757.
24586
24587 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
24588
24589 * malloc/mtrace.pl: Filter out NULL entries.
24590
24591 2015-09-01 Joseph Myers <joseph@codesourcery.com>
24592
24593 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24594 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24595 macro.
24596
24597 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24598 (TCP_CC_INFO): Likewise.
24599 (TCP_SAVE_SYN): Likewise.
24600 (TCP_SAVED_SYN): Likewise.
24601
24602 2015-08-31 Brett Neumeier <brett@neumeier.us>
24603
24604 [BZ #18870]
24605 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24606
24607 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
24608
24609 [BZ #18873]
24610 Fix broken overflow check in posix_fallocate
24611 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24612 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24613 Fix parenthesization typo.
24614
24615 2015-08-28 Mike Frysinger <vapier@gentoo.org>
24616
24617 [BZ #18887]
24618 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24619 tst-mntent-blank-passno.
24620 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24621 * misc/tst-mntent-blank-corrupt.c: New test.
24622 * misc/tst-mntent-blank-passno.c: New test ripped from ...
24623 * misc/tst-mntent.c (do_test): ... here.
24624
24625 2015-08-29 Mike Frysinger <vapier@gentoo.org>
24626
24627 [BZ #4404]
24628 * po/de.po: Fix SIGALRM typo.
24629
24630 2015-08-28 James Perkins <james@loowit.net>
24631
24632 * time/tst-strptime2.c (tests): Replace short list of test
24633 strings for strptime %z specifier with code which exhaustively
24634 tests every combination of sign and 0 to 5 digits. Tests for
24635 rejection of invalid strings.
24636
24637 2015-08-28 James Perkins <james@loowit.net>
24638
24639 [BZ #16141]
24640 * time/strptime_l.c (__strptime_internal): Fix %z minutes
24641 calculation, removing incorrect decimal time rounding, so that
24642 all minute values result in a valid seconds value.
24643 * time/strptime_l.c (__strptime_internal): Extend %z time zone
24644 offset range limits to UTC-99:59 through UTC+99:59 to parse
24645 current and historical use cases.
24646 * time/tst-strptime2.c (tests): Modify and add tests for the
24647 strptime %z input field descriptor, specifically conversion of
24648 minutes to seconds and validating an offset range of -9959 to
24649 +9959.
24650
24651 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24652 Dmitry V. Levin <ldv@altlinux.org>
24653
24654 [BZ #18877]
24655 * posix/Makefile (tests): Add tst-mmap-offset.
24656 * posix/tst-mmap.c: New file.
24657 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24658 offset calculation for negative values.
24659
24660 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 * sysdeps/i386/init-arch.h: New file.
24663 * sysdeps/i386/i586/init-arch.h: Likewise.
24664 * sysdeps/i386/i686/init-arch.h: Likewise.
24665 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24666 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
24667 * sysdeps/x86/cpu-features.h (bit_I586): New.
24668 (bit_I686): Likewise.
24669 (bit_CX8): Likewise.
24670 (bit_CMOV): Likewise.
24671 (index_CX8): Likewise.
24672 (index_CMOV): Likewise.
24673 (index_I586): Likewise.
24674 (index_I686): Likewise.
24675 (reg_CX8): Likewise.
24676 (reg_CMOV): Likewise.
24677 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24678 available at compile-time.
24679 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24680 available at compile-time.
24681 * sysdeps/x86/init-arch.h (USE_I586): New macro.
24682 (USE_I686): Likewise.
24683
24684 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24685
24686 * sysdeps/i386/bcopy.S: New file.
24687 * sysdeps/i386/bzero.S: Likewise.
24688 * sysdeps/i386/memcpy.S: Likewise.
24689 * sysdeps/i386/memmove.S: Likewise.
24690 * sysdeps/i386/mempcpy.S: Likewise.
24691 * sysdeps/i386/memset.S: Likewise.
24692 * sysdeps/i386/bzero.c: Removed.
24693 * sysdeps/i386/memset.c: Likewise.
24694 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24695 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24696 * sysdeps/i386/i586/memset_chk.S: Likewise.
24697 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24698 * sysdeps/i386/memcpy_chk.S: Here.
24699 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24700 * sysdeps/i386/memmove_chk.S: Here.
24701 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24702 * sysdeps/i386/mempcpy_chk.S: Likewise.
24703 * sysdeps/i386/i686/memset_chk.S: Moved to ...
24704 * sysdeps/i386/memset_chk.S: Likewise.
24705
24706 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
24707
24708 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24709 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24710 file, move DIAG_POP_NEEDS_COMMENT to end of file.
24711 * soft-fp/fmadf4.c: Ditto.
24712 * soft-fp/fmatf4.c: Ditto.
24713
24714 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24715
24716 * sysdeps/i386/i586/Implies: Removed.
24717 * sysdeps/i386/i686/Implies: Likewise.
24718
24719 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24720
24721 * sysdeps/i386/i486/strlen.S: Moved to ...
24722 * sysdeps/i386/strlen.S: Here.
24723
24724 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24725
24726 * sysdeps/i386/i486/strcat.S: Moved to ...
24727 * sysdeps/i386/strcat.S: Here.
24728
24729 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24730
24731 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24732 * sysdeps/i386/pthread_spin_trylock.S: Here.
24733 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24734 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24735
24736 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24737
24738 * sysdeps/i386/i486/string-inlines.c: Moved to ...
24739 * sysdeps/i386/string-inlines.c: Here.
24740
24741 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 * sysdeps/i386/i486/htonl.S: Moved ...
24744 * sysdeps/i386/htonl.S: here.
24745
24746 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24747
24748 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24749 * sysdeps/i386/bits/atomic.h: Here.
24750
24751 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
24752
24753 * sysdeps/i386/i486/Versions: Removed.
24754
24755 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24756
24757 [BZ #2898]
24758 * misc/mktemp.c: Add mkdtemp to the link_warning message.
24759 Based on patch by Aurelien Jarno.
24760
24761 2015-08-26 Stan Shebs <stanshebs@google.com>
24762
24763 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24764 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24765
24766 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24767
24768 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24769 * sysdeps/powerpc/dl-procinfo.c:
24770 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24771 feature so it shows when LD_SHOW_AUXV=1.
24772
24773 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24774
24775 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24776 (__arch_compare_and_exchange_val_32_acq): Remove and use common
24777 definition. ISA 2.07B no longer requires full sync.
24778
24779 2015-08-26 Mike Frysinger <vapier@gentoo.org>
24780
24781 [BZ #18863]
24782 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24783 (si_call_addr): Define.
24784 (si_syscall): Define.
24785 (si_arch): Define.
24786
24787 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
24788
24789 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24790 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24791 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24792 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24793 (__memset_zero_constant_len_parameter): New.
24794 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24795 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24796 (__memset_zero_constant_len_parameter): Don't define if
24797 __memset_chk or USE_AS_BZERO are defined.
24798
24799 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24800 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24801 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24802
24803 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24804 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24805 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24806 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
24807 comments.
24808 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24809 -mno-mmx for $(all-rtld-routines).
24810 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24811 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
24812 i386.
24813
24814 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
24815
24816 * sysdeps/generic/unwind.h
24817 (_Unwind_Word): Use __mode__(__unwind_word__)
24818 instead of __mode__(__word__).
24819 (_Unwind_Sword): Likewise.
24820
24821 * sysdeps/s390/s390-64/utf8-utf16-z9.c
24822 (MAX_NEEDED_INPUT): New define.
24823 (MAX_NEEDED_OUTPUT): New define.
24824
24825 * NEWS: New item for IBM z13 string optimizations.
24826
24827 * sysdeps/s390/multiarch/memrchr-c.c: New File.
24828 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24829 * sysdeps/s390/multiarch/memrchr.c: Likewise.
24830 * sysdeps/s390/multiarch/Makefile
24831 (sysdep_routines): Add memrchr functions.
24832 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24833 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24834
24835 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24836 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24837 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24838 * sysdeps/s390/multiarch/Makefile
24839 (sysdep_routines): Add wmemcmp functions.
24840 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24841 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24842 * benchtests/bench-wmemcmp.c: New File.
24843 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24844
24845 * sysdeps/s390/multiarch/wmemset-c.c: New File.
24846 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24847 * sysdeps/s390/multiarch/wmemset.c: Likewise.
24848 * sysdeps/s390/multiarch/Makefile
24849 (sysdep_routines): Add wmemset functions.
24850 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24851 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24852 * wcsmbs/wmemset.c: Use WMEMSET if defined.
24853 * string/test-memset.c: Add wmemset support.
24854 * wcsmbs/test-wmemset.c: New File.
24855 * wcsmbs/Makefile (strop-tests): Add wmemset.
24856 * benchtests/bench-memset.c: Add wmemset support.
24857 * benchtests/bench-wmemset.c: New File.
24858 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24859
24860 * sysdeps/s390/multiarch/memccpy-c.c: New File.
24861 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24862 * sysdeps/s390/multiarch/memccpy.c: Likewise.
24863 * sysdeps/s390/multiarch/Makefile
24864 (sysdep_routines): Add memccpy functions.
24865 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24866 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24867 * string/memccpy.c: Use MEMCCPY if defined.
24868
24869 * sysdeps/s390/multiarch/memchr-vx.S: New File.
24870 * sysdeps/s390/multiarch/memchr.c: Likewise.
24871 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24872 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24873 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24874 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24875 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24876 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24877 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24878 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24879 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24880 and rawmemchr functions.
24881 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24882 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24883 and wmemchr.
24884 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24885 * string/test-memchr.c: Add wmemchr support.
24886 * wcsmbs/test-wmemchr.c: New File.
24887 * wcsmbs/Makefile (strop-tests): Add wmemchr.
24888 * benchtests/bench-memchr.c: Add wmemchr support.
24889 * benchtests/bench-wmemchr.c: New File.
24890 * benchtests/Makefile (wcsmbs-bench): wmemchr.
24891
24892 * sysdeps/s390/multiarch/strcspn-c.c: New File.
24893 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24894 * sysdeps/s390/multiarch/strcspn.c: Likewise.
24895 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24896 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24897 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24898 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24899 wcscspn functions.
24900 * sysdeps/s390/multiarch/ifunc-impl-list.c
24901 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24902 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24903 * string/test-strcspn.c: Add wcscspn support.
24904 * wcsmbs/test-wcscspn.c: New File.
24905 * wcsmbs/Makefile (strop-tests): Add wcscspn.
24906 * benchtests/bench-strcspn.c: Add wcscspn support.
24907 * benchtests/bench-wcscspn.c: New File.
24908 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24909
24910 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24911 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24912 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24913 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24914 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24915 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24916 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24917 wcspbrk functions.
24918 * sysdeps/s390/multiarch/ifunc-impl-list.c
24919 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24920 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24921 * string/test-strpbrk.c: Add wcspbrk support.
24922 * wcsmbs/test-wcspbrk.c: New File.
24923 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24924 * benchtests/bench-strpbrk.c: Add wcspbrk support.
24925 * benchtests/bench-wcspbrk.c: New File.
24926 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24927
24928 * sysdeps/s390/multiarch/strspn-c.c: New File.
24929 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24930 * sysdeps/s390/multiarch/strspn.c: Likewise.
24931 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24932 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24933 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24934 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24935 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24936 wcsspn functions.
24937 * sysdeps/s390/multiarch/ifunc-impl-list.c
24938 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24939 * string/test-strspn.c: Add wcsspn support.
24940 * wcsmbs/test-wcsspn.c: New File.
24941 * wcsmbs/Makefile (strop-tests): Add wcsspn.
24942 * benchtests/bench-strspn.c: Add wcsspn support.
24943 * benchtests/bench-wcsspn.c: New File.
24944 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24945
24946 * sysdeps/s390/multiarch/strrchr-c.c: New File.
24947 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24948 * sysdeps/s390/multiarch/strrchr.c: Likewise.
24949 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24950 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24951 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24952 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24953 wcsrchr functions.
24954 * sysdeps/s390/multiarch/ifunc-impl-list.c
24955 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24956 * benchtests/bench-wcsrchr.c: New File.
24957 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24958
24959 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24960 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24961 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24962 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24963 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24964 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24965 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24966 wcschrnul functions.
24967 * sysdeps/s390/multiarch/ifunc-impl-list.c
24968 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24969 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24970 * string/test-strchr.c: Add wcschrnul support.
24971 * wcsmbs/test-wcschrnul.c: New File.
24972 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24973 * benchtests/bench-strchr.c: Add wcschrnul support.
24974 * benchtests/bench-wcschrnul.c: New File.
24975 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24976
24977 * sysdeps/s390/multiarch/strchr-c.c: New File.
24978 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24979 * sysdeps/s390/multiarch/strchr.c: Likewise.
24980 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24981 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24982 * sysdeps/s390/multiarch/wcschr.c: Likewise.
24983 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24984 wcschr functions.
24985 * sysdeps/s390/multiarch/ifunc-impl-list.c
24986 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24987 * string/strchr.c (STRCHR): Define and use macro.
24988 * benchtests/bench-wcschr.c: New File.
24989 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24990
24991 * sysdeps/s390/multiarch/strncmp-c.c: New File.
24992 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24993 * sysdeps/s390/multiarch/strncmp.c: Likewise.
24994 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24995 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24996 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24997 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24998 wcsncmp functions.
24999 * sysdeps/s390/multiarch/ifunc-impl-list.c
25000 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25001 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25002 * benchtests/bench-strncmp.c: Add wcsncmp support.
25003 * benchtests/bench-wcsncmp.c: New File.
25004 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25005
25006 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25007 * sysdeps/s390/multiarch/strcmp.c: Likewise.
25008 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25009 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25010 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25011 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25012 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25013 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25014 wcscmp functions.
25015 * sysdeps/s390/multiarch/ifunc-impl-list.c
25016 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25017 * string/strcmp.c (STRCMP): Define and use macro.
25018 * benchtests/bench-wcscmp.c: New File.
25019 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25020 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25021 instead of _HAVE_STRING_ARCH_memchr.
25022
25023 * sysdeps/s390/multiarch/strncat-c.c: New File.
25024 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25025 * sysdeps/s390/multiarch/strncat.c: Likewise.
25026 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25027 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25028 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25029 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25030 wcsncat functions.
25031 * sysdeps/s390/multiarch/ifunc-impl-list.c
25032 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25033 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25034 * string/test-strncat.c: Add wcsncat support.
25035 * wcsmbs/test-wcsncat.c: New File.
25036 * wcsmbs/Makefile (strop-tests): Add wcsncat.
25037 * benchtests/bench-strncat.c: Add wcsncat support.
25038 * benchtests/bench-wcsncat.c: New File.
25039 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25040
25041 * sysdeps/s390/multiarch/strcat-c.c: New File.
25042 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25043 * sysdeps/s390/multiarch/strcat.c: Likewise.
25044 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25045 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25046 * sysdeps/s390/multiarch/wcscat.c: Likewise.
25047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25048 wcscat functions.
25049 * sysdeps/s390/multiarch/ifunc-impl-list.c
25050 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25051 * string/strcat.c (STRCAT): Define and use macro.
25052 * wcsmbs/wcscat.c: Use WCSCAT if defined.
25053 * string/test-strcat.c: Add wcscat support.
25054 * wcsmbs/test-wcscat.c: New File.
25055 * wcsmbs/Makefile (strop-tests): Add wcscat.
25056 * benchtests/bench-strcat.c: Add wcscat support.
25057 * benchtests/bench-wcscat.c: New File.
25058 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25059
25060 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25061 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25062 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25063 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25064 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25065 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25066 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25067 wcpncpy functions.
25068 * sysdeps/s390/multiarch/ifunc-impl-list.c
25069 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25070 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25071 * string/test-stpncpy.c: Add wcpncpy support.
25072 * wcsmbs/test-wcpncpy.c: New File.
25073 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25074 * benchtests/bench-stpncpy.c: Add wcpncpy support.
25075 * benchtests/bench-wcpncpy.c: New File.
25076 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25077
25078 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25079 * sysdeps/s390/multiarch/strncpy.c: Likewise.
25080 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25081 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25082 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25083 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25084 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25085 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25086 wcsncpy functions.
25087 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25088 * sysdeps/s390/multiarch/ifunc-impl-list.c
25089 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25090 * string/test-strncpy.c: Add wcsncpy support.
25091 * wcsmbs/test-wcsncpy.c: New File.
25092 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25093 * benchtests/bench-strncpy.c: Add wcsncpy support.
25094 * benchtests/bench-wcsncpy.c: New File.
25095 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25096
25097 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25098 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25099 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25100 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25101 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25102 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25103 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25104 wcpcpy functions.
25105 * string/stpcpy.c: Use STPCPY if defined.
25106 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25107 * sysdeps/s390/multiarch/ifunc-impl-list.c
25108 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25109 * string/test-stpcpy.c: Add wcpcpy support.
25110 * wcsmbs/test-wcpcpy.c: New File.
25111 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25112 * benchtests/bench-stpcpy.c: Add wcpcpy support.
25113 * benchtests/bench-wcpcpy.c: New File.
25114 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25115
25116 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25117 * sysdeps/s390/multiarch/strcpy.c: Likewise.
25118 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25119 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25120 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25121 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25122 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25124 wcscpy functions.
25125 * sysdeps/s390/multiarch/ifunc-impl-list.c
25126 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25127 * benchtests/bench-wcscpy.c: New File.
25128 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25129
25130 * sysdeps/s390/multiarch/strnlen-c.c: New File.
25131 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25132 * sysdeps/s390/multiarch/strnlen.c: Likewise.
25133 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25134 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25135 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25136 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25137 wcsnlen functions.
25138 * sysdeps/s390/multiarch/ifunc-impl-list.c
25139 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25140 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25141 * string/test-strnlen.c: Add wcsnlen support.
25142 * wcsmbs/test-wcsnlen.c: New File.
25143 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25144 * benchtests/bench-strnlen.c: Add wcsnlen support.
25145 * benchtests/bench-wcsnlen.c: New File.
25146 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25147
25148 * sysdeps/s390/multiarch/Makefile: New File.
25149 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25150 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25151 * sysdeps/s390/multiarch/strlen.c: Likewise.
25152 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25153 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25154 * sysdeps/s390/multiarch/wcslen.c: Likewise.
25155 * string/strlen.c (STRLEN): Define and use macro.
25156 * sysdeps/s390/multiarch/ifunc-impl-list.c
25157 (IFUNC_VX_IMPL): New macro function.
25158 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25159 * benchtests/Makefile (wcsmbs-bench): New variable.
25160 (string-bench-all): Added wcsmbs-bench.
25161 * benchtests/bench-wcslen.c: New File.
25162
25163 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25164 s390_vx_libc_ifunc2): New macro function.
25165
25166 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25167 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25168 assembler support.
25169 * sysdeps/s390/configure: Regenerated.
25170
25171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25172 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25173
25174 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25175 * sysdeps/s390/dl-procinfo.h: Add vector capability.
25176 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25177
25178 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25179 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25181 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25182 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25183 (memcmp, bcmp): Use __memcmp_default as alias source.
25184 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25185 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25186 Rename to __memcmp_default.
25187 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25188 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25189 (memcpy): Use __memcpy_default as alias source.
25190 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25191 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25192 Rename to __memcpy_default.
25193 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25194 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25195 (memset): Use __memset_default as alias source.
25196 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25197 * sysdeps/s390/s390-32/memset.S (__memset_g5):
25198 Rename to __memset_default.
25199 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25200 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25201 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25202 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25203 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25204 (memcmp, bcmp): Use __memcmp_default as alias source.
25205 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25206 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25207 Rename to __memcmp_default.
25208 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25209 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25210 (memcpy): Use __memcpy_default as alias source.
25211 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25212 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25213 Rename to __memcpy_default.
25214 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25215 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25216 (memset): Use __memset_default as alias source.
25217 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25218 * sysdeps/s390/s390-64/memset.S (__memset_z900):
25219 Rename to __memset_default.
25220 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25221 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25222
25223 [BZ #18610]
25224 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25225 __ieee_instruction_pointer to __unused.
25226 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25227 __ieee_instruction_pointer.
25228 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25229 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25230 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25231 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25232 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25233 Mark dxc-field as reserved.
25234
25235 2015-08-25 Roland McGrath <roland@hack.frob.com>
25236
25237 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25238 if the weak reference is not null.
25239
25240 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
25241
25242 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25243
25244 [BZ #11214]
25245 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25246
25247 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25248
25249 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25250 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25251 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25252 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25253 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25254 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25255 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25256 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25257 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25258 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25259 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25260 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25261 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25262 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25263 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25264 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25265 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25266 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25267
25268 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25269
25270 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25271 register other than r0 for tabort, it has special meaning.
25272 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25273 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25274 transaction before starting syscall.
25275
25276 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25277
25278 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25279
25280 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
25281
25282 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25283
25284 * sysdeps/x86_64/rtld-memcmp.c: Removed.
25285 * sysdeps/x86_64/rtld-memset.S: Likewise.
25286 * sysdeps/x86_64/rtld-strchr.S: Likewise.
25287 * sysdeps/x86_64/rtld-strlen.S: Likewise.
25288 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25289 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25290
25291 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25292
25293 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
25294
25295 * debug/strcpy_chk.c: Improve performance.
25296 * debug/stpcpy_chk.c: Likewise.
25297 * sysdeps/x86_64/strcpy_chk.S: Remove.
25298 * sysdeps/x86_64/stpcpy_chk.S: Remove.
25299
25300 [BZ #18240]
25301 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25302
25303 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
25304
25305 [BZ #15128]
25306 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25307 ifuncmain8.
25308 (modules-names): Add ifuncmod8.
25309 ($(objpfx)ifuncmain8): New rule.
25310 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25311 <cpuid.h>.
25312 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25313 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25314 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25315 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25316 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25317 * sysdeps/x86_64/dl-trampoline.h: Likewise.
25318 * sysdeps/x86_64/ifuncmain8.c: New file.
25319 * sysdeps/x86_64/ifuncmod8.c: Likewise.
25320 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25321 Removed.
25322 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25323 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25324 Change rtld_savespace_sse to __glibc_unused2.
25325 (RTLD_CHECK_FOREIGN_CALL): Removed.
25326 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25327 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25328 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25329
25330 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
25331
25332 * sysdeps/aarch64/bzero.S (__bzero): Remove.
25333
25334 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
25335
25336 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25337 Unconditionally set __fpcr to avoid uninialized warning.
25338 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25339
25340 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25341
25342 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25343 is corrupt.
25344
25345 * malloc/arena.c (arena_get2): Drop unused argument.
25346 (arena_lock): Adjust.
25347 (arena_get_retry): Likewise.
25348
25349 2015-08-24 Andreas Schwab <schwab@suse.de>
25350
25351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25352 Don't define.
25353 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25354 (__ASSUME_IPC64): Don't undef.
25355 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25356 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25357 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25358 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25359 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25360 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25361 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25362 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25363 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25364 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25365 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25366 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25367 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25368 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25369 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25370 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25371 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25372 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25375 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25376
25377 2015-08-21 Mike Frysinger <vapier@gentoo.org>
25378
25379 * manual/Makefile (install): Only build manual when perl is available.
25380
25381 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25382
25383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25384 '#undef memcpy' by '#undef memchr'.
25385
25386 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25387
25388 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25389 memchr not point to the internal __GI_memchr implementation.
25390
25391 2015-08-20 Joseph Myers <joseph@codesourcery.com>
25392
25393 * timezone/Makefile (CFLAGS-zdump.c): Remove
25394 -Wno-strict-prototypes.
25395 (CFLAGS-zic.c): Likewise.
25396 (CFLAGS-ialloc.c): Likewise.
25397 (CFLAGS-scheck.c): Likewise.
25398
25399 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25400 -Wno-error=undef.
25401
25402 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
25403
25404 * i386/i686/multiarch/strcasestr-c.c: Removed.
25405 * x86_64/multiarch/strcasestr.c: Likewise.
25406 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25407 Remove strcasestr.
25408
25409 2015-08-20 Joseph Myers <joseph@codesourcery.com>
25410
25411 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25412
25413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25414 variables for high and low parts before possibly modifying them.
25415
25416 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
25417
25418 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25419 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25420 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25421 of "multiarch/init-arch.h".
25422 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25423 * sysdeps/x86/init-arch.h: This.
25424
25425 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25428 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25429
25430 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
25431
25432 [BZ #17787]
25433 * manual/macros.texi: Add twoexp macro.
25434 * manual/filesys.texi: Fix exponents.
25435 * manual/llio.texi: Likewise.
25436 * manual/stdio.texi: Likewise.
25437
25438 2015-08-20 Florian Weimer <fweimer@redhat.com>
25439
25440 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25441 incorrect use.
25442
25443 2015-08-19 Joseph Myers <joseph@codesourcery.com>
25444
25445 [BZ #18370]
25446 * math/s_csqrt.c (__csqrt): Force underflow exception for results
25447 whose real or imaginary part has small absolute value.
25448 * math/s_csqrtf.c (__csqrtf): Likewise.
25449 * math/s_csqrtl.c (__csqrtl): Likewise.
25450 * math/auto-libm-test-in: Add more tests of csqrt.
25451 * math/auto-libm-test-out: Regenerated.
25452 * sysdeps/i386/fpu/libm-test-ulps: Update.
25453
25454 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
25455
25456 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25457 __ppc_set_ppr_very_low): New functions.
25458 * manual/platform.texi: Add documentation about
25459 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25460
25461 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
25462
25463 * string/stpncpy.c (stpncpy): Improve performance using
25464 __strnlen/memcpy/memset.
25465
25466 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
25467
25468 [BZ #18796]
25469 * scripts/test-installation.pl: Don't add -lmvec to build options if
25470 libmvec wasn't built.
25471
25472 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
25473
25474 [BZ #14341]
25475 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25476 case when there is a gap between DT_REL and DT_JMPREL sections.
25477 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25478 (LDFLAGS-tst-split-dynreloc): New.
25479 (tst-split-dynreloc-ENV): Likewise.
25480 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25481 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25482
25483 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 [BZ #18822]
25486 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25487 attribute_hidden.
25488 (__xstat64_conv): Likewise.
25489 (__xstat32_conv): Likewise.
25490
25491 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 [BZ #18822]
25494 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25495 Don't load %ebx when calling __setcontext. Call __setcontext
25496 with HIDDEN_JUMPTARGET.
25497 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25498 libc_hidden_def.
25499
25500 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
25501
25502 * sysdeps/i386/i686/Makefile
25503 [$(subdir) == string] (sysdep_routines): Moved to ...
25504 * sysdeps/i386/Makefile: Here.
25505 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25506 * sysdeps/i386/cacheinfo.c: Here.
25507 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25508 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25509 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25510 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25511
25512 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
25513
25514 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25515 __i586__ is defined.
25516 (HAS_I686): Defined to 1 if __i686__ is defined.
25517
25518 2015-08-19 Joseph Myers <joseph@codesourcery.com>
25519
25520 * elf/Makefile [$(have-z-execstack) = yes]
25521 (CPPFLAGS-tst-execstack.c): New variable.
25522
25523 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25524 conditional to [defined UTMPX || _HAVE_UT_TYPE].
25525 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25526 UTMPX || _HAVE_UT_TV].
25527 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25528 UTMPX || _HAVE_UT_TV - 0].
25529
25530 2015-08-18 Joseph Myers <joseph@codesourcery.com>
25531
25532 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25533 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25534 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25535
25536 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25537
25538 * sysdeps/powerpc/dl-procinfo.c:
25539 (_dl_powerpc_cap_flags): Added missing strings for some
25540 hwcap features.
25541 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25542
25543 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
25544
25545 Port the 0x7efe...feff pattern to GCC 6.
25546 See Steve Ellcey's bug report in:
25547 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25548 * string/memrchr.c (MEMRCHR):
25549 * string/rawmemchr.c (RAWMEMCHR):
25550 * string/strchr.c (strchr):
25551 * string/strchrnul.c (STRCHRNUL):
25552 Rewrite code to avoid issues with signed shift overflow.
25553
25554 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
25555
25556 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25557 whether cpuid is available only if HAS_CPUID is 0.
25558 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25559 (HAS_I586): Likewise.
25560 (HAS_I686): Likewise.
25561
25562 2015-08-18 Zack Weinberg <zackw@panix.com>
25563
25564 * misc/Versions (libc): Add GLIBC_2.23.
25565
25566 2015-08-18 Alan Modra <amodra@gmail.com>
25567
25568 [BZ #18421]
25569 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25570 .Lp__global.
25571 (_start): Load %dp via .Lp__global.
25572 [!SHARED]: Use .section .rodata.
25573
25574 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25575
25576 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25577 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25578
25579 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25580
25581 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25582 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25583
25584 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25585
25586 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25587 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25588
25589 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25590
25591 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25592 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25593
25594 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25595
25596 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25597 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25598
25599 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25600
25601 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25602 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25603
25604 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25605
25606 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25607
25608 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25609
25610 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25611 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
25612 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25613 (__ASSUME_LWS_CAS): Delete.
25614
25615 2015-08-18 Mike Frysinger <vapier@gentoo.org>
25616
25617 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25618 * sysdeps/hppa/configure: Regenerated.
25619 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25620 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25621 * sysdeps/hppa/nptl/tls.h: Likewise.
25622
25623 2015-08-17 Joseph Myers <joseph@codesourcery.com>
25624
25625 [BZ #18823]
25626 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25627 for scaling up small arguments.
25628 * math/s_csqrtf.c (__csqrtf): Likewise.
25629 * math/s_csqrtl.c (__csqrtl): Likewise.
25630 * math/auto-libm-test-in: Add more tests of csqrt.
25631 * math/auto-libm-test-out: Regenerated.
25632
25633 2015-08-17 Andreas Schwab <schwab@suse.de>
25634
25635 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25636 version set GLIBC_2.19.
25637
25638 2015-08-16 Zack Weinberg <zackw@panix.com>
25639
25640 [BZ #18681]
25641 * misc/regexp.h: This interface is no longer supported.
25642 Remove all contents, leaving only an #error directive.
25643 * misc/regexp.c (loc1, loc2, locs, step, advance):
25644 Demote to compatibility symbols.
25645
25646 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
25647
25648 [BZ #18084]
25649 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25650 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25651 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25652 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25653 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25654 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25655 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25656 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25657 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25658
25659 2015-08-15 Zack Weinberg <zackw@panix.com>
25660
25661 [BZ #18795]
25662 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25663 buffer length is known to be too large, not if it's known to be
25664 small enough.
25665 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25666 overflow at runtime, involving a length parameter, twice: once
25667 with a compile-time constant length parameter, once without.
25668
25669 2015-08-14 Joseph Myers <joseph@codesourcery.com>
25670
25671 [BZ #18824]
25672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25673 scaling x * y up instead of down.
25674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25676 * math/auto-libm-test-in: Add more tests of fma.
25677 * math/auto-libm-test-out: Regenerated.
25678
25679 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
25680
25681 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25682
25683 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25684
25685 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25686 unnecessary movq.
25687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25688 Likewise.
25689
25690 2015-08-13 Joseph Myers <joseph@codesourcery.com>
25691
25692 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25693 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25694 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25695 and tgamma.
25696 * math/auto-libm-test-out: Regenerated.
25697 * sysdeps/i386/fpu/libm-test-ulps: Update.
25698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25699
25700 [BZ #16520]
25701 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25702 (__tanh): Force underflow exception for arguments with small
25703 absolute value.
25704 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25705 (__tanhf): Force underflow exception for arguments with small
25706 absolute value.
25707 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25708 (__tanhl): Force underflow exception for arguments with small
25709 absolute value.
25710 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25711 (__tanhl): Force underflow exception for arguments with small
25712 absolute value.
25713 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25714 (__tanhl): Force underflow exception for arguments with small
25715 absolute value.
25716 * math/auto-libm-test-in: Add more tests of tanh.
25717 * math/auto-libm-test-out: Regenerated.
25718 * sysdeps/i386/fpu/libm-test-ulps: Update.
25719
25720 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25721
25722 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25723 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25724
25725 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25728 <cpuid.h>.
25729
25730 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25733 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25734
25735 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25736
25737 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25738 Remove $(objpfx)init-arch.o.
25739 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25740 init-arch.
25741 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25742 (INIT_ARCH_EXT): Defined as empty.
25743 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25744 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25745 __init_cpu_features call. Replace HAS_XXX with
25746 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25747 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25748 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25749 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25750 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25751 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25752 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25753 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25754 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25756 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25758 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25759 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25760 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25761 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25771 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25772 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25773 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25774 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25775 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25776 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25777 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25778 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25779 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25780 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25781 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25782
25783 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25786 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25787 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25788 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25789 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25790 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25791 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25792 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25793 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25794 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25795 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25796 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
25797 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25811 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25812 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25813 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25815 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25816 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25817 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25818 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25819 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25820 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25821 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25822 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25823 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25824 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25825 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25826 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25827 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25828
25829 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25830
25831 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25832 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25835 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25837 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25838 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25839 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25841 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25842 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25843 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25844 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25845 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25846 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25847 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25849 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25850 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25852 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25853 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25854 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25855 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25856 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25857 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25858 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
25859 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25862 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25863 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25864 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25865 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25866 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25867 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25868 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25869 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25870 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25871 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25872 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25873 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25874
25875 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
25876
25877 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25878 (dl_platform_init): Call init_cpu_features.
25879 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25880 * sysdeps/i386/i686/cacheinfo.c
25881 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25882 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25883 * sysdeps/i386/i686/multiarch/Versions: Removed.
25884 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25885 Removed.
25886 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25887 * sysdeps/unix/sysv/linux/x86/Makefile
25888 (libpthread-sysdep_routines): Remove init-arch.
25889 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25890 <sysdeps/x86_64/dl-procinfo.c> instead of
25891 sysdeps/generic/dl-procinfo.c>.
25892 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25893 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25894 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25895 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25896 [$(subdir) == elf] (tests-static): Add
25897 tst-get-cpu-features-static.
25898 * sysdeps/x86/Versions: New file.
25899 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25900 * sysdeps/x86/cpu-features.c: Likewise.
25901 * sysdeps/x86/cpu-features.h: Likewise.
25902 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25903 * sysdeps/x86/libc-start.c: Likewise.
25904 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25905 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25906 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25907 * sysdeps/x86_64/dl-procinfo.c: Likewise.
25908 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25909 Assume USE_MULTIARCH is defined and don't check it.
25910 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25911 (is_amd): Likewise.
25912 (max_cpuid): Likewise.
25913 (intel_check_word): Likewise.
25914 (__cache_sysconf): Don't call __init_cpu_features.
25915 (__x86_preferred_memory_instruction): Removed.
25916 (init_cacheinfo): Don't call __init_cpu_features. Replace
25917 __cpu_features with GLRO(dl_x86_cpu_features).
25918 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25919 (dl_platform_init): Call init_cpu_features.
25920 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25921 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25922 * sysdeps/x86_64/multiarch/Versions: Removed.
25923 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25924 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25925 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25926 Removed.
25927 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25928
25929 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
25930
25931 [BZ #18820]
25932 * libio/Makefile (test-fmemopen-mem): New test.
25933 * libio/test-fmemopen.c (do_bz18820): New test.
25934 * libio/fmemopen.c (__fmemopen): Fix memory leak.
25935 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25936
25937 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
25938
25939 [BZ #16734]
25940 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25941 (FREE_BUF): Delete.
25942 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25943 * libio/genops.c (_IO_setb): Use malloc and free directly.
25944 (_IO_default_doallocate, _IO_default_finish): Likewise.
25945 ( _IO_unbuffer_all): Likewise.
25946 ( libc_freeres_fn): Likewise.
25947 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25948 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25949 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25950 (_IO_wdefault_doallocate): Likewise.
25951
25952 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
25953
25954 [BZ #18086]
25955 * sysdeps/posix/nice.c (nice): Restore old errno.
25956 * posix/tst-nice.c (do_test): Add test for BZ #18086.
25957
25958 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
25959
25960 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25961
25962 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25963
25964 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25965 __bcopy and add a weak_alias to bcopy.
25966 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25967 for static build.
25968
25969 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25970 cleanup macro usage.
25971 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25972 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25973 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25977 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25979 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25980 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25981 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25982 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25984 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25985 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25987 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25988 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25989 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25990
25991 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25992 libc_hidden_def.
25993 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25994
25995 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25996 (sysdep_routines): Add strstr-ppc64.
25997 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25998
25999 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
26000
26001 [BZ #18778]
26002 * elf/Makefile (tests): Add Add tst-nodelete2.
26003 (modules-names): Add tst-nodelete2mod.
26004 (tst-nodelete2mod.so-no-z-defs): New.
26005 ($(objpfx)tst-nodelete2): Likewise.
26006 ($(objpfx)tst-nodelete2.out): Likewise.
26007 (LDFLAGS-tst-nodelete2): Likewise.
26008 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26009 out of loop through all loaded libraries.
26010 * elf/tst-nodelete2.c: New file.
26011 * elf/tst-nodelete2mod.c: Likewise.
26012 * elf/tst-znodelete-zlib.cc: Delete.
26013
26014 2015-08-11 Andreas Schwab <schwab@suse.de>
26015
26016 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26017 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26018 (__openat64_nocancel): Likewise.
26019
26020 2015-08-11 Joseph Myers <joseph@codesourcery.com>
26021
26022 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26023 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26024 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26025 * math/auto-libm-test-out: Regenerated.
26026 * sysdeps/i386/fpu/libm-test-ulps: Update.
26027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26028
26029 2015-08-10 Joseph Myers <joseph@codesourcery.com>
26030
26031 [BZ #18790]
26032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26033 threshold for returning +/- 1.
26034 * math/auto-libm-test-in: Add more tests of tanh.
26035 * math/auto-libm-test-out: Regenerated.
26036 * sysdeps/i386/fpu/libm-test-ulps: Update.
26037
26038 2015-08-10 Andreas Schwab <schwab@suse.de>
26039
26040 [BZ #18781]
26041 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26042 MORE_OFLAGS to oflag.
26043 * io/test-lfs.c (do_test): Test openat64.
26044
26045 2015-08-10 Joseph Myers <joseph@codesourcery.com>
26046
26047 [BZ #18789]
26048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26049 smaller threshold for returning the argument.
26050 * math/auto-libm-test-in: Add more tests of sinh.
26051 * math/auto-libm-test-out: Regenerated.
26052 * sysdeps/i386/fpu/libm-test-ulps: Update.
26053
26054 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
26055
26056 [BZ #18674]
26057 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26058 break.
26059
26060 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
26061
26062 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26063 (generated): Don't add $(addprefix z.,$(tzfiles)).
26064
26065 2015-08-09 Mike Frysinger <vapier@gentoo.org>
26066
26067 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26068 * scripts/sysd-rules.awk: Likewise.
26069
26070 2015-08-09 Mike Frysinger <vapier@gentoo.org>
26071
26072 * iconvdata/tst-tables.sh: Change echo -n to printf.
26073 * nss/db-Makefile: Likewise.
26074 * posix/tst-getconf.sh: Likewise.
26075 * stdio-common/tst-unbputc.sh: Likewise.
26076
26077 2015-08-09 Mike Frysinger <vapier@gentoo.org>
26078
26079 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26080 MADV_*_PAGES defines behind this feature check.
26081
26082 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
26083
26084 [BZ #18480]
26085 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26086 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26087 Define.
26088 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26089 LOAD_REGS_5, LOAD_REGS_6): Update.
26090 (INTERNAL_SYSCALL): Update using new LOAD defines.
26091 (INTERNAL_SYSCALL_NCS): Likewise.
26092 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26093
26094 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26095
26096 [BZ #16734]
26097 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26098
26099 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26100
26101 [BZ #17905]
26102 * catgets/Makefile (tst-catgets-mem): New test.
26103 * catgets/catgets.c (catopen): Don't use unbounded alloca.
26104 * catgets/open_catalog.c (__open_catalog): Likewise.
26105 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26106
26107 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
26108
26109 [BZ #18787]
26110 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26111 clobber registers.
26112 (atomic_compare_and_exchange_val_acq): Use register asms to assign
26113 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
26114 Cast return to __typeof (oldval).
26115
26116 2015-08-08 Mike Frysinger <vapier@gentoo.org>
26117
26118 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26119 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
26120 and delete sys/syscall.h include.
26121
26122 2015-08-07 Joseph Myers <joseph@codesourcery.com>
26123
26124 [BZ #16517]
26125 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26126 (tan): Force underflow exception for arguments with small absolute
26127 value.
26128 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26129 (__kernel_tanf): Force underflow exception for arguments with
26130 small absolute value.
26131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26132 (__kernel_tanl): Force underflow exception for arguments with
26133 small absolute value.
26134 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26135 (__kernel_tanl): Force underflow exception for arguments with
26136 small absolute value.
26137 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26138 (__kernel_tanl): Force underflow exception for arguments with
26139 small absolute value.
26140 * math/auto-libm-test-in: Add more tests of tan.
26141 * math/auto-libm-test-out: Regenerated.
26142
26143 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26144
26145 Fix sysdeps/i386/fpu/s_scalbn.S build
26146
26147 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26148
26149 2015-08-07 Mike Frysinger <vapier@gentoo.org>
26150
26151 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26152
26153 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26154
26155 Fix gcrt0.o compilation
26156
26157 When static-start-installed-name is different from
26158 start-installed-name, we must not use the shared objects.
26159
26160 * csu/Makefile
26161 (extra-objs): Add gmon-start.o when building shared library and
26162 $(static-start-installed-name) is different from
26163 $(start-installed-name).
26164 $(objpfx)g$(static-start-installed-name): When building shared
26165 library and $(static-start-installed-name) is different from
26166 $(static-start-installed-name), revert to non-shared rule,
26167 i.e. using $(objpfx)% and gmon-start.o.
26168
26169 2015-08-06 Joseph Myers <joseph@codesourcery.com>
26170
26171 [BZ #16519]
26172 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26173 (__ieee754_sinh): Force underflow exception for arguments with
26174 small absolute value.
26175 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26176 (__ieee754_sinhf): Force underflow exception for arguments with
26177 small absolute value.
26178 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26179 (__ieee754_sinhl): Force underflow exception for arguments with
26180 small absolute value.
26181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26182 (__ieee754_sinhl): Force underflow exception for arguments with
26183 small absolute value.
26184 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26185 (__ieee754_sinhl): Force underflow exception for arguments with
26186 small absolute value.
26187 * math/auto-libm-test-in: Add more tests of sinh.
26188 * math/auto-libm-test-out: Regenerated.
26189 * sysdeps/i386/fpu/libm-test-ulps: Update.
26190
26191 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26192
26193 * libio/oldfileops.c: Include unistd.h.
26194
26195 2015-08-06 Mike Frysinger <vapier@gentoo.org>
26196
26197 * stdlib/isomac.c: Include ctype.h.
26198
26199 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
26200
26201 * dirent/tst-seekdir.c (main): Converted to ...
26202 (do_test): ... this.
26203 (TEST_FUNCTION): New macro.
26204 Include test-skeleton.c.
26205 * elf/tst-dlmodcount.c (main): Converted to ...
26206 (do_test): ... this.
26207 (TEST_FUNCTION): New macro.
26208 Include test-skeleton.c.
26209 * elf/tst-order-main.c (main): Converted to ...
26210 (do_test): ... this.
26211 (TEST_FUNCTION): New macro.
26212 Include test-skeleton.c.
26213 * elf/tst-pie2.c (main): Converted to ...
26214 (do_test): ... this.
26215 (TEST_FUNCTION): New macro.
26216 Include test-skeleton.c.
26217 * inet/tst-ether_aton.c (main): Converted to ...
26218 (do_test): ... this.
26219 (TEST_FUNCTION): New macro.
26220 Include test-skeleton.c.
26221 * misc/tst-mntent.c (main): Converted to ...
26222 (do_test): ... this.
26223 (TEST_FUNCTION): New macro.
26224 Include test-skeleton.c.
26225 * misc/tst-tsearch.c (main): Converted to ...
26226 (do_test): ... this.
26227 (TEST_FUNCTION): New macro.
26228 Include test-skeleton.c.
26229 * posix/tst-regexloc.c (main): Converted to ...
26230 (do_test): ... this.
26231 (TEST_FUNCTION): New macro.
26232 Include test-skeleton.c.
26233 * resolv/tst-aton.c (main): Converted to ...
26234 (do_test): ... this.
26235 (TEST_FUNCTION): New macro.
26236 Include test-skeleton.c.
26237 * stdio-common/test-fwrite.c (main): Converted to ...
26238 (do_test): ... this.
26239 (TEST_FUNCTION): New macro.
26240 Include test-skeleton.c.
26241 * stdio-common/tst-ferror.c (main): Converted to ...
26242 (do_test): ... this.
26243 (TEST_FUNCTION): New macro.
26244 Include test-skeleton.c.
26245 * stdio-common/tst-printf.c (main): Converted to ...
26246 (do_test): ... this.
26247 (TEST_FUNCTION): New macro.
26248 Include test-skeleton.c.
26249 * stdio-common/tst-printfsz.c (main): Converted to ...
26250 (do_test): ... this.
26251 (TEST_FUNCTION): New macro.
26252 Include test-skeleton.c.
26253 * stdlib/tst-strtod.c (main): Converted to ...
26254 (do_test): ... this.
26255 (TEST_FUNCTION): New macro.
26256 Include test-skeleton.c.
26257 * string/tst-strlen.c (main): Converted to ...
26258 (do_test): ... this.
26259 (TEST_FUNCTION): New macro.
26260 Include test-skeleton.c.
26261 * string/tst-svc.c (main): Converted to ...
26262 (do_test): ... this.
26263 (TEST_FUNCTION): New macro.
26264 Include test-skeleton.c.
26265 * time/tst-strptime.c (main): Converted to ...
26266 (do_test): ... this.
26267 (TEST_FUNCTION): New macro.
26268 Include test-skeleton.c.
26269 * timezone/tst-timezone.c (main): Converted to ...
26270 (do_test): ... this.
26271 (TEST_FUNCTION): New macro.
26272 Include test-skeleton.c.
26273
26274 2015-08-05 Zack Weinberg <zackw@panix.com>
26275
26276 * misc/regexp.h: Update comments.
26277
26278 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
26279
26280 [BZ #18635]
26281 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26282 before return label.
26283
26284 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
26285
26286 [BZ #18661]
26287 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26288 when calling __errno_location.
26289 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26290 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26291
26292 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
26293
26294 [BZ #18661]
26295 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26296 (__lll_timedwait_tid): Align stack to 16 bytes when calling
26297 __gettimeofday.
26298
26299 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
26300
26301 [BZ #18661]
26302 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26303 (__start_context): Don't use pop to restore %rdi so that stack
26304 is aligned to 16 bytes when calling __setcontext.
26305
26306 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
26307
26308 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26309 only for libc.
26310 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26311
26312 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
26313
26314 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26315 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
26316 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26317
26318 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
26319
26320 * string/memccpy.c (memccpy):
26321 Improve performance by using memchr/memcpy/__mempcpy.
26322
26323 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
26324
26325 * string/strncpy.c (strncpy):
26326 Improve performance by using __strnlen/memcpy.
26327
26328 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
26329
26330 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26331 Optimize to avoid an unnecessary FPCR read.
26332
26333 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
26334
26335 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26336 Optimize to reduce FPCR/FPSR accesses.
26337
26338 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
26339
26340 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26341 dead->data[category] != NULL.
26342
26343 2015-08-05 Joseph Myers <joseph@codesourcery.com>
26344
26345 [BZ #18647]
26346 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26347 and |x| close to 1, use absolute value of x when computing log.
26348 * math/auto-libm-test-in: Add more tests of pow.
26349 * math/auto-libm-test-out: Regenerated.
26350
26351 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26352
26353 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26354 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26355 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26356
26357 2015-08-05 Marko Myllynen <myllynen@redhat.com>
26358
26359 [BZ #18525]
26360 * locales/km_KH: Remove timezone definition.
26361 * locales/lo_LA: Likewise.
26362 * locales/my_MM: Likewise.
26363 * locales/nan_TW@latin: Likewise.
26364 * locales/th_TH: Likewise.
26365 * locales/uk_UA: Likewise.
26366
26367 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26368
26369 [BZ #18265]
26370 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26371 (wcsncat): Likewise.
26372 (wcscmp): Likewise.
26373 (wcsncmp): Likewise.
26374
26375 2015-08-05 Mike Frysinger <vapier@gentoo.org>
26376
26377 * test-skeleton.c (usage): New function.
26378 (main): Call usage when opt is '?'.
26379
26380 2015-08-05 Mike Frysinger <vapier@gentoo.org>
26381
26382 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26383 before first use.
26384
26385 2015-08-05 Mike Frysinger <vapier@gentoo.org>
26386
26387 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26388 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
26389 in there too.
26390
26391 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
26392
26393 * version.h (RELEASE): Set to "development".
26394 (VERSION): Set to "2.22.90"
26395
26396 * version.h (RELEASE): Set to "stable".
26397 (VERSION): Set to "2.22"
26398 * include/features.h (__GLIBC_MINOR__): Set to 22.
26399
26400 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
26401
26402 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26403 Restructure macro to avoid "value computed is not used" warning.
26404 (atomic_compare_and_exchange_val_acq): Likewise.
26405
26406 2015-08-04 Andreas Schwab <schwab@suse.de>
26407
26408 [BZ #18635]
26409 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26410 ret.
26411 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26412
26413 2015-08-01 Carlos O'Donell <carlos@redhat.com>
26414
26415 * po/pl.po: Updated translation.
26416 * po/uk.po: Likewise.
26417 * po/fi.po: Likewise.
26418 * po/ko.po: Likewise.
26419 * po/ru.po: Likewise.
26420 * po/vi.po: Likewise.
26421
26422 2015-07-31 Zack Weinberg <zackw@panix.com>
26423
26424 [BZ #18681]
26425 * regexp.h: Add unconditional #warning stating that this header
26426 will be removed soon. Revise banner comment to match.
26427 (compile): Consistently use ERROR instead of RETURN to report
26428 errors (partial fix for bz#18681).
26429 * regexp.c: Don't include regexp.h. Remove some unnecessary
26430 declarations.
26431
26432 2015-07-31 Carlos O'Donell <carlos@redhat.com>
26433
26434 * po/libc.pot: Regenerated.
26435
26436 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
26437
26438 [BZ #18740]
26439 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26440 float-vlen4-arch-ext-cflags): Removed.
26441 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26442 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26443
26444 2015-07-30 Mike Frysinger <vapier@gentoo.org>
26445
26446 [BZ #14113]
26447 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26448 aligned to __aligned__.
26449 (pthread_cond_t, pthread_rwlock_t): Likewise.
26450
26451 2015-07-30 Torvald Riegel <triegel@redhat.com>
26452
26453 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26454
26455 2015-07-30 Mike Frysinger <vapier@gentoo.org>
26456
26457 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26458 (struct sigaction): Change sa_flags from a long to an int, and add
26459 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26460
26461 2015-07-30 Mike Frysinger <vapier@gentoo.org>
26462
26463 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26464 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26465 sysdeps/generic/sysdep.h include.
26466 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26467 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
26468 sysdeps/hppa/sysdep.h.
26469 (ENTRY, PSEUDO): Undefine before defining.
26470
26471 2015-07-30 Mike Frysinger <vapier@gentoo.org>
26472
26473 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26474 from scratch to use INTERNAL_SYSCALL.
26475
26476 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
26477
26478 [BZ #18078]
26479 * scripts/check-localplt.awk: Support alternate relocations.
26480 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26481 sections.
26482 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26483 malloc entries with + REL R_386_GLOB_DAT.
26484 * sysdeps/x86_64/localplt.data: New file.
26485
26486 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
26487
26488 [BZ #18731]
26489 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26490 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26491 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26492
26493 2015-07-27 Mike Frysinger <vapier@gentoo.org>
26494
26495 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26496
26497 2015-07-27 Mike Frysinger <vapier@gentoo.org>
26498
26499 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26500 directly in terms of __sync_fetch_and_add and delete (int) cast.
26501
26502 2015-07-27 Mike Frysinger <vapier@gentoo.org>
26503
26504 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26505 the -D_ASM_IA64_CURRENT_H flag.
26506
26507 2015-07-27 Mike Frysinger <vapier@gentoo.org>
26508
26509 [BZ #18641]
26510 * pwd/pwd.h (putpwent): Delete __nonnull markings.
26511
26512 2015-07-27 Andreas Schwab <schwab@suse.de>
26513
26514 * conform/conformtest.pl (checknamespace): Filter out string
26515 literals while tokenizing.
26516
26517 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
26518
26519 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26520 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26521 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26522
26523 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
26524
26525 * nptl/tst-join7mod.c: Add #include <string.h>.
26526
26527 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
26528
26529 * sysdeps/nios2/libm-test-ulps: Update.
26530
26531 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
26532
26533 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26534 Fix order of arguments to the rt_sigprocmask syscall.
26535 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26536 Likewise.
26537
26538 2015-07-24 Roland McGrath <roland@hack.frob.com>
26539
26540 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26541
26542 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26543
26544 [BZ #18457]
26545 * nptl/Makefile (tests): New test case tst-join7.
26546 (modules-names): New test case module tst-join7mod.
26547 * nptl/tst-join7.c: New file.
26548 * nptl/tst-join7mod.c: New file.
26549 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26550 all translation units in libc.so, libpthread.so and rtld.
26551
26552 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26553
26554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26555
26556 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
26557
26558 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26559 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26560 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26561 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26562 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26563 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26564 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26565 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26566 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26567 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26568 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26569 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26570 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26571 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26572 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26573 implementation.
26574
26575 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26576
26577 [BZ #17711]
26578 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26579 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26580 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26581 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26582 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26583 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26584
26585 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26586
26587 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26588 instead of just saying load lock in the comments.
26589
26590 2015-07-23 Roland McGrath <roland@hack.frob.com>
26591
26592 * sysdeps/unix/Subdirs: Moved ...
26593 * sysdeps/posix/Subdirs: ... here.
26594 * login/pty.h (struct termios, struct winsize): Add forward decls.
26595 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26596 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26597 * sysdeps/arm/nacl/libc.abilist: Updated.
26598 * sysdeps/nacl/libutil.abilist: New file.
26599
26600 * bits/signum.h: Update comments to mention 1003.1-2013 too.
26601 (SIGWINCH): New macro.
26602
26603 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26604 * sysdeps/arm/nacl/libc.abilist: Add it.
26605
26606 2015-07-23 Mike Frysinger <vapier@gentoo.org>
26607
26608 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26609
26610 2015-07-23 Mike Frysinger <vapier@gentoo.org>
26611
26612 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26613 Swap __glibc_reserved0 and sa_flags order.
26614
26615 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26616
26617 [BZ #18657]
26618 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26619 are pending TLS destructor calls.
26620 * include/link.h (struct link_map): Add concurrency note for
26621 L_TLS_DTOR_COUNT.
26622 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26623 Don't touch the link map flag. Atomically increment
26624 l_tls_dtor_count.
26625 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26626 Avoid taking the load lock and don't touch the link map flag.
26627 * stdlib/tst-tls-atexit-nodelete.c: New test case.
26628 * stdlib/Makefile (tests): Use it.
26629 * stdlib/tst-tls-atexit.c (do_test): dlopen
26630 tst-tls-atexit-lib.so again before dlclose. Add conditionals
26631 to allow tst-tls-atexit-nodelete test case to use it.
26632
26633 2015-07-22 Mike Frysinger <vapier@gentoo.org>
26634
26635 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26636 to bits/types.h.
26637 (msgqnum_t): New typedef.
26638 (msglen_t): Likewise.
26639 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
26640 and msg_qbytes type to msglen_t.
26641
26642 2015-07-22 Mike Frysinger <vapier@gentoo.org>
26643
26644 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26645 pad0 to __glibc_reserved0.
26646 (struct stat64): Likewise.
26647
26648 2015-07-22 Mike Frysinger <vapier@gentoo.org>
26649
26650 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26651 Change sa_flags from a long to an int and add __glibc_reserved0 before
26652 it for padding.
26653
26654 2015-07-22 Mike Frysinger <vapier@gentoo.org>
26655
26656 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26657 anonymous by deleting "siginfo" name.
26658
26659 2015-07-21 Roland McGrath <roland@hack.frob.com>
26660
26661 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26662 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26663 rather than __nacl_irt_filename.
26664 * sysdeps/nacl/xstat.c (__xstat): Likewise.
26665
26666 * NEWS: New item for arm-nacl port.
26667 * sysdeps/arm/nacl/libc.abilist: New file.
26668 * sysdeps/nacl/ld.abilist: New file.
26669 * sysdeps/nacl/libBrokenLocale.abilist: New file.
26670 * sysdeps/nacl/libanl.abilist: New file.
26671 * sysdeps/nacl/libcrypt.abilist: New file.
26672 * sysdeps/nacl/libdl.abilist: New file.
26673 * sysdeps/nacl/libm.abilist: New file.
26674 * sysdeps/nacl/libpthread.abilist: New file.
26675 * sysdeps/nacl/libresolv.abilist: New file.
26676 * sysdeps/nacl/librt.abilist: New file.
26677
26678 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
26679
26680 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26681 __startcontext to initialize the new context.
26682 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26683 up CFI directive to forbid further backtracing.
26684
26685 2015-07-21 Marko Myllynen <myllynen@redhat.com>
26686
26687 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26688 reference.
26689 * charmaps/ANSI_X3.4-1968: Likewise.
26690 * charmaps/BS_4730: Likewise.
26691 * charmaps/BS_VIEWDATA: Likewise.
26692 * charmaps/CP1250: Likewise.
26693 * charmaps/CP1251: Likewise.
26694 * charmaps/CP1252: Likewise.
26695 * charmaps/CP1253: Likewise.
26696 * charmaps/CP1254: Likewise.
26697 * charmaps/CP1255: Likewise.
26698 * charmaps/CP1256: Likewise.
26699 * charmaps/CSN_369103: Likewise.
26700 * charmaps/EBCDIC-DK-NO: Likewise.
26701 * charmaps/GB_1988-80: Likewise.
26702 * charmaps/GREEK-CCITT: Likewise.
26703 * charmaps/GREEK7: Likewise.
26704 * charmaps/INIS-8: Likewise.
26705 * charmaps/ISIRI-3342: Likewise.
26706 * charmaps/ISO_2033-1983: Likewise.
26707 * charmaps/ISO_5427-EXT: Likewise.
26708 * locales/POSIX: Likewise.
26709 * locales/ar_SA: Likewise.
26710 * locales/be_BY: Likewise.
26711 * locales/be_BY@latin: Likewise.
26712 * locales/ca_ES: Likewise.
26713 * locales/cs_CZ: Likewise.
26714 * locales/da_DK: Likewise.
26715 * locales/de_BE: Likewise.
26716 * locales/de_CH: Likewise.
26717 * locales/de_LU: Likewise.
26718 * locales/en_AU: Likewise.
26719 * locales/en_BW: Likewise.
26720 * locales/en_CA: Likewise.
26721 * locales/en_DK: Likewise.
26722 * locales/en_GB: Likewise.
26723 * locales/en_IE: Likewise.
26724 * locales/en_NZ: Likewise.
26725 * locales/en_ZA: Likewise.
26726 * locales/en_ZW: Likewise.
26727 * locales/es_AR: Likewise.
26728 * locales/es_BO: Likewise.
26729 * locales/es_CL: Likewise.
26730 * locales/es_CO: Likewise.
26731 * locales/es_DO: Likewise.
26732 * locales/es_EC: Likewise.
26733 * locales/es_ES: Likewise.
26734 * locales/es_HN: Likewise.
26735 * locales/es_MX: Likewise.
26736 * locales/es_PA: Likewise.
26737 * locales/es_PE: Likewise.
26738 * locales/es_PY: Likewise.
26739 * locales/es_SV: Likewise.
26740 * locales/es_US: Likewise.
26741 * locales/es_UY: Likewise.
26742 * locales/es_VE: Likewise.
26743 * locales/et_EE: Likewise.
26744 * locales/fa_IR: Likewise.
26745 * locales/fo_FO: Likewise.
26746 * locales/fr_CA: Likewise.
26747 * locales/fr_CH: Likewise.
26748 * locales/gv_GB: Likewise.
26749 * locales/he_IL: Likewise.
26750 * locales/hr_HR: Likewise.
26751 * locales/id_ID: Likewise.
26752 * locales/is_IS: Likewise.
26753 * locales/it_CH: Likewise.
26754 * locales/iw_IL: Likewise.
26755 * locales/kl_GL: Likewise.
26756 * locales/ko_KR: Likewise.
26757 * locales/kw_GB: Likewise.
26758 * locales/lg_UG: Likewise.
26759 * locales/lt_LT: Likewise.
26760 * locales/lv_LV: Likewise.
26761 * locales/mi_NZ: Likewise.
26762 * locales/nhn_MX: Likewise.
26763 * locales/nl_BE: Likewise.
26764 * locales/pl_PL: Likewise.
26765 * locales/sk_SK: Likewise.
26766 * locales/sl_SI: Likewise.
26767 * locales/sv_FI: Likewise.
26768 * locales/tl_PH: Likewise.
26769 * locales/tr_TR: Likewise.
26770 * locales/vi_VN: Likewise.
26771
26772 2015-07-21 Khem Raj <raj.khem@gmail.com>
26773
26774 [BZ #17475]
26775 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26776 of tu_IN and bh_IN.
26777
26778 2015-07-21 Mike Frysinger <vapier@gentoo.org>
26779
26780 [BZ #18694]
26781 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26782 bits/wordsize.h.
26783 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26784
26785 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26786
26787 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26788 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26789 (spawn_thread): New function.
26790 (load): Rename to reg_dtor_and_close. Move dlopen to...
26791 (do_test): ... here. Use IS_LOADED to test for its
26792 availability.
26793
26794 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
26795
26796 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26797
26798 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
26799
26800 [BZ #18696]
26801 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26802 si_addr_bnd.
26803 (si_lower): New.
26804 (si_upper): Likewise.
26805
26806 2015-07-16 David S. Miller <davem@davemloft.net>
26807
26808 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26809
26810 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26811
26812 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26813 buffer.
26814 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26815 fail output information.
26816
26817 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26818
26819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26820 and strstr-ppc64..
26821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26822 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26823 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26824 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26825 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26826
26827 2015-07-16 Mike Frysinger <vapier@gentoo.org>
26828
26829 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26830 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26831 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26832 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26833
26834 2015-07-16 Mike Frysinger <vapier@gentoo.org>
26835
26836 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26837 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26838 rtld_hidden_proto.
26839 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26840
26841 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26842
26843 * tst-nodelete-opened.c (do_test): Add comment to clarify how
26844 the test can fail.
26845
26846 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26847
26848 [BZ #18676]
26849 * elf/tst-nodelete-opened.c: New test case.
26850 * elf/tst-nodelete-opened-lib.c: New test case module.
26851 * elf/Makefile (tests, modules-names): Use them.
26852 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26853 early.
26854
26855 2015-07-15 David S. Miller <davem@davemloft.net>
26856
26857 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26858 futex-intenal.h
26859 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26860 * sysdeps/sparc/sparc64/Makefile: Likewise.
26861 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26862 Remove space from macro define.
26863 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26864
26865 2015-07-15 Pravin Satpute <psatpute@redhat.com>
26866
26867 [BZ #17475]
26868 * locale/iso-639.def: Update Bhili and Tulu language codes as
26869 per iso639-3.
26870
26871 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
26872
26873 * elf/tst-leaks1.c (main): Converted to ...
26874 (do_test): ... this.
26875 (TEST_FUNCTION): New macro.
26876 Include test-skeleton.c.
26877 * localedata/tst-langinfo.c (main): Converted to ...
26878 (do_test): ... this.
26879 (TEST_FUNCTION): New macro.
26880 Include test-skeleton.c.
26881 * math/test-fpucw.c (main): Converted to ...
26882 (do_test): ... this.
26883 (TEST_FUNCTION): New macro.
26884 Include test-skeleton.c.
26885 * math/test-tgmath.c (main): Converted to ...
26886 (do_test): ... this.
26887 (TEST_FUNCTION): New macro.
26888 Include test-skeleton.c.
26889 * math/test-tgmath2.c (main): Converted to ...
26890 (do_test): ... this.
26891 (TEST_FUNCTION): New macro.
26892 Include test-skeleton.c.
26893 * setjmp/tst-setjmp.c (main): Converted to ...
26894 (do_test): ... this.
26895 (TEST_FUNCTION): New macro.
26896 Include test-skeleton.c.
26897 * stdio-common/tst-sscanf.c (main): Converted to ...
26898 (do_test): ... this.
26899 (TEST_FUNCTION): New macro.
26900 Include test-skeleton.c.
26901 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26902 (do_test): ... this.
26903 (TEST_FUNCTION): New macro.
26904 Include test-skeleton.c.
26905
26906 * elf/tst-audit9.c (main): Converted to ...
26907 (do_test): ... this.
26908 (TEST_FUNCTION): New macro.
26909 Include test-skeleton.c.
26910
26911 2015-07-15 Mike Frysinger <vapier@gentoo.org>
26912
26913 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26914
26915 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
26916
26917 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26918 New variable.
26919
26920 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
26921
26922 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26923
26924 2015-07-14 Roland McGrath <roland@hack.frob.com>
26925
26926 * sysdeps/generic/dl-fileid.h: New file.
26927 * sysdeps/posix/dl-fileid.h: New file.
26928 * sysdeps/nacl/dl-fileid.h: New file.
26929 * include/link.h: Include <dl-fileid.h>.
26930 (struct link_map): Replace l_dev and l_ino with l_file_id.
26931 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26932 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
26933 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
26934
26935 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26936
26937 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26938
26939 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26940
26941 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26942 Add iff $CXX is set.
26943 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26944 Likewise.
26945 (tst-nodelete-zmodiff): Likewise.
26946 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26947
26948 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26949
26950 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26951
26952 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
26953
26954 * sysdeps/aarch64/fpu/math_private.h
26955 (define math_opt_barrier): Add AArch64 version.
26956 (math_force_eval): Likewise.
26957
26958 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
26959
26960 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26961
26962 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
26963
26964 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26965 %ld with %jd and cast to intmax_t.
26966 (do_test_length_zero): Likewise.
26967
26968 2015-07-10 Roland McGrath <roland@hack.frob.com>
26969
26970 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26971
26972 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
26973
26974 * sysdeps/tile/libm-test-ulps: Regenerated.
26975
26976 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26977 Comment out the whole function, not just its body.
26978
26979 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26980
26981 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26982 locks.
26983
26984 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26985
26986 2015-07-10 Torvald Riegel <triegel@redhat.com>
26987
26988 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26989 (sem_assume_only_signals_cause_futex_EINTR): Remove.
26990
26991 2015-07-10 Torvald Riegel <triegel@redhat.com>
26992
26993 * sysdeps/nptl/futex-internal.h: New file.
26994 * sysdeps/nacl/futex-internal.h: New file.
26995 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26996 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26997 error checking.
26998 (setxid_unmark_thread): Likewise.
26999 (__nptl_setxid): Likewise.
27000 (__wait_lookup_done): Likewise.
27001 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27002 * nptl/nptl-init.c (sighandler_setxid): Likewise.
27003 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27004 * nptl/pthread_once.c (clear_once_control): Likewise.
27005 (__pthread_once_slow): Likewise.
27006 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27007 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27008 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27009 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27010 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27011 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27012 Likewise.
27013 (__pthread_rwlock_rdlock): Likewise.
27014 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27015 Likewise.
27016 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27017 Likewise.
27018 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27019 Likewise.
27020 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27021 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27022 Likewise.
27023 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27024 __ASSUME_PRIVATE_FUTEX check.
27025 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27026 Check that shared futexes are supported.
27027 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27028 wrappers with error checking.
27029 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27030 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27031 * nptl/pthread_barrierattr_setpshared.c
27032 (pthread_barrierattr_setpshared): Check that shared futexes are
27033 supported.
27034 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27035 Likewise.
27036 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27037 Likewise.
27038 * nptl/sem_init.c (futex_private_if_supported): Remove.
27039 (__new_sem_init): Adapt and check that shared futexes are supported.
27040 * nptl/sem_open.c (sem_open): Likewise.
27041 * nptl/sem_post.c (futex_wake): Remove.
27042 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27043 (do_futex_wait): Use futex wrappers with error checking.
27044 * nptl/sem_wait.c: Include lowlevellock.h.
27045 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27046 Use futex_supports_pshared.
27047 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27048 Use futex wrappers with error checking.
27049 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27050 Likewise.
27051 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27052 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27053 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27054 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27055 (futex_wake): Likewise.
27056 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27057 (do_futex_wait): Use futex wrappers with error checking.
27058 (__new_sem_wait_slow): Update EINTR handling.
27059 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27060
27061 2015-07-09 Martin Sebor <msebor@redhat.com>
27062
27063 [BZ #18435]
27064 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27065 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27066 * nptl/Makefile (test-xfail-tst-once5): Define.
27067
27068 2015-07-09 Roland McGrath <roland@hack.frob.com>
27069
27070 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27071 * elf/dl-minimal.c: For readability, reorder some definitions and
27072 introduce more page breaks. Include <stdio.h>.
27073 (__libc_fatal): New function.
27074
27075 * include/unistd.h: Add rtld_hidden_proto for _exit.
27076 * posix/_exit.c: Add rtld_hidden_def.
27077 * sysdeps/mach/hurd/_exit.c: Likewise.
27078 * sysdeps/nacl/_exit.c: Likewise.
27079 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27080 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27081
27082 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27085 bndmov encoding with zero displacement.
27086
27087 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
27088 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 [BZ #18134]
27091 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27092 * sysdeps/i386/configure: Regenerated.
27093 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27094 (_dl_runtime_profile): Save and restore Intel MPX return bound
27095 registers when calling _dl_call_pltexit. Add
27096 PRESERVE_BND_REGS_PREFIX before return.
27097 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27098 (LRV_BND1_OFFSET): Likewise.
27099 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27100 lrv_bnd1.
27101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27102 typo in bndmov encoding.
27103 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27104 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
27105 branch instructions to preserve bounds.
27106
27107 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27108
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27110 [GLIBC_2.22]: Add fmemopen.
27111
27112 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
27113
27114 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27115 returns an error, also try to use host port from __mach_host_self for
27116 the __vm_wire call.
27117 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27118
27119 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
27120
27121 [BZ #18400]
27122 [BZ #18648]
27123 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27124 Fix pr_uid and pr_gid members.
27125 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27126 definition to elf_greg_t.
27127
27128 2015-07-08 Roland McGrath <roland@hack.frob.com>
27129
27130 [BZ #18383]
27131 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27132 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27133 * sysdeps/arm/configure: Regenerated.
27134 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27135 (test-xfail-tst-tlsalign-static): Variable removed.
27136
27137 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27138 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27139 rather than explicit 'ln -s'.
27140
27141 * resolv/rpc/netdb.h: New file.
27142 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27143
27144 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27145
27146 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27147 length buffers.
27148 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27149 test-skeleton.c.
27150
27151 [BZ #6544]
27152 [BZ #11216]
27153 [BZ #12836]
27154 [BZ #13151]
27155 [BZ #13152]
27156 [BZ #14292]
27157 * include/stdio.h (fmemopen): Remove hidden prototype.
27158 (__fmemopen): Add new hidden prototype.
27159 * libio/Makefile: Add oldfmemopen object.
27160 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27161 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27162 compliance.
27163 * libio/oldfmemopen.c: New file: old fmemopen implementation for
27164 symbol compatibility.
27165 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27166 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27167 fmemopen.
27168 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27169 on append and read mode.
27170 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27171 fmemopen.
27172 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27173 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27174 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27175 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27176 Likewise.
27177 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27178 [GLIBC_2.22]: Likewise.
27179 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27180 Likewise.
27181 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27182 Likewise.
27183 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27184 [GLIBC_2.22]: Likewise.
27185 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27186 [GLIBC_2.22]: Likewise.
27187 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27188 [GLIBC_2.22]: Likewise.
27189 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27190 [GLIBC_2.22]: Likewise.
27191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27192 [GLIBC_2.22]: Likewise.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27194 [GLIBC_2.22]: Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27196 [GLIBC_2.22]: Likewise.
27197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27198 Likewise.
27199 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27200 Likewise.
27201 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27203 [GLIBC_2.22]: Likewise.
27204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27205 [GLIBC_2.22]: Likewise.
27206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27207 [GLIBC_2.22]: Likewise.
27208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27209 [GLIBC_2.22]: Likewise.
27210 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27211 Likewise.
27212 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27213 Likewise.
27214 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27215 Likewise.
27216 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27217 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27218
27219 2015-07-08 Carlos O'Donell <carlos@redhat.com>
27220
27221 [BZ #18643]
27222 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27223 IPV6_PATHMTU, and IPV6_DONTFRAG.
27224
27225 2015-07-08 Feng Gao <gfree.wind@gmail.com>
27226
27227 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27228 and _IO_UNBUFFERED.
27229 * libio/oldfileops.c: Likewise.
27230 * libio/wfileops.c: Likewise.
27231
27232 2015-07-08 Mike Frysinger <vapier@gentoo.org>
27233
27234 * nscd/selinux.c: Delete selinux/flask.h include.
27235
27236 2015-07-08 Mike Frysinger <vapier@gentoo.org>
27237
27238 [BZ #18641]
27239 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27240 (putpwent): Likewise.
27241 (getpwnam): Likewise.
27242 (getpwent_r): Likewise.
27243 (getpwuid_r): Likewise.
27244 (getpwnam_r): Likewise.
27245 (fgetpwent_r): Likewise.
27246
27247 2015-07-08 Carlos O'Donell <carlos@redhat.com>
27248
27249 [BZ #18557]
27250 * inet/rcmd.c (__validuser2_sa): Check user first to
27251 short-circuit host check.
27252
27253 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
27254 Mikhail Ilin <m.ilin@samsung.com>
27255
27256 [BZ #17833]
27257 * elf/Makefile (tests): Add tst-nodelete.
27258 (modules-names): Add tst-nodelete-uniquemod.
27259 (tst-nodelete-uniquemod.so-no-z-defs): New.
27260 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27261 (tst-nodelete-zmod.so-no-z-defs): Likewise.
27262 ($(objpfx)tst-nodelete): Likewise.
27263 ($(objpfx)tst-nodelete.out): Likewise.
27264 (LDFLAGS-tst-nodelete): Likewise.
27265 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27266 * elf/dl-close.c (_dl_close_worker): Add a parameter to
27267 implement forced object deletion.
27268 (_dl_close): Pass false to _dl_close_worker.
27269 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27270 * elf/tst-nodelete.cc: New file.
27271 * elf/tst-nodeletelib.cc: Likewise.
27272 * elf/tst-znodeletelib.cc: Likewise.
27273 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27274
27275 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
27276
27277 [BZ #18508]
27278 * stdlib/Makefile ($(objpfx)tst-makecontext3):
27279 Depend on $(libdl).
27280 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27281 is not called infinitely times.
27282 (backtrace_helper): New function.
27283 (trace_arg): New struct.
27284 (st1): Enlarge stack size.
27285 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27286 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27288 Likewise.
27289
27290 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
27291
27292 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27293
27294 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
27295
27296 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27297 Include sys/types.h instead of bits/types.h.
27298 Remove inclusion of bits/wordsize.h.
27299
27300 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27303 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27304 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27305 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27306 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27307 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27308
27309 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
27310
27311 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27312 link-defines.sym.
27313 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27314 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27315 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27316 and LR_SIZE.
27317 * sysdeps/i386/link-defines.sym: New file.
27318
27319 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
27320
27321 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27322 (modules-names): Add tst-auditmod3a tst-auditmod3b.
27323 ($(objpfx)tst-audit3): New rule.
27324 ($(objpfx)tst-audit3.out): Likewise.
27325 * sysdeps/i386/tst-audit3.c: New file.
27326 * sysdeps/i386/tst-audit3.h: Likewise.
27327 * sysdeps/i386/tst-auditmod3a.c: Likewise.
27328 * sysdeps/i386/tst-auditmod3b.c: Likewise.
27329
27330 2015-07-07 Torvald Riegel <triegel@redhat.com>
27331
27332 [BZ #18633]
27333 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27334 pointer in C code.
27335 (__strcat_c): Likewise.
27336 (__strcat_g): Likewise.
27337
27338 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
27339
27340 [BZ #18592]
27341 * misc/sbrk.c: Set errno to ENOMEM on overflow.
27342
27343 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
27344
27345 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27346 New function. (__ieee754_sqrtf): New function.
27347 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27348 New function.
27349 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27350 New function.
27351
27352 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
27353
27354 * sysdeps/ieee754/support.c: Remove unused file.
27355
27356 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27357
27358 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27359 registers instead of d ones so the layout is kernel abi compatible.
27360 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27361 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27362 Likewise.
27363
27364 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27365
27366 * sysdeps/aarch64/libm-test-ulps: Regenerated.
27367
27368 2015-07-01 Joseph Myers <joseph@codesourcery.com>
27369
27370 [BZ #18619]
27371 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27372 and return argument in case of subnormal argument.
27373
27374 2015-07-01 Martin Sebor <msebor@redhat.com>
27375
27376 [BZ #18435]
27377 * nptl/Makefile: Add tst-once5.cc.
27378 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27379 Remove macro redefinitions.
27380 * nptl/tst-once5.cc: New test.
27381
27382 2015-07-01 Joseph Myers <joseph@codesourcery.com>
27383
27384 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27385
27386 * sysdeps/arm/libm-test-ulps: Regenerated.
27387
27388 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27389 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27390
27391 2015-06-30 Torvald Riegel <triegel@redhat.com>
27392
27393 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27394 lll_lock_wait_private and lll_futex_wake probes.
27395
27396 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27398 Likewise.
27399 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27400 atomic_spin_nop.
27401 * sysdeps/x86_64/bits/atomic.h: Likewise.
27402 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27403 to atomic_spin_nop and move ...
27404 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27405 ... here and ...
27406 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27407 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27408 atomic_spin_nop instead of BUSY_WAIT_NOP.
27409 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27410 Likewise.
27411 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27412 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27413 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27414 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27415 instead of atomic_delay.
27416
27417 2015-06-29 Joseph Myers <joseph@codesourcery.com>
27418
27419 [BZ #18613]
27420 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27421 X_ADJ not X when adjusting exponent.
27422 (__ieee754_gamma_r): Do intermediate computations in
27423 round-to-nearest then adjust overflowing and underflowing results
27424 as needed.
27425 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27426 of X_ADJ not X when adjusting exponent.
27427 (__ieee754_gammaf_r): Do intermediate computations in
27428 round-to-nearest then adjust overflowing and underflowing results
27429 as needed.
27430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27431 log of X_ADJ not X when adjusting exponent.
27432 (__ieee754_gammal_r): Do intermediate computations in
27433 round-to-nearest then adjust overflowing and underflowing results
27434 as needed. Use 1.0L not 1.0f as numerator of division.
27435 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27436 log of X_ADJ not X when adjusting exponent.
27437 (__ieee754_gammal_r): Do intermediate computations in
27438 round-to-nearest then adjust overflowing and underflowing results
27439 as needed. Use 1.0L not 1.0f as numerator of division.
27440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27441 of X_ADJ not X when adjusting exponent.
27442 (__ieee754_gammal_r): Do intermediate computations in
27443 round-to-nearest then adjust overflowing and underflowing results
27444 as needed. Use 1.0L not 1.0f as numerator of division.
27445 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
27446 to auto-libm-test-in.
27447 (tgamma_test): Use ALL_RM_TEST.
27448 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
27449 tests of tgamma with spurious-overflow.
27450 * math/auto-libm-test-out: Regenerated.
27451 * math/gen-libm-have-vector-test.sh: Do not check for START.
27452 * sysdeps/i386/fpu/libm-test-ulps: Update.
27453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27454
27455 [BZ #18612]
27456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27457 arguments, just return 0.5 times the argument, with underflow
27458 forced as needed.
27459 * math/auto-libm-test-in: Add more tests of j1.
27460 * math/auto-libm-test-out: Regenerated.
27461
27462 [BZ #16559]
27463 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27464 (__ieee754_j1): Force underflow exception for small results.
27465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27466 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27467 (__ieee754_j1f): Force underflow exception for small results.
27468 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27472 (__ieee754_j1l): Force underflow exception for small results.
27473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27474 * math/auto-libm-test-in: Add more tests of j1 and jn.
27475 * math/auto-libm-test-out: Regenerated.
27476
27477 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27479 (PF_MPLS): Likewise.
27480 (AF_IB): Likewise.
27481 (AF_MPLS): Likewise.
27482 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27483 value and macro.
27484 (MS_RMT_MASK): Include MS_LAZYTIME.
27485
27486 2015-06-26 Mel Gorman <mgorman@suse.de>
27487
27488 [BZ #18502]
27489 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27490 already minimal.
27491
27492 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
27493
27494 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27495 (DT_MIPS_NUM): Update.
27496 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27497 DT_MIPS_RLD_MAP_REL.
27498
27499 2015-06-25 Joseph Myers <joseph@codesourcery.com>
27500
27501 [BZ #16559]
27502 [BZ #18602]
27503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27504 round-to-nearest internally then recompute results that
27505 underflowed to zero in the original rounding mode.
27506 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27507 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27509 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27510 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27511 * sysdeps/i386/fpu/libm-test-ulps: Update.
27512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27513
27514 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
27515
27516 * NEWS: Fixed description of link with vector math library.
27517
27518 2015-06-25 Andreas Schwab <schwab@suse.de>
27519
27520 [BZ #18549]
27521 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27522 * libio/test-fmemopen.c (do_test): Add test for it.
27523
27524 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
27525
27526 [BZ #17841]
27527 * Makeconfig (no-pie-ldflag): New.
27528 (+link): Set to $(+link-pie) if default to PIE.
27529 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27530 * config.make.in (build-pie-default): New.
27531 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
27532 is default. AC_SUBST.
27533 * configure: Regenerated.
27534 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27535
27536 2015-06-24 Roland McGrath <roland@hack.frob.com>
27537
27538 * nptl/descr.h (struct pthread): Change type of field setxid_futex
27539 to 'unsigned int'.
27540
27541 * resolv/gai_misc.h (struct waitlist): Change type of field
27542 counterp to 'volatile unsigned int *'.
27543 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27544 FUTEXADDR and OLDVAL.
27545 * resolv/getaddrinfo_a.c (getaddrinfo_a):
27546 Give local variable TOTAL type 'volatile unsigned int'.
27547 (struct async_waitlist): Change type of field counter to 'unsigned int'.
27548 * resolv/gai_suspend.c (gai_suspend):
27549 Give local variable CNTR type 'unsigned int'.
27550
27551 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27552 counterp to 'volatile unsigned int *'.
27553 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27554 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27555 (aio_suspend): Give local variable CNTR type 'unsigned int'.
27556 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27557 Give local variable TOTAL type 'volatile unsigned int'.
27558 (struct async_waitlist): Change type of field counter to 'unsigned int'.
27559
27560 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
27561
27562 [BZ #18383]
27563 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27564 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
27565 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27566 comment for i386/x86-64.
27567 (test-xfail-tst-tlsalign-extern-static): Removed.
27568
27569 2015-06-24 Joseph Myers <joseph@codesourcery.com>
27570
27571 * math/test-double.h: New file.
27572 * math/test-float.h: Likewise.
27573 * math/test-ldouble.h: Likewise.
27574 * math/test-math-inline.h: Likewise.
27575 * math/test-math-no-inline.h: Likewise.
27576 * math/test-math-scalar.h: Likewise.
27577 * math/test-math-vector.h: Likewise.
27578 * math/test-vec-loop.h: Remove file. Contents moved into
27579 test-math-vector.h.
27580 * math/libm-test.inc (MATHCONST): Do not document macro.
27581 * math/test-double.c: Include test-double.h, test-math-no-inline.h
27582 and test-math-scalar.h.
27583 (FUNC): Remove macro.
27584 (FUNC_TEST): Likewise.
27585 (FLOAT): Likewise.
27586 (MATHCONST): Likewise.
27587 (PRINTF_EXPR): Likewise.
27588 (PRINTF_XEXPR): Likewise.
27589 (PRINTF_NEXPR): Likewise.
27590 (TEST_DOUBLE): Likewise.
27591 (TEST_MATHVEC): Likewise.
27592 (__NO_MATH_INLINES): Likewise.
27593 * math/test-float.c: Include test-float.h, test-math-no-inline.h
27594 and test-math-scalar.h.
27595 (FUNC): Remove macro.
27596 (FUNC_TEST): Likewise.
27597 (FLOAT): Likewise.
27598 (MATHCONST): Likewise.
27599 (PRINTF_EXPR): Likewise.
27600 (PRINTF_XEXPR): Likewise.
27601 (PRINTF_NEXPR): Likewise.
27602 (TEST_FLOAT): Likewise.
27603 (TEST_MATHVEC): Likewise.
27604 (__NO_MATH_INLINES): Likewise.
27605 * math/test-idouble.c: Include test-double.h, test-math-inline.h
27606 and test-math-scalar.h.
27607 (FUNC): Remove macro.
27608 (FUNC_TEST): Likewise.
27609 (FLOAT): Likewise.
27610 (MATHCONST): Likewise.
27611 (PRINTF_EXPR): Likewise.
27612 (PRINTF_XEXPR): Likewise.
27613 (PRINTF_NEXPR): Likewise.
27614 (TEST_DOUBLE): Likewise.
27615 (TEST_MATHVEC): Likewise.
27616 (TEST_INLINE): Likewise.
27617 (__NO_MATH_INLINES): Likewise.
27618 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27619 test-math-scalar.h.
27620 (FUNC): Remove macro.
27621 (FUNC_TEST): Likewise.
27622 (FLOAT): Likewise.
27623 (MATHCONST): Likewise.
27624 (PRINTF_EXPR): Likewise.
27625 (PRINTF_XEXPR): Likewise.
27626 (PRINTF_NEXPR): Likewise.
27627 (TEST_FLOAT): Likewise.
27628 (TEST_MATHVEC): Likewise.
27629 (TEST_INLINE): Likewise.
27630 (__NO_MATH_INLINES): Likewise.
27631 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27632 and test-math-scalar.h.
27633 (FUNC): Remove macro.
27634 (FUNC_TEST): Likewise.
27635 (FLOAT): Likewise.
27636 (MATHCONST): Likewise.
27637 (PRINTF_EXPR): Likewise.
27638 (PRINTF_XEXPR): Likewise.
27639 (PRINTF_NEXPR): Likewise.
27640 (TEST_LDOUBLE): Likewise.
27641 (TEST_MATHVEC): Likewise.
27642 (TEST_INLINE): Likewise.
27643 (__NO_MATH_INLINES): Likewise.
27644 * math/test-ldouble.c: Include test-ldouble.h,
27645 test-math-no-inline.h and test-math-scalar.h.
27646 (FUNC): Remove macro.
27647 (FUNC_TEST): Likewise.
27648 (FLOAT): Likewise.
27649 (MATHCONST): Likewise.
27650 (PRINTF_EXPR): Likewise.
27651 (PRINTF_XEXPR): Likewise.
27652 (PRINTF_NEXPR): Likewise.
27653 (TEST_LDOUBLE): Likewise.
27654 (TEST_MATHVEC): Likewise.
27655 (__NO_MATH_INLINES): Likewise.
27656 * math/test-double-vlen2.h: Include test-double.h,
27657 test-math-no-inline.h and test-math-vector.h.
27658 (FLOAT): Remove macro.
27659 (FUNC): Likewise.
27660 (MATHCONST): Likewise.
27661 (PRINTF_EXPR): Likewise.
27662 (PRINTF_XEXPR): Likewise.
27663 (PRINTF_NEXPR): Likewise.
27664 (TEST_DOUBLE): Likewise.
27665 (TEST_MATHVEC): Likewise.
27666 (__NO_MATH_INLINES): Likewise.
27667 (CNCT): Likewise.
27668 (CONCAT): Likewise.
27669 (WRAPPER_NAME): Likewise.
27670 (WRAPPER_DECL): Likewise.
27671 (WRAPPER_DECL_ff): Likewise.
27672 (WRAPPER_DECL_fFF): Likewise.
27673 (VECTOR_WRAPPER): Likewise.
27674 (VECTOR_WRAPPER_ff): Likewise.
27675 (VECTOR_WRAPPER_fFF): Likewise.
27676 (VEC_LEN): New macro.
27677 * math/test-double-vlen4.h: Include test-double.h,
27678 test-math-no-inline.h and test-math-vector.h.
27679 (FLOAT): Remove macro.
27680 (FUNC): Likewise.
27681 (MATHCONST): Likewise.
27682 (PRINTF_EXPR): Likewise.
27683 (PRINTF_XEXPR): Likewise.
27684 (PRINTF_NEXPR): Likewise.
27685 (TEST_DOUBLE): Likewise.
27686 (TEST_MATHVEC): Likewise.
27687 (__NO_MATH_INLINES): Likewise.
27688 (CNCT): Likewise.
27689 (CONCAT): Likewise.
27690 (WRAPPER_NAME): Likewise.
27691 (WRAPPER_DECL): Likewise.
27692 (WRAPPER_DECL_ff): Likewise.
27693 (WRAPPER_DECL_fFF): Likewise.
27694 (VECTOR_WRAPPER): Likewise.
27695 (VECTOR_WRAPPER_ff): Likewise.
27696 (VECTOR_WRAPPER_fFF): Likewise.
27697 (VEC_LEN): New macro.
27698 * math/test-double-vlen8.h: Include test-double.h,
27699 test-math-no-inline.h and test-math-vector.h.
27700 (FLOAT): Remove macro.
27701 (FUNC): Likewise.
27702 (MATHCONST): Likewise.
27703 (PRINTF_EXPR): Likewise.
27704 (PRINTF_XEXPR): Likewise.
27705 (PRINTF_NEXPR): Likewise.
27706 (TEST_DOUBLE): Likewise.
27707 (TEST_MATHVEC): Likewise.
27708 (__NO_MATH_INLINES): Likewise.
27709 (CNCT): Likewise.
27710 (CONCAT): Likewise.
27711 (WRAPPER_NAME): Likewise.
27712 (WRAPPER_DECL): Likewise.
27713 (WRAPPER_DECL_ff): Likewise.
27714 (WRAPPER_DECL_fFF): Likewise.
27715 (VECTOR_WRAPPER): Likewise.
27716 (VECTOR_WRAPPER_ff): Likewise.
27717 (VECTOR_WRAPPER_fFF): Likewise.
27718 (VEC_LEN): New macro.
27719 * math/test-float-vlen4.h: Include test-float.h,
27720 test-math-no-inline.h and test-math-vector.h.
27721 (FLOAT): Remove macro.
27722 (FUNC): Likewise.
27723 (MATHCONST): Likewise.
27724 (PRINTF_EXPR): Likewise.
27725 (PRINTF_XEXPR): Likewise.
27726 (PRINTF_NEXPR): Likewise.
27727 (TEST_FLOAT): Likewise.
27728 (TEST_MATHVEC): Likewise.
27729 (__NO_MATH_INLINES): Likewise.
27730 (CNCT): Likewise.
27731 (CONCAT): Likewise.
27732 (WRAPPER_NAME): Likewise.
27733 (WRAPPER_DECL): Likewise.
27734 (WRAPPER_DECL_ff): Likewise.
27735 (WRAPPER_DECL_fFF): Likewise.
27736 (VECTOR_WRAPPER): Likewise.
27737 (VECTOR_WRAPPER_ff): Likewise.
27738 (VECTOR_WRAPPER_fFF): Likewise.
27739 (VEC_LEN): New macro.
27740 * math/test-float-vlen8.h: Include test-float.h,
27741 test-math-no-inline.h and test-math-vector.h.
27742 (FLOAT): Remove macro.
27743 (FUNC): Likewise.
27744 (MATHCONST): Likewise.
27745 (PRINTF_EXPR): Likewise.
27746 (PRINTF_XEXPR): Likewise.
27747 (PRINTF_NEXPR): Likewise.
27748 (TEST_FLOAT): Likewise.
27749 (TEST_MATHVEC): Likewise.
27750 (__NO_MATH_INLINES): Likewise.
27751 (CNCT): Likewise.
27752 (CONCAT): Likewise.
27753 (WRAPPER_NAME): Likewise.
27754 (WRAPPER_DECL): Likewise.
27755 (WRAPPER_DECL_ff): Likewise.
27756 (WRAPPER_DECL_fFF): Likewise.
27757 (VECTOR_WRAPPER): Likewise.
27758 (VECTOR_WRAPPER_ff): Likewise.
27759 (VECTOR_WRAPPER_fFF): Likewise.
27760 (VEC_LEN): New macro.
27761 * math/test-float-vlen16.h: Include test-float.h,
27762 test-math-no-inline.h and test-math-vector.h.
27763 (FLOAT): Remove macro.
27764 (FUNC): Likewise.
27765 (MATHCONST): Likewise.
27766 (PRINTF_EXPR): Likewise.
27767 (PRINTF_XEXPR): Likewise.
27768 (PRINTF_NEXPR): Likewise.
27769 (TEST_FLOAT): Likewise.
27770 (TEST_MATHVEC): Likewise.
27771 (__NO_MATH_INLINES): Likewise.
27772 (CNCT): Likewise.
27773 (CONCAT): Likewise.
27774 (WRAPPER_NAME): Likewise.
27775 (WRAPPER_DECL): Likewise.
27776 (WRAPPER_DECL_ff): Likewise.
27777 (WRAPPER_DECL_fFF): Likewise.
27778 (VECTOR_WRAPPER): Likewise.
27779 (VECTOR_WRAPPER_ff): Likewise.
27780 (VECTOR_WRAPPER_fFF): Likewise.
27781 (VEC_LEN): New macro.
27782 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27783 test-vec-loop.h.
27784 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27785 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27786 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27787 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27788 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27789 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27790 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27791
27792 2015-06-24 Roland McGrath <roland@hack.frob.com>
27793
27794 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27795 (__getlogin_r): ... this.
27796
27797 2015-06-24 Joseph Myers <joseph@codesourcery.com>
27798
27799 [BZ #18594]
27800 * math/s_ccosh.c (__ccosh): Compare with least normal value
27801 instead of comparing class with FP_SUBNORMAL.
27802 * math/s_ccoshf.c (__ccoshf): Likewise.
27803 * math/s_ccoshl.c (__ccoshl): Likewise.
27804 * math/s_cexp.c (__cexp): Likewise.
27805 * math/s_cexpf.c (__cexpf): Likewise.
27806 * math/s_cexpl.c (__cexpl): Likewise.
27807 * math/s_csin.c (__csin): Likewise.
27808 * math/s_csinf.c (__csinf): Likewise.
27809 * math/s_csinh.c (__csinh): Likewise.
27810 * math/s_csinhf.c (__csinhf): Likewise.
27811 * math/s_csinhl.c (__csinhl): Likewise.
27812 * math/s_csinl.c (__csinl): Likewise.
27813 * math/s_ctan.c (__ctan): Likewise.
27814 * math/s_ctanf.c (__ctanf): Likewise.
27815 * math/s_ctanh.c (__ctanh): Likewise.
27816 * math/s_ctanhf.c (__ctanhf): Likewise.
27817 * math/s_ctanhl.c (__ctanhl): Likewise.
27818 * math/s_ctanl.c (__ctanl): Likewise.
27819 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27820 csin, csinh, ctan and ctanh.
27821 * math/auto-libm-test-out: Regenerated.
27822 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27823 * sysdeps/i386/fpu/libm-test-ulps: Update.
27824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27825
27826 2015-06-24 Roland McGrath <roland@hack.frob.com>
27827
27828 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27829 return value is wrong, print the expected value too.
27830
27831 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
27832
27833 [BZ #18585]
27834 * elf/readlib.c (is_gdb_python_file): New.
27835 (process_file): Don't issue errors on filenames with -gdb.py
27836 suffix.
27837
27838 2015-06-24 Joseph Myers <joseph@codesourcery.com>
27839
27840 * math/auto-libm-test-in: Add more tests of csin and csinh.
27841 * math/auto-libm-test-out: Regenerated.
27842 * math/libm-test.inc (csin_test_data): Remove tests moved to
27843 auto-libm-test-in.
27844 (csinh_test_data): Likewise.
27845
27846 [BZ #18593]
27847 * math/s_csin.c (__csin): Negate before rather than after possibly
27848 overflowing multiplication.
27849 * math/s_csinf.c (__csinf): Likewise.
27850 * math/s_csinh.c (__csinh): Likewise.
27851 * math/s_csinhf.c (__csinhf): Likewise.
27852 * math/s_csinhl.c (__csinhl): Likewise.
27853 * math/s_csinl.c (__csinl): Likewise.
27854 * math/auto-libm-test-in: Add some tests of csin and csinh.
27855 * math/auto-libm-test-out: Regenerated.
27856 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27857 (csinh_test_data): Likewise.
27858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27859
27860 [BZ #18586]
27861 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27862 underflow exception for small results.
27863
27864 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
27865
27866 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27867 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27868 variable and included header.
27869 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27870 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27871 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27872 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27877 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27878 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27879 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27880 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27881 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27882 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27883 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27884 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27885
27886 2015-06-23 Joseph Myers <joseph@codesourcery.com>
27887
27888 [BZ #16526]
27889 [BZ #16538]
27890 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27891 (__sin): Force underflow exception for arguments with small
27892 absolute value.
27893 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27894 (__kernel_sinf): Force underflow exception for arguments with
27895 small absolute value.
27896 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27897 (__kernel_sincosl): Force underflow exception for arguments with
27898 small absolute value.
27899 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27900 (__kernel_sinl): Force underflow exception for arguments with
27901 small absolute value.
27902 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27903 (__kernel_sincosl): Force underflow exception for arguments with
27904 small absolute value.
27905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27906 (__kernel_sinl): Force underflow exception for arguments with
27907 small absolute value.
27908 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27909 (__kernel_sinl): Force underflow exception for arguments with
27910 small absolute value.
27911 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27912 (__kernel_sinf): Force underflow exception for arguments with
27913 small absolute value.
27914 * math/auto-libm-test-in: Add more tests of sin and sincos.
27915 * math/auto-libm-test-out: Regenerated.
27916
27917 [BZ #18245]
27918 [BZ #18583]
27919 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27920 (__kernel_standard_l): Use feholdexcept and fesetenv around
27921 conversion to double instead of special-casing overflow and
27922 underflow.
27923 * math/libm-test.inc (fmod_test_data): Add more tests.
27924 (remainder_test_data): Likewise.
27925 (sqrt_test_data): Likewise.
27926
27927 2015-06-23 Torvald Riegel <triegel@redhat.com>
27928
27929 [BZ #17403]
27930 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27931 atomic_read_barrier, atomic_write_barrier): Define.
27932 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27933 atomic_read_barrier, atomic_write_barrier): Define.
27934
27935 2015-06-23 Joseph Myers <joseph@codesourcery.com>
27936
27937 * math/Makefile [$(PERL) != no]
27938 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27939 dependency on libm-test.stmp below the inclusion of Rules.
27940
27941 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
27942
27943 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27944 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27945 and included header.
27946 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27947 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27948 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27949 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27950 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27951 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27953 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27954 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27955 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27956 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27957 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27958 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27959 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27960 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27961 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27962 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27963 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27964 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27965
27966 2015-06-23 Joseph Myers <joseph@codesourcery.com>
27967
27968 [BZ #18371]
27969 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27970 intermediate but not final result might underflow.
27971 * math/s_csqrtf.c (__csqrtf): Likewise.
27972 * math/s_csqrtl.c (__csqrtl): Likewise.
27973 * math/auto-libm-test-in: Add more tests of csqrt.
27974 * math/auto-libm-test-out: Regenerated.
27975 * sysdeps/i386/fpu/libm-test-ulps: Update.
27976
27977 [BZ #18219]
27978 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27979 threshold on absolute value of exponent for which scaling is used.
27980 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27981 * math/auto-libm-test-in: Add more tests of exp2.
27982 * math/auto-libm-test-out: Regenerated.
27983
27984 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
27985
27986 [BZ #17977]
27987 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27988 when initializing interface list, based on the bug analysis
27989 and the patch proposed by Eric Newton.
27990 * resolv/tst-res_hconf_reorder.c: New test.
27991 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27992 tst-res_hconf_reorder.
27993 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27994 and $(shared-thread-library).
27995 (tst-res_hconf_reorder-ENV): New variable.
27996
27997 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27998 in comment.
27999
28000 2015-06-22 Joseph Myers <joseph@codesourcery.com>
28001
28002 [BZ #16353]
28003 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28004 (__expm1): Force underflow exception for arguments with small
28005 absolute value.
28006 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28007 (__expm1f): Force underflow exception for arguments with small
28008 absolute value.
28009 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28010 (__expm1): Force underflow exception for arguments with small
28011 absolute value.
28012 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28013 (__expm1f): Force underflow exception for arguments with small
28014 absolute value.
28015 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28016 Check for small arguments before calling __expm1.
28017 * math/auto-libm-test-in: Do not mark underflow exceptions as
28018 possibly missing for bug 16353.
28019 * math/auto-libm-test-out: Regenerated.
28020
28021 2015-06-22 Andreas Schwab <schwab@suse.de>
28022
28023 [BZ #18513]
28024 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28025 PTR queries.
28026
28027 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
28028
28029 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28030
28031 * string/strcoll_l.c: Remove unused struct element idxnow.
28032
28033 2015-06-21 Joseph Myers <joseph@codesourcery.com>
28034
28035 [BZ #18569]
28036 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28037 underflow and return argument in case of subnormal argument.
28038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28039 Likewise.
28040 * math/auto-libm-test-in: Add more tests of expm1.
28041 * math/auto-libm-test-out: Regenerated.
28042
28043 [BZ #16361]
28044 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28045 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28046 tiny results.
28047 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28048 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28049 tiny results.
28050 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
28051 mark underflow exceptions as possibly missing for bug 16361.
28052 * math/auto-libm-test-out: Regenerated.
28053
28054 2015-06-19 Joseph Myers <joseph@codesourcery.com>
28055
28056 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28057 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28058 Remove variable.
28059 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28060 (test-xfail-XOPEN2K8/utmpx.h/conform).
28061
28062 * conform/conformtest.pl ($xerrors): New variable.
28063 (note_error): New function.
28064 (compiletest): New argument $xfail. Use not_error.
28065 (runtest): Likewise.
28066 (top level): Handle xfail- lines. Update calls to compiletest and
28067 runtest. Handle xfail- and optional- in headers listed with
28068 allow-header.
28069 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28070 (O_EXEC): Likewise.
28071 (O_SEARCH): Likewise.
28072 * conform/data/stropts.h-data (ioctl): Likewise.
28073 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28074 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28075 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28076 (msghdr.msg_controllen): Likewise.
28077 (cmsghdr.cmsg_len): Likewise.
28078 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28079 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28080 variable.
28081 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28082 (test-xfail-XPG4/stropts.h/conform): Likewise.
28083 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28084 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28085 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28086 (test-xfail-UNIX98/stropts.h/conform): Likewise.
28087 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28088 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28090 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28091 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28092 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28093 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28094 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28095 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28096 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28097 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28098 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28099 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28100 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28101 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28102
28103 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
28104
28105 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28106 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28107 definitions for proper unfolding of __MATHDECL_VEC.
28108
28109 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
28110
28111 * benchtests/bench-strcoll.c:
28112 Include string.h.
28113 (main): Remove unused variable res.
28114
28115 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
28116
28117 * timezone/Makefile (%/UTC %/Universal):
28118 Generate test-result files for UTC and Universal.
28119
28120 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
28121
28122 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28123
28124 2015-06-18 Joseph Myers <joseph@codesourcery.com>
28125
28126 [BZ #16350]
28127 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28128 for arguments with small absolute value.
28129 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28130 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28131 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28132 (__asinh): Force underflow exception for arguments with small
28133 absolute value.
28134 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28135 (__asinhf): Force underflow exception for arguments with small
28136 absolute value.
28137 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28138 (__asinhl): Force underflow exception for arguments with small
28139 absolute value.
28140 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28141 (__asinhl): Force underflow exception for arguments with small
28142 absolute value.
28143 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28144 (__asinhl): Force underflow exception for arguments with small
28145 absolute value.
28146 * math/auto-libm-test-in: Do not mark underflow exceptions as
28147 possibly missing for bug 16350.
28148 * math/auto-libm-test-out: Regenerated.
28149
28150 * include/bits/ipc.h: Remove file.
28151 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28152 variable.
28153 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28154 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28155 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28156 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28157 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28158 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28159 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28160 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28161 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28162
28163 * math/auto-libm-test-in: Remove spurious underflow allowance for
28164 tests of cexp.
28165 * math/auto-libm-test-out: Regenerated.
28166
28167 [BZ #18558]
28168 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28169 unconditional definition.
28170 (MCAST_BLOCK_SOURCE): Likewise.
28171 (MCAST_UNBLOCK_SOURCE): Likewise.
28172 (MCAST_LEAVE_GROUP): Likewise.
28173 (MCAST_JOIN_SOURCE_GROUP): Likewise.
28174 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28175 (MCAST_MSFILTER): Likewise.
28176 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28177 Remove variable.
28178 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28179 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28180 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28181 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28182 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28183
28184 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
28185
28186 * NEWS: Mention addition of x86_64 vector sincosf.
28187 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28188 * math/test-float-vlen4.h: Likewise.
28189 * math/test-float-vlen8.h: Likewise.
28190 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28191 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28192 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28193 * sysdeps/x86_64/fpu/Versions: New versions added.
28194 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28195 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28196 Added build of SSE, AVX2 and AVX512 IFUNC versions.
28197 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28198 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28199 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28203 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28204 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28205 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28206 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28207 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28208 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28209 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28210 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28211 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28212 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28213 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28214 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28215 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28216 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28217 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28218
28219 * NEWS: Mention addition of x86_64 vector sincos.
28220 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28221 * math/math.h (__MATHDECL_VEC): New macro.
28222 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28223 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28224 declaration under condition.
28225 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28226 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28227 TEST_VEC_LOOP change.
28228 * math/test-double-vlen4.h: Likewise.
28229 * math/test-double-vlen8.h: Likewise.
28230 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28231 * math/test-float-vlen4.h: Likewise.
28232 * math/test-float-vlen8.h: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28234 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28235 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28236 * sysdeps/x86_64/fpu/Versions: New versions added.
28237 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28238 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28239 Added build of SSE, AVX2 and AVX512 IFUNC versions.
28240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28246 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28247 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28248 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28249 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28250 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28251 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28252 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28253 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28254 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28255 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28256 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28257 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28258 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28259 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28260 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28261
28262 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28263 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28264 redirections for powf.
28265 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28266 * sysdeps/x86_64/fpu/Versions: New versions added.
28267 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28268 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28269 Added build of SSE, AVX2 and AVX512 IFUNC versions.
28270 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28271 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28272 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28273 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28274 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28275 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28276 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28277 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28278 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28279 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28280 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28281 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28282 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28283 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28284 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28285 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28286 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28287 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28288 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28289 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28290 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28291 * math/test-float-vlen16.h: Fixed 2 argument macro.
28292 * math/test-float-vlen4.h: Likewise.
28293 * math/test-float-vlen8.h: Likewise.
28294 * NEWS: Mention addition of x86_64 vector powf.
28295
28296 2015-06-17 Joseph Myers <joseph@codesourcery.com>
28297
28298 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28299 and redefine.
28300 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28301 and redefine.
28302 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28305
28306 [BZ #18553]
28307 * resource/getpriority.c (getpriority): Rename to __getpriority
28308 and define as weak alias of __getpriority.
28309 * resource/setpriority.c (setpriority): Rename to __setpriority
28310 and define as weak alias of __setpriority.
28311 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28312 __getpriority and define as weak alias of __getpriority.
28313 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28314 __setpriority and define as weak alias of __setpriority.
28315 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28316 strong name.
28317 (setpriority): Use __setpriority as strong name.
28318 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28319 __getpriority and define as weak alias of __getpriority.
28320 * include/sys/resource.h (__getpriority): Declare. Use
28321 libc_hidden_proto.
28322 (__setpriority): Likewise.
28323 (getpriority): Don't use libc_hidden_proto.
28324 (setpriority): Likewise.
28325 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28326 getpriority. Call __setpriority instead of setpriority.
28327 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28328 Remove variable.
28329
28330 [BZ #18547]
28331 * misc/getttyent.c (getttynam): Rename to __getttynam and define
28332 as weak alias of __getttynam. Use prototype function definition.
28333 Call __setttyent, __getttyent and __endttyent instead of
28334 setttyent, getttyent and endttyent.
28335 (getttyent): Rename to __getttyent and define as weak alias of
28336 __getttyent. Call __setttyent instead of setttyent. Call
28337 __fgets_unlocked instead of fgets_unlocked.
28338 (setttyent): Rename to __setttyent and define as weak alias of
28339 __setttyent.
28340 (endttyent): Rename to __endttyent and define as weak alias of
28341 __endttyent.
28342 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
28343 (__setttyent): Likewise.
28344 (__endttyent): Likewise.
28345 (getttyent): Don't use libc_hidden_proto.
28346 (setttyent): Likewise.
28347 (endttyent): Likewise.
28348 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28349 __endttyent instead of setttyent, getttyent and endttyent.
28350 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28351 Remove variable.
28352
28353 [BZ #18546]
28354 * socket/recv.c (__recv): Use libc_hidden_def.
28355 * socket/socket.c (__socket): Likewise.
28356 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28357 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28358 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28359 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28360 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28361 libc_hidden_def.
28362 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28363 libc_hidden_weak.
28364 * include/sys/socket.h (__socket): Do not use attribute_hidden.
28365 Use libc_hidden_proto.
28366 (__recv): Likewise.
28367 * socket/Versions (libc): Export __recv and __socket at version
28368 GLIBC_PRIVATE.
28369 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28370 instead of recv.
28371 (init_mq_netlink): Call __socket instead of socket.
28372 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28373 Remove variable.
28374
28375 [BZ #18545]
28376 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28377 __mq_timedreceive and define as alias of __mq_timedreceive. Use
28378 hidden_weak.
28379 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28380 define as alias of __mq_timedsend. Use hidden_weak.
28381 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28382 __mq_timedsend as strong name.
28383 (mq_timedreceive): Use __mq_timedreceive as strong name.
28384 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
28385 (__mq_timedreceive): Likewise.
28386 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28387 __mq_timedreceive instead of mq_timedreceive.
28388 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28389 instead of mq_timedsend.
28390 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28391 Remove variable.
28392
28393 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28394 hidden_def and hidden_weak instead of libc_hidden_def and
28395 libc_hidden_weak.
28396 (top level): Refer to hidden_def in comment.
28397 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28398 macro. Use it instead of libc_hidden_def.
28399 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28400 specify __GI_* name explicitly.
28401 (mq_timedreceive): Likewise.
28402 (mq_setattr): Likewise.
28403
28404 [BZ #18544]
28405 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28406 __pthread_barrier_init and define as weak alias of
28407 __pthread_barrier_init.
28408 * sysdeps/sparc/nptl/pthread_barrier_init.c
28409 (pthread_barrier_init): Likewise.
28410 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28411 __pthread_barrier_wait and define as weak alias of
28412 __pthread_barrier_wait.
28413 * sysdeps/sparc/nptl/pthread_barrier_wait.c
28414 (pthread_barrier_wait): Likewise.
28415 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28416 (pthread_barrier_wait): Likewise.
28417 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28418 (pthread_barrier_wait): Likewise.
28419 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28420 (pthread_barrier_wait): Likewise.
28421 * nptl/Versions (libpthread): Export __pthread_barrier_init and
28422 __pthread_barrier_wait at version GLIBC_PRIVATE.
28423 * include/pthread.h (__pthread_barrier_init): Declare.
28424 (__pthread_barrier_wait): Likewise.
28425 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28426 Call __pthread_barrier_wait instead of pthread_barrier_wait.
28427 (helper_thread): Likewise.
28428 (init_mq_netlink): Call __pthread_barrier_init instead of
28429 pthread_barrier_init.
28430
28431 [BZ #18542]
28432 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28433 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28434 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
28435 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28436 vswscanf.
28437 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28438 Remove variable.
28439
28440 [BZ #18540]
28441 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28442 strong alias of _IO_fflush. Use libc_hidden_def.
28443 * libio/iofflush_u.c (fflush_unlocked): Rename to
28444 __fflush_unlocked and define as weak alias of __fflush_unlocked.
28445 Use libc_hidden_weak.
28446 * include/stdio.h (__fflush_unlocked): Declare. Use
28447 libc_hidden_proto.
28448 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28449 fflush_unlocked.
28450 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28451 Remove variable.
28452
28453 [BZ #18539]
28454 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28455 define as weak alias of __addseverity.
28456 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28457 Remove variable.
28458 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28459 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28460 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28461
28462 [BZ #18536]
28463 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28464 (__tfind): Likewise.
28465 (__tdelete): Likewise.
28466 (__twalk): Likewise.
28467 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28468 __twalk to GLIBC_PRIVATE.
28469 * include/search.h (__tsearch): Use libc_hidden_proto.
28470 (__tfind): Likewise.
28471 (__tdelete): Likewise.
28472 (__twalk): Likewise.
28473 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28474 Call __tdelete instead of tdelete.
28475 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28476 tfind. Call __tsearch instead of tsearch.
28477 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28478 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28479 Remove variable.
28480 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28481
28482 [BZ #18534]
28483 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28484 (dprintf): Define as a weak alias of __dprintf, not a strong
28485 alias.
28486 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
28487 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28488 dprintf.
28489 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28490 Remove variable.
28491 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28492 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28493
28494 [BZ #18533]
28495 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28496 not a strong alias.
28497 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28498 Remove variable.
28499
28500 [BZ #18532]
28501 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28502 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
28503 (in6addr_loopback): Rename to __in6addr_loopback and define as
28504 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
28505 * include/netinet/in.h (__in6addr_loopback): Declare. Use
28506 libc_hidden_proto.
28507 (__in6addr_any): Likewise.
28508 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28509 in6addr_any.
28510 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28511 variable.
28512 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28513
28514 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
28515
28516 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28517 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28518 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28519 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28520 redirections for pow.
28521 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28522 * sysdeps/x86_64/fpu/Versions: New versions added.
28523 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28524 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28525 build of SSE, AVX2 and AVX512 IFUNC versions.
28526 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28527 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28528 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28529 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28530 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28531 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28532 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28533 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28534 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28535 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28536 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28537 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28538 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28539 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28540 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28541 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28542 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28543 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28544 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28545 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28546 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28547 * NEWS: Mention addition of x86_64 vector pow.
28548
28549 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28550 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28551 redirections for expf.
28552 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28553 * sysdeps/x86_64/fpu/Versions: New versions added.
28554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28555 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28556 build of SSE, AVX2 and AVX512 IFUNC versions.
28557 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28558 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28559 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28560 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28561 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28562 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28563 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28564 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28565 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28566 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28567 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28568 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28569 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28570 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28571 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28572 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28573 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28574 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28575 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28576 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28577 * NEWS: Mention addition of x86_64 vector expf.
28578
28579 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28580 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28581 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28582 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28583 redirections for exp.
28584 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28585 * sysdeps/x86_64/fpu/Versions: New versions added.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28587 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28588 build of SSE, AVX2 and AVX512 IFUNC versions.
28589 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28590 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28592 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28593 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28594 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28595 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28596 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28597 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28598 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28599 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28600 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28601 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28602 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28603 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28604 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28605 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28606 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28607 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28608 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28609 * NEWS: Mention addition of x86_64 vector exp.
28610
28611 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28612 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28613 redirections for logf.
28614 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28615 * sysdeps/x86_64/fpu/Versions: New versions added.
28616 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28617 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28618 build of SSE, AVX2 and AVX512 IFUNC versions.
28619 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28620 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28621 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28622 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28623 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28624 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28625 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28626 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28627 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28628 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28629 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28630 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28631 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28632 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28633 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28634 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28635 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28636 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28637 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28638 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28639 * NEWS: Mention addition of x86_64 vector logf.
28640
28641 * bits/libm-simd-decl-stubs.h: Added stubs for log.
28642 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28643 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28644 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28645 redirections for log.
28646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28647 * sysdeps/x86_64/fpu/Versions: New versions added.
28648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28650 build of SSE, AVX2 and AVX512 IFUNC versions.
28651 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28652 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28653 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28654 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28655 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28656 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28657 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28658 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28659 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28660 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28661 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28662 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28663 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28664 test.
28665 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28666 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28667 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28668 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28669 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28670 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28671 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28672 * NEWS: Mention addition of x86_64 vector log.
28673
28674 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
28675
28676 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28677 cfi_adjust_cfa_offset argument.
28678 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28679 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28680
28681 [BZ #18034]
28682 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28683 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28684 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28685 ordering using ldar.
28686 (_dl_tlsdesc_dynamic): Likewise.
28687 (_dl_tlsdesc_return_lazy): Likewise.
28688 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28689 relaxed atomics instead of volatile and synchronize with release store.
28690 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28691 volatile.
28692 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28693
28694 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
28695
28696 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28697 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28698 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28699 * sysdeps/x86_64/fpu/Versions: New versions added.
28700 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28701 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28702 build of SSE, AVX2 and AVX512 IFUNC versions.
28703 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28704 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28705 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28706 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28707 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28708 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28709 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28710 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28711 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28712 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28713 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28714 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28715 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28716 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28717 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28718 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28719 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28720 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28721 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28722 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28723 * NEWS: Mention addition of x86_64 vector sinf.
28724
28725 2015-06-14 Joseph Myers <joseph@codesourcery.com>
28726
28727 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28728 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28729 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28730 Remove variable.
28731 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28732 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28733
28734 2015-06-12 Joseph Myers <joseph@codesourcery.com>
28735
28736 [BZ #18530]
28737 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28738 strong alias of _IO_fputs. Use libc_hidden_def.
28739 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28740 and define as weak alias of __fputs_unlocked. Use
28741 libc_hidden_weak.
28742 * include/stdio.h (__fputs_unlocked): Declare. Use
28743 libc_hidden_proto.
28744 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28745 fputs_unlocked.
28746
28747 [BZ #18529]
28748 * resolv/netdb.h [__USE_POSIX]: Change condition to
28749 [__USE_XOPEN2K].
28750 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28751 not expect.
28752 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28753 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28754 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28755 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28756 [XPG4 || UNIX98] (AI_ALL): Likewise.
28757 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28758 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28759 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28760 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28761 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28762 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28763 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28764 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28765 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28766 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28767 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28768 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28769 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28770 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28771 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28772 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28773 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28774 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28775 [XPG4 || UNIX98] (gai_strerror): Likewise.
28776 [XPG4 || UNIX98] (getaddrinfo): Likewise.
28777 [XPG4 || UNIX98] (getnameinfo): Likewise.
28778
28779 [BZ #18528]
28780 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28781 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28782 __USE_XOPEN2K8].
28783 (getgrent): Likewise.
28784 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28785 expect.
28786 [XPG3 || POSIX2008] (endgrent): Likewise.
28787 [XPG3] (setgrent): Likewise.
28788 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28789 variable.
28790 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28791
28792 [BZ #18527]
28793 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28794 define as weak alias of __getlogin_r. Use libc_hidden_weak.
28795 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28796 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28797 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28798 * include/unistd.h (__getlogin_r): Declare. Use
28799 libc_hidden_proto.
28800 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28801 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28802 variable.
28803 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28804 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28805 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28806
28807 2015-06-12 Martin Sebor <msebor@redhat.com>
28808
28809 [BZ #18512]
28810 * Makerules (check-install-supported): New target.
28811 (install): Add check-install-supported as a dependency.
28812 * manual/install.texi (Installing the C Library): Document
28813 that overriding prefix and exec_prefix is not supported.
28814 Mention DESTDIR.
28815 * INSTALL: Regenerate from the above.
28816
28817 2015-06-12 Joseph Myers <joseph@codesourcery.com>
28818
28819 [BZ #18519]
28820 * posix/Versions (libc): Export __libc_pread at version
28821 GLIBC_PRIVATE.
28822 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28823 instead of pread.
28824 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28825 variable.
28826
28827 [BZ #18522]
28828 * misc/efgcvt_r.c
28829 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28830 (cvt_symbol): Use weak_alias instead of strong_alias.
28831 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28832 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28833 Remove variable.
28834 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28835 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28836
28837 [BZ #18520]
28838 * inet/herrno.c (h_errno): Rename to __h_errno.
28839 (__libc_h_errno): Define as alias of __h_errno not h_errno.
28840 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28841 to __h_errno instead of h_errno.
28842 * nptl/herrno.c (h_errno): Rename to __h_errno.
28843 (__h_errno_location): Refer to __h_errno not h_errno.
28844 * resolv/Versions (h_errno): Rename to __h_errno.
28845 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28846 Remove variable.
28847 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28848
28849 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
28850
28851 * configure.ac: More strict check for AVX512 assembler support.
28852 * configure: Regenerated.
28853
28854 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28855 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28856 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28857 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28858 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28859 * sysdeps/x86_64/fpu/Versions: New versions added.
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28861 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28862 Added build of SSE, AVX2 and AVX512 IFUNC versions.
28863 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28864 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28865 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28866 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28867 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28869 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28870 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28871 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28872 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28873 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28874 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28875 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28876 test.
28877 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28878 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28879 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28880 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28881 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28882 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28883 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28884 * NEWS: Mention addition of x86_64 vector sin.
28885
28886 2015-06-11 Florian Weimer <fweimer@redhat.com>
28887
28888 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28889 comment.
28890
28891 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
28892
28893 [BZ #18479]
28894 * nptl/pt-interp.c: New file.
28895 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28896 Add pt-interp.
28897 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28898 $(common-objpfx)runtime-linker.h.
28899
28900 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
28901
28902 * Makeconfig (+interp): Remove unused variable.
28903 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28904 only. Depend on $(common-objpfx)runtime-linker.h instead of
28905 $(elf-objpfx)runtime-linker.h.
28906 ($(elf-objpfx)runtime-linker.h): Rename to
28907 $(common-objpfx)runtime-linker.h and move ...
28908 * Makerules [$(build-shared) = yes]: ... here.
28909 * elf/interp.c: Include <runtime-linker.h> instead of
28910 <elf/runtime-linker.h>.
28911
28912 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28913
28914 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28915 (__gettimeofday_syscall): Remove vsyscall fallback.
28916 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28917 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28918 Add syscall fallback function.
28919 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28920 if vDSO is not present.
28921 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28922 fallback function.
28923 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28924 present.
28925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28926 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28927
28928 2015-06-09 Joseph Myers <joseph@codesourcery.com>
28929
28930 [BZ #18497]
28931 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28932 of wcscmp.
28933 (wcscmp): Define as weak alias of WCSCMP.
28934 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28935 wcscoll.
28936 (USE_HIDDEN_DEF): Define.
28937 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28938 __wcscoll. Don't use libc_hidden_weak.
28939 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28940 wcscmp.
28941 * sysdeps/i386/i686/multiarch/wcscmp-c.c
28942 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28943 __GI_wcscmp.
28944 (weak_alias): Undefine and redefine.
28945 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28946 __wcscmp and define as weak alias of __wcscmp.
28947 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28948 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
28949 (__wcscoll): Likewise.
28950 (wcscmp): Don't use libc_hidden_proto.
28951 (wcscoll): Likewise.
28952 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28953 wcscoll.
28954 * posix/regexec.c (check_node_accept_bytes): Likewise.
28955 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28956 variable.
28957 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28958 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28959
28960 [BZ #18507]
28961 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28962 __fstatvfs and define as weak alias of __fstatvfs. Use
28963 libc_hidden_weak.
28964 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28965 and define as weak alias of __statvfs. Use libc_hidden_weak.
28966 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28967 Define as alias of __fstatvfs, not fstatvfs.
28968 (fstatvfs64): Likewise.
28969 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28970 Define as alias of __statvfs, not statvfs.
28971 (statvfs64): Likewise.
28972 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28973 Remove variable.
28974
28975 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28976
28977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28978 (HAVE_GETCPU_VSYSCALL): Define.
28979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28980 (HAVE_GETCPU_VSYSCALL): Likewise.
28981 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28982 * sysdeps/unix/sysv/linux/sched_getcpu.c
28983 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28984 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28985 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28986 prototype.
28987 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28988 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28989 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28991 Define.
28992 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28993 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28996
28997 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
28998
28999 * sysdeps/x86_64/fpu/Makefile: New file.
29000 * sysdeps/x86_64/fpu/Versions: New file.
29001 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29002 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29003 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29004 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29005 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29006 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29007 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29008 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29011 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29013 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29014 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29015 Added build of SSE, AVX2 and AVX512 IFUNC versions.
29016 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29017 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29018 * sysdeps/x86_64/configure.ac: Options for libmvec build.
29019 * sysdeps/x86_64/configure: Regenerated.
29020 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29021 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29022 * manual/install.texi (Configuring and compiling): Document
29023 --disable-mathvec.
29024 * INSTALL: Regenerated.
29025 * NEWS: Mention addition of libmvec and x86_64 vector cos.
29026
29027 * math/Makefile: Added rules for vector tests.
29028 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29029 declaration under condition.
29030 * math/test-double-vlen2.h: New file.
29031 * math/test-double-vlen4.h: New file.
29032 * math/test-double-vlen8.h: New file.
29033 * math/test-vec-loop.h: Added initialization macro.
29034 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29036 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29037 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29038 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29039 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29040 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29041 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29042 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29043 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29044 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29045
29046 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29047 * sysdeps/x86_64/fpu/Versions: New versions added.
29048 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29049 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29050 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29051 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29052 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29053 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29054 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29055 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29056 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29057 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29058 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29059 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29060 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29061 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29062 Added build of SSE, AVX2 and AVX512 IFUNC versions.
29063 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29064 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29065 * NEWS: Mention addition of x86_64 vector cosf.
29066
29067 * math/Makefile: Added CFLAGS for new tests.
29068 * math/test-float-vlen16.h: New file.
29069 * math/test-float-vlen4.h: New file.
29070 * math/test-float-vlen8.h: New file.
29071 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29072 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29073 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29074 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29075 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29076 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29077 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29078 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29079 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29080 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29081 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29082
29083 2015-06-09 Marko Myllynen <myllynen@redhat.com>
29084
29085 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29086 * locale/programs/ld-ctype.c: Likewise.
29087
29088 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
29089
29090 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29091 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29092 bit_ZMM16_31_state): New macro.
29093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29094 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29095
29096 2015-06-08 Joseph Myers <joseph@codesourcery.com>
29097
29098 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29099
29100 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
29101
29102 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29103
29104 2015-06-05 Joseph Myers <joseph@codesourcery.com>
29105
29106 [BZ #18498]
29107 * libio/memstream.c (open_memstream): Rename to __open_memstream
29108 and define as weak alias of __open_memstream.
29109 * include/stdio.h (__open_memstream): Declare. Use
29110 libc_hidden_proto.
29111 (open_memstream): Don't use libc_hidden_proto.
29112 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29113 open_memstream.
29114 * posix/getopt.c (_getopt_internal_r): Likewise.
29115 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29116 variable.
29117 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29118 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29119 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29120
29121 [BZ #18496]
29122 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29123 instead of wcrtomb.
29124
29125 [BZ #18483]
29126 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29127 [__USE_XOPEN2K8]. Remove redundant #endif.
29128 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29129 Remove redundant #if.
29130 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29131 Remove variable.
29132 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29133 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29134
29135 [BZ #18495]
29136 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29137 (__iswlower): Likewise.
29138 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
29139 (__iswlower): Likewise.
29140 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29141 instead of towlower.
29142 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29143 instead of iswlower. Call __towupper instead of towupper.
29144 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29145 instead of iswalnum.
29146
29147 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29148
29149 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29150 errors to stderr.
29151
29152 2015-06-05 Florian Weimer <fweimer@redhat.com>
29153
29154 [BZ #15661]
29155 [BZ #17322]
29156 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29157 Check for overflow properly. Check for O_APPEND. Ignore large
29158 file system block sizes. Add comments about problems.
29159 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29160 * manual/filesys.texi (Storage Allocation): New node.
29161
29162 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29163
29164 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29165 cancellable syscalls.
29166 (SYS_ify): Add guard to no redefine it.
29167 (INLINE_SYSCALL): Likewise.
29168 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29169 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29170 SYSCALL_CANCEL instead.
29171 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29172 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29173 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29174 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29175 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29176 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29177 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29178 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29179 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29180 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29181 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29182 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29183 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29184 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29185 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29186 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29187 Likewise.
29188 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29189 (__libc_pread64): Likewise.
29190 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29191 (__libc_preadv): Likewise.
29192 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29193 (__libc_readv64): Likewise.
29194 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29195 (__libc_pwrite): Likewise.
29196 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29197 (__libc_pwrite64): Likewise.
29198 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29199 (__libc_pwritev): Likewise.
29200 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29201 (__libc_pwritev64): Likewise.
29202 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29203 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29204 (sync_file_range): Likewise.
29205 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29206 Likewise.
29207 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29208 Likewise.
29209 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29210 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29211 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29212 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29213 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29214 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29215 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29216 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29218 Likewise.
29219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29220 (__libc_read64): Likewise.
29221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29222 Likewise.
29223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29224 Likewise.
29225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29226 Likewise.
29227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29228 Likewise.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29230 (__libc_pread64): Likewise.
29231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29232 Likewise.
29233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29234 (__libc_pwrite64): Likewise.
29235 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29236 (sync_file_range): Likewise.
29237 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29238 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29239 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29240 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29241 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29242 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29243 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29244 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29245 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29246 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29247 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29248 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29249 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29250 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29251 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29252 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29253 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29254 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29255 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29256 Likewise.
29257 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29258 Likewise.
29259 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29260 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29261 Likewise.
29262 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29263 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29264 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29265 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29266 Likewise.
29267 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29268 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29269 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29270 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29271 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29272
29273 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
29274
29275 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29276 Include dl-vdso.
29277 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29278 Use VDSO routines for gettimeofday, clock_gettime if
29279 available.
29280 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29281 Declare VDSO symbols.
29282 * sysdeps/unix/sysv/linux/arm/sysdep.h:
29283 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29284 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29285 * sysdeps/unix/sysv/linux/arm/Versions: Add
29286 __vdso_clock_gettime.
29287
29288 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29289
29290 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29291 be an inline implementation regardless of library is built within.
29292 (open_not_cancel_2): Likewise.
29293 (__read_nocancel): Likewise.
29294 (__write_nocancel): Likewise.
29295 (openat_not_cancel): Likewise.
29296 (openat_not_cancel_3): Likewise.
29297 (openat64_not_cancel): Likewise.
29298 (openat64_not_cancel_3): Likewise.
29299 (__close_nocancel): Likewise.
29300 (pause_not_cancel): Likewise.
29301 (nanosleep_not_cancel): Likewise.
29302 (sigsuspend_not_cancel): Likewise.
29303
29304 2015-06-04 Torvald Riegel <triegel@redhat.com>
29305
29306 [BZ #14958]
29307 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29308 wake-up.
29309 (__pthread_rwlock_rdlock_slow): Likewise.
29310 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29311 Likewise.
29312 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29313 Likewise.
29314 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29315 * nptl/tst-rwlock16.c: New file.
29316 * nptl/Makefile (tests): Add new test.
29317
29318 2015-06-04 Torvald Riegel <triegel@redhat.com>
29319
29320 [BZ #18324]
29321 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29322 missing wake-up of readers.
29323 * nptl/tst-rwlock15.c: New file.
29324 * nptl/Makefile (tests): Add new test.
29325
29326 2015-06-03 Roland McGrath <roland@hack.frob.com>
29327
29328 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29329 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29330 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29331 and __nacl_supply_interface_rtld.
29332 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29333 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29334 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29335 Add __nacl_supply_interface_rtld.
29336 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29337
29338 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
29339
29340 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29341 isfinite.
29342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29343 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29344
29345 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
29346
29347 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29348 __signbit* with standard C99 macros.
29349 * math/e_exp10l.c: Likewise.
29350 * math/e_exp2l.c: Likewise.
29351 * math/e_scalb.c: Likewise.
29352 * math/e_scalbf.c: Likewise.
29353 * math/e_scalbl.c: Likewise.
29354 * math/s_ldexp.c: Likewise.
29355 * math/s_ldexpf.c: Likewise.
29356 * math/s_ldexpl.c: Likewise.
29357 * math/w_atan2.c: Likewise.
29358 * math/w_atan2f.c: Likewise.
29359 * math/w_atan2l.c: Likewise.
29360 * math/w_cosh.c: Likewise.
29361 * math/w_coshf.c: Likewise.
29362 * math/w_coshl.c: Likewise.
29363 * math/w_exp10.c: Likewise.
29364 * math/w_exp10f.c: Likewise.
29365 * math/w_exp10l.c: Likewise.
29366 * math/w_exp2.c: Likewise.
29367 * math/w_exp2f.c: Likewise.
29368 * math/w_exp2l.c: Likewise.
29369 * math/w_fmod.c: Likewise.
29370 * math/w_fmodf.c: Likewise.
29371 * math/w_fmodl.c: Likewise.
29372 * math/w_hypot.c: Likewise.
29373 * math/w_hypotf.c: Likewise.
29374 * math/w_hypotl.c: Likewise.
29375 * math/w_jnl.c: Likewise.
29376 * math/w_lgamma.c: Likewise.
29377 * math/w_lgamma_r.c: Likewise.
29378 * math/w_lgammaf.c: Likewise.
29379 * math/w_lgammaf_r.c: Likewise.
29380 * math/w_lgammal.c: Likewise.
29381 * math/w_lgammal_r.c: Likewise.
29382 * math/w_pow.c: Likewise.
29383 * math/w_powf.c: Likewise.
29384 * math/w_powl.c: Likewise.
29385 * math/w_remainder.c: Likewise.
29386 * math/w_remainderf.c: Likewise.
29387 * math/w_remainderl.c: Likewise.
29388 * math/w_scalb.c: Likewise.
29389 * math/w_scalbf.c: Likewise.
29390 * math/w_scalbl.c: Likewise.
29391 * math/w_scalbln.c: Likewise.
29392 * math/w_scalblnf.c: Likewise.
29393 * math/w_scalblnl.c: Likewise.
29394 * math/w_sinh.c: Likewise.
29395 * math/w_sinhf.c: Likewise.
29396 * math/w_sinhl.c: Likewise.
29397 * math/w_tgamma.c: Likewise.
29398 * math/w_tgammaf.c: Likewise.
29399 * math/w_tgammal.c: Likewise.
29400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29401 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29404 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29406 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29407 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29408 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29410 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29411 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29412 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29417 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29431 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29432 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29433 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29434 * stdio-common/printf_fp.c: Likewise.
29435 * stdio-common/printf_fphex.c: Likewise.
29436 * stdio-common/printf_size.c: Likewise.
29437
29438 2015-06-03 Joseph Myers <joseph@codesourcery.com>
29439
29440 [BZ #18470]
29441 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29442 strnlen.
29443 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29444 Remove variable.
29445 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29446 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29447 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29448 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29449 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29450 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29451 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29452 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29453 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29454 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29455
29456 [BZ #18468]
29457 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29458 weak alias of __wmemchr. Use libc_hidden_weak.
29459 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
29460 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29461 instead of wmemchr.
29462
29463 2015-06-02 Roland McGrath <roland@hack.frob.com>
29464
29465 [BZ #18383]
29466 * elf/tst-tlsalign-extern.c: New file.
29467 * elf/tst-tlsalign-extern-static.c: New file.
29468 * elf/tst-tlsalign-vars.c: New file.
29469 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29470 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29471 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29472 ($(objpfx)tst-tlsalign-extern-static): Likewise.
29473 (test-xfail-tst-tlsalign-extern-static): New variable.
29474
29475 2015-06-02 Joseph Myers <joseph@codesourcery.com>
29476
29477 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29478 Use variable name _sc_err instead of err.
29479 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29480 instead of ret.
29481 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29482 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29483 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29484 (INLINE_SYSCALL): Likewise.
29485
29486 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29487 * include/string.h (__strnlen): Use libc_hidden_proto.
29488 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29489 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29490 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29491 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29492 (libc_hidden_def): Undefine and redefine.
29493 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29494 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29495 __GI_strnlen.
29496 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29497 libc_hidden_def.
29498 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29499
29500 [BZ #18469]
29501 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29502 weak alias of __towlower. Use libc_hidden_weak.
29503 (towupper): Rename to __towupper and define as weak alias of
29504 __towupper. Use libc_hidden_weak.
29505 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
29506 (__towupper): Likewise.
29507 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29508 __towlower instead of towlower.
29509
29510 2015-06-02 Roland McGrath <roland@hack.frob.com>
29511
29512 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29513 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29514
29515 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29516
29517 * sysdeps/aarch64/libm-test-ulps: Update.
29518
29519 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29520
29521 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29522 Define.
29523 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29525 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29526 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29527 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29528 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29529 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29530
29531 2015-06-01 Martin Sebor <msebor@redhat.com>
29532
29533 [BZ #18116]
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29535 (__setcontext): Use extended four-operand version of mtsf whenever
29536 possible.
29537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29538 (__novec_swapcontext): Likewise.
29539
29540 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29541
29542 * benchtests/scripts/compare_bench.py: New file.
29543 * benchtests/scripts/import_bench.py (mean): New function.
29544 (split_list): Likewise.
29545 (do_for_all_timings): Likewise.
29546 (compress_timings): Likewise.
29547
29548 * benchtests/scripts/import_bench.py: New file.
29549 * benchtests/scripts/validate_benchout.py: Import import_bench
29550 instead of jsonschema.
29551 (validate_bench): Remove function.
29552 (main): Use import_bench.
29553
29554 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
29555
29556 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29557 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29558
29559 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29560
29561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29562
29563 2015-05-28 Roland McGrath <roland@hack.frob.com>
29564
29565 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29566 set THREAD_SELF->tid to a magic value and futex-wake it.
29567 Pass its address to the thread_exit system call.
29568 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29569 bit is clear.
29570 * sysdeps/nacl/lowlevellock.h: New file.
29571 * sysdeps/nacl/lll_timedwait_tid.c: New file.
29572
29573 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29574 Add TIMEOUT to current time, don't subtract it.
29575
29576 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
29577
29578 [BZ #2981]
29579 [BZ #18422]
29580 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29581 ($(objpfx)tst-audit2.out): Also depend on
29582 $(objpfx)tst-auditmod9b.so.
29583 * elf/tst-audit2.c: Include <dlfcn.h>.
29584 (calloc_called): New.
29585 (calloc): Allow to be called more than once.
29586 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29587
29588 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
29589
29590 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29591 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29592
29593 2015-05-27 Marko Myllynen <myllynen@redhat.com>
29594
29595 * stdlib/monetary.h: Fix comment.
29596
29597 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
29598
29599 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29600 Avoid using variables in #defines that might cause shadowing.
29601 (INTERNAL_VSYSCALL_CALL): Likewise.
29602
29603 2015-05-26 Roland McGrath <roland@hack.frob.com>
29604
29605 * sysdeps/nacl/lll_timedlock_wait.c: New file.
29606
29607 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29608 * nptl/lll_timedlock_wait.c: ... to this new file.
29609 * nptl/Makefile (libpthread-routines): Add it.
29610 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29611 * nptl/lll_timedwait_tid.c: ... to this new file.
29612 * nptl/Makefile (libpthread-routines): Add it.
29613 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29614 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29615 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29616 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29617 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29618 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29619 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29620 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29621 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29622 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29623
29624 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29625
29626 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29627 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29628 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29629 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29630 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29632 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29634 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29635 * sysdeps/unix/sysv/linux/tile/sysdep.h
29636 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29637 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29638 using vDSO syscall macro.
29639
29640 2015-05-26 Andriy Rysin <arysin@gmail.com>
29641
29642 [BZ #17293]
29643 * uk_UA: Fix sorting order for Ukrainian locale
29644
29645 2015-05-26 Marko Myllynen <myllynen@redhat.com>
29646
29647 * stdlib/monetary.h: Fix comment.
29648
29649 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
29650
29651 [BZ #18234]
29652 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29653 st_mtim and st_ctim members.
29654 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29655 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29656 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29657 (struct stat64): Likewise.
29658 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29659 (struct stat64): Likewise.
29660 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29661 (struct stat64): Likewise.
29662
29663 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29664
29665 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29666 Define and include sysdep-vdso.h.
29667 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29668 Likewise.
29669 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29670 Likewise.
29671 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29672 Define with VDSO_SYMBOL and use PTR_MANGLE.
29673 (__vdso_clock_gettime): Likewise.
29674 (__vdso_clock_getres): Likewise.
29675 (_libc_vdso_platform_setup): Likewise.
29676 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29677 Likewise.
29678 (_libc_vdso_platform_setup): Likewise.
29679 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29680 Likewise.
29681 (__vdso_clock_gettime): Likewise.
29682 (__vdso_clock_getres): Likewise.
29683 (__vdso_get_tbfreq): Likewise.
29684 (__vdso_getcpu): Likewise.
29685 (__vdso_time): Likewise.
29686 (__vdso_sigtramp_rt64): Likewise.
29687 (__vdso_signtramp32): Likewise.
29688 (__vdso_sigtramp_rt32): Likewise.
29689 (_libc_vdso_platform_setup): Likewise.
29690 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29691 Likewise.
29692 (__vdso_clock_gettime): Likewise.
29693 (__vdso_clock_getres): Likewise.
29694 (_libc_vdso_platform_setup): Likewise.
29695 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29696 Likewise.
29697 (__vdso_clock_gettime): Likewise.
29698 (_libc_vdso_platform_setup): Likewise.
29699 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29700 Likewise.
29701 (__vdso_getcpu): Likewise.
29702 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29703 Use VDSO_SYMBOL macro to define.
29704 (__vdso_clock_gettime): Likewise.
29705 (__vdso_clock_getres): Likewise.
29706 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29707 Likewise.
29708 (__vdso_clock_gettime): Likewise.
29709 (__vdso_clock_getres): Likewise.
29710 (__vdso_get_tbfreq): Likewise.
29711 (__vdso_getcpu): Likewise.
29712 (__vdso_time): Likewise.
29713 (__vdso_sigtramp_rt64): Likewise.
29714 (__vdso_signtramp32): Likewise.
29715 (__vdso_sigtramp_rt32): Likewise.
29716 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29717 Likewise.
29718 (__vdso_clock_gettime): Likewise.
29719 (__vdso_clock_getres): Likewise.
29720 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29721 Likewise.
29722 (__vdso_clock_gettime): Likewise.
29723 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29724 Likewise.
29725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
29726 macro.
29727 (INTERNAL_VSYSCALL): Likewise.
29728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29729 Remove macro.
29730 (INTERNAL_VSYSCALL): Likewise.
29731 (INTERNAL_VSYSCALL_NCS): Likewise.
29732 (INTERNAL_VSYSCALL_CALL): New macro.
29733 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29735 Likewise.
29736 (INTERNAL_VSYSCALL): Likewise.
29737 (INTERNAL_VSYSCALL_NCS): Likewise.
29738 (INTERNAL_VSYSCALL_CALL): New macro.
29739 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29741 (INLINE_VSYSCALL): Remove macro.
29742 (INTERNAL_VSYSCALL): Remove macro.
29743 (INTERNAL_VSYSCALL_NCS): Remove macro.
29744 (INTERNAL_VSYSCALL_CALL): New macro.
29745 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29746 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29747 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29748 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29749 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29751 (INLINE_VSYSCALL): Remove macro.
29752 (INTERNAL_VSYSCALL): Likewise.
29753 (INTERNAL_VSYSCALL_NCS): Likewise.
29754 (INTERNAL_VSYSCALL_CALL): New macro.
29755 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29756 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29757 PTR_DEMANGLE on vDSO pointer.
29758 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29759 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29760 macro.
29761 (INTERNAL_SYSCALL): Likewise.
29762 (INTERNAL_VSYSCALL_NCS): Remove macro.
29763 (INTERNAL_VSYSCALL_CALL): New macro.
29764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29765 Remove macro.
29766 (INTERNAL_VSYSCALL): Likewise.
29767 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29768 sysdep-vdso.h instead of libc-vdso.h.
29769 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29770 definition.
29771 (INLINE_VSYSCALL): Likewise.
29772 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29773 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29774 definition.
29775 (INLINE_VSYSCALL): Likewise.
29776 (INTERNAL_VSYSCALL): Likewise.
29777 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29778 * sysdeps/unix/sysv/linux/timespec_get.c
29779 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29780 (timespec_get): Use ANSI prototype.
29781 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29782 and definition for Linux.
29783
29784 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
29785
29786 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29787 * include/libc-symbols.h: libmvec_hidden_* macro series added.
29788
29789 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #2981]
29792 [BZ #18410]
29793 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29794 for missing DT_PLTRELSZ.
29795
29796 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
29797
29798 Remove obsolete aliases that broke 'locale -a'
29799 [BZ #18412]
29800 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29801 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29802 breaking some applications that use 'locale -a' output.
29803 Change the encoding of this file from Latin-1 to ASCII to avoid
29804 other potential problems with people grepping this file.
29805
29806 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29807
29808 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29809 -fasynchronous-unwind-tables.
29810 (CFLAGS-sendto.c): Likewise.
29811 (CFLAGS-sendmsg.c): Likewise.
29812 (CFLAGS-connect.c): Likewise.
29813 (CFLAGS-recvmsg.c): Likewise.
29814 (CFLAGS-recvfrom.c): Likewise.
29815 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29816 (SOCKETCALL): New macro: non-cancellable socketcall.
29817 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29818 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29819 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29820 * sysdeps/unix/sysv/linux/accept.c: New file.
29821 * sysdeps/unix/sysv/linux/bind.c: Likewise.
29822 * sysdeps/unix/sysv/linux/connect.c: Likewise.
29823 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29824 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29825 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29826 * sysdeps/unix/sysv/linux/listen.c: Likewise.
29827 * sysdeps/unix/sysv/linux/recv.c: Likewise.
29828 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29829 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29830 * sysdeps/unix/sysv/linux/send.c: Likewise.
29831 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29832 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29833 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29834 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29835 * sysdeps/unix/sysv/linux/socket.c: Likewise.
29836 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29837 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29838 prototype.
29839 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29840 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29841 instead of __internal_xxx function.
29842 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29843 prototype.
29844 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29845 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29846 instead of __internal_xxx function.
29847 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29848 prototype.
29849 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29850 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29851 instead of __internal_xxx function.
29852 * sysdeps/unix/sysv/linux/accept.S: Remove file.
29853 * sysdeps/unix/sysv/linux/bind.S: Likewise.
29854 * sysdeps/unix/sysv/linux/connect.S: Likewise.
29855 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29856 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29857 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29858 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29859 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29860 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29861 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29862 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29863 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29864 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29865 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29866 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29867 * sysdeps/unix/sysv/linux/listen.S: Likewise.
29868 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29869 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29870 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29871 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29874 * sysdeps/unix/sysv/linux/recv.S: Likewise.
29875 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29876 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29877 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29878 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29879 * sysdeps/unix/sysv/linux/send.S: Likewise.
29880 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29881 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29882 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29883 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29884 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29885 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29886 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29887 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29888 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29889 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29890 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29891 socketcall is implemented in GLIBC.
29892
29893 2015-05-22 Joseph Myers <joseph@codesourcery.com>
29894
29895 * soft-fp/fmadf4.c: Include <libc-internal.h>.
29896 (__fma): Ignore uninitialized warnings around packing.
29897 * soft-fp/fmasf4.c: Include <libc-internal.h>.
29898 (__fmaf): Ignore uninitialized warnings around packing.
29899 * soft-fp/fmatf4.c: Include <libc-internal.h>.
29900 (__fmal): Ignore uninitialized warnings around packing.
29901
29902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29903 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29904 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29905 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29906
29907 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29908 switch statement into default case.
29909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29910
29911 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29912 a conditional in forcing "inexact".
29913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29914 Likewise.
29915
29916 2015-05-22 Roland McGrath <roland@hack.frob.com>
29917
29918 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29919 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29920 for each INTERNAL_SYSCALL use.
29921
29922 2015-05-22 Joseph Myers <joseph@codesourcery.com>
29923
29924 [BZ #438]
29925 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29926 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29927 variable.
29928
29929 [BZ #18444]
29930 * string/basename.c (basename): Rename to __basename and define as
29931 weak alias of __basename. Use libc_hidden_weak.
29932 * include/string.h (__basename): Declare. Use libc_hidden_proto.
29933 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29934 __basename instead of basename.
29935 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29936 Remove variable.
29937 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29938
29939 2015-05-18 Florian Weimer <fweimer@redhat.com>
29940
29941 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29942 (_IO_JUMPS_FILE_plus): New.
29943 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29944 _IO_CAST_FIELD_ACCESS.
29945 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29946 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29947 * libio/freopen.c (freopen): Likewise.
29948 * libio/freopen64.c (freopen64): Likewise.
29949 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29950 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29951 * libio/iofwide.c (_IO_fwide): Likewise.
29952 * libio/memstream.c (open_memstream): Likewise.
29953 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29954 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29955 * libio/oldiopopen.c (_IO_old_popen): Likewise.
29956
29957 2015-05-21 Joseph Myers <joseph@codesourcery.com>
29958
29959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29960 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29961 NADJ.
29962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29963 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29964 NADJ.
29965 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29966 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29967 NADJ.
29968
29969 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29970 (p == 4) case.
29971
29972 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29973 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29974 Remove variable.
29975 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29976 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29977 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29978
29979 2015-05-21 Florian Weimer <fweimer@redhat.com>
29980
29981 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29982 Adjust jump table label generation macros.
29983
29984 2015-05-21 Florian Weimer <fweimer@redhat.com>
29985
29986 * stdio-common/vfprintf.c (vfprintf): Move local variables
29987 args_malloced, specs, specs_malloced, and the code after
29988 do_positional to the printf_positional function.
29989 (printf_positional): New function.
29990
29991 2015-05-21 Florian Weimer <fweimer@redhat.com>
29992
29993 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29994 function.
29995 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29996 STEP4_TABLE, process_arg): Move macro definitions
29997 out of the vfprintf function. (Cosmetic change only.)
29998
29999 2015-05-21 Carlos O'Donell <carlos@redhat.com>
30000
30001 * benchtests/Makefile (stdio-common-bench): Define.
30002 (benchset): Add stdio-common-bench.
30003 * sprintf-inputs: New file.
30004 * sprintf-source.c: New file.
30005
30006 2015-05-21 Andreas Schwab <schwab@suse.de>
30007
30008 [BZ #13028]
30009 [BZ #17053]
30010 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30011 of struct __res_state.
30012 * resolv/res_send.c (__libc_res_nsend): Likewise.
30013 (get_nsaddr): New function.
30014 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30015 statp directly.
30016
30017 2015-05-20 Joseph Myers <joseph@codesourcery.com>
30018
30019 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30020 -D_POSIX_C_SOURCE=199506L.
30021
30022 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30023
30024 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30025 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30026 Do not mention otherwise.
30027 [POSIX] (_XOPEN_VERSION): Do not expect.
30028 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30029 [POSIX] (_POSIX2_C_BIND): Likewise.
30030 [POSIX] (_POSIX2_VERSION): Likewise.
30031 [POSIX] (_XOPEN_XPG2): Likewise.
30032 [POSIX] (_XOPEN_XPG3): Likewise.
30033 [POSIX] (_XOPEN_XPG4): Likewise.
30034 [POSIX] (_XOPEN_UNIX): Likewise.
30035 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30036 [POSIX] (_POSIX_BARRIERS): Likewise.
30037 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30038 [POSIX] (_POSIX_CPUTIME): Likewise.
30039 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30040 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30041 [POSIX] (_POSIX_SHELL): Likewise.
30042 [POSIX] (_POSIX_SPAWN): Likewise.
30043 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30044 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30045 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30046 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30047 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30048 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30049 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30050 [POSIX] (_XBS5_LP64_OFF64): Likewise.
30051 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30052 [POSIX] (_POSIX_TIMEOUTS): Likewise.
30053 [POSIX] (_POSIX2_PBS): Likewise.
30054 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30055 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30056 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30057 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30058 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30059 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30060 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30061 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30062 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30063 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30064 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30065 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30066 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30067 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30068 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30069 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30070 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30071 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30072 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30073 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30074 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30075 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30076 [POSIX] (_SC_2_C_BIND): Likewise.
30077 [POSIX] (_SC_2_C_VERSION): Likewise.
30078 [POSIX] (_SC_2_PBS): Likewise.
30079 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30080 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30081 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30082 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30083 [POSIX] (_SC_2_PBS_TRACK): Likewise.
30084 [POSIX] (_SC_ATEXIT_MAX): Likewise.
30085 [POSIX] (_SC_BARRIERS): Likewise.
30086 [POSIX] (_SC_BASE): Likewise.
30087 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30088 [POSIX] (_SC_DEVICE_IO): Likewise.
30089 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30090 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30091 [POSIX] (_SC_FD_MGMT): Likewise.
30092 [POSIX] (_SC_FIFO): Likewise.
30093 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30094 [POSIX] (_SC_FILE_LOCKING): Likewise.
30095 [POSIX] (_SC_FILE_SYSTEM): Likewise.
30096 [POSIX] (_SC_IOV_MAX): Likewise.
30097 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30098 [POSIX] (_SC_NETWORKING): Likewise.
30099 [POSIX] (_SC_PAGE_SIZE): Likewise.
30100 [POSIX] (_SC_PASS_MAX): Likewise.
30101 [POSIX] (_SC_PIPE): Likewise.
30102 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30103 [POSIX] (_SC_REGEXP): Likewise.
30104 [POSIX] (_SC_SHELL): Likewise.
30105 [POSIX] (_SC_SIGNALS): Likewise.
30106 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30107 [POSIX] (_SC_SPIN_LOCKS): Likewise.
30108 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30109 [POSIX] (_SC_USER_GROUPS): Likewise.
30110 [POSIX] (_SC_USER_GROUPS_R): Likewise.
30111 [POSIX] (_SC_STREAMS): Likewise.
30112 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30113 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30114 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30115 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30116 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30117 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30118 [POSIX] (_PC_FILESIZEBITS): Likewise.
30119 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30120 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30121 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30122 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30123 [POSIX] (uid_t): Likewise.
30124 [POSIX] (gid_t): Likewise.
30125 [POSIX] (off_t): Likewise.
30126 [POSIX] (pid_t): Likewise.
30127 [POSIX] (cuserid): Allow.
30128 (_SC_2_CHAR_TERM): Require constant.
30129 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30130 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30131 variable.
30132
30133 2015-05-20 Roland McGrath <roland@hack.frob.com>
30134
30135 * sysdeps/nacl/pthread-pids.h: New file.
30136 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30137 (create_thread): Use __nacl_get_tid to initialize PD->tid.
30138
30139 * nptl/pthread-pids.h: New file.
30140 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30141 * nptl/nptl-init.c: Include <pthread-pids.h>.
30142 (__pthread_initialize_minimal_internal):
30143 Call __pthread_initialize_pids instead of set_tid_address syscall.
30144
30145 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30146 * sysdeps/posix/usleep.c: ... here.
30147
30148 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30149
30150 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30151 call_pselect6 object.
30152 [$(subdir) = io]: Remove call_sync_file_range object.
30153 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30154 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30155 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30156 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30157
30158 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
30159
30160 * math/s_cproj.c: Add include "math_private.h".
30161 * math/s_cprojf.c: Likewise.
30162 * math/s_cprojl.c: Likewise.
30163
30164 2015-05-19 Joseph Myers <joseph@codesourcery.com>
30165
30166 [BZ #18244]
30167 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30168 high mantissa bit when testing whether P is a NaN.
30169 * math/libm-test.inc (remainder_test_data): Add more tests.
30170 (remquo_test_data): Likewise.
30171
30172 [BZ #18049]
30173 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30174 below -32, return the argument, with underflow if subnormal.
30175 * math/auto-libm-test-in: Add more tests of atanh.
30176 * math/auto-libm-test-out: Regenerated.
30177
30178 2015-05-19 Roland McGrath <roland@hack.frob.com>
30179
30180 [BZ #18434]
30181 * nptl/tst-sem15.c: New file.
30182 * nptl/Makefile (tests): Add it.
30183 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30184 s/<</>>/ to fix typo in EOVERFLOW check.
30185 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30186
30187 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30188
30189 * manual/strings.texi (envz_remove): Fix typo in safety
30190 annotations.
30191
30192 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
30193 Steve Ellcey <sellcey@imgtec.com>
30194
30195 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30196 in order to avoid strict alias warnings.
30197 (iruserok_af): Ditto for ra.
30198
30199 2015-05-19 James Lemke <jwlemke@codesourcery.com>
30200
30201 [BZ #17581]
30202 * malloc/hooks.c
30203 (magicbyte): Convert to a function and avoid returning 0x01.
30204 (mem2mem_check): Avoid using a length byte equal to the magic byte.
30205 (mem2chunk_check): Fix unsigned comparisons to zero.
30206 Hoist defs of sz and magic.
30207
30208 2015-05-19 Richard Henderson <rth@redhat.com>
30209
30210 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30211
30212 * sysdeps/alpha/fpu/libm-test-ulps: Update.
30213
30214 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30215
30216 [BZ #16159]
30217 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30218 * malloc/arena.c (arena_lock): Check if arena is corrupt.
30219 (reused_arena): Find a non-corrupt arena.
30220 (heap_trim): Pass arena to unlink.
30221 * malloc/hooks.c (malloc_check_get_size): Pass arena to
30222 malloc_printerr.
30223 (top_check): Likewise.
30224 (free_check): Likewise.
30225 (realloc_check): Likewise.
30226 * malloc/malloc.c (malloc_printerr): Add arena argument.
30227 (unlink): Likewise.
30228 (munmap_chunk): Adjust.
30229 (ARENA_CORRUPTION_BIT): New macro.
30230 (arena_is_corrupt): Likewise.
30231 (set_arena_corrupt): Likewise.
30232 (sysmalloc): Use mmap if there are no usable arenas.
30233 (_int_malloc): Likewise.
30234 (__libc_malloc): Don't fail if arena_get returns NULL.
30235 (_mid_memalign): Likewise.
30236 (__libc_calloc): Likewise.
30237 (__libc_realloc): Adjust for additional argument to
30238 malloc_printerr.
30239 (_int_free): Likewise.
30240 (malloc_consolidate): Likewise.
30241 (_int_realloc): Likewise.
30242 (_int_memalign): Don't touch corrupt arenas.
30243 * malloc/tst-malloc-backtrace.c: New test case.
30244
30245 * Makefile (summarize-tests): Fix return value on success.
30246
30247 * manual/string.texi (Envz Functions): Add envz_remove.
30248
30249 2015-05-18 Roland McGrath <roland@hack.frob.com>
30250
30251 * sysdeps/posix/opendir.c: Include <stdbool.h>.
30252 (invalid_name): New function, broken out of ...
30253 (__opendirat): ... here. Call it.
30254 (need_isdir_precheck): New function, broken out of ...
30255 (__opendirat): ... here. Call it.
30256 Use __fxstatat64, not __xstatat64.
30257 (opendir_oflags): New function, broken out of ...
30258 (__opendirat): ... here. Call it.
30259 (opendir_tail): New function, broken out of ...
30260 (__opendirat): ... here. Call it.
30261 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30262 opendir_tail, rather than punting to __opendirat.
30263 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30264
30265 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30266
30267 * .gitignore: Ignore generated *.pyc.
30268
30269 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
30270
30271 * include/stdio.h: Define __need_wint_t.
30272 * test-skeleton.c: Avoid `for' loop initial declaration.
30273 * nptl/tst-initializers1.c: Use test-skeleton.c.
30274
30275 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30276
30277 [BZ #18418]
30278 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30279
30280 2015-05-15 Joseph Myers <joseph@codesourcery.com>
30281
30282 [BZ #16352]
30283 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30284 (__ieee754_atanh): Force underflow exception for results with
30285 small absolute value.
30286 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30287 (__ieee754_atanhf): Force underflow exception for results with
30288 small absolute value.
30289 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30290 (__ieee754_atanh): Force underflow exception for results with
30291 small absolute value.
30292 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30293 (__ieee754_atanhf): Force underflow exception for results with
30294 small absolute value.
30295 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30296 (__ieee754_atanhl): Force underflow exception for results with
30297 small absolute value.
30298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30299 (__ieee754_atanhl): Force underflow exception for results with
30300 small absolute value.
30301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30302 (__ieee754_atanhl): Force underflow exception for results with
30303 small absolute value.
30304 * math/auto-libm-test-in: Do not allow missing underflow
30305 exceptions from atanh.
30306 * math/auto-libm-test-out: Regenerated.
30307
30308 [BZ #18221]
30309 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30310 2**-28 as threshold for returning x or +/- 1/x.
30311 * math/auto-libm-test-in: Add more tests of tan.
30312 * math/auto-libm-test-out: Regenerated.
30313
30314 [BZ #18220]
30315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30316 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30317 * math/auto-libm-test-in: Add another test of lgamma.
30318 * math/auto-libm-test-out: Regenerated.
30319
30320 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
30321
30322 * stdio-common/printf_fp.c (___printf_fp): Use abs.
30323 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
30324 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30325 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30326 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
30327 (ADD2A): Use fabs. (SUB2A): Use fabs.
30328 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30330 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30331 (log1): Use fabs. (my_log2): Use fabs.
30332 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30333 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30334 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30335 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30337 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
30338 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
30339 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
30340 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
30341 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30342 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30343
30344 2015-05-15 Joseph Myers <joseph@codesourcery.com>
30345
30346 [BZ #18217]
30347 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30348 as threshold for returning 1 - x.
30349 * math/auto-libm-test-in: Add more tests of erfc.
30350 * math/auto-libm-test-out: Regenerated.
30351
30352 2015-05-14 Joseph Myers <joseph@codesourcery.com>
30353
30354 [BZ #18196]
30355 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30356 threshold for large arguments.
30357 * math/auto-libm-test-in: Add another test of atan.
30358 * math/auto-libm-test-out: Regenerated.
30359
30360 [BZ #16339]
30361 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30362 (__log1p): Force underflow exception for results with small
30363 absolute value.
30364 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30365 (__log1pf): Force underflow exception for results with small
30366 absolute value.
30367 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30368 (__log1p): Force underflow exception for results with small
30369 absolute value.
30370 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30371 (__log1pf): Force underflow exception for results with small
30372 absolute value.
30373 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30374 (__log1pl): Force underflow exception for results with small
30375 absolute value.
30376 * math/auto-libm-test-in: Do not allow missing underflow
30377 exceptions from log1p.
30378 * math/auto-libm-test-out: Regenerated.
30379
30380 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
30381 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30382
30383 [BZ #16704]
30384 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30385
30386 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
30387
30388 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30389 (libmvec): New variable.
30390 * configure.ac: Added option for mathvec build.
30391 * configure: Regenerated.
30392 * mathvec/Depend: New file.
30393 * mathvec/Makefile: New file.
30394 * shlib-versions: Added libmvec.
30395 * math/Makefile: Added rule for libm.so installation.
30396
30397 * bits/math-vector.h: New file.
30398 * bits/libm-simd-decl-stubs.h: New header.
30399 * math/Makefile (headers): Added new header
30400 libm-simd-decl-stubs.h.
30401 * math/math.h (__MATHCALL_VEC): New macro.
30402
30403 * math/gen-libm-have-vector-test.sh: Script generates series of macros
30404 for conditions in testing functions.
30405 * math/Makefile: Added call of libm-have-vector-test.sh.
30406 * math/libm-test.inc (HAVE_VECTOR): New macros.
30407
30408 * math/libm-test.inc: START refactored.
30409 * math/test-double.c (TEST_MATHVEC): Add define.
30410 * math/test-float.c: Likewise.
30411 * math/test-idouble.c: Likewise.
30412 * math/test-ifloat.c: Likewise.
30413 * math/test-ildoubl.c: Likewise.
30414 * math/test-ldouble.c: Likewise.
30415 * sysdeps/generic/math-tests-arch.h
30416 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30417 architecture check.
30418
30419 * math/test-double.c (FUNC_TEST): New macro.
30420 * math/test-float.c: Likewise.
30421 * math/test-idouble.c: Likewise.
30422 * math/test-ifloat.c: Likewise.
30423 * math/test-ildoubl.c: Likewise.
30424 * math/test-ldouble.c: Likewise.
30425 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30426
30427 2015-05-13 Roland McGrath <roland@hack.frob.com>
30428
30429 * sysdeps/nacl/fdopendir.c: New file.
30430
30431 * dirent/scandir-tail.c: New file.
30432 * dirent/scandir64-tail.c: New file.
30433 * dirent/Makefile (routines): Add them.
30434 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30435 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30436 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30437 [!SCANDIR] (SCANDIR_TAIL): New macro.
30438 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30439 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30440 (SCANDIRAT): Macro removed.
30441 (SCANDIR_TAIL): New macro.
30442 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30443 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30444 (SCANDIRAT): Just call __opendirat and __scandir_tail.
30445 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30446 (READDIR): Macro removed.
30447 (SCANDIR_TAIL): New macro.
30448 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30449 (SCANDIR_TAIL): New macro.
30450
30451 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30452 * dirent/scandir-cancel.c: ... to this new file.
30453 * dirent/Makefile (routines): Add it.
30454 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30455 * sysdeps/unix/sysv/linux/i386/scandir64.c
30456 (SKIP_SCANDIR_CANCEL): Macro removed.
30457 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30458
30459 * dirent/tst-scandir.c: New file.
30460 * dirent/tst-scandir64.c: New file.
30461 * dirent/Makefile (tests): Add them.
30462
30463 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
30464
30465 [BZ #18409]
30466 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30467
30468 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30469
30470 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30471 list.
30472
30473 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
30474
30475 * benchtests/bench-strcoll.c: New benchmark.
30476 * benchtests/Makefile: Generate locales and run benchmark.
30477 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30478 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30479 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30480 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30481 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30482 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30483 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30484 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30485 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30486 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30487 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30488 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30489 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30490 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30491 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30492 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30493 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30494 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30495 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30496 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30497 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30498 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30499 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30500 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30501
30502 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
30503
30504 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30505 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30506
30507 2015-05-12 Roland McGrath <roland@hack.frob.com>
30508
30509 * posix/uname-values.h: New file.
30510 * posix/uname.c: Include that instead of <config-name.h>.
30511 * sysdeps/nacl/uname-values.h: New file.
30512 * sysdeps/arm/nacl/uname-values.h: New file.
30513
30514 2015-05-12 Joseph Myers <joseph@codesourcery.com>
30515
30516 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30517 splitting into fields.
30518
30519 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
30520
30521 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30522 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30523 * locale/localeinfo.h: Add enum collation_encoding_type.
30524 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30525 * programs/ld-collate.c (collate_output): Add encoding type info.
30526 * string/strcoll_l.c (STRDIFF): New function.
30527 * (STRCOLL): Use STRDIFF to skip over equal prefix.
30528 * wcsmbs/wcscoll_l.c: Define STRDIFF.
30529
30530 2015-05-11 Joseph Myers <joseph@codesourcery.com>
30531
30532 [BZ #18397]
30533 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30534 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
30535 <fpu_control.h> instead of <math/fpu_control.c>.
30536 * sysdeps/mips/mips32/fpu/Makefile: New file.
30537
30538 2015-05-11 Andreas Schwab <schwab@suse.de>
30539
30540 [BZ #18007]
30541 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30542 nss_endgrent.
30543 (_nss_compat_endgrent): Call nss_endgrent.
30544 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30545 nss_endpwent.
30546 (_nss_compat_endpwent): Call nss_endpwent.
30547 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30548 needent, call nss_setspent only if non-zero.
30549 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30550 (internal_endspent): Don't call nss_endspent.
30551 (_nss_compat_endspent): Call nss_endspent.
30552 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30553 Remove. All uses removed.
30554 (internal_setent): Remove parameter stayopen, add parameter
30555 stream. Use it instead of global variable.
30556 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30557 (internal_endent, internal_getent): Add parameter stream. Use it
30558 instead of global variable.
30559 (CONCAT(_nss_files_end,ENTNAME))
30560 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30561 (_nss_files_get##name##_r): Pass local stream. Remove locking.
30562 * nss/nss_files/files-alias.c (position, last_use): Remove. All
30563 uses removed.
30564 (internal_setent, internal_endent): Add parameter stream. Use it
30565 instead of global variable.
30566 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30567 stream.
30568 (get_next_alias): Add parameter stream.
30569 (_nss_files_getaliasent_r): Pass global stream.
30570 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
30571 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30572 (_nss_files_gethostbyname4_r): Pass local stream to
30573 internal_setent, internal_getent and internal_endent. Remove
30574 locking.
30575
30576 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
30577
30578 * tst-strfmon1.c (tests): Update expected currency symbol.
30579
30580 2015-05-08 Roland McGrath <roland@hack.frob.com>
30581
30582 * sysdeps/nacl/gethostname.c: New file.
30583
30584 2015-05-08 Joseph Myers <joseph@codesourcery.com>
30585
30586 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30587 and sinh.
30588 * math/auto-libm-test-out: Regenerated.
30589 * sysdeps/i386/fpu/libm-test-ulps: Update.
30590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30591
30592 2015-05-08 Carlos O'Donell <carlos@redhat.com>
30593
30594 [BZ #18125]
30595 * stdlib/tst-setcontext3.c: New file.
30596 * stdlib/tst-setcontext3.sh: New file.
30597 * stdlib/Makefile (tests): Add tst-setcontext3.
30598 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30599 to verify test program created output file.
30600 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30601 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30602 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30603 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30604
30605 2015-05-06 Roland McGrath <roland@hack.frob.com>
30606
30607 [BZ #18383]
30608 * elf/tst-tlsalign.c: New file.
30609 * elf/tst-tlsalign-static.c: New file.
30610 * elf/tst-tlsalign-lib.c: New file.
30611 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30612 (tests-static): Add tst-tlsalign-static.
30613 (modules-names): Add tst-tlsalign-lib.
30614 (test-xfail-tst-tlsalign): New variable.
30615 (test-xfail-tst-tlsalign-static): New variable.
30616
30617 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30618 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30619
30620 2015-05-06 Joseph Myers <joseph@codesourcery.com>
30621
30622 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30623 csqrt, erfc, sin and sincos.
30624 * math/auto-libm-test-out: Regenerated.
30625 * sysdeps/i386/fpu/libm-test-ulps: Update.
30626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30627
30628 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
30629
30630 * sysdeps/aarch64/libm-test-ulps: Update.
30631
30632 2015-05-05 Joseph Myers <joseph@codesourcery.com>
30633
30634 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30635 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30636 * math/auto-libm-test-out: Regenerated.
30637 * sysdeps/i386/fpu/libm-test-ulps: Update.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30639
30640 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
30641
30642 [BZ #18265]
30643 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30644 (wcsncpy): Likewise.
30645
30646 2015-05-05 Florian Weimer <fweimer@redhat.com>
30647
30648 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30649 Assume __ASSUME_FALLOCATE is always true.
30650 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30651 (__posix_fallocate64_l64): Likewise.
30652 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30653 (posix_fallocate): Likewise.
30654 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30655 (__posix_fallocate64_l64): Likewise.
30656 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30657 [!__ASSUME_FALLOCATE]: Add comment.
30658
30659 2015-05-05 Florian Weimer <fweimer@redhat.com>
30660
30661 * sysdeps/unix/sysv/linux/i386/Makefile
30662 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30663 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30664 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30665 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30666 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30667 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30668 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30669
30670 2015-05-02 Joseph Myers <joseph@codesourcery.com>
30671
30672 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30673 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30674 tgamma.
30675 * math/auto-libm-test-out: Regenerated.
30676 * sysdeps/i386/fpu/libm-test-ulps: Update.
30677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30678
30679 2015-05-01 Joseph Myers <joseph@codesourcery.com>
30680
30681 * math/auto-libm-test-in: Add more tests of tgamma.
30682 * math/auto-libm-test-out: Regenerated.
30683 * sysdeps/i386/fpu/libm-test-ulps: Update.
30684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30685
30686 * math/auto-libm-test-in: Add more tests of tanh.
30687 * math/auto-libm-test-out: Regenerated.
30688 * sysdeps/i386/fpu/libm-test-ulps: Update.
30689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30690
30691 * math/auto-libm-test-in: Add more tests of tan.
30692 * math/auto-libm-test-out: Regenerated.
30693 * sysdeps/i386/fpu/libm-test-ulps: Update.
30694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30695
30696 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30697 * math/auto-libm-test-out: Regenerated.
30698 * sysdeps/i386/fpu/libm-test-ulps: Update.
30699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30700
30701 * math/auto-libm-test-in: Add another test of pow.
30702 * math/auto-libm-test-out: Regenerated.
30703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30704
30705 * math/auto-libm-test-in: Add more tests of lgamma.
30706 * math/auto-libm-test-out: Regenerated.
30707 * sysdeps/i386/fpu/libm-test-ulps: Update.
30708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30709
30710 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30711 log1p.
30712 * math/auto-libm-test-out: Regenerated.
30713 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715
30716 2015-05-01 Mark Wielaard <mjw@redhat.com>
30717
30718 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30719 Elf64_Chdr structs and ELFCOMPRESS constants.
30720
30721 2015-05-01 Joseph Myers <joseph@codesourcery.com>
30722
30723 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30724 expm1.
30725 * math/auto-libm-test-out: Regenerated.
30726 * sysdeps/i386/fpu/libm-test-ulps: Update.
30727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30728
30729 * math/auto-libm-test-in: Add more tests of erf and erfc.
30730 * math/auto-libm-test-out: Regenerated.
30731 * sysdeps/i386/fpu/libm-test-ulps: Update.
30732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30733
30734 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
30735
30736 * config.h.in (HAVE_AARCH64_BE): Add.
30737
30738 2015-04-30 Joseph Myers <joseph@codesourcery.com>
30739
30740 * math/auto-libm-test-in: Add more tests of csqrt.
30741 * math/auto-libm-test-out: Regenerated.
30742 * sysdeps/i386/fpu/libm-test-ulps: Update.
30743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30744
30745 * math/auto-libm-test-in: Add more tests of cosh and sinh.
30746 * math/auto-libm-test-out: Regenerated.
30747 * sysdeps/i386/fpu/libm-test-ulps: Update.
30748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30749
30750 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30751
30752 2015-04-29 Roland McGrath <roland@hack.frob.com>
30753
30754 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30755 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30756
30757 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30758 (euidaccess, eaccess): Define as weak aliases.
30759
30760 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30761 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
30762 but __suseconds_t is often 'long int' so some sources assume that
30763 type is being used (e.g. they use %ld to print tv_usec).
30764
30765 2015-04-29 Florian Weimer <fweimer@redhat.com>
30766
30767 [BZ #18007]
30768 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30769 (CVE-2014-8121)
30770 * nss/tst-nss-getpwent.c: New file.
30771 * nss/Makefile (tests): Add new test.
30772
30773 2015-04-28 Joseph Myers <joseph@codesourcery.com>
30774
30775 [BZ #18346]
30776 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30777 exponents less than 48 as cases where high part of mantissa needs
30778 examining to determine whether argument is integral.
30779 * math/libm-test.inc (round_test_data): Add more tests.
30780
30781 2015-04-28 Mark Wielaard <mjw@redhat.com>
30782
30783 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30784
30785 2015-04-27 David S. Miller <davem@davemloft.net>
30786
30787 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30788 __tls_get_addr.
30789 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30790
30791 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
30792
30793 [BZ#18333]
30794 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30795
30796 2015-04-27 Florian Weimer <fweimer@redhat.com>
30797
30798 [BZ#18333]
30799 * time/tzset.c (parse_tzname): Return error on memory allocation
30800 failure.
30801 * test-skeleton.c (struct temp_name_list): Change type of name
30802 member to non-const.
30803 (add_temp_file): Create a copy of the file name.
30804 (delete_temp_files): Deallocate memory.
30805 (create_temp_file): Add comment.
30806
30807 2015-04-24 Florian Weimer <fweimer@redhat.com>
30808
30809 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30810 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30811
30812 2015-04-24 Roland McGrath <roland@hack.frob.com>
30813
30814 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30815 * sysdeps/arm/configure: Regenerated.
30816
30817 2015-04-24 Florian Weimer <fweimer@redhat.com>
30818
30819 [BZ #17715]
30820 * time/tzfile.c (__tzfile_read): Check for large values of
30821 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
30822 * time/tzset.c (__tzstring_len): New function, based on the old
30823 __tzstring function.
30824 (__tzstring): Call __tzstring_len.
30825 (parse_tzname): New helper function extracted from
30826 __tzset_parse_tz. Call __tzstring_len, without making a copy of
30827 the input string.
30828 (parse_offset): New helper function extracted from
30829 __tzset_parse_tz. Replace switch with fallthrough with
30830 initialization before sscanf.
30831 (parse_rule): Likewise.
30832 (__tzset_parse_tz): Rewrite using the new helper functions. Use
30833 new-style function definition.
30834 * timezone/Makefile (tests): Add tst-tzset.
30835 (tst-tzset.out): Dependencies on time zone files.
30836 (tst-tzset-ENV): Set TZDIR.
30837 (testdata/XT%): Copy crafted time zone files.
30838 * timezone/README: Mention crafted time zone files.
30839 * timezone/testdata/XT1, timezone/testdata/XT2,
30840 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30841 files.
30842 * timezone/tst-tzset.c: New test.
30843
30844 2015-04-24 Florian Weimer <fweimer@redhat.com>
30845
30846 * Makeconfig (+gccwarn): Remove -Winline.
30847
30848 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
30849
30850 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30851
30852 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
30853
30854 * NEWS: Mention sysconf() cache information support for s390.
30855 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30856
30857 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
30858
30859 * math/k_casinh.c (__kernel_casinh): Use __copysign.
30860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30861 (__nearbyint): Likewise.
30862 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30863 (copysignl): Likewise.
30864
30865 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
30866
30867 [BZ #18287]
30868 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30869 based on padding. (CVE-2015-1781)
30870
30871 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30872
30873 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30874 libc-vdso.h.
30875 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30876 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30877 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30878 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30879 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30880 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30884 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30885 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30886 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30887 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30888 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30889 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30890 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30891 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30892 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30893 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30894 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30895 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30896 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30897 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30898
30899 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30900
30901 * stdlib/setenv.c (__add_to_environ):
30902 Dump core quickly if setenv (..., NULL, ...) is called.
30903 This time, do it the right way, and pacify GCC with a pragma.
30904
30905 2015-04-17 Roland McGrath <roland@hack.frob.com>
30906
30907 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30908 IMAP->l_prev cannot be null, and #if out the code for the contrary
30909 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30910 believe that NS (&_dl_ns[NSID]) could point outside the array.
30911
30912 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30913 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30914 before using NSID as an index.
30915
30916 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
30917
30918 [BZ #17825]
30919 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30920 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30921 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30922
30923 2015-04-17 Roland McGrath <roland@hack.frob.com>
30924
30925 Add preliminary port to Google Native Client on ARM.
30926 * abi-tags (.*-.*-nacl.*): New entry.
30927 * sysdeps/arm/nacl: New directory.
30928 * sysdeps/nacl: New directory.
30929
30930 2015-04-16 David S. Miller <davem@davemloft.net>
30931
30932 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30933 lowlevellock-futex.h
30934
30935 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
30936
30937 * sysdeps/tile/configure.ac: New file.
30938 * sysdeps/tile/configure: Regenerated.
30939
30940 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30941
30942 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
30943 conditionals for weak_alias and libc_hidden_weak.
30944 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30945 libc_hidden_weak and weak_alias.
30946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30947 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30948 and weak_alias for static one.
30949
30950 2015-04-15 David S. Miller <davem@davemloft.net>
30951
30952 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30953
30954 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30955
30956 [BZ #18206]
30957 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30958 Use signed comparision instead of substraction to avoid
30959 overflow bug.
30960 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30961 Take the sign of ret.
30962 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30963 Do not expect precise return values. Only the sign matters.
30964 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30965 * wcsmbs/test-wcsncmp.c: New File.
30966 * string/test-strncmp.c: Add wcsncmp support.
30967
30968 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
30969
30970 [BZ #6792]
30971 * math/w_log1p.c: New file.
30972 * math/w_log1pf.c: Likewise.
30973 * math/w_log1pl.c: Likewise.
30974 * math/Makefile (libm-calls): Add w_log1p.
30975 * math/s_log1pl.c (log1pl): Remove weak_alias.
30976 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30977 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30978 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30979 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30980 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30981 [NO_LONG_DOUBLE] (log1pl): Likewise.
30982 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30983 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30984 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30985 (log1p): Remove long_double_symbol.
30986 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30987 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30988 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30989 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30990 remove weak_alias for corresponding log1p function.
30991 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30992 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30993 * sysdeps/ia64/fpu/w_log1p.c: New file.
30994 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30995 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30996 * math/libm-test.inc (log1p_test_data): Add errno expectations.
30997
30998 2015-04-10 Joseph Myers <joseph@codesourcery.com>
30999
31000 [BZ #18247]
31001 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31002 decimal exponent by 1.
31003 * stdlib/tst-strtod-round-data: Add more tests.
31004 * stdlib/tst-strtod-round.c (tests): Regenerated.
31005
31006 2015-04-09 Joseph Myers <joseph@codesourcery.com>
31007
31008 * math/auto-libm-test-in: Add more tests of clog and clog10.
31009 * math/auto-libm-test-out: Regenerated.
31010 * sysdeps/i386/fpu/libm-test-ulps: Update.
31011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31012
31013 2015-04-09 Roland McGrath <roland@hack.frob.com>
31014
31015 * Makeconfig (module-cppflags): Exclude all .v.i files.
31016 (skip-module-cppflags): Variable removed.
31017
31018 * configure.ac (libc_config_ok): Initialize before reading
31019 preconfigure scripts, not after.
31020 * configure: Regenerated.
31021
31022 * test-skeleton.c (TIMEOUT): Move #define to top level.
31023 (main): Grok environment variable TEST_DIRECT. If set, print
31024 test expectation details into that file and then behave as if
31025 given --direct.
31026
31027 2015-04-09 Florian Weimer <fweimer@redhat.com>
31028
31029 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31030 warning on 32-bit.
31031
31032 2015-04-08 David S. Miller <davem@davemloft.net>
31033
31034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31035
31036 2015-04-08 Joseph Myers <joseph@codesourcery.com>
31037
31038 * math/auto-libm-test-in: Add more tests of atanh.
31039 * math/auto-libm-test-out: Regenerated.
31040 * sysdeps/i386/fpu/libm-test-ulps: Update.
31041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31042
31043 * math/auto-libm-test-in: Add more tests of atan.
31044 * math/auto-libm-test-out: Regenerated.
31045 * sysdeps/i386/fpu/libm-test-ulps: Update.
31046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31047
31048 2015-04-08 Florian Weimer <fweimer@redhat.com>
31049
31050 * elf/pldd.c (main): Rewrite to use struct
31051 scratch_buffer instead of extend_alloca.
31052 * elf/pldd-xx.c (find_maps): Likewise.
31053 * grp/initgroups.c: Include <scratch_buffer.h> instead of
31054 <alloca.h>.
31055 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31056 scratch_buffer instead of extend_alloca.
31057 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31058 grp/compat-initgroups.c.
31059 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31060 Rewrite to use struct scratch_buffer instead of extend_alloca.
31061 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31062 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31063
31064 2015-04-08 Joseph Myers <joseph@codesourcery.com>
31065
31066 * math/auto-libm-test-in: Add more tests of cbrt.
31067 * math/auto-libm-test-out: Regenerated.
31068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31069
31070 * math/auto-libm-test-in: Add more tests of cabs.
31071 * math/auto-libm-test-out: Regenerated.
31072 * sysdeps/i386/fpu/libm-test-ulps: Update.
31073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31074
31075 [BZ #18210]
31076 [BZ #18211]
31077 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31078 (__ieee754_atan2): Set FE_TONEAREST mode for internal
31079 computations.
31080 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31081 clog10.
31082 * math/auto-libm-test-out: Regenerated.
31083 * sysdeps/i386/fpu/libm-test-ulps: Update.
31084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31085
31086 [BZ #18197]
31087 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31088 (atan): Set FE_TONEAREST mode for internal computations.
31089 * math/auto-libm-test-in: Add more tests of atan.
31090 * math/auto-libm-test-out: Regenerated.
31091
31092 2015-04-07 James Cowgill <james410@cowgill.org.uk>
31093
31094 [BZ #17930]
31095 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31096
31097 2015-04-07 Florian Weimer <fweimer@redhat.com>
31098
31099 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31100
31101 2015-04-07 Florian Weimer <fweimer@redhat.com>
31102
31103 * include/scratch_buffer.h: New file.
31104 * malloc/scratch_buffer_grow.c: Likewise.
31105 * malloc/scratch_buffer_grow_preserve.c: Likewise.
31106 * malloc/scratch_buffer_set_array_size.c: Likewise.
31107 * malloc/tst-scratch_buffer.c: Likewise.
31108 * malloc/Makefile (routines): Add scratch_buffer_grow.
31109 (tests): Add test case.
31110 * malloc/Versions (GLIBC_PRIVATE): Export
31111 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31112 __libc_scratch_buffer_set_array_size.
31113
31114 2015-04-06 Richard Henderson <rth@redhat.com>
31115
31116 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31117 * sysdeps/alpha/fpu/libm-test-ulps: Update.
31118
31119 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31120 unsigned int before printing.
31121
31122 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31123
31124 [BZ #17596]
31125 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31126 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31127
31128 2015-04-02 Florian Weimer <fweimer@redhat.com>
31129
31130 * include/libc-internal.h (libc_max_align_t): Define.
31131
31132 2015-04-02 Andreas Schwab <schwab@suse.de>
31133
31134 [BZ #16850]
31135 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31136
31137 2015-04-02 Mel Gorman <mgorman@suse.de>
31138
31139 [BZ #17195]
31140 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31141 as well as the main arena.
31142
31143 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
31144
31145 [BZ #18185]
31146 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31147 sharing L2 cache to 2 for Silvermont/Knights Landing.
31148
31149 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
31150
31151 [BZ #17711]
31152 * config.make.in (have-protected-data): New.
31153 * configure.ac: Check linker support for protected data symbol.
31154 * configure: Regenerated.
31155 * elf/Makefile (modules-names): Add tst-protected1moda and
31156 tst-protected1modb if $(have-protected-data) is yes.
31157 (tests): Add tst-protected1a and tst-protected1b if
31158 $(have-protected-data) is yes.
31159 ($(objpfx)tst-protected1a): New.
31160 ($(objpfx)tst-protected1b): Likewise.
31161 (tst-protected1modb.so-no-z-defs): Likewise.
31162 * elf/tst-protected1a.c: New file.
31163 * elf/tst-protected1b.c: Likewise.
31164 * elf/tst-protected1mod.h: Likewise.
31165 * elf/tst-protected1moda.c: Likewise.
31166 * elf/tst-protected1modb.c: Likewise.
31167
31168 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
31169
31170 [BZ #17711]
31171 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31172 indicates it is called from do_lookup_x on relocation against
31173 protected data, skip the data definion in the executable from
31174 copy reloc.
31175 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31176 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31177 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31178 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31179 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31180 otherwise to 0.
31181 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31182 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31183 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31184 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31185 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31186 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31187
31188 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
31189
31190 * sysdeps/nptl/pthread.h: Remove duplicate definition of
31191 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31192
31193 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
31194
31195 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31196 THREAD_SETMEM_NC.
31197 * sysdeps/x86_64/nptl/tls.h: Ditto.
31198
31199 2015-03-27 Roland McGrath <roland@hack.frob.com>
31200
31201 * dlfcn/tststatic.c (main): Converted to ...
31202 (do_test): ... this.
31203 (TEST_FUNCTION): New macro.
31204 Include test-skeleton.c.
31205
31206 2015-03-26 Alan Modra <amodra@gmail.com>
31207
31208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31209 Don't segfault if ifunc resolver returns a NULL. Do set plt to
31210 zero for undefined weak.
31211 (elf_machine_plt_conflict): Similarly.
31212
31213 2015-03-25 Joseph Myers <joseph@codesourcery.com>
31214
31215 * math/auto-libm-test-in: Add more tests of acosh, asinh and
31216 atanh.
31217 * math/auto-libm-test-out: Regenerated.
31218 * sysdeps/i386/fpu/libm-test-ulps: Update.
31219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31220
31221 * math/auto-libm-test-in: Add another test of asin.
31222 * math/auto-libm-test-out: Regenerated.
31223 * sysdeps/i386/fpu/libm-test-ulps: Update.
31224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31225
31226 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31227 Remove macro.
31228 (LLL_EBX_REG): Likewise.
31229 (LLL_ENTER_KERNEL): Likewise.
31230
31231 * math/auto-libm-test-in: Add more tests of asin.
31232 * math/auto-libm-test-out: Regenerated.
31233 * sysdeps/i386/fpu/libm-test-ulps: Update.
31234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31235
31236 [BZ #18138]
31237 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31238 libc_do_syscall_args): New structure.
31239 (INTERNAL_SYSCALL_MAIN_0): New macro.
31240 (INTERNAL_SYSCALL_MAIN_1): Likewise.
31241 (INTERNAL_SYSCALL_MAIN_2): Likewise.
31242 (INTERNAL_SYSCALL_MAIN_3): Likewise.
31243 (INTERNAL_SYSCALL_MAIN_4): Likewise.
31244 (INTERNAL_SYSCALL_MAIN_5): Likewise.
31245 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
31246 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31247 Replace conditional definitions by conditional definitions of ....
31248 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
31249 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31250 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31251 (libpthread-sysdep_routines): Add libc-do-syscall.
31252 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31254 to __NR_futex not 240.
31255
31256 2015-03-25 Alan Modra <amodra@gmail.com>
31257
31258 * NEWS: Advertise TLS optimization.
31259 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31260 (DT_PPC_NUM): Increment.
31261 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31262 (CHECK_STATIC_TLS): Use here.
31263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31264 TLS descriptors.
31265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31266 * sysdeps/powerpc/dl-tls.c: New file.
31267 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31268 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31269 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31270 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31274
31275 2015-03-25 Alan Modra <amodra@gmail.com>
31276
31277 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31278 for overlapping .opd entries" to "support...".
31279 * sysdeps/powerpc/powerpc64/configure: Regenerate
31280
31281 2015-03-25 Joseph Myers <joseph@codesourcery.com>
31282
31283 * math/auto-libm-test-in: Add more tests of acos.
31284 * math/auto-libm-test-out: Regenerated.
31285 * sysdeps/i386/fpu/libm-test-ulps: Update.
31286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31287
31288 * math/auto-libm-test-in: Add more tests of expm1.
31289 * math/auto-libm-test-out: Regenerated.
31290 * sysdeps/i386/fpu/libm-test-ulps: Update.
31291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31292
31293 2015-03-24 Joseph Myers <joseph@codesourcery.com>
31294
31295 * math/auto-libm-test-in: Add more tests of cosh and sinh.
31296 * math/auto-libm-test-out: Regenerated.
31297 * sysdeps/i386/fpu/libm-test-ulps: Update.
31298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31299
31300 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31302
31303 * math/auto-libm-test-in: Add more tests of log2.
31304 * math/auto-libm-test-out: Regenerated.
31305 * sysdeps/i386/fpu/libm-test-ulps: Update.
31306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31307
31308 2015-03-23 Roland McGrath <roland@hack.frob.com>
31309
31310 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31311 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
31312 _IO_IS_APPENDING bit in READ_WRITE instead.
31313
31314 2015-03-23 Florian Weimer <fweimer@redhat.com>
31315
31316 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31317 (__determine_cpumask_size): Replace extend_alloca with a
31318 variable-length array. Do not treat res == 0 as an error.
31319
31320 2015-03-23 Florian Weimer <fweimer@redhat.com>
31321
31322 [BZ #18100]
31323 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31324 and integer overflow.
31325 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31326 (main): Add integer overflow tests.
31327 * manual/pattern.texi (Calling Wordexp): Document additional use
31328 for WRDE_SYNTAX.
31329
31330 2015-03-23 Alan Modra <amodra@gmail.com>
31331
31332 * config.h.in: Remove HAVE_ASM_PPC_REL16.
31333 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31334 and false branch of conditional.
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31336 Likewise.
31337
31338 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
31339
31340 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31341 libc-modules.h
31342 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31343 unused declaration of _hurd_intr_rpc_msg_in_trap.
31344 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31345 defined instead of whether it is non-zero.
31346 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31347 input constraint instead of both input and output constraint. Use ecx
31348 clobber instead of %ecx.
31349 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31350 mutex_unlock): Use a statement expression instead of an expression list.
31351 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31352 type to vm_size_t instead of vm_address_t.
31353 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31354 defined instead of whether it is non-zero.
31355 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31356 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31357 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31358 comparisons with mapaddr.
31359 * nscd/nscd-client.h: Include <time.h>.
31360 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31361 9th parameter to __vm_region instead of int.
31362 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31363 * scripts/check-local-headers.sh (exclude): Add device/,
31364 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31365 cthreads.h.
31366
31367 2015-03-19 Roland McGrath <roland@hack.frob.com>
31368
31369 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31370 to account for alignment padding.
31371 * sysdeps/arm/memmove.S: Likewise.
31372
31373 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
31374
31375 * sysdeps/unix/sysv/linux/generic/README: New file.
31376
31377 2015-03-18 Joseph Myers <joseph@codesourcery.com>
31378
31379 [BZ #18138]
31380 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31381 (futex_abstimed_wait)
31382 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31383 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31384 of lll_futex_timed_wait.
31385
31386 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
31387
31388 [BZ #17542]
31389 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31390
31391 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
31392
31393 [BZ #17090]
31394 [BZ #17620]
31395 [BZ #17621]
31396 [BZ #17628]
31397 * NEWS: Update.
31398 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31399 entries with Static TLS too. Skip entries past the end of the
31400 allocated DTV, from Alan Modra.
31401 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
31402 Static TLS DTV entry set up from...
31403 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31404 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31405 * nptl/allocatestack.c (init_one_static_tls): ... and here...
31406 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31407 for Static TLS.
31408 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
31409 that the slot we find is associated with the given map before
31410 using its generation count.
31411 * nptl_db/db_info.c: Include ldsodefs.h.
31412 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31413 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31414 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31415 (link_map::l_tls_offset): New struct field.
31416 (dtv_t::counter): Likewise.
31417 (rtld_global): New struct.
31418 (_rtld_global): New rtld variable.
31419 (dl_tls_dtv_slotinfo_list): New rtld global field.
31420 (dtv_slotinfo_list): New struct.
31421 (dtv_slotinfo): Likewise.
31422 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31423 (td_lookup): Rename to...
31424 (td_mod_lookup): ... this. Use new mod parameter instead of
31425 LIBPTHREAD_SO.
31426 * nptl_db/td_thr_tlsbase.c: Include link.h.
31427 (dtv_slotinfo_list, dtv_slotinfo): New functions.
31428 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
31429 addresses even if the DTV is out of date or missing them.
31430 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31431 index zero-length arrays.
31432 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31433 (td_lookup): Make it a macro implemented in terms of...
31434 (td_mod_lookup): ... this declaration.
31435 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31436 (DB_MAIN_VARIABLE): Likewise.
31437
31438 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
31439
31440 [BZ #18134]
31441 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31442
31443 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
31444
31445 * stdlib/setenv.c (__add_to_environ): Revert previous change.
31446
31447 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
31448
31449 [BZ #18128]
31450 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31451 (atomic_add, atomic_increment_and_test)
31452 (atomic_decrement_and_test): Fix 64-bit arithmetic.
31453
31454 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
31455
31456 * stdlib/setenv.c (__add_to_environ):
31457 Dump core quickly if setenv (..., NULL, ...) is called.
31458
31459 2015-03-13 Roland McGrath <roland@hack.frob.com>
31460
31461 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31462 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31463 all the necessary asm magic in one place.
31464 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31465 using those.
31466
31467 2015-03-13 Carlos O'Donell <carlos@redhat.com>
31468
31469 [BZ #14906]
31470 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31471 traced file mtime. Use consistent log message.
31472 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31473 (register_traced_file): Call install_watches. Always set mtime.
31474 (invalidate_cache): Iterate over all trace files. Call install_watches.
31475 (inotify_check_files): Don't inline. Handle watching parent
31476 directories and configuration file movement in and out.
31477 (handle_inotify_events): New function.
31478 (main_loop_poll): Call handle_inotify_events.
31479 (main_loop_epoll): Likewise.
31480 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31481 (struct traced_file): Use array of inotify fds. Add parent directory,
31482 and basename.
31483 (struct database_dyn): Remove unused file_mtime.
31484 (init_traced_file): New inline function.
31485 (define_traced_file): New macro.
31486 * nss/nss_db/db-init.c: Use define_traced_file.
31487 (_nss_db_init): Use init_traced_file.
31488 * nss/nss_files/files-init.c: Use define_traced_file.
31489 (_nss_files_init): Use init_traced_file.
31490
31491 2015-03-12 Joseph Myers <joseph@codesourcery.com>
31492
31493 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31494 [_LIBC]: Do not include <stdlib.h>.
31495 [!_LIBC] (abort): Remove declaration.
31496 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31497 _FP_STATIC_ASSERT instead of conditionally calling abort.
31498 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31499 (_FP_EXTEND_CNAN): Likewise.
31500 (FP_TRUNC): Likewise.
31501 (__FP_CLZ): Likewise.
31502 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31503
31504 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
31505
31506 * manual/string.texi (XPG basename): Fix prototype.
31507
31508 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31509
31510 [BZ #18080]
31511 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31512 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31513 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31514 (__setcontext): Likewise.
31515 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31516 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31517 Call rt_sigprocmask syscall one time to set new signal mask
31518 and retrieve the current signal mask instead of two calls.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31520 (__swapcontext): Likewise.
31521 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31522 * stdlib/tst-setcontext2.c: New file.
31523
31524 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31525
31526 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31527
31528 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
31529
31530 [BZ #18093]
31531 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31532 the wrong size.
31533
31534 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
31535
31536 [BZ #18043]
31537 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31538
31539 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
31540
31541 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31542 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31543 Remove define.
31544 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31545 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31546 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31547 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31548 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31549 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31550 define.
31551 * nptl_db/td_symbol_list.c (td_lookup): Remove
31552 HAVE_ASM_GLOBAL_DOT_NAME code.
31553 * sysdeps/powerpc/powerpc64/configure.ac: Remove
31554 HAVE_ASM_GLOBAL_DOT_NAME check.
31555 * sysdeps/powerpc/powerpc64/configure: Regenerate.
31556 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31557 (DOT_LABEL): Remove define.
31558 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31559 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31560 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31561 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31562 (__TLS_GET_ADDR): Likewise.
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31564 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31565
31566 2015-03-11 Carlos O'Donell <carlos@redhat.com>
31567
31568 [BZ #18111]
31569 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31570 (_FPU_SETCW): Initialize cw from fpsr before storing.
31571 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31572 (fesetexceptflag): Rewrite using fpu_control.h.
31573 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31574
31575 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
31576
31577 [BZ #18110]
31578 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31579 asms.
31580 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31581
31582 2015-03-11 Joseph Myers <joseph@codesourcery.com>
31583
31584 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31585 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31586 abort.
31587 (_FP_FMA): Likewise.
31588 (_FP_DIV): Likewise.
31589
31590 2015-03-10 Roland McGrath <roland@hack.frob.com>
31591
31592 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31593 with 0 in that case.
31594 * Makefile (summarize-tests): New canned sequence, factored out of
31595 commands for targets tests and xtests. Display summary lines that
31596 don't start with PASS: or XFAIL: rather than ones that do start with
31597 ERROR: or FAIL:. Make the commands fail if any summary lines fail
31598 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31599 do start with ERROR: or FAIL:.
31600 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31601 (except for [$(build-shared) = yes]).
31602 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31603 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31604 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31605 * nptl/Makefile: Revert 2015-03-04 changes.
31606 [$(CXX) empty] (tests-unsupported): New variable.
31607 * debug/Makefile: Likewise.
31608
31609 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31610 gnulib file. Replace __attribute with __attribute__ throughout.
31611
31612 2015-03-10 Carlos O'Donell <carlos@redhat.com>
31613
31614 * sysdeps/hppa/fpu/libm-test-ulps: Update.
31615
31616 2015-03-10 Joseph Myers <joseph@codesourcery.com>
31617
31618 [BZ #18104]
31619 * math/auto-libm-test-in: Add another test of pow.
31620 * math/auto-libm-test-out: Regenerated.
31621
31622 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31623
31624 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31625 $(config-cflags-nofma).
31626
31627 2015-03-10 Joseph Myers <joseph@codesourcery.com>
31628
31629 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31630 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31631 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31632 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31633 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31634 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31635 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31636 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31637 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31638 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31639 Add comment on closing #endif.
31640
31641 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
31642
31643 * posix/wordexp.c (CHAR_IN_SET): New macro.
31644 (parse_param): Use it.
31645
31646 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31647
31648 * sysdeps/powerpc/fpu/libm-test-ulps: update.
31649
31650 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
31651
31652 [BZ #18043]
31653 * posix/wordexp.c (parse_param): Fix buffer overflow.
31654 * posix/wordexp-test.c (test_case): Add test case.
31655
31656 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
31657
31658 [BZ #18042]
31659 * posix/wordexp.c (parse_backtick): Fix off-by-one.
31660 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31661
31662 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
31663
31664 [BZ #18043]
31665 * posix/wordexp-test.c (test_case): Add test for BZ #18043
31666 (do_bz18043): Delete.
31667 (at_page_end): New.
31668 (testit): Refactor to have words at the edge of unreadable page.
31669
31670 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31671
31672 [BZ #16734]
31673 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31674 Cleanup read-only streams as well.
31675 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31676
31677 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31678
31679 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31680 <bits/libc-lockP.h>
31681
31682 2015-03-07 Joseph Myers <joseph@codesourcery.com>
31683
31684 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
31685 on [__KERNEL__].
31686 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31687 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31688 * soft-fp/op-common.h (_FP_DECL): Likewise.
31689
31690 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
31691
31692 * elf/ifuncdep2.c (global): Replace
31693 __attribute__((visibility("protected"))) with
31694 asm (".protected global").
31695 * elf/ifuncmod1.c (global): Likewise.
31696 * elf/ifuncmod5.c (global): Likewise.
31697
31698 2015-03-06 Joseph Myers <joseph@codesourcery.com>
31699
31700 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31701 <asm/sfp-machine.h> instead of <sfp-machine.h>.
31702
31703 2015-03-06 Roland McGrath <roland@hack.frob.com>
31704
31705 * manual/install.texi (Configuring and compiling):
31706 Document test-wrapper-env-only.
31707 * INSTALL: Regenerated.
31708
31709 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31710
31711 [BZ #18043]
31712 * posix/wordexp.c (parse_param): Fix buffer overflow.
31713 * posix/wordexp-test.c (do_bz18043): Add test case.
31714
31715 2015-03-06 Vincent Bernat <vincent@bernat.im>
31716
31717 * time/tst-strptime2.c (do_test): Ensure failing tests are
31718 reported correctly.
31719 * time/tst-strptime3.c (do_test): Likewise.
31720
31721 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
31722
31723 Fix aio_error thread-safety.
31724 * sysdeps/pthread/aio_error.c: New file
31725 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31726 synchronization.
31727
31728 2015-03-06 Florian Weimer <fweimer@redhat.com>
31729
31730 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31731 (group_number, vfprintf): Use it.
31732 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31733 (JUMP, REF): Use it.
31734 (WORK_BUFFER_SIZE): New enum constant.
31735 (process_arg, vfprintf): Use it.
31736
31737 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
31738
31739 * manual/errno.texi (Error Messages): Complete example function
31740 by adding missing #define.
31741 (program_invocation_name): Add statement indicating GNU
31742 extension and reference which header file declares the variable.
31743 (program_invocation_short_name): Likewise.
31744
31745 2015-03-06 Mike Frysinger <vapier@gentoo.org>
31746
31747 * manual/errno.texi (Error Messages): Delete strerror ISO C89
31748 compatibility note.
31749
31750 2015-03-05 Roland McGrath <roland@hack.frob.com>
31751
31752 * Makeconfig (test-wrapper-env-only): New variable.
31753 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31754 then use that with $(test-wrapper-env-only) rather than using
31755 $(test-wrapper-env) $(run-program-env) $($*-ENV).
31756
31757 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 [BZ #18082]
31760 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31761 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31762 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31763 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31764 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31765 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31766 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31767 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31768 Likewise.
31769 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31770 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31771 Likewise.
31772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31773 Likewise.
31774 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31775 Likewise.
31776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31777 Likewise.
31778 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31780 Likewise.
31781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31782 Likewise.
31783 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31784 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31785
31786 2015-03-04 Roland McGrath <roland@hack.frob.com>
31787
31788 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31789 (ETH_ALEN): New macro.
31790 (struct ether_addr): Use it for length of ether_addr_octet.
31791
31792 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31793 (setdb): Don't call __nss_configure_lookup for "rpc".
31794 (do_test): Don't call test_rpc.
31795 (output_rpcent, test_rpc): Functions moved ...
31796 * sunrpc/test-rpcent.c: ... to this new file.
31797 * sunrpc/Makefile (tests): Add it.
31798
31799 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31800 __xpg_sigpause.
31801 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31802 * nptl/tst-signal6.c: Likewise.
31803 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31804 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31805
31806 * configure.ac (libc_cv_cxx_link_ok): New check.
31807 Reset CXX to empty if it fails to link.
31808 * configure: Regenerated.
31809 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31810 bug-atexit3-lib only if $(CXX) is nonempty.
31811 * nptl/Makefile (tests): Likewise for tst-cancel24.
31812 (tests, tests-static): Likewise for tst-cancel24-static.
31813 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31814 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31815 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31816 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31817
31818 2015-03-04 Andreas Schwab <schwab@suse.de>
31819
31820 [BZ #17631]
31821 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31822 for non-GCC compilers.
31823 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31824 Likewise.
31825
31826 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
31827
31828 [BZ #17776]
31829 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31830 integer before bitwise and assembly operations.
31831 (feclearexcept): Likewise.
31832 * math/test-fenvinline.c: New file.
31833 * math/Makefile: Add test-fenvinline test.
31834
31835 2015-03-03 Alan Modra <amodra@gmail.com>
31836
31837 [BZ #16512]
31838 * scripts/localplt.awk: Strip off symbol version.
31839 * NEWS: Mention bug fix.
31840
31841 2015-03-02 Roland McGrath <roland@hack.frob.com>
31842
31843 * sysdeps/pthread/timer_routines.c
31844 (timer_free_list, thread_free_list, thread_active_list): Make static.
31845
31846 2015-03-02 Joseph Myers <joseph@codesourcery.com>
31847
31848 [BZ #17779]
31849 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31850 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31851 Undefine.
31852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31853 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31854 Likewise.
31855 * sysdeps/unix/sysv/linux/sh/kernel-features.h
31856 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31857 Likewise.
31858
31859 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31860
31861 [BZ #18036]
31862 * posix/fnmatch_loop.c (END): Detect invalid pattern.
31863 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31864
31865 2015-03-02 Andreas Schwab <schwab@suse.de>
31866
31867 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31868 variable name.
31869
31870 2015-03-02 Florian Weimer <fweimer@redhat.com>
31871
31872 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31873 Return error status.
31874
31875 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
31876
31877 [BZ #15969]
31878 * locale/findlocale.c (_nl_find_locale): Introduce const
31879 version of loc_name and drop unsafe type casts.
31880
31881 2015-02-27 Roland McGrath <roland@hack.frob.com>
31882
31883 * dlfcn/tststatic2.c (main): Converted to ...
31884 (do_test): ... this.
31885 (TEST_FUNCTION): New macro.
31886 Include test-skeleton.c.
31887
31888 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 [BZ #17711]
31891 * elf/Makefile (tests): Add vismain only if PIE is enabled.
31892 (tests-pie): Add vismain.
31893 (CFLAGS-vismain.c): New.
31894 * elf/vismain.c: Add comments for PIE requirement.
31895
31896 2015-02-27 Joseph Myers <joseph@codesourcery.com>
31897
31898 [BZ #18046]
31899 [BZ #18047]
31900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31901 0x1p-56L as threshold for just returning the argument.
31902 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31903 0x1p-32L as threshold for just returning the argument.
31904 * math/auto-libm-test-in: Add more tests of atanh.
31905 * math/auto-libm-test-out: Regenerated.
31906 * sysdeps/i386/fpu/libm-test-ulps: Update.
31907 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31908
31909 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
31910
31911 * string/bcopy.c (bcopy): Call memmove for performance.
31912
31913 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
31914
31915 * string/bzero.c (__bzero): Call memset for performance.
31916
31917 2015-02-27 John David Anglin <dave.anglin@bell.net>
31918
31919 [BZ #18068]
31920 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31921 to 00100000.
31922
31923 2015-02-27 Joseph Myers <joseph@codesourcery.com>
31924
31925 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31926
31927 2015-02-26 Joseph Myers <joseph@codesourcery.com>
31928
31929 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31930 (__kernel_standard): Use CSTR macro when setting exc.name.
31931 * sysdeps/ieee754/Makefile [$(subdir) = math]
31932 (CFLAGS-k_standard.c): Remove variable.
31933
31934 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31935 setting p and q from "else if" to "else".
31936 (qzero): Likewise.
31937 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31938 (qone): Likewise.
31939 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31940 (qzerof): Likewise.
31941 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31942 (qonef): Likewise.
31943 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31944 (qzero): Likewise.
31945 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31946 (qone): Likewise.
31947
31948 [BZ #18038]
31949 [BZ #18039]
31950 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31951 return pi/2 for arguments below 0x1p-113L.
31952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31953 return pi/2 for arguments below 0x1p-106L.
31954 * math/auto-libm-test-in: Add more tests of acos.
31955 * math/auto-libm-test-out: Regenerated.
31956
31957 [BZ #16351]
31958 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31959 (MO): New macro.
31960 (__ieee754_asin): Force underflow exception for results with small
31961 absolute value.
31962 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31963 (MO): New macro.
31964 (__ieee754_asinf): Force underflow exception for results with
31965 small absolute value.
31966 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31967 (__ieee754_asin): Force underflow exception for results with small
31968 absolute value.
31969 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31970 (__ieee754_asinf): Force underflow exception for results with
31971 small absolute value.
31972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31973 (__ieee754_asinl): Force underflow exception for results with
31974 small absolute value.
31975 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31976 (__ieee754_asinl): Force underflow exception for results with
31977 small absolute value.
31978 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31979 (__ieee754_asinl): Force underflow exception for results with
31980 small absolute value.
31981 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31982 Include <math.h>.
31983 * math/auto-libm-test-in: Do not mark underflow exceptions as
31984 possibly missing for bug 16351.
31985 * math/auto-libm-test-out: Regenerated.
31986
31987 [BZ #18030]
31988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31989 of power of 2 down when low part has opposite sign.
31990 * math/libm-test.inc (logb_test_data): Add more tests.
31991
31992 2015-02-26 Andreas Schwab <schwab@suse.de>
31993
31994 [BZ #18032]
31995 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31996 over collating symbol inside a bracket expression. Minor cleanup.
31997 * posix/tst-fnmatch3.c (do_test): Add test case.
31998
31999 2015-02-26 Joseph Myers <joseph@codesourcery.com>
32000
32001 [BZ #18029]
32002 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32003 Adjust exponent of power of 2 down when low part has opposite
32004 sign.
32005 * math/libm-test.inc (ilogb_test_data): Add more tests.
32006
32007 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
32008
32009 [BZ #15969]
32010 * locale/findlocale.c (_nl_find_locale): Fix constness error in
32011 the previous change.
32012
32013 [BZ #15969]
32014 * locale/findlocale.c (_nl_find_locale): Retry archive search
32015 after alias expansion.
32016
32017 2015-02-25 Roland McGrath <roland@hack.frob.com>
32018
32019 * iconv/tst-iconv3.c (main): Converted to ...
32020 (do_test): ... this.
32021 (TEST_FUNCTION): New macro.
32022 Include test-skeleton.c.
32023
32024 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32025 (convert): Make function static.
32026 (test_unalign): Likewise. Add const to argument pointee types.
32027 (main): Replace with static function do_test.
32028 Print "Succeeded." only if RET is zero.
32029 (TEST_FUNCTION): New macro.
32030 Include test-skeleton.c.
32031
32032 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32033 returns a null pointer.
32034
32035 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32036
32037 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32038 to __memcpy_ppc only for static builds.
32039
32040 2015-02-25 Joseph Myers <joseph@codesourcery.com>
32041
32042 [BZ #18020]
32043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32044 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32045 * math/auto-libm-test-in: Add more tests of asinh.
32046 * math/auto-libm-test-out: Regenerated.
32047 * sysdeps/i386/fpu/libm-test-ulps: Update.
32048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32049
32050 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
32051
32052 [BZ #15850]
32053 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32054 and ip6_mtuinfo definitions here.
32055 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32056 in this define too. Update comment.
32057
32058 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
32059
32060 * elf/sprof.c (load_shobj): Tweak error message to match others.
32061
32062 2015-02-24 Kevin Easton <kevin@guarana.org>
32063
32064 [BZ #16145] (partial fix)
32065 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32066 to reduce lock contention.
32067
32068 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
32069
32070 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32071 (struct timex): Update time comment.
32072 (ADJ_SETOFFSET): Define.
32073
32074 2015-02-24 Joseph Myers <joseph@codesourcery.com>
32075
32076 [BZ #18019]
32077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32078 2**56 not 2**28 as threshold for log (2x) formula.
32079 * math/auto-libm-test-in: Add more tests of acosh.
32080 * math/auto-libm-test-out: Regenerated.
32081 * sysdeps/i386/fpu/libm-test-ulps: Update.
32082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32083
32084 2015-02-24 Mike Frysinger <vapier@gentoo.org>
32085
32086 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32087 parenthesis around the buf assignment.
32088 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32089
32090 2015-02-24 Joseph Myers <joseph@codesourcery.com>
32091
32092 [BZ #16783]
32093 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32094 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32095 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32096 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32097 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32098 * math/libm-test.inc (scalb_test_data): Add more tests.
32099
32100 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
32101
32102 [BZ #17916]
32103 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32104 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32105
32106 2015-02-24 Eric Rannaud <e@nanocritical.com>
32107
32108 [BZ #17523]
32109 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32110 * io/bits/fcntl2.h (open): Use it.
32111 (openat): Likewise.
32112 * io/open.c (__libc_open): Likewise.
32113 * io/open64.c (__libc_open64): Likewise.
32114 * io/open64_2.c (__open64_2): Likewise.
32115 * io/open_2.c (__open_2): Likewise.
32116 * io/openat.c (__openat): Likewise.
32117 * io/openat64.c (__openat64): Likewise.
32118 * io/openat64_2.c (__openat64_2): Likewise.
32119 * io/openat_2.c (__openat_2): Likewise.
32120 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32121 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32122 * sysdeps/posix/open64.c (__libc_open64): Likewise.
32123 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32124 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32125 (__open_nocancel): Likewise.
32126 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32127 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32128 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32129
32130 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32131
32132 [BZ #14841]
32133 * resolv/gethnamaddr.c (getanswer): Skip logging if
32134 RES_USE_DNSSEC is set.
32135 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32136
32137 2015-02-24 Mike Frysinger <vapier@gentoo.org>
32138
32139 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32140
32141 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
32142
32143 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32144 201304L, for Unicode 7.
32145
32146 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
32147
32148 [BZ #17836]
32149 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32150 shared library. Add gmon-start.os otherwise.
32151 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32152 $(objpfx)gmon-start.os if builing shared library.
32153 ($(objpfx)g$(static-start-installed-name)): Likewise.
32154
32155 2015-02-23 Andreas Schwab <schwab@suse.de>
32156
32157 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32158
32159 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32160
32161 [BZ #17269]
32162 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32163 (enlarge_userbuf): Likewise.
32164
32165 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
32166
32167 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32168 * math/atest-exp.c (TIMEOUT): Adjust to 200.
32169 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32170 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32171
32172 2015-02-20 Joseph Myers <joseph@codesourcery.com>
32173
32174 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32175 expression inside statement expression.
32176
32177 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
32178
32179 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32180 <sysdeps/nptl/lowlevellock.h> and remove macros and
32181 functions that are now defined there.
32182 (SYS_futex): Remove.
32183 (lll_compare_and_swap): Remove.
32184 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32185
32186 2015-02-19 Joseph Myers <joseph@codesourcery.com>
32187
32188 [BZ #17999]
32189 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32190 instead of scandirat.
32191 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32192 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32193 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32194 __scandirat.
32195 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32196 (__scandirat): Declare. Use libc_hidden_proto.
32197 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32198 Remove variable.
32199 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32200
32201 2015-02-18 Joseph Myers <joseph@codesourcery.com>
32202
32203 [BZ #15319]
32204 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32205 (MO): New macro.
32206 (__ieee754_atan2): For results with small absolute value, force
32207 underflow exception and remove excess range and precision from
32208 return value.
32209 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32210 (MO): New macro.
32211 (__ieee754_atan2f): For results with small absolute value, force
32212 underflow exception and remove excess range and precision from
32213 return value.
32214 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32215 (MO): New macro.
32216 (__atan): For results with small absolute value, force underflow
32217 exception and remove excess range and precision from return value.
32218 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32219 (MO): New macro.
32220 (__atanf): For results with small absolute value, force underflow
32221 exception and remove excess range and precision from return value.
32222 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32223 <math.h>.
32224 (__ieee754_atan2): Force underflow exception for results with
32225 small absolute value.
32226 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32227 <math_private.h>.
32228 (atan): Force underflow exception for results with small absolute
32229 value.
32230 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32231 (__atanf): Force underflow exception for results with small
32232 absolute value.
32233 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32234 <math.h>.
32235 (__atanl): Force underflow exception for results with small
32236 absolute value.
32237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32238 (__atanl): Force underflow exception for results with small
32239 absolute value.
32240 * sysdeps/x86/fpu/bits/mathinline.h
32241 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32242 (__ieee754_atan2): Only define inline for long double.
32243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32244 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32245 * math/auto-libm-test-in: Do not mark underflow exceptions as
32246 possibly missing for bug 15319. Add more tests of atan2.
32247 * math/auto-libm-test-out: Regenerated.
32248 * math/libm-test.inc (casin_test_data): Do not mark underflow
32249 exceptions as possibly missing for bug 15319.
32250 (casinh_test_data): Likewise.
32251 * sysdeps/i386/fpu/libm-test-ulps: Update.
32252
32253 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
32254
32255 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32256 * sysdeps/mips/bits/endian.h: Fix comments.
32257
32258 2015-02-18 Joseph Myers <joseph@codesourcery.com>
32259
32260 [BZ #17996]
32261 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32262 (hdestroy_r): Likewise.
32263 (hsearch_r): Likewise.
32264 (__hcreate_r): Declare and use libc_hidden_proto.
32265 (__hdestroy_r): Likewise.
32266 (__hsearch_r): Likewise.
32267 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32268 (hcreate): Call __hcreate_r instead of hcreate_r.
32269 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32270 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32271 as weak alias of __hcreate_r.
32272 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32273 __hdestroy_r.
32274 (hsearch_r): Rename to __hsearch_r and define as weak alias of
32275 __hsearch_r.
32276 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32277 Remove variable.
32278 (test-xfail-XPG4/search.h/linknamespace): Likewise.
32279 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32280 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32281 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32282
32283 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32284
32285 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32286 arena_lock into a single arena_get.
32287
32288 2015-02-17 Carlos O'Donell <carlos@redhat.com>
32289
32290 * dl-reloc.c: Inlucde libc-internal.h.
32291 (_dl_try_allocate_static_tls): Call ALIGN_UP.
32292 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32293 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32294 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32295 (grow_heap): Likewise.
32296 * malloc/malloc.c: Include libc-internal.h.
32297 (do_check_malloc): Call powerof2.
32298 (sysmalloc): Use pagesize. Call ALIGN_UP.
32299 (systrim): Use pagesize.
32300 (mremap_chunk): Use pagesize. Call ALIGN_UP.
32301 (__libc_valloc): Use pagesize.
32302 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32303
32304 2015-02-17 Joseph Myers <joseph@codesourcery.com>
32305
32306 [BZ #17991]
32307 * include/sys/resource.h (__getrlimit64): Declare. Use
32308 libc_hidden_proto.
32309 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32310 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
32311 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32312 getrlimit64.
32313 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32314 __getrlimit64.
32315 [!getrlimit64] (getrlimit64): Define as weak alias of
32316 __getrlimit64. Use libc_hidden_weak.
32317 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32318 using __getrlimit64 not __new_getrlimit64.
32319 (__GI_getrlimit64): Likewise.
32320 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32321 Likewise.
32322 (__GI_getrlimit64): Likewise.
32323 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32325 (getrlimit): Add __getrlimit64 alias.
32326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32327 Likewise.
32328 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32329 Remove variable.
32330 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32331 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32332
32333 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
32334
32335 * libio/fileops.c: Add missing sys/mman.h
32336 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32337
32338 2015-02-17 Joseph Myers <joseph@codesourcery.com>
32339
32340 * manual/math.texi (Errors in Math Functions): Clarify goals
32341 regarding inexact and underflow exceptions.
32342
32343 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
32344
32345 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32346 * sysdeps/mips/memset.S: Ditto.
32347
32348 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
32349
32350 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32351
32352 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32353
32354 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32355 (__v1longjmp): Remove versioned symbol.
32356 (__v1siglongjmp): Remove alias and versioned symbol.
32357 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32358 (__v2siglongjmp): Likewise.
32359
32360 2015-02-16 Torvald Riegel <triegel@redhat.com>
32361
32362 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32363
32364 2015-02-16 Mike Frysinger <vapier@gentoo.org>
32365
32366 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32367
32368 2015-02-16 Joseph Myers <joseph@codesourcery.com>
32369
32370 [BZ #17987]
32371 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32372 zero result does not depend on the sign resulting from
32373 subtraction.
32374 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32375 Likewise.
32376 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32377 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32378 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32379 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32380 * math/libm-test.inc (remquo_test_data): Add more tests.
32381
32382 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
32383
32384 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32385 Problem reported by J William Piggott.
32386
32387 2015-02-16 Joseph Myers <joseph@codesourcery.com>
32388
32389 [BZ #17978]
32390 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32391 products 4 * y and 2 * y where those would overflow.
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32393 Likewise.
32394 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32395 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32396 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32397 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32398 * math/libm-test.inc (remquo_test_data): Add more tests.
32399
32400 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32401
32402 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32403 [defined _COMPILING_NEWLIB].
32404 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32405 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32406
32407 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32408 [!defined __mips_isa_rev || __mips_isa_rev < 6].
32409
32410 2015-02-16 Torvald Riegel <triegel@redhat.com>
32411
32412 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32413 acquired.
32414
32415 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
32416
32417 [BZ #17792]
32418 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32419 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32420 HOST_STACK_END_ADDR): Likewise.
32421
32422 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
32423
32424 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32425 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32426 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32427
32428 2015-02-13 Roland McGrath <roland@hack.frob.com>
32429
32430 * sysdeps/generic/c++-types.data: New file.
32431 * sysdeps/generic/ld.abilist: New file.
32432 * sysdeps/generic/libBrokenLocale.abilist: New file.
32433 * sysdeps/generic/libanl.abilist: New file.
32434 * sysdeps/generic/libc.abilist: New file.
32435 * sysdeps/generic/libcrypt.abilist: New file.
32436 * sysdeps/generic/libdl.abilist: New file.
32437 * sysdeps/generic/libm.abilist: New file.
32438 * sysdeps/generic/libpthread.abilist: New file.
32439 * sysdeps/generic/libresolv.abilist: New file.
32440 * sysdeps/generic/librt.abilist: New file.
32441
32442 2015-02-13 Joseph Myers <joseph@codesourcery.com>
32443
32444 [BZ #17569]
32445 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32446 Compute absolute value of x as modified by fmod, not original
32447 value of x.
32448 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32449 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
32450 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
32451 RUN_TEST_ffI_f1_mod8.
32452 (remquo_test_data): Add more tests.
32453
32454 2015-02-13 Roland McGrath <roland@hack.frob.com>
32455
32456 * sysdeps/init_array/pt-crti.S: New file.
32457
32458 2015-02-13 Joseph Myers <joseph@codesourcery.com>
32459
32460 [BZ #17967]
32461 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32462 __builtin_fmaf instead of relying on contraction of a * b + c.
32463
32464 2015-02-12 J William Piggott <elseifthen@gmx.com>
32465
32466 [BZ #17969]
32467 * manual/time.texi: correct the zoneinfo path in the TZ Variable
32468 node.
32469
32470 2015-02-12 Joseph Myers <joseph@codesourcery.com>
32471
32472 [BZ #17964]
32473 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32474 __builtin_fma instead of relying on contraction of a * b + c.
32475
32476 2015-02-12 Roland McGrath <roland@hack.frob.com>
32477
32478 * Makeconfig (ASFLAGS): Add -Werror=undef.
32479 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32480 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32481 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32482
32483 * Makeconfig (after-link): New variable.
32484 (+link-pie, +link-pie-tests): Use it.
32485 (+link-static, +link-static-tests): Likewise.
32486 (+link, +link-tests): Likewise.
32487 * Makerules (build-module, build-module-asneeded): Likewise.
32488 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32489 Likewise.
32490 * elf/Makefile ($(objpfx)ld.so): Likewise.
32491
32492 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
32493
32494 [BZ #17965]
32495 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32496 both struct timeval and struct timespec.
32497
32498 2015-02-12 Joseph Myers <joseph@codesourcery.com>
32499
32500 [BZ #16560]
32501 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32502 and redefine.
32503 (__ieee754_exp2l): Do not multiply small fractional parts by
32504 M_LN2l.
32505 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32506 small argument.
32507 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32508 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32509 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32510 * math/auto-libm-test-in: Add more tests of exp2.
32511 * math/auto-libm-test-out: Regenerated.
32512
32513 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32514
32515 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32516 unaligned path.
32517
32518 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32519
32520 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32521 little endian.
32522
32523 2015-02-12 Andreas Schwab <schwab@suse.de>
32524
32525 [BZ #15790]
32526 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32527 Filter out elision flags from value returned in kind.
32528 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32529 * nptl/tst-pthread-mutexattr.c: New file.
32530
32531 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
32532
32533 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32534 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32535 into gnu-gnu, and update comment to refer to abi-tags.
32536
32537 2015-02-11 Joseph Myers <joseph@codesourcery.com>
32538
32539 [BZ #15467]
32540 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32541 (__sincos): Set errno to EDOM for infinite argument.
32542 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32543 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32544 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32545 (__sincosl): Set errno to EDOM for infinite argument.
32546 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32547 (__sincosl): Set errno to EDOM for infinite argument.
32548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32549 (__sincosl): Set errno to EDOM for infinite argument.
32550 * math/libm-test.inc (sincos_test_data): Test errno setting.
32551
32552 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
32553
32554 * string/strxfrm_l.c: Remove #define STRCMP.
32555 * string/strcoll_l.c: Remove #define STRLEN.
32556 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32557 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32558
32559 2015-02-10 Joseph Myers <joseph@codesourcery.com>
32560
32561 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32562 * sysdeps/mips/mips32/sfp-machine.h: ... here.
32563 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32564 * sysdeps/mips/mips64/Makefile: ... here.
32565 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32566 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32567 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32568 * sysdeps/mips/mips64/sfp-machine.h: ... here.
32569 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32570 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32571 * sysdeps/mips/mips64/n64/Implies: Likewise.
32572
32573 2015-02-10 Roland McGrath <roland@hack.frob.com>
32574
32575 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32576 <sys/time.h>, <string.h>, and <errno.h>.
32577 (dest_offset, dest_address, value, zero): Remove unused variables.
32578 (ldouble): Remove typedef.
32579 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32580 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
32581 1). Fix code style.
32582 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32583 (check): Function removed.
32584 (CHECK): New macro.
32585 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
32586 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32587 Don't call set_sigaction_FP and remove_sigaction_FP here.
32588 (ldouble_test): Just use 'long double' as macro argument, no need for
32589 the 'ldouble' typedef.
32590 (do_test): Set up SIGFPE handler at start, using plain signal rather
32591 than sigaction. Fix code style.
32592
32593 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
32594
32595 [BZ #17949]
32596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32597 jump label.
32598
32599 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
32600
32601 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32602 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32603
32604 * sysdeps/powerpc/configure.ac: Remove file.
32605 * sysdeps/powerpc/configure: Likewise.
32606
32607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32608 [sysdep_routines]: Remove wordcopy-power6 object.
32609 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32610 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32611 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32612 (__memmove_ppc32): Likewise.
32613 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32614 file.
32615 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32616 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32617 Remove preprocessor.
32618
32619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32620 [sysdep_routines]: Remove wide chars objects.
32621 [wcsmbs]: New rule for wide char objects.
32622
32623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32624 Remove wordcopy-power6 obejct.
32625 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32626 Use local call for wordcopy and memcpy symbols.
32627 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32628 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32629 implementation for loader.
32630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32631
32632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32633 Remove wordcopy-power7 object.
32634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32636 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32637 (_wordcopy_fwd_dest_aligned): Likewise.
32638 (_wordcopy_bwd_aligned): Likewise.
32639 (_wordcopy_bwd_dest_aligned): Likewise.
32640
32641 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32642 Rewrite to call __memmove_ppc instead of include default
32643 implementation.
32644
32645 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32646 Remove wide chars objects.
32647 [wcsmbs]: New rule for wide char objects.
32648
32649 2015-02-09 Andreas Schwab <schwab@suse.de>
32650
32651 [BZ #17912]
32652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32653 in terms of __O_DIRECTORY.
32654
32655 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
32656
32657 * time/getdate.c: Include <stdbool.h>.
32658 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32659 call PTR_MANGLE.
32660 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32661 PTR_DEMANGLE.
32662
32663 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
32664
32665 Add ersatz _Static_assert on older C hosts
32666 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32667 pre-C11 C platform that is not known to support _Static_assert.
32668
32669 2015-02-07 Richard Braun <rbraun@sceen.net>
32670
32671 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32672 sigstate.
32673 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32674
32675 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32676
32677 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32678 priority against unexistent AIO_PRIO_DELTA_MAX.
32679 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32680 instead of int.
32681 * misc/fchflags.c (fchflags): Likewise.
32682 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32683 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32684 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32685 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32686 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32687 Declare macros.
32688 [__USE_MISC] (chflags, fchflags): Declare functions.
32689 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32690 EINVAL when nfds is greater than FD_SETSIZE.
32691 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32692 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32693 45.
32694 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32695 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32696 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32697 MACH_RCV_TIMED_OUT.
32698 * hurd/hurd/signal.h (_hurd_self_sigstate,
32699 _hurd_critical_section_lock, _hurd_critical_section_unlock):
32700 Explicit casts from void *.
32701 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32702 * abi-tags: Rename gnu-gnu os into gnu.
32703
32704 [BZ #4719]
32705 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32706 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32707 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32708 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32709 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32710 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32711
32712 [BZ #17944]
32713 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32714 duplicates ADDR->sun_path with sockaddr LEN limitation.
32715 * sysdeps/mach/hurd/connect.c: Include <string.h>
32716 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32717 * sysdeps/mach/hurd/sendmsg.c: Likewise.
32718 * sysdeps/mach/hurd/sendto.c: Likewise.
32719 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32720 implementing it by hand.
32721
32722 2015-02-06 Roland McGrath <roland@hack.frob.com>
32723
32724 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32725 Use sfi_breg on ldr.
32726 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32727 Likewise.
32728
32729 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32730 it's defined.
32731 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32732 Test SIGSETXID only if it's defined.
32733
32734 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32735
32736 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32737 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
32738
32739 * nptl/tst-align2.c: Moved ...
32740 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32741 * nptl/Makefile (tests): Remove tst-align2.
32742 * sysdeps/unix/sysv/linux/Makefile
32743 [$(subdir) = nptl] (tests): Add tst-align-clone.
32744 * nptl/tst-getpid1.c: Moved ...
32745 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32746 * nptl/tst-getpid2.c: Moved ...
32747 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32748 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32749 * sysdeps/unix/sysv/linux/Makefile
32750 [$(subdir) = nptl] (tests): ... here.
32751 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32752 * sysdeps/unix/sysv/linux/Makefile
32753 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32754
32755 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32756 Drop trailing \n from perror argument. Use return rather than exit.
32757
32758 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32759 on [SA_SIGINFO].
32760 * nptl/tst-cancel21.c (do_test): Likewise.
32761 * debug/tst-backtrace6.c: Include <signal.h> first thing.
32762 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32763 [!SA_SIGINFO]: Make it a stub test.
32764
32765 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32766 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32767
32768 * posix/tst-getlogin.c: Move to ...
32769 * login/tst-getlogin.c: ... here.
32770 * posix/Makefile (tests): Move tst-getlogin to ...
32771 * login/Makefile (tests): ... here.
32772
32773 * libio/tst-atime.c (do_test): Move local variables SV and E
32774 inside [ST_NOATIME] conditional.
32775
32776 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32777
32778 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32779
32780 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32781 (wait_code): New function replaces macro.
32782 Call nanosleep rather than syscall.
32783
32784 * nptl/pt-system.c: Rewritten. Put everything under
32785 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32786 Use IFUNC to redirect when possible.
32787
32788 * nptl/pt-longjmp.c: Rewritten. Put everything under
32789 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32790 Use IFUNC to redirect when possible.
32791
32792 * nptl/pt-fork.c: Rewritten. Put everything under
32793 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32794 Use IFUNC to redirect when possible.
32795 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32796
32797 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32798 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32799 unconditionally nowadays. This included the only reference to
32800 __vdso_clock_gettime that appears outside libc proper.
32801 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32802 Remove version set (containing only __vdso_clock_gettime).
32803 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32804 Add attribute_hidden.
32805 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32806 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32807 libc_hidden_data_def.
32808 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32809 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32810
32811 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32812 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32813 setrpcent, and getrpcport to ...
32814 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32815 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32816 getrpcbynumber_r, and getrpcent_r to ...
32817 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32818 * inet/getrpcbyname.c: Moved ...
32819 * sunrpc/getrpcbyname.c: ... here.
32820 * inet/getrpcbyname_r.c: Moved ...
32821 * sunrpc/getrpcbyname_r.c: ... here.
32822 * inet/getrpcbynumber.c: Moved ...
32823 * sunrpc/getrpcbynumber.c: ... here.
32824 * inet/getrpcbynumber_r.c: Moved ...
32825 * sunrpc/getrpcbynumber_r.c: ... here.
32826 * inet/getrpcent.c: Moved ...
32827 * sunrpc/getrpcent.c: ... here.
32828 * inet/getrpcent_r.c: Moved ...
32829 * sunrpc/getrpcent_r.c: ... here.
32830 * inet/Makefile (routines): Move those to ...
32831 * sunrpc/Makefile (routines): ... here.
32832 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32833 the $(subdirs) list.
32834 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
32835 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32836 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32837 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32838
32839 * elf/Makefile (routines): Include $(all-dl-routines), not just
32840 $(dl-routines).
32841 (rtld-routines): Likewise. Use = rather than :=.
32842 * sysdeps/aarch64/Makefile [$(subdir) = elf]
32843 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32844 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32845 * sysdeps/arm/Makefile: Likewise.
32846 * sysdeps/i386/Makefile: Likewise.
32847 * sysdeps/x86_64/Makefile: Likewise.
32848 * sysdeps/hppa/Makefile [$(subdir) = elf]
32849 (sysdep_routines, sysdep-rtld-routines): Don't add
32850 $(sysdep-dl-routines) to these.
32851 * sysdeps/ia64/Makefile: Likewise.
32852 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32853 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32854 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32855 Don't add dl-static to these; sysdep-dl-routines alone is enough.
32856 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32857 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32858 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32859 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32860 * sysdeps/powerpc/Makefile [$(subdir) = elf]
32861 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32862 these; sysdep-dl-routines alone is enough.
32863
32864 2015-02-06 Joseph Myers <joseph@codesourcery.com>
32865
32866 [BZ #17932]
32867 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32868 where multiplication results in zero and third argument is finite
32869 and nonzero.
32870 * math/auto-libm-test-in: Add more tests of fma.
32871 * math/auto-libm-test-out: Regenerated.
32872
32873 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32874 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32875 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32876 (_FP_CMP_EQ): Likewise.
32877 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32878
32879 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32880 extra argument CHECK_NAN. Redefine as wrapper around
32881 _FP_EXTEND_CNAN.
32882
32883 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
32884
32885 * version.h (RELEASE): Set to "stable".
32886 (VERSION): Set to "2.21"
32887 * include/features.h (__GLIBC_MINOR__): Set to 21.
32888
32889 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32890
32891 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32892 Paul Eggert <eggert@cs.ucla.edu>
32893
32894 [BZ #16618]
32895 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32897 size in bytes. Store needed elements in wpmax. Use needed size
32898 in bytes for extend_alloca.
32899
32900 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
32901
32902 * manual/install.texi: Latest tested versions are GCC 4.9.2,
32903 binutls 2.25, and texinfo 5.2.
32904 * INSTALL: Regenerate.
32905 * sysdeps/nios2/configure: Regenerate.
32906 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32907 * manual/contrib.texi: Update.
32908 * po/be.po: Update.
32909 * po/bg.po: Update.
32910 * po/ca.po: Update.
32911 * po/cs.po: Update.
32912 * po/da.po: Update.
32913 * po/de.po: Update.
32914 * po/el.po: Update.
32915 * po/eo.po: Update.
32916 * po/es.po: Update.
32917 * po/fi.po: Update.
32918 * po/fr.po: Update.
32919 * po/gl.po: Update.
32920 * po/hr.po: Update.
32921 * po/hu.po: Update.
32922 * po/ia.po: Update.
32923 * po/id.po: Update.
32924 * po/it.po: Update.
32925 * po/ja.po: Update.
32926 * po/ko.po: Update.
32927 * po/lt.po: Update.
32928 * po/nb.po: Update.
32929 * po/nl.po: Update.
32930 * po/pl.po: Update.
32931 * po/pt_BR.po: Update.
32932 * po/ru.po: Update.
32933 * po/rw.po: Update.
32934 * po/sk.po: Update.
32935 * po/sl.po: Update.
32936 * po/sv.po: Update.
32937 * po/tr.po: Update.
32938 * po/uk.po: Update.
32939 * po/vi.po: Update.
32940 * po/zh_CN.po: Update.
32941 * po/zh_TW.po: Update.
32942
32943 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32944 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32945 * sysdeps/hppa/dl-irel.h: Remove #warning.
32946 * sysdeps/hppa/entry.h: Provide prototype for
32947 __canonicalize_funcptr_for_compare and cast argument.
32948 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32949 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32950 * sysdeps/hppa/sotruss-lib.c: New file.
32951 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32952 (atomic_compare_and_exchange_val_acq): Use __typeof__.
32953 (atomic_compare_and_exchange_bool_acq): Likewise.
32954 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32955 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32956
32957 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32958 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32959 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32960
32961 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
32962
32963 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32964 called function in non-PIC case.
32965
32966 2015-01-31 David S. Miller <davem@davemloft.net>
32967
32968 * sysdeps/sparc/sparc32/bits/atomic.h
32969 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32970 unlock not after it.
32971 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32972 volatile register usage warnings from the compiler.
32973
32974 * sysdeps/sparc/nptl/sem_init.c: Delete.
32975 * sysdeps/sparc/nptl/sem_post.c: Delete.
32976 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32977 * sysdeps/sparc/nptl/sem_wait.c: Delete.
32978 * sysdeps/sparc/sparc32/sem_init.c: New file.
32979 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32980 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32981 padding explicitly initialized.
32982 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32983 padding for in-semaphore spinlock.
32984 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32985 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32986 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32987 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32988 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32989 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32990 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32991 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32992 version.
32993 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32994 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32995
32996 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
32997
32998 [BZ #17801]
32999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33000 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33001 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33002 New.
33003 (index_AVX_Fast_Unaligned_Load): Likewise.
33004 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33005 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33006 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33007 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33008 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33009 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33010 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33011 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33012 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33013
33014 2015-01-29 Andreas Schwab <schwab@suse.de>
33015
33016 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33017
33018 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33019
33020 [BZ #17892]
33021 * nscd/nscd_stat.c (send_stats): Initialize DATA.
33022
33023 2015-01-28 Martin Sebor <msebor@redhat.com>
33024
33025 * math/README.libm-test: Clarify. Add "How to read the test output."
33026
33027 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
33028
33029 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33030 Define to 0.
33031
33032 2015-01-28 Joseph Myers <joseph@codesourcery.com>
33033
33034 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33035 (__HAVE_64B_ATOMICS): Define to 0.
33036
33037 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
33038
33039 [BZ #17885]
33040 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33041 value to set as new flag.
33042
33043 [BZ #16576]
33044 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33045 and use _ARCH_PPCSQ instead.
33046 (__ieee754_sqrt): Likewise.
33047 (__ieee754_sqrtf): Likewise.
33048 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33049 _ARCH_PPCSQ is defined.
33050 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33051 fsqrt instruction.
33052 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33053 _ARCH_PPCSQ is defined.
33054 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33055 fsqrts instruction.
33056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33057
33058 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33059
33060 * iconv/loop.c: Suppress array out of bound warning caused by GCC
33061 bug (GCC BZ #64739).
33062
33063 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
33064
33065 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33066 Mark _retval as used.
33067 (lll_futex_wake_unlock): Likewise.
33068 (lll_futex_timed_wait_requeue_pi): Likewise.
33069
33070 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33071 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33072 register variables.
33073
33074 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33075 libm_hidden_def.
33076
33077 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33078 (__bswap_64): Mark as __always_inline.
33079
33080 2015-01-25 Bram <bug_rh@spam.wizbit.be>
33081
33082 [BZ #15378]
33083 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33084 when none of the search directories exist.
33085
33086 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
33087
33088 [BZ #17869]
33089 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33090 power8 in .machine directive.
33091
33092 [BZ #17868]
33093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33094 set dependency from opd value.
33095
33096 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
33097
33098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33099 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33100 architecture.
33101
33102 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 [BZ #17870]
33105 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33106 with uint64_t.
33107 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33108 (uint64_t) 1.
33109 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33110 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33111 Replace 1UL with (uint64_t) 1.
33112 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33113 int with uint64_t.
33114
33115 2015-01-23 Roland McGrath <roland@hack.frob.com>
33116
33117 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33118 (if_freenameindex): Likewise.
33119
33120 * resource/getrlimit64.c: Add missing libc_hidden_def.
33121
33122 2015-01-22 Joseph Myers <joseph@codesourcery.com>
33123
33124 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33125 __label__.
33126 (_FP_FMA): Likewise.
33127 (_FP_TO_INT_ROUND): Likewise.
33128 (_FP_FROM_INT): Likewise.
33129
33130 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33131
33132 [BZ #16418]
33133 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33134 Make code racy and cancel safe.
33135
33136 2015-01-21 Carlos O'Donell <carlos@redhat.com>
33137
33138 * sysdeps/arm/unwind-resume.h: Fix copyright year.
33139 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33140 attribution.
33141
33142 * pwd/tst-getpw.c: Rewrite.
33143
33144 [BZ #17702]
33145 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33146 (modules-names): Add moddummy1 and moddummy2.
33147 ($(objpfx)tst-rec-dlopen): Define.
33148 * dlfcn/moddummy1.c: New file.
33149 * dlfcn/moddummy2.c: New file.
33150 * dlfcn/tst-rec-dlopen.c: New file.
33151 * elf/dl-cache.c (_dl_load_cache_lookup):
33152 Return char*. Copy result with alloca/strcpy/strdup.
33153 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33154 returns char*. Free cached. If not saving realname
33155 free cached.
33156 * elf/dl-open.c (dl_open_worker): Do not assert that
33157 _r_debug->r_state is RT_CONSISTENT.
33158 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33159 returns char*.
33160
33161 2015-01-21 Torvald Riegel <triegel@redhat.com>
33162 Carlos O'Donell <carlos@redhat.com>
33163
33164 [BZ #12674]
33165 * nptl/sem_waitcommon.c: New file.
33166 * nptl/sem_wait.c: Include sem_waitcommon.c.
33167 (__sem_wait_cleanup, do_futex_wait): Remove.
33168 (__new_sem_wait): Adapt.
33169 (__new_sem_trywait): New function.
33170 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33171 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33172 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33173 (sem_timedwait): Adapt.
33174 * nptl/sem_post.c (__new_sem_post): Adapt.
33175 (futex_wake): New function.
33176 (__old_sem_post): Add release MO fence.
33177 * nptl/sem_open.c (sem_open): Adapt.
33178 * nptl/sem_init.c (__new_sem_init): Adapt.
33179 (futex_private_if_supported): New function.
33180 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33181 (__old_sem_getvalue): Add using previous code.
33182 * sysdeps/nptl/internaltypes.h: Adapt.
33183 * nptl/tst-sem13.c (do_test): Adapt.
33184 * nptl/tst-sem11.c (main): Adapt.
33185 * nptl/sem_trywait.c: Remove.
33186 * nptl/DESIGN-sem.txt: Remove.
33187 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33188 (gen-as-const-headers): Remove structsem.sym.
33189 * nptl/structsem.sym: Remove.
33190 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33191 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33192 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33193 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33194 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33195 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33196 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33197 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33198 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33199 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33200 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33201 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33202 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33203 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33204 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33205 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33206 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33207 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33208 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33209 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33210 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33211 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33212
33213 2015-01-20 Carlos O'Donell <carlos@redhat.com>
33214
33215 * INSTALL: Regenerated.
33216
33217 * po/libc.pot: Regenerated.
33218
33219 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
33220 Sandra Loosemore <sandra@codesourcery.com>
33221 Andrew Jenner <andrew@codesourcery.com>
33222 Joseph Myers <joseph@codesourcery.com>
33223 Nathan Sidwell <nathan@codesourcery.com>
33224
33225 * NEWS: Mention new Nios II port.
33226 * sysdeps/nios2/Implies: New file.
33227 * sysdeps/nios2/Makefile: New file.
33228 * sysdeps/nios2/Subdirs: New file.
33229 * sysdeps/nios2/Versions: New file.
33230 * sysdeps/nios2/__longjmp.S: New file.
33231 * sysdeps/nios2/abort-instr.h: New file.
33232 * sysdeps/nios2/backtrace.c: New file.
33233 * sysdeps/nios2/bits/endian.h: New file.
33234 * sysdeps/nios2/bits/fenv.h: New file.
33235 * sysdeps/nios2/bits/link.h: New file.
33236 * sysdeps/nios2/bits/setjmp.h: New file.
33237 * sysdeps/nios2/bsd-_setjmp.S: New file.
33238 * sysdeps/nios2/bsd-setjmp.S: New file.
33239 * sysdeps/nios2/configure: New generated file.
33240 * sysdeps/nios2/configure.ac: New file.
33241 * sysdeps/nios2/crti.S: New file.
33242 * sysdeps/nios2/crtn.S: New file.
33243 * sysdeps/nios2/dl-init.c: New file.
33244 * sysdeps/nios2/dl-machine.h: New file.
33245 * sysdeps/nios2/dl-sysdep.h: New file.
33246 * sysdeps/nios2/dl-tls.h: New file.
33247 * sysdeps/nios2/dl-trampoline.S: New file.
33248 * sysdeps/nios2/gccframe.h: New file.
33249 * sysdeps/nios2/gmp-mparam.h: New file.
33250 * sysdeps/nios2/jmpbuf-offsets.h: New file.
33251 * sysdeps/nios2/jmpbuf-unwind.h: New file.
33252 * sysdeps/nios2/ldsodefs.h: New file.
33253 * sysdeps/nios2/libc-tls.c: New file.
33254 * sysdeps/nios2/libm-test-ulps: New file.
33255 * sysdeps/nios2/machine-gmon.h: New file.
33256 * sysdeps/nios2/math-tests.h: New file.
33257 * sysdeps/nios2/math_private.h: New file.
33258 * sysdeps/nios2/memusage.h: New file.
33259 * sysdeps/nios2/nptl/Makefile: New file.
33260 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33261 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33262 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33263 * sysdeps/nios2/nptl/pthreaddef.h: New file.
33264 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33265 * sysdeps/nios2/nptl/tls.h: New file.
33266 * sysdeps/nios2/preconfigure: New file.
33267 * sysdeps/nios2/s_fma.c: New file.
33268 * sysdeps/nios2/s_fmaf.c: New file.
33269 * sysdeps/nios2/setjmp.S: New file.
33270 * sysdeps/nios2/sfp-machine.h: New file.
33271 * sysdeps/nios2/sotruss-lib.c: New file.
33272 * sysdeps/nios2/stackguard-macros.h: New file.
33273 * sysdeps/nios2/stackinfo.h: New file.
33274 * sysdeps/nios2/start.S: New file.
33275 * sysdeps/nios2/sysdep.h: New file.
33276 * sysdeps/nios2/tls-macros.h: New file.
33277 * sysdeps/nios2/tst-audit.h: New file.
33278 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33279 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33280 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33281 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33282 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33283 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33284 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33285 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33286 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33287 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33288 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33289 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33290 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33291 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33292 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33293 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33294 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33295 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33296 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33297 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33298 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33299 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33300 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33301 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33302 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33303 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33304 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33305 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33306 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33307 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33308 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33309 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33310 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33311 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33312 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33313 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33314 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33315 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33316 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33317 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33318 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33319 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33320 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33321 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33322
33323 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
33324
33325 [BZ #17844]
33326 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33327 (getutent): Use weak_alias in non SHARED case
33328 and default_symbol_version in SHARED case.
33329 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33330 (getutent_r, pututline): Likewise.
33331 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33332 (getutid): Likewise.
33333 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33334 (getutid_r): Likewise.
33335 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33336 (getutline): Likewise.
33337 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33338 (getutline_r): Likewise.
33339 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33340 (updwtmp): Likewise.
33341
33342 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
33343
33344 [BZ #17848]
33345 * sysdeps/s390/s390-32/memcmp.S
33346 (memcmp_g5): Rename to __memcmp_g5.
33347 * sysdeps/s390/s390-32/memcpy.S
33348 (memcpy_g5): Rename to __memcpy_g5.
33349 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33350 (memcpy_mvcle) Rename to __memcpy_mvcle.
33351 * sysdeps/s390/s390-32/memset.S
33352 (memset_g5): Rename to __memset_g5.
33353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33354 (IFUNC_RESOLVE): Prefix ifunc-resolve function
33355 and use prefixed functions.
33356 * sysdeps/s390/s390-32/multiarch/memcmp.S
33357 (memcmp_z196): Rename to __memcmp_z196.
33358 (memcmp_z10): Rename to __memcmp_z10.
33359 (memcmp): Set alias to __memcmp_g5.
33360 (bcmp): Set alias to __memcmp_g5.
33361 * sysdeps/s390/s390-32/multiarch/memcpy.S
33362 (memcpy_z196): Rename to __memcpy_z196.
33363 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33364 (memcpy_z10): Rename to __memcpy_z10.
33365 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33366 (memcpy): Set alias to __memcpy_g5.
33367 * sysdeps/s390/s390-32/multiarch/memset.S
33368 (memset_z196): Rename to __memset_z196.
33369 Jump to __memset_mvcle instead of memset_mvcle.
33370 (memset_z10): Rename to __memset_z10.
33371 Jump to __memset_mvcle instead of memset_mvcle.
33372 (memset_mvcle) Rename to __memset_mvcle.
33373 (memset): Set alias to __memset_g5.
33374 * sysdeps/s390/s390-64/memcmp.S
33375 (memcmp_z900): Rename to __memcmp_z900.
33376 * sysdeps/s390/s390-64/memcpy.S
33377 (memcpy_z900): Rename to __memcpy_z900.
33378 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33379 (memcpy_mvcle) Rename to __memcpy_mvcle.
33380 * sysdeps/s390/s390-64/memset.S
33381 (memset_z900): Rename to __memset_z900.
33382 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33383 (IFUNC_RESOLVE): Prefix ifunc-resolve function
33384 and use prefixed functions.
33385 * sysdeps/s390/s390-64/multiarch/memcmp.S
33386 (memcmp_z196): Rename to __memcmp_z196.
33387 (memcmp_z10): Rename to __memcmp_z10.
33388 (memcmp): Set alias to __memcmp_z900.
33389 (bcmp): Set alias to __memcmp_z900.
33390 * sysdeps/s390/s390-64/multiarch/memcpy.S
33391 (memcpy_z196): Rename to __memcpy_z196.
33392 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33393 (memcpy_z10): Rename to __memcpy_z10.
33394 Jump to __memcpy_mvcle instead of memcpy_mvcle.
33395 (memcpy): Set alias to __memcpy_z900.
33396 * sysdeps/s390/s390-64/multiarch/memset.S
33397 (memset_z196): Rename to __memset_z196.
33398 Jump to __memset_mvcle instead of memset_mvcle.
33399 (memset_z10): Rename to __memset_z10.
33400 Jump to __memset_mvcle instead of memset_mvcle.
33401 (memset_mvcle) Rename to __memset_mvcle.
33402 (memset): Set alias to __memset_z900.
33403
33404 2015-01-14 Joseph Myers <joseph@codesourcery.com>
33405
33406 [BZ #17748]
33407 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33408 __fesetenv instead of fesetenv.
33409
33410 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33411
33412 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33413 macro.
33414
33415 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33416
33417 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33418 regression on LE.
33419
33420 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33421 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33422 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33423 strncmp-power8 object.
33424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33425 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33426 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33427 * NEWS: Update.
33428
33429 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33430 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33431
33432 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33433 trailing byte check.
33434
33435 2015-01-13 David S. Miller <davem@davemloft.net>
33436
33437 * include/signal.h (__sigreturn): Guard with __USE_MISC.
33438
33439 2015-01-13 Roland McGrath <roland@hack.frob.com>
33440
33441 * login/logout.c (logout): Use memset rather than bzero.
33442 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33443 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33444 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33445 (_gethtbyaddr): Likewise.
33446 * locale/programs/simple-hash.c (bcopy): Macro removed.
33447
33448 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33449
33450 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33451 Add strcmp-power8 object.
33452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33453 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33454 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33455 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33456 __strcmp_power8 implementation.
33457 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33458 * NEWS: Update.
33459
33460 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33461 Add strncpy-power8 and stpncpy-power8 objects.
33462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33463 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33464 implementations.
33465 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33466 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33467 __stpncpy_power8 implementation.
33468 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33469 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33470 __strncpy_power8 implementation.
33471 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33472 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33473 * NEWS: Update.
33474
33475 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33476 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33477 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33478
33479 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33480 strncat-power8 object.
33481 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33482 __strcat_power8 implementation.
33483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33484 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33485 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33486 optimized strcat for power8.
33487
33488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33489 strcpy-power8 and stpcpy-power8 objects.
33490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33491 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33492 implementations.
33493 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33494 multiarch stpcpy implementation for POWER8.
33495 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33496 multiarch strcpy implementation for POWER8.
33497 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33498 __strcpy_power8 function.
33499 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33500 stpcpy for POWER8.
33501 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33502 strcpy for POWER8.
33503 * NEWS: Update.
33504
33505 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
33506
33507 [BZ #16009]
33508 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33509 weights and rules. Use do_xfrm_cached if data fits in cache,
33510 do_xfrm otherwise. Moved former main loop to...
33511 * (do_xfrm_cached): New function.
33512 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33513 find_idx, find_position and stack_push.
33514 * (find_idx): New function.
33515 * (find_position): Likewise.
33516 * localedata/sort-test.sh: Added test run for do_xfrm.
33517 * localedata/xfrm-test.c (main): Added command line option
33518 -nocache to run the test with strings that are too large for
33519 the STRXFRM cache.
33520
33521 2015-01-13 Torvald Riegel <triegel@redhat.com>
33522
33523 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33524 variable to lll_futex_wake call, not the value itself.
33525
33526 2015-01-12 Joseph Myers <joseph@codesourcery.com>
33527
33528 [BZ #17803]
33529 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33530 twom64. Adjust value to 0x1p-64L.
33531 (__scalblnl): Only return standard underflowing result for K <=
33532 -64 not K <= -63; adjust exponent for underflowing result by 64
33533 not 63.
33534 * math/libm-test.inc (scalbn_test_data): Add more tests.
33535 (scalbln_test_data): Likewise.
33536
33537 [BZ #17834]
33538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33539 0x1p63L.
33540 (__scalblnl): Get new exponent of adjusted subnormal value from ES
33541 not HX.
33542 * math/libm-test.inc (scalbn_test_data): Add more tests.
33543 (scalbln_test_data): Likewise.
33544
33545 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33546 Stefani Seibold <stefani@seibold.net>
33547
33548 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33549 (sysdep_routines): Add dl-vdso here, ...
33550 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33551 (sysdep_routines): ... not here.
33552 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33553 fallback when vDSO is not presented.
33554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33555 Define with libc_hidden_proto/libc_hidden_data_def definitions.
33556 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33557 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33558 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33559 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33560 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33561 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33562 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33564 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
33565 fallback configurable symbol when vDSO is not available.
33566 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33567 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
33568 be able to redefine fallback symbol when vDSO is not available.
33569 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33570 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33571
33572 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33573
33574 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33575 (TLS_INIT_TP): Add tm_capable initialization.
33576 (TLS_DEFINE_INIT_TP): Likewise.
33577 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33578 TCB.
33579 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33580 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33581 calculation.
33582 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33583 transactoion is lock elision is built and TCB tm_capable is set.
33584 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33586 (INTERNAL_SYSCALL_NCS): Likewise.
33587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33588 (INTERNAL_SYSCALL_NCS): Likewise.
33589 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33590
33591 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33592 for powerpc.
33593 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33594 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33595 and remove it for 32 bits case.
33596 [pthread_rwlock_t] (__rwelision): New field for lock elision.
33597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33598 initialization.
33599 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33600 Disable lock elision with rdlocks if elision is not available.
33601
33602 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33603 (sysdep_routines): Add lock elision objects.
33604 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33605 [pthread_mutex_t] (__spins): Rework to add lock elision field.
33606 [pthread_mutex_t] (__elision): Add field.
33607 [__PTHREAD_SPINS]: Adjust to init lock elision field.
33608 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33609 elision definitions for powerpc.
33610 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33611 implementation of lock elision for powerpc.
33612 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33613 implementation of timed lock elision for powerpc.
33614 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33615 implementation of trylock with lock elision for powerpc.
33616 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33617 implementaion of unlock for lock elision for powerpc.
33618 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33619 automatic enable lock elision for mutexes.
33620 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33621 transaction execution definitions for powerpc.
33622 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33623 definitions.
33624 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33625 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33626 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33627 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33628 * NEWS: Update.
33629
33630 2015-01-09 Roland McGrath <roland@hack.frob.com>
33631
33632 * sysdeps/posix/shm-directory.c: Use <> rather than ""
33633 for #include of <shm-directory.h>.
33634
33635 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
33636
33637 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33638 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33639
33640 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
33641
33642 [BZ #17791]
33643 * NEWS: Mention bug fix.
33644 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33645 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33646 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33647
33648 2015-01-09 Torvald Riegel <triegel@redhat.com>
33649
33650 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33651
33652 2015-01-09 Torvald Riegel <triegel@redhat.com>
33653
33654 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33655
33656 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
33657
33658 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33659 pointer and cast to uintptr_t.
33660
33661 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
33662
33663 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33664 removed.
33665 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33666
33667 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
33668
33669 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33670 of 0.
33671
33672 2015-01-08 Roland McGrath <roland@hack.frob.com>
33673
33674 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33675 <nptl/pthreadP.h> instead.
33676 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33677
33678 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33679 already defined.
33680 [__SIGRTMIN] (init): Function removed.
33681 [__SIGRTMIN] (initialized): Variable removed.
33682 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33683 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33684 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33685 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33686 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33687 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33688 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33689 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33690 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33691 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33692 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33693 * sysdeps/nptl/allocrtsig.c: New file.
33694 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33695 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33696 * sysdeps/generic/testrtsig.h: File removed.
33697
33698 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33699 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33700
33701 * nptl/nptl-init.c (pthread_functions): Conditionalize
33702 .ptr__nptl_setxid initialization on [SIGSETXID].
33703
33704 * sysdeps/nptl/sys/procfs.h: New file.
33705 * nptl_db/Makefile (headers): Add it.
33706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33707
33708 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33709 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33710 * nptl/pthread_attr_setaffinity.c: Include it.
33711 * nptl/pthread_setattr_default_np.c: Likewise.
33712 * nptl/check-cpuset.h: New file.
33713
33714 2015-01-08 Richard Henderson <rth@redhat.com>
33715
33716 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33717 (CFLAGS-tst-execstack-prog.c): Likewise.
33718 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33719
33720 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
33721 Sandra Loosemore <sandra@codesourcery.com>
33722 Andrew Jenner <andrew@codesourcery.com>
33723 Joseph Myers <joseph@codesourcery.com>
33724 Nathan Sidwell <nathan@codesourcery.com>
33725
33726 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33727 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33728 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33729 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33730 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33731 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33732 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33733 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33734 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33735 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33736 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33737 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33738 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33739 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33740 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33741 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33742 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33743
33744 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33745
33746 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33747 timespec struct member in syscall macro.
33748 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33749 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33750 first timeval struct member in syscall macro.
33751 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33752
33753 2015-01-07 Joseph Myers <joseph@codesourcery.com>
33754
33755 [BZ #17748]
33756 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33757 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33758 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33759 __feupdateenv and define as weak alias of __feupdateenv. Use
33760 libm_hidden_weak.
33761 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33762 libm_hidden_def.
33763 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33764 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
33765 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33766 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33767 libm_hidden_def.
33768 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33769 __feupdateenv and define as weak alias of __feupdateenv. Use
33770 libm_hidden_weak.
33771 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33772 libm_hidden_def.
33773 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33774 __feupdateenv and define as weak alias of __feupdateenv. Use
33775 libm_hidden_weak.
33776 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33777 libm_hidden_def.
33778 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33779 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33780 (__feupdateenv): Likewise.
33781 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33782 __feupdateenv and define as weak alias of __feupdateenv. Use
33783 libm_hidden_weak.
33784 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33785 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33786 libm_hidden_def.
33787 * sysdeps/tile/math_private.h (__feupdateenv): New inline
33788 function.
33789 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33790 libm_hidden_def.
33791 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33792 __feupdateenv instead of feupdateenv.
33793 (default_libc_feupdateenv_test): Likewise.
33794 (libc_feresetround_ctx): Likewise.
33795
33796 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33797
33798 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33799 prototype.
33800
33801 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
33802
33803 * posix/regcomp.c (parse_bracket_exp): Initialize type to
33804 COLL_SYM in a couple of places to avoid uninitialized variable
33805 wanings on tilegx gcc 4.8.2.
33806
33807 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
33808
33809 * sysdeps/aarch64/strcpy.S: New file.
33810 * sysdeps/aarch64/stpcpy.S: New file.
33811 * NEWS: Updated.
33812
33813 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
33814
33815 * sysdeps/aarch64/strrchr.S: New file.
33816 * NEWS: Updated.
33817
33818 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
33819
33820 [BZ #17658]
33821 * stdlib/setenv.c: Fix memory leak when setting large,
33822 duplicate string.
33823
33824 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
33825
33826 [BZ #17273]
33827 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33828 and tabs from buffer before parsing fstab entry.
33829 * misc/tst-mntent.c (main): Add test for mount entry with
33830 trailing spaces and tabs.
33831
33832 2015-01-06 Joseph Myers <joseph@codesourcery.com>
33833
33834 [BZ #17748]
33835 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
33836 * math/fesetround.c (fesetround): Rename to __fesetround and
33837 define as weak alias of __fesetround. Use libm_hidden_weak.
33838 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33839 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33840 * sysdeps/arm/fesetround.c (fesetround): Likewise.
33841 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33842 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33843 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33844 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33845 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33846 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33847 __fesetround_inline.
33848 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33849 __fesetround_inline instead of __fesetround.
33850 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33851 __fesetround and define as weak alias of __fesetround. Use
33852 libm_hidden_weak. Call __fesetround_inline instead of
33853 __fesetround.
33854 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33855 __fesetround and define as weak alias of __fesetround. Use
33856 libm_hidden_weak.
33857 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33858 Likewise.
33859 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33860 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33861 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33862 * sysdeps/tile/math_private.h (__fesetround): New inline function.
33863 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33864 __fesetround and define as weak alias of __fesetround. Use
33865 libm_hidden_weak.
33866 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33867 __fesetround instead of fesetround.
33868 (default_libc_feholdexcept_setround): Likewise.
33869 (libc_feholdsetround_ctx): Likewise.
33870 (libc_feholdsetround_noex_ctx): Likewise.
33871
33872 [BZ #17748]
33873 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33874 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33875 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33876 and define as weak alias of __fesetenv. Use libm_hidden_weak.
33877 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33878 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33879 define as weak alias of __fesetenv. Use libm_hidden_weak.
33880 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33881 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33882 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33883 define as weak alias of __fesetenv. Use libm_hidden_weak.
33884 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33885 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33886 define as weak alias of __fesetenv. Use libm_hidden_weak.
33887 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33888 libm_hidden_def.
33889 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33890 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33891 Likewise.
33892 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33893 define as weak alias of __fesetenv. Use libm_hidden_weak.
33894 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33895 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33896 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33897 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33898 and define as weak alias of __fesetenv. Use libm_hidden_weak.
33899 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33900 __fesetenv instead of fesetenv.
33901 (libc_feresetround_noex_ctx): Likewise.
33902 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33903 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33904 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33905 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33906 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33907 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33908 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33909 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33910 (__feupdateenv): Likewise.
33911 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33912 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33913 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33914 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33915
33916 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
33917
33918 [BZ #17806]
33919 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33920 addresses have been freed.
33921
33922 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
33923
33924 * resolv/res_init.c (__res_vinit): Improve comments about nserv
33925 and nservall.
33926
33927 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
33928
33929 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33930 Clean up check_pf allocation pattern. addresses
33931
33932 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33933
33934 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33935 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33936 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33937 * nptl/pthread_exit.c (__pthread_exit): Likewise.
33938 * nptl/pthread_join.c (pthread_join): Likewise.
33939 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33940 * sysdeps/posix/waitid.c (__waitid): Likewise.
33941 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33942 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33943 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33944 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33945 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33946 Likewise.
33947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33948 (__libc_pread64): Likewise.
33949 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33950 (__libc_pwrite): Likewise.
33951 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33952 (__libc_pwrite64): Likewsie.
33953 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33954 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33955 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33956 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33957 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33958 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33959 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33961 Likewise.
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33963 (__libc_pread64): Likewise.
33964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33965 Likewise.
33966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33967 (__libc_pwrite64): Likewise.
33968 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33969 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33970 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33971 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33972 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33973 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33974 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33975 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33976 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33977 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33978 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33979 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33980 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33981 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33982 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33983 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33984 Likewise.
33985
33986 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33987
33988 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33989 (CFLAGS-test-double.c): Likewise.
33990 (CFLAGS-test-ldouble.c): Likewise.
33991 (CPPFLAGS-test-ifloat.c): Likewise.
33992 (CPPFLAGS-test-idouble.c): Likewise.
33993 (CPPFLAGS-test-ildoubl.c): Likewise.
33994 (CFLAGS-test-test-fenv.c): Remove variable.
33995 (CFLAGS-test-misc.c): Likewise.
33996
33997 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
33998
33999 [BZ #17797]
34000 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34001 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34002 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34003 CLOCKS_PER_SEC == 1000000.
34004 * time/clocktest.c (main): Replace %ld with %jd and cast to
34005 intmax_t.
34006
34007 2015-01-05 Roland McGrath <roland@hack.frob.com>
34008
34009 * sysdeps/generic/unwind-resume.h: New file.
34010 * sysdeps/gnu/unwind-resume.c: Include it.
34011 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34012 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34013 argument list.
34014 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34015 global rather than static.
34016 (_Unwind_Resume): Update user.
34017 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34018 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
34019 rather than static. Add __attribute__ ((cold)).
34020 (_Unwind_Resume, __gcc_personality_v0): Update callers.
34021 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34022 * sysdeps/arm/arm-unwind-resume.S: New file.
34023 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34024 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34025 * sysdeps/arm/Makefile [$(subdir) = csu]
34026 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34027 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34028 Add rt-arm-unwind-resume.
34029 [$(subdir) = nptl]
34030 (libpthread-sysdep_routines, libpthread-shared-only-routines):
34031 Add pt-arm-unwind-resume.
34032 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34033 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34034
34035 2015-01-05 Joseph Myers <joseph@codesourcery.com>
34036
34037 [BZ #17748]
34038 * include/fenv.h (__feholdexcept): Declare. Use
34039 libm_hidden_proto.
34040 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34041 define as weak alias of __feholdexcept. Use libm_hidden_weak.
34042 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34043 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34044 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34045 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34046 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34047 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34048 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34049 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34050 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34051 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34052 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34053 (feholdexcept): Likewise.
34054 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34055 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34056 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34057 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34058 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34059 __feholdexcept instead of feholdexcept.
34060 (default_libc_feholdexcept_setround): Likewise.
34061
34062 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
34063
34064 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34065 to avoid using stl/str to align destination.
34066
34067 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
34068
34069 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34070
34071 2015-01-05 Joseph Myers <joseph@codesourcery.com>
34072
34073 [BZ #17796]
34074 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34075 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34076 Define as weak alias not strong alias.
34077
34078 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
34079
34080 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34081 bltzal with addiupc.
34082 (RTLD_START): Ditto.
34083
34084 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
34085
34086 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34087 for __vdso_* functions in declarations.
34088 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34089 definitions.
34090 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34091 INTERNAL_VSYSCALL): Use struct return types to check for error.
34092
34093 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34094 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34095 function with cast from llround().
34096 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34097 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34098 Define.
34099
34100 2015-01-05 Joseph Myers <joseph@codesourcery.com>
34101
34102 [BZ #17793]
34103 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34104 Define as weak alias not strong alias.
34105
34106 [BZ #17635]
34107 * ctype/ctype-c99.c: New file. isblank implementation moved from
34108 ...
34109 * ctype/ctype-extn.c: ... here.
34110 (__isblank_l): Move to ...
34111 * ctype/ctype-c99_l.c: ... here. New file.
34112 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34113 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34114 Remove variable.
34115 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34116 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34117 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34118 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34119 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34120
34121 [BZ #17777]
34122 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34123 (posix_fadvise64): Define as weak alias not strong alias.
34124 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34125 (posix_fallocate64): Likewise.
34126 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34127 Remove variable.
34128 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34129 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34130 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34131 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34132 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34133
34134 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
34135
34136 [BZ #16191]
34137 * NEWS: Mention bug fix.
34138 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34139 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34140 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34141 (HOST_STACK_END_ADDR): Likewise.
34142
34143 2015-01-02 Joseph Myers <joseph@codesourcery.com>
34144
34145 [BZ #17748]
34146 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
34147 * math/fegetround.c (fegetround): Rename to __fegetround and
34148 define as weak alias of __fegetround. Use libm_hidden_weak.
34149 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34150 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34151 * sysdeps/arm/fegetround.c (fegetround): Likewise.
34152 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34153 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34154 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34155 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34156 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34157 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34158 Undefine after rather than before function definition; use
34159 parentheses around function name in definition.
34160 (__fegetround): Also undefine macro after function definition.
34161 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34162 __fegetround and define as weak alias of __fegetround. Use
34163 libm_hidden_weak. Do not undefine as macro.
34164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34165 Likewise.
34166 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34167 __fegetround and define as weak alias of __fegetround. Use
34168 libm_hidden_weak.
34169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34170 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34171 * sysdeps/tile/math_private.h (__fegetround): New inline function.
34172 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34173 __fegetround and define as weak alias of __fegetround. Use
34174 libm_hidden_weak.
34175 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34176 __fegetround instead of fegetround.
34177
34178 [BZ #17782]
34179 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34180 Condition macro definition on [__USE_MISC].
34181
34182 [BZ #17781]
34183 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34184 (struct sigaction): Change type of sa_flags field to int.
34185
34186 [BZ #17780]
34187 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34188 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34189 __glibc_reserved0.
34190
34191 * nptl/version.c (banner): Use single year in copyright notice.
34192
34193 * NEWS: Update copyright dates.
34194 * catgets/gencat.c (print_version): Likewise.
34195 * csu/version.c (banner): Likewise.
34196 * debug/catchsegv.sh: Likewise.
34197 * debug/pcprofiledump.c (print_version): Likewise.
34198 * debug/xtrace.sh (do_version): Likewise.
34199 * elf/ldconfig.c (print_version): Likewise.
34200 * elf/ldd.bash.in: Likewise.
34201 * elf/pldd.c (print_version): Likewise.
34202 * elf/sotruss.sh: Likewise.
34203 * elf/sprof.c (print_version): Likewise.
34204 * iconv/iconv_prog.c (print_version): Likewise.
34205 * iconv/iconvconfig.c (print_version): Likewise.
34206 * locale/programs/locale.c (print_version): Likewise.
34207 * locale/programs/localedef.c (print_version): Likewise.
34208 * login/programs/pt_chown.c (print_version): Likewise.
34209 * malloc/memusage.sh (do_version): Likewise.
34210 * malloc/memusagestat.c (print_version): Likewise.
34211 * malloc/mtrace.pl: Likewise.
34212 * manual/libc.texinfo: Likewise.
34213 * nptl/version.c (banner): Likewise.
34214 * nscd/nscd.c (print_version): Likewise.
34215 * nss/getent.c (print_version): Likewise.
34216 * nss/makedb.c (print_version): Likewise.
34217 * posix/getconf.c (main): Likewise.
34218 * scripts/test-installation.pl: Likewise.
34219 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34220
34221 2015-01-02 Will Newton <will.newton@linaro.org>
34222
34223 * sysdeps/arm/armv7/configure: Removed.
34224 * sysdeps/arm/armv7/configure.ac: Likewise.
34225
34226 2015-01-02 Joseph Myers <joseph@codesourcery.com>
34227
34228 * All files with FSF copyright notices: Update copyright dates
34229 using scripts/update-copyrights.
34230 * intl/plural.c: Regenerated.
34231 * locale/programs/charmap-kw.h: Likewise.
34232 * locale/programs/locfile-kw.h: Likewise.
34233
34234 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34235
34236 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34237
34238 2014-12-31 Joseph Myers <joseph@codesourcery.com>
34239
34240 [BZ #17748]
34241 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34242 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34243 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34244 and define as weak alias of __fegetenv. Use libm_hidden_weak.
34245 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34246 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34247 define as weak alias of __fegetenv. Use libm_hidden_weak.
34248 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34249 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34250 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34251 define as weak alias of __fegetenv. Use libm_hidden_weak.
34252 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34253 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34254 define as weak alias of __fegetenv. Use libm_hidden_weak.
34255 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34256 libm_hidden_def.
34257 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34258 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34259 Likewise.
34260 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34261 define as weak alias of __fegetenv. Use libm_hidden_weak.
34262 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34263 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34264 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34265 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34266 and define as weak alias of __fegetenv. Use libm_hidden_weak.
34267 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34268 __fegetenv instead of fegetenv.
34269 (libc_feholdsetround_noex_ctx): Likewise.
34270
34271 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
34272
34273 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34274 (Elf_MIPS_ABIFlags_v0): New structure.
34275 (EF_MIPS_FP64): Define.
34276 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34277 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34278 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34279 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34280 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34281 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34282 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34283 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34284 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34285 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34286 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34287 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34288 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34289 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34290 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34291 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34292 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34293 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34294 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34295 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34296 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34297 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34298 field.
34299 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34300 EF_MIPS_FP64.
34301 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34302 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34303 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34304 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34305 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34306 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34307 * sysdeps/mips/tst-abi-interlink.c: Likewise.
34308 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34309 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34310 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34311 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34312 record the current FP ABI extension.
34313 (mips-mode-switch): Define to show if kernel headers support mode
34314 switching.
34315 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34316 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34317 supported SYSV ABI version to 3.
34318 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34319 feature.
34320
34321 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34323
34324 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34325 path.
34326 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34327
34328 2014-12-31 Joseph Myers <joseph@codesourcery.com>
34329
34330 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34331 __fegetround and redefine to call __fegetround. Remove condition
34332 on [!__NO_MATH_INLINES].
34333 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34334 function.
34335 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34336 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34337 Remove macro.
34338 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34339 instead of <fenv_libc.h>.
34340 (__llrintl): Call fegetround instead of __fegetround.
34341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34342 instead of <fenv_libc.h>.
34343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34344 (__lrintl): Call fegetround instead of __fegetround.
34345 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34346 instead of <fenv_libc.h>.
34347 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34348 (__rintl): Call fegetround instead of __fegetround.
34349
34350 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34351
34352 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34353 arrays.
34354
34355 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
34356
34357 [BZ #17775]
34358 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34359 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34360 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34361
34362 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
34363
34364 * sysdeps/i386/tls-macros.h: Include <features.h>.
34365 (TLS_LE): Use non-PIC version for GCC >= 5.0.
34366 (TLS_IE): Likewise.
34367 (TLS_LD): Likewise.
34368 (TLS_GD): Likewise.
34369 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34370 define for GCC >= 5.0.
34371
34372 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
34373
34374 * math/test-fenv.c (test_single_exception, set_single_exc,
34375 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34376 feexcp_mask_test, feenable_test, fe_single_test): Add
34377 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34378 case where they are not used.
34379 * math/libm-test.inc: Likewise.
34380 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34381 unused in the absence of FP rounding/exception support.
34382 * stdio-common/tst-printf-round.c: Likewise.
34383 * stdlib/tst-strtod-round.c: Likewise.
34384 * stdlib/tst-strtod-underflow.c: Likewise.
34385
34386 2014-12-30 Joseph Myers <joseph@codesourcery.com>
34387
34388 [BZ #17723]
34389 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34390 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34391 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34392 __feraiseexcept and define as weak alias of __feraiseexcept. Use
34393 libm_hidden_weak.
34394 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34395 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34396 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34397 libm_hidden_def.
34398 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34399 __feraiseexcept and define as weak alias of __feraiseexcept. Use
34400 libm_hidden_weak.
34401 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34402 Likewise.
34403 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34404 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34405 __feraiseexcept and define as weak alias of __feraiseexcept. Use
34406 libm_hidden_weak.
34407 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34408 libm_hidden_def.
34409 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34410 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34411 (__feraiseexcept): Likewise.
34412 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34413 __feraiseexcept and define as weak alias of __feraiseexcept. Use
34414 libm_hidden_weak.
34415 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34416 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34417 libm_hidden_def.
34418 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34419 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34420 Use libm_hidden_def.
34421 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34422 libm_hidden_def.
34423 (feraiseexcept): Define as weak not strong alias. Use
34424 libm_hidden_weak.
34425 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34426 New inline function. Factored out of ...
34427 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
34428 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34429 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34430 feraiseexcept.
34431 * math/w_acos.c (__acos): Likewise.
34432 * math/w_asin.c (__asin): Likewise.
34433 * math/w_ilogb.c (__ilogb): Likewise.
34434 * math/w_j0.c (y0): Likewise.
34435 * math/w_j1.c (y1): Likewise.
34436 * math/w_jn.c (yn): Likewise.
34437 * math/w_log.c (__log): Likewise.
34438 * math/w_log10.c (__log10): Likewise.
34439 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34440 * sysdeps/aarch64/fpu/math_private.h
34441 (libc_feupdateenv_test_aarch64): Likewise.
34442 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34443 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34444 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34445 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34446 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34447 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34448 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34449 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34450 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34451 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34452
34453 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
34454
34455 [BZ #17732]
34456 * io/test-utime.c (main): Replace %ld with %jd and cast to
34457 intmax_t.
34458 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34459 * nptl/tst-mutex5.c: Include <stdint.h>.
34460 (do_test): Replace %ld with %jd and cast to intmax_t.
34461 * posix/tst-regex.c (run_test): Likewise.
34462 (run_test_backwards): Likewise.
34463 * rt/tst-clock.c: Include <stdint.h>.
34464 (clock_test): Replace %ld with %jd and cast to intmax_t.
34465 * rt/tst-cpuclock1.c: Include <stdint.h>.
34466 (do_test): Replace %lu with %ju and cast to uintmax_t.
34467 * rt/tst-cpuclock2.c: Include <stdint.h>.
34468 (do_test): Replace %lu with %ju and cast to uintmax_t.
34469 * rt/tst-mqueue1.c: Include <stdint.h>.
34470 (check_attrs): Replace %ld with %jd and cast to intmax_t.
34471 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34472 intmax_t.
34473 * rt/tst-mqueue4.c (do_test): Likewise.
34474 * rt/tst-timer4.c: Include <stdint.h>.
34475 (check_ts): Replace %ld with %jd and cast to intmax_t.
34476 (do_test): Likewise.
34477 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34478 and cast to intmax_t.
34479 * sysdeps/pthread/tst-timer.c (main): Likewise.
34480 * time/clocktest.c (main): Likewise.
34481 * time/tst-posixtz.c (do_test): Likewise.
34482 * timezone/tst-timezone.c (main): Likewise.
34483
34484 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
34485 H.J. Lu <hongjiu.lu@intel.com>
34486
34487 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34488 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34489 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34490 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34491 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34492 version if bit_Fast_Unaligned_Load is set.
34493 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34494 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34495 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34496 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34497 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34498 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34500 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34501 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34502 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34503 to 4.
34504 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34505 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34506 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34507 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34508
34509 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
34510
34511 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34512 instead of #if to avoid a Wundef warning.
34513 * stdlib/tst-limits.c (do_test): Likewise.
34514
34515 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34516 parallel other exception macros.
34517 (fegetenv): Convert from macro to extern inline so that it applies
34518 retroactively to inline functions already seen by the compiler.
34519 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34520
34521 * posix/Makefile (before-compile): Use $(objpfx) for
34522 posix-conf-vars-def.h.
34523
34524 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34525
34526 * posix/getconf.c (main): Use size_t for type of I.
34527 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34528 NSPEC.
34529
34530 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34531 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34532 * posix/posix-envs.def: Likewise.
34533 * sysdeps/posix/sysconf.c: Likewise.
34534 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34535 (specs): Remove array.
34536 * scripts/gen-posix-conf-vars.awk: Support generation of specs
34537 array.
34538
34539 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34540 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34541 (__sysconf): Use CONF_IS_* macros.
34542
34543 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34544 ($(objpfx)posix-conf-vars-def.h): New target.
34545 * posix/posix-conf-vars.list: New file.
34546 * posix/posix-conf-vars.h: New file.
34547 * posix/confstr.c: Include posix-conf-vars.h.
34548 (confstr): Use CONF_IS_* macros.
34549 * posix/posix-envs.def: Include posix-conf-vars.h. Use
34550 CONF_IS_* macros.
34551 * scripts/gen-posix-conf-vars.awk: New file.
34552
34553 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
34554
34555 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34556 fegetround): Add no-op macros to avoid linknamespace issues.
34557
34558 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34559 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34560
34561 * sysdeps/unix/sysv/linux/tile/sysdep.h
34562 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34563 assembly-specific section to avoid a redefinition warning.
34564
34565 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34566 long before casting to pointer to avoid a cast warning.
34567
34568 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
34569
34570 * sysdeps/tile/tilegx/Implies: New file.
34571
34572 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
34573
34574 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34575
34576 2014-12-23 Florian Weimer <fweimer@redhat.com>
34577
34578 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34579
34580 2014-12-22 Joseph Myers <joseph@codesourcery.com>
34581
34582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34583 not define.
34584 * sysdeps/unix/sysv/linux/utimes.c: Do not include
34585 <kernel-features.h>.
34586 (__utimes) [__NR_utimes]: Make code unconditional.
34587 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34588 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34589 (__ASSUME_UTIMES): Do not undefine.
34590 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34591 (__ASSUME_UTIMES): Likewise.
34592 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34593 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34594 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34595 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34596
34597 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
34598
34599 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34600
34601 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
34602
34603 [BZ #17747]
34604 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34605 alias to weak alias for j0l, y0l.
34606 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34607 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34608
34609 [BZ #17746]
34610 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34611 conversion.
34612
34613 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
34614
34615 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34616 to zero if not already defined.
34617
34618 2014-12-22 Joseph Myers <joseph@codesourcery.com>
34619
34620 [BZ #17724]
34621 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34622 (__kernel_standard_f): Remove. Moved to k_standardf.c.
34623 (__kernel_standard_l): Remove. Moved to k_standardl.c with
34624 (char *) casts added.
34625 * sysdeps/ieee754/k_standardf.c: New file.
34626 * sysdeps/ieee754/k_standardl.c: Likewise.
34627 * math/Makefile (libm-support): Remove k_standard.
34628 (libm-calls): Add k_standard.
34629
34630 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
34631
34632 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34633 Optimize to avoid an unnecessary FPCR read.
34634
34635 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
34636
34637 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34638 Optimize to reduce FPCR/FPSR accesses.
34639
34640 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
34641
34642 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34643 Call libc_fetestexcept_aarch64.
34644
34645 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
34646
34647 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34648 Call libc_fesetround_aarch64.
34649
34650 2014-12-22 Joseph Myers <joseph@codesourcery.com>
34651
34652 [BZ #17733]
34653 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34654 (__bind): Do not define as weak alias.
34655 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34656 define.
34657 (__getsockname): Do not define as weak alias.
34658
34659 2014-12-22 Will Newton <will.newton@linaro.org>
34660
34661 * manual/install.texi: Document that we require bison 2.7
34662 or above.
34663 * INSTALL: Regenerate.
34664 * configure.ac: Use AC_CHECK_PROG_VER instead of
34665 AC_PATH_PROG when checking for bison and check for
34666 version 2.7 or above.
34667 * configure: Regenerate.
34668
34669 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
34670
34671 [BZ #17745]
34672 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34673 * sysdeps/tile/ffsll.c (ffsll): To here.
34674
34675 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34676
34677 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34680 if not defined.
34681 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34682 definition.
34683 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34684 hidden ___tls_get_addr.
34685 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34686 hidden __tls_get_addr.
34687 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34688 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34689 Likewise.
34690
34691 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
34692
34693 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34694 _dl_init call.
34695
34696 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
34697
34698 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34699 from "call _dl_init@PLT".
34700 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34701
34702 2014-12-21 Anders Kaseorg <andersk@mit.edu>
34703
34704 * manual/search.texi: (Array Sort Function): Clarify stable sorting
34705 guarantees.
34706
34707 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
34708
34709 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34710
34711 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
34712
34713 [BZ #17744]
34714 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34715 strnlen.
34716
34717 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
34718
34719 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34720 of multu on MIPSr6.
34721 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34722 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34723 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34724 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34725 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34726
34727 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
34728
34729 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34730 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34731 (PTR_SUBU): Use subu for mips32r6/mips64r6.
34732 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34733 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34734 mips32r6/mips64r6.
34735 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34736
34737 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
34738
34739 * string/strncat.c (STRNCAT): Simplify implementation.
34740
34741 2014-12-19 David S. Miller <davem@davemloft.net>
34742
34743 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34744 access the quad as both a long double and as a series of 4 words.
34745
34746 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34747 link_map->l_info array access.
34748
34749 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
34750
34751 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34752
34753 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34754 * math/atest-exp2.c (TIMEOUT): Likewise.
34755 * math/atest-sincos.c (TIMEOUT): Likewise.
34756
34757 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
34758
34759 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34760 -Wno-error with -fno-builtin-lround.
34761
34762 2014-12-19 Torvald Riegel <triegel@redhat.com>
34763
34764 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34765 Contains futex constants and functions moved over from ...
34766 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
34767 <lowlevellock-futex.h>.
34768 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34769 (lll_timedwait_tid): Add comments and parentheses around macro
34770 arguments.
34771
34772 2014-12-19 Torvald Riegel <triegel@redhat.com>
34773
34774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34775 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
34776 (__lll_private_flag): Remove.
34777 (lll_futex_wait): Likewise.
34778 (lll_futex_timed_wait): Likewise.
34779 (lll_futex_wake): Likewise.
34780 (lll_futex_requeue): Likewise.
34781 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34782 (__lll_timedwait_tid): Spell out argument names.
34783 (lll_timedwait_tid): Add comments and parentheses around macro
34784 arguments.
34785 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34786 LLL_SHARED and LLL_PRIVATE usable from assembly code.
34787
34788 2014-12-19 Torvald Riegel <triegel@redhat.com>
34789
34790 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34791 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34792 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34793 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34794 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34795 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34796 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34797 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34798 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34800 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34801 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34804 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34805 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34806 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34807 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34808 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34809
34810 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
34811
34812 * sysdeps/x86_64/x32/Makefile: New file.
34813
34814 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
34815
34816 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34817 1L with (mp_limb_t) 1.
34818
34819 2014-12-17 Roland McGrath <roland@hack.frob.com>
34820
34821 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34822 * nptl/libc_pthread_init.c: ... here.
34823 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34824 * nptl/register-atfork.c: ... here.
34825
34826 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34827 Use pthread_sigmask rather than INTERNAL_SYSCALL.
34828 Use assert_perror to check its return value.
34829 (__gai_create_helper_thread): Likewise.
34830
34831 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34832
34833 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34834
34835 2014-12-17 Joseph Myers <joseph@codesourcery.com>
34836
34837 [BZ #17725]
34838 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34839 __profil_counter.
34840 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34841 Likewise.
34842 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34843 Likewise.
34844 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34845 Likewise.
34846 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34847 (profil_counter): Likewise.
34848 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34849 (profil_counter): Likewise.
34850 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34851 Likewise.
34852 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34853 Likewise.
34854 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34855 (profil_counter): Likewise.
34856 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34857 Likewise.
34858 [!__profil_counter] (profil_counter): Define as weak alias of
34859 __profil_counter.
34860 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34861 (profil_counter): Rename to __profil_counter.
34862 [!__profil_counter] (profil_counter): Define as weak alias of
34863 __profil_counter.
34864 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34865 (profil_counter): Rename to __profil_counter.
34866 [!__profil_counter] (profil_counter): Define as weak alias of
34867 __profil_counter.
34868 * sysdeps/posix/profil.c: Update comment referring to
34869 profil_counter.
34870 (__profil): Use __profil_counter instead of profil_counter.
34871 * sysdeps/posix/sprofil.c (profil_counter): Rename to
34872 __profil_counter. Use __profil_counter_ushort and
34873 __profil_counter_uint in definitions.
34874 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34875 instead of profil_counter_uint and profil_counter_ushort.
34876
34877 [BZ #17722]
34878 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34879 define as weak alias of __inet_makeaddr.
34880 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34881 as weak alias of __inet_addr.
34882 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34883 as weak alias of __inet_pton. Use libc_hidden_weak.
34884 * include/arpa/inet.h (__inet_pton): Declare. Use
34885 libc_hidden_proto.
34886 (inet_makeaddr): Don't use libc_hidden_proto.
34887 (__inet_makeaddr): Declare. Use libc_hidden_proto.
34888 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34889 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
34890 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34891 Remove variable.
34892 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34893 (test-xfail-POSIX/time.h/linknamespace): Likewise.
34894
34895 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
34896
34897 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34898
34899 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
34900
34901 * stdio-common/bug-vfprintf-nargs.c (do_test):
34902 Cast value to intptr_t to avoid format warning
34903 for usage with PRIdPTR printing macro.
34904
34905 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
34906
34907 * libio/tst-widetext.c (do_test):
34908 Use format type %td instead of %Zd for ptrdiff_t
34909 in order to avoid format warning.
34910
34911 2014-12-17 Andreas Schwab <schwab@suse.de>
34912
34913 * nscd/mem.c (gc): Add size_t cast to match printf format.
34914
34915 2014-12-16 Roland McGrath <roland@hack.frob.com>
34916
34917 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34918 (init): Apply PTR_MANGLE to pointers before storing them.
34919 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34920 before using them.
34921
34922 2014-12-16 Joseph Myers <joseph@codesourcery.com>
34923
34924 [BZ #17719]
34925 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34926 define as weak alias of __memrchr.
34927 (__memrchr): Do not define as strong alias of memrchr.
34928 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34929 Remove variable.
34930 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34931 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34932 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34933
34934 [BZ #17717]
34935 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34936 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
34937 (if_indextoname): Rename to __if_indextoname and define as weak
34938 alias of __if_indextoname. Use libc_hidden_weak.
34939 (if_freenameindex): Rename to __if_freenameindex and define as
34940 weak alias of __if_freenameindex.
34941 (if_nameindex): Rename to __if_nameindex and define as weak alias
34942 of __if_nameindex.
34943 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34944 __if_nametoindex and define as weak alias of __if_nametoindex.
34945 Use libc_hidden_weak.
34946 (if_freenameindex): Rename to __if_freenameindex and define as
34947 weak alias of __if_freenameindex.
34948 (if_nameindex): Rename to __if_nameindex and define as weak alias
34949 of __if_nameindex.
34950 (if_indextoname): Rename to __if_indextoname and define as weak
34951 alias of __if_indextoname. Use libc_hidden_weak.
34952 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34953 __if_nametoindex and define as weak alias of __if_nametoindex.
34954 Use libc_hidden_weak.
34955 (if_freenameindex): Rename to __if_freenameindex and define as
34956 weak alias of __if_freenameindex. Use libc_hidden_weak.
34957 (if_nameindex_netlink): Use __if_freenameindex instead of
34958 if_freenameindex.
34959 (if_nameindex): Rename to __if_nameindex and define as weak alias
34960 of __if_nameindex. Use libc_hidden_weak.
34961 (if_indextoname): Rename to __if_indextoname and define as weak
34962 alias of __if_indextoname. Use libc_hidden_weak.
34963 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34964 libc_hidden_proto.
34965 [!_ISOMAC] (__if_freenameindex): Likewise.
34966 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34967 if_nametoindex.
34968 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34969 variable.
34970 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34971 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34972 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34973 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34974 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34975 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34976 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34977
34978 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34979 Remove variable.
34980 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34981 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34982
34983 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34984
34985 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34986 subscript above bounds'
34987
34988 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34989 bounds.
34990
34991 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
34992
34993 * libio/tst-fopenloc.c: Use test-skeleton.c.
34994
34995 * stdlib/tst-bsearch.c: Use test-skeleton.c.
34996 (entry): Rename to ITEM.
34997 (do_test, comp): Adjust.
34998
34999 * stdio-common/tst-fseek.c: Use test-skeleton.c.
35000
35001 2014-12-16 Torvald Riegel <triegel@redhat.com>
35002
35003 * string/tester.c: Include <libc-internal.h>.
35004 (test_memset): Ignore -Wmemset-transposed-args.
35005
35006 2014-12-16 Torvald Riegel <triegel@redhat.com>
35007
35008 * misc/tst-mntent2.c (do_test): Fix warning.
35009
35010 2014-12-16 Torvald Riegel <triegel@redhat.com>
35011
35012 * elf/tst-unique4lib.cc(a): Mark as used.
35013
35014 2014-12-16 Florian Weimer <fweimer@redhat.com>
35015
35016 [BZ #17630]
35017 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35018 names.
35019
35020 2014-12-16 Allan McRae <allan@archlinux.org>
35021
35022 * stdio-common/Makefile (tests): Re-add bug26.
35023
35024 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
35025
35026 [BZ #17657]
35027 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35028 static array.
35029
35030 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
35031
35032 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35033 (__lll_lock_wait): Likewise.
35034 (__lll_timedlock_wait): Likewise.
35035 (__lll_timedwait_tid): Likewise.
35036 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35037 (__lll_robust_timedlock_wait): Likewise.
35038 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35039 (lll_cond_trylock): Likewise.
35040 (__lll_lock): Likewise.
35041 (__lll_robust_lock): Likewise.
35042 (__lll_cond_lock): Likewise.
35043 (lll_robust_cond_lock): Likewise.
35044 (__lll_timedlock): Likewise.
35045 (__lll_robust_timedlock): Likewise.
35046 (__lll_unlock): Likewise.
35047 (__lll_robust_unlock): Likewise.
35048 (lll_wait_tid): Likewise.
35049 (lll_timedwait_tid): Likewise.
35050
35051 2014-12-15 Torvald Riegel <triegel@redhat.com>
35052
35053 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35054
35055 2014-12-15 Torvald Riegel <triegel@redhat.com>
35056
35057 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35058
35059 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
35060
35061 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35062 * stdio-common/tst-sprintf.c: Likewise.
35063
35064 2014-12-15 Torvald Riegel <triegel@redhat.com>
35065
35066 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35067
35068 2014-12-15 Jeff Law <law@redhat.com>
35069
35070 [BZ #16617]
35071 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35072 on the heap. (CVE-2012-3406)
35073 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35074 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
35075 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35076
35077 2014-12-15 Will Newton <will.newton@linaro.org>
35078
35079 * manual/install.texi: Bump required version of texinfo
35080 to 4.7 from 4.5.
35081 * INSTALL: Regenerated.
35082 * configure.ac: Check for makeinfo version 4.7 and above.
35083 * configure: Regenerated.
35084
35085 2014-12-12 Roland McGrath <roland@hack.frob.com>
35086
35087 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35088 PREFIX, string constant to insert between directory and name.
35089 * sysdeps/posix/shm_open.c: Update caller.
35090 * sysdeps/posix/shm_unlink.c: Likewise.
35091 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35092 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35093 (SEM_SHM_PREFIX): New macro.
35094 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35095 [$(have-thread-library) = no].
35096 * nptl/Makefile (libpthread-routines): Add shm-directory.
35097 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35098 * sysdeps/nptl/shm-directory.h: New file.
35099 * sysdeps/posix/shm-directory.c
35100 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35101 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35102 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35103 INTERNAL_SYSCALL.
35104 (__where_is_shmfs): Function removed.
35105 (mountpoint, defaultmount, defaultdir, __namedsem_once):
35106 Variables removed.
35107 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35108 Use SHM_GET_NAME.
35109 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
35110
35111 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35112 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35113 unconditional for use inside libpthread.
35114 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35115
35116 2014-12-12 Roland McGrath <roland@hack.frob.com>
35117
35118 * nptl/pthread_getaffinity.c: New file.
35119 * nptl/pthread_setaffinity.c: New file.
35120 * nptl/pthread_getname.c: New file.
35121 * nptl/pthread_setname.c: New file.
35122
35123 * nptl/pthread_create.c (START_THREAD_DEFN)
35124 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35125
35126 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
35127 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35128
35129 * resolv/res_send.c (send_vc): Disable warning resplen may
35130 be used uninitialized.
35131
35132 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
35133
35134 * nptl/tst-mutex6.c
35135 (ATTR_NULL): New define checks ATTR against NULL.
35136 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35137 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35138
35139 2014-12-11 James Lemke <jwlemke@codesourcery.com>
35140
35141 [BZ #17581]
35142 * malloc/hooks.c
35143 (mem2mem_check): Revert my previous change.
35144 (malloc_check_get_size): Revert my previous change.
35145 (mem2chunk_check): Revert my previous change.
35146
35147 2014-12-11 Roland McGrath <roland@hack.frob.com>
35148
35149 * sysdeps/posix/shm-directory.c: New file.
35150 * sysdeps/posix/shm-directory.h: New file.
35151 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35152 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35153 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
35154 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35155 Transmute EPERM to EACCES.
35156 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35157 from ...
35158 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
35159 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35160
35161 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35162
35163 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35164 pointer and cast to uintptr_t.
35165 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35166 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35167 Add cast to avoid warning.
35168 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35169
35170 2014-12-11 Joseph Myers <joseph@codesourcery.com>
35171
35172 * nptl/semaphore.h: Move to ...
35173 * sysdeps/pthread/semaphore.h: ... here.
35174 * Makefile (installed-headers): Change nptl/semaphore.h to
35175 sysdeps/pthread/semaphore.h.
35176
35177 2014-12-11 Roland McGrath <roland@hack.frob.com>
35178
35179 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35180 generated error format strings.
35181
35182 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35183 -Wformat-extra-args warnings for scanf formats.
35184 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35185 test of zero-length format (duh).
35186 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35187 corner-case scanf format test.
35188 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35189 generated fprintf format string.
35190 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35191 corner-case sprintf format tests.
35192 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35193 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35194 -Wformat-extra-args warnings throughout.
35195 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35196 (CFLAGS-scanf4.c): Likewise.
35197 (CFLAGS-scanf7.c): Likewise.
35198 (CFLAGS-tst-sprintf.c): Likewise.
35199 (CFLAGS-tst-printf.c): Likewise.
35200 (CFLAGS-tst-printfsz.c): Likewise.
35201
35202 2014-12-11 Joseph Myers <joseph@codesourcery.com>
35203
35204 * include/cpio.h: New file.
35205 * include/fmtmsg.h: Likewise.
35206
35207 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
35208 corresponding format argument to size_t.
35209 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
35210 arguments.
35211 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
35212 corresponding format argument to size_t.
35213 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
35214 arguments.
35215 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
35216 corresponding format argument to size_t.
35217 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35218 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35219 (CFLAGS-tst-mbswcs2.c): Likewise.
35220 (CFLAGS-tst-mbswcs3.c): Likewise.
35221 (CFLAGS-tst-mbswcs4.c): Likewise.
35222 (CFLAGS-tst-mbswcs5.c): Likewise.
35223 (CFLAGS-tst-trans.c): Likewise.
35224
35225 2014-12-11 Roland McGrath <roland@hack.frob.com>
35226
35227 * posix/regexbug1.c (main): Use "%s" format with regerror results,
35228 rather than assuming they won't contain any '%'s.
35229
35230 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
35231
35232 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35233 inhibit_loop_to_libcall to avoid recursive calls.
35234 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35235 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35236
35237 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
35238
35239 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35240 prototype.
35241
35242 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
35243
35244 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35245 integer value instead of boolean.
35246
35247 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
35248
35249 * malloc/malloc.c: Fix powerof2 check.
35250
35251 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35252
35253 * locale/programs/locfile.h (maybe_swap_uint32):
35254 Remove inline and add unused attribute.
35255
35256 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35257
35258 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35259 Truncating assembler expression to a .long expression.
35260
35261 2014-12-11 Andreas Schwab <schwab@suse.de>
35262
35263 * elf/rtld.c (struct map_args): Constify str member.
35264 (do_preload): Constify fname argument.
35265
35266 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35267
35268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35269 constants definition.
35270
35271 2014-12-11 Andreas Schwab <schwab@suse.de>
35272
35273 [BZ #16657]
35274 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35275 FORCE_ELISION instead of DO_ELISION.
35276 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35277 Remove.
35278 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35279 Likewise.
35280
35281 * iconvdata/gconv-modules: Remove duplicate entry.
35282
35283 2014-12-11 Will Newton <will.newton@linaro.org>
35284
35285 Merge gettext 0.19.3 into intl/.
35286
35287 This involves a number of cosmetic changes to comments
35288 and ANSI function definitions and prototypes throughout
35289 all the files. The gettext copyright header is used but
35290 with the date ranges taken from the glibc copy.
35291
35292 * NEWS: Add gettext merge to 2.21.
35293 * intl/bindtextdom.c: Switch to gettext copyright.
35294 Use ANSI definitions and prototypes.
35295 Use gl_* locking primitives rather than __libc_* ones.
35296 Use __builtin_expect rather than __glibc_likely/unlikely.
35297 * intl/dcgettext.c: Switch to gettext copyright.
35298 Use ANSI definitions and prototypes.
35299 * intl/dcigettext.c: Switch to gettext copyright.
35300 Use ANSI definitions and prototypes.
35301 (INTDIV0_RAISES_SIGFPE): New define.
35302 Use gl_* locking primitives rather than __libc_* ones.
35303 Include eval-plural.h instead of plural-eval.c.
35304 Use __builtin_expect rather than __glibc_likely/unlikely.
35305 * intl/dcngettext.c: Switch to gettext copyright.
35306 Use ANSI definitions and prototypes.
35307 * intl/dgettext.c: Likewise.
35308 * intl/dngettext.c: Likewise.
35309 * intl/plural-eval.c: Renamed to...
35310 * intl/eval-plural.h: ...this.
35311 * intl/explodename.c: Switch to gettext copyright.
35312 Use ANSI definitions and prototypes.
35313 (_nl_explode_name): Use strchr instead of __rawmemchr.
35314 * intl/finddomain.c: Switch to gettext copyright.
35315 Use ANSI definitions and prototypes.
35316 Use gl_* locking primitives rather than __libc_* ones.
35317 (_nl_find_domain): Use malloc rather than alloca for
35318 allocation of temporary locale name.
35319 * intl/gettext.c: Switch to gettext copyright.
35320 Use ANSI definitions and prototypes.
35321 * intl/gettextP.h: Switch to gettext copyright.
35322 Use ANSI definitions and prototypes.
35323 Use gl_* locking primitives rather than __libc_* ones.
35324 * intl/gmo.h: Switch to gettext copyright.
35325 (struct sysdep_string): Move struct segment_pair outside of
35326 struct definition.
35327 * intl/hash-string.c: Use ANSI definitions and prototypes.
35328 * intl/hash-string.h: Switch to gettext copyright.
35329 Use ANSI definitions and prototypes.
35330 * intl/l10nflist.c: Switch to gettext copyright.
35331 Use ANSI definitions and prototypes.
35332 (_nl_normalize_codeset): Avoid integer overflow.
35333 * intl/loadinfo.h: Switch to gettext copyright.
35334 Use ANSI definitions and prototypes.
35335 (LIBINTL_DLL_EXPORTED): New define.
35336 (PATH_SEPARATOR): New define.
35337 * intl/loadmsgcat.c: Switch to gettext copyright.
35338 * intl/localealias.c: Switch to gettext copyright.
35339 Use ANSI definitions and prototypes.
35340 (_nl_expand_alias): Use PATH_SEPARATOR.
35341 * intl/ngettext.c: Switch to gettext copyright.
35342 Use ANSI definitions and prototypes.
35343 * intl/plural-exp.c: Likewise.
35344 * intl/plural-exp.h: Switch to gettext copyright.
35345 Use ANSI definitions and prototypes.
35346 (struct expression): Move definition of enum operator outside
35347 of struct definition.
35348 * intl/plural.c: Regenerate.
35349 * intl/plural.y: Switch to gettext copyright.
35350 Use ANSI definitions and prototypes.
35351 Port to bison 3.0.
35352 * intl/textdomain.c: Switch to gettext copyright.
35353 Use ANSI definitions and prototypes.
35354 Use gl_* locking primitives rather than __libc_* ones.
35355
35356 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
35357
35358 * debug/warning-nop.c: Add used atrribute.
35359
35360 2014-12-10 Joseph Myers <joseph@codesourcery.com>
35361
35362 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35363
35364 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35365 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35366 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35367
35368 2014-12-10 Joseph Myers <joseph@codesourcery.com>
35369 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35370
35371 [BZ #17634]
35372 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35373 Undefine after defining function. Define as weak alias of
35374 __wcschr. Use libc_hidden_weak.
35375 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
35376 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35377 (libc_hidden_def): Also define __GI___wcschr alias.
35378 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35379 __wcschr and define as weak alias of __wcschr.
35380 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35381 __wcschr.
35382 [!WCSCHR] (DEFAULT_WCSCHR): Define.
35383 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35384 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
35385 libc_hidden_weak. Do not use libc_hidden_def.
35386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35387 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35388 __GI___wcschr alias.
35389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35390 [IS_IN (libc)] (wcschr): Define as macro expanding to
35391 __redirect_wcschr.
35392 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35393 [IS_IN (libc)] (__wcschr_power6): Likewise.
35394 [IS_IN (libc)] (__wcschr_power7): Likewise.
35395 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
35396 instead of wcschr.
35397 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35398 __libc_wcschr.
35399 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35400 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35401 __wcschr and define as weak alias of __wcschr. Use
35402 libc_hidden_builtin_def.
35403 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35404 as weak alias of __wcschr. Use libc_hidden_weak.
35405 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35406 wcschr.
35407 * time/era.c (_nl_init_era_entries): Likewise.
35408 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35409 variable.
35410 (test-xfail-XPG3/time.h/linknamespace): Likewise.
35411 (test-xfail-XPG4/time.h/linknamespace): Likewise.
35412
35413 2014-12-10 Joseph Myers <joseph@codesourcery.com>
35414
35415 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35416 format for long int variable.
35417
35418 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
35419
35420 [BZ #10672]
35421 * manual/search.texi: (Array Sort Function): Remove claim how to make
35422 qsort stable.
35423
35424 2014-12-10 Andreas Schwab <schwab@suse.de>
35425
35426 [BZ #12847]
35427 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35428 user-controlled locks.
35429
35430 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
35431
35432 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35433 register.
35434
35435 2014-12-10 Joseph Myers <joseph@codesourcery.com>
35436
35437 * configure.ac (--disable-werror): New configure option.
35438 (enable_werror): New AC_SUBST.
35439 * configure: Regenerated.
35440 * config.make.in (enable-werror): New variable.
35441 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35442 -Wno-error=undef.
35443 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35444 * manual/install.texi (Configuring and compiling): Document
35445 --disable-werror.
35446 * INSTALL: Regenerated.
35447 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35448 (CFLAGS-tst-chk2.c): Likewise.
35449 (CFLAGS-tst-chk3.c): Likewise.
35450 (CFLAGS-tst-chk4.cc): Likewise.
35451 (CFLAGS-tst-chk5.cc): Likewise.
35452 (CFLAGS-tst-chk6.cc): Likewise.
35453 (CFLAGS-tst-lfschk1.c): Likewise.
35454 (CFLAGS-tst-lfschk2.c): Likewise.
35455 (CFLAGS-tst-lfschk3.c): Likewise.
35456 (CFLAGS-tst-lfschk4.cc): Likewise.
35457 (CFLAGS-tst-lfschk5.cc): Likewise.
35458 (CFLAGS-tst-lfschk6.cc): Likewise.
35459
35460 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35461 (main): Disable -Wdeprecated-declarations around calls to
35462 register_printf_function.
35463
35464 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35465 (do_test): Disable -Wdiv-by-zero around some calls to
35466 fwrite_unlocked and fread_unlocked.
35467
35468 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35469 (DIAG_POP_NEEDS_COMMENT): Likewise.
35470 (_DIAG_STR1): Likewise.
35471 (_DIAG_STR): Likewise.
35472 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35473 * stdio-common/bug21.c: Include <libc-internal.h>.
35474 (do_test): Disable -Wformat around call to sscanf.
35475 * stdio-common/scanf14.c: Include <libc-internal.h>.
35476 (main): Disable -Wformat around some calls to scanf functions.
35477
35478 2014-12-09 Torvald Riegel <triegel@redhat.com>
35479
35480 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35481
35482 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35483
35484 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35485 stack variable alignment.
35486
35487 2014-12-06 Joseph Myers <joseph@codesourcery.com>
35488
35489 [BZ #17682]
35490 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35491 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35492 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35493 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35494 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35495 __getrlimit instead of getrlimit.
35496 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35497 __gettimeofday instead of gettimeofday.
35498 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35499 Likewise.
35500 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35501 Likewise.
35502 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35503 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35504 Remove variable.
35505 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35506 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35507
35508 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35509
35510 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35511 for wide-character tests.
35512
35513 2014-12-04 Roland McGrath <roland@hack.frob.com>
35514
35515 * io/openat64.c: #include <libc-internal.h>
35516 (__openat64): Prototypify. Use ignore_value on MODE.
35517 * io/openat.c: Likewise.
35518 * misc/reboot.c: #include <libc-internal.h>
35519 (reboot): Prototypify. Use ignore_value on HOWTO.
35520 * misc/ptrace.c: #include <libc-internal.h>
35521 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
35522
35523 2014-12-04 Joseph Myers <joseph@codesourcery.com>
35524
35525 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35526 XPG4, UNIX98 and XOPEN2K.
35527 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35528 Remove variable.
35529 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35530
35531 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35532
35533 * libio/fileops.c: Use ISO C style for function definitions.
35534 * libio/iofopen.c: Likewise.
35535 * libio/wfileops.c: Likewise.
35536
35537 [BZ #17653]
35538 * libio/fileops.c (_IO_new_file_underflow): Unset cached
35539 offset on EOF.
35540 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35541 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35542 (fgets_func): Function pointer to fgets and fgetws.
35543 (do_ftell_test): Add test to verify ftell value after read
35544 EOF.
35545 (do_test): Set fgets_func.
35546
35547 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35548 O_TRUNC flag for w and w+ modes.
35549 (do_rewind_test): Likewise.
35550 (do_ftell_test): Likewise.
35551 (do_write_test): Likewise.
35552
35553 [BZ #17647]
35554 * libio/fileops.c (do_ftell): Seek only when there are
35555 unflushed writes.
35556 * libio/wfileops.c (do_ftell_wide): Likewise.
35557 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35558 test case.
35559 (do_one_test): Call it.
35560
35561 2014-12-03 Joseph Myers <joseph@codesourcery.com>
35562
35563 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35564 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35565 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35566 Remove variable.
35567 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35568 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35569 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35570
35571 2014-12-02 Joseph Myers <joseph@codesourcery.com>
35572
35573 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35574 Remove variable.
35575 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35576
35577 [BZ #17668]
35578 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35579 as weak alias of __getifaddrs. Use libc_hidden_weak.
35580 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35581 __freeifaddrs. Use libc_hidden_weak.
35582 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35583 define as weak alias of __getifaddrs. Use libc_hidden_weak.
35584 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35585 __freeifaddrs. Use libc_hidden_weak.
35586 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35587 __getifaddrs and define as weak alias of __getifaddrs. Use
35588 libc_hidden_weak.
35589 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35590 __freeifaddrs. Use libc_hidden_weak.
35591 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35592 Remove variable.
35593 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35594 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35595
35596 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
35597
35598 [BZ #17601]
35599 * sysdeps/mips/start.S (__start): Use indirect jump to call
35600 __libc_start_main.
35601
35602 2014-12-02 Joseph Myers <joseph@codesourcery.com>
35603
35604 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35605
35606 * nptl/tst-mutex1.c: Include <stdbool.h>.
35607 [!ATTR] (ATTR_NULL): New macro.
35608 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35609 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35610 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35611
35612 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35613 to char *.
35614
35615 [BZ #17665]
35616 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35617 Change conditional to [__USE_MISC].
35618
35619 [BZ #17664]
35620 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35621 fgets_unlocked.
35622 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35623 __fgets_unlocked.
35624 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35625 fgets_unlocked.
35626 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35627 Remove variable.
35628 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35629 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35630 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35631 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35632 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35633 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35634 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35635 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35636 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35637
35638 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35639
35640 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35641
35642 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35643 Remove strpbrk objects.
35644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35645 (__libc_ifunc_impl_list): Remove strpbrk implementation.
35646 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35647 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35648 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35649 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35650
35651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35652 Remove strcspn objects.
35653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35654 (__libc_ifunc_impl_list): Remove strcspn implementation.
35655 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35656 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35657 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35658 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35659
35660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35661 Remove strspn objetcs.
35662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35663 (__libc_ifunc_impl_list): Remove strspn implementation.
35664 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35665 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35666 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35667 * sysdeps/powerpc/powerpc64/strspn.S: New file.
35668
35669 2014-12-01 James Lemke <jwlemke@codesourcery.com>
35670
35671 [BZ #17581]
35672 * malloc/hooks.c
35673 (mem2mem_check): Add a terminator to the chain of checking blocks.
35674 (malloc_check_get_size): Use it here.
35675 (mem2chunk_check): Ditto.
35676
35677 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35678
35679 * sysdeps/powerpc/powerpc64/strtok.S: New file.
35680 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35681
35682 2014-11-29 Carlos O'Donell <carlos@redhat.com>
35683
35684 * bits/ioctl-types.h: Indent preprocessor directives correctly.
35685
35686 * nptl/nptl-init.c: Include libc-internal.h.
35687 (__pthread_initialize_minimal_internal): Use ROUND_UP.
35688
35689 * elf/ldconfig.c (search_dir): Expand comment.
35690
35691 2014-11-29 Joseph Myers <joseph@codesourcery.com>
35692
35693 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35694 variable.
35695 (linknamespace-symlist-stdlibs-tests): Likewise.
35696 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35697 instead of $(objpfx)symlist-stdlibs.
35698 (linknamespace-libs-isoc): New variable.
35699 (linknamespace-libs): Use $(linknamespace-libs-isoc).
35700 (linknamespace-libs-ISO): New variable.
35701 (linknamespace-libs-ISO99): Likewise.
35702 (linknamespace-libs-ISO11): Likewise.
35703 (linknamespace-libs-XPG3): Likewise.
35704 (linknamespace-libs-XPG4): Likewise.
35705 (linknamespace-libs-POSIX): Likewise.
35706 (linknamespace-libs-UNIX98): Likewise.
35707 (linknamespace-libs-XOPEN2K): Likewise.
35708 (linknamespace-libs-POSIX2008): Likewise.
35709 (linknamespace-libs-XOPEN2K8): Likewise.
35710 ($(objpfx)symlist-stdlibs): Replace by
35711 $(linknamespace-symlist-stdlibs-tests). Use
35712 $(linknamespace-libs-$*) as set of libraries.
35713 ($(linknamespace-header-tests)): Update dependencies. Use
35714 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35715 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35716 * conform/linknamespace.pl: Remove comment about considering
35717 definitions of symbols from irrelevant libraries.
35718
35719 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
35720
35721 [BZ #13862]
35722 * elf/dl-tls.c: Include <atomic.h>.
35723 (oom): Remove #ifdef SHARED/#endif.
35724 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35725 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
35726 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35727 big enough.
35728 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35729 * nptl/Makefile (tests): Add tst-stack4.
35730 (modules-names): Add tst-stack4mod.
35731 ($(objpfx)tst-stack4): New.
35732 (tst-stack4mod.sos): Likewise.
35733 ($(objpfx)tst-stack4.out): Likewise.
35734 ($(tst-stack4mod.sos)): Likewise.
35735 (clean): Likewise.
35736 * nptl/tst-stack4.c: New file.
35737 * nptl/tst-stack4mod.c: Likewise.
35738
35739 2014-11-27 J. Brown <jb999@gmx.de>
35740
35741 * sysdeps/x86/bits/string.h: Add recent CPUs.
35742
35743 2014-11-27 Joseph Myers <joseph@codesourcery.com>
35744
35745 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35746 sigblock.
35747
35748 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35749 feof.
35750
35751 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35752 variable.
35753
35754 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
35755
35756 * nscd/connections.c: Include libc-internal.h because of macro
35757 usage ignore_value.
35758
35759 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35760
35761 * string/bits/string3.h (__warn_memset_zero_len): Don't
35762 declare for gcc newer than 5.0.
35763 (memset): Don't test for zero-length __LEN for gcc newer than
35764 5.0.
35765
35766 2014-11-27 Joseph Myers <joseph@codesourcery.com>
35767
35768 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35769 size_t for %zu format.
35770
35771 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35772 difference, not %ju.
35773
35774 2014-11-26 Joseph Myers <joseph@codesourcery.com>
35775
35776 * include/libc-internal.h (ignore_value): New macro.
35777 * nscd/connections.c (restart): Wrap calls to setuid and setgid
35778 with ignore_value.
35779
35780 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35781 definition.
35782
35783 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35784 pthread_cleanup_push to void *.
35785
35786 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35787 Undefine.
35788
35789 [BZ #16619]
35790 [BZ #16740]
35791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35792 instead of 1L << 52.
35793
35794 * libio/bug-rewind.c (do_test): Check fwscanf return values.
35795 * libio/bug-rewind2.c (do_test): Likewise.
35796
35797 * debug/test-stpcpy_chk-ifunc.c: Remove file.
35798 * debug/test-strcpy_chk-ifunc.c: Likewise.
35799 * wcsmbs/test-wcschr-ifunc.c: Likewise.
35800 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35801 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35802 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35803 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35804 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35805 * Rules [$(multi-arch) = no] (tests): Do not filter out
35806 $(tests-ifunc).
35807 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35808 * debug/Makefile (tests-ifunc): Remove variable.
35809 (tests): Do not add $(tests-ifunc).
35810 * wcsmbs/Makefile (tests-ifunc): Remove variable.
35811 (tests): Do not add $(tests-ifunc).
35812 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35813 [TEST_IFUNC]: Remove conditionals.
35814 * string/test-string.h (TEST_IFUNC): Remove macro.
35815 [TEST_IFUNC]: Remove conditionals.
35816
35817 * string/test-strchr.c [!WIDE] (L): New macro.
35818 [WIDE] (L): Likewise.
35819 (check1): Use CHAR instead of char. Use L on string and character
35820 constants.
35821
35822 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
35823
35824 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35825 tests.
35826 * sysdeps/powerpc/bits/atomic.h
35827 (__arch_atomic_exchange_and_add_32_acq): Add definition.
35828 (__arch_atomic_exchange_and_add_32_rel): Likewise.
35829 (atomic_exchange_and_add_acq): Likewise.
35830 (atomic_exchange_and_add_rel): Likewise.
35831 * sysdeps/powerpc/powerpc32/bits/atomic.h
35832 (__arch_atomic_exchange_and_add_64_acq): Add definition.
35833 (__arch_atomic_exchange_and_add_64_rel): Likewise.
35834 * sysdeps/powerpc/powerpc64/bits/atomic.h
35835 (__arch_atomic_exchange_and_add_64_acq): Add definition.
35836 (__arch_atomic_exchange_and_add_64_rel): Likewise.
35837
35838 2014-11-26 Torvald Riegel <triegel@redhat.com>
35839
35840 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35841 Change synchronization of __sched_fifo_min_prio and
35842 __sched_fifo_max_prio.
35843 * nptl/pthread_mutexattr_getprioceiling.c
35844 (pthread_mutexattr_getprioceiling): Likewise.
35845 * nptl/pthread_mutexattr_setprioceiling.c
35846 (pthread_mutexattr_setprioceiling): Likewise.
35847 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35848 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35849 Likewise.
35850
35851 2014-11-26 Joseph Myers <joseph@codesourcery.com>
35852
35853 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35854 void.
35855
35856 2014-11-25 Joseph Myers <joseph@codesourcery.com>
35857
35858 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35859 third argument const.
35860
35861 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
35862
35863 fnmatch: work around GCC compiler warning bug with uninit var
35864 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35865 This works around a bug with x86-64 GCC 4.9.2 and earlier
35866 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35867 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35868 used uninitialized in this function [-Wmaybe-uninitialized]".
35869
35870 2014-11-25 Joseph Myers <joseph@codesourcery.com>
35871
35872 * posix/bug-regex31.c (main): Return RES not 0.
35873
35874 2014-11-25 Anton Blanchard <anton@samba.org>
35875
35876 * sysdeps/powerpc/bits/atomic.h
35877 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35878
35879 2014-11-24 Sterling Augustine <saugustine@google.com>
35880
35881 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35882
35883 2014-11-24 Ryan Cumming <etaoins@gmail.com>
35884
35885 [BZ #17608]
35886 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35887
35888 2014-11-24 Joseph Myers <joseph@codesourcery.com>
35889
35890 [BZ #17633]
35891 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35892 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35893 variable.
35894 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35895 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35896
35897 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
35898
35899 * string/strncpy.c (strncpy): Improve performance by using memset.
35900
35901 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
35902
35903 * string/strcpy.c (strcpy):
35904 Improve performance by using strlen and memcpy.
35905
35906 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
35907
35908 * string/strcoll_l.c (get_next_seq): __always_inline.
35909 * string/strcoll_l.c (do_compare): __always_inline.
35910
35911 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35912
35913 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35914 defined.
35915 * include/mqueue.h: Likewise.
35916 * include/stdlib.h: Likewise.
35917
35918 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35919 (get_null_defines): Adjust.
35920 * sunrpc/Makefile: Adjust comment.
35921 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35922 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35923 (CFLAGS-interp.c): Likewise.
35924 (CFLAGS-ldconfig.c): Likewise.
35925 (CPPFLAGS-.os): Likewise.
35926 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35927 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35928 * extra-modules.mk (extra-modules.mk): Likewise.
35929 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35930 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35931 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35932 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35933 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35934 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35935 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35936 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35937 * iconvdata/Makefile (CPPFLAGS): Likewise.
35938 (cpp-srcs-left): Add libof for all iconvdata routines.
35939 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35940 * include/assert.h: Likewise.
35941 * include/ctype.h: Likewise.
35942 * include/errno.h: Likewise.
35943 * include/libc-symbols.h: Likewise.
35944 * include/math.h: Likewise.
35945 * include/netdb.h: Likewise.
35946 * include/resolv.h: Likewise.
35947 * include/stdio.h: Likewise.
35948 * include/stdlib.h: Likewise.
35949 * include/string.h: Likewise.
35950 * include/sys/stat.h: Likewise.
35951 * include/wctype.h: Likewise.
35952 * intl/l10nflist.c: Likewise.
35953 * libidn/idn-stub.c: Likewise.
35954 * libio/libioP.h: Likewise.
35955 * nptl/libc_multiple_threads.c: Likewise.
35956 * nptl/pthreadP.h: Likewise.
35957 * posix/regex_internal.h: Likewise.
35958 * resolv/res_hconf.c: Likewise.
35959 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35960 * sysdeps/arm/memmove.S: Likewise.
35961 * sysdeps/arm/sysdep.h: Likewise.
35962 * sysdeps/generic/_itoa.h: Likewise.
35963 * sysdeps/generic/symbol-hacks.h: Likewise.
35964 * sysdeps/gnu/errlist.awk: Likewise.
35965 * sysdeps/gnu/errlist.c: Likewise.
35966 * sysdeps/i386/i586/memcpy.S: Likewise.
35967 * sysdeps/i386/i586/memset.S: Likewise.
35968 * sysdeps/i386/i686/memcpy.S: Likewise.
35969 * sysdeps/i386/i686/memmove.S: Likewise.
35970 * sysdeps/i386/i686/mempcpy.S: Likewise.
35971 * sysdeps/i386/i686/memset.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35973 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35974 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35975 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35978 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35979 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35980 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35988 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35989 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35990 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35991 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35992 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35993 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35994 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35995 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35996 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36001 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36002 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36003 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36006 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36007 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36008 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36009 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36010 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36012 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36013 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36015 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36016 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36017 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36018 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36019 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36021 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36022 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36023 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36024 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36025 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36026 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36027 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36028 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36029 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36030 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36031 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36032 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36033 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36034 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36035 * sysdeps/nptl/bits/libc-lock.h: Likewise.
36036 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36037 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36038 * sysdeps/posix/closedir.c: Likewise.
36039 * sysdeps/posix/opendir.c: Likewise.
36040 * sysdeps/posix/readdir.c: Likewise.
36041 * sysdeps/posix/rewinddir.c: Likewise.
36042 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36043 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36044 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36046 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36047 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36053 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36054 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36055 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36056 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36057 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36058 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36059 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36060 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36063 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36064 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36065 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36066 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36070 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36077 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36078 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36079 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36080 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36081 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36082 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36083 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36084 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36085 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36086 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36087 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36088 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36089 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36090 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36091 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36092 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36093 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36094 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36096 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36097 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36098 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36099 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36100 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36102 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36103 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36104 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36105 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36106 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36107 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36108 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36109 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36110 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36111 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36113 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36114 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36115 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36116 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36117 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36119 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36120 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36121 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36122 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36124 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36125 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36126 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36127 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36128 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36129 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36130 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36131 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36132 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36133 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36134 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36138 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36141 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36143 * sysdeps/unix/alpha/sysdep.S: Likewise.
36144 * sysdeps/unix/alpha/sysdep.h: Likewise.
36145 * sysdeps/unix/make-syscalls.sh: Likewise.
36146 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36148 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36149 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36150 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36151 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36152 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36153 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36154 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36155 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36156 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36157 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36159 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36160 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36161 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36162 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36163 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36164 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36165 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36166 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36167 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36168 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36169 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36170 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36171 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36172 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36175 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36176 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36180 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36184 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36185 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36186 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36187 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36188 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36189 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36190 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36196 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36197 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36198 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36199 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36200 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36202 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36204 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36205 * sysdeps/x86_64/memcpy.S: Likewise.
36206 * sysdeps/x86_64/memmove.c: Likewise.
36207 * sysdeps/x86_64/memset.S: Likewise.
36208 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36209 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36210 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36211 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36212 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36215 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36216 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36217 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36218 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36219 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36220 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36221 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36222 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36223 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36225 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36226 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36227 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36228 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36229 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36232 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36233 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36234 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36235 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36236 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36237 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36238 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36239 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36240 * sysdeps/x86_64/strcmp.S: Likewise.
36241
36242 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36243
36244 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36245 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36246 * elf/rtld-Rules: Likewise.
36247 * elf/setup-vdso.h: Likewise.
36248 * include/assert.h: Likewise.
36249 * include/bits/stdlib-float.h: Likewise.
36250 * include/errno.h: Likewise.
36251 * include/sys/stat.h: Likewise.
36252 * include/unistd.h: Likewise.
36253 * sysdeps/aarch64/setjmp.S: Likewise.
36254 * sysdeps/alpha/setjmp.S: Likewise.
36255 * sysdeps/arm/__longjmp.S: Likewise.
36256 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36257 * sysdeps/arm/setjmp.S: Likewise.
36258 * sysdeps/arm/sysdep.h: Likewise.
36259 * sysdeps/generic/_itoa.h: Likewise.
36260 * sysdeps/generic/dl-sysdep.h: Likewise.
36261 * sysdeps/generic/ldsodefs.h: Likewise.
36262 * sysdeps/i386/dl-tls.h: Likewise.
36263 * sysdeps/i386/setjmp.S: Likewise.
36264 * sysdeps/m68k/setjmp.c: Likewise.
36265 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36266 * sysdeps/mach/hurd/opendir.c: Likewise.
36267 * sysdeps/posix/getcwd.c: Likewise.
36268 * sysdeps/posix/opendir.c: Likewise.
36269 * sysdeps/posix/profil.c: Likewise.
36270 * sysdeps/powerpc/dl-procinfo.h: Likewise.
36271 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36272 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36273 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36274 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36275 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36276 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36277 * sysdeps/s390/dl-tls.h: Likewise.
36278 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36279 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36280 * sysdeps/sh/sh3/setjmp.S: Likewise.
36281 * sysdeps/sh/sh4/setjmp.S: Likewise.
36282 * sysdeps/unix/alpha/sysdep.h: Likewise.
36283 * sysdeps/unix/arm/sysdep.S: Likewise.
36284 * sysdeps/unix/i386/sysdep.S: Likewise.
36285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36286 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36287 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36290 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36291 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36292 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36293 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36294 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36295 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36296 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36297 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36300 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36303 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36304 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36308 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36309 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36312 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36313 * sysdeps/x86_64/setjmp.S: Likewise.
36314
36315 * include/math.h: Use IS_IN instead of IS_IN_libm.
36316 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36327 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36328 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36336 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36337 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36338 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36339 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36340 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36341 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36343 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36344 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36345 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36346 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36347 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36350 Likewise.
36351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36352 Likewise.
36353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36354 Likewise.
36355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36356 Likewise.
36357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36358 Likewise.
36359 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36360 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36361 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36362 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36363 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36364 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36370 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36371 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36372 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36373 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36374 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36375 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36376 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36377 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36378 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36379 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36380 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36383 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36385 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36386
36387 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36388 * nptl/pthreadP.h: Likewise.
36389 * nptl_db/structs.def: Likewise.
36390 * sysdeps/arm/sysdep.h: Likewise.
36391 * sysdeps/nptl/bits/libc-lock.h: Likewise.
36392 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36393 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36394 * sysdeps/unix/alpha/sysdep.h: Likewise.
36395 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36396 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36397 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36398 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36399 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36400 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36402 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36403 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36404 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36405 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36406 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36407 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36408 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36413 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36416 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36417 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36418 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36419 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36420 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36421
36422 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36423 * nptl/pthreadP.h: Likewise.
36424 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36425 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36426 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36427 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36428 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36429 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36430 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36431 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36432 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36433 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36434 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36435 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36437 Likewise.
36438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36439 Likewise.
36440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36442 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36445 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36446 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36447 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36448
36449 * dlfcn/dladdr.c: Use IS_IN.
36450 * dlfcn/dladdr1.c: Likewise.
36451 * dlfcn/dlclose.c: Likewise.
36452 * dlfcn/dlerror.c: Likewise.
36453 * dlfcn/dlinfo.c: Likewise.
36454 * dlfcn/dlmopen.c: Likewise.
36455 * dlfcn/dlopen.c: Likewise.
36456 * dlfcn/dlsym.c: Likewise.
36457 * dlfcn/dlvsym.c: Likewise.
36458
36459 * include/ifaddrs.h: Use IS_IN.
36460 * inet/check_pf.c: Likewise.
36461 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36462 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36463
36464 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36465 IS_IN_ldconfig.
36466 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36467 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36468
36469 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36470 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36471 IS_IN (libc).
36472
36473 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36474
36475 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36476 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36477 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36478 * include/libc-symbols.h (IS_IN_LIB): New macro.
36479 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36480 * include/netdb.h: Likewise.
36481 * include/stap-probe.h: Remove all uses of IN_LIB.
36482
36483 * Makeconfig (module-cppflags-real): Define MODULE_NAME
36484 instead of IN_MODULE.
36485 * include/libc-symbols.h (IN_MODULE): Define using
36486 MODULE_NAME.
36487 (PASTE_NAME, PASTE_NAME1): New macros.
36488 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36489 of IN_LIB.
36490 (STAP_PROBE_ASM): Likewise.
36491
36492 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
36493
36494 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36495 __mach_init in dlopened libc.
36496
36497 2014-11-22 Mike Frysinger <vapier@gentoo.org>
36498
36499 * sysdeps/arm/preconfigure.ac: Delete EABI check.
36500 * sysdeps/arm/preconfigure: Regenerate.
36501
36502 2014-11-21 Roland McGrath <roland@hack.frob.com>
36503
36504 * nptl/pthread_create.c (__pthread_create_2_1): Set
36505 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36506 when copying values from IATTR into PD.
36507
36508 2014-11-21 Will Newton <will.newton@linaro.org>
36509 Andrew Pinski <andrew.pinski@caviumnetworks.com>
36510
36511 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36512 Refactor inline-asm. Also add comment.
36513
36514 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36515 ElfW macro instead of hardcoded Elf64 types.
36516 (la_aarch64_gnu_pltenter): Likewise.
36517 * sysdeps/aarch64/dl-machine.h
36518 (elf_machine_runtime_setup): Use ElfW(Addr).
36519
36520 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36521 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36522 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36523 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36524 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36525 (R_AARCH64_TLS_DTPMOD64): Rename to ..
36526 (R_AARCH64_TLS_DTPMOD): This.
36527 (R_AARCH64_TLS_DTPREL64): Rename to ...
36528 (R_AARCH64_TLS_DTPREL): This.
36529 (R_AARCH64_TLS_TPREL64): Rename to ...
36530 (R_AARCH64_TLS_TPREL): This.
36531 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36532 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36533 R_AARCH64_TLS_TPREL64.
36534 (elf_machine_rela): Likewise.
36535
36536 2014-11-21 Torvald Riegel <triegel@redhat.com>
36537
36538 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36539 by setting it to 0. 64b atomics are not supported currently.
36540
36541 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36542
36543 [BZ #16469]
36544 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36545 search domain names.
36546
36547 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36548
36549 [BZ #16469]
36550 * NEWS: Update.
36551 * resolv/res_query.c (__libc_res_nquerydomain): Retain
36552 trailing dot.
36553 * posix/tst-getaddrinfo5.c: New.
36554 * posix/Makefile (tests): Add it.
36555
36556 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36557
36558 [BZ #14498]
36559 * NEWS: Fixed.
36560 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36561 after parsing line but before break_if_match.
36562 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36563 if there is a protocol mismatch.
36564
36565 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36566
36567 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36568 because the potential race is on the user-supplied stream.
36569
36570 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36571
36572 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36573 string literal if not passed a buffer.
36574 * manual/job.texi (ctermid): Update reasoning, note deviation
36575 from posix, suggest mtasurace when not passed a buffer, for
36576 future non-preliminary safety notes.
36577
36578 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36579
36580 * manual/users.texi (cuserid): Fix MT-Safety note for the case
36581 of not passing it a buffer.
36582 Reported by Peng Haitao.
36583
36584 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
36585
36586 * manual/Makefile ($(objpfx)stamp-summary): Require
36587 check-safety.sh to pass.
36588 * manual/check-safety.sh: Wish for verification that every
36589 @deftypefn and @deftypefun is followed by a @safety remark.
36590
36591 2014-11-20 Roland McGrath <roland@hack.frob.com>
36592
36593 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36594
36595 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36596 PTHREAD_CANCEL_ASYNCHRONOUS.
36597 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36598 send SIGCANCEL.
36599
36600 * nptl/default-sched.h: New file.
36601 * sysdeps/unix/sysv/linux/default-sched.h: New file.
36602 * nptl/pthread_create.c: Include it.
36603 (__pthread_create_2_1): Use collect_default_sched instead of making
36604 Linux syscalls here directly.
36605
36606 2014-11-20 Torvald Riegel <triegel@redhat.com>
36607
36608 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36609 __pthread_once): Use C11 atomics.
36610
36611 2014-11-20 Torvald Riegel <triegel@redhat.com>
36612
36613 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36614
36615 2014-11-20 Torvald Riegel <triegel@redhat.com>
36616
36617 * include/atomic.h (__atomic_link_error, __atomic_check_size,
36618 atomic_thread_fence_acquire, atomic_thread_fence_release,
36619 atomic_thread_fence_seq_cst, atomic_load_relaxed,
36620 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36621 atomic_compare_exchange_weak_relaxed,
36622 atomic_compare_exchange_weak_acquire,
36623 atomic_compare_exchange_weak_release,
36624 atomic_exchange_acquire, atomic_exchange_release,
36625 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36626 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36627 atomic_fetch_and_acquire,
36628 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36629
36630 2014-11-20 Torvald Riegel <triegel@redhat.com>
36631
36632 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36633 USE_ATOMIC_COMPILER_BUILTINS): Define.
36634 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36635 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36636 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36637 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36638 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36639 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36640 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36641 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36642 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36643 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36644 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36645 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36646 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36647 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36648 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36649 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36650 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36651 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36652 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36653 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36654 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36655 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36656 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36657 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36659 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36660 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36661 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36662 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36663 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36664 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36665 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36666 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36667 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36668 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36669 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36670 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36671 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36672 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36673 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36674
36675 2014-11-19 Roland McGrath <roland@hack.frob.com>
36676
36677 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36678 the sched_priority value here. It was already checked when the user
36679 called pthread_attr_setschedparam.
36680
36681 * nptl/tst-bad-schedattr.c: New file.
36682 * nptl/Makefile (tests): Add it.
36683
36684 2014-11-19 Carlos O'Donell <carlos@redhat.com>
36685 Florian Weimer <fweimer@redhat.com>
36686 Joseph Myers <joseph@codesourcery.com>
36687 Adam Conrad <adconrad@0c3.net>
36688 Andreas Schwab <schwab@suse.de>
36689 Brooks <bmoses@google.com>
36690
36691 [BZ #17625]
36692 * wordexp-test.c (__dso_handle): Add prototype.
36693 (__register_atfork): Likewise.
36694 (__app_register_atfork): New function.
36695 (registered_forks): New global.
36696 (register_fork): New function.
36697 (test_case): Add 3 new tests for WRDE_CMDSUB.
36698 (main): Call __app_register_atfork.
36699 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36700 fork count is non-zero fail the test.
36701 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36702 is set.
36703 (parse_dollars): Remove check for WRDE_NOCMD.
36704 (parse_dquote): Likewise.
36705
36706 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36707
36708 * Makeconfig (built-modules): List non-library modules to be
36709 built.
36710 (module-cppflags): Include libc-modules.h for
36711 everything except shlib-versions.v.i.
36712 (CPPFLAGS): Use it.
36713 (before-compile): Add libc-modules.h.
36714 ($(common-objpfx)libc-modules.h,
36715 $(common-objpfx)libc-modules.stmp): New targets.
36716 (common-generated): Add libc-modules.h and libc-modules.stmp.
36717 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36718 * include/libc-symbols.h: Don't include libc-modules.h.
36719 * include/libc-modules.h: Remove file.
36720 * scripts/gen-libc-modules.awk: New script to generate
36721 libc-modules.h.
36722 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36723 Depend on libc-modules.stmp.
36724
36725 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36726
36727 * Makeconfig (in-module): Get value of libof set for the
36728 translation unit.
36729 (CPPFLAGS): Use $(in-module).
36730 * Makerules: Don't suffix routine names for nonlib.
36731 * include/libc-modules.h: New file.
36732 * include/libc-symbols.h: Include libc-modules.h
36733 (IS_IN): New macro to replace IS_IN_* macros.
36734 * elf/Makefile: Set libof-* for each routine.
36735 * elf/rtld-Rules: Likewise.
36736 * extra-modules.mk: Likewise.
36737 * iconv/Makefile: Likewise.
36738 * iconvdata/Makefile: Likewise.
36739 * locale/Makefile: Likewise.
36740 * malloc/Makefile: Likewise.
36741 * nss/Makefile: Likewise.
36742 * sysdeps/gnu/Makefile: Likewise.
36743 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36744 * sysdeps/unix/sysv/linux/Makefile: Likewise.
36745 * sysdeps/s390/s390-64/Makefile: Likewise.
36746 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
36747 CPPFLAGS for nscd instead of nonlib.
36748
36749 2014-11-18 Roland McGrath <roland@hack.frob.com>
36750
36751 * nptl/createthread.c: New file.
36752
36753 * nptl/createthread.c: Moved ...
36754 * sysdeps/unix/sysv/linux/createthread.c: ... here.
36755
36756 * nptl/createthread.c: Add proper top-line comment.
36757 (do_clone): Folded into ...
36758 (create_thread): ... here. Take new arguments STOPPED_START and
36759 THREAD_RAN. Always set PD->stopped_start to something here. Don't
36760 increment __nptl_threads, do event-reporting logic, do
36761 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36762 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
36763 resource cleanup if sched_setaffinity or sched_setscheduler fails,
36764 just send SIGCANCEL.
36765 * nptl/pthread_create.c: Forward-declare create_thread before
36766 including createthread.c.
36767 (start_thread): Use new macro START_THREAD_DEFN to replace defining
36768 declaration, and new macro START_THREAD_SELF to replace argument.
36769 Remove return statement.
36770 (report_thread_creation): New function.
36771 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
36772 synchronization logic, and __nptl_nthreads increment here, around
36773 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
36774 PD->parent_cancelhandling here, before create_thread. When
36775 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36776 __deallocate_stack, and ENOMEM translation here.
36777
36778 2014-11-18 Joseph Myers <joseph@codesourcery.com>
36779
36780 [BZ #17616]
36781 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36782 (mptwo): Rename to __mptwo.
36783 (__inv): Use __mptwo instead of mptwo.
36784 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36785 (mptwo): Rename to __mptwo.
36786 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36787 of mpone and __mptwo instead of mptwo.
36788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36789 instead of mpone.
36790 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36791 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36792 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36793 of mpone and __mptwo instead of mptwo.
36794 (__mpranred): Use __mpone instead of mpone.
36795 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36796 variable.
36797 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36798 (test-xfail-ISO99/math.h/linknamespace): Likewise.
36799 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36800 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36801 (test-xfail-ISO11/math.h/linknamespace): Likewise.
36802 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36803 (test-xfail-XPG3/math.h/linknamespace): Likewise.
36804 (test-xfail-XPG4/math.h/linknamespace): Likewise.
36805 (test-xfail-POSIX/math.h/linknamespace): Likewise.
36806 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36807 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36808 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36809 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36810 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36811 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36812 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36813 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36814 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36815 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36816
36817 2014-11-18 Tom de Vries <tom@codesoucery.com>
36818
36819 * manual/signal.texi (Primitives Interrupted by Signals): In section,
36820 replace BSD Handler xref with BSD Signal Handling.
36821
36822 2014-11-17 Richard Henderson <rth@redhat.com>
36823
36824 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36825 (_FP_PACK_RAW_2): Remove.
36826 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36827 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36828 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36829 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36830 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36831 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36832 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36833 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36834 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36835 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36836 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36837 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36838 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36839 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36840 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36841 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36842
36843 2014-11-14 Roland McGrath <roland@hack.frob.com>
36844
36845 * signal/signal.h [__USE_MISC]
36846 (struct sigvec): Remove type.
36847 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36848 (sigvec): Remove declaration.
36849 * sysdeps/posix/sigvec.c: Moved ...
36850 * signal/sigvec.c: ... here, replacing old file.
36851 (struct sigvec): New type, copied from old signal.h definition.
36852 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36853 (__sigvec): Convert definition to prototype.
36854 (sigvec): Replace weak_alias with compat_symbol.
36855 * signal/Versions (libc: GLIBC_2.21): New version set.
36856 * include/signal.h: Remove __sigvec declaration.
36857 * sysdeps/unix/bsd/sigvec.c: Remove file.
36858 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36859 * manual/signal.texi (BSD Handler): Remove subsection.
36860 Move siginterrupt up to ...
36861 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
36862 (Blocking in BSD): Fold subsection into its parent.
36863 * NEWS: Mention sigvec removal.
36864
36865 2014-11-14 Joseph Myers <joseph@codesourcery.com>
36866
36867 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36868 (DLA_FMS): Make definition conditional only on [__FMA4__].
36869 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36870 definition.
36871
36872 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36873 Make definition conditional only on [PROF].
36874 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36875 definition.
36876 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36877 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36878
36879 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36880 !__GNUC__].
36881 * include/signal.h (__sigpause): Move declaration above call to
36882 libc_hidden_proto.
36883 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36884 variable.
36885 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36886 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36887
36888 2014-11-14 David S. Miller <davem@davemloft.net>
36889
36890 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36891 Define before including <string/memcpy.c> and <string/mempcpy.c>.
36892
36893 2014-11-14 Joseph Myers <joseph@codesourcery.com>
36894
36895 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36896 * configure: Regenerated.
36897 * manual/install.texi (Tools for Compilation): Document a
36898 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36899 compiler verified to work.
36900 * INSTALL: Regenerated.
36901
36902 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36903 redeclare with asm name.
36904 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36905 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36906 including <string.h>.
36907 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36908 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36909 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36910 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36911 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36912 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36913 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36914
36915 2014-11-13 Joseph Myers <joseph@codesourcery.com>
36916
36917 * stdlib/strtol.c (__strtol): Use prototype definition.
36918
36919 [BZ #17594]
36920 * stdlib/strtol.c (SYM__): New macro.
36921 (SYM__1): Likewise.
36922 (__strtol): Likewise.
36923 (strtol): Rename to __strtol and define as weak alias of
36924 __strtol. Use libc_hidden_weak.
36925
36926 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36927
36928 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36929 Use numbered labels in inline assembly.
36930
36931 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36932
36933 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36934 Add setjmp LIBC_PROBE.
36935 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36936 Likewise.
36937 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36938 Add longjmp, longjmp_target LIBC_PROBE.
36939 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36940 Likewise.
36941
36942 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36943
36944 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36945 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36946 to get rid of unused variable warning.
36947
36948 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
36949
36950 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36951 Check for unwind_backtrace == NULL only in SHARED case.
36952 (__backchain_backtrace): Compile only in SHARED case.
36953 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36954 Likewise.
36955 (__backchain_backtrace): Declare as static.
36956
36957 2014-11-12 Roland McGrath <roland@hack.frob.com>
36958
36959 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36960 (__libc_multiple_threads_ptr): Variable moved ...
36961 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36962
36963 2014-11-12 Joseph Myers <joseph@codesourcery.com>
36964
36965 * conform/GlibcConform.pm: New file.
36966 * conform/conformtest.pl: Use GlibcConform module.
36967 * conform/linknamespace.pl: New file.
36968 * conform/list-header-symbols.pl: Likewise.
36969 * conform/Makefile (linknamespace-symlists-base): New variable.
36970 (linknamespace-symlists-tests): Likewise.
36971 (linknamespace-header-base): Likewise.
36972 (linknamespace-header-tests): Likewise.
36973 (tests-special): Add new tests.
36974 ($(linknamespace-symlists-tests)): New rule.
36975 (linknamespace-libs): New variable.
36976 ($(objpfx)symlist-stdlibs): New rule.
36977 ($(linknamespace-header-tests)): Likewise.
36978 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36979 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36980 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36981 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36982 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36983 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36984 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36985 (test-xfail-ISO/math.h/linknamespace): Likewise.
36986 (test-xfail-ISO/signal.h/linknamespace): Likewise.
36987 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36988 (test-xfail-ISO/time.h/linknamespace): Likewise.
36989 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36990 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36991 (test-xfail-ISO99/math.h/linknamespace): Likewise.
36992 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36993 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36994 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36995 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36996 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36997 (test-xfail-ISO11/math.h/linknamespace): Likewise.
36998 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36999 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37000 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37001 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37002 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37003 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37004 (test-xfail-XPG3/math.h/linknamespace): Likewise.
37005 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37006 (test-xfail-XPG3/search.h/linknamespace): Likewise.
37007 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37008 (test-xfail-XPG3/time.h/linknamespace): Likewise.
37009 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37010 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37011 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37012 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37013 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37014 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37015 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37016 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37017 (test-xfail-XPG4/math.h/linknamespace): Likewise.
37018 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37019 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37020 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37021 (test-xfail-XPG4/search.h/linknamespace): Likewise.
37022 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37023 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37024 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37025 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37026 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37027 (test-xfail-XPG4/time.h/linknamespace): Likewise.
37028 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37029 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37030 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37031 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37032 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37033 (test-xfail-POSIX/math.h/linknamespace): Likewise.
37034 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37035 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37036 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37037 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37038 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37039 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37040 (test-xfail-POSIX/time.h/linknamespace): Likewise.
37041 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37042 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37043 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37044 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37045 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37046 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37047 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37048 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37049 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37050 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37051 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37052 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37053 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37054 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37055 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37056 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37057 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37058 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37059 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37060 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37061 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37062 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37063 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37064 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37065 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37066 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37067 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37068 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37069 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37070 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37071 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37072 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37073 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37074 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37075 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37076 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37077 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37078 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37079 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37080 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37081 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37082 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37083 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37084 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37085 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37086 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37087 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37088 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37089 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37090 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37091 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37092 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37093 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37094 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37095 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37096 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37097 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37098 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37099 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37100 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37101 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37102 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37103 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37104 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37105 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37106 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37107 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37108 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37109 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37110 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37111 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37112 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37113 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37114 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37115 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37116 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37117 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37118 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37119 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37120 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37121 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37122 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37123 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37124 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37125 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37126 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37127 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37128 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37129 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37130 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37131 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37132 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37133 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37134 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37135 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37136 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37137 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37138 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37139
37140 [BZ #17589]
37141 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37142 of fgets_unlocked.
37143
37144 [BZ #17585]
37145 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37146 (memmem): Rename to __memmem and define as weak alias of
37147 __memmem. Use libc_hidden_weak.
37148 (__memmem): Use libc_hidden_def.
37149 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
37150 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37151 memmem.
37152
37153 [BZ #17582]
37154 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37155 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
37156 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37157 and define as weak alias of __fgets_unlocked. Use
37158 libc_hidden_weak.
37159 (__fgets_unlocked): Use libc_hidden_def.
37160 * include/stdio.h (__fgets_unlocked): Declare. Use
37161 libc_hidden_proto.
37162 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37163 __fgets_unlocked instead of fgets_unlocked.
37164 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37165 (GET_NPROCS_CONF_PARSER): Likewise.
37166 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37167 (GET_NPROCS_CONF_PARSER): Likewise.
37168
37169 [BZ #17574]
37170 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37171 weak alias of __wmemset. Use libc_hidden_weak.
37172 (__wmemset): Use libc_hidden_def.
37173 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
37174 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37175 of wmemset.
37176
37177 [BZ #17573]
37178 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37179 with asm name __mempcpy.
37180 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37181
37182 [BZ #17572]
37183 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37184 and define as weak alias of __rawmemchr.
37185 (__rawmemchr): Do not define as strong alias of rawmemchr.
37186
37187 [BZ #17571]
37188 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37189 alias of __qsort_r.
37190 (qsort): Call __qsort_r instead of qsort_r.
37191 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37192 (__qsort_r): Declare. Call libc_hidden_proto.
37193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37194 instead of qsort_r.
37195 * nscd/gai.c (__qsort_r): Define to qsort_r.
37196 * posix/tst-rfc3484.c (__qsort_r): Likewise.
37197 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37198 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37199
37200 [BZ #17570]
37201 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37202 define as weak alias of __malloc_info.
37203
37204 [BZ #17584]
37205 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37206 as weak alias of __rewinddir. Don't use libc_hidden_def.
37207 (__rewinddir): Use libc_hidden_def.
37208 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37209 as weak alias of __rewinddir. Don't use libc_hidden_def.
37210 (__rewinddir): Use libc_hidden_def.
37211 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37212 weak alias of __rewinddir. Don't use libc_hidden_def.
37213 (__rewinddir): Use libc_hidden_def.
37214 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37215 (__rewinddir): Use libc_hidden_proto.
37216 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37217 rewinddir.
37218 (__getcwd): Use __rewinddir instead of rewinddir.
37219
37220 [BZ #17583]
37221 * libio/fileno.c (fileno): Rename to __fileno and define as weak
37222 alias of __fileno. Use libc_hidden_weak.
37223 (__fileno): Use libc_hidden_def.
37224 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37225 * libio/ftello.c (ftello): Rename to __ftello and define as weak
37226 alias of __ftello.
37227 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37228 __ftello.
37229 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37230 (__fread_unlocked): Define as strong alias of _IO_fread. Use
37231 libc_hidden_def.
37232 (fread_unlocked): Don't use libc_hidden_ver.
37233 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37234 and define as weak alias of __fread_unlocked. Don't use
37235 libc_hidden_def.
37236 (__fread_unlocked): Use libc_hidden_def.
37237 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
37238 (ftello): Don't use libc_hidden_proto.
37239 (__ftello): Declare. Use libc_hidden_proto.
37240 (fread_unlocked): Don't use libc_hidden_proto.
37241 (__fread_unlocked): Declare. Use libc_hidden_proto.
37242 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37243 and __ftello instead of fileno, fread_unlocked and ftello.
37244
37245 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37246
37247 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37248 GOT12.
37249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37250 Likewise.
37251 (_dl_start_user): Likewise.
37252 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37253
37254 2014-11-12 Carlos O'Donell <carlos@redhat.com>
37255 Siddhesh Poyarekar <siddhesh@redhat.com>
37256
37257 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37258 Move argv and envp down instead of moving argc up.
37259 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37260
37261 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
37262
37263 [BZ #17506]
37264 * test-skeleton.c (main): Return successful if one of
37265 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37266 * string/tst-strcoll-overflow.c: Define expected status.
37267
37268 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
37269
37270 [BZ #17475]
37271 * locale/iso-639.def: Define Bhili and Tulu language codes.
37272
37273 2014-11-11 Alan Hayward <alan.hayward@arm.com>
37274
37275 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37276
37277 2014-11-10 Renlin Li <Renlin.Li@arm.com>
37278
37279 [BZ #17555]
37280 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37281
37282 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
37283
37284 * configure.ac: Updated check of minimal required version to
37285 2.22.
37286 * manual/install.texi (Tools for Compilation): Updated version
37287 number.
37288 * configure: Regenerated.
37289 * INSTALL: Likewise.
37290
37291 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
37292
37293 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37294 __tls_get_addr.
37295
37296 2014-11-07 Joseph Myers <joseph@codesourcery.com>
37297
37298 * include/sys/wait.h (__libc_waitpid): Remove declaration.
37299 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37300 (__waitpid): Don't define as alias. Use libc_hidden_def not
37301 libc_hidden_weak.
37302 (waitpid): Define as alias of __waitpid.
37303 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37304 __waitpid.
37305 (__waitpid): Don't define as alias. Use libc_hidden_def not
37306 libc_hidden_weak.
37307 (waitpid): Define as alias of __waitpid.
37308 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37309 __libc_waitpid alias.
37310 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37311 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37312 Likewise.
37313 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37314 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37315 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37316 alias.
37317 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37318 __waitpid.
37319 (__waitpid): Don't define as alias. Use libc_hidden_def not
37320 libc_hidden_weak.
37321 (waitpid): Define as alias of __waitpid.
37322
37323 2014-11-06 Carlos O'Donell <carlos@redhat.com>
37324
37325 * manual/llio.texi: Add comment that write safety has been
37326 fixed in Linux.
37327
37328 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37329 (localplt-build-dso): Add elf/ld.so.
37330 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37331 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37332 and free for ld.so.
37333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37334 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37336 Likewise.
37337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37338 Likewise.
37339 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37340 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37341 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37342 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37343 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37344 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37345 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37346 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37347 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37348 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37349 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37350
37351 2014-11-05 Joseph Myers <joseph@codesourcery.com>
37352
37353 [BZ #14132]
37354 * include/libc-symbols.h (INTUSE): Remove macro.
37355 (INTDEF): Likewise.
37356 (INTVARDEF): Likewise.
37357 (_INTVARDEF): Likewise.
37358 (INTDEF2): Likewise.
37359 (INTVARDEF2): Likewise.
37360 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37361 rtld_hidden_def instead of INTVARDEF.
37362 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37363 (_dl_starting_up_internal): Remove declaration.
37364 (_dl_starting_up): Use rtld_hidden_proto.
37365 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37366 declaration.
37367 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37368 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37369 _dl_starting_up.
37370 * elf/dl-writev.h (_dl_writev): Likewise.
37371 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37372 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37373 _dl_starting_up_internal.
37374
37375 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37376
37377 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37378 test-skeleton.c.
37379
37380 2014-11-05 Will Newton <will.newton@linaro.org>
37381
37382 * benchtests/Makefile: (bench-malloc): Add malloc thread
37383 scalability benchmark.
37384 * benchtests/bench-malloc-threads.c: New file.
37385
37386 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
37387
37388 * sysdeps/aarch64/strchrnul.S: New file.
37389
37390 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37391
37392 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37393 definition.
37394 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37395 Likewise.
37396 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37397 Likewise.
37398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37399 Likewise.
37400 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37401 Likewise.
37402 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37403 Likewise.
37404
37405 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
37406
37407 * catgets/test-gencat.c: Use test-skeleton.c.
37408 * catgets/tst-catgets.c: Likewise.
37409 * csu/tst-empty.c: Likewise.
37410 * elf/tst-audit2.c: Likewise.
37411 * elf/tst-global1.c: Likewise.
37412 * elf/tst-pathopt.c: Likewise.
37413 * elf/tst-piemod1.c: Likewise.
37414 * elf/tst-tls10.c: Likewise.
37415 * elf/tst-tls11.c: Likewise.
37416 * elf/tst-tls12.c: Likewise.
37417 * gnulib/tst-gcc.c: Likewise.
37418 * iconvdata/tst-e2big.c: Likewise.
37419 * iconvdata/tst-loading.c: Likewise.
37420 * iconv/tst-iconv1.c: Likewise.
37421 * iconv/tst-iconv2.c: Likewise.
37422 * inet/test-inet6_opt.c: Likewise.
37423 * inet/tst-gethnm.c: Likewise.
37424 * inet/tst-network.c: Likewise.
37425 * inet/tst-ntoa.c: Likewise.
37426 * intl/tst-codeset.c: Likewise.
37427 * intl/tst-gettext2.c: Likewise.
37428 * intl/tst-gettext3.c: Likewise.
37429 * intl/tst-ngettext.c: Likewise.
37430 * intl/tst-translit.c: Likewise.
37431 * io/test-stat.c: Likewise.
37432 * libio/test-fmemopen.c: Likewise.
37433 * libio/tst-freopen.c: Likewise.
37434 * libio/tst-sscanf.c: Likewise.
37435 * libio/tst-ungetwc1.c: Likewise.
37436 * libio/tst-ungetwc2.c: Likewise.
37437 * libio/tst-widetext.c: Likewise.
37438 * localedata/tst-ctype.c: Likewise.
37439 * localedata/tst-digits.c: Likewise.
37440 * localedata/tst-leaks.c: Likewise.
37441 * localedata/tst-mbswcs1.c: Likewise.
37442 * localedata/tst-mbswcs2.c: Likewise.
37443 * localedata/tst-mbswcs3.c: Likewise.
37444 * localedata/tst-mbswcs4.c: Likewise.
37445 * localedata/tst-mbswcs5.c: Likewise.
37446 * localedata/tst-setlocale.c: Likewise.
37447 * localedata/tst-trans.c: Likewise.
37448 * localedata/tst-wctype.c: Likewise.
37449 * localedata/tst-xlocale1.c: Likewise.
37450 * login/tst-grantpt.c: Likewise.
37451 * malloc/tst-calloc.c: Likewise.
37452 * malloc/tst-malloc.c: Likewise.
37453 * malloc/tst-mallocstate.c: Likewise.
37454 * malloc/tst-mcheck.c: Likewise.
37455 * malloc/tst-mtrace.c: Likewise.
37456 * malloc/tst-obstack.c: Likewise.
37457 * math/atest-exp2.c: Likewise.
37458 * math/atest-exp.c: Likewise.
37459 * math/atest-sincos.c: Likewise.
37460 * math/test-matherr.c: Likewise.
37461 * math/test-misc.c: Likewise.
37462 * math/test-powl.c: Likewise.
37463 * math/tst-definitions.c: Likewise.
37464 * misc/tst-dirname.c: Likewise.
37465 * misc/tst-efgcvt.c: Likewise.
37466 * misc/tst-fdset.c: Likewise.
37467 * misc/tst-hsearch.c: Likewise.
37468 * misc/tst-mntent2.c: Likewise.
37469 * nptl/tst-sem7.c: Likewise.
37470 * nptl/tst-sem8.c: Likewise.
37471 * nptl/tst-sem9.c: Likewise.
37472 * nss/test-netdb.c: Likewise.
37473 * posix/tst-fnmatch.c: Likewise.
37474 * posix/tst-getlogin.c: Likewise.
37475 * posix/tst-gnuglob.c: Likewise.
37476 * posix/tst-mmap.c: Likewise.
37477 * pwd/tst-getpw.c: Likewise.
37478 * resolv/tst-inet_ntop.c: Likewise.
37479 * rt/tst-timer.c: Likewise.
37480 * stdio-common/test-fseek.c: Likewise.
37481 * stdio-common/test-popen.c: Likewise.
37482 * stdio-common/test-vfprintf.c: Likewise.
37483 * stdio-common/tst-cookie.c: Likewise.
37484 * stdio-common/tst-fileno.c: Likewise.
37485 * stdio-common/tst-gets.c: Likewise.
37486 * stdio-common/tst-obprintf.c: Likewise.
37487 * stdio-common/tst-perror.c: Likewise.
37488 * stdio-common/tst-sprintf2.c: Likewise.
37489 * stdio-common/tst-sprintf3.c: Likewise.
37490 * stdio-common/tst-sprintf.c: Likewise.
37491 * stdio-common/tst-swprintf.c: Likewise.
37492 * stdio-common/tst-tmpnam.c: Likewise.
37493 * stdio-common/tst-unbputc.c: Likewise.
37494 * stdio-common/tst-wc-printf.c: Likewise.
37495 * stdlib/tst-environ.c: Likewise.
37496 * stdlib/tst-fmtmsg.c: Likewise.
37497 * stdlib/tst-limits.c: Likewise.
37498 * stdlib/tst-rand48-2.c: Likewise.
37499 * stdlib/tst-rand48.c: Likewise.
37500 * stdlib/tst-random2.c: Likewise.
37501 * stdlib/tst-random.c: Likewise.
37502 * stdlib/tst-strtol.c: Likewise.
37503 * stdlib/tst-strtoll.c: Likewise.
37504 * stdlib/tst-tls-atexit.c: Likewise.
37505 * stdlib/tst-xpg-basename.c: Likewise.
37506 * string/test-ffs.c: Likewise.
37507 * string/tst-bswap.c: Likewise.
37508 * string/tst-inlcall.c: Likewise.
37509 * string/tst-strtok.c: Likewise.
37510 * string/tst-strxfrm.c: Likewise.
37511 * sysdeps/x86_64/tst-audit10.c: Likewise.
37512 * sysdeps/x86_64/tst-audit3.c: Likewise.
37513 * sysdeps/x86_64/tst-audit4.c: Likewise.
37514 * sysdeps/x86_64/tst-audit5.c: Likewise.
37515 * time/tst-ftime_l.c: Likewise.
37516 * time/tst-getdate.c: Likewise.
37517 * time/tst-mktime3.c: Likewise.
37518 * time/tst-mktime.c: Likewise.
37519 * time/tst-posixtz.c: Likewise.
37520 * time/tst-strptime2.c: Likewise.
37521 * time/tst-strptime3.c: Likewise.
37522 * wcsmbs/tst-btowc.c: Likewise.
37523 * wcsmbs/tst-mbrtowc.c: Likewise.
37524 * wcsmbs/tst-mbsrtowcs.c: Likewise.
37525 * wcsmbs/tst-wchar-h.c: Likewise.
37526 * wcsmbs/tst-wcpncpy.c: Likewise.
37527 * wcsmbs/tst-wcrtomb.c: Likewise.
37528 * wcsmbs/tst-wcsnlen.c: Likewise.
37529 * wcsmbs/tst-wcstof.c: Likewise.
37530
37531 2014-11-04 Joseph Myers <joseph@codesourcery.com>
37532
37533 [BZ #14132]
37534 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37535 INTDEF.
37536 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37537 declaration.
37538 (_dl_mcount): Use rtld_hidden_proto.
37539 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37540 _dl_mcount.
37541 * elf/rtld.c (_rtld_global_ro): Likewise.
37542
37543 [BZ #14132]
37544 * elf/dl-init.c (_dl_init): Don't use INTDEF.
37545 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37546 of _dl_init_internal.
37547 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37548 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37549 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37550 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37551 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37552 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37553 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37554 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37555 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37556 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37557 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37558 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37559 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37560 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37561 * sysdeps/tile/dl-start.S (_start): Likewise.
37562 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37563 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37564
37565 [BZ #14132]
37566 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37567 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37568 (rtld_progname): Make macro definition unconditional.
37569 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37570 INTDEF.
37571 (dlmopen_doit): Do not use INTUSE with _dl_argv.
37572 (dl_main): Likewise.
37573 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37574 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37575 instead of _dl_argv_internal.
37576 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37577 __GI__dl_argv instead of INTUSE(_dl_argv).
37578 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37579 __GI__dl_argv instead of _dl_argv_internal.
37580
37581 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37582 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37583 macro.
37584 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37585 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37586 New macro.
37587 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37588 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37589 macro.
37590 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37591 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37592
37593 2014-11-04 Andreas Schwab <schwab@suse.de>
37594
37595 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37596
37597 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37598
37599 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37600 mtvsrd instruction in binary form.
37601
37602 2014-11-03 Andreas Schwab <schwab@suse.de>
37603
37604 [BZ #17522]
37605 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37606 for less than MB_LEN_MAX use a local buffer of that size.
37607 * libio/tst-fputws.c: New file.
37608 * libio/Makefile (tests): Add tst-fputws.
37609
37610 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
37611
37612 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37613 the size of the fpu_fr.fpu_dregs[] array.
37614
37615 2014-11-01 Joseph Myers <joseph@codesourcery.com>
37616
37617 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37618 (__nanosleep): Do not define as alias.
37619 (nanosleep): Define as alias of __nanosleep.
37620 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37621 __libc_nanosleep name.
37622
37623 2014-10-31 Joseph Myers <joseph@codesourcery.com>
37624
37625 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37626 install.texi in comment.
37627
37628 2014-10-31 Torvald Riegel <triegel@redhat.com>
37629
37630 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37631 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37632 ... add here and use lwsync or sync ...
37633 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37634 ... and add here using lwsync.
37635
37636 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
37637
37638 * elf/dl-machine-reject-phdr.h: New file.
37639 * elf/dl-load.c: #include that.
37640 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37641 if that returned true.
37642
37643 2014-10-31 Roland McGrath <roland@hack.frob.com>
37644
37645 [BZ #17496]
37646 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37647 gen-as-const-headers chunk. Add a big scare comment after the last
37648 safe place to touch before-compile.
37649
37650 2014-10-31 Joseph Myers <joseph@codesourcery.com>
37651
37652 * manual/install.texi (Tools for Compilation): Update autoconf
37653 version requirements.
37654 * INSTALL: Regenerated.
37655
37656 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37657 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37658 (__libc_pselect): Likewise.
37659
37660 [BZ #14138]
37661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37665
37666 2014-10-31 Torvald Riegel <triegel@redhat.com>
37667
37668 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37669 correct barrier instruction.
37670 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37671 Likewise.
37672 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37673 Likewise.
37674
37675 2014-10-30 Roland McGrath <roland@hack.frob.com>
37676
37677 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37678 after defining inlines. Instead, just use parens to defeat macro
37679 expansion of __isctype in its declaration.
37680
37681 2014-10-30 Joseph Myers <joseph@codesourcery.com>
37682
37683 * include/sys/uio.h (__libc_readv): Remove declaration.
37684 (__libc_writev): Likewise.
37685 * misc/readv.c (__libc_readv): Rename to __readv.
37686 (__readv): Do not define as alias.
37687 (readv): Define as alias of __readv.
37688 * misc/writev.c (__libc_writev): Rename to __writev.
37689 (__writev): Do not define as alias.
37690 (writev): Define as alias of __writev.
37691 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37692 (__readv): Do not define as alias.
37693 (readv): Define unconditionally as alias of __readv.
37694 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37695 (__writev): Do not define as alias.
37696 (writev): Define unconditionally as alias of __writev.
37697 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37698 name.
37699 (writev): Do not define __libc_writev name.
37700
37701 2014-10-30 Roland McGrath <roland@hack.frob.com>
37702
37703 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37704 (convert_charseq): New function, broken out of ...
37705 (use_from_charmap): ... here. Call it.
37706 (use_to_charmap): Use convert_charseq and free instead of duplicating
37707 its code with a variable-length stack struct.
37708
37709 2014-10-30 Joseph Myers <joseph@codesourcery.com>
37710
37711 * include/fcntl.h (__libc_creat): Remove declaration.
37712 * io/creat.c (__libc_creat): Rename to creat.
37713 (creat): Do not define as alias.
37714 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37715 of creat instead of __libc_creat.
37716 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37717 to creat.
37718 (creat): Do not define as alias.
37719 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37720 __libc_creat.
37721 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37722 __libc_creat name.
37723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37724 Likewise.
37725
37726 2014-10-29 Carlos O'Donell <carlos@redhat.com>
37727
37728 * manual/llio.texi: Add comments discussing why write() may be
37729 considered MT-unsafe on Linux.
37730
37731 2014-10-28 Carlos O'Donell <carlos@redhat.com>
37732
37733 * dl-load.c (local_strdup): Remove.
37734 (expand_dynamic_string_token): Use __strdup.
37735 (decompose_rpath): Likewise.
37736 (_dl_map_object): Likewise.
37737
37738 2014-10-28 Joseph Myers <joseph@codesourcery.com>
37739
37740 [BZ #14132]
37741 * sysdeps/generic/unwind-dw2-fde.c
37742 (__register_frame_info_bases_internal): Do not declare.
37743 (__register_frame_info_table_bases_internal): Likewise.
37744 (__deregister_frame_info_bases_internal): Likewise.
37745 (__register_frame_info_bases): Declare and use hidden_proto before
37746 definition. Use hidden_def instead of INTDEF.
37747 (__register_frame_info_table_bases): Likewise.
37748 (__deregister_frame_info_bases): Likewise.
37749 (__register_frame_info): Do not use INTUSE.
37750 (__register_frame): Likewise.
37751 (__register_frame_info_table): Likewise.
37752 (__register_frame_table): Likewise.
37753 (__deregister_frame_info): Likewise.
37754 (__deregister_frame): Likewise.
37755
37756 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
37757
37758 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37759 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37760 not undefine.
37761 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37762 Likewise.
37763 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37764 Likewise.
37765
37766 2014-10-27 Joseph Myers <joseph@codesourcery.com>
37767
37768 [BZ #14138]
37769 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37770 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37771 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37772 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37773 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37774 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37775 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37776 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37777 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37778 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37779 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37780 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37781 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37782 syscall.
37783 (setfsuid): Likewise.
37784 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37785 (setfsuid): Likewise.
37786 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37787 (setfsuid): Likewise.
37788 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37789 Likewise.
37790 (setfsuid): Likewise.
37791 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37792 (setfsuid): Likewise.
37793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37794 Likewise.
37795 (setfsuid): Likewise.
37796
37797 2014-10-27 Andreas Schwab <schwab@suse.de>
37798
37799 [BZ #17501]
37800 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37801 check for Slow_SSE4_2 feature bit.
37802 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37803 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37804 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37805 Likewise. Fix check for Fast_Unaligned_Load feature bit.
37806
37807 2014-10-24 Roland McGrath <roland@hack.frob.com>
37808
37809 * configure.ac: Validate compiler version with a empirical test of
37810 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37811 $CC -v output.
37812 * configure: Regenerated.
37813
37814 * inet/htons.c (htons): Prototypify.
37815 * inet/htonl.c (htonl): Likewise.
37816
37817 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37818
37819 * string/strncat.c (strncat): Improve performance by using strlen.
37820
37821 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37822
37823 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37824
37825 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37826
37827 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37828 Call libc_fetestexcept_aarch64.
37829
37830 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37831
37832 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37833 Call libc_feholdexcept_aarch64.
37834
37835 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37836
37837 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37838 Call get_rounding_mode.
37839
37840 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37841
37842 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37843 Simplify logic.
37844
37845 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
37846
37847 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37848 Simplify logic.
37849
37850 2014-10-24 Joseph Myers <joseph@codesourcery.com>
37851
37852 [BZ #14138]
37853 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37854 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37855 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37856 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37857 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37858 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37859 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37860 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37861 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37862 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37863 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37864 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37865 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37866 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37867 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37868 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37869 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37870 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37871 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37872 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37873 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37874 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37875 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37876 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37877 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37878 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37879 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37880 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37881 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37882 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37883 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37884 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37885 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37886 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37887 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37890 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37892 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37893 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37894 syscall.
37895 (geteuid): Likewise.
37896 (getgid): Likewise.
37897 (getuid): Likewise.
37898 (getresgid): Likewise.
37899 (getresuid): Likewise.
37900 (getgroups): Likewise.
37901 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37902 (geteuid): Likewise.
37903 (getgid): Likewise.
37904 (getuid): Likewise.
37905 (getresgid): Likewise.
37906 (getresuid): Likewise.
37907 (getgroups): Likewise.
37908 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37909 (geteuid): Likewise.
37910 (getgid): Likewise.
37911 (getuid): Likewise.
37912 (getresgid): Likewise.
37913 (getresuid): Likewise.
37914 (getgroups): Likewise.
37915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37916 Likewise.
37917 (geteuid): Likewise.
37918 (getgid): Likewise.
37919 (getuid): Likewise.
37920 (getresgid): Likewise.
37921 (getresuid): Likewise.
37922 (getgroups): Likewise.
37923 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37924 (geteuid): Likewise.
37925 (getgid): Likewise.
37926 (getuid): Likewise.
37927 (getresgid): Likewise.
37928 (getresuid): Likewise.
37929 (getgroups): Likewise.
37930 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37931 Likewise.
37932 (geteuid): Likewise.
37933 (getgid): Likewise.
37934 (getuid): Likewise.
37935 (getgroups): Likewise.
37936
37937 [BZ #14138]
37938 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37939 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37940 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37941 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37942 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37944 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37945 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37946 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37947 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37948 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37949 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37950 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37951 __chown.
37952 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37953 (lchown): Likewise.
37954 (fchown): Likewise.
37955 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37956 Likewise.
37957 (lchown): Likewise.
37958 (fchown): Likewise.
37959 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37960 (lchown): Likewise.
37961 (fchown): Likewise.
37962 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37963 Likewise.
37964 (lchown): Likewise.
37965 (fchown): Likewise.
37966
37967 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
37968
37969 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37970 Simplify logic.
37971
37972 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
37973
37974 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37975 Cleanup logic.
37976
37977 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
37978
37979 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37980 Remove unused include.
37981
37982 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
37983
37984 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37985 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37986 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37987 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37988
37989 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
37990 Helge Deller <deller@gmx.de>
37991
37992 [BZ #17508]
37993 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37994 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37995 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37996
37997 2014-10-23 Joseph Myers <joseph@codesourcery.com>
37998
37999 [BZ #14132]
38000 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38001 Remove macro definition.
38002 (__ashrdi3_v_glibc20): Likewise.
38003 (__lshrdi3_v_glibc20): Likewise.
38004 (__cmpdi2_v_glibc20): Likewise.
38005 (__ucmpdi2_v_glibc20): Likewise.
38006 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38007 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38008 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38009 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38010 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38011 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38012
38013 2014-10-22 Roland McGrath <roland@hack.frob.com>
38014
38015 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38016 old GNU extension [0] syntax.
38017 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38018 alloca rather than an array member with variable length.
38019 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38020 * nscd/nscd.c (invalidate_db): New function, broken out of ...
38021 (parse_opt): ... here. Likewise use alloca there.
38022 Validate the -i argument before checking for rootness.
38023 (send_shutdown): New function, broken out of ...
38024 (parse_opt): ... here.
38025
38026 2014-10-22 Roland McGrath <roland@hack.frob.com>
38027
38028 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38029 macro to get at the _rt_local_ro field.
38030 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38031 ([PIC] case) or _dl_hwcap ([!PIC] case).
38032 * sysdeps/arm/setjmp.S: Likewise.
38033
38034 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38035 * sysdeps/arm/configure.ac: New check to define it.
38036 * sysdeps/arm/configure: Regenerated.
38037 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38038 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38039 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38040 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38041 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38042 Use move/movt pair instead of a load.
38043 (LDST_GLOBAL): Macro removed.
38044 (LDR_GLOBAL): New macro replaces it.
38045 (LDR_HIDDEN): New macro.
38046 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38047 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38048
38049 * setjmp/tst-setjmp-static.c: New file.
38050 * setjmp/Makefile (tests): Add it.
38051 (tests-static): New variable.
38052
38053 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
38054
38055 [BZ #17485]
38056 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38057
38058 2014-10-21 Joseph Myers <joseph@codesourcery.com>
38059
38060 [BZ #14132]
38061 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38062
38063 2014-10-21 Roland McGrath <roland@hack.frob.com>
38064
38065 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38066
38067 2014-10-20 Roland McGrath <roland@hack.frob.com>
38068
38069 * io/fts.c (dirent_not_directory): New function.
38070 (fts_build): Call it.
38071
38072 2014-10-20 Roland McGrath <roland@hack.frob.com>
38073
38074 * nptl/version.c (__nptl_main): Use normal __write rather than
38075 INTERNAL_SYSCALL.
38076 (banner): Update copyright years.
38077
38078 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38079 gettimeofday.
38080 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38081 * nptl/pthread_cond_timedwait.c: Likewise.
38082 * nptl/pthread_mutex_timedlock.c: Likewise.
38083 * nptl/sem_timedwait.c: Likewise.
38084
38085 * sysdeps/nptl/bits/libc-lock.h
38086 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38087 (__libc_lock_init_recursive): Return void, not 0.
38088 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38089 (__libc_rwlock_init): Likewise.
38090 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38091
38092 2014-10-20 Torvald Riegel <triegel@redhat.com>
38093
38094 [BZ #15215]
38095 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38096 (__pthread_once_slow): ... here.
38097 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38098 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38099
38100 2014-10-20 Torvald Riegel <triegel@redhat.com>
38101
38102 [BZ #15215]
38103 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38104 __PTHREAD_ONCE_FORK_GEN_INCR): New.
38105 * sysdeps/nptl/fork.c (__libc_fork): Use them.
38106 * nptl/pthread_once.c (__pthread_once): Likewise.
38107 Update comments.
38108
38109 2014-10-20 Joseph Myers <joseph@codesourcery.com>
38110
38111 [BZ #14138]
38112 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38113 name.
38114 (writev): Use __libc_writev as strong name.
38115 * sysdeps/unix/sysv/linux/readv.c: Remove file.
38116 * sysdeps/unix/sysv/linux/writev.c: Likewise.
38117
38118 2014-10-17 Roland McGrath <roland@hack.frob.com>
38119
38120 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38121
38122 * sysdeps/i386/nptl/tls.h
38123 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38124 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38125 New macros.
38126 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38127 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38128 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38129 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38130 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38131 Call CHECK_THREAD_SYSINFO instead of doing an assert.
38132
38133 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38134 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38135 on [__NR_futex].
38136 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38137 broken out of ...
38138 (__pthread_mutex_init): ... here. Call it.
38139 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38140 Conditionalize PI cases on [__NR_futex].
38141 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38142 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38143 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38144
38145 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38146 conditional on [SIGSETXID].
38147 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38148 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38149 is defined. Likewise for SIGSETXID.
38150 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38151 Conditionalize definitions on [SIGSETXID].
38152 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38153 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38154 unblocking on [SIGCANCEL].
38155
38156 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38157 [__NR_set_robust_list].
38158
38159 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38160
38161 * string/strcoll_l.c (get_next_seq): Fix up formatting.
38162 (do_compare): Likewise.
38163
38164 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
38165
38166 [BZ #15884]
38167 * string/strcoll_l.c: Don't include stdio.h.
38168 (coll_seq): Remove members idxarr and rulearr.
38169 (get_next_seq_cached): Remove function.
38170 (get_next_seq): Likewise.
38171 (get_next_seq_nocache): Rename to get_next_seq.
38172 (do_compare): Remove function.
38173 (do_compare_nocache): Rename to do_compare.
38174 (STRCOLL): Remove weight and rules cache.
38175
38176 2014-10-16 Roland McGrath <roland@hack.frob.com>
38177
38178 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38179 * sysdeps/arm/sfp-machine.h: ... to here.
38180 * sysdeps/arm/Implies: Remove arm/soft-fp.
38181
38182 2014-10-14 Joseph Myers <joseph@codesourcery.com>
38183
38184 * conform/data/sys/utsname.h-data (*_t): Allow.
38185 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38186 [POSIX] (WEXITED): Do not expect constant.
38187 [POSIX] (WSTOPPED): Likewise.
38188 [POSIX] (WNOHANG): Likewise.
38189 [POSIX] (WNOWAIT): Likewise.
38190 [POSIX] (siginfo_t): Do not expect type or elements.
38191 [POSIX] (pid_t): Do not expect type.
38192 [POSIX] (signal.h): Do not allow header.
38193 [POSIX] (sys/resource.h): Likewise.
38194 [POSIX] (si_*): Do not allow pattern.
38195 [POSIX] (W*): Likewise.
38196 [POSIX] (P_*): Likewise.
38197 [POSIX] (BUS_*): Likewise.
38198 [POSIX] (CLD_*): Likewise.
38199 [POSIX] (FPE_*): Likewise.
38200 [POSIX] (ILL_*): Likewise.
38201 [POSIX] (POLL_*): Likewise.
38202 [POSIX] (SEGV_*): Likewise.
38203 [POSIX] (SI_*): Likewise.
38204 [POSIX] (TRAP_*): Likewise.
38205 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38206 variable.
38207
38208 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
38209
38210 [BZ #12926]
38211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38212 infinite loop when __recvmsg returns 0.
38213
38214 2014-10-10 Joseph Myers <joseph@codesourcery.com>
38215
38216 * CANCEL-FCT-WAIVE: Remove file.
38217 * CANCEL-FILE-WAIVE: Likewise.
38218
38219 [BZ #14132]
38220 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38221 instead of INTVARDEF.
38222 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38223 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38224 rtld_hidden_data_def instead of INTVARDEF.
38225 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38226 * elf/dl-deps.c (expand_dst): Likewise.
38227 * elf/dl-load.c (_dl_dst_count): Likewise.
38228 (_dl_dst_substitute): Likewise.
38229 (decompose_rpath): Likewise.
38230 (_dl_init_paths): Likewise.
38231 (open_path): Likewise.
38232 (_dl_map_object): Likewise.
38233 * elf/rtld.c (dl_main): Likewise.
38234 (process_dl_audit): Likewise.
38235 (process_envvars): Likewise.
38236 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38237 Remove declaration.
38238 (__libc_enable_secure): Use rtld_hidden_proto.
38239
38240 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
38241
38242 * elf/dl-load.c
38243 (add_path): New function broken out of _dl_rtld_di_serinfo.
38244 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
38245
38246 2014-10-09 Joseph Myers <joseph@codesourcery.com>
38247
38248 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38249 parentheses around macro arguments.
38250 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38253 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38254 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38255 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38256 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38257 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38258 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38259 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38261 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38262 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38263 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38264 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38265 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38266 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38267 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38268 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38271 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38272 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38273 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38274 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38275 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38276 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38279 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38280 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38281 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38282 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38283 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38284 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38285 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38286 Likewise.
38287 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38288 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38292 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38293 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38294 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38295 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38296 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38297 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38298 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38299 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38300 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38301 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38302 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38303 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38304 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38305 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38306 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38308 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38309 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38310 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38311 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38312 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38313 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38314 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38315 (_FP_FRAC_SRS_1): Likewise.
38316 (_FP_FRAC_CLZ_1): Likewise.
38317 (_FP_MUL_MEAT_1_imm): Likewise.
38318 (_FP_MUL_MEAT_1_wide): Likewise.
38319 (_FP_MUL_MEAT_1_hard): Likewise.
38320 (_FP_SQRT_MEAT_1): Likewise.
38321 (_FP_FRAC_ASSEMBLE_1): Likewise.
38322 (_FP_FRAC_DISASSEMBLE_1): Likewise.
38323 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38324 (__FP_CLZ_2): Likewise.
38325 (_FP_MUL_MEAT_2_wide): Likewise.
38326 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38327 (_FP_MUL_MEAT_2_gmp): Likewise.
38328 (_FP_MUL_MEAT_2_120_240_double): Likewise.
38329 (_FP_SQRT_MEAT_2): Likewise.
38330 (_FP_FRAC_ASSEMBLE_2): Likewise.
38331 (_FP_FRAC_DISASSEMBLE_2): Likewise.
38332 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38333 (_FP_FRAC_CLZ_4): Likewise.
38334 (_FP_MUL_MEAT_4_wide): Likewise.
38335 (_FP_MUL_MEAT_4_gmp): Likewise.
38336 (_FP_SQRT_MEAT_4): Likewise.
38337 (_FP_FRAC_ASSEMBLE_4): Likewise.
38338 (_FP_FRAC_DISASSEMBLE_4): Likewise.
38339 * soft-fp/op-common.h (_FP_CMP): Likewise.
38340 (_FP_CMP_EQ): Likewise.
38341 (_FP_CMP_UNORD): Likewise.
38342 (_FP_TO_INT): Likewise.
38343 (_FP_FROM_INT): Likewise.
38344 [!__FP_CLZ] (__FP_CLZ): Likewise.
38345 (_FP_DIV_HELP_imm): Likewise.
38346 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38347 Likewise.
38348 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38349 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38350 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38351 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38352 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38353 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38354 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38355 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38356 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38357 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38358 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38359 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38360 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38361 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38362 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38363 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38364 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38365 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38366 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38367 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38368 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38369 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38372 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38373 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38374 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38377 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38378 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38379 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38380 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38381 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38382 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38383 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38384 (FP_UNPACK_RAW_SP): Likewise.
38385 (FP_PACK_RAW_S): Likewise.
38386 (FP_PACK_RAW_SP): Likewise.
38387 (FP_UNPACK_S): Likewise.
38388 (FP_UNPACK_SP): Likewise.
38389 (FP_UNPACK_SEMIRAW_S): Likewise.
38390 (FP_UNPACK_SEMIRAW_SP): Likewise.
38391 (FP_PACK_S): Likewise.
38392 (FP_PACK_SP): Likewise.
38393 (FP_PACK_SEMIRAW_S): Likewise.
38394 (FP_PACK_SEMIRAW_SP): Likewise.
38395 (_FP_SQRT_MEAT_S): Likewise.
38396 (FP_CMP_S): Likewise.
38397 (FP_CMP_EQ_S): Likewise.
38398 (FP_CMP_UNORD_S): Likewise.
38399 (FP_TO_INT_S): Likewise.
38400 (FP_FROM_INT_S): Likewise.
38401
38402 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38403
38404 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38405 (FP_EX_INVALID_IMZ): Likewise.
38406 (FP_EX_INVALID_IMZ_FMA): Likewise.
38407 (FP_EX_INVALID_ISI): Likewise.
38408 (FP_EX_INVALID_ZDZ): Likewise.
38409 (FP_EX_INVALID_IDI): Likewise.
38410 (FP_EX_INVALID_SQRT): Likewise.
38411 (FP_EX_INVALID_CVI): Likewise.
38412 (FP_EX_INVALID_VC): Likewise.
38413 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38414 "invalid" exceptions.
38415 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38416 (_FP_ADD_INTERNAL): Likewise.
38417 (_FP_MUL): Likewise.
38418 (_FP_FMA): Likewise.
38419 (_FP_DIV): Likewise.
38420 (_FP_CMP_CHECK_NAN): Likewise.
38421 (_FP_SQRT): Likewise.
38422 (_FP_TO_INT): Likewise.
38423 (FP_EXTEND): Likewise.
38424
38425 2014-10-09 Allan McRae <allan@archlinux.org>
38426
38427 * po/fr.po: Update French translation from translation project.
38428
38429 2014-10-09 Joseph Myers <joseph@codesourcery.com>
38430
38431 [BZ #14132]
38432 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38433 of INTDEF.
38434 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38435 (__cxa_atexit): Use libc_hidden_proto.
38436 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38437
38438 [BZ #14132]
38439 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38440 declaration.
38441 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38442 [!_ISOMAC] (__iswspace_l_internal): Likewise.
38443 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38444 [!_ISOMAC] (__iswctype_internal): Likewise.
38445 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38446 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38447 alias.
38448 (fcntl): Remove __fcntl_internal alias.
38449 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38450 __connect_internal alias.
38451 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38452 Likewise.
38453
38454 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38455 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38456 FP_DENORM_ZERO.
38457 (_FP_CHECK_FLUSH_ZERO): New macro.
38458 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38459 (_FP_CMP): Likewise.
38460 (_FP_CMP_EQ): Likewise.
38461 (_FP_TO_INT): Do not set inexact for subnormal arguments if
38462 FP_DENORM_ZERO.
38463 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38464 (FP_TRUNC): Likewise.
38465
38466 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38467 treated as invalid conversion, not as normal exponent.
38468
38469 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38470 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
38471 (_FP_CMP_EQ): Likewise.
38472 (_FP_CMP_UNORD): Likewise.
38473 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38474 (FP_CMP_EQ_D): Likewise.
38475 (FP_CMP_UNORD_D): Likewise.
38476 * soft-fp/extended.h (FP_CMP_E): Likewise.
38477 (FP_CMP_EQ_E): Likewise.
38478 (FP_CMP_UNORD_E): Likewise.
38479 * soft-fp/quad.h (FP_CMP_Q): Likewise.
38480 (FP_CMP_EQ_Q): Likewise.
38481 (FP_CMP_UNORD_Q): Likewise.
38482 * soft-fp/single.h (FP_CMP_S): Likewise.
38483 (FP_CMP_EQ_S): Likewise.
38484 (FP_CMP_UNORD_S): Likewise.
38485 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38486 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38487 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38488 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38489 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38490 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38491 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38492 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38493 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38494 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38495 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38496 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38497 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38498 to FP_CMP_Q.
38499 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38500 FP_CMP_Q.
38501 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38502 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38503 FP_CMP_EQ_Q.
38504 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38505 FP_CMP_Q.
38506 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38507 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38508 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38509 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38510 FP_CMP_EQ_Q.
38511 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38512 FP_CMP_Q.
38513 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38514 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38515 FP_CMP_EQ_Q.
38516 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38517 FP_CMP_Q.
38518 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38519 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38520 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38521 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38522 FP_CMP_EQ_Q.
38523
38524 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38525 a subnormal result, set the underflow exception if trapping on
38526 underflow is enabled.
38527 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38528 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38529 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38530 redefine to 0.
38531 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38532 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38533 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38534 * soft-fp/extendxftf2.c (__extendxftf2): Use
38535 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38536
38537 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38538 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38539 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38540 FP_HANDLE_EXCEPTIONS.
38541 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38542 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38543 FP_HANDLE_EXCEPTIONS.
38544 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38545 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38546 FP_HANDLE_EXCEPTIONS.
38547 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38548 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38549 FP_HANDLE_EXCEPTIONS.
38550
38551 2014-10-08 Joseph Myers <joseph@codesourcery.com>
38552
38553 [BZ #14132]
38554 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38555 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38556 use INTUSE.
38557 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38558 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38559 Remove alias.
38560 (__adjtimex): Define using libc_hidden_ver.
38561 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38562 Remove declaration.
38563 (ntp_gettime): Call __adjtimex directly.
38564 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38565 Remove declaration.
38566 (ntp_gettimex): Call __adjtimex directly.
38567 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38568 __adjtimex_internal alias.
38569
38570 2014-10-08 Roland McGrath <roland@hack.frob.com>
38571
38572 [BZ #17460]
38573 * nscd/nscd.c (more_help): Rewrite list of tables collection
38574 using xstrdup and asprintf.
38575
38576 * nscd/nscd_conf.c: Remove local xstrdup declaration.
38577
38578 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
38579 Roland McGrath <roland@hack.frob.com>
38580
38581 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38582 (do_lookup_unique): ... local function 'enter' here; update callers.
38583
38584 2014-10-06 Joseph Myers <joseph@codesourcery.com>
38585
38586 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38587 compat_symbol calls on [SHARED].
38588 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38589 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38590 Remove.
38591 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38592 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38593 (oldsetrlimit): Remove.
38594 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38596 (lchown): New syscall entry.
38597 (oldsetrlimit): Remove.
38598 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38599 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38600 (oldsetrlimit): Remove.
38601 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38602
38603 [BZ #14138]
38604 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38605 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38606 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38607 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38609 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38610 (fchown): Likewise.
38611 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38612 (fchown): Likewise.
38613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38614 Likewise.
38615
38616 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38617
38618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38619 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38620 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38621 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38622 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38623 Likewise.
38624 (__old_sem_post): Likewise.
38625
38626 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
38627
38628 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38629 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38630 HAVE_CLOCK_GETTIME_VSYSCALL macros.
38631 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38632 Use INLINE_VSYSCALL macro.
38633 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38634 __vdso_clock_gettime.
38635 * sysdeps/unix/sysv/linux/tile/init-first.c
38636 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38637 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38638 __vdso_clock_gettime.
38639
38640 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38641 to set up frame more cleanly.
38642
38643 * sysdeps/tile/memcmp.c: New file.
38644
38645 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38646
38647 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38648 * sysdeps/tile/tilegx/strcasestr.c: New file.
38649 * sysdeps/tile/tilegx/strnlen.c: New file.
38650 * sysdeps/tile/tilegx/strstr.c: New file.
38651
38652 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38653
38654 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
38655
38656 * nptl/tst-setuid3.c: Write errors to stdout.
38657
38658 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
38659
38660 * elf/dl-deps.c
38661 (preload): New functions broken out of _dl_map_object_deps.
38662 (_dl_map_object_deps): Remove a nested function. Update call sites.
38663
38664 2014-10-01 Joseph Myers <joseph@codesourcery.com>
38665
38666 [BZ #14138]
38667 * sysdeps/unix/sysv/linux/execve.c: Remove file.
38668 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38669
38670 2014-10-01 Steve Ellcey <sellcey@mips.com>
38671
38672 * sysdeps/mips/strcmp.S: New.
38673
38674 2014-09-30 Joseph Myers <joseph@codesourcery.com>
38675
38676 [BZ #14138]
38677 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38678 (linkat): Likewise.
38679 (mkdirat): Likewise.
38680 (readlinkat): Likewise.
38681 (renameat): Likewise.
38682 (symlinkat): Likewise.
38683 (unlinkat): Likewise.
38684 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38685 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38686 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38687 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38688 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38689 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38690 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38691
38692 2014-09-30 Will Newton <will.newton@linaro.org>
38693
38694 * math/math.h: Define long double math functions if
38695 _LIBC_TEST is defined.
38696 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38697
38698 * localedata/Makefile: Move assignment to tests-special
38699 into an ifdef testing run-built-tests.
38700 * timezone/Makefile: Likewise.
38701
38702 2014-09-29 Joseph Myers <joseph@codesourcery.com>
38703
38704 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38705 with $(BASH) not $(SHELL).
38706
38707 2014-09-29 Carlos O'Donell <carlos@redhat.com>
38708 Matthew LeGendre <legendre1@llnl.gov>
38709
38710 [BZ #17411]
38711 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38712 l_reloc_result.
38713
38714 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
38715
38716 * stdio-common/printf_fp.c
38717 (hack_digit): New function, broken out of ...
38718 (__printf_fp): ... local function here. Update call sites.
38719 hack_digit now takes an additional parameter that is a pointer
38720 to a struct of the referenced locals. Those locals moved inside
38721 the struct and references updated.
38722
38723 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
38724
38725 * aclocal.m4: Require autoconf 2.69.
38726 * configure: Regenerated.
38727 * sysdeps/aarch64/configure: Likewise.
38728 * sysdeps/alpha/configure: Likewise.
38729 * sysdeps/arm/armv7/configure: Likewise.
38730 * sysdeps/arm/configure: Likewise.
38731 * sysdeps/ia64/configure: Likewise.
38732 * sysdeps/mach/configure: Likewise.
38733 * sysdeps/mips/configure: Likewise.
38734 * sysdeps/s390/configure: Likewise.
38735 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38737
38738 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38739 file.
38740 * sysdeps/ia64/configure.ac: Likewise.
38741
38742 2014-09-26 Joseph Myers <joseph@codesourcery.com>
38743
38744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38745 specify symbol version for ld.so. Do not include entry for
38746 libpthread.
38747 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38748 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38750
38751 [BZ #14171]
38752 * Makeconfig [$(build-shared) = yes]
38753 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38754 makefiles.
38755 [$(build-shared) = yes && $(soversions.mk-done) = t]
38756 ($(common-objpfx)gnu/lib-names.h): Remove rule.
38757 [$(build-shared) = yes && $(soversions.mk-done) = t]
38758 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
38759 to Makerules.
38760 [$(build-shared) = yes && $(soversions.mk-done) = t]
38761 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38762 here.
38763 [$(build-shared) = yes && $(soversions.mk-done) = t]
38764 (common-generated): Don't append gnu/lib-names.h and
38765 gnu/lib-names.stmp here.
38766 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38767 (lib-names-h-abi): New variable.
38768 [$(build-shared) = yes && $(soversions.mk-done) = t]
38769 (lib-names-stmp-abi): Likewise.
38770 [$(build-shared) = yes && $(soversions.mk-done) = t &&
38771 abi-variants] (before-compile): Append
38772 $(common-objpfx)$(lib-names-h-abi).
38773 [$(build-shared) = yes && $(soversions.mk-done) = t &&
38774 abi-variants] (common-generated): Append gnu/lib-names.h.
38775 [$(build-shared) = yes && $(soversions.mk-done) = t &&
38776 abi-variants] (install-others-nosubdir): Depend on
38777 $(inst_includedir)/$(lib-names-h-abi).
38778 [$(build-shared) = yes && $(soversions.mk-done) = t &&
38779 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38780 [$(build-shared) = yes && $(soversions.mk-done) = t]
38781 ($(common-objpfx)$(lib-names-h-abi)): New rule.
38782 [$(build-shared) = yes && $(soversions.mk-done) = t]
38783 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38784 [$(build-shared) = yes && $(soversions.mk-done) = t]
38785 (common-generated): Append $(lib-names-h-abi) and
38786 $(lib-names-stmp-abi).
38787 * scripts/lib-names.awk: Do not handle multi being set.
38788 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38789 Remove variable.
38790 (abi-lp64_be-ld-soname): Likewise.
38791 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38792 Likewise.
38793 (abi-hard-ld-soname): Likewise.
38794 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38795 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38796 Remove variable.
38797 (abi-o32_hard-ld-soname): Likewise.
38798 (abi-o32_soft_2008-ld-soname): Likewise.
38799 (abi-o32_hard_2008-ld-soname): Likewise.
38800 (abi-n32_soft-ld-soname): Likewise.
38801 (abi-n32_hard-ld-soname): Likewise.
38802 (abi-n32_soft_2008-ld-soname): Likewise.
38803 (abi-n32_hard_2008-ld-soname): Likewise.
38804 (abi-n64_soft-ld-soname): Likewise.
38805 (abi-n64_hard-ld-soname): Likewise.
38806 (abi-n64_soft_2008-ld-soname): Likewise.
38807 (abi-n64_hard_2008-ld-soname): Likewise.
38808 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38809 Likewise.
38810 (abi-64-v2-ld-soname): Likewise.
38811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38812 ld.so entries.
38813 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38814 variable.
38815 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38816 entry.
38817 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38818 variable.
38819 (abi-64-ld-soname): Likewise.
38820 (abi-x32-ld-soname): Likewise.
38821 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38822 entry.
38823 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38824
38825 2014-09-23 Joseph Myers <joseph@codesourcery.com>
38826
38827 [BZ #14138]
38828 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38829 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38830 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38831 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38832 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38833 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38834 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38835 syscall entry for GLIBC_2.2 symbol version.
38836 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38837 Likewise.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38839 (setrlimit): Likewise.
38840 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38841 Likewise.
38842
38843 2014-09-23 Will Newton <will.newton@linaro.org>
38844
38845 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38846 _LINUX_ARM_SYSDEP_H include guard too.
38847 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38848 define.
38849
38850 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
38851
38852 * sysdeps/unix/sysv/linux/eventfd.c:
38853 Make first argument unsigned.
38854 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38855 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38856
38857 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
38858
38859 [BZ #16852]
38860 * socket/recvmmsg.c (recvmmsg): Drop const argument.
38861 * socket/sys/socket.h: Likewise.
38862 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38863
38864 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38865
38866 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38867
38868 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
38869
38870 * time/tst-ftime.c: New test.
38871 * time/Makefile (tests): Add tst-ftime.
38872
38873 2014-09-17 Joseph Myers <joseph@codesourcery.com>
38874
38875 * soft-fp/extended.h: Fix comment formatting.
38876 * soft-fp/op-1.h: Likewise.
38877 * soft-fp/op-2.h: Likewise.
38878 * soft-fp/op-4.h: Likewise.
38879 * soft-fp/op-8.h: Likewise.
38880 * soft-fp/op-common.h: Likewise.
38881 * soft-fp/soft-fp.h: Likewise.
38882
38883 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38884
38885 2014-09-16 Joseph Myers <joseph@codesourcery.com>
38886
38887 [BZ #6652]
38888 * Makeconfig (soversions-default-setname): Remove variable.
38889 ($(common-objpfx)soversions.i): Don't pass default_setname to
38890 soversions.awk.
38891 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38892 oldest_abi to abi-versions.awk.
38893 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38894 * config.make.in (oldest-abi): Remove variable.
38895 * configure.ac (--enable-oldest-abi): Remove configure option.
38896 * configure: Regenerated.
38897 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38898 text.
38899 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38900 * scripts/soversions.awk: Do not handle default_setname variable.
38901 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38902 variable.
38903 * sysdeps/mach/hurd/configure: Regenerated.
38904 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38905 variable.
38906 * sysdeps/unix/sysv/linux/configure: Regenerated.
38907
38908 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38909
38910 * elf/Makefile (CFLAGS-interp.c): Remove.
38911 ($(elf-objpfx)runtime-linker.h): Generate header with linker
38912 path string.
38913 * elf/interp.c: Include generated runtime-linker.h
38914
38915 * Makerules (lib%.so): Don't include $(+interp) in
38916 prerequisites.
38917 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38918 * dlfcn/eval.c: Remove file.
38919
38920 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38921 macros.
38922
38923 [BZ #17266]
38924 * misc/sys/cdefs.h: Define __extern_always_inline for clang
38925 4.2 and newer.
38926
38927 [BZ #17370]
38928 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38929
38930 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38931 Jakub Jelinek <jakub@redhat.com>
38932
38933 [BZ #17266]
38934 * libio/stdio.h: Check definition of __fortify_function
38935 instead of __extern_always_inline to include bits/stdio2.h.
38936 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38937 check if __extern_always_inline is defined.
38938 [__USE_MISC || __USE_XOPEN]: Likewise.
38939 [__USE_ISOC99] Likewise.
38940 * misc/sys/cdefs.h (__fortify_function): Define only if
38941 __extern_always_inline is defined.
38942 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38943 __extern_always_inline and __extern_inline only for g++-4.3
38944 and newer or a compatible gcc.
38945
38946 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
38947
38948 [BZ #17371]
38949 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38950 last change to handle zero prefix length.
38951
38952 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38953
38954 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38955 _SC_REGEX_VERSION.
38956
38957 * posix/getconf.c (vars): Add _POSIX_IPV6 and
38958 _POSIX_RAW_SOCKETS.
38959
38960 2014-09-13 Allan McRae <allan@archlinux.org>
38961
38962 * po/ru.po: Update Russian translation from translation project.
38963
38964 2014-09-12 Roland McGrath <roland@hack.frob.com>
38965
38966 * locale/programs/locale.c (show_locale_vars): Inline local function
38967 into its sole call site. Clean up some style nits.
38968 (print_item): New function, broken out of ...
38969 (show_info): ... local function here. Clean up style nits.
38970
38971 * locale/programs/ld-ctype.c (set_one_default): New function, broken
38972 out of ...
38973 (set_class_defaults): ... local function set_default here.
38974 Define set_default as a macro locally to pass constant parameters.
38975 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38976 rather than a shared local.
38977
38978 * stdlib/rpmatch.c (try): New function, broken out of ...
38979 (rpmatch): ... local function here. Also, prototypify definition.
38980
38981 2014-09-12 Joseph Myers <joseph@codesourcery.com>
38982
38983 * scripts/soversions.awk: Do not handle configuration names.
38984 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38985 vendor and os variables to soversions.awk.
38986 * configure.ac: Do not modify gnu-* host_os.
38987 * configure: Regenerated
38988 * shlib-versions: Remove first column with configuration names.
38989 * nptl/shlib-versions: Likewise.
38990 * nptl_db/shlib-versions: Likewise.
38991 * sysdeps/hppa/shlib-versions: Likewise.
38992 * sysdeps/m68k/shlib-versions: Likewise.
38993 * sysdeps/mach/hurd/shlib-versions: Likewise.
38994 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38995 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38996 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38997 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38998 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38999 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39000 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39001 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39003 Likewise.
39004 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39005 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39006 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39007 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39008 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39009 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39010 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39011 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39012
39013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39014 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39016 Regenerated.
39017 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39019 Condition symbol version definitions on [HAVE_ELFV2_ABI].
39020
39021 * shlib-versions: Remove OS-specific entries. Moved to files in
39022 sysdeps.
39023 * sysdeps/mach/hurd/shlib-versions: New file.
39024 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39025
39026 * nptl/shlib-versions: Remove architecture-specific entries.
39027 Moved to files in sysdeps.
39028 * shlib-versions: Likewise.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39030 file.
39031 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39032 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39033 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39034 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39035
39036 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39037 (UDP_NO_CHECK6_RX): Likewise.
39038
39039 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
39040
39041 * sysdeps/posix/sysconf.c (__sysconf): Spell
39042 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39043
39044 2014-08-12 Florian Weimer <fweimer@redhat.com>
39045
39046 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39047 loading.
39048 * iconv/Versions (__gconv_transliterate): Export for use from
39049 gconv modules.
39050 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39051 (struct __gconv_trans_data, __gconv_trans_fct,
39052 __gconv_trans_context_fct, __gconv_trans_query_fct,
39053 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39054 definitions.
39055 (struct __gconv_step_data): Remove __trans member.
39056 (__gconv_transliterate): Declaration moved from gconv_int.h. No
39057 longer hidden. Remove unused trans_data argument.
39058 * iconv/gconv_int.h (struct trans_struct): Remove definition.
39059 (__gconv_translit_find): Remove declaration.
39060 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
39061 prototype.
39062 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39063 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39064 trans_data argument. Add hidden definition.
39065 (__gconv_translit_find): Remove.
39066 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39067 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39068 * iconv/skeleton.c: Remove transliteration initialization.
39069 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39070 __gconv_step_data initialization.
39071 * libio/iofwide.c (__libio_translit_): Remove.
39072 (_IO_fwide): Adjust struct __gconv_step_data initialization.
39073 * wcsmbs/btowc.c (__btowc): Likewise.
39074 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39075 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39076 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39077 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39078 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39079 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39080 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39081 * wcsmbs/wctob.c (wctob): Likewise.
39082
39083 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
39084
39085 [BZ #16194]
39086 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39087 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
39088 register usage.
39089 * sysdeps/x86/Makefile: Adjust.
39090
39091 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
39092 Roland McGrath <roland@hack.frob.com>
39093
39094 * locale/weight.h: Add include guard.
39095 (findidx): Make static rather than auto; take new parameters
39096 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39097 * locale/weightwc.h: Likewise.
39098 * posix/fnmatch_loop.c
39099 (FCT): Change type of EXTRA from int32_t to wint_t.
39100 Don't include either header inside the function.
39101 Call FINDIDX rather than findidx, and pass new arguments.
39102 #undef FINDIDX at the end of the file.
39103 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39104 FINDIDX before including fnmatch_loop.c for the non-wide version.
39105 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39106 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39107 for the wide version.
39108 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39109 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39110 Pass new arguments to findidx.
39111 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39112 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39113 Don't #include it inside the function. Pass new arguments to findidx.
39114 * posix/regex_internal.h
39115 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39116 (re_string_elem_size_at): Don't #include it inside the function.
39117 Pass new arguments to findidx.
39118 * string/strcoll_l.c: #include WEIGHT_H at top level.
39119 (get_next_seq): Don't #include it inside the function.
39120 Pass new arguments to findidx.
39121 (get_next_seq_nocache): Likewise.
39122 * string/strxfrm_l.c: #include WEIGHT_H at top level.
39123 (STRXFRM): Don't #include it inside the function.
39124 Pass new arguments to findidx.
39125
39126 2014-09-11 Florian Weimer <fweimer@redhat.com>
39127
39128 [BZ #17344]
39129 * malloc/malloc.c (unlink): Turn asserts into a call to
39130 malloc_printerr.
39131
39132 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
39133
39134 [BZ #17370]
39135 * libio/wfileops (do_ftell_wide): Free OUT.
39136
39137 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
39138
39139 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39140
39141 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39142
39143 [BZ #17363]
39144 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39145 group if the current group is empty.
39146
39147 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39148
39149 * benchtests/bench-memset.c (test_main): Add more test from size
39150 from 32 to 512 bytes.
39151 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39152 Add POWER8 memset object.
39153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39154 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39155 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39156 implementation.
39157 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39158 Likewise.
39159 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39160 multiarch POWER8 memset optimization.
39161 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39162 POWER8 memset optimization.
39163
39164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39165 Remove bzero multiarch objects.
39166 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39169 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39170 Remove define.
39171 [__bzero]: Redefine to specific name.
39172 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39173 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39174 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39175 define.
39176 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39177 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39178
39179 2014-09-10 Florian Weimer <fweimer@redhat.com>
39180
39181 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39182 warnings into errors.
39183
39184 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39185 __cxa_thread_atexit_impl prototype.
39186
39187 2014-09-09 Steve Ellcey <sellcey@mips.com>
39188
39189 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39190 Fix capitalization of error message.
39191
39192 2014-09-09 Steve Ellcey <sellcey@mips.com>
39193
39194 * sysdeps/mips/preconfigure: Modify ABI tests.
39195
39196 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
39197
39198 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39199
39200 2014-09-07 Roland McGrath <roland@hack.frob.com>
39201 Carlos O'Donell <carlos@systemhalted.org>
39202
39203 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39204 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39205 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39206 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39207 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39208 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39209 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39210 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39211 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39212 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39213 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39214 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39215 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39216 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39217 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39218 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39219 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39220 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39221 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39222 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39223 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39224 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39225 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39226 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39227 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39228 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39229 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39230 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39231 Deconditionalize the code that was previously under [RESET_PID].
39232 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39233 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39234 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39235 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39236 include sysdep.h.
39237
39238 2014-09-08 Allan McRae <allan@archlinux.org>
39239
39240 * version.h (RELEASE): Set to "development".
39241 (VERSION): Set to "2.20.90"
39242
39243 2014-09-07 Allan McRae <allan@archlinux.org
39244
39245 * version.h (RELEASE): Set to "stable".
39246 (VERSION): Set to "2.20"
39247 * include/features.h (__GLIBC_MINOR__): Set to 20.
39248
39249 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39250 Liebler.
39251
39252 * po/ko.po: Update Korean translation from translation project.
39253
39254 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
39255
39256 [BZ #17354]
39257 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39258 macro for handling signed relocations.
39259
39260 2014-09-03 Florian Weimer <fweimer@redhat.com>
39261
39262 [BZ #17325]
39263 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39264 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39265 assert.
39266 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39267 * iconvdata/ibm935.c (BODY): Likewise.
39268 * iconvdata/ibm937.c (BODY): Likewise.
39269 * iconvdata/ibm939.c (BODY): Likewise.
39270 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39271 assert.
39272 * iconvdata/Makefile (iconv-test.out): Pass module list to test
39273 script.
39274 * iconvdata/run-iconv-test.sh: New test loop for checking for
39275 decoder crashers.
39276
39277 2014-09-02 Khem Raj <raj.khem@gmail.com>
39278
39279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39280 libm_hidden_ver.
39281
39282 2014-09-01 Allan McRae <allan@archlinux.org>
39283
39284 * po/eo.po: Update Esperanto translation from translation project.
39285
39286 * po/ca.po: Update Catalan translation from translation project.
39287
39288 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
39289
39290 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39291 __proc_dostop call.
39292
39293 2014-08-27 Mark Wielaard <mjw@redhat.com>
39294
39295 [BZ #17319]
39296 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39297 to call set_thread_area instead of hand written asm.
39298 (__NR_set_thread_area): Removed define.
39299 (TLS_FLAG_WRITABLE): Likewise.
39300 (__ASSUME_SET_THREAD_AREA): Remove check.
39301 (TLS_EBX_ARG): Remove define.
39302 (TLS_LOAD_EBX): Likewise.
39303
39304 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
39305
39306 Simplify atomicity of socket creation in bind.
39307
39308 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39309 looking up the name after linking the file.
39310
39311 2014-08-27 Allan McRae <allan@archlinux.org>
39312
39313 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39314
39315 2014-08-26 Florian Weimer <fweimer@redhat.com>
39316
39317 [BZ #17187]
39318 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39319 trans_compare, open_translit, __gconv_translit_find):
39320 Remove module loading code.
39321
39322 2014-08-26 Allan McRae <allan@archlinux.org>
39323
39324 * po/vi.po: Update Vietnamese translation from translation project.
39325
39326 * po/uk.po: Update Ukrainian translation from translation project.
39327
39328 * po/fr.po: Update French translation from translation project.
39329
39330 * po/ru.po: Update Russian translation from translation project.
39331
39332 * po/pl.po: Update Polish translation from translation project.
39333
39334 * po/cs.po: Update Czech translation from translation project.
39335
39336 * po/de.po: Update German translation from translation project.
39337
39338 * po/bg.po: Update Bulgarian translation from translation project.
39339
39340 * po/sv.po: Update Sweedish translation from translation project.
39341
39342 * po/nl.po: Update Dutch translation from translation project.
39343
39344 * po/es.po: Update Spanish translation from translation project.
39345
39346 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39347
39348 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39349
39350 * catgets/Makefile (CPPFLAGS-gencat): Remove.
39351 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39352 (CPPFLAGS-iconvconfig): Likewise.
39353 * timezone/Makefile (CPPFLAGS-zic): Likewise.
39354
39355 * include/libc-symbols.h: Remove unnecessary check for
39356 NOT_IN_libc.
39357 * nptl/pthreadP.h: Likewise.
39358 * sysdeps/aarch64/setjmp.S: Likewise.
39359 * sysdeps/alpha/setjmp.S: Likewise.
39360 * sysdeps/arm/sysdep.h: Likewise.
39361 * sysdeps/i386/setjmp.S: Likewise.
39362 * sysdeps/m68k/setjmp.c: Likewise.
39363 * sysdeps/posix/getcwd.c: Likewise.
39364 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39365 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39366 * sysdeps/s390/s390-32/setjmp.S: Likewise.
39367 * sysdeps/s390/s390-64/setjmp.S: Likewise.
39368 * sysdeps/sh/sh3/setjmp.S: Likewise.
39369 * sysdeps/sh/sh4/setjmp.S: Likewise.
39370 * sysdeps/unix/alpha/sysdep.h: Likewise.
39371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39373 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39374 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39382 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39384 * sysdeps/x86_64/setjmp.S: Likewise.
39385
39386 2014-08-13 Joseph Myers <joseph@codesourcery.com>
39387
39388 [BZ #17263]
39389 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39390 <stdint.h>.
39391 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39392 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39393
39394 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39395
39396 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39397
39398 [BZ #17262]
39399 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39400 and __x86_64__ when disabling x87 inline functions.
39401
39402 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
39403
39404 [BZ #17259]
39405 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39406 asm statement with __cpuid_count.
39407
39408 2014-08-12 Mike Frysinger <vapier@gentoo.org>
39409
39410 * configure.ac: Change __ehdr_start code to dereference the struct.
39411 Run readelf on the output to look for relocations.
39412 * configure: Regenerated.
39413
39414 2014-08-12 Joseph Myers <joseph@codesourcery.com>
39415
39416 [BZ #17261]
39417 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39418 value to 0.
39419 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39420
39421 2014-08-12 Roland McGrath <roland@hack.frob.com>
39422
39423 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39424
39425 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
39426
39427 [BZ #16892]
39428 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39429 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39430
39431 2014-08-12 Sean Anderson <seanga2@gmail.com>
39432
39433 * malloc/malloc.c: Fix typo in comment.
39434
39435 2014-08-09 Allan McRae <allan@archlinux.org>
39436
39437 * Regenerate libc.po.
39438
39439 2014-08-08 Mike Frysinger <vapier@gentoo.org>
39440
39441 * intl/tst-gettext2.sh: Check every lang file for creation.
39442
39443 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
39444
39445 * sysdeps/aarch64/fpu/math_private.h
39446 (libc_feholdsetround_noex_aarch64_ctx): New function.
39447
39448 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
39449
39450 * sysdeps/arm/armv6/strcpy.S (strcpy):
39451 Fix performance issue in misaligned cases.
39452
39453 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39454
39455 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39456 Move definition from termios.h.
39457 (struct termio): Likewise.
39458 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39459 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39460 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39461 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39462 Likewise.
39463 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39464 Move definition to ioctl-types.h
39465 (struct termio): Likewise.
39466 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39467 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39468 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39469 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39470 Likewise.
39471
39472 2014-08-05 Richard Henderson <rth@redhat.com>
39473
39474 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39475 exceptions.
39476 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39477 Add fraiseexcpt.
39478 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39479 Use __feraiseexcept.
39480 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39481 Protect libm symbols with IS_IN_libm.
39482
39483 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39484
39485 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
39486
39487 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39488
39489 2014-08-04 Will Newton <will.newton@linaro.org>
39490
39491 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39492 file.
39493
39494 2014-08-04 Mike Frysinger <vapier@gentoo.org>
39495
39496 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39497 variants for each function.
39498
39499 2014-08-04 Roland McGrath <roland@hack.frob.com>
39500
39501 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39502 appended ...
39503 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39504 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39505 appended ...
39506 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39507 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39508 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39509 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39510 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39511 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39512 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39513 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39514 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39515 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39516 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39517 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39518 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39519 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39520 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39521 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39522 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39523 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39524 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39525 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39526 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39527 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39528 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39529 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39530 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39531 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39532 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39533 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39534 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39535 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39536 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39537 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39538 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39539 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39540 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39541 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39542 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39543 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39544 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39545 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39546 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39547 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39548 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39549 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39550 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39551 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39552 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39554 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39556 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39557 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39558 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39559 Update #include.
39560 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39561 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39562
39563 2014-08-04 Roland McGrath <roland@hack.frob.com>
39564
39565 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39566 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39567 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39568 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39569 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39570 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39571
39572 2014-08-04 Roland McGrath <roland@hack.frob.com>
39573
39574 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39575 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39576 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39577 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39578
39579 2014-08-04 Roland McGrath <roland@hack.frob.com>
39580
39581 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39582 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39583 (__libc_vfork): Define function under this name.
39584 (__vfork): Define as an alias.
39585 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39586 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39587
39588 2014-08-04 Roland McGrath <roland@hack.frob.com>
39589
39590 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39591 that was previously under [RESET_PID].
39592 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39593
39594 2014-08-04 Andreas Schwab <schwab@suse.de>
39595
39596 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39597
39598 2014-08-03 Mike Frysinger <vapier@gentoo.org>
39599
39600 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39601 (main): Likewise.
39602
39603 2014-08-01 Roland McGrath <roland@hack.frob.com>
39604
39605 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39606
39607 2014-08-01 Richard Henderon <rth@redhat.com>
39608
39609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39610 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39611 typo in exact zero test.
39612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39613 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39615
39616 2014-08-01 Roland McGrath <roland@hack.frob.com>
39617
39618 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39619 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39620 * sysdeps/arm/sysdep.h: ... here.
39621 [!__ASSEMBLER__]: Include <stdint.h>.
39622
39623 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39624
39625 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39626 (HAVE_WCTYPE_H): Likewise.
39627 (HAVE_ISWCTYPE): Likewise.
39628 (ENABLE_NLS): Likewise.
39629 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39630 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39631
39632 * posix/regex_internal.c: Check if DEBUG is defined and is
39633 set.
39634
39635 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39636 (HAVE_MBSRTOWCS): Likewise.
39637 * posix/fnmatch.c: Include string.h unconditionally.
39638
39639 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
39640
39641 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39642 reversal.
39643
39644 2014-07-31 Roland McGrath <roland@hack.frob.com>
39645
39646 * sysdeps/generic/safe-fatal.h: New file.
39647 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39648 * nptl/forward.c: Include it.
39649 (__pthread_unwind): Use __safe_fatal as default action, rather
39650 than a bogus use of INTERNAL_SYSCALL that could never work.
39651
39652 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39653 * configure.ac (libc_cv_builtin_trap): New test.
39654 * configure: Regenerated.
39655 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39656 (ABORT_INSTRUCTION): Define using __builtin_trap.
39657
39658 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39659 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39660 * sysdeps/nptl/nptl-signals.h: New file.
39661 * nptl/pthreadP.h: Include <nptl-signals.h>.
39662
39663 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
39664
39665 * sysdeps/s390/s390-64/utf16-utf32-z9.c
39666 (ONE_DIRECTION): Define.
39667 * sysdeps/s390/s390-64/utf8-utf16-z9.c
39668 (ONE_DIRECTION): Define.
39669 * sysdeps/s390/s390-64/utf8-utf32-z9.c
39670 (ONE_DIRECTION): Define.
39671
39672 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
39673
39674 * sysdeps/s390/Makefile: Delete file.
39675 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39676 * sysdeps/s390/__longjmp.c: Delete file.
39677 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39678 Remove fields __flags and __reserved.
39679 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39680 and add versioning.
39681 * sysdeps/s390/rtld-__longjmp.c: Delete file.
39682 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39683 * sysdeps/s390/rtld-setjmp.S: Likewise.
39684 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39685 * sysdeps/s390/s390-32/__longjmp.c: ... here.
39686 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39687 * sysdeps/s390/s390-32/setjmp.S: ... here.
39688 Add versioning.
39689 (__sigsetjmp): Remove setting __flags field.
39690 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39691 * sysdeps/s390/s390-64/__longjmp.c: ... here.
39692 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39693 * sysdeps/s390/s390-64/setjmp.S: ... here.
39694 Add versioning.
39695 (__sigsetjmp): Remove setting __flags field.
39696 * sysdeps/s390/setjmp.S: Delete file.
39697 * sysdeps/s390/sigjmp.c: Likewise.
39698 * sysdeps/s390/v1-longjmp.c: Likewise.
39699 * sysdeps/s390/v1-setjmp.h: Likewise.
39700 * sysdeps/s390/v1-sigjmp.c: Likewise.
39701 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39702 Remove v1-longjmp_chk.
39703 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39704 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39705 Include debug/longjmp_chk.c and add versioning.
39706 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39707 Include nptl/pt-longjmp.c and add versioning.
39708 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39709 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39710 Include __longjmp.c.
39711 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39712 Move to ...
39713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39714 (__getcontext): Remove setting __flags field.
39715 Add versioning.
39716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39717 Don't restore upper high grps.
39718 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39719 Likewise.
39720 (__swapcontext): Remove setting uc_flags field.
39721 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39722 Delete file.
39723 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39724 Include __longjmp.c.
39725 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39726 Move to ...
39727 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39728 (__getcontext): Remove setting __flags field.
39729 Add versioning.
39730 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39731 (__swapcontext): Remove setting uc_flags field.
39732 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39733 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39734 Remove fields uc_high_gprs and __reserved.
39735 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39736 New file with reverted content.
39737 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39738 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39739 Regenerated.
39740 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39741 Regenerated.
39742
39743 2014-07-31 Andreas Schwab <schwab@suse.de>
39744
39745 * config.h.in (HAVE_IFUNC): Define to 0.
39746 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39747 definedness.
39748
39749 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
39750
39751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39752 memmove-avx-unaligned, memcpy-avx-unaligned and
39753 mempcpy-avx-unaligned.
39754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39755 Add tests for AVX memcpy functions.
39756 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39757 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39758 memcpy_chk.
39759 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39760 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39761 memmove_chk.
39762 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39763 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39764 mempcpy_chk.
39765 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39766 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39767 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39768
39769 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39770
39771 [BZ #17213]
39772 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39773 powerpc64le.
39774
39775 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
39776
39777 [BZ #16839]
39778 * manual/llio.texi: Add section about open file description locks.
39779 * manual/examples/ofdlocks.c: Example of open file description
39780 lock usage.
39781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39782 F_OFD_SETLK, and F_OFD_SETLKW.
39783
39784 2014-07-23 Allan McRae <allan@archlinux.org>
39785
39786 * po/es.po: Update Spanish translation from translation project.
39787
39788 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
39789
39790 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39791
39792 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
39793
39794 [BZ #17078]
39795 * sysdeps/arm/dl-machine.h (elf_machine_rela)
39796 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39797 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39798
39799 2014-07-17 Joseph Myers <joseph@codesourcery.com>
39800
39801 [BZ #17088]
39802 * math/fesetenv.c (__fesetenv)
39803 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39804 * math/feupdateenv.c (__feupdateenv)
39805 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39806
39807 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39808 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39809 (__ASSUME_SOCKETCALL): Do not define.
39810
39811 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39812 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39813 (__ASSUME_SOCKETCALL): Do not define.
39814 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39815 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39816 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39817 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39818 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39819 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39820 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39821 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39822
39823 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39824 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39825 (__ASSUME_SOCKETCALL): Do not define.
39826 (__ASSUME_IPC64): Define unconditionally.
39827 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39828 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39829 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39830 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39831 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39832 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39833 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39834 Likewise.
39835
39836 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39837 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39838 (__ASSUME_SOCKETCALL): Do not define.
39839 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39840 (__ASSUME_FUTEX_LOCK_PI): Likewise.
39841 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39842 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39843 (__ASSUME_REQUEUE_PI): Define unconditionally.
39844 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39845 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39846 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39847 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39848 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39849 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39850
39851 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39852 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39853 (__ASSUME_SOCKETCALL): Do not define.
39854 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39855 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39856 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39857 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39858 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39859 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39860
39861 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39862 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39863 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39864 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39865 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39866 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39867 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39868 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39869 (__ASSUME_GETCPU_SYSCALL): Likewise.
39870
39871 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39872 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
39873 cases for individual architectures.
39874 * sysdeps/gnu/configure: Regenerated.
39875 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39876 LIBC_SLIBDIR_RTLDDIR.
39877 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39878 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39879 LIBC_SLIBDIR_RTLDDIR.
39880 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39882 LIBC_SLIBDIR_RTLDDIR.
39883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39884 Regenerated.
39885 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39886 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39887 file.
39888 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39889 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39890 file.
39891 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39892 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39893 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39894 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39895
39896 * sysdeps/aarch64/shlib-versions: Move to ...
39897 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39898 * sysdeps/alpha/shlib-versions: Move to ...
39899 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39900 * sysdeps/arm/shlib-versions: Move to ...
39901 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39902 * sysdeps/hppa/shlib-versions: Move all contents except for
39903 libgcc_s entry to ...
39904 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
39905 entry from ...
39906 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
39907 * sysdeps/ia64/shlib-versions: Move to ...
39908 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
39909 entry from ...
39910 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
39911 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39912 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39913 * sysdeps/microblaze/shlib-versions: Move to ...
39914 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39915 * sysdeps/mips/shlib-versions: Move to ...
39916 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
39917 entry from ...
39918 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
39919 * sysdeps/tile/shlib-versions: Move to ...
39920 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39921 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39922 from ...
39923 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
39924 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39925 entry from ...
39926 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
39927
39928 2014-07-17 Will Newton <will.newton@linaro.org>
39929
39930 * sysdeps/arm/bits/atomic.h
39931 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39932 (__arch_compare_and_exchange_bool_16_int): Likewise.
39933 (__arch_compare_and_exchange_bool_64_int): Likewise.
39934
39935 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39936 into an #else block.
39937
39938 2014-07-16 Roland McGrath <roland@hack.frob.com>
39939
39940 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39941 just Linux configurations. Test empirically that the compiler sets
39942 __ARM_EABI__, rather than using the tuple to decide.
39943 * sysdeps/arm/preconfigure: Regenerated.
39944 * sysdeps/unix/sysv/linux/arm/configure: File removed.
39945 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39946 contents appended ...
39947 * sysdeps/arm/configure.ac: ... here.
39948 * sysdeps/arm/configure: Regenerated.
39949
39950 2014-07-15 Roland McGrath <roland@hack.frob.com>
39951
39952 * nptl/pthread_kill.c: New file.
39953 * nptl/pthread_sigmask.c: New file.
39954 * nptl/pthread_sigqueue.c: New file.
39955
39956 * sysdeps/nptl/lowlevellock.h: New file.
39957 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39958 * sysdeps/nptl/lowlevellock-futex.h: New file.
39959
39960 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39961 Remove dead declarations.
39962
39963 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
39964
39965 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39966 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39967 config-cflags-avx2.
39968 * sysdeps/x86_64/configure.ac: Likewise.
39969 * sysdeps/i386/configure: Regenerated.
39970 * sysdeps/x86_64/configure: Likewise.
39971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39972 memset-avx2 only if config-cflags-avx2 is yes.
39973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39974 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39975 defined.
39976 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39977 only if HAVE_AVX2_SUPPORT is defined.
39978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39979
39980 2014-07-14 Alan Modra <amodra@gmail.com>
39981
39982 [BZ #17153]
39983 * elf/elf.h (DT_PPC64_NUM): Correct value.
39984 * NEWS: Add to fixed bug list.
39985
39986 2014-07-13 Jim Meyering <meyering@fb.com>
39987
39988 [BZ 17150]
39989 regex: don't deref NULL upon heap allocation failure
39990 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39991 failure in one more place.
39992 To trigger the segfault, configure grep -with-included-regex,
39993 build it, and run these commands:
39994 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39995
39996 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
39997
39998 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39999
40000 2014-07-11 Richard Henderson <rth@redhat.com>
40001
40002 * sysdeps/aarch64/libm-test-ulps: Update.
40003
40004 2014-07-10 Florian Weimer <fweimer@redhat.com>
40005
40006 [BZ #17135]
40007 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40008 * nptl/allocatestack.c (__nptl_setxid_error): New function.
40009 (__nptl_setxid): Initialize error member. Call
40010 __nptl_setxid_error.
40011 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40012 * nptl/descr.h (struct xid_command): Add error member.
40013 * nptl/tst-setuid3.c: New file.
40014 * nptl/Makefile (tests): Add it.
40015
40016 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40017
40018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40019 New define.
40020 (__lll_trylock): Use __lll_base_trylock.
40021 (__lll_cond_trylock): Likewise.
40022
40023 2014-07-10 Roland McGrath <roland@hack.frob.com>
40024
40025 * nptl/pthread_create.c (start_thread): Use atomic_or and
40026 lll_futex_wake directly rather than lll_robust_dead.
40027 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40028 (lll_robust_dead): Macro removed.
40029 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40032 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40034 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40035 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40037 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40039 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40044
40045 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40046 Use atomic_compare_and_exchange_val_acq directly rather than
40047 lll_robust_trylock.
40048 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40049 (__lll_robust_trylock, lll_robust_trylock): Removed.
40050 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40051 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40052 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40053 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40054 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40055 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40056 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40057 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40058 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40059 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40060 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40061 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40064
40065 2014-07-02 Florian Weimer <fweimer@redhat.com>
40066
40067 * manual/locale.texi (Locale Names): New section documenting
40068 locale name syntax. Adjust menu and node chaining accordingly.
40069 (Choosing Locale): Reference Locale Names, Locale Categories.
40070 Mention setting LC_ALL=C. Reflect that name syntax is now
40071 documented.
40072 (Locale Categories): New section title. Reference Locale Names.
40073 LC_ALL is an environment variable, but not a category.
40074 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40075 description, now in Locale Name. Reference that section. Locale
40076 name syntax is now documented.
40077
40078 2014-07-02 Florian Weimer <fweimer@redhat.com>
40079
40080 [BZ #17137]
40081 * locale/findlocale.c (name_present, valid_locale_name): New
40082 functions.
40083 (_nl_find_locale): Use the loc_name variable to store name
40084 candidates. Call name_present and valid_locale_name to check and
40085 validate locale names. Return an error if the locale is invalid.
40086
40087 2014-07-02 Florian Weimer <fweimer@redhat.com>
40088
40089 * locale/setlocale.c (setlocale): Use strdup for allocating
40090 composite name copy.
40091
40092 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40093
40094 Sync up with gnulib.
40095 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40096 [!_LIBC && ENABLE_NLS]: Include gettext.h.
40097 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40098 and _GL_ARG_NONNULL.
40099 [USE_UNLOCKED_IO]: Include unlocked-io.h.
40100 [!_LIBC]: Include code for Windows and Cygwin.
40101 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40102 Include prototype for int strerror_r.
40103 [!_LIBC] (is_open): New function.
40104 (flush_stdout): New function.
40105 (print_errno_message): Use it.
40106 (error): Likewise.
40107 (error_at_line): Likewise.
40108 (error_tail) Add function attribute macros. Use
40109 __builtin_expect.
40110
40111 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40112
40113 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40114
40115 * io/ftw.c: Include sys/param.h unconditionally.
40116
40117 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40118
40119 [BZ #17125]
40120 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40121 libc_freeres_ptr.
40122 (freecache): New function to free CACHE on exit.
40123
40124 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40125 initialization.
40126
40127 2014-07-09 David S. Miller <davem@davemloft.net>
40128
40129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40130
40131 * sysdeps/sparc/nptl/internaltypes.h: Delete.
40132 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40133 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40134 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40135 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40136 * sysdeps/sparc/nptl/sem_init.c: Likewise.
40137 * sysdeps/sparc/nptl/sem_post.c: Likewise.
40138 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40139 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40140 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40142 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40143 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40144
40145 2014-07-09 Andreas Schwab <schwab@suse.de>
40146
40147 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40148 output.
40149 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40150 (do_test): Likewise.
40151
40152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40153
40154 2014-07-09 Will Newton <will.newton@linaro.org>
40155
40156 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40157 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40158 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40159 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40160 * sysdeps/hppa/start.S (_start): Likewise.
40161
40162 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
40163
40164 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40165
40166 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40167 defined.
40168
40169 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40170
40171 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40172 after checking that it is non-NULL.
40173
40174 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40175
40176 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40177
40178 * sysdeps/powerpc/memmove.c: Remove file.
40179 * sysdeps/powerpc/powerpc32/power4/memcopy.h
40180 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40181 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40182 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40183 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40184 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40185 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40186 string memmove instead of removed powerpc one.
40187
40188 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40189 [weak_alias]: Fix compiler warning due trailing data.
40190 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40191 [weak_alias]: Likewise.
40192 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40193 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40194
40195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40196 (__libc_ifunc_impl_list): Add memmove functions.
40197
40198 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40199
40200 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40201 Remove code.
40202 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40203 Likewise.
40204 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40205 Likewise.
40206 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40207 Likewise.
40208 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40209 Likewise.
40210 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40211 Likewise.
40212 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40213 Likewise.
40214 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40215 Likewise.
40216 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40217 Likewise.
40218 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40219 Likewise.
40220 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40221 Likewise.
40222 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40223 Likewise.
40224 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40225 Likewise.
40226 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40227 Likewise.
40228 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40229 Likewise.
40230 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40231 Likewise.
40232 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40233 Likewise.
40234
40235 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40236
40237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40238 to avoid alignment traps in non-cacheable memory.
40239 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40240
40241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40242 multiarch objects.
40243 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40244 file: multiarch power7 memmove.
40245 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40246 multiarch default memmove.
40247 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40248 multiarch memove for powerpc32/power4.
40249
40250 * string/bcopy.c: Use full path to include memmove.c.
40251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40252 multiarch objects.
40253 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40254 bcopy for powerpc64.
40255 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40256 bcopy for powerpc64.
40257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40258 and memmove implementations.
40259 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40260 optimized multiarch memmove for POWER7/powerpc64.
40261 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40262 default multiarch memmove for powerpc64.
40263 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40264 multiarch for powerpc64.
40265 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40266 for POWER7/powerpc64.
40267 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40268 memmove for POWER7/powerpc64.
40269
40270 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40271 glibc default one.
40272
40273 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40274 __ELF_NATIVE_CLASS equal to 64.
40275
40276 2014-07-07 Roland McGrath <roland@hack.frob.com>
40277
40278 * sysdeps/nptl/lowlevellock.h: File removed.
40279
40280 * NEWS: NPTL is no longer an add-on!
40281 * nptl/internaltypes.h: Moved ...
40282 * sysdeps/nptl/internaltypes.h: ... here.
40283 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40284 * sysdeps/nptl/fork.c: Likewise.
40285 * sysdeps/nptl/gai_misc.h: Likewise.
40286 * sysdeps/nptl/librt-cancellation.c: Likewise.
40287 * sysdeps/nptl/jmp-unwind.c: Likewise.
40288 * sysdeps/nptl/setxid.h: Likewise.
40289 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40290 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40291 * sysdeps/unix/sysv/linux/arm/Implies: New file.
40292 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40293 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40294 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40295 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40296 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40297 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40298 * sysdeps/unix/sysv/linux/mips/Implies: New file.
40299 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40300 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40301 * sysdeps/unix/sysv/linux/sh/Implies: New file.
40302 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40303 * sysdeps/unix/sysv/linux/tile/Implies: New file.
40304 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40305 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40306 * nptl/Makeconfig: Moved ...
40307 * sysdeps/nptl/Makeconfig: ... here.
40308 * nptl/configure: File removed.
40309 * nptl/ANNOUNCE: File removed.
40310 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40311 * sysdeps/unix/sysv/linux/configure: Regenerated.
40312
40313 * nptl/Makefile (routines): Add libc_pthread_init,
40314 libc_multiple_threads, register-atfork and unregister-atfork.
40315 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40316 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40317 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40318 pthread-pi-defines.sym, structsem.sym.
40319 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40320 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40321 [$(subdir) = nptl] (tests): Add tst-setgetname.
40322 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40323 * sysdeps/unix/sysv/linux/sigaction.c: Just include
40324 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40325 [!LIBC_SIGACTION]: Remove aliases.
40326 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40327 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40328 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40329 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40330 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40331 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40334 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40335 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40336 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40337 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40338 __libc_allocate_rtsig_private.
40339 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40340 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40341 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40342 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40343 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40344 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40345 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40346 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40347 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40348 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40349 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40350 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40351 * nptl/internaltypes.h: ... here.
40352 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40353 * sysdeps/nptl/jmp-unwind.c: ... here.
40354 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40355 * nptl/libc-lowlevellock.c: ... here.
40356 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40357 * nptl/libc_multiple_threads.c: ... here.
40358 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40359 * nptl/libc_pthread_init.c: ... here.
40360 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40361 * nptl/lowlevelbarrier.sym: ... here.
40362 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40363 * nptl/lowlevelcond.sym: ... here.
40364 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40365 * nptl/lowlevellock.c: ... here.
40366 * nptl/lowlevellock.h: Moved ...
40367 * sysdeps/nptl/lowlevellock.h: ... here.
40368 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40369 * nptl/lowlevelrobustlock.c: ... here.
40370 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40371 * nptl/lowlevelrobustlock.sym: ... here.
40372 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40373 * nptl/lowlevelrwlock.sym: ... here.
40374 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40375 * nptl/pt-fork.c: ... here.
40376 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40377 * nptl/pthread-pi-defines.sym: ... here.
40378 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40379 * nptl/pthread_attr_getaffinity.c: ... here.
40380 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40381 * nptl/pthread_attr_setaffinity.c: ... here.
40382 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40383 * nptl/pthread_mutex_cond_lock.c: ... here.
40384 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40385 Update #include.
40386 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40387 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40388 * nptl/pthread_once.c: ... here, replacing old file.
40389 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40390 * nptl/pthread_yield.c: ... here.
40391 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40392 * nptl/register-atfork.c: ... here.
40393 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40394 * nptl/sem_post.c: ... here.
40395 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40396 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40397 * nptl/sem_timedwait.c: ... here.
40398 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40399 * nptl/sem_trywait.c: ... here.
40400 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40401 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40402 * nptl/sem_wait.c: ... here.
40403 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40404 * nptl/structsem.sym: ... here.
40405 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40406 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40407 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40408 * nptl/unregister-atfork.c: ... here.
40409 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40410 * nptl/unwindbuf.sym: ... here.
40411 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40412 * sysdeps/nptl/fork.c: ... here.
40413 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40414 * sysdeps/nptl/fork.h: ... here.
40415 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40416 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40417 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40418 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40419 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40420 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40421 * sysdeps/unix/sysv/linux/getpid.c: ... here.
40422 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40423 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40424 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40425 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40426 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40427 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40428 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40429 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40430 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40431 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40432 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40433 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40434 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40435 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40436 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40437 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40438 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40439 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40440 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40441 * sysdeps/unix/sysv/linux/raise.c: ... here.
40442 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40443 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40444 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40445 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40446 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40447 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40448 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40449 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40450 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40451 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40452 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40453 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40454 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40455 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40456 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40457
40458 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40459
40460 * sysdeps/generic/memcopy.h: Add comment for
40461 MEMCPY_OK_FOR_FWD_MEMMOVE.
40462
40463 2014-07-04 Will Newton <will.newton@linaro.org>
40464
40465 * string/memchr.c: Merge from gnulib.
40466 [_LIBC]: Remove conditionals.
40467 (__ptr_t): Remove define.
40468 (LONG_MAX_32_BITS): Likewise.
40469 (LONG_MAX): Likewise.
40470 (MEMCHR): Use ANSI prototype and optimize algorithm.
40471
40472 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40473
40474 2014-07-03 Roland McGrath <roland@hack.frob.com>
40475
40476 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40477 (lll_futex_timed_wait_bitset): Fix syscall argument count.
40478
40479 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40480 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40481 in a bare environment with no <stdlib.h> installed.
40482 * sysdeps/nptl/configure: Regenerated.
40483
40484 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40485
40486 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40487 AC_EGREP_CPP for kernel header checks, so they only succeed if
40488 including <linux/version.h> actually works right.
40489 * sysdeps/unix/sysv/linux/configure: Regenerated.
40490
40491 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40492 value so it's not diagnosed as unused.
40493
40494 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40495 thing) with "ifeq ($(subdir),rt)".
40496
40497 2014-07-03 Richard Henderson <rth@redhat.com>
40498
40499 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40500 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40501 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40502
40503 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40504 (math_force_eval): New.
40505
40506 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40507 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40508
40509 * sysdeps/alpha/fpu/s_round.c: Remove file.
40510 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40511
40512 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40513 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40514 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40515 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40516 (_dl_start, print_statistics): Likewise.
40517 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40518 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40519
40520 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40521 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40522 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40523 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40525 (HP_SMALL_TIMING_AVAIL): Define.
40526 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40528 (HP_SMALL_TIMING_AVAIL): Define.
40529 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40530 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40531
40532 * sysdeps/aarch64/hp-timing.h: New file.
40533
40534 * sysdeps/generic/hp-timing.h: Remove dead comment.
40535 * sysdeps/generic/hp-timing-common.h: New file.
40536 * sysdeps/alpha/hp-timing.h: Include it.
40537 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40538 * sysdeps/i386/i686/hp-timing.h: Likewise.
40539 * sysdeps/ia64/hp-timing.h: Likewise.
40540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40541 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40543 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40544 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40545 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40546 (hp_timing_t): New.
40547
40548 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40549 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40550 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40551 * elf/rtld.c (_dl_start_final): Likewise.
40552 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40553 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40554 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40555 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40556 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40558 (HP_TIMING_DIFF_INIT): Remove.
40559 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40561 (HP_TIMING_DIFF_INIT): Remove.
40562 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40563 * sysdeps/i386/i686/hp-timing.c: Remove file.
40564 * sysdeps/x86_64/hp-timing.c: Remove file.
40565 * sysdeps/ia64/hp-timing.c: Remove file.
40566 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40567 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40569 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40570
40571 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40572 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40573 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40574 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40576 (HP_TIMING_ACCUM): Remove.
40577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40579 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40580
40581 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40582 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40583 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40584 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40585 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40586 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40587 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40588 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40589
40590 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40591
40592 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
40593
40594 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40595
40596 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40597
40598 Sync up with gettext.
40599 * intl/loadmsgcat.c: Define O_BINARY if not defined.
40600 [_MSC_VER]: Include malloc.h
40601 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40602 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40603 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
40604 TEMP_FAILURE_RETRY. Cast return of alloca.
40605 [!_LIBC] Call gl_rwlock_init.
40606 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40607
40608 2014-07-02 Roland McGrath <roland@hack.frob.com>
40609
40610 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40611 before checking its value.
40612
40613 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40614
40615 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40616
40617 * debug/memcpy_chk.c: Don't include pagecopy.h.
40618 * debug/mempcpy_chk.c: Likewise.
40619 * string/memcpy.c: Likewise.
40620 * string/memmove.c: Likewise.
40621 * sysdeps/powerpc/memmove.c: Likewise.
40622 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
40623 definition of PAGE_COPY_FWD_MAYBE here...
40624 * sysdeps/generic/pagecopy.h: ... from here.
40625 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40626
40627 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40628 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40629
40630 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40632 optimizations.
40633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40634 (__libc_ifunc_impl_list): Likewise.
40635 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40636 multiarch strcat for PPC64.
40637 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40638 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40639
40640 2014-07-02 Roland McGrath <roland@hack.frob.com>
40641
40642 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40643
40644 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40645
40646 * intl/loadmsgcat.c: Remove declaration of
40647 get_sysdep_segment_value.
40648 (get_sysdep_segment_value): Use ISO C style.
40649 (_nl_load_domain): Use ISO C style. Get rid of redundant
40650 semicolon. Fix typo and formatting in comment.
40651 (_nl_unload_domain): Use ISO C style.
40652
40653 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40654
40655 2014-07-02 Will Newton <will.newton@linaro.org>
40656
40657 * malloc/obstack.c: Merge from gnulib master.
40658 [HAVE_CONFIG_H]: Remove conditional code.
40659 [!_LIBC]: Include config.h.
40660 [!ELIDE_CODE]: Don't include inttypes.h, include
40661 stdint.h unconditionally.
40662 (print_and_abort): Mark as _Noreturn.
40663 (_obstack_allocated_p): Mark as __attribute_pure__.
40664 (obstack_free): Rename to __obstack_free.
40665 [!__attribute__]: Remove conditional code.
40666 * malloc/obstack.h: Merge from gnulib master.
40667 [__cplusplus]: Move conditional down.
40668 [!__attribute_pure__]: Define __attribute_pure__ here
40669 if it is not already defined.
40670 (_obstack_memory_used): Mark as __attribute_pure__.
40671 [!__obstack_free]: Define as obstack_free.
40672 [__GNUC__]: Remove check for ancient NeXT gcc.
40673
40674 2014-07-02 Will Newton <will.newton@linaro.org>
40675 Paul Eggert <eggert@cs.ucla.edu>
40676
40677 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40678
40679 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40680
40681 * resolv/gethnamaddr.c: Add comment warning that the file is
40682 not maintained.
40683
40684 2014-07-01 Carlos O'Donell <carlos@redhat.com>
40685
40686 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40687 entries.
40688
40689 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40690 entry for aio_cancel and aio_cancel64.
40691 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40692 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40693 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40694 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40695 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40696 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40698 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40699 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40700 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40701 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40702 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40703 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40704
40705 2014-07-01 Roland McGrath <roland@hack.frob.com>
40706
40707 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40708 * nptl/pthread_mutex_lock.c: Likewise.
40709 * nptl/pthread_mutex_timedlock.c: Likewise.
40710 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40711
40712 2014-07-01 Richard henderson <rth@redhat.com>
40713
40714 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40715 (__isnan, __isnanl): Remove.
40716 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40717
40718 * sysdeps/alpha/fpu/libm-test-ulps: Update.
40719
40720 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
40721
40722 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40723
40724 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40725
40726 * resolv/nss_dns/dns-host.c (getanswer_r)
40727 [MULTI_PTRS_ARE_ALIASES]: Remove code.
40728
40729 2014-07-01 Joseph Myers <joseph@codesourcery.com>
40730
40731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40732 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40733 undefine.
40734 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40735 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40736
40737 2014-07-01 Roland McGrath <roland@hack.frob.com>
40738
40739 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40740 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40741
40742 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40743 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40744
40745 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40746 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40747 ... here.
40748 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40749 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40750
40751 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40752 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40753 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40754 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40755
40756 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40757 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40758 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40759 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40760 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40761 Moved ...
40762 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40763 ... here.
40764 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40765 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40766 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40767 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40768 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40769 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40770 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40771 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40772 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40773 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40774 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40775 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40776 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40777 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40778 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40779 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40780 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40781 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40782 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40783 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40784 ... here.
40785 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40786 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40787 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40788 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40789 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40790 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40791 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40792 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40793
40794 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
40795
40796 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40797 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40798 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40799 Add sysdep.
40800
40801 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40802
40803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40804
40805 2014-06-30 Joseph Myers <joseph@codesourcery.com>
40806
40807 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40808 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40809
40810 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40811
40812 * sysdeps/arm/libm-test-ulps: Regenerated.
40813
40814 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
40815 Roland McGrath <roland@hack.frob.com>
40816
40817 * test-skeleton.c (signal_handler): Kill the whole process group
40818 before killing the child individually.
40819 (main): Report any failure on `setpgid'.
40820
40821 2014-06-30 Roland McGrath <roland@hack.frob.com>
40822
40823 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40824 from _TLS_H to _ARM_NPTL_TLS_H.
40825 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40826 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40827
40828 2014-06-30 Joseph Myers <joseph@codesourcery.com>
40829
40830 [BZ #16539]
40831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40832 (__expm1l): Return argument unchanged when small but not
40833 subnormal.
40834
40835 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40836 include macro name.
40837 (_FP_UNPACK_RAW_1_P): Likewise.
40838 (_FP_PACK_RAW_1): Likewise.
40839 (_FP_PACK_RAW_1_P): Likewise.
40840 (_FP_MUL_MEAT_1_wide): Likewise.
40841 (_FP_MUL_MEAT_DW_1_hard): Likewise.
40842 (_FP_MUL_MEAT_1_hard): Likewise.
40843 (_FP_DIV_MEAT_1_imm): Likewise.
40844 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40845 (_FP_DIV_MEAT_1_udiv): Likewise.
40846 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40847 (_FP_UNPACK_RAW_2): Likewise.
40848 (_FP_UNPACK_RAW_2_P): Likewise.
40849 (_FP_PACK_RAW_2): Likewise.
40850 (_FP_PACK_RAW_2_P): Likewise.
40851 (_FP_MUL_MEAT_DW_2_wide): Likewise.
40852 (_FP_MUL_MEAT_2_wide): Likewise.
40853 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40854 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40855 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40856 (_FP_MUL_MEAT_2_gmp): Likewise.
40857 (_FP_DIV_MEAT_2_udiv): Likewise.
40858 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40859 (_FP_FRAC_SRL_4): Likewise.
40860 (_FP_FRAC_SRST_4): Likewise.
40861 (_FP_FRAC_SRS_4): Likewise.
40862 (_FP_UNPACK_RAW_4): Likewise.
40863 (_FP_UNPACK_RAW_4_P): Likewise.
40864 (_FP_PACK_RAW_4): Likewise.
40865 (_FP_PACK_RAW_4_P): Likewise.
40866 (_FP_MUL_MEAT_DW_4_wide): Likewise.
40867 (_FP_MUL_MEAT_4_wide): Likewise.
40868 (_FP_MUL_MEAT_4_gmp): Likewise.
40869 (umul_ppppmnnn): Likewise.
40870 (_FP_DIV_MEAT_4_udiv): Likewise.
40871 (__FP_FRAC_ADD_4): Likewise.
40872 (__FP_FRAC_SUB_3): Likewise.
40873 (__FP_FRAC_SUB_4): Likewise.
40874 (__FP_FRAC_DEC_3): Likewise.
40875 (__FP_FRAC_DEC_4): Likewise.
40876 (__FP_FRAC_ADDI_4): Likewise.
40877 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40878 (_FP_FRAC_SRL_8): Likewise.
40879 (_FP_FRAC_SRS_8): Likewise.
40880
40881 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40882 include macro name.
40883 (FP_UNPACK_RAW_EP): Likewise.
40884 (FP_PACK_RAW_E): Likewise.
40885 (FP_PACK_RAW_EP): Likewise.
40886 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40887 (_FP_ISSIGNAN): Likewise.
40888 (_FP_ADD_INTERNAL): Likewise.
40889 (_FP_FMA): Likewise.
40890 (_FP_CMP): Likewise.
40891 (_FP_SQRT): Likewise.
40892 (_FP_TO_INT): Likewise.
40893 (_FP_FROM_INT): Likewise.
40894 (FP_EXTEND): Likewise.
40895 (_FP_DIV_MEAT_N_loop): Likewise.
40896
40897 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
40898
40899 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40900 throughout.
40901
40902 2014-06-29 Joseph Myers <joseph@codesourcery.com>
40903
40904 [BZ #17097]
40905 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40906 result with correct sign in case of exponents that produce
40907 overflow except for X very close to 1.
40908
40909 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
40910
40911 mktime: merge #if/#ifdef usage from glibc
40912 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40913 as that works with both Glibc's and Gnulib's style.
40914 See thread starting at Siddhesh Poyarekar's bug report at:
40915 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40916
40917 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40918
40919 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40920 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40921 * sysdeps/tile/tilegx/memmove.c: Remove file.
40922
40923 2014-06-27 Joseph Myers <joseph@codesourcery.com>
40924
40925 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40926 abi-name definition.
40927 * scripts/soversions.awk: Do not handle or generate ABI lines.
40928 * shlib-versions: Remove ABI entries.
40929 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40930 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40931
40932 2014-06-27 Roland McGrath <roland@hack.frob.com>
40933
40934 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40935 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40936 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40937 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40939 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40941 Moved ...
40942 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40943 ... here.
40944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40945 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40947 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40949 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40951 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40953 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40955 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40957 Moved ...
40958 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40959 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40960 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40961 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40962 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40963 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40964 Moved ...
40965 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40967 Moved ...
40968 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40970 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40972 Moved ...
40973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40975 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40977 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40979 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40981 Moved ...
40982 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40984 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40985 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40986 Moved ...
40987 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40989 Moved ...
40990 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40992 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40994 Moved ...
40995 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40996 ... here.
40997 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40998 Identical file removed.
40999 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41000 Moved ...
41001 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41002 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41003 Identical file removed.
41004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41005 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41006 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41007 Moved ...
41008 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41010 Identical file removed.
41011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41012 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41013 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41014 Identical file removed.
41015 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41016 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41018 Identical file removed.
41019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41020 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41022 Identical file removed.
41023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41024 Moved ...
41025 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41027 Identical file removed.
41028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41029 Moved ...
41030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41032 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41034 Identical file removed.
41035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41036 Moved ...
41037 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41038 ... here.
41039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41040 Identical file removed.
41041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41042 Moved ...
41043 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41044 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41045 Identical file removed.
41046 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41047 Moved ...
41048 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41050 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41051 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41052 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41054 Moved ...
41055 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41056 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41057 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41058
41059 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41060 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41061 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41062 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41063 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41064
41065 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
41066
41067 [BZ #17092]
41068 * nscd/nscd.c (monitor_child): Return exit status of child
41069 instead of return value from wait syscall.
41070
41071 2014-06-27 Joseph Myers <joseph@codesourcery.com>
41072
41073 * configure.ac (libc_commonpagesize): Remove variable.
41074 (libc_relro_required): Likewise.
41075 (libc_cv_z_relro): Remove configure test.
41076 * configure: Regenerated.
41077 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41078 variable.
41079 (libc_relro_required): Likewise.
41080 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41081 (libc_relro_required): Likewise.
41082 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41083 (libc_relro_required): Likewise.
41084 * sysdeps/arm/preconfigure: Regenerated.
41085 * sysdeps/ia64/preconfigure: Remove file.
41086 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41087 variable.
41088 (libc_relro_required): Likewise.
41089
41090 [BZ #16561]
41091 [BZ #16562]
41092 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41093 (__ieee754_yn): Set FE_TONEAREST mode internally and then
41094 recompute overflowing results in original rounding mode.
41095 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41096 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41097 recompute overflowing results in original rounding mode.
41098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41099 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41100 recompute overflowing results in original rounding mode.
41101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41102 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41103 recompute overflowing results in original rounding mode.
41104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41105 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41106 recompute overflowing results in original rounding mode.
41107 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41108 (libc_feholdsetround_ctx): New macro.
41109 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41110 * sysdeps/i386/fpu/libm-test-ulps: Update.
41111 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41112
41113 2014-06-26 Joseph Myers <joseph@codesourcery.com>
41114
41115 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41116 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41117 corresponding .cpsetup call.
41118
41119 2014-06-26 Roland McGrath <roland@hack.frob.com>
41120
41121 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41122 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41123 * sysdeps/arm/Makefile [$(subdir) = csu]
41124 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41125 (static-only-routines): Add aeabi_read_tp here.
41126 (shared-only-routines): Add libc-aeabi_read_tp here.
41127 (CFLAGS-libc-start.c): Add -fexceptions here.
41128 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41129 (sysdep_routines, static-only-routines, shared-only-routines):
41130 Don't add to these here.
41131 (CFLAGS-libc-start.c): Likewise.
41132
41133 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41134 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41135 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41136 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41137 * sysdeps/arm/Makefile [$(subdir) = rt]
41138 (librt-sysdep_routines, librt-shared-only-routines):
41139 Append rt-aeabi_unwind_cpp_pr1 here.
41140 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41141 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41142 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41143 (libpthread-sysdep_routines, libpthread-shared-only-routines):
41144 Append nptl-aeabi_unwind_cpp_pr1 here.
41145 (tests): Filter out tst-cleanupx4 here.
41146 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41147 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41148 Don't do those here.
41149
41150 2014-06-26 Joseph Myers <joseph@codesourcery.com>
41151
41152 * scripts/list-sources.sh: Do not handle ports specially.
41153
41154 2014-06-26 Roland McGrath <roland@hack.frob.com>
41155
41156 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41157 * sysdeps/arm/feupdateenv.c: Likewise.
41158
41159 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41160
41161 2014-06-26 Joseph Myers <joseph@codesourcery.com>
41162
41163 * manual/texinfo.tex: Update to version 2014-05-05.10 with
41164 trailing whitespace removed.
41165 * scripts/config.guess: Update to version 2014-03-23.
41166 * scripts/config.sub: Update to version 2014-05-01
41167 * scripts/install-sh: Update to version 2013-12-25.23.
41168 * scripts/move-if-change: Update from gnulib.
41169
41170 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41171
41172 * debug/memmove_chk.c: Remove pagecopy.h include.
41173
41174 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
41175
41176 * time/mktime.c (leapyear): Remove inline keyword. The code is now
41177 identical to gnulib mktime.
41178
41179 2014-06-26 Joseph Myers <joseph@codesourcery.com>
41180
41181 * configure.ac: Do not test for machine being rs6000. Do not test
41182 for powerpc*-*soft.
41183 * configure: Regenerated.
41184
41185 [BZ #11505]
41186 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41187 test.
41188 * configure: Regenerated.
41189 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41190 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41191 Remove configure test.
41192 * sysdeps/arm/configure: Regenerated.
41193 * sysdeps/nptl/configure.ac: Do not check
41194 libc_cv_asm_cfi_directives.
41195 * sysdeps/nptl/configure: Regenerated.
41196 * sysdeps/x86_64/nptl/configure.ac: Remove file.
41197 * sysdeps/x86_64/nptl/configure: Remove generated file.
41198 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41199 unconditional.
41200 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41201
41202 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41203
41204 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41205 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41206 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41207 it is defined.
41208
41209 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41210 instead of whether it is defined.
41211 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41212 * sysdeps/hppa/dl-machine.h: Likewise.
41213 * sysdeps/ia64/dl-machine.h: Likewise.
41214 * sysdeps/m68k/dl-machine.h: Likewise.
41215 * sysdeps/microblaze/dl-machine.h: Likewise.
41216 * sysdeps/mips/dl-machine.: Likewise.
41217 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41218 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41219 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41220 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41221 * sysdeps/sh/dl-machine.h: Likewise.
41222 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41224 * sysdeps/tile/dl-machine.h: Likewise.
41225 * sysdeps/x86_64/dl-machine.h: Likewise.
41226
41227 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41228 code.
41229 (verify_persistent_db): Likewise.
41230
41231 2014-06-26 Roland McGrath <roland@hack.frob.com>
41232
41233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41234 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41236 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41238 Moved ...
41239 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41240 ... here.
41241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41242 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41244 Identical file removed.
41245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41248 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41250 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41252 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41254 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41256 Moved ...
41257 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41259 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41261 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41263 Moved ...
41264 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41266 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41268 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41270 Identical file removed.
41271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41272 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41274 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41276 Moved ...
41277 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41278 ... here.
41279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41280 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41282 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41284 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41286 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41288 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41290 Moved ...
41291 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41293 Moved ...
41294 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41296 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41298 Moved ...
41299 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41301 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41302
41303 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41304 folded into ...
41305 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41306 * sysdeps/unix/sysv/linux/s390/Versions
41307 (libpthread: GLIBC_2.19): New version set.
41308 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41309 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41310 (librt: GLIBC_2.3.3): New version set.
41311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41312 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41313 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41314 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41315 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41316 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41317 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41318 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41319 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41320 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41321 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41322 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41323 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41324 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41325 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41326 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41327 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41328 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41329 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41330 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41331 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41333 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41335 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41336 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41337 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41338 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41339 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41340 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41341 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41342 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41344 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41346 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41347 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41349 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41351 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41353 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41355 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41356
41357 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41358 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41359 (__libc_vfork): Define the function under this name.
41360 [!NOT_IN_libc] (__vfork): Make this an alias.
41361 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41363 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41364 (__libc_vfork): Define the function under this name.
41365 [!NOT_IN_libc] (__vfork): Make this an alias.
41366 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41367 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41368 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41370 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41371 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41372
41373 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41374 code that was previously under [RESET_PID].
41375 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41376 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41377 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41378
41379 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41380 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41381 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41382 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41383 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41384 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41385 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41386 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41387 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41388 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41389 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41390 Moved ...
41391 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41392 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41393 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41394 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41395 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41396 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41397 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41398 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41399 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41400 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41401 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41402 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41403 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41404 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41405 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41406 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41407 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41408 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41409 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41410 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41411 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41412 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41413 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41414 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41415 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41416 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41417 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41419 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41420
41421 2014-06-25 Roland McGrath <roland@hack.frob.com>
41422
41423 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41424 that was previously under [RESET_PID].
41425 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41426
41427 2014-06-25 Joseph Myers <joseph@codesourcery.com>
41428
41429 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41430 not undefine and redefine.
41431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41432 [O_CLOEXEC]: Make code unconditional.
41433 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41434 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41435 <kernel-features.h>.
41436 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41437 conditional variable definition.
41438 (shm_open) [O_CLOEXEC]: Make code unconditional.
41439 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41440 code.
41441
41442 * configure.ac (USE_REGPARMS): Don't define here.
41443 * configure: Regenerated.
41444 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41445 * sysdeps/i386/configure: Regenerated.
41446
41447 * nptl/createthread.c: Don't include kernel-features.h.
41448 * nptl/pthread_cancel.c: Likewise.
41449 * nptl/pthread_condattr_setclock.c: Likewise.
41450 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41451 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41452 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41453 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41454 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41455 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41456 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41459 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41460 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41461 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41462 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41463 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41464 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41465 * nscd/gai.c: Likewise.
41466 * nss/nss_db/db-open.c: Likewise.
41467 * sysdeps/generic/ldsodefs.h: Likewise.
41468 * sysdeps/sh/nptl/tls.h: Likewise.
41469 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41470 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41471 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41472 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41473 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41474 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41475 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41476 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41478 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41479 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41480 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41481 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41482 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41483 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41484 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41485 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41486 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41487 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41488 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41489 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41491 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41492 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41493 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41495 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41497 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41498 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41499 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41500 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41501 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41502 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41503 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41504 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41505 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41506 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41507 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41508 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41509 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41510 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41511 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41512 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41513 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41514 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41515 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41516 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41517 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41518 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41519 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41520 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41521 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41522 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41523 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41524 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41526 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41549 * sysdeps/unix/sysv/linux/pread.c: Likewise.
41550 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41551 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41552 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41553 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41554 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41555 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41556 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41557 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41558 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41559 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41560 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41561 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41562 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41563 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41564 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41565 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41566 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41567 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41568 * sysdeps/unix/sysv/linux/system.c: Likewise.
41569 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41570 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41571 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41572 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41573 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41574 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41575 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41576
41577 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41578 * configure: Regenerated.
41579 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41580
41581 * configure.ac (base_machine): Do not set specially for particular
41582 machines here.
41583 * configure: Regenerated.
41584 * sysdeps/powerpc/preconfigure: Move machine and base_machine
41585 settings from configure.ac.
41586 * sysdeps/i386/preconfigure: New file.
41587 * sysdeps/s390/preconfigure: Likewise.
41588 * sysdeps/sh/preconfigure: Likewise.
41589 * sysdeps/sparc/preconfigure: Likewise.
41590
41591 2014-06-25 Roland McGrath <roland@hack.frob.com>
41592
41593 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41594 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41595 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41596 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41597 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41598 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41599 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41600 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41601 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41602 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41603 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41604 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41605 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41606 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41607 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41608 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41610 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41611 * sysdeps/sparc/sparc64/Makefile: ... appended here.
41612
41613 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41614 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41615 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41616 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41617 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41618 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41619 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41620 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41621 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41622 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41623 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41624 * sysdeps/sparc/sparc32/sem_post.c: ... here.
41625 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41626 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41627 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41628 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41629 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41630 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41631 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41632 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41634 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41636 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41638 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41639 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41640 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41641 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41642 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41643 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41644 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41646 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41647 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41648 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41650 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41651
41652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41653 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41655 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41657 Moved ...
41658 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41659 ... here.
41660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41661 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41665 Moved ...
41666 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41668 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41670 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41672 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41674 Moved ...
41675 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41677 Moved ...
41678 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41680 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41682 Moved ...
41683 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41685 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41687 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41689 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41691 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41693 Moved ...
41694 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41695 ... here.
41696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41697 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41699 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41701 Moved ...
41702 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41704 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41708 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41710 Moved ...
41711 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41713 Moved ...
41714 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41716 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41718 Moved ...
41719 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41721 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41723 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41724
41725 2014-06-25 Joseph Myers <joseph@codesourcery.com>
41726
41727 * timezone/checktab.awk: Update from tzcode 2014e.
41728 * timezone/private.h: Likewise.
41729 * timezone/tzfile.h: Likewise.
41730 * timezone/zdump.c: Likewise.
41731 * timezone/zic.c: Likewise.
41732
41733 * sysdeps/unix/sysv/linux/kernel-features.h
41734 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41736 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41737 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41738 Remove conditional code.
41739
41740 2014-06-25 Will Newton <will.newton@linaro.org>
41741
41742 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41743 (_dl_arm_cap_flags): Add HWCAP2 values.
41744 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41745 (_DL_HWCAP_COUNT): Increase to 37.
41746 (_DL_HWCAP_LAST): New define.
41747 (_DL_HWCAP2_LAST): New define.
41748 (_dl_procinfo): Add support for printing
41749 AT_HWCAP2 entries.
41750 (_dl_string_hwcap): Use _dl_hwcap_string.
41751
41752 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41753
41754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41755
41756 2014-06-25 Joseph Myers <joseph@codesourcery.com>
41757
41758 * README: Do not mention ports directory.
41759
41760 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41761 Remove macro.
41762 * sysdeps/unix/sysv/linux/futimes.c: Do not include
41763 <kernel-features.h>.
41764 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41765 conditional variable definition.
41766 (__futimes): Update comment.
41767 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41768 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41769
41770 [BZ #16560]
41771 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41772 arguments close to 0.
41773 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41774 Likewise.
41775 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41776 Likewise.
41777 * math/auto-libm-test-in: Add more tests of exp10.
41778 * math/auto-libm-test-out: Regenerated.
41779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41780
41781 * sysdeps/unix/sysv/linux/kernel-features.h
41782 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41783 * sysdeps/unix/sysv/linux/readv.c: Do not include
41784 <kernel-features.h>.
41785 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41786 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41787 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41788 unconditional.
41789 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41790 conditional code.
41791 * sysdeps/unix/sysv/linux/writev.c: Do not include
41792 <kernel-features.h>.
41793 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41794 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41795 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41796 unconditional.
41797 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41798 conditional code.
41799
41800 2014-06-25 Will Newton <will.newton@linaro.org>
41801
41802 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41803 comment changes throughout the file. Remove checks
41804 for HAVE_*_H definitions that are not required.
41805 (__gen_tempname): Call abort if an unknown kind value is
41806 passed.
41807
41808 2014-06-25 Andreas Schwab <schwab@suse.de>
41809
41810 [BZ #17086]
41811 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41812 scalbln, scalblnf, scalblnl in libc.
41813
41814 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41815
41816 [BZ #17086]
41817 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41818 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41819 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41820
41821 2014-06-24 Roland McGrath <roland@hack.frob.com>
41822
41823 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41824 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41825 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41826 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41827 Update #include.
41828 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41829 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41830 Update #include.
41831 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41832 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41833 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41834 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41835 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41836 * sysdeps/x86/bits/pthreadtypes.h: ... here.
41837 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41838 * sysdeps/x86/bits/semaphore.h: ... here.
41839 * sysdeps/x86/nptl/elide.h: Moved ...
41840 * sysdeps/x86/elide.h: ... here.
41841 * sysdeps/x86_64/nptl/Implies: File removed.
41842 * sysdeps/i386/nptl/Implies: File removed.
41843
41844 2014-06-24 Joseph Myers <joseph@codesourcery.com>
41845
41846 [BZ #16539]
41847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41848 return the argument for normal arguments with exponent below -64.
41849 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41850 Likewise.
41851 * math/auto-libm-test-in: Add another test of expm1.
41852 * math/auto-libm-test-out: Regenerated.
41853
41854 [BZ #16287]
41855 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41856 calling __erfcl for arguments at least 16.
41857 * math/auto-libm-test-in: Add more tests of erf.
41858 * math/auto-libm-test-out: Regenerated.
41859
41860 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41861 individual architectures.
41862 * sysdeps/unix/sysv/linux/configure: Regenerated.
41863 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41864 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41865 * sysdeps/unix/sysv/linux/powerpc/configure.ac
41866 (ldd_rewrite_script): Define variable.
41867 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41869 file.
41870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41871 generated file.
41872 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41873 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41874 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41875 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41876 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41877 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41878 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41879 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41880
41881 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41882
41883 [BZ #17084]
41884 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41885 Rename member __data.d to __data.__elision_data.
41886
41887 2014-06-24 Wilco <wdijkstr@arm.com>
41888
41889 * NEWS: Add 16918 to fixed bug list.
41890
41891 2014-06-24 Wilco <wdijkstr@arm.com>
41892
41893 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41894
41895 2014-06-24 Wilco <wdijkstr@arm.com>
41896
41897 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41898 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41899 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41900 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41901 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41902 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41903 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41904 Use _FPU_MASK_RM.
41905
41906 2014-06-24 Wilco <wdijkstr@arm.com>
41907
41908 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41909
41910 2014-06-24 Wilco <wdijkstr@arm.com>
41911
41912 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41913 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41914 * sysdeps/arm/fesetround.c (fesetround): Remove space.
41915 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41916
41917 2014-06-24 Wilco <wdijkstr@arm.com>
41918
41919 [BZ #16918]
41920 * sysdeps/arm/feupdateenv.c (feupdateenv):
41921 Rewrite to reduce FPSCR accesses and fix return value.
41922
41923 2014-06-24 Wilco <wdijkstr@arm.com>
41924
41925 * sysdeps/arm/fclrexcpt.c (feclearexcept):
41926 Optimize to avoid unnecessary FPSCR writes.
41927 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41928 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41929 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41930 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41931
41932 2014-06-24 Wilco <wdijkstr@arm.com>
41933
41934 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41935 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41936 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41937 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41938 Call libc_fetestexcept_vfp.
41939 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41940 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41941 __SOFTFP__ ifdef so that they can be built for softfp.
41942
41943 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
41944
41945 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41946 argument type signed char.
41947
41948 * Makerules (check-abi): Dump diff of symlist if the test
41949 fails.
41950
41951 2014-06-23 Roland McGrath <roland@hack.frob.com>
41952
41953 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41954 using abort.
41955
41956 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41957 Remove unused variable ST.
41958
41959 2014-06-23 Joseph Myers <joseph@codesourcery.com>
41960
41961 [BZ #16354]
41962 [BZ #17061]
41963 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41964 small arguments before calling __expm1.
41965 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41966 small arguments before calling __expm1f.
41967 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41968 small arguments before calling __expm1l.
41969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41970 Likewise.
41971 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41972 * math/auto-libm-test-in: Add more cosh tests. Do not allow
41973 spurious underflow for some cosh tests.
41974 * math/auto-libm-test-out: Regenerated.
41975 * sysdeps/i386/fpu/libm-test-ulps: Update.
41976
41977 [BZ #17050]
41978 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41979 (__ieee754_y1): Set errno if return value overflows.
41980 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41981 (__ieee754_y1f): Set errno if return value overflows.
41982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41983 (__ieee754_y1l): Set errno if return value overflows.
41984 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41985 (__ieee754_y1l): Set errno if return value overflows.
41986 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41987 * math/auto-libm-test-out: Regenerated.
41988
41989 * math/gen-auto-libm-tests.c: Document use of
41990 ignore-zero-inf-sign.
41991 (input_flag_type): Add value flag_ignore_zero_inf_sign.
41992 (input_flags): Add ignore-zero-inf-sign.
41993 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41994 * math/gen-libm-test.pl (generate_testfile): Handle
41995 ignore-zero-inf-sign.
41996 * math/auto-libm-test-in: Mark some cpow tests with
41997 ignore-zero-inf-sign and some with xfail-rounding.
41998 * math/auto-libm-test-out: Regenerated.
41999 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42000 * sysdeps/i386/fpu/libm-test-ulps: Update.
42001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42002
42003 [BZ #16315]
42004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42005 overflowing or underflowing operations take place with sign of
42006 result.
42007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42009 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42010 (__ieee754_pow): Recompute overflowing and underflowing results in
42011 original rounding mode.
42012 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42013 (__powl_helper): Allow negative argument X and scale negated value
42014 as needed. Avoid passing value outside [-1, 1] to f2xm1.
42015 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42016 overflowing or underflowing operations take place with sign of
42017 result.
42018 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42019 Include <math.h>.
42020 * math/auto-libm-test-in: Add more tests of pow.
42021 * math/auto-libm-test-out: Regenerated.
42022 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42023 (pow_tonearest_test_data): Remove.
42024 (pow_test_tonearest): Likewise.
42025 (pow_towardzero_test_data): Likewise.
42026 (pow_test_towardzero): Likewise.
42027 (pow_downward_test_data): Likewise.
42028 (pow_test_downward): Likewise.
42029 (pow_upward_test_data): Likewise.
42030 (pow_test_upward): Likewise.
42031 (main): Don't call removed functions.
42032 * sysdeps/i386/fpu/libm-test-ulps: Update.
42033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42034
42035 2014-06-23 Roland McGrath <roland@hack.frob.com>
42036
42037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42038 Moved ...
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42041 Moved ...
42042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42044 Moved ...
42045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42047 Moved ...
42048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42050 File removed.
42051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42052 File removed.
42053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42054 File removed.
42055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42056 File removed.
42057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42058 File removed.
42059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42060 File removed.
42061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42062 File removed.
42063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42064 File removed.
42065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42066 File removed.
42067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42068 File removed.
42069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42070 File removed.
42071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42072 File removed.
42073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42074 Moved ...
42075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42077 Moved ...
42078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42079 ... here.
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42081 Moved ...
42082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42084 Moved ...
42085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42087 Moved ...
42088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42090 Moved ...
42091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42093 Moved ...
42094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42096 Moved ...
42097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42099 Moved ...
42100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42103 ... here.
42104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42105 Moved ...
42106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42108 Moved ...
42109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42110 ... here.
42111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42112 Moved ...
42113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42114 ... here.
42115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42116 Moved ...
42117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42118 ... here.
42119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42120 Moved ...
42121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42123 Moved ...
42124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42128 Moved ...
42129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42130 ... here.
42131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42132 Moved ...
42133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42134 ... here.
42135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42136 Moved ...
42137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42139 Moved ...
42140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42142 Moved ...
42143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42145 Moved ...
42146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42148 Moved ...
42149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42150 ... here.
42151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42152 Moved ...
42153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42155 Moved ...
42156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42158 Moved ...
42159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42161 Moved ...
42162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42166 Moved ...
42167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42169 Moved ...
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42172 Moved ...
42173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42174 ... here.
42175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42176 Moved ...
42177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42178 ... here.
42179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42180 Moved ...
42181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42182 ... here.
42183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42184 Moved ...
42185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42187 Moved ...
42188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42190 Moved ...
42191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42193 Moved ...
42194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42195 ... here.
42196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42197 Moved ...
42198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42199 ... here.
42200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42201 Moved ...
42202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42203 ... here.
42204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42205 Moved ...
42206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42208 Moved ...
42209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42210
42211 2014-06-23 Will Newton <will.newton@linaro.org>
42212 Wilco <wdijkstr@arm.com>
42213
42214 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42215 implementation. Include get-rounding-mode.h.
42216 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42217 [!libc_feholdsetround_noex_ctx]: Define
42218 libc_feholdsetround_noex_ctx.
42219 [!libc_feholdsetround_noexf_ctx]: Define
42220 libc_feholdsetround_noexf_ctx.
42221 [!libc_feholdsetround_noexl_ctx]: Define
42222 libc_feholdsetround_noexl_ctx.
42223 (libc_feholdsetround_ctx): New function.
42224 (libc_feresetround_ctx): New function.
42225 (libc_feholdsetround_noex_ctx): New function.
42226 (libc_feresetround_noex_ctx): New function.
42227
42228 2014-06-23 Roland McGrath <roland@hack.frob.com>
42229
42230 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42231 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42232 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42233 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42234 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42235 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42236
42237 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42238 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42239 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42240 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42241 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42242 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42244 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42245 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42246 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42247 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42248 Moved ...
42249 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42250 ... here.
42251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42252 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42253 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42254 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42256 Moved ...
42257 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42259 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42261 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42263 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42264 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42265 Moved ...
42266 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42268 Moved ...
42269 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42271 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42273 Moved ...
42274 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42275 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42276 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42277 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42278 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42279 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42280 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42281 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42282 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42283 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42284 Moved ...
42285 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42286 ... here.
42287 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42288 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42289 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42290 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42291 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42292 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42293 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42294 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42295 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42296 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42297 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42298 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42299 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42300 Moved ...
42301 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42303 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42305 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42307 Moved ...
42308 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42310 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42311 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42312 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42313
42314 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42315 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42316 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42317 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42318 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42319 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42320 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42321 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42323 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42324 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42325 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42326 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42327 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42328 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42329 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42330 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42331 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42333 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42334 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42335 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42336 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42337 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42339 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42340 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42341 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42342
42343 2014-06-23 Joseph Myers <joseph@codesourcery.com>
42344
42345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42346 (FALLOC_FL_COLLAPSE_RANGE): New macro.
42347 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42348 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42349 (IPV6_PMTUDISC_INTERFACE): Likewise.
42350 (IPV6_PMTUDISC_OMIT): Likewise.
42351
42352 2014-06-23 Andreas Schwab <schwab@suse.de>
42353
42354 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42355 Remove unused errout label.
42356
42357 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42358
42359 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42360 macro: hardware supports Vector Crypto instructions.
42361
42362 2014-06-23 Will Newton <will.newton@linaro.org>
42363
42364 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42365 rather than __builtin_expect.
42366
42367 * elf/dl-lookup.c (undefined_msg): Remove variable.
42368 (_dl_lookup_symbol_x): Replace undefined_msg with string
42369 literal.
42370
42371 * elf/dl-lookup.c (do_lookup_unique): New function.
42372 (do_lookup_x): Move STB_GNU_UNIQUE handling code
42373 to a separate function.
42374
42375 2014-06-23 Andreas Schwab <schwab@suse.de>
42376
42377 [BZ #17079]
42378 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42379 before reading the next line.
42380
42381 2014-06-23 Will Newton <will.newton@linaro.org>
42382
42383 * test-skeleton.c (signal_handler): Use printf and %m
42384 rather than perror. Use printf rather than fprintf to
42385 stderr. Use puts rather than fputs to stderr.
42386 (main): Likewise.
42387
42388 2014-06-22 Ludovic Courtès <ludo@gnu.org>
42389
42390 * nscd/nscd.c (thread_info_t): Remove typedef.
42391 (thread_info): Remove variable.
42392
42393 2014-06-21 Allan McRae <allan@archlinux.org>
42394
42395 * NEWS: Mention CVE-2014-4043.
42396
42397 2014-06-20 Roland McGrath <roland@hack.frob.com>
42398
42399 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42400 * nptl/smp.h: ... here.
42401
42402 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42403
42404 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42405 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42406 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42407 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42408
42409 * nptl/allocatestack.c: Include <stack-aliasing.h>.
42410 * nptl/stack-aliasing.h: New file.
42411 * sysdeps/i386/i686/stack-aliasing.h: New file.
42412 * sysdeps/i386/i686/nptl/Makefile: File removed.
42413 * sysdeps/x86_64/stack-aliasing.h: New file.
42414 * sysdeps/x86_64/nptl/Makefile
42415 (CFLAGS-pthread_create.c): Variable removed.
42416
42417 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42418 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42419 old file.
42420 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42421 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42422 old file.
42423
42424 2014-06-21 Joseph Myers <joseph@codesourcery.com>
42425
42426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42427 (__ASSUME_SIGFRAME_V2): Remove macro.
42428 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42429 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42430 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42431 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42432 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42433 Declare as function. Remove conditional macro definitions.
42434 (__default_rt_sa_restorer): Likewise.
42435 (__default_sa_restorer_v1): Remove declaration.
42436 (__default_sa_restorer_v2): Likewise.
42437 (__default_rt_sa_restorer_v1): Likewise.
42438 (__default_rt_sa_restorer_v2): Likewise.
42439 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42440 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42441 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42442
42443 2014-06-20 Roland McGrath <roland@hack.frob.com>
42444
42445 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42446 (libpthread-routines): Add sysdep.
42447 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42448 * sysdeps/unix/sysv/linux/sparc/Versions
42449 (libpthread: GLIBC_2.3.3): New version set.
42450 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42451 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42452 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42453 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42454 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
42455 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42456 Moved ...
42457 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42458 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42459 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42460 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42461 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42462 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42463 * sysdeps/sparc/nptl/sem_init.c: ... here.
42464 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42465 * sysdeps/sparc/nptl/sem_post.c: ... here.
42466 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42467 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42468 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42469 * sysdeps/sparc/nptl/sem_wait.c: ... here.
42470 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42472 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42473 (libpthread-routines): Add cpu_relax.
42474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42475 File removed.
42476 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42477 (librt: GLIBC_2.3.3): New version set.
42478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42479 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42480 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42481 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42484 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42486 Moved ...
42487 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42489 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42491 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42493 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42495 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42497 Moved ...
42498 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42499 Update #include.
42500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42501 Moved ...
42502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42503 Update #include.
42504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42505 Moved ...
42506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42507 Update #include.
42508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42509 Moved ...
42510 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42511 Update #include.
42512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42513 Moved ...
42514 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42515 Update #include.
42516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42517 Moved ...
42518 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42519 Update #include.
42520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42521 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42527 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42529 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42531 Moved ...
42532 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42534 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42536 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42537
42538 2014-06-20 Joseph Myers <joseph@codesourcery.com>
42539
42540 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42541 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42542 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42543 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42544 * nscd/nscd.c: Likewise.
42545 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42546 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42547 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42548 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42549
42550 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42551 <kernel-features.h>.
42552 (init_mq_netlink): Remove conditional have_sock_cloexec
42553 definitions. Remove code conditional on have_sock_cloexec < 0.
42554 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42555 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42556 * sysdeps/unix/sysv/linux/opensock.c: Do not include
42557 <kernel-features.h>.
42558 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42559 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42560
42561 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
42562
42563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42564 Add tests for memset_chk and memset.
42565
42566 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42567 with AVX2_Usable.
42568
42569 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
42570
42571 [BZ #16046]
42572 * elf/tst-dl-iter-static.c: New file.
42573 * elf/Makefile (tests-static): Add tst-dl-iter-static.
42574
42575 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42576 error.
42577
42578 2014-06-20 Joseph Myers <joseph@codesourcery.com>
42579
42580 * sysdeps/unix/sysv/linux/kernel-features.h
42581 (__ASSUME_F_GETOWN_EX): Remove macro.
42582 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42583 <kernel-features.h>.
42584 (miss_F_GETOWN_EX): Remove variable or macro.
42585 (do_fcntl): Do not check miss_F_GETOWN_EX.
42586 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42587
42588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42589 Remove macro.
42590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42591 [!__ASSUME_AT_RANDOM]: Remove conditional code.
42592 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42593
42594 * sysdeps/unix/sysv/linux/kernel-features.h
42595 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42596 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42597 [ADJ_OFFSET_SS_READ]: Make code unconditional.
42598 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42599
42600 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
42601
42602 [BZ #17075]
42603 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42604 Fix calculation of the symbol's value.
42605 * sysdeps/arm/tst-armtlsdescloc.c: New file.
42606 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42607 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42608 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42609 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42610 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42611 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42612 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42613 (modules-names): Add `tst-armtlsdescmod',
42614 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42615 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42616 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42617 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42618 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42619 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42620 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42621 ($(objpfx)tst-armtlsdescloc): New dependency.
42622 ($(objpfx)tst-armtlsdescextnow): Likewise.
42623 ($(objpfx)tst-armtlsdescextlazy): Likewise.
42624 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42625 TLS scheme support.
42626 * sysdeps/arm/configure: Regenerate.
42627
42628 2014-06-20 Joseph Myers <joseph@codesourcery.com>
42629
42630 * include/fcntl.h (__atfct_seterrno): Remove prototype.
42631 (__atfct_seterrno_2): Likewise.
42632 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42633 <kernel-features.h>.
42634 (__ASSUME_ATFCTS): Do not undefine and redefine.
42635 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42636 (__have_atfcts): Remove conditional definition.
42637 (__fxstatat([__NR_fstatat64]: Make code unconditional.
42638 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42639 unreachable if [__ASSUME_ATFCTS].
42640 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42641 not undefine and redefine.
42642 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42643 <kernel-features.h>.
42644 (faccessat) [__NR_faccessat]: Make code unconditional.
42645 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42646 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42647 <kernel-features.h>.
42648 (fchmodat) [__NR_fchmodat]: Make code unconditional.
42649 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42650 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42651 <kernel-features.h>.
42652 (fchownat) [__NR_fchownat]: Make code unconditional.
42653 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42654 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42655 <kernel-features.h>.
42656 (futimesat) [__NR_futimesat]: Make code unconditional.
42657 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42658 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42659 <kernel-features.h>.
42660 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42661 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42662 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42663 <kernel-features.h>.
42664 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42665 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42666 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42667 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42668 <kernel-features.h>.
42669 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42670 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42671 * sysdeps/unix/sysv/linux/linkat.c: Do not include
42672 <kernel-features.h>.
42673 (linkat) [__NR_linkat]: Make code unconditional.
42674 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42675 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42676 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42677 <kernel-features.h>.
42678 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42679 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42680 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42681 <kernel-features.h>.
42682 (mkdirat) [__NR_mkdirat]: Make code unconditional.
42683 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42684 * sysdeps/unix/sysv/linux/openat.c: Do not include
42685 <kernel-features.h>.
42686 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42687 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42688 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42689 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42690 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42691 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42692 <kernel-features.h>.
42693 (readlinkat) [__NR_readlinkat]: Make code unconditional.
42694 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
42695 result of INLINE_SYSCALL directly, not via int variable.
42696 * sysdeps/unix/sysv/linux/renameat.c: Do not include
42697 <kernel-features.h>.
42698 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42699 (renameat) [__NR_renameat]: Make code unconditional.
42700 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42701 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42702 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42703 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42704 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42705 (__ASSUME_ATFCTS): Do not undefine and redefine.
42706 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42707 <kernel-features.h>.
42708 (symlinkat) [__NR_symlinkat]: Make code unconditional.
42709 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42710 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42711 <kernel-features.h>.
42712 (unlinkat) [__NR_unlinkat]: Make code unconditional.
42713 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42714 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42715 (__ASSUME_ATFCTS): Do not undefine and redefine.
42716 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42717 <kernel-features.h>.
42718 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42719 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42720 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42721 <kernel-features.h>.
42722 (__xmknodat) [__NR_mknodat]: Make code unconditional.
42723 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42724
42725 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
42726
42727 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42728
42729 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
42730
42731 [BZ #17069]
42732 * posix/regcomp.c (parse_reg_exp): Deallocate partially
42733 constructed tree before returning error.
42734 * posix/bug-regexp36.c: Expand test case.
42735
42736 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
42737
42738 [BZ #6803]
42739 * math/libm-test.inc (scalbln_test_date):
42740 Add errno expectations.
42741 * math/w_scalblnf.c: New File.
42742 Add wrapper which checks for setting errno to ERANGE.
42743 Add weak_alias for corresponding scalbln function.
42744 * math/w_scalbln.c: Likewise.
42745 * math/w_scalblnl.c: Likewise.
42746 * math/Makefile (libm-calls): Add w_scalbln.
42747 * sysdeps/ieee754/flt-32/s_scalblnf.c:
42748 Remove weak_alias for corresponding scalbln function.
42749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42750 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42753 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42754 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42755 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42756 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42757 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42758 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42759 Remove long_double_symbol for scalblnl function in libm, libc.
42760 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42761 Add wrapper which checks for setting errno to ERANGE.
42762 Add long_double_symbol for scalblnl function in libm, libc.
42763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42764 Remove long_double_symbol for scalblnl in libm.
42765 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42766 Add wrapper which checks for setting errno to ERANGE.
42767 Add long_double_symbol for scalblnl function in libm.
42768 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42769 Do not use wrapper because of own implementation.
42770
42771 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
42772
42773 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42774 3 bytes for __pad1 for x32.
42775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42776
42777 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
42778 H.J. Lu <hongjiu.lu@intel.com>
42779
42780 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42781 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42782 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42783 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42784 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42785
42786 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
42787
42788 [BZ #17069]
42789 * posix/regcomp.c (parse_expression): Deallocate partially
42790 constructed tree before returning error.
42791 * posix/Makefile.c (tests): Add bug-regex36.
42792 (generated): Add bug-regex36.mtrace.
42793 (tests-special): Add $(objpfx)bug-regex36-mem.out
42794 (bug-regex36-ENV): New variable.
42795 ($(objpfx)bug-regex36-mem.out): New rule.
42796 * posix/bug-regex36.c: New file.
42797
42798 2014-06-19 Will Newton <will.newton@linaro.org>
42799
42800 * malloc/malloc.c (systrim): If extra is zero then return
42801 early.
42802
42803 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42804
42805 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42806
42807 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
42808
42809 * sysdeps/aarch64/strchr.S: New file.
42810
42811 2014-06-18 Joseph Myers <joseph@codesourcery.com>
42812
42813 [BZ #17022]
42814 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42815 from arguments -2 or below.
42816 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42817 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42818
42819 2014-06-18 Andreas Schwab <schwab@suse.de>
42820
42821 [BZ #17062]
42822 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42823 of a bracket expr not to run off the end of the string.
42824 * posix/Makefile (tests): Add tst-fnmatch3.
42825 * posix/tst-fnmatch3.c: New file.
42826
42827 2014-06-18 Joseph Myers <joseph@codesourcery.com>
42828
42829 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42830 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42831 [$(cross-compiling) = no]: Likewise.
42832 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42833 [$(cross-compiling) = no]: Likewise.
42834
42835 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42836
42837 [BZ #17031]
42838 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42839 double, adjusted for any remainder from the high double.
42840 * math/libm-test.inc (nearbyint): Add tests.
42841 (rint): Likewise.
42842
42843 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42844
42845 * nptl/sysdeps/powerpc/Makefile: Moved ...
42846 * sysdeps/powerpc/nptl/Makefile: ... here.
42847 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42848 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42849 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42850 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42851 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42852 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42853 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42854 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42855 * nptl/sysdeps/powerpc/tls.h: Moved ...
42856 * sysdeps/powerpc/nptl/tls.h: ... here.
42857
42858 2014-06-16 Joseph Myers <joseph@codesourcery.com>
42859
42860 [BZ #16681]
42861 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42862 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42863 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42864 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42865 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42866 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42867 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42868 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42869 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42870
42871 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
42872
42873 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42874
42875 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
42876
42877 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42878 defined operator.
42879
42880 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42881 $TIMEOUTFACTOR.
42882
42883 2014-06-16 Florian Weimer <fweimer@redhat.com>
42884
42885 [BZ #17058]
42886 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42887 non-executed part of the test.
42888
42889 2014-06-16 Andreas Schwab <schwab@suse.de>
42890
42891 * string/bits/string2.h (strdup, strndup): Update feature guard.
42892
42893 2014-06-14 David S. Miller <davem@davemloft.net>
42894
42895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42896
42897 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
42898
42899 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42900 that was previously under [RESET_PID].
42901 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42902
42903 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42904 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42905 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42906 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42907 (__libc_vfork): New strong alias.
42908 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42909
42910 2014-06-14 Andi Kleen <ak@linux.intel.com>
42911
42912 * sysdeps/generic/elide.h: New file.
42913
42914 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
42915
42916 * Makefile (installed-headers): Adjust path of pthread.h header.
42917
42918 2014-06-13 Roland McGrath <roland@hack.frob.com>
42919
42920 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42921 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42922 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42923 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42924
42925 * nptl/sysdeps/s390/Makefile: Moved ...
42926 * sysdeps/s390/nptl/Makefile: ... here.
42927 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42928 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42929 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42930 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42931 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42932 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42933 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42934 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42935 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42936 * sysdeps/s390/nptl/pthreaddef.h: ... here.
42937 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42938 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42939 * nptl/sysdeps/s390/tls.h: Moved ...
42940 * sysdeps/s390/nptl/tls.h: ... here.
42941
42942 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42943 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42944
42945 2014-06-13 David S. Miller <davem@davemloft.net>
42946
42947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42950 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42954 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42955 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42956 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42957 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42958 Remove RESET_PID cpp guards.
42959 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42960 Remove RESET_PID cpp guards.
42961 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42962
42963 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
42964
42965 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42966 __sp to uintptr_t.
42967
42968 2014-06-13 Andi Kleen <ak@linux.intel.com>
42969
42970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42971 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42972 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42975 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42979 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42980 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42981 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42985 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42989 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42990
42991 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42992 (pthread_rwlock_rdlock): Add elision.
42993 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42994 (pthread_rwlock_wrlock): Add elision.
42995 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42996 (pthread_rwlock_trywrlock): Add elision.
42997 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42998 (pthread_rwlock_tryrdlock): Add elision.
42999 * nptl/pthread_rwlock_unlock.c: Include elide.h.
43000 (pthread_rwlock_tryrdlock): Add elision unlock.
43001 * nptl/sysdeps/pthread/pthread.h:
43002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43003 (PTHREAD_RWLOCK_INITIALIZER,
43004 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43005 Handle new elision field.
43006 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43007 * sysdeps/arm/nptl/bits/pthreadtypes.h
43008 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43009 * sysdeps/sh/nptl/bits/pthreadtypes.h
43010 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43011 * sysdeps/tile/nptl/bits/pthreadtypes.h
43012 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43013 * sysdeps/a/nptl/bits/pthreadtypes.h
43014 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43015 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43016 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43017 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43019 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43020 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43021 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43022 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43023 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43024 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43025 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43027 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43029 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43031 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43032 (elision_init): Set try_xbegin to zero when no RTM.
43033 * sysdeps/x86/nptl/bits/pthreadtypes.h
43034 (pthread_rwlock_t): Change __pad1 to __rwelision.
43035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43036
43037 2014-06-13 Andi Kleen <ak@linux.intel.com>
43038
43039 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43040 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43041 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43042 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43043
43044 2014-06-13 Meador Inge <meadori@codesourcery.com>
43045
43046 [BZ #16996]
43047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43048 that the cached result has been set before returning it.
43049
43050 2014-06-12 Roland McGrath <roland@hack.frob.com>
43051
43052 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43053 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43054 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43055 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43056 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43057 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43058
43059 * nptl/sysdeps/sparc/Makefile: Moved ...
43060 * sysdeps/sparc/nptl/Makefile: ... here.
43061 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43062 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43063 * nptl/sysdeps/sparc/tls.h: Moved ...
43064 * sysdeps/sparc/nptl/tls.h: ... here.
43065 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43066 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43067 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43068 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43069 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43070 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43071 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43072 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43073 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43074 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43075 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43076 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43077 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43078 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43079 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43080 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43081 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43083 Update #include.
43084 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43085 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43086 Update #include.
43087 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43088 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43089 Update #include.
43090 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43092 Update #include.
43093
43094 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43095
43096 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43097 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43098
43099 * sysdeps/pthread/posix-timer.h: Include <list.h>.
43100 (struct list_links): Type removed.
43101 (struct thread_node, struct timer_node): Replace struct list_links
43102 with struct list_head.
43103 (list_unlink_ip): Likewise.
43104 * sysdeps/pthread/timer_routines.c
43105 (timer_free_list, thread_free_list, thread_active_list): Likewise.
43106 (list_append, list_insbefore): Likewise.
43107 (list_init): Function removed.
43108 (thread_init, init_module): Use INIT_LIST_HEAD instead.
43109 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43110 * sysdeps/pthread/Makefile: ... here, new file.
43111
43112 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43113 * sysdeps/nptl/Implies: ... here.
43114 * sysdeps/unix/sysv/linux/Implies: Add nptl.
43115 * nptl/sysdeps/pthread/list.h: Moved ...
43116 * include/list.h: ... here.
43117 * nptl/sysdeps/pthread/createthread.c: Moved ...
43118 * nptl/createthread.c: ... here.
43119 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43120 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43121 * nptl/pt-longjmp.c: ... here.
43122 * nptl/sysdeps/pthread/Makefile: Moved ...
43123 * sysdeps/nptl/Makefile: ... here.
43124 * nptl/sysdeps/pthread/Subdirs: Moved ...
43125 * sysdeps/nptl/Subdirs: ... here.
43126 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43127 * sysdeps/nptl/aio_misc.h: ... here.
43128 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43129 * sysdeps/nptl/bits/libc-lock.h: ... here.
43130 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43131 * sysdeps/nptl/bits/libc-lockP.h: ... here.
43132 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43133 * sysdeps/nptl/bits/stdio-lock.h: ... here.
43134 * nptl/sysdeps/pthread/configure: Moved ...
43135 * sysdeps/nptl/configure: ... here.
43136 * nptl/sysdeps/pthread/configure.ac: Moved ...
43137 * sysdeps/nptl/configure.ac: ... here.
43138 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43139 * sysdeps/nptl/gai_misc.h: ... here.
43140 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43141 * sysdeps/nptl/librt-cancellation.c: ... here.
43142 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43143 * sysdeps/nptl/malloc-machine.h: ... here.
43144 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43145 * sysdeps/nptl/pthread-functions.h: ... here.
43146 * nptl/sysdeps/pthread/pthread.h: Moved ...
43147 * sysdeps/nptl/pthread.h: ... here.
43148 * nptl/sysdeps/pthread/setxid.h: Moved ...
43149 * sysdeps/nptl/setxid.h: ... here.
43150 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43151 * sysdeps/nptl/sigfillset.c: ... here.
43152 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43153 * sysdeps/nptl/tcb-offsets.h: ... here.
43154 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43155 * sysdeps/nptl/tst-mqueue8x.c: ... here.
43156 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43157 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43158 * nptl/sysdeps/pthread/allocalim.h: Moved ...
43159 * sysdeps/pthread/allocalim.h: ... here.
43160 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43161 * sysdeps/pthread/bits/sigthread.h: ... here.
43162 * nptl/sysdeps/pthread/flockfile.c: Moved ...
43163 * sysdeps/pthread/flockfile.c: ... here.
43164 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43165 * sysdeps/pthread/ftrylockfile.c: ... here.
43166 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43167 * sysdeps/pthread/funlockfile.c: ... here.
43168 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43169 * sysdeps/pthread/posix-timer.h: ... here.
43170 * nptl/sysdeps/pthread/timer_create.c: Moved ...
43171 * sysdeps/pthread/timer_create.c: ... here.
43172 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43173 * sysdeps/pthread/timer_delete.c: ... here.
43174 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43175 * sysdeps/pthread/timer_getoverr.c: ... here.
43176 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43177 * sysdeps/pthread/timer_gettime.c: ... here.
43178 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43179 * sysdeps/pthread/timer_routines.c: ... here.
43180 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43181 * sysdeps/pthread/timer_settime.c: ... here.
43182 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43183 * sysdeps/pthread/tst-timer.c: ... here.
43184 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43185 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43186
43187 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43188 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43189
43190 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43191 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43192 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43193 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43194 Update #include target.
43195 * nptl/sysdeps/i386/i686/Makefile: Moved ...
43196 * sysdeps/i386/i686/nptl/Makefile: ... here.
43197 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43198 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43199 Update #include target.
43200 * nptl/sysdeps/i386/i686/tls.h: Moved ...
43201 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
43202 * nptl/sysdeps/i386/Makefile: Moved ...
43203 * sysdeps/i386/nptl/Makefile: ... here.
43204 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43205 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43206 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43207 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43208 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43209 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43210 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43211 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43212 * sysdeps/i386/nptl/pthreaddef.h: ... here.
43213 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43214 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43215 * nptl/sysdeps/i386/tls.h: Moved ...
43216 * sysdeps/i386/nptl/tls.h: ... here.
43217
43218 * sysdeps/sh/Makefile [$(subdir) = csu]
43219 (gen-as-const-headers): Add tcb-offsets.sym.
43220 * nptl/sysdeps/sh/Makefile: File removed.
43221 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43222 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43223 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43224 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43225 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43226 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43227 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43228 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43229 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43230 * sysdeps/sh/nptl/pthreaddef.h: ... here.
43231 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43232 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43233 * nptl/sysdeps/sh/tls.h: Moved ...
43234 * sysdeps/sh/nptl/tls.h: ... here.
43235 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43236 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43237 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43238 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43239 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43240 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43241 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43242 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43243 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43244 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43245 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43246 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43247 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43248 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43249 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43250 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43251 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43252 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43253 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43254 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43255 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43256 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43257 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43258 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43259 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43260 Moved ...
43261 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43263 Moved ...
43264 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43265 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43266 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43267 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43269 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43270 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43271 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43272 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43273 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43274 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43275 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43276 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43277 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43278 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43279 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43280 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43281 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43282 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43283
43284 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
43285
43286 * posix/spawn_faction_addopen.c: Include string.h.
43287
43288 2014-06-11 Roland McGrath <roland@hack.frob.com>
43289
43290 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43291 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43292 * nptl/sysdeps/x86_64/Makefile: Moved ...
43293 * sysdeps/x86_64/nptl/Makefile: ... here.
43294 * nptl/sysdeps/x86_64/configure: Moved ...
43295 * sysdeps/x86_64/nptl/configure: ... here.
43296 * nptl/sysdeps/x86_64/configure.ac: Moved ...
43297 * sysdeps/x86_64/nptl/configure.ac: ... here.
43298 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43299 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43300 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43301 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43302 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43303 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43304 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43305 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43306 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43307 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43308 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43309 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43310 * nptl/sysdeps/x86_64/tls.h: Moved ...
43311 * sysdeps/x86_64/nptl/tls.h: ... here.
43312 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43313 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43314 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43315 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43316
43317 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43318
43319 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43320
43321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43322
43323 2014-06-11 Joseph Myers <joseph@codesourcery.com>
43324
43325 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43326 type.
43327 [POSIX] (off_t): Likewise.
43328 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43329 [POSIX] (S_ISBLK): Require macro.
43330 [POSIX] (S_ISCHR): Likewise.
43331 [POSIX] (S_ISDIR): Likewise.
43332 [POSIX] (S_ISFIFO): Likewise.
43333 [POSIX] (S_ISREG): Likewise.
43334 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43335 optional-macro.
43336 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43337 type.
43338 [POSIX] (time_t): Likewise.
43339 [POSIX] (timer_t): Likewise.
43340
43341 2014-06-11 Florian Weimer <fweimer@redhat.com>
43342
43343 [BZ #17048]
43344 * posix/spawn_int.h (struct __spawn_action): Make the path string
43345 non-const to support deallocation.
43346 * posix/spawn_faction_addopen.c
43347 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43348 * posix/spawn_faction_destroy.c
43349 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
43350 path in all spawn_do_open actions.
43351 * posix/tst-spawn.c (do_test): Exercise the copy operation in
43352 posix_spawn_file_actions_addopen.
43353
43354 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
43355
43356 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43357 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43358 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43359 conditional code always true.
43360 (__libc_vfork): New alias.
43361
43362 2014-06-11 Roland McGrath <roland@hack.frob.com>
43363
43364 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43365 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43366
43367 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43368
43369 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43370 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43371
43372 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43373 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43374
43375 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43376 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43377
43378 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43379
43380 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43381 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43382 multiarch strcmp for PPC64.
43383 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43386 multiarch optimizations.
43387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43388 (__libc_ifunc_impl_list): Likewise.
43389
43390 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43391
43392 * benchtests/scripts/validate_benchout.py: New script.
43393 * benchtests/Makefile (bench-func): Call it.
43394 * benchtests/scripts/benchout.schema.json: New file.
43395
43396 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
43397
43398 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43399 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43400 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43401 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43402 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43403 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43404 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43405 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43406 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43407 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43408 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43409 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43410 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43411 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43412 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43413 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43415 Moved ...
43416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43417 ... here.
43418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43419 Moved ...
43420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43422 Moved ...
43423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43424 ... here.
43425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43426 Moved ...
43427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43428 ... here.
43429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43430 Moved ...
43431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43433 Moved ...
43434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43435 ... here.
43436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43437 Moved ...
43438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43439 ... here.
43440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43441 Moved ...
43442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43444 Moved ...
43445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43446 ... here.
43447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43448 Moved ...
43449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43450 ... here.
43451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43452 Moved ...
43453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43454 ... here.
43455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43456 Moved ...
43457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43459 Moved ...
43460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43461 ... here.
43462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43463 Moved ...
43464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43465 ... here.
43466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43467 Moved ...
43468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43469 ... here.
43470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43471 Moved ...
43472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43474 Moved ...
43475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43476 ... here.
43477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43478 Moved ...
43479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43480 ... here.
43481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43482 Moved ...
43483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43485 Moved ...
43486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43487 ... here.
43488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43489 Moved ...
43490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43492 Moved ...
43493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43495 Moved ...
43496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43497 ... here.
43498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43499 Moved ...
43500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43501 ... here.
43502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43503 Moved ...
43504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43505 ... here.
43506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43507 Moved ...
43508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43510 Moved ...
43511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43512 ... here.
43513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43514 Moved ...
43515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43516 ... here.
43517 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43518 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43520 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43522 Moved ...
43523 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43524 ... here.
43525 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43526 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43527 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43528 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43529 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43530 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43531 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43532 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43533 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43534 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43535 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43536 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43537 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43538 Moved ...
43539 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43541 Moved ...
43542 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43544 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43546 Moved ...
43547 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43548 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43549 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43550 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43551 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43552 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43553 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43554
43555 2014-06-10 Wilco <wdijkstr@arm.com>
43556
43557 * math/test-fenv-return.c: New file.
43558 * math/Makefile: Add new test test-fenv-return.
43559
43560 2014-06-10 Joseph Myers <joseph@codesourcery.com>
43561
43562 [BZ #17042]
43563 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43564 when x - 1 is zero.
43565 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43566 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43567 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43568 0.0L for an argument of 1.0L.
43569 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43570 Likewise.
43571 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43572 value when x - 1 is zero.
43573 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43574 * sysdeps/i386/fpu/libm-test-ulps: Update.
43575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43576
43577 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
43578
43579 [BZ #15119]
43580 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43581
43582 2014-06-09 Roland McGrath <roland@hack.frob.com>
43583
43584 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43585 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43586
43587 2014-06-09 Roland McGrath <roland@hack.frob.com>
43588
43589 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43590 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43591
43592 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43593 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43594
43595 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43596 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43597
43598 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43599 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43600
43601 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43602 if not already defined.
43603 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43604 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43605 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43606 (TLS_INIT_TP): Use it.
43607 (TLS_DEFINE_INIT_TP): New macro.
43608 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43609
43610 2014-06-09 Joseph Myers <joseph@codesourcery.com>
43611
43612 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43613 constant.
43614 [POSIX] (IXANY): Likewise.
43615 [POSIX] (OLCUC): Likewise.
43616 [POSIX || POSIX2008] (CBAUD): Do not allow.
43617 [POSIX || POSIX2008] (DEFECHO): Likewise.
43618 [POSIX || POSIX2008] (ECHOCTL): Likewise.
43619 [POSIX || POSIX2008] (ECHOKE): Likewise.
43620 [POSIX || POSIX2008] (ECHOPRT): Likewise.
43621 [POSIX || POSIX2008] (EXTA): Likewise.
43622 [POSIX || POSIX2008] (EXTB): Likewise.
43623 [POSIX || POSIX2008] (FLUSHO): Likewise.
43624 [POSIX || POSIX2008] (LOBLK): Likewise.
43625 [POSIX || POSIX2008] (PENDIN): Likewise.
43626 [POSIX || POSIX2008] (SWTCH): Likewise.
43627 [POSIX || POSIX2008] (VDISCARD): Likewise.
43628 [POSIX || POSIX2008] (VDSUSP): Likewise.
43629 [POSIX || POSIX2008] (VLNEXT): Likewise.
43630 [POSIX || POSIX2008] (VREPRINT): Likewise.
43631 [POSIX || POSIX2008] (VSTATUS): Likewise.
43632 [POSIX || POSIX2008] (VWERASE): Likewise.
43633 (B*): Change to B[0123456789]*.
43634 * conform/data/time.h-data [POSIX || UNIX98]
43635 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43636 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43637 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43638 [POSIX] (tm_*): Do not allow.
43639
43640 2014-06-07 Joseph Myers <joseph@codesourcery.com>
43641
43642 * Makefile (install): Don't set LANGUAGE.
43643 * Makefile.in (install): Likewise.
43644 * assert/Makefile (test-assert-ENV): Remove variable.
43645 (test-assert-perr-ENV): Likewise.
43646 * elf/Makefile (neededtest4-ENV): Likewise.
43647 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43648 [$(cross-compiling) = no]: Don't set LANGUAGE.
43649 * io/ftwtest-sh (LANG): Remove variable.
43650 * libio/Makefile (tst-widetext-ENV): Likewise.
43651 * manual/install.texi (Running make install): Don't refer to
43652 environment settings for make install.
43653 * INSTALL: Regenerated.
43654 * nptl/tst-tls6.sh: Don't set LANG.
43655 * posix/globtest.sh (LANG): Remove variable.
43656 * string/Makefile (tester-ENV): Likewise.
43657 (inl-tester-ENV): Likewise.
43658 (noinl-tester-ENV): Likewise.
43659 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43660 [$(cross-compiling) = no]: Don't set LANGUAGE.
43661 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43662 without explicit environment settings.
43663
43664 2014-06-06 Roland McGrath <roland@hack.frob.com>
43665
43666 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43667 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43668 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43669 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43670
43671 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
43672
43673 * crypt/crypt-private.h [DOS]: Add some includes taken from the
43674 other files in the crypt directory.
43675 * crypt/crypt.c: Remove duplicate includes.
43676 * crypt/crypt-entry.c: Likewise.
43677 * crypt/crypt_util.c: Likewise.
43678
43679 2014-06-06 Joseph Myers <joseph@codesourcery.com>
43680
43681 * Makeconfig (run-program-env): New variable.
43682 (run-program-prefix-before-env): Likewise.
43683 (run-program-prefix-after-env): Likewise.
43684 (run-program-prefix): Define in terms of new variables.
43685 (built-program-cmd-before-env): New variable.
43686 (built-program-cmd-after-env): Likewise.
43687 (built-program-cmd): Define in terms of new variables.
43688 (test-program-prefix-before-env): New variable.
43689 (test-program-prefix-after-env): Likewise.
43690 (test-program-prefix): Define in terms of new variables.
43691 (test-program-cmd-before-env): New variable.
43692 (test-program-cmd-after-env): Likewise.
43693 (test-program-cmd): Define in terms of new variables.
43694 * Rules (make-test-out): Use $(run-program-env).
43695 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43696 (help): Do not mention environment variables. Mention
43697 --timeoutfactor option.
43698 (timeoutfactor): New variable.
43699 (blacklist_exports): Remove function.
43700 (exports): Remove variable.
43701 (command): Do not include ${exports}.
43702 * manual/install.texi (Configuring and compiling): Do not mention
43703 test wrappers preserving environment variables. Mention that last
43704 assignment to a variable must take precedence.
43705 * INSTALL: Regenerated.
43706 * benchtests/Makefile (run-bench): Use $(run-program-env).
43707 * catgets/Makefile ($(objpfx)test1.cat): Use
43708 $(built-program-cmd-before-env), $(run-program-env) and
43709 $(built-program-cmd-after-env).
43710 ($(objpfx)test2.cat): Do not specify environment variables
43711 explicitly.
43712 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43713 $(run-program-env) and $(built-program-cmd-after-env).
43714 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43715 $(run-program-env) and $(test-program-cmd-after-env).
43716 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43717 explicitly.
43718 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43719 run_program_env and test_program_cmd_after_env arguments.
43720 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43721 * elf/tst-pathopt.sh: Use run_program_env argument.
43722 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43723 $(test-wrapper-env) and $(run-program-env).
43724 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43725 run_program_env arguments.
43726 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43727 * intl/Makefile ($(objpfx)tst-gettext.out): Use
43728 $(test-program-prefix-before-env), $(run-program-env) and
43729 $(test-program-prefix-after-env).
43730 ($(objpfx)tst-gettext2.out): Likewise.
43731 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43732 run_program_env and test_program_prefix_after_env arguments.
43733 * intl/tst-gettext2.sh: Likewise.
43734 * intl/tst-gettext4.sh: Do not set environment variables
43735 explicitly.
43736 * intl/tst-gettext6.sh: Likewise.
43737 * intl/tst-translit.sh: Likewise.
43738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43739 $(test-program-prefix-before-env), $(run-program-env) and
43740 $(test-program-prefix-after-env).
43741 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43742 run_program_env and test_program_prefix_after_env arguments.
43743 * math/Makefile (run-regen-ulps): Use $(run-program-env).
43744 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43745 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
43746 explicitly with each use of ${test_wrapper_env}.
43747 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43748 $(test-program-prefix-before-env), $(run-program-env) and
43749 $(test-program-prefix-after-env).
43750 * posix/tst-getconf.sh: Do not set environment variables
43751 explicitly.
43752 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43753 run_program_env and test_program_prefix_after_env arguments.
43754 * stdio-common/tst-printf.sh: Do not set environment variables
43755 explicitly.
43756 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43757 $(test-program-prefix-before-env), $(run-program-env) and
43758 $(test-program-prefix-after-env).
43759 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43760 run_program_env and test_program_prefix_after_env arguments.
43761 Split $test calls into $test_pre and $test.
43762 * timezone/Makefile (build-testdata): Use
43763 $(built-program-cmd-before-env), $(run-program-env) and
43764 $(built-program-cmd-after-env).
43765
43766 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43767
43768 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43769 strlen for non SHARED builds.
43770
43771 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43772
43773 * nptl/allocatestack.c (check_list): Inlined function...
43774 (__reclaim_stacks): ... here.
43775
43776 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
43777
43778 [BZ #15698]
43779 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43780 memory overrun.
43781
43782 2014-06-05 Joseph Myers <joseph@codesourcery.com>
43783
43784 * Rules (make-test-out): Include
43785 LOCPATH=$(common-objpfx)localedata in default environment.
43786 * debug/Makefile (tst-chk1-ENV): Remove variable.
43787 (tst-chk2-ENV): Likewise.
43788 (tst-chk3-ENV): Likewise.
43789 (tst-chk4-ENV): Likewise.
43790 (tst-chk5-ENV): Likewise.
43791 (tst-chk6-ENV): Likewise.
43792 (tst-lfschk1-ENV): Likewise.
43793 (tst-lfschk2-ENV): Likewise.
43794 (tst-lfschk3-ENV): Likewise.
43795 (tst-lfschk4-ENV): Likewise.
43796 (tst-lfschk5-ENV): Likewise.
43797 (tst-lfschk6-ENV): Likewise.
43798 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43799 (tst-iconv7-ENV): Likewise.
43800 * intl/Makefile (LOCPATH-ENV): Likewise.
43801 (tst-codeset-ENV): Likewise.
43802 (tst-gettext3-ENV): Likewise.
43803 (tst-gettext5-ENV): Likewise.
43804 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43805 (tst-fopenloc-ENV): Likewise.
43806 (tst-fgetws-ENV): Remove variable.
43807 (tst-ungetwc1-ENV): Likewise.
43808 (tst-ungetwc2-ENV): Likewise.
43809 (bug-ungetwc2-ENV): Likewise.
43810 (tst-swscanf-ENV): Likewise.
43811 (bug-ftell-ENV): Likewise.
43812 (tst-fgetwc-ENV): Likewise.
43813 (tst-fseek-ENV): Likewise.
43814 (tst-ftell-partial-wide-ENV): Likewise.
43815 (tst-ftell-active-handler-ENV): Likewise.
43816 (tst-ftell-append-ENV): Likewise.
43817 * posix/Makefile (tst-fnmatch-ENV): Likewise.
43818 (tst-regexloc-ENV): Likewise.
43819 (bug-regex1-ENV): Likewise.
43820 (tst-regex-ENV): Likewise.
43821 (tst-regex2-ENV): Likewise.
43822 (bug-regex5-ENV): Likewise.
43823 (bug-regex6-ENV): Likewise.
43824 (bug-regex17-ENV): Likewise.
43825 (bug-regex18-ENV): Likewise.
43826 (bug-regex19-ENV): Likewise.
43827 (bug-regex20-ENV): Likewise.
43828 (bug-regex22-ENV): Likewise.
43829 (bug-regex23-ENV): Likewise.
43830 (bug-regex25-ENV): Likewise.
43831 (bug-regex26-ENV): Likewise.
43832 (bug-regex30-ENV): Likewise.
43833 (bug-regex32-ENV): Likewise.
43834 (bug-regex33-ENV): Likewise.
43835 (bug-regex34-ENV): Likewise.
43836 (bug-regex35-ENV): Likewise.
43837 (tst-rxspencer-ENV): Likewise.
43838 (tst-rxspencer-no-utf8-ENV): Likewise.
43839 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43840 (tst-sscanf-ENV): Likewise.
43841 (tst-swprintf-ENV): Likewise.
43842 (tst-swscanf-ENV): Likewise.
43843 (test-vfprintf-ENV): Likewise.
43844 (scanf13-ENV): Likewise.
43845 (bug14-ENV): Likewise.
43846 (tst-grouping-ENV): Likewise.
43847 * stdlib/Makefile (tst-strtod-ENV): Likewise.
43848 (tst-strtod3-ENV): Likewise.
43849 (tst-strtod4-ENV): Likewise.
43850 (tst-strtod5-ENV): Likewise.
43851 (testmb2-ENV): Likewise./
43852 * string/Makefile (tst-strxfrm-ENV): Likewise.
43853 (tst-strxfrm2-ENV): Likewise.
43854 (bug-strcoll1-ENV): Likewise.
43855 (test-strcasecmp-ENV): Likewise.
43856 (test-strncasecmp-ENV): Likewise.
43857 * time/Makefile (tst-strptime-ENV): Likewise.
43858 (tst-ftime_l-ENV): Likewise.
43859 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43860 (tst-mbrtowc-ENV): Likewise.
43861 (tst-wcrtomb-ENV): Likewise.
43862 (tst-mbrtowc2-ENV): Likewise.
43863 (tst-c16c32-1-ENV): Likewise.
43864 (tst-mbsnrtowcs-ENV): Likewise.
43865
43866 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
43867
43868 * manual/resource.texi (How to get information about the memory
43869 subsystem?): Fix typo.
43870 Reported by Peon de la Parra Ivan <peon@keba.com>
43871
43872 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
43873
43874 [BZ #16882]
43875 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43876 (pthread_spin_lock): Branch out of spin loop to proper location.
43877 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43878 (pthread_spin_lock): Likewise.
43879
43880 * nptl/tst-spin4.c: New test.
43881 * nptl/Makefile (tests): Add tst-spin4.
43882
43883 2014-06-03 Andreas Schwab <schwab@suse.de>
43884
43885 [BZ #15946]
43886 * resolv/res_send.c (send_dg): Reload file descriptor after
43887 calling reopen.
43888
43889 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
43890
43891 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43892
43893 2014-06-03 Richard Henderson <rth@redhat.com>
43894
43895 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43896 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43897 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43898 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
43899 in the SAVE_PID block.
43900 (__libc_vfork): New alias.
43901 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43902
43903 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43904 child in registers, not on the stack. Remove RESET_PID conditionals.
43905 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43906
43907 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
43908
43909 * sysdeps/aarch64/libm-test-ulps: Regenerate.
43910
43911 2014-06-03 Wilco <wdijkstr@arm.com>
43912
43913 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43914 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43915 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43916 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43917 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43918 Likewise.
43919
43920 2014-06-03 Wilco <wdijkstr@arm.com>
43921
43922 * sysdeps/aarch64/fpu/math_private.h
43923 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43924 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43925 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43926 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43927 Fix declarations.
43928
43929 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
43930
43931 * crypt/crypt-private.h: Include ufc-crypt.h.
43932 (__b64_from_24bit): Declare extern.
43933 * crypt/crypt_util.c(__b64_from_24bit): New function.
43934 (b64t): New static const variable.
43935 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43936 (b64t): Remove variable.
43937 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43938 * crypt/sha256-crypt.c: Include crypt-private.h.
43939 (b64t): Remove variable.
43940 (__sha256_crypt_r): Remove b64_from_24bit and replace
43941 with __b64_from_24bit.
43942 * crypt/sha512-crypt.c: Likewise.
43943
43944 2014-06-02 Roland McGrath <roland@hack.frob.com>
43945
43946 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43947 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43948 Label the code __libc_vfork rather than __vfork.
43949 [!NOT_IN_libc] (vfork): Define as weak alias.
43950 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43951 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43952 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43953
43954 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43955
43956 * malloc/malloc.c (malloc_info): Fix format specifier for
43957 n_mmaps.
43958
43959 2014-06-02 Wilco <wdijkstr@arm.com>
43960
43961 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43962 FPCR write.
43963
43964 2014-06-02 Wilco <wdijkstr@arm.com>
43965
43966 [BZ #17009]
43967 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43968 Rewrite to reduce FPCR/FPSR accesses.
43969
43970 2014-06-01 David S. Miller <davem@davemloft.net>
43971
43972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43973
43974 2014-05-31 David S. Miller <davem@davemloft.net>
43975
43976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43977 to occur in round to nearest mode when |x| >= 2.0
43978
43979 2014-05-30 Richard Henderson <rth@twiddle.net>
43980
43981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43982 (PSEUDO_RET_NOERRNO): Remove.
43983 (ret): Don't redefine.
43984 (ret_NOERRNO): Define in terms of ret.
43985 (ret_ERRVAL): Likewise.
43986
43987 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43988 use of PSEUDO_RET; perform the error check directly.
43989
43990 2014-05-30 Marko Myllynen <myllynen@redhat.com>
43991
43992 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43993 with __int128_t.
43994
43995 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43996
43997 * malloc/malloc (malloc_info): Fix formatting.
43998
43999 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44000 Roland McGrath <roland@hack.frob.com>
44001
44002 * malloc/malloc (malloc_info): Also print mmapped statistics.
44003
44004 2014-05-30 Roland McGrath <roland@hack.frob.com>
44005
44006 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44007 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44008
44009 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
44010
44011 * malloc/malloc.c (malloc_info): Inline mi_arena.
44012
44013 2014-05-29 Richard Henderson <rth@twiddle.net>
44014
44015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44016 Remove comma before expanding ASM_ARGS_##nr.
44017 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44018 Make _x0 a strict output; make _x8 a strict input; adjust expansion
44019 of ASM_ARGS_##nr.
44020 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44021 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44022 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44023 (ASM_ARGS_1): Add leading comma.
44024
44025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44026 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44027 to __errno_location.
44028 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44029 Remove the expected plt for __errno_location.
44030
44031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44032 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44033 call to __read_tp.
44034
44035 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44036 Always allocate 64 bytes of stack frame. Use ldp/stp to create
44037 it and break it down.
44038 (DOCARGS_0, DOCARGS_1): Do nothing.
44039 (DOCARGS_2): Update to store into the new stack frame.
44040 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44041 (UNDOCARGS_1): Update to restore from the new stack frame.
44042 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44043 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44044
44045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44046 (SINGLE_THREAD_P): New parameter for result regno.
44047 (PSEUDO): Update to match; use cbz instead of beq.
44048
44049 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44050 Use ENTRY to define the _nocancel entry point. Share the syscall
44051 and syscall error check paths with the cancel path.
44052 (PSEUDO_END): New.
44053
44054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44055 whitespace; tabs before and after asm mnemonics.
44056
44057 2014-05-29 Eric Wong <normalperson@yhbt.net>
44058
44059 [BZ #15132]
44060 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44061 Call fstat64 or stat64 internally, depending on arguments passed.
44062 Replace stat buffer argument with file descriptor argument.
44063 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44064 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44065 Pass fd to __internal_statvfs instead of calling fstat64.
44066 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44067 Pass fd to __internal_statvfs64 instead of calling fstat64.
44068 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44069 Pass -1 to __internal_statvfs instead of calling stat64.
44070 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44071 Pass -1 to __internal_statvfs64 instead of calling stat64.
44072
44073 2014-05-28 Roland McGrath <roland@hack.frob.com>
44074
44075 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44076 that was previously under [RESET_PID].
44077 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44078
44079 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44080 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44081
44082 2014-05-27 Roland McGrath <roland@hack.frob.com>
44083
44084 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44085
44086 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44087 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44088
44089 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
44090
44091 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44092
44093 2014-05-27 Andreas Schwab <schwab@suse.de>
44094
44095 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44096 TLS_INIT_TP macro.
44097 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44098 * elf/rtld.c (init_tls, dl_main): Likewise.
44099 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44100 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44101 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44102 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44103 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44104 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44105 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44106 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44107 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44108 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44109 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44110 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44111 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44112 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44113 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44114 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44115 * sysdeps/generic/tls.h: Update description.
44116
44117 2014-05-27 Will Newton <will.newton@linaro.org>
44118
44119 [BZ #16990]
44120 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44121 and restore r2 rather than just restoring.
44122
44123 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44124
44125 [BZ #16724]
44126 * libio/tst-ftell-append.c: New test case.
44127 * libio/Makefile (tests): Add test case.
44128 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44129 append mode.
44130 * libio/wfileops.c (do_ftell_wide): Likewise.
44131
44132 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44133
44134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44135
44136 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44137 ...
44138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44140 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44141 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44142 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44143 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44144 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44145 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44147 Moved ...
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44150 Moved ...
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44152 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44153 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44154 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44155 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44156 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44157 ...
44158 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44159 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44160 Moved ...
44161 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44162 here.
44163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44164 ...
44165 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44166 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44167 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44168
44169 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44170 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44171 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44172 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44173
44174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44175 merge into ...
44176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44178 ...
44179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44181 ...
44182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44184 Moved ...
44185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44186 here.
44187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44188 Moved ...
44189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44191 Moved ...
44192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44193
44194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44195 conditional [RESET_PID].
44196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44198 removed.
44199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44200 removed.
44201
44202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44203 <tcb-offsets.h>.
44204 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44205 (__libc_vfork): New strong alias.
44206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44207 removed.
44208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44209 Removed.
44210
44211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44212 <tcb-offsets.h>.
44213 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44214 (__libc_vfork): New strong alias.
44215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44216 removed.
44217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44218 removed.
44219
44220 2014-05-26 Carlos O'Donell <carlos@redhat.com>
44221
44222 * malloc/malloc.c (mi_arena): New function.
44223 (malloc_info): Remove nested function mi_arena. Call non-nosted
44224 function mi_arena.
44225
44226 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44227
44228 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44229 by insrwi.
44230 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44231 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44232 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44233 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44234 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44235 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44236 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44237
44238 2014-05-26 Andreas Schwab <schwab@suse.de>
44239
44240 [BZ #16984]
44241 * locale/programs/repertoire.c (repertoire_read): Add slash
44242 between I18NPATH element and file name.
44243 * locale/programs/locfile.c (locfile_read): Likewise.
44244
44245 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
44246
44247 * nptl/pthread_mutexattr_settype.c
44248 (__pthread_mutexattr_settype):
44249 Disable lock elision for PTHREAD_MUTEX_NORMAL.
44250
44251 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
44252
44253 * nptl/tst-mutex5 (do_test):
44254 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44255
44256 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44257
44258 * benchtests/README: Document 'init' directive.
44259 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44260 BENCH_INIT.
44261 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44262 (parse_file): Recognize 'init' directive.
44263
44264 2014-05-26 Kyle McMartin <kyle@redhat.com>
44265
44266 [BZ #16796]
44267 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44268 alignment of struct pthread.
44269
44270 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44271
44272 [BZ #16878]
44273 * nscd/netgroupcache.c (addgetnetgrentX): Look for
44274 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44275 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44276 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44277
44278 2014-05-25 Richard Henderson <rth@twiddle.net>
44279
44280 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44281 (SINGLE_THREAD_P_PIC): Remove.
44282 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44283 (SINGLE_THREAD_P_PIC): Remove.
44284
44285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44286 branch to syscall error ...
44287 (PSEUDO): ... here.
44288 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44289 from __local_syscall_error to .Lsyscall_error.
44290 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44291 (SYSCALL_ERROR): Update label name.
44292
44293 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44294 Do not use DOARGS/UNDOARGS.
44295 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44296 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44297 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44298 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44299 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44300
44301 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44302 block comment.
44303
44304 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44305 define if !NOT_IN_libc.
44306 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44307 define with non-default symbol versions.
44308
44309 2014-05-23 Richard Henderson <rth@twiddle.net>
44310
44311 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44312 (vfork, __vfork): Define via compat_symbol.
44313
44314 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44315 [!HAVE_IFUNC] (vfork_compat): Remove.
44316 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44317
44318 2014-05-23 Joseph Myers <joseph@codesourcery.com>
44319
44320 [BZ #16978]
44321 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44322 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44323 variable.
44324
44325 2014-05-23 Richard Henderson <rth@twiddle.net>
44326
44327 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44328 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44329 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44330 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44331
44332 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44333 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44334 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44335 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44336 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44337 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44338 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44339 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44340 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44341 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44342 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44343 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44344 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44345 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44346 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44347 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44348 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44349 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44350 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44351 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44352 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44353 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44354 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44355 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44356 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44357 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44358 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44359 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44360 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44361 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44362 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44363 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44364 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44365 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44366 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44367 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44368 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44369 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44370 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44371 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44372 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44373 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44374 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44375 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44376 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44377 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44378 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44379 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44380 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44381 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44382 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44383 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44384 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44385 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44386 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44387 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44388
44389 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44390 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44391 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
44392 before exiting on error.
44393 (__libc_vfork): New strong alias.
44394 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44395 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44396
44397 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44398 that was previously under [RESET_PID].
44399 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44400
44401 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44402
44403 2014-05-23 Joseph Myers <joseph@codesourcery.com>
44404
44405 [BZ #16977]
44406 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44407 value when x - 1 is zero.
44408 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44409 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44410 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44411 0.0L for an argument of 1.0L.
44412 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44413 Likewise.
44414 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44415 value when x - 1 is zero.
44416 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44417 * sysdeps/i386/fpu/libm-test-ulps: Update.
44418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44419
44420 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
44421
44422 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44423 alphasort and versionsort.
44424
44425 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44426
44427 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44428 macro.
44429 [copysignf]: Likewise.
44430
44431 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44432
44433 * crypt/md5-crypt.c: Fix formatting.
44434
44435 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44436
44437 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44438 (b64_from_24bit): New function.
44439
44440 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44441
44442 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44443 libc_hidden_builtin_def to ifunc.
44444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44445 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44446
44447 2014-05-21 Roland McGrath <roland@hack.frob.com>
44448
44449 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44450 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44451
44452 2014-05-21 Joseph Myers <joseph@codesourcery.com>
44453
44454 * nscd/Depend (linuxthreads): Remove.
44455 (nptl): Add.
44456 * resolv/Depend (linuxthreads): Remove.
44457 * rt/Depend (linuxthreads): Remove.
44458
44459 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44460 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44461 $(common-objpfx)elf/.
44462 (link-libc-before-gnulib): Likewise.
44463 (elfobjdir): Remove variable.
44464 * Makefile (install): Use $(elf-objpfx) instead of
44465 $(common-objpfx)elf/.
44466 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44467 $(elfobjdir)/.
44468 (link-libc-deps): Likewise.
44469 ($(common-objpfx)libc.so): Likewise.
44470 ($(common-objpfx)linkobj/libc.so): Likewise.
44471 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44472 instead of $(common-objpfx)elf/.
44473 (symbolic-link-list): Likewise.
44474 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44475 [$(cross-compiling) = no]: Likewise.
44476 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44477 $(elfobjdir)/.
44478 (static-gnulib-arch): Likewise.
44479 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44480 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44481 $(common-objpfx)elf/.
44482
44483 2014-05-21 Richard Henderson <rth@redhat.com>
44484
44485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44486 (SINGLE_THREAD_P): Use the correct width load. Fold
44487 into the ldr offset.
44488
44489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44490 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44491
44492 2014-05-20 Joseph Myers <joseph@codesourcery.com>
44493
44494 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44495 (libgcc_s_resume): Use __attribute_used__.
44496 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44497 Likewise.
44498
44499 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44500
44501 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44502 optimization when used with float constants.
44503
44504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44505
44506 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
44507
44508 [BZ #16915]
44509 * locale/nl_langinfo_l.c: Make direct reference to every
44510 _nl_current_CATEGORY symbol.
44511 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44512 (tests-static): Add tst-langinfo-static.
44513 (tests-special): Add tst-langinfo-static.out.
44514 ($(objpfx)tst-langinfo.out): Redirect output.
44515 ($(objpfx)tst-langinfo-static.out): New.
44516 * localedata/tst-langinfo.sh: Send output to stdout.
44517 * localedata/tst-langinfo-static.c: New file.
44518
44519 [BZ #16965]
44520 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44521 when the shift amount is modulo the limb size.
44522
44523 2014-05-20 Richard Henderson <rth@redhat.com>
44524
44525 [BZ #16967]
44526 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44527 Change type of sa_flags from unsigned int to int.
44528
44529 [BZ #16966]
44530 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44531
44532 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44533
44534 2014-05-20 Will Newton <will.newton@linaro.org>
44535
44536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44537 Test the return value of the system call in the nocancel case.
44538
44539 2014-05-20 Will Newton <will.newton@linaro.org>
44540 Yvan Roux <yvan.roux@linaro.org>
44541
44542 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44543 #include of asm/ptrace.h.
44544 (PTRACE_GET_THREAD_AREA): Remove #undef.
44545 (PTRACE_GETHBPREGS): Likewise.
44546 (PTRACE_SETHBPREGS): Likewise.
44547 (struct user_regs_struct): New structure.
44548 (struct user_fpsimd_struct): New structure.
44549 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44550 #include of asm/ptrace.h and second #include of sys/user.h.
44551 (PTRACE_GET_THREAD_AREA): Remove #undef.
44552 (PTRACE_GETHBPREGS): Likewise.
44553 (PTRACE_SETHBPREGS): Likewise.
44554 (ELF_NGREG): Use new struct user_regs_struct.
44555 (elf_fpregset_t): Use new struct user_fpsimd_struct.
44556
44557 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44558
44559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44561
44562 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
44563
44564 [BZ #16958]
44565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44566 membar to avoid block loads/stores to overlap previous stores.
44567
44568 2014-05-17 Richard Henderson <rth@redhat.com>
44569
44570 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44571 Create the __##syscall_name##_nocancel entry point.
44572 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44573 Remove; let the sysdep-cancel.h code create it.
44574
44575 2014-05-17 David S. Miller <davem@davemloft.net>
44576
44577 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44578 Protect with __USE_GNU.
44579 (TIOCSET_TEMPT): Likewise.
44580 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44581 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44582 these are already provided in bits/ioctl-types.h
44583
44584 2014-05-16 Roland McGrath <roland@hack.frob.com>
44585
44586 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44587 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44588
44589 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44590 Use wait4 regardless of [__NR_waitpid].
44591
44592 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
44593
44594 PR libgcc/60166
44595 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44596 (_FP_NANSIGN_Q): Set the quiet bit.
44597
44598 2014-05-16 Joseph Myers <joseph@codesourcery.com>
44599
44600 * benchtests/Makefile
44601 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44602 not $(common-objpfx)math/libm.so.
44603 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44604 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44605 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44606 $(common-objpfx)dlfcn/libdl.so.
44607 ($(objpfx)tst-audit8): Depend on $(libm), not
44608 $(common-objpfx)math/libm.so.
44609 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44610 not $(common-objpfx)dlfcn/libdl.so.
44611 * math/Makefile
44612 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44613 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
44614 [$(build-shared) = yes].
44615 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44616 $(common-objpfx)nptl/libpthread.so.
44617 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44618 $(common-objpfx)math/libm.so$(libm.so-version) or
44619 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44620 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44621 $(common-objpfx)dlfcn/libdl.so.
44622 * setjmp/Makefile (link-libm): Remove variable.
44623 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44624 * stdio-common/Makefile (link-libm): Remove variable.
44625 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44626 * stdlib/Makefile (link-libm): Remove variable.
44627 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44628 ($(objpfx)tst-strtod-round): Likewise.
44629 ($(objpfx)tst-tininess): Likewise.
44630 ($(objpfx)tst-strtod-underflow): Likewise.
44631 ($(objpfx)tst-strtod6): Likewise.
44632 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44633 $(libdl), not $(common-objpfx)nptl/libpthread.so and
44634 $(common-objpfx)dlfcn/libdl.so.
44635
44636 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44637
44638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44639 BSD terminal modes definitions.
44640
44641 2014-05-16 Roland McGrath <roland@hack.frob.com>
44642
44643 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44644 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44645
44646 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44647 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44648 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44649 Don't do #include_next.
44650 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44651 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44652 Don't do #include_next.
44653 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44654 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44655 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44656 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44657
44658 2014-05-16 Allan McRae <allan@archlinux.org>
44659
44660 * po/sv.po: Update Swedish translation from translation project.
44661
44662 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44663 in sed expression.
44664
44665 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
44666
44667 [BZ #16917]
44668 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44669 errno if the TIOCGPTN ioctl fails with an error different than
44670 EINVAL.
44671 * login/tst-ptsname.c: New file.
44672 * login/Makefile (tests): Add tst-ptsname.
44673
44674 [BZ #16943]
44675 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44676 and prlimit64.
44677
44678 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44679
44680 [BZ #16849]
44681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44682 herrno to return EAI_AGAIN.
44683
44684 2014-05-14 Roland McGrath <roland@hack.frob.com>
44685
44686 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44687 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44688 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44689 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44690 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44691 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44692 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44693 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44695 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44696 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44697 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44698 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44699 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44700 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44701 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44702 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44703 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44704 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44705 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44706 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44707 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44708 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44709 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44711 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44713 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44714 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44715 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44717 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44719 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44721 Moved ...
44722 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44724 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44726 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44728 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44730 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44732 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44734 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44736 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44738 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44740 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44742 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44744 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44746 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44748 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44750 Moved ...
44751 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44753 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44755 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44757 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44759 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44761 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44763 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44765 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44767 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44769 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44771 Moved ...
44772 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44774 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44775
44776 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44777 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44778 (libpthread-sysdep_routines): Add elision-related stuff here instead.
44779 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44780 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44781 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44782 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44783 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44784 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44785 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44786 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44787 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44788 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44789 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44790 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44791 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44792 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44793 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44794 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44795 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44796 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44797 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44798 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44799 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44800 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44801 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44802 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44803 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44804 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44805 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44806 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44807
44808 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44809 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44810
44811 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44812 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44813 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44814 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44815 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44817 Moved ...
44818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44819 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44820 Moved ...
44821 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44822 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44823 Moved ...
44824 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44825 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44826 Moved ...
44827 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44828 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44829 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44831 Moved ...
44832 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44833 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44834 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44835 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44836 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44837 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44838 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44839 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44840 Moved ...
44841 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44843 Moved ...
44844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44845 ... here.
44846 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44847 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44848 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44849 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44850 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44851 Moved ...
44852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44853 ... here.
44854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44855 Moved ...
44856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44857 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44858 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44859 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44860 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44862 Moved ...
44863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44864 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44865 Moved ...
44866 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44867 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44868 Moved ...
44869 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44870 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44871 Moved ...
44872 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44873 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44874 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44876 Moved ...
44877 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44878 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44879 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44880 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44881 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44882 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44883 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44884 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44885 Moved ...
44886 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44888 Moved ...
44889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44890 ... here.
44891 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44892 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44893 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44894 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44895 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44896 Moved ...
44897 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44898 ... here.
44899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44900 Moved ...
44901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44902 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44903 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44904 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44905 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44906 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44908 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44909 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44911 Moved ...
44912 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44913 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44914 Moved ...
44915 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44916 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44917 Moved ...
44918 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44919 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44920 Moved ...
44921 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44922 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44923 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44924 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44925 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44927 Moved ...
44928 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44929 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44930 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44931 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44932 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44933 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44934 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44936 Moved ...
44937 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44939 Moved ...
44940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44941 ... here.
44942 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44943 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44944 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44945 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44946 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44947 Moved ...
44948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44949 ... here.
44950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44951 Moved ...
44952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44953 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44954 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44955 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44956 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44957 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44958 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44959 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44960 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44961 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44962 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44963
44964 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44965 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44966
44967 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44968 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44969
44970 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44971 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44972 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44973 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44974 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44975 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44976 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44977 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44978 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44979 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44980 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44981 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44982 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44983 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44984 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44986 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44988 Moved ...
44989 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44991 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44993 Moved ...
44994 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44998 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45000 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45001 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45002 Moved ...
45003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45005 Moved ...
45006 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45007 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45008 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45012 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45013 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45014 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45015 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45016 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45017 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45018 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45019 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45020 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45021 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45022 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45023
45024 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45025 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45026 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45027 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45028 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45029
45030 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45031 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45032 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45033 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45034 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45035 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45036 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45037 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45038 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45039 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45040
45041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45043
45044 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45045 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45046 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45047 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45048 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45049 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45050 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45051 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45052 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45053 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45054 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45055 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45056 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45057 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45059 Update #include.
45060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45061 Likewise.
45062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45063 Likewise.
45064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45065 Likewise.
45066 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45067 Likewise.
45068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45069 Likewise.
45070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45071 Likewise.
45072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45073 Likewise.
45074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45075 Likewise.
45076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45077 Likewise.
45078 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45080 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45082 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45083 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45084 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45085 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45086 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45087 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45088 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
45092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
45093
45094 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45095 that was previously under [RESET_PID].
45096 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45097 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45098 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45099
45100 * sysdeps/i386/nptl/Implies: New file.
45101 * sysdeps/x86_64/nptl/Implies: New file.
45102 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45103 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45104 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45105 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45106
45107 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45108 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45109 (__libc_vfork): New strong alias.
45110 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45111 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45112
45113 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45114 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45115 (__libc_vfork): New strong alias.
45116 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45117 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45118
45119 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45120 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45121 (__libc_vfork): New strong alias.
45122 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45123 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45124 * nptl/pt-vfork.c: New file.
45125 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45126 (libpthread: GLIBC_2.20): New version set (empty).
45127
45128 2014-05-14 Will Newton <will.newton@linaro.org>
45129
45130 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45131 rather than #if.
45132
45133 2014-05-14 Joseph Myers <joseph@codesourcery.com>
45134
45135 [BZ #16564]
45136 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45137 arguments with exponent 65 or above.
45138 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45139 arguments 0x1p113L or above.
45140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45141 to arguments 0x1p107L or above.
45142 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45143 positive arguments with exponent 65 or above.
45144 * math/auto-libm-test-in: Add more tests of log1p.
45145 * math/auto-libm-test-out: Regenerated.
45146
45147 [BZ #16928]
45148 * math/s_cacos.c (__cacos): Ensure zero real part of result from
45149 non-finite arguments is +0.
45150 * math/s_cacosf.c (__cacosf): Likewise.
45151 * math/s_cacosl.c (__cacosl): Likewise.
45152 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45153 * sysdeps/i386/fpu/libm-test-ulps: Update.
45154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45155
45156 [BZ #16927]
45157 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45158 value.
45159 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45160 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45161 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45162 for explicit high bit of mantissa when testing for argument equal
45163 to 1.
45164 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45165 * sysdeps/i386/fpu/libm-test-ulps: Update.
45166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45167
45168 [BZ #16516]
45169 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45170 (__erf): Scale by 16 instead of 8 in potentially underflowing
45171 case. Ensure exception if result actually underflows.
45172 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45173 (__erff): Scale by 16 instead of 8 in potentially underflowing
45174 case. Ensure exception if result actually underflows.
45175 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45176 (efx8): Remove variable.
45177 (__erfl): Scale by 16 instead of 8 in potentially underflowing
45178 case. Ensure exception if result actually underflows.
45179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45180 (efx8): Remove variable.
45181 (__erfl): Scale by 16 instead of 8 in potentially underflowing
45182 case. Ensure exception if result actually underflows.
45183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45184 (efx8): Remove variable.
45185 (__erfl): Scale by 16 instead of 8 in potentially underflowing
45186 case. Ensure exception if result actually underflows.
45187 * math/auto-libm-test-in: Add more tests of erf.
45188 * math/auto-libm-test-out: Regenerated.
45189
45190 2014-05-14 Andreas Schwab <schwab@suse.de>
45191
45192 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45193 Remove code conditionalized on USE___THREAD.
45194
45195 * config.h.in (HAVE_PT_CHOWN): Define as 0.
45196 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45197 not definedness.
45198
45199 2014-05-14 Joseph Myers <joseph@codesourcery.com>
45200
45201 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45202 Define unconditionally.
45203 (__ASSUME_O_CLOEXEC): Likewise.
45204 (__ASSUME_SOCK_CLOEXEC): Likewise.
45205 (__ASSUME_IN_NONBLOCK): Likewise.
45206 (__ASSUME_PIPE2): Likewise.
45207 (__ASSUME_EVENTFD2): Likewise.
45208 (__ASSUME_SIGNALFD4): Likewise.
45209 (__ASSUME_DUP3): Likewise.
45210 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45211 (__ASSUME_DUP3): Do not define.
45212 (__ASSUME_EVENTFD2): Likewise.
45213 (__ASSUME_IN_NONBLOCK): Likewise.
45214 (__ASSUME_O_CLOEXEC): Likewise.
45215 (__ASSUME_PIPE2): Likewise.
45216 (__ASSUME_SIGNALFD4): Likewise.
45217 (__ASSUME_SOCK_CLOEXEC): Likewise.
45218 (__ASSUME_UTIMES): Undefine.
45219 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45220 (__ASSUME_UTIMES): Do not define.
45221 (__ASSUME_O_CLOEXEC): Likewise.
45222 (__ASSUME_SOCK_CLOEXEC): Likewise.
45223 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45224 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45225 0x020621].
45226 (__ASSUME_PIPE2): Likewise.
45227 (__ASSUME_EVENTFD2): Likewise.
45228 (__ASSUME_SIGNALFD4): Likewise.
45229 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45230 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45231 Do not define.
45232 (__ASSUME_EVENTFD2): Likewise.
45233 (__ASSUME_SIGNALFD4): Likewise.
45234 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45235 (__ASSUME_32BITUIDS): Likewise.
45236 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45237 (__ASSUME_IPC64): Likewise.
45238 (__ASSUME_ST_INO_64_BIT): Likewise.
45239 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45240 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45241 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45242 (__ASSUME_UTIMES): Do not define.
45243 (__ASSUME_PSELECT): Likewise.
45244 (__ASSUME_PPOLL): Likewise.
45245 (__ASSUME_O_CLOEXEC): Likewise.
45246 (__ASSUME_SOCK_CLOEXEC): Likewise.
45247 (__ASSUME_IN_NONBLOCK): Likewise.
45248 (__ASSUME_PIPE2): Likewise.
45249 (__ASSUME_EVENTFD2): Likewise.
45250 (__ASSUME_SIGNALFD4): Likewise.
45251 (__ASSUME_DUP3): Likewise.
45252 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45253 (__ASSUME_UTIMES): Likewise.
45254 (__ASSUME_O_CLOEXEC): Likewise.
45255 (__ASSUME_SOCK_CLOEXEC): Likewise.
45256 (__ASSUME_IN_NONBLOCK): Likewise.
45257 (__ASSUME_PIPE2): Likewise.
45258 (__ASSUME_EVENTFD2): Likewise.
45259 (__ASSUME_SIGNALFD4): Likewise.
45260 (__ASSUME_DUP3): Likewise.
45261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45262 (__ASSUME_UTIMES): Likewise.
45263 (__ASSUME_O_CLOEXEC): Likewise.
45264 (__ASSUME_SOCK_CLOEXEC): Likewise.
45265 (__ASSUME_IN_NONBLOCK): Likewise.
45266 (__ASSUME_PIPE2): Likewise.
45267 (__ASSUME_EVENTFD2): Likewise.
45268 (__ASSUME_SIGNALFD4): Likewise.
45269 (__ASSUME_DUP3): Likewise.
45270 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45271 Likewise.
45272 (__ASSUME_UTIMES): Likewise.
45273 (__ASSUME_EVENTFD2): Likewise.
45274 (__ASSUME_SIGNALFD4): Likewise.
45275 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45276 (__ASSUME_O_CLOEXEC): Likewise.
45277 (__ASSUME_SOCK_CLOEXEC): Likewise.
45278 (__ASSUME_IN_NONBLOCK): Likewise.
45279 (__ASSUME_PIPE2): Likewise.
45280 (__ASSUME_EVENTFD2): Likewise.
45281 (__ASSUME_SIGNALFD4): Likewise.
45282 (__ASSUME_DUP3): Likewise.
45283 (__ASSUME_UTIMES): Undefine.
45284
45285 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45286 feclearexcept. Remove symbol versioning code.
45287 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
45288 symbol versioning code.
45289 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
45290 symbol versioning code.
45291 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45292 feupdateenv. Remove symbol versioning code.
45293 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45294 fegetexceptflag. Remove symbol versioning code.
45295 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45296 fesetexceptflag. Remove symbol versioning code.
45297 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45298 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
45299 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45300 (__posix_fadvise64_l32): Remove prototype.
45301 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45302 code.
45303
45304 2014-05-13 Roland McGrath <roland@hack.frob.com>
45305
45306 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45307 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45308 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45309 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45310
45311 2014-05-13 Sami Kerola <kerolasa@iki.fi>
45312
45313 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45314 current working directory
45315
45316 2014-05-13 Roland McGrath <roland@hack.frob.com>
45317
45318 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45319 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45320 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45321 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45322 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45323 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45324 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45325 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45326 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45327 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45328 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45329 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45330 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45331 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45332 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45333 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45334 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45335 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45336 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45337 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45338 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45339 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45340 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45341 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45342 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45343 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45344 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45345 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45346 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45347 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45348 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45349 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45350 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45351 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45352 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45353 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45354 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45355 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45356 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45357 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45358 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45359 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45360
45361 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45362 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45363
45364 * sysdeps/unix/sysv/linux/arm/Makefile
45365 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45366 Add rt-aeabi_unwind_cpp_pr1.
45367 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45368 Add nptl-aeabi_unwind_cpp_pr1.
45369 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45370 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45371 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45372 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45373 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45374 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45375
45376 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45377 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45378 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45379 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45380
45381 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45382 Deconditionalize the code that was previously under [RESET_PID].
45383 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45384
45385 * sysdeps/generic/exit-thread.h: New file.
45386 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45387 * include/unistd.h (__exit_thread): Remove declaration.
45388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45389 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45390 * csu/libc-start.c: Include <exit-thread.h>.
45391 (LIBC_START_MAIN): Pass no argument to __exit_thread.
45392 * nptl/pthread_create.c: Include <exit-thread.h>.
45393 (start_thread): Call __exit_thread in place of __exit_thread_inline.
45394 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45395 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45396 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45397 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45398 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45399 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45400 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45401 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45402 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45403 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45404 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45405 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45406 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45407 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45408 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45409 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45410
45411 2014-05-13 Andreas Schwab <schwab@suse.de>
45412
45413 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45414
45415 2014-05-12 Joseph Myers <joseph@codesourcery.com>
45416
45417 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45418 (__ASSUME_UTIMES): Do not condition on kernel version.
45419 (__ASSUME_PSELECT): Define unconditionally.
45420 (__ASSUME_PPOLL): Likewise.
45421 (__ASSUME_ATFCTS): Likewise.
45422 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45423 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45424 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45425 (__ASSUME_UTIMENSAT): Define unconditionally.
45426 (__ASSUME_PRIVATE_FUTEX): Likewise.
45427 (__ASSUME_FALLOCATE): Likewise.
45428 (__ASSUME_O_CLOEXEC): Likewise.
45429 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45430 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45431 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45432 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45433 (__ASSUME_IN_NONBLOCK): Likewise.
45434 (__ASSUME_PIPE2): Likewise.
45435 (__ASSUME_EVENTFD2): Likewise.
45436 (__ASSUME_SIGNALFD4): Likewise.
45437 (__ASSUME_DUP3): Likewise.
45438 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45439 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45440 (__ASSUME_AT_RANDOM): Likewise.
45441 (__ASSUME_PREADV): Likewise.
45442 (__ASSUME_PWRITEV): Likewise.
45443 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45444 (__ASSUME_F_GETOWN_EX): Define unconditionally.
45445 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45446 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45447 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45449 (__ASSUME_O_CLOEXEC): Define unconditionally.
45450 (__ASSUME_PSELECT): Do not undefine conditionally.
45451 (__ASSUME_PPOLL): Likewise.
45452 (__ASSUME_ATFCTS): Likewise.
45453 (__ASSUME_SET_ROBUST_LIST): Likewise.
45454 (__ASSUME_UTIMENSAT): Likewise.
45455 (__ASSUME_FDATASYNC): Define unconditionally.
45456 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45457 (__ASSUME_SIGFRAME_V2): Likewise.
45458 )__ASSUME_EVENTFD2): Likewise.
45459 (__ASSUME_SIGNALFD4): Likewise.
45460 (__ASSUME_PSELECT): Do not undefine conditionally.
45461 (__ASSUME_PPOLL): Likewise.
45462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45463 (__ASSUME_PSELECT): Define unconditionally.
45464 (__ASSUME_PPOLL): Likewise.
45465 (__ASSUME_O_CLOEXEC): Likewise.
45466 (__ASSUME_SOCK_CLOEXEC): Likewise.
45467 (__ASSUME_IN_NONBLOCK): Likewise.
45468 (__ASSUME_PIPE2): Likewise.
45469 (__ASSUME_EVENTFD2): Likewise.
45470 (__ASSUME_SIGNALFD4): Likewise.
45471 (__ASSUME_DUP3): Likewise.
45472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45473 (__ASSUME_O_CLOEXEC): Likewise.
45474 (__ASSUME_SOCK_CLOEXEC): Likewise.
45475 (__ASSUME_IN_NONBLOCK): Likewise.
45476 (__ASSUME_PIPE2): Likewise.
45477 (__ASSUME_EVENTFD2): Likewise.
45478 (__ASSUME_SIGNALFD4): Likewise.
45479 (__ASSUME_DUP3): Likewise.
45480 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45481 (__ASSUME_EVENTFD2): Likewise.
45482 (__ASSUME_SIGNALFD4): Likewise.
45483 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45484
45485 2014-05-12 Andreas Schwab <schwab@suse.de>
45486
45487 [BZ #16932]
45488 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45489 (_nss_nis_gethostbyname4_r): Return error if item length is larger
45490 than maximum RPC packet size.
45491 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45492 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45493 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45494 (_nss_nis_getservbyport_r): Likewise.
45495
45496 2014-05-12 Will Newton <will.newton@linaro.org>
45497
45498 * malloc/Makefile (tests): Add tst-mallopt.
45499 * malloc/tst-mallopt.c: New file.
45500
45501 2014-05-09 Roland McGrath <roland@hack.frob.com>
45502
45503 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45504 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45505
45506 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45507
45508 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45509 (tst-tlsmod6.so): Likewise.
45510
45511 2014-05-09 Roland McGrath <roland@hack.frob.com>
45512
45513 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45514
45515 2014-05-09 Joseph Myers <joseph@codesourcery.com>
45516
45517 [BZ #16064]
45518 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45519 and <dl-procinfo.h>.
45520 (__fegetenv): Save SSE state in envp->__eip if supported.
45521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45522 envp->__eip if supported.
45523 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45524 and <dl-procinfo.h>.
45525 (__fesetenv): Always set __eip, __cs_selector, __opcode,
45526 __data_offset and __data_selector in environment to 0. Set SSE
45527 state if supported.
45528 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45529 test-fenv-sse.
45530 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45531 -mfpmath=sse.
45532 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45533
45534 2014-05-09 Will Newton <will.newton@linaro.org>
45535
45536 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45537 and libc_relro_required for ARM.
45538 * sysdeps/arm/preconfigure: Regenerate.
45539
45540 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
45541 Stefan Liebler <stli@linux.vnet.ibm.com>
45542
45543 * config.make.in (enable-lock-elision): New Makefile variable.
45544 * configure.ac: Likewise.
45545 * configure: Regenerate.
45546 * sysdeps/s390/configure.ac:
45547 Add check for gcc transactions support.
45548 * sysdeps/s390/configure: Regenerate.
45549 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45550 Build elision files if enabled.
45551 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45552 Add lock elision support for s390.
45553 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45554 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45555 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45556 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45557 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45558 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45560 Likewise.
45561 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45562 Likewise.
45563 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45564 Likewise.
45565 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45566 Likewise.
45567 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45568 (__lll_timedlock_elision, __lll_lock_elision)
45569 (__lll_unlock_elision, __lll_trylock_elision)
45570 (lll_timedlock_elision, lll_lock_elision)
45571 (lll_unlock_elision, lll_trylock_elision): Add.
45572 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45573 (pthread_mutex_t): Add lock elision support for s390.
45574
45575 2014-05-14 Wilco <wdijkstr@arm.com>
45576
45577 * sysdeps/arm/fclrexcpt.c: Cleanup.
45578 * sysdeps/arm/fedisblxcpt.c: Cleanup.
45579 * sysdeps/arm/feenablxcpt.c: Cleanup.
45580 * sysdeps/arm/fegetenv.c: Cleanup.
45581 * sysdeps/arm/fegetexcept.c: Cleanup.
45582 * sysdeps/arm/fegetround.c: Cleanup.
45583 * sysdeps/arm/feholdexcpt.c: Cleanup.
45584 * sysdeps/arm/fesetenv.c: Cleanup.
45585 * sysdeps/arm/fesetround.c: Cleanup.
45586 * sysdeps/arm/feupdateenv.c: Cleanup.
45587 * sysdeps/arm/fgetexcptflg.c: Cleanup.
45588 * sysdeps/arm/fraiseexcpt.c: Cleanup.
45589 * sysdeps/arm/fsetexcptflg.c: Cleanup.
45590 * sysdeps/arm/ftestexcept.c: Cleanup.
45591 * sysdeps/arm/get-rounding-mode.h: Cleanup.
45592 * sysdeps/arm/setfpucw.c: Cleanup.
45593
45594 2014-05-09 Will Newton <will.newton@linaro.org>
45595
45596 * sysdeps/arm/armv7/strcmp.S: New file.
45597 * NEWS: Mention addition of ARMv7 optimized strcmp.
45598
45599 2014-05-08 Roland McGrath <roland@hack.frob.com>
45600
45601 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45602 look for %.ac rather than %.in.
45603
45604 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45605 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45606 * sysdeps/mach/hurd/configure: Regenerated.
45607 * sysdeps/unix/sysv/linux/configure: Regenerated.
45608
45609 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45610
45611 2014-05-07 Steve Ellcey <sellcey@mips.com>
45612
45613 [BZ# 16922]
45614 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45615 (LONG_SUB): Ditto.
45616 (PTR_SUB): Ditto.
45617
45618 2014-05-07 Andreas Schwab <schwab@suse.de>
45619
45620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45621 when skipping over non-matching result from nscd.
45622
45623 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
45624
45625 [BZ #16876]
45626 * nptl/sockperf.c (client): Check socket return value.
45627
45628 [BZ #16877]
45629 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45630 nscd security class.
45631
45632 2014-05-06 Roland McGrath <roland@hack.frob.com>
45633
45634 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45635 * sysdeps/arm/unwind.h: ... here.
45636
45637 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
45638
45639 [BZ# 16916]
45640 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45641 Define.
45642
45643 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
45644
45645 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45646 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45647 multiarch strncpy for PPC64.
45648 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45649 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45651 multiarch optimizations.
45652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45653 (__libc_ifunc_impl_list): Likewise.
45654 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45655 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45656 multiarch stpncpy for PPC64.
45657 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45658 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45659
45660 2014-05-06 Andreas Schwab <schwab@suse.de>
45661
45662 [BZ #16912]
45663 * gmon/mcount.c (_MCOUNT_DECL): Use
45664 atomic_compare_and_exchange_bool_acq instead of
45665 catomic_compare_and_exchange_bool_acq.
45666
45667 2014-05-05 Roland McGrath <roland@hack.frob.com>
45668
45669 * elf/Makefile (others, install-bin): Remove pldd.
45670 (pldd-modules): Variable removed.
45671 ($(objpfx)pldd): Target removed.
45672 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45673 (others, install-bin): Append pldd here.
45674 ($(objpfx)pldd): New target.
45675
45676 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45677 to 0, so the first #if test emitted later doesn't see it undefined.
45678 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45679 * sysdeps/gnu/errlist.c: Regenerated.
45680
45681 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45682
45683 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45684 [libc_hidden_builtin_def]: Define to empty value.
45685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45686 [libc_hidden_builtin_def]: Likewise.
45687 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45688 [libc_hidden_builtin_def]: Likewise.
45689 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45690 [libc_hidden_builtin_def]: Likewise.
45691 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45692 __redirect_memcpy and define ifunc as default hidden symbol.
45693 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45694 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45695
45696 2014-05-04 Adam Conrad <adconrad@0c3.net>
45697
45698 * locale/iso-4217.def: Reintroduce XDR currency.
45699
45700 2014-05-04 Allan McRae <allan@archlinux.org>
45701
45702 * po/eo.po: Update Esperanto translation from translation project.
45703
45704 2014-05-02 Carlos O'Donell <carlos@redhat.com>
45705
45706 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45707 and FEATURE_INDEX_MAX to 1.
45708 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45709
45710 2014-05-01 Steve Ellcey <sellcey@mips.com>
45711
45712 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45713 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45714 * iconvdata/big5.c (ONE_DIRECTION): Define.
45715 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45716 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45717 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45718 * iconvdata/cp932.c (ONE_DIRECTION): Define.
45719 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45720 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45721 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45722 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45723 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45724 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45725 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45726 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45727 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45728 * iconvdata/gbk.c (ONE_DIRECTION): Define.
45729 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45730 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45731 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45732 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45733 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45734 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45735 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45736 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45737 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45738 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45739 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45740 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45741 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45742 * iconvdata/iso646.c (ONE_DIRECTION): Define.
45743 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45744 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45745 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45746 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45747 * iconvdata/johab.c (ONE_DIRECTION): Define.
45748 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45749 * iconvdata/sjis.c (ONE_DIRECTION): Define.
45750 * iconvdata/t.61.c (ONE_DIRECTION): Define.
45751 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45752 * iconvdata/tscii.c (ONE_DIRECTION): Define.
45753 * iconvdata/uhc.c (ONE_DIRECTION): Define.
45754 * iconvdata/unicode.c (ONE_DIRECTION): Define.
45755 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45756 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45757 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45758
45759 2014-05-01 Roland McGrath <roland@hack.frob.com>
45760
45761 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45762 (_IO_JUMPS_OFFSET): Define to 0.
45763
45764 * nptl/sysdeps/pthread/bits/libc-lock.h
45765 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45766 (__libc_lock_define_initialized_recursive): Always define using
45767 initializer. Modern compilers treat uninitialized (implicit zero) and
45768 explicit zero initializers the same (i.e. put the datum in bss).
45769
45770 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
45771
45772 * nscd/nscd-client.h: Include <string.h>.
45773
45774 2014-05-01 David S. Miller <davem@davemloft.net>
45775
45776 [BZ #16885]
45777 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45778 multiple zero bytes exist at the end of a string.
45779 Reported by Aurelien Jarno <aurelien@aurel32.net>
45780
45781 * string/test-strcmp.c (check): Add explicit test for situations where
45782 there are multiple zero bytes after the first.
45783
45784 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
45785
45786 [BZ #16890]
45787 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45788 when compiling wprintf.
45789 * stdio-common/tstdiomisc.c (t3): New function.
45790 (main): Call it.
45791
45792 2014-05-01 Steve Ellcey <sellcey@mips.com>
45793
45794 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45795 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45796 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45797 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45798
45799 2014-05-01 Steve Ellcey <sellcey@mips.com>
45800
45801 * stdlib/longlong.h: Updated from GCC.
45802
45803 2014-05-01 Will Newton <will.newton@linaro.org>
45804 Bernard Ogden <bernie.ogden@linaro.org>
45805
45806 * NEWS: Update fixed bug list.
45807
45808 [BZ #15119]
45809 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45810
45811 2014-04-30 David S. Miller <davem@davemloft.net>
45812
45813 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45814 (libc_feholdexcept_setround_sparc_ctx): New function.
45815 (libc_fesetenv_sparc_ctx): Likewise.
45816 (libc_feupdateenv_sparc_ctx): Likewise.
45817 (libc_feholdsetround_sparc_ctx): Likewise.
45818 (libc_feholdexcept_setround_ctx): Define.
45819 (libc_feholdexcept_setroundf_ctx): Likewise.
45820 (libc_feholdexcept_setroundl_ctx): Likewise.
45821 (libc_fesetenv_ctx): Likewise.
45822 (libc_fesetenvf_ctx): Likewise.
45823 (libc_fesetenvl_ctx): Likewise.
45824 (libc_feupdateenv_ctx): Likewise.
45825 (libc_feupdateenvf_ctx): Likewise.
45826 (libc_feupdateenvl_ctx): Likewise.
45827 (libc_feresetround_ctx): Likewise.
45828 (libc_feresetroundf_ctx): Likewise.
45829 (libc_feresetroundl_ctx): Likewise.
45830 (libc_feholdsetround_ctx): Likewise.
45831 (libc_feholdsetroundf_ctx): Likewise.
45832 (libc_feholdsetroundl_ctx): Likewise.
45833
45834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45835 with __USE_GNU instead of XOPEN cpp guards.
45836
45837 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45838 0.
45839
45840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45841 with XOPEN cpp guards.
45842
45843 2014-04-30 Julian Brown <julian@codesourcery.com>
45844
45845 [BZ #16888]
45846 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45847 handling.
45848
45849 2014-04-30 Joseph Myers <joseph@codesourcery.com>
45850
45851 [BZ #9894]
45852 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45853 Change to 2.6.32.
45854 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45855 * sysdeps/unix/sysv/linux/configure: Regenerated.
45856 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45857 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45858 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45859 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45860 * README: Update reference to required Linux kernel version.
45861 * manual/install.texi (Linux): Update reference to required Linux
45862 kernel headers version.
45863 * INSTALL: Regenerated.
45864
45865 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45866 header inclusion.
45867 [POSIX] (limits.h): Likewise.
45868 [POSIX] (math.h): Likewise.
45869 [POSIX] (sys/wait.h): Likewise.
45870 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45871 function.
45872 [POSIX] (stddef.h): Do not allow header inclusion.
45873
45874 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45875
45876 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45877
45878 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
45879
45880 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45881 Return immediately after lll_futex_wake.
45882
45883 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45884
45885 [BZ #16791]
45886 * nscd/nscd-client.h (datahead_init_common): Initialize entire
45887 structure.
45888 (datahead_init_pos): Call datahead_init_common early.
45889 (datahead_init_neg): Likewise.
45890
45891 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45892 datahead_init_neg): New functions.
45893 * nscd/aicache.c (addhstaiX): Use them.
45894 * nscd/grpcache.c (cache_addgr): Likewise.
45895 * nscd/hstcache.c (cache_addhst): Likewise.
45896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45897 * nscd/netgroupcache.c (do_notfound): Likewise.
45898 (addgetnetgrentX): Likewise.
45899 (addinnetgrX): Likewise.
45900 * nscd/pwdcache.c (cache_addpw): Likewise.
45901 * nscd/servicescache.c (cache_addserv): Likewise.
45902
45903 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45904 Atsushi Onoe <atsushi@onoe.org>
45905
45906 [BZ #14308]
45907 [BZ #12994]
45908 [BZ #13651]
45909 * resolv/res_query.c (__libc_res_nsearch): Return if at least
45910 one response is valid.
45911 * resolv/res_send.c (send_dg): Check for validity of other
45912 response if the current response is a referral.
45913
45914 2014-04-29 Steve Ellcey <sellcey@mips.com>
45915
45916 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45917
45918 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
45919
45920 [BZ #16823]
45921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45922 Always divide by positive zero when computing -Inf result.
45923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45924 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45925
45926 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45927
45928 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45929 FPSCR if value do not change.
45930 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45931 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45932 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45933 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45934 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45935 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45936 function.
45937
45938 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
45939
45940 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45941 * sysdeps/unix/sysv/linux/hppa: Move directory from
45942 ports/systeps/unix/sysv/linux/hppa.
45943 * README: Update listing for hppa-*-linux-gnu.
45944
45945 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
45946
45947 [BZ #16754]
45948 * manual/stdio.texi (Hook functions): Fix types of stream hook
45949 functions.
45950 [BZ #16854]
45951 * socket/sys/socket.h: Fix typo in comment.
45952
45953 2014-04-28 Wilco <wdijkstr@arm.com>
45954
45955 * sysdeps/arm/fenv_private.h: New file.
45956 * sysdeps/arm/math_private.h: New file.
45957 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45958
45959 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
45960
45961 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45962 with __int128_t.
45963 (La_x86_64_retval): Likewise.
45964
45965 2014-04-24 Ian Bolton <ian.bolton@arm.com>
45966
45967 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45968 fpsr if value didn't change.
45969 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45970 to fpcr if value didn't change.
45971 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45972 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45973 fpsr or fpcr if value didn't change.
45974 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45975 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45976 fpcr if value didn't change.
45977 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45978 to fpsr if value didn't change.
45979
45980 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45981
45982 * nptl/tst-sem3.c: Use test-skeleton.c
45983 (main): Rename to do_test. Use return instead of
45984 exit.
45985 * nptl/tst-sem4.c: Use test-skeleton.c
45986 (main): Rename to do_test.
45987
45988 2014-04-22 David S. Miller <davem@davemloft.net>
45989
45990 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45991 (struct sigaction): New struct member __glibc_reserved0, change
45992 type of sa_flags to int.
45993
45994 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
45995
45996 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45997 (COUNT_LEADING_ZEROS_0): Define for AArch64.
45998
45999 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46000
46001 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46002 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46003
46004 2014-04-22 Will Newton <will.newton@linaro.org>
46005 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
46006
46007 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46008 (__longjmp): Add longjmp and longjmp_target SystemTap
46009 probes.
46010 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46011 (__sigsetjmp): Add setjmp SystemTap probe.
46012
46013 2014-04-17 Carlos O'Donell <carlos@redhat.com>
46014
46015 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46016 match manual order.
46017
46018 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46019
46020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46021
46022 * sysdeps/powerpc/fpu/fenv_private.h
46023 (libc_feholdexcept_setroundl_ctx): Define to
46024 libc_feholdexcept_setround_ppc_ctx.
46025 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46026 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46027 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46028 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46029
46030 2014-04-17 Ian Bolton <ian.bolton@arm.com>
46031
46032 * sysdeps/aarch64/math-tests.h: New file.
46033
46034 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
46035
46036 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46037 New.
46038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46039 Check and set bit_AVX2_Usable.
46040 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46041 macro.
46042 (bit_AVX2): Likewise.
46043 (index_AVX2_Usable): Likewise.
46044 (CPUID_AVX2): Likewise.
46045 (HAS_AVX2): Likewise.
46046
46047 2014-04-17 Will Newton <will.newton@linaro.org>
46048
46049 * manual/setjmp.texi (System V contexts): Add note that
46050 calling setcontext on a context created by a call to a
46051 signal handler is undefined. Update text to note that
46052 setcontext from a signal handler is possible but not
46053 recommended.
46054
46055 [BZ #16629]
46056 * stdlib/tst-setcontext.c: Include signal.h.
46057 (main): Check that the signal stack before and
46058 after swapcontext is the same.
46059
46060 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46061 Re-implement to restore registers in user code and avoid
46062 rt_sigreturn system call.
46063
46064 2014-04-17 Wilco <wdijkstr@arm.com>
46065
46066 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46067 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46068 * math/test-fenv.c: Skip exception trap tests on targets which only
46069 support non-stop mode.
46070
46071 2014-04-17 Ian Bolton <ian.bolton@arm.com>
46072 Wilco Dijkstra <wilco.dijkstra@arm.com>
46073
46074 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46075 (libc_feholdsetround_aarch64_ctx)
46076 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46077 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46078 (libc_feresetround_ctx, libc_feresetroundf_ctx)
46079 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46080 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46081 (libc_feresetround_noexl_ctx): Define.
46082
46083 2014-04-16 Richard Henderson <rth@redhat.com>
46084
46085 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46086
46087 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46088 unwind tables.
46089
46090 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46091 const from the non-libc, non-ldso copy.
46092
46093 * sysdeps/alpha/libm-test-ulps: Regenerate.
46094
46095 2014-04-16 Ian Bolton <ian.bolton@arm.com>
46096 Wilco Dijkstra <wilco.dijkstra@arm.com>
46097
46098 * sysdeps/aarch64/fpu/math_private.h: New file.
46099
46100 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
46101
46102 * sysdeps/aarch64/libm-test-ulps: Regenerate.
46103
46104 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
46105
46106 [BZ #16275]
46107 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46108 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46110 Intel MPX bound registers before _dl_profile_fixup.
46111 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46112 registers after _dl_profile_fixup. Save and restore bound
46113 registers bnd0/bnd1 when calling _dl_call_pltexit.
46114 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46115 (LR_BND_OFFSET): Likewise.
46116 (LRV_BND0_OFFSET): Likewise.
46117 (LRV_BND1_OFFSET): Likewise.
46118
46119 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46120
46121 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46122 to...
46123 * sysdeps/mach/hurd/i386/tls.h: ... here.
46124 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46125 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46126 fields.
46127
46128 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46129
46130 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46131
46132 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
46133
46134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46135
46136 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
46137
46138 [BZ #14770]
46139 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46140 * sysdeps/s390/configure: Regenerate.
46141
46142 [BZ #16824]
46143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46144 Set round-to-nearest internally to reduce error accumulation.
46145
46146 2014-04-16 Alan Modra <amodra@gmail.com>
46147
46148 [BZ #16740]
46149 [BZ #16619]
46150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46151 * math/libm-test.inc (frexp_test_data): Add tests.
46152 * NEWS: Update fixed bug list.
46153
46154 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46155
46156 * benchtests/Makefile: Depend on libraries in build directory.
46157 (bench-math): Separate out math tests.
46158 (bench-pthread): Separate out pthread tests.
46159 (bench): Include math and pthread tests.
46160
46161 2014-04-14 Carlos O'Donell <carlos@redhat.com>
46162
46163 [BZ #16831]
46164 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46165 _dl_debug_initialize.
46166
46167 * configure.ac: Remove SELinux header check.
46168 * configure: Regenerate.
46169 * nscd/selinux.c (perms): Array of const char* to permission names.
46170 (nscd_request_avc_has_perm): Call security_deny_unknown to find
46171 default policy. Call string_to_security_class and string_to_av_perm to
46172 translate strings. Enforce default policy and call avs_has_perm with
46173 results of translated strings.
46174
46175 2014-04-13 David S. Miller <davem@davemloft.net>
46176
46177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46178
46179 2014-04-12 Allan McRae <allan@archlinux.org>
46180
46181 [BZ #16838]
46182 * manual/string.texi (Collation Functions): Fix qsort argument
46183 order in example.
46184 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46185
46186 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
46187
46188 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46189 Make the test a no-op if there are no exceptions defined.
46190
46191 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
46192
46193 * elf/Makefile (tests): make tst-dlopen-aout conditional on
46194 enable-hardcoded-path-in-tests
46195
46196 2014-04-11 Will Newton <will.newton@linaro.org>
46197
46198 * benchtests/Makefile (extra-objs): Add json-lib.o.
46199 (bench-func): Tidy up JSON output.
46200 * benchtests/bench-skeleton.c: Include json-lib.h.
46201 (main): Use JSON library functions to do output of
46202 benchmark results.
46203 * benchtests/bench-timing-type.c (main): Output the
46204 timing type simply, leaving formatting to the user.
46205 * benchtests/json-lib.c: New file.
46206 * benchtests/json-lib.h: Likewise.
46207
46208 2014-04-11 Torvald Riegel <triegel@redhat.com>
46209
46210 [BZ #15215]
46211 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46212 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
46213 memory barriers. Add comments.
46214 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46215 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46216 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46217 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46218 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46219 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46220
46221 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46222
46223 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46224 * sysdeps/s390/s390-64/configure.ac: ... this ...
46225 * sysdeps/s390/configure.ac: ... to here.
46226 * sysdeps/s390/s390-32/configure: Delete file.
46227 * sysdeps/s390/s390-64/configure: Delete file.
46228 * sysdeps/s390/configure: Regenerate.
46229
46230 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
46231
46232 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46233
46234 2014-04-11 Will Newton <will.newton@linaro.org>
46235
46236 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46237 to zero if it is not defined elsewhere. (mtrim): Test
46238 the value of MALLOC_DEBUG with #if rather than #ifdef.
46239
46240 2014-04-10 Torvald Riegel <triegel@redhat.com>
46241
46242 * benchtests/pthread_once-inputs: New file.
46243 * benchtests/pthread_once-source.c: New file.
46244 * benchtests/README: Update documentation.
46245
46246 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
46247 H.J. Lu <hongjiu.lu@intel.com>
46248
46249 [BZ #16275]
46250 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46251 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46252 * sysdeps/x86_64/configure: Regenerated.
46253 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46254 macro.
46255 (REGISTER_SAVE_RAX): Likewise.
46256 (REGISTER_SAVE_RCX): Likewise.
46257 (REGISTER_SAVE_RDX): Likewise.
46258 (REGISTER_SAVE_RSI): Likewise.
46259 (REGISTER_SAVE_RDI): Likewise.
46260 (REGISTER_SAVE_R8): Likewise.
46261 (REGISTER_SAVE_R9): Likewise.
46262 (REGISTER_SAVE_BND0): Likewise.
46263 (REGISTER_SAVE_BND1): Likewise.
46264 (REGISTER_SAVE_BND2): Likewise.
46265 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
46266 bound registers when calling _dl_fixup.
46267
46268 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46269
46270 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46271 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46272 of its definition.
46273 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46274 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46275 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46276 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46277 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46278 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46279 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46280
46281 2014-04-09 Peter Brett <peter@peter-b.co.uk>
46282
46283 [BZ #15514]
46284 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46285 pathconf(_PC_NAME_MAX).
46286
46287 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46288
46289 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46290 Remove macro usage.
46291 (__PTHREAD_SPINS): Move definition to ...
46292 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46293 (__PTHREAD_SPINS): ... here.
46294 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46295 (__PTHREAD_SPIN): Likewise.
46296 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46297 (__PTHREAD_SPIN): Likewise.
46298 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46299 (__PTHREAD_SPIN): Likewise.
46300 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46301 (__PTHREAD_SPIN): Likewise.
46302 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46303 (__PTHREAD_SPIN): Likewise.
46304 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46305 (__PTHREAD_SPIN): Likewise.
46306 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46307 (__PTHREAD_SPIN): Likewise.
46308 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46309 (__PTHREAD_SPIN): Likewise.
46310 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46311 (__PTHREAD_SPIN): Likewise.
46312 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46313 (__PTHREAD_SPIN): Likewise.
46314 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46315 (__PTHREAD_SPIN): Likewise.
46316 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46317 (__PTHREAD_SPIN): Likewise.
46318
46319 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46320 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46321 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46322 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46323 imply folder.
46324 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46325 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46326 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46327 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46328 correct imply path.
46329 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46330 strlen symbol for non multi-arch builds.
46331 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46332 missing hidden_def and weak_alias.
46333
46334 2014-04-08 Carlos O'Donell <carlos@redhat.com>
46335
46336 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46337
46338 2014-04-07 Will Newton <will.newton@linaro.org>
46339
46340 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46341 and contents. [!_LIBC] Remove #ifndef and contents.
46342 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
46343 * string/memccpy.c (__memccpy): Use ANSI prototype.
46344 * string/memfrob.c (memfrob): Likewise.
46345 * string/strcoll.c (STRCOLL): Likewise.
46346 * string/strlen.c (strlen): Likewise.
46347 * string/strtok.c (STRTOK): Likewise.
46348 * string/strcat.c: Remove unused #include of memcopy.h.
46349 (strcat): Use ANSI prototype.
46350 * string/strchr.c: Remove unused #include of memcopy.h.
46351 (strchr): Use ANSI prototype.
46352 * string/strcmp.c: Remove unused #include of memcopy.h.
46353 (strcmp): Use ANSI prototype.
46354 * string/strcpy.c: Remove unused #include of memcopy.h.
46355 (strcpy): Use ANSI prototype.
46356
46357 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46358
46359 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46360 * config.make.in (config-extra-cppflags): Set it from
46361 libc_extra_cppflags.
46362 * configure.ac (libc_extra_cflags): Make it accumulate over
46363 configure fragments.
46364 (libc_extra_cppflags): New flag.
46365 * configure. Regenerate.
46366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46367 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46368 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46370
46371 [BZ #16815]
46372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46373 result for FE_DOWNWARD rounding mode.
46374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46375 Likewise.
46376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46377
46378 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
46379
46380 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46381 in function argument name.
46382
46383 2014-04-03 David Svoboda <svoboda@cert.org>
46384
46385 [BZ #5666]
46386 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46387 explicitly.
46388
46389 2014-04-03 Roland McGrath <roland@hack.frob.com>
46390
46391 * elf/dl-unmap-segments.h: New file.
46392 * sysdeps/generic/ldsodefs.h
46393 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46394 * elf/dl-close.c: Include <dl-unmap-segments.h>.
46395 * elf/dl-fptr.c: Likewise.
46396 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46397 * sysdeps/aarch64/tlsdesc.c: Likewise.
46398 * sysdeps/arm/tlsdesc.c: Likewise.
46399 * sysdeps/i386/tlsdesc.c: Likewise.
46400 * sysdeps/tile/dl-runtime.c: Likewise.
46401 * sysdeps/x86_64/tlsdesc.c: Likewise.
46402 * elf/dl-load.h: New file.
46403 * elf/dl-load.c: Include it.
46404 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46405 Macros moved to dl-load.h.
46406 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46407 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46408 Use _dl_unmap_segments in place of __munmap.
46409 Break out segment-mapping loop into ...
46410 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46411
46412 2014-04-03 Will Newton <will.newton@linaro.org>
46413
46414 * elf/dl-lookup.c (do_lookup_x): Remove comment
46415 referring to nested function and move variable
46416 declarations down to before first use.
46417
46418 2014-04-02 Joseph Myers <joseph@codesourcery.com>
46419
46420 [BZ #16799]
46421 [BZ #16800]
46422 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46423 with 0 numerator.
46424 * math/s_catanf.c (__catanf): Likewise.
46425 * math/s_catanh.c (__catanh): Likewise.
46426 * math/s_catanhf.c (__catanhf): Likewise.
46427 * math/s_catanhl.c (__catanhl): Likewise.
46428 * math/s_catanl.c (__catanl): Likewise.
46429 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46430 by positive zero when computing -Inf result.
46431 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46432 (catanh_test): Likewise.
46433 * sysdeps/i386/fpu/libm-test-ulps: Update.
46434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46435
46436 [BZ #16789]
46437 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46438 instead of using underflowing value in computing result.
46439 * math/s_clog10.c (__clog10): Likewise.
46440 * math/s_clog10f.c (__clog10f): Likewise.
46441 * math/s_clog10l.c (__clog10l): Likewise.
46442 * math/s_clogf.c (__clogf): Likewise.
46443 * math/s_clogl.c (__clogl): Likewise.
46444 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46445 (clog10_test): Likewise.
46446 * sysdeps/i386/fpu/libm-test-ulps: Update.
46447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46448
46449 2014-04-02 Alan Modra <amodra@gmail.com>
46450
46451 [BZ #16739]
46452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46453 output when value is near a power of two. Use int64_t for lx and
46454 remove casts. Use decimal rather than hex exponent constants.
46455 Don't use long double multiplication when double will suffice.
46456 * math/libm-test.inc (nextafter_test_data): Add tests.
46457 * NEWS: Add 16739 and 16786 to bug list.
46458
46459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46460
46461 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46462
46463 2014-04-01 Will Newton <will.newton@linaro.org>
46464
46465 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46466 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
46467
46468 2014-04-01 Florian Weimer <fweimer@redhat.com>
46469
46470 [BZ #13347]
46471 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46472 * nptl/tst-setuid2.c: New file.
46473 * nptl/Makefile (xtests): Add tst-setuid2.
46474
46475 2014-04-01 Alan Modra <amodra@gmail.com>
46476
46477 [BZ #16786]
46478 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46479
46480 2014-03-31 Joseph Myers <joseph@codesourcery.com>
46481
46482 [BZ #6803]
46483 [BZ #6804]
46484 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46485 set errno as appropriate.
46486 * math/w_scalbf.c (__scalbf): Likewise.
46487 * math/w_scalbl.c (__scalbl): Likewise.
46488 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46489 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46490 * math/libm-test.inc (scalb_test_data): Add errno expectations.
46491 Add more NaN tests.
46492
46493 [BZ #16349]
46494 * math/w_atan2.c: Include <errno.h>.
46495 (__atan2): Set errno for result underflowing to zero.
46496 * math/w_atan2f.c: Include <errno.h>.
46497 (__atan2f): Set errno for result underflowing to zero.
46498 * math/w_atan2l.c: Include <errno.h>.
46499 (__atan2l): Set errno for result underflowing to zero.
46500 * math/auto-libm-test-in: Don't allow missing errno for some atan2
46501 tests.
46502 * math/auto-libm-test-out: Regenerated.
46503
46504 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46505
46506 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46507 Encode instruction correctly in little endian.
46508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46509 Likewise.
46510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46511 Likewise.
46512 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46513 Likewise.
46514 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46515 Likewise.
46516
46517 2014-03-31 Joseph Myers <joseph@codesourcery.com>
46518
46519 [BZ #9894]
46520 * sysdeps/unix/sysv/linux/kernel-features.h
46521 [__sparc__ && !__arch64__ && !__sparc_v9__]
46522 (__ASSUME_SET_ROBUST_LIST): Do not define.
46523 [__sparc__ && !__arch64__ && !__sparc_v9__]
46524 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46525 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46526 Likewise.
46527 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46528 (__ASSUME_FUTEX_LOCK_PI): Undefine.
46529 (__ASSUME_REQUEUE_PI): Likewise.
46530 (__ASSUME_SET_ROBUST_LIST): Likewise.
46531 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46532 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46533 Undefine.
46534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46535 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46536 Likewise.
46537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46538 Likewise.
46539 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46540 Likewise.
46541 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46542 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46543 Undefine.
46544 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46545 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46546 Likewise.
46547
46548 [BZ #16648]
46549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46551 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46552
46553 2014-03-31 Will Newton <will.newton@linaro.org>
46554
46555 * benchtests/Makefile (bench): Add ffs and ffsll to list
46556 of tests.
46557 * benchtests/ffs-inputs: New file.
46558 * benchtests/ffsll-inputs: Likewise.
46559
46560 2014-03-29 Joseph Myers <joseph@codesourcery.com>
46561
46562 [BZ #16770]
46563 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46564 too large before casting to int.
46565 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46566 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46567 * math/libm-test.inc (scalb_test_data): Add more tests.
46568
46569 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46570
46571 * benchtests/Makefile (DETAILED_OPT): New make option.
46572 (bench-func): Run benchmark program with -d if DETAILED_OPT is
46573 set.
46574 * benchtests/bench-skeleton.c: Include stdbool.h.
46575 (main): Store and print timings per input.
46576 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46577 member to each argument value.
46578 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46579 (_print_arg_data): Initialize per-input timing to 0.
46580
46581 * benchtests/Makefile (timing-type): New binary.
46582 (bench-clean): Also remove bench-timing-type.
46583 (bench): New target for timing-type.
46584 (bench-func): Print output in JSON format.
46585 * benchtests/bench-skeleton.c (main): Print output in JSON
46586 format.
46587 * benchtests/bench-timing-type.c: New file.
46588 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46589 (TIMING_PRINT_STATS): Remove.
46590 * benchtests/scripts/bench.py (_print_arg_data): Store variant
46591 name separately.
46592
46593 * benchtests/bench-modf.c: Remove.
46594 * benchtests/modf-inputs: New inputs file.
46595
46596 2014-03-28 Joseph Myers <joseph@codesourcery.com>
46597
46598 [BZ #16362]
46599 * math/s_clog10.c (M_PI_LOG10E): New macro.
46600 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46601 imaginary parts are 0.
46602 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46603 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46604 imaginary parts are 0.
46605 * math/s_clog10l.c (M_PI_LOG10El): New macro.
46606 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46607 imaginary parts are 0.
46608 * math/libm-test.inc (clog10_test_data): Update expected results
46609 for when real and imaginary parts are 0.
46610
46611 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
46612
46613 * elf/dl-load.c: Finish conversion of __builtin_expect into
46614 __glibc_{un}likely.
46615
46616 2014-03-27 Joseph Myers <joseph@codesourcery.com>
46617
46618 [BZ #16348]
46619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46620 1+x for argument with exponent below -67.
46621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46622 Likewise.
46623 * math/auto-libm-test-in: Add more tests of exp.
46624 * math/auto-libm-test-out: Regenerated.
46625
46626 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46627
46628 [BZ #16759]
46629 * inet/getnetgrent_r.c (get_nonempty_val): New function.
46630 (nscd_getnetgrent): Use it.
46631
46632 [BZ #16760]
46633 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46634 of stpcpy.
46635
46636 2014-03-27 Andi Kleen <ak@linux.intel.com>
46637
46638 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46639 (lll_robust_lock, lll_cond_lock, lll_timedlock)
46640 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46641 (lll_robust_unlock): Remove out of line section. Use cfi
46642 intrinsics.
46643 (LLL_STUB_UNWIND_INFO*): Remove.
46644 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46645 (lll_robust_lock, lll_cond_lock, lll_timedlock)
46646 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46647 (lll_robust_unlock): Remove out of line section. Use cfi
46648 intrinsics.
46649 (LLL_STUB_UNWIND_INFO*): Remove.
46650
46651 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46652
46653 [BZ #16758]
46654 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46655 blank values.
46656
46657 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
46658
46659 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46660
46661 2014-03-26 Joseph Myers <joseph@codesourcery.com>
46662
46663 [BZ #16198]
46664 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46665 fnstenv.
46666 * math/test-fenv-preserve.c: New file.
46667 * math/Makefile (tests): Add test-fenv-preserve.
46668
46669 2014-03-26 Will Newton <will.newton@linaro.org>
46670
46671 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46672
46673 2014-03-25 Roland McGrath <roland@hack.frob.com>
46674
46675 * scripts/versionlist.awk: Partition the version sets and emit all
46676 GLIBC_* (sorted) before all others (sorted).
46677
46678 2014-03-25 Joseph Myers <joseph@codesourcery.com>
46679
46680 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46681 GLIBC_2.2.5 version.
46682
46683 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46684
46685 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46686 calls.
46687
46688 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46689 previous change.
46690
46691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46692
46693 2014-03-25 Andreas Schwab <schwab@suse.de>
46694
46695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46696 label to be used after in6ailist is initialized.
46697
46698 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46699
46700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46701 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46702
46703 2014-03-25 Joseph Myers <joseph@codesourcery.com>
46704
46705 [BZ #16357]
46706 [BZ #16599]
46707 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46708 min_plus_half.
46709 (fp_formats): Update initializers.
46710 (init_fp_formats): Initialize new field.
46711 (output_for_one_input_case): Allow underflow for results up to
46712 min_plus_half.
46713 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46714 * math/auto-libm-test-in: Don't mark some underflows from asin and
46715 atanh as spurious.
46716 * math/auto-libm-test-out: Regenerated.
46717 * sysdeps/i386/fpu/libm-test-ulps: Update.
46718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46719
46720 2014-03-25 Andreas Schwab <schwab@suse.de>
46721
46722 * libio/Makefile (tst-ftell-partial-wide-ENV)
46723 (tst-ftell-active-handler-ENV): Define.
46724
46725 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
46726
46727 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46728
46729 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
46730
46731 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46732
46733 2014-03-24 Joseph Myers <joseph@codesourcery.com>
46734
46735 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46736 * sysdeps/x86_64/fpu/multiarch/e_exp.c
46737 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46738
46739 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
46740
46741 [BZ #16634]
46742 * elf/dl-load.c (open_verify): Add mode parameter.
46743 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46744 (open_path): Change from boolean 'secure' to complete flag 'mode'
46745 (_dl_map_object): Adjust.
46746 * elf/Makefile (tests): Add tst-dlopen-aout.
46747 * elf/tst-dlopen-aout.c: New test.
46748
46749 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
46750
46751 [BZ #16714]
46752 * sysdeps/unix/sysv/linux/s390/bits/stat.h
46753 (struct stat): Rename member pad0 to __glibc_reserved0.
46754
46755 [BZ #16712]
46756 * sysdeps/s390/s390-32/bits/wordsize.h
46757 (__WORDSIZE32_SIZE_ULONG): New define.
46758 * sysdeps/s390/s390-64/bits/wordsize.h
46759 (__WORDSIZE32_SIZE_ULONG): Likewise.
46760 * sysdeps/generic/stdint.h (SIZE_MAX):
46761 Define as UL if __WORDSIZE32_SIZE_ULONG.
46762
46763 [BZ #16713]
46764 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46765 (__glibc_reserved0): New variable.
46766 (sa_flags): Change type to int.
46767
46768 * posix/Makefile (before-compile): Use += before-compile instead
46769 of a :=.
46770
46771 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46772 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46773
46774 2014-03-20 Andreas Schwab <schwab@suse.de>
46775
46776 [BZ #16743]
46777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46778 non-matching result from nscd.
46779
46780 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46781
46782 * scripts/bench.py: Moved to ...
46783 * benchtests/scripts/bench.py: ... here.
46784 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46785
46786 2014-03-24 Andreas Schwab <schwab@suse.de>
46787
46788 [BZ #16002]
46789 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46790 alloca_account and account alloca use for struct in6ailist.
46791
46792 2014-03-24 Joseph Myers <joseph@codesourcery.com>
46793
46794 [BZ #16284]
46795 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46796 rounding mode to recompute results that overflow to infinity or
46797 underflow to zero.
46798 * math/auto-libm-test-in: Don't mark tests as expected to fail for
46799 bug 16284.
46800 * math/auto-libm-test-out: Regenerated.
46801 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46802 (ccosh_test): Likewise.
46803 (csin_test_data): Use plus_oflow.
46804 (csin_test): Use ALL_RM_TEST.
46805 (csinh_test_data): Use plus_oflow.
46806 (csinh_test): Use ALL_RM_TEST.
46807 * sysdeps/i386/fpu/libm-test-ulps: Update.
46808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46809
46810 2014-03-21 Joseph Myers <joseph@codesourcery.com>
46811
46812 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46813 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46814 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46815
46816 [BZ #16731]
46817 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46818 when x - 1 is zero.
46819 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46820 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46821 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46823 argument is 1.
46824 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46825 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46826 zero.
46827 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46828 * sysdeps/i386/fpu/libm-test-ulps: Update.
46829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46830
46831 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46832
46833 * scripts/bench.pl: Remove file.
46834 * scripts/bench.py: New benchmark script.
46835 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46836 * benchtests/README: Mention python dependency.
46837 * scripts/pylintrc: New file.
46838 * scripts/pylint: New file.
46839
46840 * bits/mathdef.h: Use #ifdef instead of #if.
46841 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46842 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46843 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46844 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46845 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46846 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46847
46848 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46849 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
46850
46851 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46853 and strpbrk-ppc64 objects.
46854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46855 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46856 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46857 multiarch strpbrk for POWER7.
46858 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46859 multiarch strpbrk for PPC64.
46860 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46861 ifunc selector.
46862 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46863 strpbrk for POWER7.
46864
46865 2014-03-20 Joseph Myers <joseph@codesourcery.com>
46866
46867 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46868 (atan_test): Likewise.
46869 (atanh_test_data): Use NO_TEST_INLINE for two tests.
46870 (atanh_test): Use ALL_RM_TEST.
46871 (atan2_test_data): Likewise.
46872 (cabs_test): Likewise.
46873 (cacosh_test): Likewise.
46874 (carg_test): Likewise.
46875 (casin_test): Likewise.
46876 (casinh_test): Likewise.
46877 (cbrt_test): Likewise.
46878 (csqrt_test): Likewise.
46879 (erf_test): Likewise.
46880 (erfc_test): Likewise.
46881 (pow10_test): Likewise.
46882 (exp2_test): Likewise.
46883 (hypot_test): Likewise.
46884 (j0_test): Likewise.
46885 (j1_test): Likewise.
46886 (lgamma_test): Likewise.
46887 (gamma_test): Likewise.
46888 (sincos_test): Likewise.
46889 (tanh_test): Likewise.
46890 (y0_test): Likewise.
46891 (y1_test): Likewise.
46892 * sysdeps/i386/fpu/libm-test-ulps: Update.
46893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46894
46895 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46896
46897 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46899 and strcspn-ppc64 objects.
46900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46901 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46902 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46903 multiarch strcspn for POWER7.
46904 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46905 multiarch strcspn for PPC64.
46906 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46907 ifunc selector.
46908 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46909 strcspn for POWER7.
46910
46911 2014-03-20 Joseph Myers <joseph@codesourcery.com>
46912
46913 * math/gen-libm-test.pl (generate_testfile): Expect only function
46914 name as argument to AUTO_TESTS_* and pass results for all rounding
46915 modes to parse_args.
46916 (parse_auto_input): Separate inputs of automatic tests from
46917 outputs before storing in %auto_tests.
46918 * math/libm-test.inc (acos_test_data): Update call to
46919 AUTO_TESTS_f_f.
46920 (acos_test): Use ALL_RM_TEST.
46921 (acos_tonearest_test_data): Remove.
46922 (acos_test_tonearest): Likewise.
46923 (acos_towardzero_test_data): Likewise.
46924 (acos_test_towardzero): Likewise.
46925 (acos_downward_test_data): Likewise.
46926 (acos_test_downward): Likewise.
46927 (acos_upward_test_data): Likewise.
46928 (acos_test_upward): Likewise.
46929 (acosh_test_data): Update call to AUTO_TESTS_f_f.
46930 (asin_test_data): Likewise.
46931 (asin_test): Use ALL_RM_TEST.
46932 (asin_tonearest_test_data): Remove.
46933 (asin_test_tonearest): Likewise.
46934 (asin_towardzero_test_data): Likewise.
46935 (asin_test_towardzero): Likewise.
46936 (asin_downward_test_data): Likewise.
46937 (asin_test_downward): Likewise.
46938 (asin_upward_test_data): Likewise.
46939 (asin_test_upward): Likewise.
46940 (asinh_test_data): Update call to AUTO_TESTS_f_f.
46941 (atan_test_data): Likewise.
46942 (atanh_test_data): Likewise.
46943 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46944 (cabs_test_data): Update call to AUTO_TESTS_c_f.
46945 (carg_test_data): Likewise.
46946 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46947 (ccos_test_data): Update call to AUTO_TESTS_c_c.
46948 (ccosh_test_data): Likewise.
46949 (cexp_test_data): Likewise.
46950 (clog_test_data): Likewise.
46951 (clog10_test_data): Likewise.
46952 (cos_test_data): Update call to AUTO_TESTS_f_f.
46953 (cos_test): Use ALL_RM_TEST.
46954 (cos_tonearest_test_data): Remove.
46955 (cos_test_tonearest): Likewise.
46956 (cos_towardzero_test_data): Likewise.
46957 (cos_test_towardzero): Likewise.
46958 (cos_downward_test_data): Likewise.
46959 (cos_test_downward): Likewise.
46960 (cos_upward_test_data): Likewise.
46961 (cos_test_upward): Likewise.
46962 (cosh_test_data): Update call to AUTO_TESTS_f_f.
46963 (cosh_test): Use ALL_RM_TEST.
46964 (cosh_tonearest_test_data): Remove.
46965 (cosh_test_tonearest): Likewise.
46966 (cosh_towardzero_test_data): Likewise.
46967 (cosh_test_towardzero): Likewise.
46968 (cosh_downward_test_data): Likewise.
46969 (cosh_test_downward): Likewise.
46970 (cosh_upward_test_data): Likewise.
46971 (cosh_test_upward): Likewise.
46972 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46973 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46974 (ctan_test_data): Likewise.
46975 (ctan_test): Use ALL_RM_TEST.
46976 (ctan_tonearest_test_data): Remove.
46977 (ctan_test_tonearest): Likewise.
46978 (ctan_towardzero_test_data): Likewise.
46979 (ctan_test_towardzero): Likewise.
46980 (ctan_downward_test_data): Likewise.
46981 (ctan_test_downward): Likewise.
46982 (ctan_upward_test_data): Likewise.
46983 (ctan_test_upward): Likewise.
46984 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46985 (ctanh_test): Use ALL_RM_TEST.
46986 (ctanh_tonearest_test_data): Remove.
46987 (ctanh_test_tonearest): Likewise.
46988 (ctanh_towardzero_test_data): Likewise.
46989 (ctanh_test_towardzero): Likewise.
46990 (ctanh_downward_test_data): Likewise.
46991 (ctanh_test_downward): Likewise.
46992 (ctanh_upward_test_data): Likewise.
46993 (ctanh_test_upward): Likewise.
46994 (erf_test_data): Update call to AUTO_TESTS_f_f.
46995 (erfc_test_data): Likewise.
46996 (exp_test_data): Likewise.
46997 (exp_test): Use ALL_RM_TEST.
46998 (exp_tonearest_test_data): Remove.
46999 (exp_test_tonearest): Likewise.
47000 (exp_towardzero_test_data): Likewise.
47001 (exp_test_towardzero): Likewise.
47002 (exp_downward_test_data): Likewise.
47003 (exp_test_downward): Likewise.
47004 (exp_upward_test_data): Likewise.
47005 (exp_test_upward): Likewise.
47006 (exp10_test_data): Update call to AUTO_TESTS_f_f.
47007 (exp10_test): Use ALL_RM_TEST.
47008 (exp10_tonearest_test_data): Remove.
47009 (exp10_test_tonearest): Likewise.
47010 (exp10_towardzero_test_data): Likewise.
47011 (exp10_test_towardzero): Likewise.
47012 (exp10_downward_test_data): Likewise.
47013 (exp10_test_downward): Likewise.
47014 (exp10_upward_test_data): Likewise.
47015 (exp10_test_upward): Likewise.
47016 (exp2_test_data): Update call to AUTO_TESTS_f_f.
47017 (expm1_test_data): Likewise.
47018 (expm1_test): Use ALL_RM_TEST.
47019 (expm1_tonearest_test_data): Remove.
47020 (expm1_test_tonearest): Likewise.
47021 (expm1_towardzero_test_data): Likewise.
47022 (expm1_test_towardzero): Likewise.
47023 (expm1_downward_test_data): Likewise.
47024 (expm1_test_downward): Likewise.
47025 (expm1_upward_test_data): Likewise.
47026 (expm1_test_upward): Likewise.
47027 (fma_test_data): Update call to AUTO_TESTS_fff_f.
47028 (fma_test): Use ALL_RM_TEST.
47029 (fma_towardzero_test_data): Remove.
47030 (fma_test_towardzero): Likewise.
47031 (fma_downward_test_data): Likewise.
47032 (fma_test_downward): Likewise.
47033 (fma_upward_test_data): Likewise.
47034 (fma_test_upward): Likewise.
47035 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47036 (j0_test_data): Update call to AUTO_TESTS_f_f.
47037 (j1_test_data): Likewise.
47038 (jn_test_data): Update call to AUTO_TESTS_if_f.
47039 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47040 (log_test_data): Update call to AUTO_TESTS_f_f.
47041 (log10_test_data): Likewise.
47042 (log1p_test_data): Likewise.
47043 (log2_test_data): Likewise.
47044 (pow_test_data): Update call to AUTO_TESTS_ff_f.
47045 (pow_tonearest_test_data): Likewise.
47046 (sin_test_data): Update call to AUTO_TESTS_f_f.
47047 (sin_test): Use ALL_RM_TEST.
47048 (sin_tonearest_test_data): Remove.
47049 (sin_test_tonearest): Likewise.
47050 (sin_towardzero_test_data): Likewise.
47051 (sin_test_towardzero): Likewise.
47052 (sin_downward_test_data): Likewise.
47053 (sin_test_downward): Likewise.
47054 (sin_upward_test_data): Likewise.
47055 (sin_test_upward): Likewise.
47056 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47057 (sinh_test_data): Update call to AUTO_TESTS_f_f.
47058 (sinh_test): Use ALL_RM_TEST.
47059 (sinh_tonearest_test_data): Remove.
47060 (sinh_test_tonearest): Likewise.
47061 (sinh_towardzero_test_data): Likewise.
47062 (sinh_test_towardzero): Likewise.
47063 (sinh_downward_test_data): Likewise.
47064 (sinh_test_downward): Likewise.
47065 (sinh_upward_test_data): Likewise.
47066 (sinh_test_upward): Likewise.
47067 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47068 (sqrt_test): Use ALL_RM_TEST.
47069 (sqrt_tonearest_test_data): Remove.
47070 (sqrt_test_tonearest): Likewise.
47071 (sqrt_towardzero_test_data): Likewise.
47072 (sqrt_test_towardzero): Likewise.
47073 (sqrt_downward_test_data): Likewise.
47074 (sqrt_test_downward): Likewise.
47075 (sqrt_upward_test_data): Likewise.
47076 (sqrt_test_upward): Likewise.
47077 (tan_test_data): Update call to AUTO_TESTS_f_f.
47078 (tan_test): Use ALL_RM_TEST.
47079 (tan_tonearest_test_data): Remove.
47080 (tan_test_tonearest): Likewise.
47081 (tan_towardzero_test_data): Likewise.
47082 (tan_test_towardzero): Likewise.
47083 (tan_downward_test_data): Likewise.
47084 (tan_test_downward): Likewise.
47085 (tan_upward_test_data): Likewise.
47086 (tan_test_upward): Likewise.
47087 (tanh_test_data): Update call to AUTO_TESTS_f_f.
47088 (tgamma_test_data): Likewise.
47089 (y0_test_data): Likewise.
47090 (y1_test_data): Likewise.
47091 (yn_test_data): Update call to AUTO_TESTS_if_f.
47092 (main): Do not call removed functions.
47093
47094 2014-03-19 Joseph Myers <joseph@codesourcery.com>
47095
47096 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47097 (ldexp_test_data): Remove.
47098 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
47099 scalbn_test_data.
47100 (scalb_test): Use ALL_RM_TEST.
47101
47102 2014-03-19 Andreas Schwab <schwab@suse.de>
47103
47104 * nscd/nscd.service: Also invalidate netgroup cache on reload.
47105
47106 2014-03-19 Joseph Myers <joseph@codesourcery.com>
47107
47108 [BZ #16649]
47109 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47110 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47111 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47113 (__ASSUME_PREADV): Undefine.
47114 (__ASSUME_PWRITEV): Likewise.
47115
47116 2014-03-18 Roland McGrath <roland@hack.frob.com>
47117
47118 * bits/mman-linux.h: Add comment about non-Linux use.
47119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47120 bits/mman-linux.h resting place.
47121
47122 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47123 * bits/mman-linux.h: ... here.
47124
47125 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47126
47127 * conform/conformtest.pl: Add standard definition when calling C
47128 preprocessor on data files.
47129 (checknamespace): Remove unused variable.
47130
47131 2014-03-18 Joseph Myers <joseph@codesourcery.com>
47132
47133 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47134 minus_oflow, plus_uflow and minus_uflow in expected results.
47135 * math/libm-test.inc (scalbn_test_data): Add more tests of
47136 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
47137 minus_uflow.
47138 (scalbn_test): Use ALL_RM_TEST.
47139 (scalbln_test_data): Add more tests of negative arguments. Use
47140 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47141 (scalbln_test): Use ALL_RM_TEST.
47142
47143 2014-03-18 Roland McGrath <roland@hack.frob.com>
47144
47145 * scripts/abilist.awk: Ignore symbols marked with .hidden.
47146
47147 2014-03-18 Will Newton <will.newton@linaro.org>
47148
47149 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47150 inaccurate comment.
47151
47152 2014-03-18 Joseph Myers <joseph@codesourcery.com>
47153
47154 * Makerules [!subdir] (check-abi): Exit with error status if a
47155 test failed.
47156
47157 2014-03-17 Joseph Myers <joseph@codesourcery.com>
47158
47159 * math/libm-test.inc (nearbyint_test_data): Include all tests used
47160 for rint. Include results for all rounding modes.
47161 (nearbyint_test): Use ALL_RM_TEST.
47162 (rint_test_data): Include all tests used for nearbyint.
47163
47164 2014-03-17 Will Newton <will.newton@linaro.org>
47165
47166 * nptl/sysdeps/pthread/pthread.h: Revert previous
47167 change.
47168
47169 * sysdeps/generic/ldsodefs.h: Revert previous
47170 change.
47171
47172 * libio/genops.c: Revert previous change.
47173 * libio/libioP.h: Likewise.
47174 * stdio-common/vfprintf.c: Likewise.
47175
47176 * sysdeps/generic/math_private.h: Revert previous
47177 change.
47178
47179 * sysdeps/generic/math_private.h: Check whether
47180 HAVE_RM_CTX is defined with #ifdef rather
47181 than #if.
47182
47183 * argp/argp-fmtstream.h: Check whether
47184 __STRICT_ANSI__ is defined with #ifdef rather
47185 than #if.
47186 * argp/argp.h: Likewise.
47187
47188 * libio/genops.c: Check whether
47189 _IO_JUMPS_OFFSET is defined with #ifdef rather
47190 than #if.
47191 * libio/libioP.h: Likewise.
47192 * stdio-common/vfprintf.c: Likewise.
47193
47194 * sysdeps/generic/ldsodefs.h: Check whether
47195 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47196 than #if.
47197
47198 * nptl/sysdeps/pthread/pthread.h: Check
47199 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47200 its value.
47201
47202 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47203
47204 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47205 setting O_APPEND.
47206 * libio/tst-ftell-active-handler.c (do_append_test): Add a
47207 test case.
47208
47209 [BZ #16680]
47210 * libio/fileops.c (_IO_file_open): Seek to end of file but
47211 don't cache the offset.
47212 (get_file_offset): Remove function.
47213 (do_ftell): Use cached offset when available.
47214 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47215 don't cache the offset.
47216 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47217 case.
47218 (do_one_test): Call it.
47219 (do_ftell_test): Fix up expected old offset for a+ mode.
47220 * libio/wfileops.c (do_ftell_wide): Used cached offset when
47221 available.
47222
47223 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47224 up test status with function return status.
47225 (do_write_test): Likewise.
47226 (do_append_test): Likewise.
47227
47228 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47229 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47230 Remove.
47231
47232 2014-03-17 Joseph Myers <joseph@codesourcery.com>
47233
47234 * math/gen-libm-test.pl (parse_args): Handle results specified for
47235 each rounding mode separately.
47236 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47237 tests and results from lrint_tonearest_test_data,
47238 lrint_towardzero_test_data, lrint_downward_test_data and
47239 lrint_upward_test_data.
47240 (lrint_test): Use ALL_RM_TEST.
47241 (lrint_tonearest_test_data): Remove.
47242 (lrint_test_tonearest): Likewise.
47243 (lrint_towardzero_test_data): Likewise.
47244 (lrint_test_towardzero): Likewise.
47245 (lrint_downward_test_data): Likewise.
47246 (lrint_test_downward): Likewise.
47247 (lrint_upward_test_data): Likewise.
47248 (lrint_test_upward): Likewise.
47249 (llrint_test_data): Merge in per-rounding-mode tests and results
47250 from llrint_tonearest_test_data, llrint_towardzero_test_data,
47251 llrint_downward_test_data and llrint_upward_test_data.
47252 (llrint_test): Use ALL_RM_TEST.
47253 (llrint_tonearest_test_data): Remove.
47254 (llrint_test_tonearest): Likewise.
47255 (llrint_towardzero_test_data): Likewise.
47256 (llrint_test_towardzero): Likewise.
47257 (llrint_downward_test_data): Likewise.
47258 (llrint_test_downward): Likewise.
47259 (llrint_upward_test_data): Likewise.
47260 (llrint_test_upward): Likewise.
47261 (rint_test_data): Merge in per-rounding-mode tests and results
47262 from rint_tonearest_test_data, rint_towardzero_test_data,
47263 rint_downward_test_data and rint_upward_test_data. Add
47264 per-rounding-mode results for tests not in those arrays.
47265 (rint_test): Use ALL_RM_TEST.
47266 (rint_tonearest_test_data): Remove.
47267 (rint_test_tonearest): Likewise.
47268 (rint_towardzero_test_data): Likewise.
47269 (rint_test_towardzero): Likewise.
47270 (rint_downward_test_data): Likewise.
47271 (rint_test_downward): Likewise.
47272 (rint_upward_test_data): Likewise.
47273 (rint_test_upward): Likewise.
47274 (main): Don't call removed functions.
47275
47276 2014-03-14 Roland McGrath <roland@hack.frob.com>
47277
47278 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47279 "Compiled on ..." crapola. It is anti-useful.
47280
47281 2014-03-14 Joseph Myers <joseph@codesourcery.com>
47282
47283 * scripts/evaluate-test.sh: Handle fourth argument to determine
47284 whether test run should stop on failure.
47285 * Makeconfig (stop-on-test-failure): New variable.
47286 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47287 $(stop-on-test-failure).
47288 * Makefile (tests): Give a summary of results from testing and
47289 exit with failure status if they include an ERROR or FAIL.
47290 (xtests): Likewise.
47291 * manual/install.texi (Configuring and compiling): Mention
47292 stop-on-test-failure=y.
47293 * INSTALL: Regenerated.
47294
47295 2014-03-14 Roland McGrath <roland@hack.frob.com>
47296
47297 * scripts/versionlist.awk: New file.
47298 * Makerules [$(build-shared) = yes]
47299 (postclean-generated): Add Versions.def, not Versions.def.v and
47300 Versions.def.v.i.
47301 ($(common-objpfx)Versions.def.v.i): Target removed.
47302 ($(common-objpfx)Versions.def): New target.
47303 ($(common-objpfx)Versions.all): Depend on that rather that
47304 $(common-objpfx)Versions.def.v.
47305 * Versions.def: File removed.
47306
47307 * Makeconfig (+gccwarn): Add -Wundef.
47308 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47309 a dl-sysdep.h breaking its contract.
47310 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47311 * include/stackinfo.h: New file.
47312 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47313 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47314 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47315 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47316 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47317 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47318 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47319 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47320 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47321 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47322 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47323 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47324 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47325 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47326 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47327
47328 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47329
47330 [BZ #16707]
47331 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47332 implementation.
47333 * math/libm-test.inc (round_test_data): Add more tests.
47334
47335 [BZ #16706]
47336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47337 implementation.
47338 * math/libm-test.inc (nearbyint_test_data): Add more tests.
47339
47340 [BZ #16701]
47341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47342 implementation.
47343 * math/libm-test.inc (ceil_test_data): Add more tests.
47344
47345 * math/libm-test.inc (trunc_test_data): Add more tests related to
47346 BZ#16414.
47347
47348 2014-03-14 Roland McGrath <roland@hack.frob.com>
47349
47350 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47351 with #if rather than #ifdef.
47352 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47353
47354 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
47355
47356 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47357 first. Disable AVX-512 GCC support if assembler doesn't support
47358 it.
47359 * sysdeps/x86_64/configure: Regenerated.
47360
47361 2014-03-13 Carlos O'Donell <carlos@redhat.com>
47362
47363 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47364 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47365 (__old_pthread_attr_setstack): Likewise.
47366 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47367 [!_STACK_GROWS_DOWN]: Likewise.
47368
47369 2014-03-13 Mike Frysinger <vapier@gentoo.org>
47370
47371 * config.make.in (have-bash2): Delete.
47372 * configure.ac (libc_cv_have_bash2): Delete.
47373 * configure: Regenerate.
47374 * elf/Makefile (common-ldd-rewrite): Rename to ...
47375 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
47376 (sh-ldd-rewrite): Delete.
47377 (bash-ldd-rewrite): Delete.
47378 (have-bash2): Delete checks.
47379 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47380 ldd-rewrite.
47381
47382 * config.make.in (have-ksh): Delete.
47383 (KSH): Delete.
47384 * configure.ac (libc_cv_have_ksh): Delete.
47385 * configure: Regenerate.
47386
47387 * elf/Makefile: Delete $(have-ksh) check.
47388 ($(objpfx)sotruss): Change KSH to BASH.
47389 * elf/sotruss.ksh: Rename to ...
47390 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
47391 function style to match POSIX. Drop ksh vim mode setting.
47392
47393 * manual/time.texi (Specifying the Time Zone with TZ): Change
47394 Tuesday to Thursday.
47395
47396 * debug/tst-longjmp_chk2.c: Update header comment.
47397 (stackoverflow_handler): Add comment. Call assert on pass value.
47398
47399 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
47400
47401 [BZ #16194]
47402 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47403 (HAVE_AVX512_ASM_SUPPORT): Likewise.
47404 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47405 (La_x86_64_vector): Add zmm.
47406 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47407 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47408 ($(objpfx)tst-audit10): New target.
47409 ($(objpfx)tst-audit10.out): Likewise.
47410 (tst-audit10-ENV): New.
47411 (AVX512-CFLAGS): Likewise.
47412 (CFLAGS-tst-audit10.c): Likewise.
47413 (CFLAGS-tst-auditmod10a.c): Likewise.
47414 (CFLAGS-tst-auditmod10b.c): Likewise.
47415 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47416 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47417 * sysdeps/x86_64/configure: Regenerated.
47418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47419 AVX-512 zmm register support.
47420 (_dl_x86_64_save_sse): Likewise.
47421 (_dl_x86_64_restore_sse): Likewise.
47422 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47423 size vector registers.
47424 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47425 (ZMM_SIZE): Likewise.
47426 * sysdeps/x86_64/tst-audit10.c: New file.
47427 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47428 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47429
47430 2014-03-13 Roland McGrath <roland@hack.frob.com>
47431
47432 * configure.ac (HAVE_EHDR_START): New check.
47433 * configure: Regenerated.
47434 * config.h.in (HAVE_EHDR_START): New #undef.
47435 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47436 assuming the lowest-addressed segment maps the start of the file.
47437
47438 2014-03-13 Joseph Myers <joseph@codesourcery.com>
47439
47440 * INSTALL: Regenerated.
47441
47442 2014-03-13 Will Newton <will.newton@linaro.org>
47443
47444 * manual/setjmp.texi (System V contexts): Improve
47445 clarity and grammar of documentation.
47446
47447 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
47448
47449 [BZ #16381]
47450 * elf/Makefile (tests): Add tst-pie2.
47451 (tests-pie): Add tst-pie2.
47452 * elf/tst-pie2.c: New file.
47453 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47454 for ET_EXEC.
47455 * elf/rtld.c (map_doit): Load executable as lt_executable.
47456 (dl_main): Likewise.
47457
47458 2014-03-12 Joseph Myers <joseph@codesourcery.com>
47459
47460 [BZ #16642]
47461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47462 (__ASSUME_PSELECT): Undefine.
47463
47464 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47465
47466 [BZ #16689]
47467 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47468 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47469 static build.
47470 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47471 selector for static builds.
47472
47473 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47474
47475 [BZ #16695]
47476 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47477 key in the buffer.
47478
47479 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47480
47481 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47482 IFUNC selector for static builds.
47483
47484 2014-03-11 Joseph Myers <joseph@codesourcery.com>
47485
47486 * sysdeps/mips/math_private.h [__mips_hard_float]
47487 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47488 libc_feresetround_mips_ctx.
47489 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47490 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47491 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47492
47493 [BZ #16677]
47494 * math/s_nextafter.c (__nextafter): Do not return value from
47495 overflowing computation.
47496 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47497 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47499 Likewise.
47500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47501 Likewise.
47502 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47503 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47504
47505 2014-03-11 Roland McGrath <roland@hack.frob.com>
47506
47507 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47508 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47509 Move sfi_sp use from the load-multiple (that no longer sets sp) to
47510 the new mov targetting sp.
47511
47512 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47513
47514 [BZ #16683]
47515 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47516 Define it for static builds as well.
47517 (NO_BZERO_IMPL): Likewise.
47518
47519 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47520
47521 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47522 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47523 multiarch strspn for PPC64.
47524 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47525 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47527 (__libc_ifunc_impl_list): Likewise.
47528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47529 multiarch optimizations
47530 * string/strspn.c (strspn): Using macro to redefine symbol name.
47531
47532 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47533 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47534
47535 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47536 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47537 multiarch strncat for PPC64.
47538 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47539 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47541 (__libc_ifunc_impl_list): Likewise.
47542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47543 multiarch optimizations
47544
47545 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47546
47547 [BZ #16639]
47548 * nscd/nscd.service: Make service type forking.
47549
47550 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47551
47552 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47553 sign in non default rounding modes.
47554 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47555
47556 2014-03-08 Joseph Myers <joseph@codesourcery.com>
47557
47558 * math/libm-test.inc (ALL_RM_TEST): New macro.
47559 (ceil_test): Use ALL_RM_TEST.
47560 (cimag_test): Likewise.
47561 (conj_test): Likewise.
47562 (copysign_test): Likewise.
47563 (cproj_test): Likewise.
47564 (creal_test): Likewise.
47565 (fabs_test): Likewise.
47566 (floor_test): Likewise.
47567 (fmax_test): Likewise.
47568 (fmin_test): Likewise.
47569 (fmod_test): Likewise.
47570 (fpclassify_test): Likewise.
47571 (frexp_test): Likewise.
47572 (ilogb_test): Likewise.
47573 (isfinite_test): Likewise.
47574 (finite_test): Likewise.
47575 (isgreater_test): Likewise.
47576 (isgreaterequal_test): Likewise.
47577 (isinf_test): Likewise.
47578 (isless_test): Likewise.
47579 (islessequal_test): Likewise.
47580 (islessgreater_test): Likewise.
47581 (isnan_test): Likewise.
47582 (isnormal_test): Likewise.
47583 (issignaling_test): Likewise.
47584 (isunordered_test): Likewise.
47585 (logb_test): Likewise.
47586 (logb_downward_test_data): Remove.
47587 (logb_test_downward): Likewise.
47588 (lround_test): Use ALL_RM_TEST.
47589 (llround_test): Likewise.
47590 (modf_test): Likewise.
47591 (nexttoward_test): Likewise.
47592 (remainder_test): Likewise.
47593 (drem_test): Likewise.
47594 (remainder_tonearest_test_data): Likewise.
47595 (remainder_test_tonearest): Likewise.
47596 (drem_test_tonearest): Likewise.
47597 (remainder_towardzero_test_data): Likewise.
47598 (remainder_test_towardzero): Likewise.
47599 (drem_test_towardzero): Likewise.
47600 (remainder_downward_test_data): Likewise.
47601 (remainder_test_downward): Likewise.
47602 (drem_test_downward): Likewise.
47603 (remainder_upward_test_data): Likewise.
47604 (remainder_test_upward): Likewise.
47605 (drem_test_upward): Likewise.
47606 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
47607 (round_test): Use ALL_RM_TEST.
47608 (signbit_test): Likewise.
47609 (trunc_test): Likewise.
47610 (significand_test): Likewise.
47611 (main): Don't call removed functions.
47612
47613 2014-03-07 Joseph Myers <joseph@codesourcery.com>
47614
47615 [BZ #16674]
47616 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47617 || __USE_XOPEN2K8].
47618 (ILL_ILLOPN): Likewise.
47619 (ILL_ILLADR): Likewise.
47620 (ILL_ILLTRP): Likewise.
47621 (ILL_PRVOPC): Likewise.
47622 (ILL_PRVREG): Likewise.
47623 (ILL_COPROC): Likewise.
47624 (ILL_BADSTK): Likewise.
47625 (FPE_INTDIV): Likewise.
47626 (FPE_INTOVF): Likewise.
47627 (FPE_FLTDIV): Likewise.
47628 (FPE_FLTOVF): Likewise.
47629 (FPE_FLTUND): Likewise.
47630 (FPE_FLTRES): Likewise.
47631 (FPE_FLTINV): Likewise.
47632 (FPE_FLTSUB): Likewise.
47633 (SEGV_MAPERR): Likewise.
47634 (SEGV_ACCERR): Likewise.
47635 (BUS_ADRALN): Likewise.
47636 (BUS_ADRERR): Likewise.
47637 (BUS_OBJERR): Likewise.
47638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47639 (TRAP_TRACE): Likewise.
47640 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47641 __USE_XOPEN2K8].
47642 (CLD_KILLED): Likewise.
47643 (CLD_DUMPED): Likewise.
47644 (CLD_TRAPPED): Likewise.
47645 (CLD_STOPPED): Likewise.
47646 (CLD_CONTINUED): Likewise.
47647 (POLL_IN): Likewise.
47648 (POLL_OUT): Likewise.
47649 (POLL_MSG): Likewise.
47650 (POLL_ERR): Likewise.
47651 (POLL_PRI): Likewise.
47652 (POLL_HUP): Likewise.
47653 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47654 Likewise.
47655 (ILL_ILLOPN): Likewise.
47656 (ILL_ILLADR): Likewise.
47657 (ILL_ILLTRP): Likewise.
47658 (ILL_PRVOPC): Likewise.
47659 (ILL_PRVREG): Likewise.
47660 (ILL_COPROC): Likewise.
47661 (ILL_BADSTK): Likewise.
47662 (FPE_INTDIV): Likewise.
47663 (FPE_INTOVF): Likewise.
47664 (FPE_FLTDIV): Likewise.
47665 (FPE_FLTOVF): Likewise.
47666 (FPE_FLTUND): Likewise.
47667 (FPE_FLTRES): Likewise.
47668 (FPE_FLTINV): Likewise.
47669 (FPE_FLTSUB): Likewise.
47670 (SEGV_MAPERR): Likewise.
47671 (SEGV_ACCERR): Likewise.
47672 (BUS_ADRALN): Likewise.
47673 (BUS_ADRERR): Likewise.
47674 (BUS_OBJERR): Likewise.
47675 (BUS_MCEERR_AR): Likewise.
47676 (BUS_MCEERR_AO): Likewise.
47677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47678 (TRAP_TRACE): Likewise.
47679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47680 __USE_XOPEN2K8].
47681 (CLD_KILLED): Likewise.
47682 (CLD_DUMPED): Likewise.
47683 (CLD_TRAPPED): Likewise.
47684 (CLD_STOPPED): Likewise.
47685 (CLD_CONTINUED): Likewise.
47686 (POLL_IN): Likewise.
47687 (POLL_OUT): Likewise.
47688 (POLL_MSG): Likewise.
47689 (POLL_ERR): Likewise.
47690 (POLL_PRI): Likewise.
47691 (POLL_HUP): Likewise.
47692 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47693 (ILL_ILLOPN): Likewise.
47694 (ILL_ILLADR): Likewise.
47695 (ILL_ILLTRP): Likewise.
47696 (ILL_PRVOPC): Likewise.
47697 (ILL_PRVREG): Likewise.
47698 (ILL_COPROC): Likewise.
47699 (ILL_BADSTK): Likewise.
47700 (FPE_INTDIV): Likewise.
47701 (FPE_INTOVF): Likewise.
47702 (FPE_FLTDIV): Likewise.
47703 (FPE_FLTOVF): Likewise.
47704 (FPE_FLTUND): Likewise.
47705 (FPE_FLTRES): Likewise.
47706 (FPE_FLTINV): Likewise.
47707 (FPE_FLTSUB): Likewise.
47708 (SEGV_MAPERR): Likewise.
47709 (SEGV_ACCERR): Likewise.
47710 (BUS_ADRALN): Likewise.
47711 (BUS_ADRERR): Likewise.
47712 (BUS_OBJERR): Likewise.
47713 (BUS_MCEERR_AR): Likewise.
47714 (BUS_MCEERR_AO): Likewise.
47715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47716 (TRAP_TRACE): Likewise.
47717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47718 __USE_XOPEN2K8].
47719 (CLD_KILLED): Likewise.
47720 (CLD_DUMPED): Likewise.
47721 (CLD_TRAPPED): Likewise.
47722 (CLD_STOPPED): Likewise.
47723 (CLD_CONTINUED): Likewise.
47724 (POLL_IN): Likewise.
47725 (POLL_OUT): Likewise.
47726 (POLL_MSG): Likewise.
47727 (POLL_ERR): Likewise.
47728 (POLL_PRI): Likewise.
47729 (POLL_HUP): Likewise.
47730 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47731 Likewise.
47732 (ILL_ILLOPN): Likewise.
47733 (ILL_ILLADR): Likewise.
47734 (ILL_ILLTRP): Likewise.
47735 (ILL_PRVOPC): Likewise.
47736 (ILL_PRVREG): Likewise.
47737 (ILL_COPROC): Likewise.
47738 (ILL_BADSTK): Likewise.
47739 (ILL_BADIADDR): Likewise.
47740 (ILL_BREAK): Likewise.
47741 (FPE_INTDIV): Likewise.
47742 (FPE_INTOVF): Likewise.
47743 (FPE_FLTDIV): Likewise.
47744 (FPE_FLTOVF): Likewise.
47745 (FPE_FLTUND): Likewise.
47746 (FPE_FLTRES): Likewise.
47747 (FPE_FLTINV): Likewise.
47748 (FPE_FLTSUB): Likewise.
47749 (FPE_DECOVF): Likewise.
47750 (FPE_DECDIV): Likewise.
47751 (FPE_DECERR): Likewise.
47752 (FPE_INVASC): Likewise.
47753 (FPE_INVDEC): Likewise.
47754 (SEGV_MAPERR): Likewise.
47755 (SEGV_ACCERR): Likewise.
47756 (SEGV_PSTKOVF): Likewise.
47757 (BUS_ADRALN): Likewise.
47758 (BUS_ADRERR): Likewise.
47759 (BUS_OBJERR): Likewise.
47760 (BUS_MCEERR_AR): Likewise.
47761 (BUS_MCEERR_AO): Likewise.
47762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47763 (TRAP_TRACE): Likewise.
47764 (TRAP_BRANCH): Likewise.
47765 (TRAP_HWBKPT): Likewise.
47766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47767 __USE_XOPEN2K8].
47768 (CLD_KILLED): Likewise.
47769 (CLD_DUMPED): Likewise.
47770 (CLD_TRAPPED): Likewise.
47771 (CLD_STOPPED): Likewise.
47772 (CLD_CONTINUED): Likewise.
47773 (POLL_IN): Likewise.
47774 (POLL_OUT): Likewise.
47775 (POLL_MSG): Likewise.
47776 (POLL_ERR): Likewise.
47777 (POLL_PRI): Likewise.
47778 (POLL_HUP): Likewise.
47779 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47780 (ILL_ILLOPN): Likewise.
47781 (ILL_ILLADR): Likewise.
47782 (ILL_ILLTRP): Likewise.
47783 (ILL_PRVOPC): Likewise.
47784 (ILL_PRVREG): Likewise.
47785 (ILL_COPROC): Likewise.
47786 (ILL_BADSTK): Likewise.
47787 (FPE_INTDIV): Likewise.
47788 (FPE_INTOVF): Likewise.
47789 (FPE_FLTDIV): Likewise.
47790 (FPE_FLTOVF): Likewise.
47791 (FPE_FLTUND): Likewise.
47792 (FPE_FLTRES): Likewise.
47793 (FPE_FLTINV): Likewise.
47794 (FPE_FLTSUB): Likewise.
47795 (SEGV_MAPERR): Likewise.
47796 (SEGV_ACCERR): Likewise.
47797 (BUS_ADRALN): Likewise.
47798 (BUS_ADRERR): Likewise.
47799 (BUS_OBJERR): Likewise.
47800 (BUS_MCEERR_AR): Likewise.
47801 (BUS_MCEERR_AO): Likewise.
47802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47803 (TRAP_TRACE): Likewise.
47804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47805 __USE_XOPEN2K8].
47806 (CLD_KILLED): Likewise.
47807 (CLD_DUMPED): Likewise.
47808 (CLD_TRAPPED): Likewise.
47809 (CLD_STOPPED): Likewise.
47810 (CLD_CONTINUED): Likewise.
47811 (POLL_IN): Likewise.
47812 (POLL_OUT): Likewise.
47813 (POLL_MSG): Likewise.
47814 (POLL_ERR): Likewise.
47815 (POLL_PRI): Likewise.
47816 (POLL_HUP): Likewise.
47817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47818 (ILL_ILLOPN): Likewise.
47819 (ILL_ILLADR): Likewise.
47820 (ILL_ILLTRP): Likewise.
47821 (ILL_PRVOPC): Likewise.
47822 (ILL_PRVREG): Likewise.
47823 (ILL_COPROC): Likewise.
47824 (ILL_BADSTK): Likewise.
47825 (FPE_INTDIV): Likewise.
47826 (FPE_INTOVF): Likewise.
47827 (FPE_FLTDIV): Likewise.
47828 (FPE_FLTOVF): Likewise.
47829 (FPE_FLTUND): Likewise.
47830 (FPE_FLTRES): Likewise.
47831 (FPE_FLTINV): Likewise.
47832 (FPE_FLTSUB): Likewise.
47833 (SEGV_MAPERR): Likewise.
47834 (SEGV_ACCERR): Likewise.
47835 (BUS_ADRALN): Likewise.
47836 (BUS_ADRERR): Likewise.
47837 (BUS_OBJERR): Likewise.
47838 (BUS_MCEERR_AR): Likewise.
47839 (BUS_MCEERR_AO): Likewise.
47840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47841 (TRAP_TRACE): Likewise.
47842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47843 __USE_XOPEN2K8].
47844 (CLD_KILLED): Likewise.
47845 (CLD_DUMPED): Likewise.
47846 (CLD_TRAPPED): Likewise.
47847 (CLD_STOPPED): Likewise.
47848 (CLD_CONTINUED): Likewise.
47849 (POLL_IN): Likewise.
47850 (POLL_OUT): Likewise.
47851 (POLL_MSG): Likewise.
47852 (POLL_ERR): Likewise.
47853 (POLL_PRI): Likewise.
47854 (POLL_HUP): Likewise.
47855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47856 (ILL_ILLOPN): Likewise.
47857 (ILL_ILLADR): Likewise.
47858 (ILL_ILLTRP): Likewise.
47859 (ILL_PRVOPC): Likewise.
47860 (ILL_PRVREG): Likewise.
47861 (ILL_COPROC): Likewise.
47862 (ILL_BADSTK): Likewise.
47863 (FPE_INTDIV): Likewise.
47864 (FPE_INTOVF): Likewise.
47865 (FPE_FLTDIV): Likewise.
47866 (FPE_FLTOVF): Likewise.
47867 (FPE_FLTUND): Likewise.
47868 (FPE_FLTRES): Likewise.
47869 (FPE_FLTINV): Likewise.
47870 (FPE_FLTSUB): Likewise.
47871 (SEGV_MAPERR): Likewise.
47872 (SEGV_ACCERR): Likewise.
47873 (BUS_ADRALN): Likewise.
47874 (BUS_ADRERR): Likewise.
47875 (BUS_OBJERR): Likewise.
47876 (BUS_MCEERR_AR): Likewise.
47877 (BUS_MCEERR_AO): Likewise.
47878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47879 (TRAP_TRACE): Likewise.
47880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47881 __USE_XOPEN2K8].
47882 (CLD_KILLED): Likewise.
47883 (CLD_DUMPED): Likewise.
47884 (CLD_TRAPPED): Likewise.
47885 (CLD_STOPPED): Likewise.
47886 (CLD_CONTINUED): Likewise.
47887 (POLL_IN): Likewise.
47888 (POLL_OUT): Likewise.
47889 (POLL_MSG): Likewise.
47890 (POLL_ERR): Likewise.
47891 (POLL_PRI): Likewise.
47892 (POLL_HUP): Likewise.
47893 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47894 (ILL_ILLOPN): Likewise.
47895 (ILL_ILLADR): Likewise.
47896 (ILL_ILLTRP): Likewise.
47897 (ILL_PRVOPC): Likewise.
47898 (ILL_PRVREG): Likewise.
47899 (ILL_COPROC): Likewise.
47900 (ILL_BADSTK): Likewise.
47901 (ILL_DBLFLT): Likewise.
47902 (ILL_HARDWALL): Likewise.
47903 (FPE_INTDIV): Likewise.
47904 (FPE_INTOVF): Likewise.
47905 (FPE_FLTDIV): Likewise.
47906 (FPE_FLTOVF): Likewise.
47907 (FPE_FLTUND): Likewise.
47908 (FPE_FLTRES): Likewise.
47909 (FPE_FLTINV): Likewise.
47910 (FPE_FLTSUB): Likewise.
47911 (SEGV_MAPERR): Likewise.
47912 (SEGV_ACCERR): Likewise.
47913 (BUS_ADRALN): Likewise.
47914 (BUS_ADRERR): Likewise.
47915 (BUS_OBJERR): Likewise.
47916 (BUS_MCEERR_AR): Likewise.
47917 (BUS_MCEERR_AO): Likewise.
47918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47919 (TRAP_TRACE): Likewise.
47920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47921 __USE_XOPEN2K8].
47922 (CLD_KILLED): Likewise.
47923 (CLD_DUMPED): Likewise.
47924 (CLD_TRAPPED): Likewise.
47925 (CLD_STOPPED): Likewise.
47926 (CLD_CONTINUED): Likewise.
47927 (POLL_IN): Likewise.
47928 (POLL_OUT): Likewise.
47929 (POLL_MSG): Likewise.
47930 (POLL_ERR): Likewise.
47931 (POLL_PRI): Likewise.
47932 (POLL_HUP): Likewise.
47933 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47934 (ILL_ILLOPN): Likewise.
47935 (ILL_ILLADR): Likewise.
47936 (ILL_ILLTRP): Likewise.
47937 (ILL_PRVOPC): Likewise.
47938 (ILL_PRVREG): Likewise.
47939 (ILL_COPROC): Likewise.
47940 (ILL_BADSTK): Likewise.
47941 (FPE_INTDIV): Likewise.
47942 (FPE_INTOVF): Likewise.
47943 (FPE_FLTDIV): Likewise.
47944 (FPE_FLTOVF): Likewise.
47945 (FPE_FLTUND): Likewise.
47946 (FPE_FLTRES): Likewise.
47947 (FPE_FLTINV): Likewise.
47948 (FPE_FLTSUB): Likewise.
47949 (SEGV_MAPERR): Likewise.
47950 (SEGV_ACCERR): Likewise.
47951 (BUS_ADRALN): Likewise.
47952 (BUS_ADRERR): Likewise.
47953 (BUS_OBJERR): Likewise.
47954 (BUS_MCEERR_AR): Likewise.
47955 (BUS_MCEERR_AO): Likewise.
47956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47957 (TRAP_TRACE): Likewise.
47958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47959 __USE_XOPEN2K8].
47960 (CLD_KILLED): Likewise.
47961 (CLD_DUMPED): Likewise.
47962 (CLD_TRAPPED): Likewise.
47963 (CLD_STOPPED): Likewise.
47964 (CLD_CONTINUED): Likewise.
47965 (POLL_IN): Likewise.
47966 (POLL_OUT): Likewise.
47967 (POLL_MSG): Likewise.
47968 (POLL_ERR): Likewise.
47969 (POLL_PRI): Likewise.
47970 (POLL_HUP): Likewise.
47971 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47972 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47973
47974 [BZ #16670]
47975 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47976 before #include of <time.h>.
47977 [!__USE_XOPEN2K] (__need_timespec): Likewise.
47978 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47979 (test-xfail-UNIX98/sched.h/conform): Likewise.
47980
47981 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
47982
47983 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47984 error absence of trapping exception support.
47985 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47986
47987 2014-03-07 Joseph Myers <joseph@codesourcery.com>
47988
47989 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47990 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47991 * timezone/Makefile (testdata): Move definition above include of
47992 Rules.
47993 (test-zones): New variable.
47994 (tests-special): Add zone files.
47995 (build-testdata): Use $(evaluate-test).
47996
47997 * elf/Makefile (tests-special): Rename tests to end with .out.
47998 ($(objpfx)noload-mem): Likewise.
47999 ($(objpfx)tst-leaks1-mem): Likewise.
48000 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48001 * iconv/Makefile (xtests-special): Change test-iconvconfig to
48002 $(objpfx)test-iconvconfig.out.
48003 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
48004 set -e inside subshell and redirect output to file.
48005 * iconvdata/Makefile (generated): Rename tests to end with .out.
48006 Correct type.
48007 (tests-special): Rename tests to end with .out.
48008 ($(objpfx)mtrace-tst-loading): Likewise.
48009 * intl/Makefile (generated): Likewise.
48010 (tests-special): Likewise.
48011 ($(objpfx)mtrace-tst-gettext): Likewise.
48012 * misc/Makefile (generated): Likewise.
48013 (tests-special): Likewise.
48014 ($(objpfx)tst-error1-mem): Likewise.
48015 * nptl/Makefile (tests-special): Likewise.
48016 ($(objpfx)tst-stack3-mem): Likewise.
48017 (generated): Likewise.
48018 * posix/Makefile (generated): Likewise.
48019 (tests-special): Likewise.
48020 (xtests-special): Likewise.
48021 ($(objpfx)tst-fnmatch-mem): Likewise.
48022 ($(objpfx)bug-regex2-mem): Likewise.
48023 ($(objpfx)bug-regex14-mem): Likewise.
48024 ($(objpfx)bug-regex21-mem): Likewise.
48025 ($(objpfx)bug-regex31-mem): Likewise.
48026 ($(objpfx)tst-vfork3-mem): Likewise.
48027 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48028 ($(objpfx)tst-pcre-mem): Likewise.
48029 ($(objpfx)tst-boost-mem): Likewise.
48030 ($(objpfx)bug-ga2-mem): Likewise.
48031 ($(objpfx)bug-glob2-mem): Likewise.
48032 * resolv/Makefile (generate): Likewise.
48033 (tests-special): Likewise.
48034 (xtests-special): Likewise.
48035 (generated): Likewise.
48036 ($(objpfx)mtrace-tst-leaks): Likewise.
48037 ($(objpfx)mtrace-tst-leaks2): Likewise.
48038
48039 * scripts/merge-test-results.sh: New file.
48040 * Makefile (tests-special-notdir): New variable.
48041 (tests): Run merge-test-results.sh.
48042 (xtests): Likewise.
48043 * Rules (tests-special-notdir): New variable.
48044 (xtests-special-notdir): Likewise.
48045 (tests): Run merge-test-results.sh
48046 (xtests): Likewise.
48047
48048 * Makeconfig (test-xfail-name): New variable.
48049 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48050 compute variable name for expected failures.
48051 * conform/Makefile (conformtest-headers-data): New variable.
48052 (conformtest-standards): Likewise.
48053 (conformtest-headers-ISO): Likewise.
48054 (conformtest-headers-ISO99): Likewise.
48055 (conformtest-headers-ISO11): Likewise.
48056 (conformtest-headers-POSIX): Likewise.
48057 (conformtest-headers-XPG3): Likewise.
48058 (conformtest-headers-XPG4): Likewise.
48059 (conformtest-headers-UNIX98): Likewise.
48060 (conformtest-headers-XOPEN2K): Likewise.
48061 (conformtest-headers-POSIX2008): Likewise.
48062 (conformtest-headers-XOPEN2K8): Likewise.
48063 (conformtest-header-list-base): Likewise.
48064 (conformtest-header-list-tests): Likewise.
48065 (conformtest-header-base): Likewise.
48066 (conformtest-header-tests): Likewise.
48067 (tests-special): Add $(conformtest-header-list-tests). If
48068 [$(fast-check) && !$(cross-compiling)], add
48069 $(conformtest-header-tests) instead of
48070 $(objpfx)run-conformtest.out.
48071 (generated): Add $(conformtest-header-list-base). If
48072 [$(fast-check) && !$(cross-compiling)], add
48073 $(conformtest-header-base). Remove previous setting.
48074 ($(conformtest-header-list-tests)): New target.
48075 (test-xfail-run-conformtest): Remove variable.
48076 ($(objpfx)run-conformtest.out): Remove target.
48077 (test-xfail-ISO11/complex.h/conform): New variable.
48078 (test-xfail-ISO11/stdalign.h/conform): Likewise.
48079 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48080 (test-xfail-XPG3/varargs.h/conform): Likewise.
48081 (test-xfail-XPG4/varargs.h/conform): Likewise.
48082 (test-xfail-UNIX98/varargs.h/conform): Likewise.
48083 (test-xfail-XPG4/ndbm.h/conform): Likewise.
48084 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48085 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48086 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48087 (test-xfail-XPG3/fcntl.h/conform): Likewise.
48088 (test-xfail-XPG3/ftw.h/conform): Likewise.
48089 (test-xfail-XPG3/grp.h/conform): Likewise.
48090 (test-xfail-XPG3/langinfo.h/conform): Likewise.
48091 (test-xfail-XPG3/limits.h/conform): Likewise.
48092 (test-xfail-XPG3/pwd.h/conform): Likewise.
48093 (test-xfail-XPG3/search.h/conform): Likewise.
48094 (test-xfail-XPG3/signal.h/conform): Likewise.
48095 (test-xfail-XPG3/stdio.h/conform): Likewise.
48096 (test-xfail-XPG3/stdlib.h/conform): Likewise.
48097 (test-xfail-XPG3/string.h/conform): Likewise.
48098 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48099 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48100 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48101 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48102 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48103 (test-xfail-XPG3/sys/types.h/conform): Likewise.
48104 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48105 (test-xfail-XPG3/termios.h/conform): Likewise.
48106 (test-xfail-XPG3/time.h/conform): Likewise.
48107 (test-xfail-XPG3/unistd.h/conform): Likewise.
48108 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48109 (test-xfail-XPG4/fcntl.h/conform): Likewise.
48110 (test-xfail-XPG4/langinfo.h/conform): Likewise.
48111 (test-xfail-XPG4/netdb.h/conform): Likewise.
48112 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48113 (test-xfail-XPG4/signal.h/conform): Likewise.
48114 (test-xfail-XPG4/stdio.h/conform): Likewise.
48115 (test-xfail-XPG4/stdlib.h/conform): Likewise.
48116 (test-xfail-XPG4/stropts.h/conform): Likewise.
48117 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48118 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48119 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48120 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48121 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48122 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48123 (test-xfail-XPG4/sys/time.h/conform): Likewise.
48124 (test-xfail-XPG4/sys/types.h/conform): Likewise.
48125 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48126 (test-xfail-XPG4/termios.h/conform): Likewise.
48127 (test-xfail-XPG4/ucontext.h/conform): Likewise.
48128 (test-xfail-XPG4/unistd.h/conform): Likewise.
48129 (test-xfail-XPG4/utmpx.h/conform): Likewise.
48130 (test-xfail-POSIX/sched.h/conform): Likewise.
48131 (test-xfail-POSIX/signal.h/conform): Likewise.
48132 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48133 (test-xfail-POSIX/tar.h/conform): Likewise.
48134 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48135 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48136 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48137 (test-xfail-UNIX98/netdb.h/conform): Likewise.
48138 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48139 (test-xfail-UNIX98/sched.h/conform): Likewise.
48140 (test-xfail-UNIX98/signal.h/conform): Likewise.
48141 (test-xfail-UNIX98/stdio.h/conform): Likewise.
48142 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48143 (test-xfail-UNIX98/stropts.h/conform): Likewise.
48144 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48145 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48146 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48147 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48148 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48149 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48150 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48151 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48152 (test-xfail-UNIX98/unistd.h/conform): Likewise.
48153 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48154 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48155 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48156 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48157 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48158 (test-xfail-XOPEN2K/math.h/conform): Likewise.
48159 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48160 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48161 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48162 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48163 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48164 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48165 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48166 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48167 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48168 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48169 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48170 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48171 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48172 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48173 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48174 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48175 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48176 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48177 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48178 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48179 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48180 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48181 (test-xfail-POSIX2008/signal.h/conform): Likewise.
48182 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48183 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48184 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48185 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48186 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48187 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48188 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48189 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48190 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48191 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48192 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48193 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48194 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48195 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48196 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48197 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48198 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48199 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48200 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48201 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48202 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48203 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48204 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48205 (conformtest-cc-flags): Likewise.
48206 ($(conformtest-header-tests): New target.
48207 * conform/check-header-lists.sh: New file.
48208 * conform/run-conformtest.sh: Remove.
48209
48210 * conform/conformtest.pl: Allow ' and \ in values given for
48211 constants.
48212 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48213 inclusion.
48214 [POSIX] (sys/types.h): Likewise.
48215 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48216 inclusion.
48217 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48218 inclusion.
48219 * conform/data/signal.h-data (SIGIO): Remove expectation.
48220 [XPG3] (SIGBUS): Do not expect.
48221 [POSIX || XPG3] (SIGPOLL): Likewise.
48222 [POSIX || XPG3] (SIGPROF): Likewise.
48223 [POSIX || XPG3] (SIGSYS): Likewise.
48224 [XPG3] (SIGTRAP): Likewise.
48225 [POSIX || XPG3] (SIGURG): Likewise.
48226 [POSIX || XPG3] (SIGVTALRM): Likewise.
48227 [POSIX || XPG3] (SIGXCPU): Likewise.
48228 [POSIX || XPG3] (SIGXFSZ): Likewise.
48229 [POSIX] (SA_SIGINFO): Expect.
48230 [XPG3] (siginfo_t): Do not expect type or contents.
48231 [POSIX] (si_pid): Do not expect element.
48232 [POSIX] (si_uid): Likewise.
48233 [POSIX] (si_addr): Likewise.
48234 [POSIX] (si_status): Likewise.
48235 [POSIX] (si_band): Likewise.
48236 [XPG4] (si_value): Likewise.
48237 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48238 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48239 [POSIX || XPG3] (ILL_ILLADR): Likewise.
48240 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48241 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48242 [POSIX || XPG3] (ILL_PRVREG): Likewise.
48243 [POSIX || XPG3] (ILL_COPROC): Likewise.
48244 [POSIX || XPG3] (ILL_BADSTK): Likewise.
48245 [POSIX || XPG3] (FPE_INTDIV): Likewise.
48246 [POSIX || XPG3] (FPE_INTOVF): Likewise.
48247 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48248 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48249 [POSIX || XPG3] (FPE_FLTUND): Likewise.
48250 [POSIX || XPG3] (FPE_FLTRES): Likewise.
48251 [POSIX || XPG3] (FPE_FLTINV): Likewise.
48252 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48253 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48254 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48255 [POSIX || XPG3] (BUS_ADRALN): Likewise.
48256 [POSIX || XPG3] (BUS_ADRERR): Likewise.
48257 [POSIX || XPG3] (BUS_OBJERR): Likewise.
48258 [POSIX || XPG3] (CLD_EXITED): Likewise.
48259 [POSIX || XPG3] (CLD_KILLED): Likewise.
48260 [POSIX || XPG3] (CLD_DUMPED): Likewise.
48261 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48262 [POSIX || XPG3] (CLD_STOPPED): Likewise.
48263 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48264 [POSIX || XPG3] (POLL_IN): Likewise.
48265 [POSIX || XPG3] (POLL_OUT): Likewise.
48266 [POSIX || XPG3] (POLL_MSG): Likewise.
48267 [POSIX || XPG3] (POLL_ERR): Likewise.
48268 [POSIX || XPG3] (POLL_PRI): Likewise.
48269 [POSIX || XPG3] (POLL_HUP): Likewise.
48270 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48271 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48272 (SIG*): Do not allow.
48273 [XPG3] (si_*): Likewise.
48274 [XPG3] (SI_*): Likewise.
48275 [XPG3 || XPG4] (sigev_*): Likewise.
48276 [XPG3 || XPG4] (SIGEV_*): Likewise.
48277 [XPG3 || XPG4] (sival_*): Likewise.
48278 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48279 [POSIX || XPG3] (BUS_*): Likewise.
48280 [POSIX || XPG3] (CLD_*): Likewise.
48281 [POSIX || XPG3] (FPE_*): Likewise.
48282 [POSIX || XPG3] (ILL_*): Likewise.
48283 [POSIX || XPG3] (POLL_*): Likewise.
48284 [POSIX || XPG3] (SEGV_*): Likewise.
48285 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48286 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48287 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48288 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48289 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48290 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48291 Specify type and value.
48292 (TVERSLEN): Likewise.
48293 (REGTYPE): Likewise.
48294 (AREGTYPE): Likewise.
48295 (LNKTYPE): Likewise.
48296 (SYMTYPE): Likewise.
48297 (CHRTYPE): Likewise.
48298 (BLKTYPE): Likewise.
48299 (DIRTYPE): Likewise.
48300 (FIFOTYPE): Likewise.
48301 (CONTTYPE): Likewise.
48302 (TSUID): Likewise.
48303 (TSGID): Likewise.
48304 (TSVTX): Likewise.
48305 (TUREAD): Likewise.
48306 (TUWRITE): Likewise.
48307 (TUEXEC): Likewise.
48308 (TGREAD): Likewise.
48309 (TGWRITE): Likewise.
48310 (TGEXEC): Likewise.
48311 (TOREAD): Likewise.
48312 (TOWRITE): Likewise.
48313 (TOEXEC): Likewise.
48314 [POSIX] (TSVTX): Expect constant.
48315
48316 2014-03-06 Joseph Myers <joseph@codesourcery.com>
48317
48318 * Makefile (tests): Change dependencies to ....
48319 (tests-special): ... additions to this variable.
48320 (tests): Depend on $(tests-special).
48321 * Makerules (check-abi-list): New variable.
48322 (check-abi): Depend on $(check-abi-list).
48323 [$(subdir) = elf] (tests-special): Add
48324 $(objpfx)check-abi-libc.out.
48325 [$(build-shared) = yes && subdir] (tests-special): Add
48326 $(check-abi-list).
48327 [$(build-shared) = yes && subdir] (tests): Do not depend on
48328 check-abi.
48329 * Rules (tests): Depend on $(tests-special).
48330 (xtests): Depend on $(xtests-special).
48331 * catgets/Makefile (tests): Change dependencies to ....
48332 (tests-special): ... additions to this variable.
48333 * conform/Makefile (tests): Change dependencies to ....
48334 (tests-special): ... additions to this variable.
48335 * elf/Makefile (tests): Change dependencies to ....
48336 (tests-special): ... additions to this variable.
48337 * grp/Makefile (tests): Change dependencies to ....
48338 (tests-special): ... additions to this variable.
48339 * iconv/Makefile (xtests): Change dependencies to ....
48340 (xtests-special): ... additions to this variable.
48341 * iconvdata/Makefile (tests): Change dependencies to ....
48342 (tests-special): ... additions to this variable.
48343 * intl/Makefile (tests): Change dependencies to ....
48344 (tests-special): ... additions to this variable. Also add
48345 $(objpfx)tst-gettext.out.
48346 * io/Makefile (tests): Change dependencies to ....
48347 (tests-special): ... additions to this variable.
48348 * libio/Makefile (tests): Change dependencies to ....
48349 (tests-special): ... additions to this variable.
48350 * malloc/Makefile (tests): Change dependencies to ....
48351 (tests-special): ... additions to this variable.
48352 * misc/Makefile (tests): Change dependencies to ....
48353 (tests-special): ... additions to this variable.
48354 * nptl/Makefile (tests): Change dependencies to ....
48355 (tests-special): ... additions to this variable.
48356 * nptl_db/Makefile (tests): Change dependencies to ....
48357 (tests-special): ... additions to this variable.
48358 * posix/Makefile (tests): Change dependencies to ....
48359 (tests-special): ... additions to this variable.
48360 (xtests): Change dependencies to ....
48361 (xtests-special): ... additions to this variable.
48362 * resolv/Makefile (tests): Change dependencies to ....
48363 (tests-special): ... additions to this variable.
48364 (xtests): Change dependencies to ....
48365 (xtests-special): ... additions to this variable.
48366 * stdio-common/Makefile (tests): Change dependencies to ....
48367 (tests-special): ... additions to this variable.
48368 (do-tst-unbputc): Remove target.
48369 (do-tst-printf): Likewise.
48370 * stdlib/Makefile (tests): Change dependencies to ....
48371 (tests-special): ... additions to this variable.
48372 * string/Makefile (tests): Change dependencies to ....
48373 (tests-special): ... additions to this variable.
48374 * sysdeps/x86/Makefile (tests): Change dependencies to ....
48375 (tests-special): ... additions to this variable.
48376
48377 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48378 whole file.
48379 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48380 whole file.
48381 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48382 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48383
48384 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48385 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48386 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48387 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48388 * conform/data/libgen.h-data [XPG3]: Likewise.
48389 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48390 * conform/data/ndbm.h-data [XPG3]: Likewise.
48391 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48392 * conform/data/netdb.h-data [XPG3]: Likewise.
48393 * conform/data/netinet/in.h-data [XPG3]: Likewise.
48394 * conform/data/poll.h-data [XPG3]: Likewise.
48395 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48396 * conform/data/strings.h-data [XPG3]: Likewise.
48397 * conform/data/stropts.h-data [XPG3]: Likewise.
48398 * conform/data/sys/mman.h-data [XPG3]: Likewise.
48399 * conform/data/sys/resource.h-data [XPG3]: Likewise.
48400 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48401 Likewise.
48402 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48403 * conform/data/sys/time.h-data [XPG3]: Likewise.
48404 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48405 * conform/data/sys/uio.h-data [XPG3]: Likewise.
48406 * conform/data/sys/un.h-data [XPG3]: Likewise.
48407 * conform/data/syslog.h-data [XPG3]: Likewise.
48408 * conform/data/ucontext.h-data [XPG3]: Likewise.
48409 * conform/data/utmpx.h-data [XPG3]: Likewise.
48410 * conform/data/varargs.h-data [UNIX98]: Enable file.
48411
48412 * manual/Makefile (INSTALL_INFO): Remove variable setting.
48413
48414 * math/libm-test.inc (struct test_f_f_data): Move expected results
48415 into structure for each rounding mode.
48416 (struct test_ff_f_data): Likewise.
48417 (struct test_ff_f_data_nexttoward): Likewise.
48418 (struct test_fi_f_data): Likewise.
48419 (struct test_fl_f_data): Likewise.
48420 (struct test_if_f_data): Likewise.
48421 (struct test_fff_f_data): Likewise.
48422 (struct test_c_f_data): Likewise.
48423 (struct test_f_f1_data): Likewise.
48424 (struct test_fF_f1_data): Likewise.
48425 (struct test_ffI_f1_data): Likewise.
48426 (struct test_c_c_data): Likewise.
48427 (struct test_cc_c_data): Likewise.
48428 (struct test_f_i_data): Likewise.
48429 (struct test_ff_i_data): Likewise.
48430 (struct test_f_l_data): Likewise.
48431 (struct test_f_L_data): Likewise.
48432 (struct test_fFF_11_data): Likewise.
48433 (RM_): New macro.
48434 (RM_FE_DOWNWARD): Likewise.
48435 (RM_FE_TONEAREST): Likewise.
48436 (RM_FE_TOWARDZERO): Likewise.
48437 (RM_FE_UPWARD): Likewise.
48438 (RUN_TEST_LOOP_f_f): Update references to expected results.
48439 (RUN_TEST_LOOP_2_f): Likewise.
48440 (RUN_TEST_LOOP_fff_f): Likewise.
48441 (RUN_TEST_LOOP_c_f): Likewise.
48442 (RUN_TEST_LOOP_f_f1): Likewise.
48443 (RUN_TEST_LOOP_fF_f1): Likewise.
48444 (RUN_TEST_LOOP_fI_f1): Likewise.
48445 (RUN_TEST_LOOP_ffI_f1): Likewise.
48446 (RUN_TEST_LOOP_c_c): Likewise.
48447 (RUN_TEST_LOOP_cc_c): Likewise.
48448 (RUN_TEST_LOOP_f_i): Likewise.
48449 (RUN_TEST_LOOP_f_i_tg): Likewise.
48450 (RUN_TEST_LOOP_ff_i_tg): Likewise.
48451 (RUN_TEST_LOOP_f_b): Likewise.
48452 (RUN_TEST_LOOP_f_b_tg): Likewise.
48453 (RUN_TEST_LOOP_f_l): Likewise.
48454 (RUN_TEST_LOOP_f_L): Likewise.
48455 (RUN_TEST_LOOP_fFF_11): Likewise.
48456 * math/gen-libm-test.pl (parse_args): Output four copies of
48457 expected results for each test.
48458
48459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48460 (__ASSUME_UTIMES): Remove.
48461 * sysdeps/unix/sysv/linux/tile/kernel-features.h
48462 (__ASSUME_UTIMES): Likewise.
48463
48464 * math/gen-auto-libm-tests.c: Update comment on output format.
48465 (output_for_one_input_case): Generate before-rounding and
48466 after-rounding information as conditions on output flags not
48467 floating-point format.
48468 * math/auto-libm-test-out: Regenerated.
48469 * math/gen-libm-test.pl (cond_value): New function.
48470 (or_cond_value): Use cond_value.
48471 (generate_testfile): Handle conditional exceptions.
48472
48473 2014-03-05 Joseph Myers <joseph@codesourcery.com>
48474
48475 * math/libm-test.inc (max_valid_error): New variable.
48476 (init_max_error): Take new argument specifying whether function
48477 results are exactly determined. Set max_valid_error and bound
48478 other variables for errors based on this argument.
48479 (set_max_error): Do not record results above max_valid_error.
48480 (check_float_internal): Only accept errors of up to 0.5ulps if
48481 also at most max_valid_error.
48482 (START): Take new argument EXACT and pass it to init_max_error.
48483 (acos_test): Update call to START.
48484 (acos_test_tonearest): Likewise.
48485 (acos_test_towardzero): Likewise.
48486 (acos_test_downward): Likewise.
48487 (acos_test_upward): Likewise.
48488 (acosh_test): Likewise.
48489 (asin_test): Likewise.
48490 (asin_test_tonearest): Likewise.
48491 (asin_test_towardzero): Likewise.
48492 (asin_test_downward): Likewise.
48493 (asin_test_upward): Likewise.
48494 (asinh_test): Likewise.
48495 (atan_test): Likewise.
48496 (atanh_test): Likewise.
48497 (atan2_test): Likewise.
48498 (cabs_test): Likewise.
48499 (cacos_test): Likewise.
48500 (cacosh_test): Likewise.
48501 (carg_test): Likewise.
48502 (casin_test): Likewise.
48503 (casinh_test): Likewise.
48504 (catan_test): Likewise.
48505 (catanh_test): Likewise.
48506 (cbrt_test): Likewise.
48507 (ccos_test): Likewise.
48508 (ccosh_test): Likewise.
48509 (ceil_test): Likewise.
48510 (cexp_test): Likewise.
48511 (cimag_test): Likewise.
48512 (clog_test): Likewise.
48513 (clog10_test): Likewise.
48514 (conj_test): Likewise.
48515 (copysign_test): Likewise.
48516 (cos_test): Likewise.
48517 (cos_test_tonearest): Likewise.
48518 (cos_test_towardzero): Likewise.
48519 (cos_test_downward): Likewise.
48520 (cos_test_upward): Likewise.
48521 (cosh_test): Likewise.
48522 (cosh_test_tonearest): Likewise.
48523 (cosh_test_towardzero): Likewise.
48524 (cosh_test_downward): Likewise.
48525 (cosh_test_upward): Likewise.
48526 (cpow_test): Likewise.
48527 (cproj_test): Likewise.
48528 (creal_test): Likewise.
48529 (csin_test): Likewise.
48530 (csinh_test): Likewise.
48531 (csqrt_test): Likewise.
48532 (ctan_test): Likewise.
48533 (ctan_test_tonearest): Likewise.
48534 (ctan_test_towardzero): Likewise.
48535 (ctan_test_downward): Likewise.
48536 (ctan_test_upward): Likewise.
48537 (ctanh_test): Likewise.
48538 (ctanh_test_tonearest): Likewise.
48539 (ctanh_test_towardzero): Likewise.
48540 (ctanh_test_downward): Likewise.
48541 (ctanh_test_upward): Likewise.
48542 (erf_test): Likewise.
48543 (erfc_test): Likewise.
48544 (exp_test): Likewise.
48545 (exp_test_tonearest): Likewise.
48546 (exp_test_towardzero): Likewise.
48547 (exp_test_downward): Likewise.
48548 (exp_test_upward): Likewise.
48549 (exp10_test): Likewise.
48550 (exp10_test_tonearest): Likewise.
48551 (exp10_test_towardzero): Likewise.
48552 (exp10_test_downward): Likewise.
48553 (exp10_test_upward): Likewise.
48554 (pow10_test): Likewise.
48555 (exp2_test): Likewise.
48556 (expm1_test): Likewise.
48557 (expm1_test_tonearest): Likewise.
48558 (expm1_test_towardzero): Likewise.
48559 (expm1_test_downward): Likewise.
48560 (expm1_test_upward): Likewise.
48561 (fabs_test): Likewise.
48562 (fdim_test): Likewise.
48563 (floor_test): Likewise.
48564 (fma_test): Likewise.
48565 (fma_test_towardzero): Likewise.
48566 (fma_test_downward): Likewise.
48567 (fma_test_upward): Likewise.
48568 (fmax_test): Likewise.
48569 (fmin_test): Likewise.
48570 (fmod_test): Likewise.
48571 (fpclassify_test): Likewise.
48572 (frexp_test): Likewise.
48573 (hypot_test): Likewise.
48574 (ilogb_test): Likewise.
48575 (isfinite_test): Likewise.
48576 (finite_test): Likewise.
48577 (isgreater_test): Likewise.
48578 (isgreaterequal_test): Likewise.
48579 (isinf_test): Likewise.
48580 (isless_test): Likewise.
48581 (islessequal_test): Likewise.
48582 (islessgreater_test): Likewise.
48583 (isnan_test): Likewise.
48584 (isnormal_test): Likewise.
48585 (issignaling_test): Likewise.
48586 (isunordered_test): Likewise.
48587 (j0_test): Likewise.
48588 (j1_test): Likewise.
48589 (jn_test): Likewise.
48590 (ldexp_test): Likewise.
48591 (lgamma_test): Likewise.
48592 (gamma_test): Likewise.
48593 (lrint_test): Likewise.
48594 (lrint_test_tonearest): Likewise.
48595 (lrint_test_towardzero): Likewise.
48596 (lrint_test_downward): Likewise.
48597 (lrint_test_upward): Likewise.
48598 (llrint_test): Likewise.
48599 (llrint_test_tonearest): Likewise.
48600 (llrint_test_towardzero): Likewise.
48601 (llrint_test_downward): Likewise.
48602 (llrint_test_upward): Likewise.
48603 (log_test): Likewise.
48604 (log10_test): Likewise.
48605 (log1p_test): Likewise.
48606 (log2_test): Likewise.
48607 (logb_test): Likewise.
48608 (logb_test_downward): Likewise.
48609 (lround_test): Likewise.
48610 (llround_test): Likewise.
48611 (modf_test): Likewise.
48612 (nearbyint_test): Likewise.
48613 (nextafter_test): Likewise.
48614 (nexttoward_test): Likewise.
48615 (pow_test): Likewise.
48616 (pow_test_tonearest): Likewise.
48617 (pow_test_towardzero): Likewise.
48618 (pow_test_downward): Likewise.
48619 (pow_test_upward): Likewise.
48620 (remainder_test): Likewise.
48621 (drem_test): Likewise.
48622 (remainder_test_tonearest): Likewise.
48623 (drem_test_tonearest): Likewise.
48624 (remainder_test_towardzero): Likewise.
48625 (drem_test_towardzero): Likewise.
48626 (remainder_test_downward): Likewise.
48627 (drem_test_downward): Likewise.
48628 (remainder_test_upward): Likewise.
48629 (drem_test_upward): Likewise.
48630 (remquo_test): Likewise.
48631 (rint_test): Likewise.
48632 (rint_test_tonearest): Likewise.
48633 (rint_test_towardzero): Likewise.
48634 (rint_test_downward): Likewise.
48635 (rint_test_upward): Likewise.
48636 (round_test): Likewise.
48637 (scalb_test): Likewise.
48638 (scalbn_test): Likewise.
48639 (scalbln_test): Likewise.
48640 (signbit_test): Likewise.
48641 (sin_test): Likewise.
48642 (sin_test_tonearest): Likewise.
48643 (sin_test_towardzero): Likewise.
48644 (sin_test_downward): Likewise.
48645 (sin_test_upward): Likewise.
48646 (sincos_test): Likewise.
48647 (sinh_test): Likewise.
48648 (sinh_test_tonearest): Likewise.
48649 (sinh_test_towardzero): Likewise.
48650 (sinh_test_downward): Likewise.
48651 (sinh_test_upward): Likewise.
48652 (sqrt_test): Likewise.
48653 (sqrt_test_tonearest): Likewise.
48654 (sqrt_test_towardzero): Likewise.
48655 (sqrt_test_downward): Likewise.
48656 (sqrt_test_upward): Likewise.
48657 (tan_test): Likewise.
48658 (tan_test_tonearest): Likewise.
48659 (tan_test_towardzero): Likewise.
48660 (tan_test_downward): Likewise.
48661 (tan_test_upward): Likewise.
48662 (tanh_test): Likewise.
48663 (tgamma_test): Likewise.
48664 (trunc_test): Likewise.
48665 (y0_test): Likewise.
48666 (y1_test): Likewise.
48667 (yn_test): Likewise.
48668 (significand_test): Likewise.
48669
48670 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48671 individual tests in comment.
48672 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48673 (prev_max_error): New variable.
48674 (prev_real_max_error): Likewise.
48675 (prev_imag_max_error): Likewise.
48676 (compare_ulp_data): Don't refer to test names in comment.
48677 (find_test_ulps): Remove function.
48678 (find_function_ulps): Likewise.
48679 (find_complex_function_ulps): Likewise.
48680 (init_max_error): Take function name as argument. Look up ulps
48681 for that function.
48682 (print_ulps): Remove function.
48683 (print_max_error): Use prev_max_error instead of calling
48684 find_function_ulps.
48685 (print_complex_max_error): Use prev_real_max_error and
48686 prev_imag_max_error instead of calling find_complex_function_ulps.
48687 (check_float_internal): Take max_ulp parameter instead of calling
48688 find_test_ulps. Don't call print_ulps.
48689 (check_float): Update call to check_float_internal.
48690 (check_complex): Update calls to check_float_internal.
48691 (START): Pass argument to init_max_error.
48692 * math/gen-libm-test.pl (%results): Don't include "kind"
48693 information.
48694 (parse_ulps): Don't handle ulps of individual tests.
48695 (print_ulps_file): Likewise.
48696 (output_ulps): Likewise.
48697 * math/README.libm-test: Update.
48698 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48699 individual tests.
48700 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48701 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48702 * sysdeps/arm/libm-test-ulps: Likewise.
48703 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48704 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48705 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48706 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48707 * sysdeps/microblaze/libm-test-ulps: Likewise.
48708 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48709 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48711 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48713 * sysdeps/sh/libm-test-ulps: Likewise.
48714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48715 * sysdeps/tile/libm-test-ulps: Likewise.
48716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48717
48718 2014-03-04 Joseph Myers <joseph@codesourcery.com>
48719
48720 * math/libm-test.inc (print_complex_max_error): Check separately
48721 whether real and imaginary errors are within allowed range and
48722 pass 0 to print_complex_function_ulps instead of value within
48723 allowed range.
48724
48725 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48726
48727 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48728 formatting.
48729 (get_handles_fopen): Likewise.
48730 (do_write_test): Likewise.
48731
48732 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48733
48734 * libio/fileops.c (do_ftell): Use cached offset when
48735 available.
48736 * libio/iofwide.c (do_ftell_wide): Likewise.
48737 * libio/iofdopen.c (_IO_new_fdopen): Don't use
48738 _IO_file_attach.
48739 * libio/wfileops.c (_IO_fwide): Don't cache offset.
48740
48741 [BZ #16532]
48742 * libio/libioP.h (get_file_offset): New function.
48743 * libio/fileops.c (get_file_offset): Likewise.
48744 (do_ftell): Likewise.
48745 (_IO_new_file_seekoff): Split out ftell logic.
48746 * libio/wfileops.c (do_ftell_wide): Likewise.
48747 (_IO_wfile_seekoff): Split out ftell logic.
48748 * libio/tst-ftell-active-handler.c: New test case.
48749 * libio/Makefile (tests): Add it.
48750
48751 2014-03-03 Roland McGrath <roland@hack.frob.com>
48752
48753 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48754 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48755
48756 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
48757
48758 [BZ #16639]
48759 * nscd/connections.c (nscd_init): Call do_exit.
48760 (start_threads): Call do_exit and notify_parent.
48761 (begin_drop_privileges): Call do_exit.
48762 (finish_drop_privileges): Likewise.
48763 * nscd/selinux.c (preserve_capabilities): Likewise.
48764 (install_real_capabilities): Likewise.
48765 (nscd_selinux_enabled): Likewise.
48766 (avc_create_thread): Likewise.
48767 (avc_alloc_lock): Likewise.
48768 (nscd_avc_init): Likewise.
48769 * nscd/nscd.c (parent_fd): New static variable.
48770 (main): Create a pipe between parent and child processes.
48771 Skip closing parent_fd.
48772 (monitor_child): New function.
48773 (do_exit): Likewise.
48774 (notify_parent): Likewise.
48775 * nscd/nscd.h (notify_parent): Likewise.
48776 (do_exit): Likewise.
48777
48778 2014-03-03 Carlos O'Donell <carlos@redhat.com>
48779
48780 * malloc/malloc.c (__libc_calloc): Revert last change.
48781
48782 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48783
48784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48785
48786 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48787
48788 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48790 implementation.
48791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48792 (__libc_ifunc_impl_list): Likewise.
48793 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48794 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48795 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48796 * string/strrchr.c: Define STRRCHR.
48797
48798 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
48799
48800 * benchtest/bench-strtok.c (simple_strtok): Delete.
48801 (strtok_string): Use as benchmark.
48802 * string/strtok (STRTOK): New macro.
48803
48804 2014-02-28 Carlos O'Donell <carlos@redhat.com>
48805
48806 * manual/threads.texi: Add header and standard comments to all
48807 functions.
48808
48809 * elf/dl-lookup.c (check_match): New function.
48810 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48811 (do_lookup_x): Remove nested function check_match. Use non-nested
48812 function check_match.
48813
48814 2014-02-28 Roland McGrath <roland@hack.frob.com>
48815
48816 * csu/Makefile (generated, before-compile): Use += rather than =.
48817 * catgets/Makefile (generated, generated-dirs): Likewise.
48818 * debug/Makefile (generated): Likewise.
48819 * dlfcn/Makefile (generated): Likewise.
48820 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48821 * iconvdata/Makefile (before-compile, generated): Likewise.
48822 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48823 * libio/Makefile (generated): Likewise.
48824 * malloc/Makefile (generated): Likewise.
48825 * manual/Makefile (generated, generated-dirs): Likewise.
48826 * misc/Makefile (generated): Likewise.
48827 * posix/Makefile (generated): Likewise.
48828 * resolv/Makefile (generated): Likewise.
48829 * sunrpc/Makefile (generated, generated-dirs): Likewise.
48830 * timezone/Makefile (generated, generated-dirs): Likewise.
48831
48832 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48833
48834 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48835
48836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48837 power8 implementation.
48838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48839 file: POWER8 llround ifunc implementation.
48840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48841 (__lllround): Add POWER8 implementation.
48842 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48843 POWER8 llround implementation.
48844
48845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48846 power8 implementation.
48847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48848 file: POWER8 llrint ifunc implementation.
48849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48850 Add POWER8 implementation.
48851 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48852 POWER8 llrint implementation.
48853
48854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48855 power8 implementation.
48856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48857 file: POWER8 finite ifunc implementation.
48858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48859 Add POWER8 implementation.
48860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48861 Likewise.
48862 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48863 POWER8 finite implementation.
48864 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48865
48866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48867 power8 implementation.
48868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48869 file: POWER8 isinf ifunc implementation.
48870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48871 POWER8 implementation.
48872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48873 Likewise.
48874 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48875 isinf implementation.
48876 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48877
48878 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48879 (INIT_ARCH): Add hwcap2 initialization.
48880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48881 power8 implementation.
48882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48883 file: POWER8 isnan ifunc implementation.
48884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48885 POWER8 implementation.
48886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48887 Likewise.
48888 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48889 isnan implementation.
48890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48891
48892 2014-02-27 Joey Ye <joey.ye@arm.com>
48893
48894 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48895 (_FP_NANFRAC_Q): Set to zero.
48896
48897 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48898
48899 [BZ #16623]
48900 * math/auto-libm-test-in: New test inputs.
48901 * math/auto-libm-test-out: Regenerate.
48902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48903 and DA.
48904 (__cos): Likewise.
48905 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48906
48907 2014-02-27 Joseph Myers <joseph@codesourcery.com>
48908
48909 * scripts/evaluate-test.sh: Take new argument indicating whether
48910 failure is expected.
48911 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48912 indicating whether failure is expected.
48913 * conform/Makefile (test-xfail-run-conformtest): New variable.
48914 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48915 level.
48916 * posix/Makefile (test-xfail-annexc): New variable.
48917 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48918
48919 2014-02-26 Joseph Myers <joseph@codesourcery.com>
48920
48921 * argp/Makefile: Include Makeconfig immediately after defining
48922 subdir.
48923 * assert/Makefile: Likewise.
48924 * benchtests/Makefile: Likewise.
48925 * catgets/Makefile: Likewise.
48926 * conform/Makefile: Likewise.
48927 * crypt/Makefile: Likewise.
48928 * csu/Makefile: Likewise.
48929 (all): Remove target.
48930 * ctype/Makefile: Include Makeconfig immediately after defining
48931 subdir.
48932 * debug/Makefile: Likewise.
48933 * dirent/Makefile: Likewise.
48934 * dlfcn/Makefile: Likewise.
48935 * gmon/Makefile: Likewise.
48936 * gnulib/Makefile: Likewise.
48937 * grp/Makefile: Likewise.
48938 * gshadow/Makefile: Likewise.
48939 * hesiod/Makefile: Likewise.
48940 * hurd/Makefile: Likewise.
48941 (all): Remove target.
48942 * iconvdata/Makefile: Include Makeconfig immediately after
48943 defining subdir.
48944 * inet/Makefile: Likewise.
48945 * intl/Makefile: Likewise.
48946 * io/Makefile: Likewise.
48947 * libio/Makefile: Likewise.
48948 (all): Remove target.
48949 * locale/Makefile: Include Makeconfig immediately after defining
48950 subdir.
48951 * login/Makefile: Likewise.
48952 * mach/Makefile: Likewise.
48953 (all): Remove target.
48954 * malloc/Makefile: Include Makeconfig immediately after defining
48955 subdir.
48956 (all): Remove target.
48957 * manual/Makefile: Include Makeconfig immediately after defining
48958 subdir.
48959 * math/Makefile: Likewise.
48960 * misc/Makefile: Likewise.
48961 * nis/Makefile: Likewise.
48962 * nss/Makefile: Likewise.
48963 * po/Makefile: Likewise.
48964 (all): Remove target.
48965 * posix/Makefile: Include Makeconfig immediately after defining
48966 subdir.
48967 * pwd/Makefile: Likewise.
48968 * resolv/Makefile: Likewise.
48969 * resource/Makefile: Likewise.
48970 * rt/Makefile: Likewise.
48971 * setjmp/Makefile: Likewise.
48972 * shadow/Makefile: Likewise.
48973 * signal/Makefile: Likewise.
48974 * socket/Makefile: Likewise.
48975 * soft-fp/Makefile: Likewise.
48976 * stdio-common/Makefile: Likewise.
48977 * stdlib/Makefile: Likewise.
48978 * streams/Makefile: Likewise.
48979 * string/Makefile: Likewise.
48980 * sunrpc/Makefile: Likewise.
48981 (all): Remove target.
48982 * sysvipc/Makefile: Include Makeconfig immediately after defining
48983 subdir.
48984 * termios/Makefile: Likewise.
48985 * time/Makefile: Likewise.
48986 * timezone/Makefile: Likewise.
48987 (all): Remove target.
48988 * wcsmbs/Makefile: Include Makeconfig immediately after defining
48989 subdir.
48990 * wctype/Makefile: Likewise.
48991
48992 2014-02-26 Steve Ellcey <sellcey@mips.com>
48993
48994 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48995 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48996 (libc_feholdexcept_setround_mips): Ditto.
48997 (libc_feholdsetround): New.
48998 (libc_feholdsetroundf): New.
48999 (libc_feholdsetroundl): New.
49000 (libc_feupdateenv_test_mips): New.
49001 (libc_feupdateenv_test): New.
49002 (libc_feupdateenv_testf): New.
49003 (libc_feupdateenv_testl): New.
49004 (libc_feresetround): New.
49005 (libc_feresetroundf): New.
49006 (libc_feresetroundl): New.
49007 (libc_fetestexcept_mips): New.
49008 (libc_fetestexcept): New.
49009 (libc_fetestexceptf): New.
49010 (libc_fetestexceptl): New.
49011 (HAVE_RM_CTX): New.
49012 (libc_feholdexcept_setround_mips_ctx): New.
49013 (libc_feholdexcept_setround_ctx): New.
49014 (libc_feholdexcept_setroundf_ctx): New.
49015 (libc_feholdexcept_setroundl_ctx): New.
49016 (libc_fesetenv_mips_ctx): New.
49017 (libc_fesetenv_ctx): New.
49018 (libc_fesetenv_ctxf): New.
49019 (libc_fesetenv_ctxl): New.
49020 (libc_feupdateenv_mips_ctx): New.
49021 (libc_feupdateenv_ctx): New.
49022 (libc_feupdateenvf_ctx): New.
49023 (libc_feupdateenvl_ctx): New.
49024 (libc_feholdsetround_mips_ctx): New.
49025 (libc_feholdsetround_ctx): New.
49026 (libc_feholdsetroundf_ctx): New.
49027 (libc_feholdsetroundl_ctx): New.
49028 (libc_feresetround_mips_ctx): New.
49029 (libc_feresetround_ctx): New.
49030 (libc_feresetroundf_ctx): New.
49031 (libc_feresetroundl_ctx): New.
49032
49033 2014-02-26 Carlos O'Donell <carlos@redhat.com>
49034
49035 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49036
49037 * manual/ipc.texi: New file.
49038 * manual/Makefile (chapters): Add ipc.
49039 * manual/job.texi: Add "Inter-Process Communication" to next.
49040 * manual/process.texi: Add "Inter-Process Communication" to prev.
49041
49042 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49043
49044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49045
49046 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
49047
49048 * malloc/malloc.c (__libc_calloc): Simplify implementation.
49049
49050 * manual/arith.texi: Fix spaces after sentences.
49051 * manual/charset.texi: Likewise.
49052 * manual/errno.texi: Likewise.
49053 * manual/install.texi: Likewise.
49054 * manual/llio.texi: Likewise.
49055 * manual/locale.texi: Likewise.
49056 * manual/maint.texi: Likewise.
49057 * manual/math.texi: Likewise.
49058 * manual/memory.texi: Likewise.
49059 * manual/message.texi: Likewise.
49060 * manual/probes.texi: Likewise.
49061 * manual/resource.texi: Likewise.
49062 * manual/signal.texi: Likewise.
49063 * manual/socket.texi: Likewise.
49064 * manual/stdio.texi: Likewise.
49065 * manual/string.texi: Likewise.
49066 * manual/time.texi: Likewise.
49067 * manual/users.texi: Likewise.
49068
49069 2014-02-25 Carlos O'Donell <carlos@redhat.com>
49070
49071 [BZ #16632]
49072 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49073 _DEFAULT_SOURCE is defined.
49074
49075 2014-02-25 Ulrich Drepper <drepper@gmail.com>
49076 Carlos O'Donell <carlos@redhat.com>
49077
49078 [BZ #16613]
49079 * elf/dl-tls.c (_dl_count_modids): New function.
49080 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49081 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49082 audit library and increment generation counter.
49083 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49084 * elf/tst-audit9.c: New file.
49085 * elf/tst-auditmod9a.c: New file.
49086 * elf/tst-auditmod9b.c: New file.
49087 * elf/Makefile: Add rules to build and run tst-audit9.
49088
49089 2014-02-25 Florian Weimer <fweimer@redhat.com>
49090
49091 [BZ #15347]
49092 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49093
49094 2014-02-25 Will Newton <will.newton@linaro.org>
49095
49096 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49097 (__longjmp): Restore sp and lr before restoring callee
49098 saved registers. Add longjmp and longjmp_target
49099 SystemTap probe point.
49100 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49101 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49102 Define to zero to match jmpbuf layout.
49103 * sysdeps/arm/setjmp.S: Include stap-probe.h.
49104 (__sigsetjmp): Save sp and lr before saving callee
49105 saved registers. Add setjmp SystemTap probe point.
49106
49107 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
49108
49109 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49110
49111 2014-02-24 Andreas Schwab <schwab@suse.de>
49112
49113 [BZ #15804]
49114 * elf/pldd.c (wait_for_ptrace_stop): New function.
49115 (main): Call it after attaching.
49116
49117 2014-02-22 Roland McGrath <roland@hack.frob.com>
49118
49119 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49120 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49121 Versions files is now verboten.
49122 * hurd/Versions (libc: GLIBC_2.0):
49123 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49124 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49125 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49126 * mach/Versions: Likewise.
49127
49128 * csu/Versions: Remove unused %include.
49129 * resolv/Versions: Likewise.
49130
49131 2014-02-21 Joseph Myers <joseph@codesourcery.com>
49132
49133 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49134 ($(objpfx)check-local-headers.out): Likewise.
49135 ($(objpfx)begin-end-check.out): Likewise.
49136 * Makerules (check-abi-%.out): Likewise.
49137 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49138 ($(objpfx)test2.cat): Likewise.
49139 ($(objpfx)de/libc.cat): Likewise.
49140 ($(objpfx)test-gencat.out): Likewise.
49141 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49142 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49143 ($(objpfx)noload-mem): Likewise.
49144 ($(objpfx)tst-pathopt.out): Likewise.
49145 ($(objpfx)tst-rtld-load-self.out): Likewise.
49146 ($(objpfx)tst-array1-cmp.out): Likewise.
49147 ($(objpfx)tst-array1-static-cmp.out): Likewise.
49148 ($(objpfx)tst-array2-cmp.out): Likewise.
49149 ($(objpfx)tst-array3-cmp.out): Likewise.
49150 ($(objpfx)tst-array4-cmp.out): Likewise.
49151 ($(objpfx)tst-array5-cmp.out): Likewise.
49152 ($(objpfx)tst-array5-static-cmp.out): Likewise.
49153 ($(objpfx)check-textrel.out): Likewise.
49154 ($(objpfx)check-execstack.out): Likewise.
49155 ($(objpfx)check-localplt.out): Likewise.
49156 ($(objpfx)order2-cmp.out): Likewise.
49157 ($(objpfx)tst-leaks1-mem): Likewise.
49158 ($(objpfx)tst-leaks1-static-mem): Likewise.
49159 ($(objpfx)tst-initorder-cmp.out): Likewise.
49160 ($(objpfx)tst-initorder2-cmp.out): Likewise.
49161 ($(objpfx)tst-unused-dep.out): Likewise.
49162 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49163 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49164 * iconv/Makefile (test-iconvconfig): Likewise.
49165 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49166 ($(objpfx)iconv-test.out): Likewise.
49167 ($(objpfx)tst-tables.out): Likewise.
49168 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49169 ($(objpfx)tst-gettext.out): Likewise.
49170 ($(objpfx)tst-translit.out): Likewise.
49171 ($(objpfx)tst-gettext2.out): Likewise.
49172 ($(objpfx)tst-gettext4.out): Likewise.
49173 ($(objpfx)tst-gettext6.out): Likewise.
49174 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49175 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49176 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49177 ($(objpfx)tst-fopenloc-mem.out): Likewise.
49178 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49179 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49180 * posix/Makefile ($(objpfx)globtest.out): Likewise.
49181 ($(objpfx)wordexp-tst.out): Likewise.
49182 ($(objpfx)annexc.out): Likewise.
49183 ($(objpfx)tst-fnmatch-mem): Likewise.
49184 ($(objpfx)bug-regex2-mem): Likewise.
49185 ($(objpfx)bug-regex14-mem): Likewise.
49186 ($(objpfx)bug-regex21-mem): Likewise.
49187 ($(objpfx)bug-regex31-mem): Likewise.
49188 ($(objpfx)tst-vfork3-mem): Likewise.
49189 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49190 ($(objpfx)tst-pcre-mem): Likewise.
49191 ($(objpfx)tst-boost-mem): Likewise.
49192 ($(objpfx)tst-getconf.out): Likewise.
49193 ($(objpfx)bug-ga2-mem): Likewise.
49194 ($(objpfx)bug-glob2-mem): Likewise.
49195 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49196 ($(objpfx)mtrace-tst-leaks2): Likewise.
49197 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49198 ($(objpfx)tst-printf.out): Likewise.
49199 ($(objpfx)tst-setvbuf1.out): Likewise.
49200 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49201 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49202 ($(objpfx)tst-fmtmsg.out): Likewise.
49203 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49204 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49205
49206 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49207 * bits/sigaction.h [__USE_MISC]: Likewise.
49208 * bits/waitstatus.h: Update #endif comments.
49209 * ctype/ctype.h: Likewise.
49210 * dirent/dirent.h: Likewise.
49211 [__USE_MISC]: Remove redundant conditionals.
49212 * grp/grp.h: Update #endif comments.
49213 [__USE_GNU]: Remove redundant conditionals.
49214 [__USE_MISC]: Likewise.
49215 * inet/netinet/in.h [__USE_GNU]: Likewise.
49216 * io/sys/stat.h [__USE_MISC]: Likewise.
49217 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49218 * libio/bits/stdio.h: Update #endif comments.
49219 [__USE_MISC]: Remove redundant conditionals.
49220 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49221 * libio/stdio.h: Update #endif comments.
49222 [__USE_MISC]: Remove redundant conditionals.
49223 * math/bits/math-finite.h [__USE_MISC]: Likewise.
49224 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49225 * math/math.h: Update #else and #endif comments.
49226 [__USE_MISC]: Remove redundant conditionals.
49227 * misc/sys/uio.h: Update #endif comments.
49228 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49229 * posix/glob.h [__USE_MISC]: Likewise.
49230 * posix/sys/types.h: Update #endif comments.
49231 [__USE_MISC]: Remove redundant conditionals.
49232 * posix/sys/wait.h: Update #endif comments.
49233 [__USE_MISC]: Remove redundant conditionals.
49234 * posix/unistd.h: Update #endif comments.
49235 [__USE_MISC]: Remove redundant conditionals.
49236 * pwd/pwd.h [__USE_GNU]: Likewise.
49237 [__USE_MISC]: Likewise.
49238 * resolv/netdb.h [__USE_GNU]: Likewise.
49239 * signal/signal.h: Update #endif comments.
49240 [__USE_MISC]: Remove redundant conditionals.
49241 * stdlib/stdlib.h: Update #else and #endif comments.
49242 [__USE_MISC]: Remove redundant conditionals.
49243 [__USE_GNU]: Likewise.
49244 * string/bits/string2.h [__USE_MISC]: Likewise.
49245 * string/string.h: Update #endif comments.
49246 [__USE_MISC]: Remove redundant conditionals.
49247 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49248 Likewise.
49249 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49250 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49251 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49252 Likewise.
49253 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49254 Likewise.
49255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49256 comments.
49257 [__USE_MISC]: Remove redundant conditionals.
49258 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49259 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49260 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49261 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49262 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49263 Likewise.
49264 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49265 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49266 Likewise.
49267 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49268 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49269 Likewise.
49270 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49271 Likewise.
49272 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49273 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49274 Likewise.
49275 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49276 Likewise.
49277 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49278 * sysdeps/x86/bits/string.h: Update #endif comments.
49279 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49280 conditionals.
49281 * time/sys/time.h: Update #endif comments.
49282 * time/time.h: Likewise.
49283 [__USE_MISC]: Remove redundant conditionals.
49284
49285 2014-02-21 Yury Gribov <y.gribov@samsung.com>
49286
49287 [BZ #16600]
49288 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49289
49290 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
49291
49292 * Versions.def (librt): Add GLIBC_2.17.
49293
49294 2014-02-21 Adam Conrad <adconrad@0c3.net>
49295
49296 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49297 synonym for _SYS_AUXV_H to allow direct inclusion.
49298 * sysdeps/sparc/bits/hwcap.h: Likewise.
49299 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49300 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49301 * sysdeps/sparc/sysdep.h: Likewise.
49302
49303 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49304
49305 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49306
49307 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49308
49309 * benchtests/bench-strrchr.c: Print length instead of position.
49310
49311 2014-02-20 Joseph Myers <joseph@codesourcery.com>
49312
49313 [BZ #16611]
49314 * sysdeps/unix/sysv/linux/kernel-features.h
49315 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49316 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49317 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49318 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49319 Likewise.
49320 [__i386__ || __powerpc__ || __sh__ || __sparc__]
49321 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49322 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49323 (__ASSUME_SENDMMSG): Define instead of using previous
49324 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49325 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49326 (__ASSUME_SENDMMSG_SYSCALL): Define.
49327 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49328 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49329 Likewise.
49330 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49331 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49332 Likewise.
49333 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49334 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49335 Likewise.
49336 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49337 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49338 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49339 [__ASSUME_SENDMMSG]: Change conditionals to
49340 [__ASSUME_SENDMMSG_SOCKETCALL].
49341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49342 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49343 Define.
49344 * sysdeps/unix/sysv/linux/mips/kernel-features.h
49345 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49346 Likewise.
49347 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49348 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49349 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49350 [!__ASSUME_SENDMMSG]: Change conditional to
49351 [!__ASSUME_SENDMMSG_SOCKETCALL].
49352 * sysdeps/unix/sysv/linux/tile/kernel-features.h
49353 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49354 Define.
49355
49356 [BZ #16610]
49357 * sysdeps/unix/sysv/linux/kernel-features.h
49358 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49359 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49360 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49361 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49362 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49363 [__i386__ || __sparc__]
49364 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49365 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49366 (__ASSUME_RECVMMSG): Define instead of using previous
49367 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49368 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49369 (__ASSUME_RECVMMSG_SYSCALL): Define.
49370 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49371 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49372 Likewise.
49373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49375 Likewise.
49376 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49377 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49378 Likewise.
49379 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49380 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49381 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49382 [__ASSUME_RECVMMSG]: Change condition to
49383 [__ASSUME_RECVMMSG_SOCKETCALL].
49384 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49385 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49386 Define.
49387 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
49389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49390 Likewise.
49391 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49392 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49393 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49394 [!__ASSUME_RECVMMSG]: Change condition to
49395 [!__ASSUME_RECVMMSG_SOCKETCALL].
49396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
49397 (__ASSUME_RECVMMSG_SYSCALL): Define.
49398
49399 [BZ #16609]
49400 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49401 __powerpc__ || __s390__ || __sh__ || __sparc__]
49402 (__ASSUME_SOCKETCALL): Define.
49403 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49404 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49405 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49406 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49407 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49408 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49409 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49410 (__ASSUME_ACCEPT4): Define instead of using previous
49411 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49412 __powerpc__ || __sparc__ || __s390__)] condition.
49413 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49414 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49415 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49416 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49417 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49418 [!__ASSUME_ACCEPT4]: Change condition to
49419 [!__ASSUME_ACCEPT4_SOCKETCALL].
49420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
49422 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49423 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49424 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49425 __ASSUME_ACCEPT4_SYSCALL.
49426 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49427 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49428 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49429 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49430 __ASSUME_ACCEPT4_SYSCALL.
49431 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49432 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49433 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49434 [__ASSUME_ACCEPT4]: Change condition to
49435 [__ASSUME_ACCEPT4_SOCKETCALL].
49436 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49437 (__ASSUME_SOCKETCALL): Define.
49438 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49439 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49440 (__ASSUME_SOCKETCALL): Define.
49441 (__ASSUME_ACCEPT4): Remove.
49442 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49443 Define.
49444 * sysdeps/unix/sysv/linux/mips/kernel-features.h
49445 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49446 Likewise.
49447 * sysdeps/unix/sysv/linux/tile/kernel-features.h
49448 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49449
49450 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49451 macro.
49452 (HWCAP_ARM_LPAE): Likewise.
49453 (HWCAP_ARM_EVTSTRM): Likewise.
49454 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49455 Add vpfd32, lpae and evtstrm.
49456 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49457 Increase to 22.
49458
49459 2014-02-19 Joseph Myers <joseph@codesourcery.com>
49460
49461 * math/auto-libm-test-in: Add tests of clog10.
49462 * math/auto-libm-test-out: Regenerated.
49463 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49464 * sysdeps/i386/fpu/libm-test-ulps: Update.
49465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49466
49467 2014-02-18 Andreas Schwab <schwab@suse.de>
49468
49469 [BZ #16574]
49470 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49471 Store non-zero if the second buffer was newly allocated.
49472 (send_dg): Likewise.
49473 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49474 to send_vc and send_dg.
49475 (res_nsend): Pass NULL for ansp2_malloced.
49476 * resolv/res_query.c (__libc_res_nquery): Add parameter
49477 answerp2_malloced and pass it down to __libc_res_nsend.
49478 (res_nquery): Pass additional NULL to __libc_res_nquery.
49479 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49480 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
49481 second answer buffer if answerp2_malloced was set.
49482 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49483 (__libc_res_nquerydomain): Add parameter
49484 answerp2_malloced and pass it down to __libc_res_nquery.
49485 (res_nquerydomain): Pass additional NULL to
49486 __libc_res_nquerydomain.
49487 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49488 additional NULL to __libc_res_nsend and __libc_res_nquery.
49489 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49490 additional NULL to __libc_res_nsearch.
49491 (_nss_dns_gethostbyname4_r): Revert last change. Use new
49492 parameter of __libc_res_nsearch to check for separately allocated
49493 second buffer.
49494 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49495 __libc_res_nquery.
49496 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49497 additional NULL to __libc_res_nquery.
49498 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49499 __libc_res_nsearch.
49500 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49501 * include/resolv.h: Update prototypes of __libc_res_nquery,
49502 __libc_res_nsearch, __libc_res_nsend.
49503
49504 2014-02-18 Joseph Myers <joseph@codesourcery.com>
49505
49506 * math/auto-libm-test-in: Add tests of fma.
49507 * math/auto-libm-test-out: Regenerated.
49508 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49509 (fma_towardzero_test_data): Likewise.
49510 (fma_downward_test_data): Likewise.
49511 (fma_upward_test_data): Likewise.
49512 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49513 mpc_mode.
49514 (rounding_modes): Add values for new field.
49515 (func_calc_method): Add value mpfr_fff_f.
49516 (func_calc_desc): Add mpfr_fff_f union field.
49517 (test_function): Add field exact_args.
49518 (FUNC): Add macro argument EXACT_ARGS.
49519 (FUNC_mpfr_f_f): Update call to FUNC.
49520 (FUNC_mpfr_f_f): Likewise.
49521 (FUNC_mpfr_ff_f): Likewise.
49522 (FUNC_mpfr_if_f): Likewise.
49523 (FUNC_mpc_c_f): Likewise.
49524 (FUNC_mpc_c_c): Likewise.
49525 (test_functions): Add fma. Update calls to FUNC.
49526 (handle_input_arg): Add argument exact_args.
49527 (add_test): Update call to handle_input_arg.
49528 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
49529 (output_for_one_input_case): Update call to calc_generic_results.
49530 Recalculate exact zero results in each rounding mode.
49531
49532 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49533 non-negative before setting low bit.
49534 * math/auto-libm-test-in: Mark one asin test possibly having
49535 spurious underflow.
49536 * math/auto-libm-test-out: Regenerated.
49537 * sysdeps/i386/fpu/libm-test-ulps: Update.
49538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49539
49540 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
49541
49542 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49543 * sysdeps/unix/sysv/linux/microblaze: Move directory from
49544 ports/sysdeps/unix/sysv/linux/microblaze.
49545 * README: Add missing listing for microblaze*-*-linux-gnu.
49546
49547 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
49548
49549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49550 duplicate code
49551
49552 2014-02-16 Mike Frysinger <vapier@gentoo.org>
49553
49554 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49555 * sysdeps/unix/sysv/linux/ia64: Move directory from
49556 ports/sysdeps/unix/sysv/linux/ia64.
49557 * README: Update listing for ia64-*-linux-gnu.
49558
49559 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
49560 Joseph Myers <joseph@codesourcery.com>
49561
49562 * Makeconfig (test-name): New variable.
49563 (evaluate-test): Likewise.
49564 * Makerules (do-test-clean): Remove .test-result files.
49565 (common-mostlyclean): Likewise.
49566 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49567 * scripts/evaluate-test.sh: New file.
49568
49569 2014-02-14 Joseph Myers <joseph@codesourcery.com>
49570
49571 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49572 separate $(objpfx)tst-fopenloc-cmp.out and
49573 $(objpfx)tst-fopenloc-mem.out targets.
49574 (tests): Update dependencies.
49575 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49576 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49577 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49578 (tst-rxspencer-no-utf8-ARGS): New variable.
49579 (tst-rxspencer-no-utf8-ENV): Likewise.
49580 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49581 instead of $(objpfx)tst-rxspencer-mem.
49582 ($(objpfx)tst-rxspencer-mem): Change target to
49583 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
49584 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49585 * posix/tst-rxspencer-no-utf8.c: New file.
49586
49587 * elf/Makefile ($(objpfx)order.out): Remove rule.
49588 [$(run-built-tests) = yes] (tests): Depend on
49589 $(objpfx)order-cmp.out.
49590 ($(objpfx)order-cmp.out): New rule.
49591 [$(run-built-tests) = yes] (tests): Depend on
49592 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49593 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49594 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49595 $(objpfx)tst-array5-static-cmp.out.
49596 ($(objpfx)tst-array1.out): Remove rule.
49597 ($(objpfx)tst-array1-cmp.out): New rule.
49598 ($(objpfx)tst-array1-static.out): Remove rule.
49599 ($(objpfx)tst-array1-static-cmp.out): New rule.
49600 ($(objpfx)tst-array2.out): Remove rule.
49601 ($(objpfx)tst-array2-cmp.out): New rule.
49602 ($(objpfx)tst-array3.out): Remove rule.
49603 ($(objpfx)tst-array3-cmp.out): New rule.
49604 ($(objpfx)tst-array4.out): Remove rule.
49605 ($(objpfx)tst-array4-cmp.out): New rule.
49606 ($(objpfx)tst-array5.out): Remove rule.
49607 ($(objpfx)tst-array5-cmp.out): New rule.
49608 ($(objpfx)tst-array5-static.out): Remove rule.
49609 ($(objpfx)tst-array5-static-cmp.out): New rule.
49610 [$(run-built-tests) = yes] (tests): Depend on
49611 $(objpfx)order2-cmp.out.
49612 ($(objpfx)order2.out): Remove rule.
49613 ($(objpfx)order2-cmp.out): New rule.
49614 ($(objpfx)tst-initorder.out): Remove rule.
49615 [$(run-built-tests) = yes] (tests): Depend on
49616 $(objpfx)tst-initorder-cmp.out.
49617 ($(objpfx)tst-initorder-cmp.out): New rule.
49618 ($(objpfx)tst-initorder2.out): Remove rule.
49619 [$(run-built-tests) = yes] (tests): Depend on
49620 $(objpfx)tst-initorder2-cmp.out.
49621 ($(objpfx)tst-initorder2-cmp.out): New rule.
49622 [$(run-built-tests) = yes] (tests): Depend on
49623 $(objpfx)tst-unused-dep-cmp.out.
49624 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49625 ($(objpfx)tst-unused-dep-cmp.out): New rule.
49626 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49627 on $(objpfx)tst-setvbuf1-cmp.out.
49628 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49629 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49630 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49631 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49632 ($(objpfx)tst-svc.out): Remove rule.
49633 ($(objpfx)tst-svc-cmp.out): New rule.
49634
49635 2014-02-13 Joseph Myers <joseph@codesourcery.com>
49636
49637 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49638 * ctype/ctype.h [__USE_MISC]: Likewise.
49639 * dirent/dirent.h [__USE_MISC]: Likewise.
49640 * grp/grp.h [__USE_MISC]: Likewise.
49641 * io/fcntl.h [__USE_MISC]: Likewise.
49642 * io/sys/stat.h [__USE_MISC]: Likewise.
49643 * libio/stdio.h [__USE_MISC]: Likewise.
49644 * posix/unistd.h [__USE_MISC]: Likewise.
49645 * pwd/pwd.h [__USE_MISC]: Likewise.
49646 * stdlib.h [__USE_MISC]: Likewise.
49647 * string/bits/string2.h [__USE_MISC]: Likewise.
49648 * string/string.h [__USE_MISC]: Likewise.
49649 * time/time.h [__USE_MISC]: Likewise.
49650
49651 2014-02-13 Andreas Schwab <schwab@suse.de>
49652
49653 [BZ #16574]
49654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49655 second answer buffer if it was separately allocated.
49656
49657 2014-02-12 Joseph Myers <joseph@codesourcery.com>
49658
49659 * sysdeps/mips/math-tests.h: Include <features.h>.
49660 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49661 (ROUNDING_TESTS_long_double): Do not define.
49662 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49663 (EXCEPTION_TESTS_long_double): Likewise.
49664 * sysdeps/mips/mips64/libm-test-ulps: Update.
49665
49666 * include/features.h (__USE_BSD): Remove macro definitions.
49667 (__USE_SVID): Likewise.
49668 (_BSD_SOURCE): Likewise.
49669 (_SVID_SOURCE): Likewise.
49670 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49671 from definition of _DEFAULT_SOURCE.
49672 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49673 [_DEFAULT_SOURCE].
49674 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49675 * bits/mman.h [__USE_BSD]: Likewise.
49676 * bits/termios.h [__USE_BSD]: Likewise.
49677 * bits/waitstatus.h [__USE_BSD]: Likewise.
49678 * ctype/ctype.h [__USE_SVID]: Likewise.
49679 * dirent/dirent.h [__USE_BSD]: Likewise.
49680 * grp/grp.h [__USE_SVID]: Likewise.
49681 [__USE_BSD]: Likewise.
49682 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49683 * io/fcntl.h [__USE_BSD]: Likewise.
49684 * io/ftw.h [__USE_BSD]: Likewise.
49685 * io/sys/stat.h [__USE_BSD]: Likewise.
49686 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49687 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49688 * libio/stdio.h [__USE_SVID]: Likewise.
49689 [__USE_BSD]: Likewise.
49690 * math/math.h [__USE_SVID]: Likewise.
49691 [__USE_BSD]: Likewise.
49692 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49693 * misc/bits/syslog.h [__USE_BSD]: Likewise.
49694 * misc/search.h [__USE_SVID]: Likewise.
49695 * misc/sys/mman.h [__USE_BSD]: Likewise.
49696 * misc/sys/syslog.h [__USE_BSD]: Likewise.
49697 * misc/sys/uio.h [__USE_BSD]: Likewise.
49698 * posix/bits/unistd.h [__USE_BSD]: Likewise.
49699 * posix/glob.h [__USE_BSD]: Likewise.
49700 * posix/regex.h [__USE_BSD]: Likewise.
49701 * posix/sys/types.h [__USE_BSD]: Likewise.
49702 [__USE_SVID]: Likewise.
49703 * posix/sys/utsname.h [__USE_SVID]: Likewise.
49704 * posix/sys/wait.h [__USE_BSD]: Likewise.
49705 [__USE_SVID]: Likewise.
49706 * posix/unistd.h [__USE_BSD]: Likewise.
49707 [__USE_SVID]: Likewise.
49708 * pwd/pwd.h [__USE_SVID]: Likewise.
49709 * resolv/netdb.h [__USE_BSD]: Likewise.
49710 * setjmp/setjmp.h [__USE_BSD]: Likewise.
49711 * signal/signal.h [__USE_BSD]: Likewise.
49712 [__USE_SVID]: Likewise.
49713 * socket/sys/socket.h [__USE_BSD]: Likewise.
49714 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49715 * stdlib/stdlib.h [__USE_BSD]: Likewise.
49716 [__USE_SVID]: Likewise.
49717 * string/bits/string2.h [__USE_BSD]: Likewise.
49718 [__USE_SVID]: Likewise.
49719 * string/bits/string3.h [__USE_BSD]: Likewise.
49720 * string/endian.h [__USE_BSD]: Likewise.
49721 * string/string.h [__USE_SVID]: Likewise.
49722 [__USE_BSD]: Likewise.
49723 * string/strings.h [__USE_BSD]: Likewise.
49724 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49725 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49726 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49727 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49728 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49730 Likewise.
49731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49732 Likewise.
49733 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49734 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49735 Likewise.
49736 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49737 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49738 Likewise.
49739 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49740 Likewise.
49741 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49742 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49744 Likewise.
49745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49746 Likewise.
49747 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49748 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49749 * termios/termios.h [__USE_BSD]: Likewise.
49750 * time/sys/time.h [__USE_BSD]: Likewise.
49751 * time/time.h [__USE_BSD]: Likewise.
49752 [__USE_SVID]: Likewise.
49753
49754 * Makefile (subdir_targets): Remove subdir_lint.out.
49755
49756 * stdio-common/Makefile (do-tst-unbputc): Remove target.
49757 (do-tst-printf): Likewise.
49758 (tests): Depend directly on $(objpfx)tst-unbputc.out and
49759 $(objpfx)tst-printf.out.
49760
49761 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49762
49763 * Makerules (check-abi-%): Change target to
49764 $(objpfx)check-abi-%.out.
49765 (check-abi target): Update dependencies.
49766 (check-abi-pattern variable): Redirect output of diff to $@.
49767 (check-abi variable): Likewise.
49768 * elf/Makefile (check-abi): Update dependencies.
49769
49770 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49771 unused.
49772 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49773 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49774 subnormal range.
49775 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49776 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49777 value has largest subnormal exponent.
49778 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49779 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49780 * sysdeps/aarch64/soft-fp/sfp-machine.h
49781 (_FP_TININESS_AFTER_ROUNDING): New macro.
49782 * sysdeps/alpha/soft-fp/sfp-machine.h
49783 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49784 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49785 Likewise.
49786 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49787 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49788 * sysdeps/mips/soft-fp/sfp-machine.h
49789 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49790 * sysdeps/powerpc/soft-fp/sfp-machine.h
49791 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49792 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49793 Likewise.
49794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49795 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49797 (_FP_TININESS_AFTER_ROUNDING): Likewise.
49798 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49799 Likewise.
49800
49801 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
49802
49803 [BZ #16545]
49804 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49805 model 1.
49806
49807 2014-02-12 Richard Henderson <rth@redhat.com>
49808
49809 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49810 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49811 * sysdeps/unix/sysv/linux/alpha: Move directory from
49812 ports/sysdeps/unix/sysv/linux/alpha.
49813 * README: Update listing for alpha-*-linux-gnu.
49814
49815 2014-02-11 Joseph Myers <joseph@codesourcery.com>
49816
49817 * include/features.h: Update comment documenting feature test
49818 macros.
49819 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
49820 _DEFAULT_SOURCE.
49821 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49822 (_SVID_SOURCE): Likewise.
49823 (_DEFAULT_SOURCE): Update description of default features.
49824 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49825 with _GNU_SOURCE.
49826 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49827 (S_ISVTX): Likewise.
49828 * manual/math.texi (Mathematical Constants): Likewise.
49829 * manual/signal.texi (Interrupted Primitives): Likewise.
49830 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49831 * math/test-matherr.c (_SVID_SOURCE): Do not define.
49832 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49833 Don't refer to _SVID_SOURCE in warning text.
49834
49835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49836
49837 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49838 already defined.
49839 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49840 * sysdeps/mips/dl-lookup.c: Remove.
49841 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49842
49843 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
49844
49845 [BZ #16447]
49846 * math/auto-libm-test-in: Add testcase for expl.
49847 * math/auto-libm-test-out: Regenerate.
49848 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49849 calculation of unsafe.
49850 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49851
49852 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
49853
49854 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49855 * sysdeps/unix/sysv/linux/aarch64: Move directory from
49856 ports/sysdeps/unix/sysv/linux/aarch64.
49857 * README: Update listing for aarch64*-*-linux-gnu.
49858
49859 2014-02-11 Will Newton <will.newton@linaro.org>
49860
49861 * manual/probes.texi (Mathematical Function Probes): Use
49862 "triggered" instead of "hit".
49863
49864 * manual/probes.texi (Internal Probes): Add documentation
49865 of setjmp, longjmp and longjmp_target probes.
49866
49867 * include/stap-probe.h: Add comment about probe argument
49868 format.
49869
49870 * malloc/mtrace.c (attribute_hidden): Remove unused macro
49871 definition. (tr_where, tr_freehook, tr_mallochook,
49872 tr_reallochook, tr_memalignhook): Use ANSI protoype.
49873
49874 2014-02-11 David S. Miller <davem@davemloft.net>
49875
49876 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49877 processing int_tests.
49878
49879 2014-02-10 Joseph Myers <joseph@codesourcery.com>
49880
49881 * sysdeps/mips: Move directory from ports/sysdeps/mips.
49882 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49883 * sysdeps/unix/sysv/linux/mips: Move directory from
49884 ports/sysdeps/unix/sysv/linux/mips.
49885 * README: Update listing for mips-*-linux-gnu and
49886 mips64-*-linux-gnu.
49887
49888 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
49889
49890 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49891 * sysdeps/unix/sysv/linux/m68k: Move directory from
49892 ports/sysdeps/unix/sysv/linux/m68k.
49893 * README: Update listing for m68k-*-linux-gnu.
49894
49895 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
49896
49897 * sysdeps/tile: Move directory from ports/sysdeps/tile.
49898 * sysdeps/unix/sysv/linux/generic: Move directory from
49899 ports/sysdeps/unix/sysv/linux/generic.
49900 * sysdeps/unix/sysv/linux/tile: Move directory from
49901 ports/sysdeps/unix/sysv/linux/tile.
49902 * README: Update listing for tile*-*-linux-gnu.
49903
49904 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
49905
49906 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49907 __builtin_expect.
49908 * benchtests/bench-memmem.c (simple_memmem): Likewise.
49909 * catgets/open_catalog.c (__open_catalog): Likewise.
49910 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49911 * debug/confstr_chk.c: Likewise.
49912 * debug/fread_chk.c (__fread_chk): Likewise.
49913 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49914 * debug/getgroups_chk.c: Likewise.
49915 * debug/mbsnrtowcs_chk.c: Likewise.
49916 * debug/mbsrtowcs_chk.c: Likewise.
49917 * debug/mbstowcs_chk.c: Likewise.
49918 * debug/memcpy_chk.c: Likewise.
49919 * debug/memmove_chk.c: Likewise.
49920 * debug/mempcpy_chk.c: Likewise.
49921 * debug/memset_chk.c: Likewise.
49922 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49923 * debug/strcat_chk.c (__strcat_chk): Likewise.
49924 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49925 * debug/strncat_chk.c (__strncat_chk): Likewise.
49926 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49927 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49928 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49929 * debug/wcpncpy_chk.c: Likewise.
49930 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49931 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49932 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49933 * debug/wcsncpy_chk.c: Likewise.
49934 * debug/wcsnrtombs_chk.c: Likewise.
49935 * debug/wcsrtombs_chk.c: Likewise.
49936 * debug/wcstombs_chk.c: Likewise.
49937 * debug/wmemcpy_chk.c: Likewise.
49938 * debug/wmemmove_chk.c: Likewise.
49939 * debug/wmempcpy_chk.c: Likewise.
49940 * debug/wmemset_chk.c: Likewise.
49941 * dirent/scandirat.c (SCANDIRAT): Likewise.
49942 * dlfcn/dladdr1.c (dladdr1): Likewise.
49943 * dlfcn/dladdr.c (dladdr): Likewise.
49944 * dlfcn/dlclose.c (dlclose_doit): Likewise.
49945 * dlfcn/dlerror.c (__dlerror): Likewise.
49946 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49947 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49948 * dlfcn/dlopen.c (dlopen_doit): Likewise.
49949 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49950 * dlfcn/dlsym.c (dlsym_doit): Likewise.
49951 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49952 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49953 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49954 Likewise.
49955 * elf/dl-conflict.c: Likewise.
49956 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49957 * elf/dl-dst.h: Likewise.
49958 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49959 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49960 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49961 * elf/dl-init.c (call_init, _dl_init): Likewise.
49962 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49963 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49964 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49965 Likewise.
49966 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49967 Likewise.
49968 * elf/dl-minimal.c (__libc_memalign): Likewise.
49969 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49970 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49971 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49972 * elf/dl-sym.c (do_sym): Likewise.
49973 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49974 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49975 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49976 * elf/dl-writev.h (_dl_writev): Likewise.
49977 * elf/ldconfig.c (search_dir): Likewise.
49978 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49979 (dl_main): Likewise.
49980 * elf/setup-vdso.h (setup_vdso): Likewise.
49981 * grp/compat-initgroups.c (compat_call): Likewise.
49982 * grp/fgetgrent.c (fgetgrent): Likewise.
49983 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49984 * grp/putgrent.c (putgrent): Likewise.
49985 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49986 Likewise.
49987 * hurd/hurdinit.c: Likewise.
49988 * iconvdata/8bit-gap.c (struct): Likewise.
49989 * iconvdata/ansi_x3.110.c : Likewise.
49990 * iconvdata/big5.c : Likewise.
49991 * iconvdata/big5hkscs.c : Likewise.
49992 * iconvdata/cp1255.c: Likewise.
49993 * iconvdata/cp1258.c : Likewise.
49994 * iconvdata/cp932.c : Likewise.
49995 * iconvdata/euc-cn.c: Likewise.
49996 * iconvdata/euc-jisx0213.c : Likewise.
49997 * iconvdata/euc-jp.c: Likewise.
49998 * iconvdata/euc-jp-ms.c : Likewise.
49999 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50000 * iconvdata/gb18030.c : Likewise.
50001 * iconvdata/gbbig5.c (const): Likewise.
50002 * iconvdata/gbgbk.c: Likewise.
50003 * iconvdata/gbk.c : Likewise.
50004 * iconvdata/ibm1364.c : Likewise.
50005 * iconvdata/ibm930.c : Likewise.
50006 * iconvdata/ibm932.c: Likewise.
50007 * iconvdata/ibm933.c : Likewise.
50008 * iconvdata/ibm935.c : Likewise.
50009 * iconvdata/ibm937.c : Likewise.
50010 * iconvdata/ibm939.c : Likewise.
50011 * iconvdata/ibm943.c: Likewise.
50012 * iconvdata/iso_11548-1.c: Likewise.
50013 * iconvdata/iso-2022-cn.c : Likewise.
50014 * iconvdata/iso-2022-cn-ext.c : Likewise.
50015 * iconvdata/iso-2022-jp-3.c: Likewise.
50016 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50017 * iconvdata/iso-2022-kr.c : Likewise.
50018 * iconvdata/iso646.c (gconv_end): Likewise.
50019 * iconvdata/iso_6937-2.c : Likewise.
50020 * iconvdata/iso_6937.c : Likewise.
50021 * iconvdata/iso8859-1.c: Likewise.
50022 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50023 * iconvdata/shift_jisx0213.c : Likewise.
50024 * iconvdata/sjis.c : Likewise.
50025 * iconvdata/t.61.c : Likewise.
50026 * iconvdata/tcvn5712-1.c : Likewise.
50027 * iconvdata/tscii.c: Likewise.
50028 * iconvdata/uhc.c : Likewise.
50029 * iconvdata/unicode.c (gconv_end): Likewise.
50030 * iconvdata/utf-16.c (gconv_end): Likewise.
50031 * iconvdata/utf-32.c (gconv_end): Likewise.
50032 * iconvdata/utf-7.c (base64): Likewise.
50033 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50034 * iconv/gconv_close.c (__gconv_close): Likewise.
50035 * iconv/gconv_open.c (__gconv_open): Likewise.
50036 * iconv/gconv_simple.c (internal_ucs4_loop_single)
50037 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50038 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50039 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50040 (ucs4le_internal_loop_single): Likewise.
50041 * iconv/iconv.c (iconv): Likewise.
50042 * iconv/iconv_close.c: Likewise.
50043 * iconv/loop.c (SINGLE): Likewise.
50044 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50045 * include/atomic.h: Likewise.
50046 * inet/inet6_option.c (option_alloc): Likewise.
50047 * intl/bindtextdom.c (set_binding_values): Likewise.
50048 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50049 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50050 * intl/localealias.c (read_alias_file): Likewise.
50051 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50052 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50053 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50054 * libio/fmemopen.c (fmemopen): Likewise.
50055 * libio/iofgets.c (_IO_fgets): Likewise.
50056 * libio/iofgets_u.c (fgets_unlocked): Likewise.
50057 * libio/iofgetws.c (fgetws): Likewise.
50058 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50059 * libio/iogetdelim.c (_IO_getdelim): Likewise.
50060 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50061 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50062 * locale/findlocale.c (_nl_find_locale): Likewise.
50063 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50064 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50065 Likewise.
50066 * locale/setlocale.c (setlocale): Likewise.
50067 * login/programs/pt_chown.c (main): Likewise.
50068 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50069 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50070 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50071 (mmap, mmap64, mremap, munmap): Likewise.
50072 * math/e_exp2l.c: Likewise.
50073 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50074 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50075 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50076 * math/s_catan.c (__catan): Likewise.
50077 * math/s_catanf.c (__catanf): Likewise.
50078 * math/s_catanh.c (__catanh): Likewise.
50079 * math/s_catanhf.c (__catanhf): Likewise.
50080 * math/s_catanhl.c (__catanhl): Likewise.
50081 * math/s_catanl.c (__catanl): Likewise.
50082 * math/s_ccosh.c (__ccosh): Likewise.
50083 * math/s_ccoshf.c (__ccoshf): Likewise.
50084 * math/s_ccoshl.c (__ccoshl): Likewise.
50085 * math/s_cexp.c (__cexp): Likewise.
50086 * math/s_cexpf.c (__cexpf): Likewise.
50087 * math/s_cexpl.c (__cexpl): Likewise.
50088 * math/s_clog10.c (__clog10): Likewise.
50089 * math/s_clog10f.c (__clog10f): Likewise.
50090 * math/s_clog10l.c (__clog10l): Likewise.
50091 * math/s_clog.c (__clog): Likewise.
50092 * math/s_clogf.c (__clogf): Likewise.
50093 * math/s_clogl.c (__clogl): Likewise.
50094 * math/s_csin.c (__csin): Likewise.
50095 * math/s_csinf.c (__csinf): Likewise.
50096 * math/s_csinh.c (__csinh): Likewise.
50097 * math/s_csinhf.c (__csinhf): Likewise.
50098 * math/s_csinhl.c (__csinhl): Likewise.
50099 * math/s_csinl.c (__csinl): Likewise.
50100 * math/s_csqrt.c (__csqrt): Likewise.
50101 * math/s_csqrtf.c (__csqrtf): Likewise.
50102 * math/s_csqrtl.c (__csqrtl): Likewise.
50103 * math/s_ctan.c (__ctan): Likewise.
50104 * math/s_ctanf.c (__ctanf): Likewise.
50105 * math/s_ctanh.c (__ctanh): Likewise.
50106 * math/s_ctanhf.c (__ctanhf): Likewise.
50107 * math/s_ctanhl.c (__ctanhl): Likewise.
50108 * math/s_ctanl.c (__ctanl): Likewise.
50109 * math/w_pow.c: Likewise.
50110 * math/w_powf.c: Likewise.
50111 * math/w_powl.c: Likewise.
50112 * math/w_scalb.c (sysv_scalb): Likewise.
50113 * math/w_scalbf.c (sysv_scalbf): Likewise.
50114 * math/w_scalbl.c (sysv_scalbl): Likewise.
50115 * misc/error.c (error_tail): Likewise.
50116 * misc/pselect.c (__pselect): Likewise.
50117 * nis/nis_callback.c (__nis_create_callback): Likewise.
50118 * nis/nis_call.c (__nisfind_server): Likewise.
50119 * nis/nis_creategroup.c (nis_creategroup): Likewise.
50120 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50121 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50122 * nis/nis_getservlist.c (nis_getservlist): Likewise.
50123 * nis/nis_lookup.c (nis_lookup): Likewise.
50124 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50125 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50126 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50127 * nis/nis_xdr.c (xdr_endpoint): Likewise.
50128 * nis/nss_compat/compat-grp.c (getgrent_next_file)
50129 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50130 * nis/nss_compat/compat-initgroups.c (add_group)
50131 (internal_getgrent_r): Likewise.
50132 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50133 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50134 * nis/nss_compat/compat-spwd.c (getspent_next_file)
50135 (internal_getspnam_r): Likewise.
50136 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50137 (_nss_nis_getaliasbyname_r): Likewise.
50138 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50139 (_nss_nis_getntohost_r): Likewise.
50140 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50141 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50142 (_nss_nis_getgrgid_r): Likewise.
50143 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50144 (internal_nis_gethostent_r, internal_gethostbyname2_r)
50145 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50146 (_nss_nis_gethostbyname4_r): Likewise.
50147 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50148 (initgroups_netid): Likewise.
50149 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50150 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50151 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50152 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50153 (_nss_nis_getprotobynumber_r): Likewise.
50154 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50155 (_nss_nis_getsecretkey): Likewise.
50156 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50157 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50158 (_nss_nis_getpwuid_r): Likewise.
50159 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50160 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50161 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50162 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50163 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50164 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50165 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50166 Likewise.
50167 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50168 (_nss_nisplus_getntohost_r): Likewise.
50169 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50170 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50171 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50172 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50173 Likewise.
50174 * nis/nss_nisplus/nisplus-initgroups.c
50175 (_nss_nisplus_initgroups_dyn): Likewise.
50176 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50177 (_nss_nisplus_getnetbyaddr_r): Likewise.
50178 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50179 (_nss_nisplus_getprotobynumber_r): Likewise.
50180 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50181 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50182 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50183 Likewise.
50184 * nis/nss_nisplus/nisplus-service.c
50185 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50186 (_nss_nisplus_getservbyport_r): Likewise.
50187 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50188 (_nss_nisplus_getspnam_r): Likewise.
50189 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50190 Likewise.
50191 * nscd/aicache.c (addhstaiX): Likewise.
50192 * nscd/cache.c (cache_search, prune_cache): Likewise.
50193 * nscd/connections.c (register_traced_file, send_ro_fd)
50194 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50195 (main_loop_epoll): Likewise.
50196 * nscd/grpcache.c (addgrbyX): Likewise.
50197 * nscd/hstcache.c (addhstbyX): Likewise.
50198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50199 * nscd/mem.c (gc, mempool_alloc): Likewise.
50200 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50201 (addinnetgrX): Likewise.
50202 * nscd/nscd-client.h (__nscd_acquire_maplock)
50203 (__nscd_drop_map_ref): Likewise.
50204 * nscd/nscd_getai.c (__nscd_getai): Likewise.
50205 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50207 Likewise.
50208 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50210 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50211 (__nscd_get_map_ref): Likewise.
50212 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50213 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50214 Likewise.
50215 * nscd/pwdcache.c (addpwbyX): Likewise.
50216 * nscd/selinux.c (preserve_capabilities): Likewise.
50217 * nscd/servicescache.c (addservbyX): Likewise.
50218 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50219 * posix/fnmatch.c (fnmatch): Likewise.
50220 * posix/getopt.c (_getopt_internal_r): Likewise.
50221 * posix/glob.c (glob, glob_in_dir): Likewise.
50222 * posix/wordexp.c (exec_comm_child): Likewise.
50223 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50224 (getanswer_r, gaih_getanswer_slice): Likewise.
50225 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50226 * resolv/res_init.c: Likewise.
50227 * resolv/res_mkquery.c (res_nmkquery): Likewise.
50228 * resolv/res_query.c (__libc_res_nquery): Likewise.
50229 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50230 Likewise.
50231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50232 * stdio-common/perror.c (perror): Likewise.
50233 * stdio-common/printf_fp.c (___printf_fp): Likewise.
50234 * stdio-common/tmpnam.c (tmpnam): Likewise.
50235 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50236 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50237 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50238 Likewise.
50239 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50240 * stdlib/putenv.c (putenv): Likewise.
50241 * stdlib/setenv.c (__add_to_environ): Likewise.
50242 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50243 * stdlib/strtol_l.c (INTERNAL): Likewise.
50244 * string/memmem.c (memmem): Likewise.
50245 * string/strerror.c (strerror): Likewise.
50246 * string/strnlen.c (__strnlen): Likewise.
50247 * string/test-memmem.c (simple_memmem): Likewise.
50248 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50249 * sunrpc/pm_getport.c (__get_socket): Likewise.
50250 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50251 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50252 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50253 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50254 Likewise.
50255 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50256 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50257 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50258 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50259 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50260 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50261 Likewise.
50262 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50263 Likewise.
50264 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50265 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50267 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50268 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50270 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50271 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50272 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50273 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50274 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50275 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50276 Likewise.
50277 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50278 Likewise.
50279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50280 Likewise.
50281 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50284 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50285 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50286 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50287 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50290 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50291 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50292 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50294 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50297 Likewise.
50298 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50299 Likewise.
50300 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50301 Likewise.
50302 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50303 Likewise.
50304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50306 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50307 Likewise.
50308 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50309 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50310 * sysdeps/posix/opendir.c (__opendirat): Likewise.
50311 * sysdeps/posix/sleep.c: Likewise.
50312 * sysdeps/posix/tempname.c: Likewise.
50313 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50314 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50315 Likewise.
50316 * sysdeps/powerpc/powerpc32/dl-machine.h
50317 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50320 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50321 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50322 Likewise.
50323 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50325 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50326 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50327 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50328 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50329 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50330 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50331 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50332 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50334 (elf_machine_lazy_rel): Likewise.
50335 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50337 (elf_machine_lazy_rel): Likewise.
50338 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50339 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50340 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50341 * sysdeps/unix/grantpt.c (grantpt): Likewise.
50342 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50343 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50344 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50346 Likewise.
50347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50348 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50349 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50350 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50351 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50352 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50353 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50354 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50355 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50356 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50358 Likewise.
50359 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50360 (__posix_fallocate64_l64): Likewise.
50361 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50362 (posix_fallocate): Likewise.
50363 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50364 Likewise.
50365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50366 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50367 (getifaddrs_internal): Likewise.
50368 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50369 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50370 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50371 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50372 * sysdeps/unix/sysv/linux/posix_fallocate64.c
50373 (__posix_fallocate64_l64): Likewise.
50374 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50375 Likewise.
50376 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50377 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50378 (__get_clockfreq): Likewise.
50379 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50380 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50381 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50384 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50385 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50386 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50387 Likewise.
50388 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50389 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50390 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50392 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50393 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50394 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50395 Likewise.
50396 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50397 (posix_fallocate): Likewise.
50398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50399 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50400 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50401 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50402 (elf_machine_rela, elf_machine_rela_relative)
50403 (elf_machine_lazy_rel): Likewise.
50404 * time/asctime.c (asctime_internal): Likewise.
50405 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50406 * time/tzset.c (__tzset_parse_tz): Likewise.
50407 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50408 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50409 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50410 * wcsmbs/wcsmbsload.h: Likewise.
50411
50412 [BZ #15894]
50413 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50414
50415 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50416 (arena_get2): Remove THREAD_STATS conditionals.
50417 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50418 (__malloc_stats, int): Likewise.
50419
50420 2014-02-08 Mike Frysinger <vapier@gentoo.org>
50421
50422 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50423 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
50424
50425 * manual/setjmp.texi: Fix typos/grammar errors.
50426
50427 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50428 Only return early when n is <= 0. Delete unused return statement.
50429
50430 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50431 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50432 * debug/tst-longjmp_chk3.c: New file.
50433
50434 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50435 (test_main): Replace code with set_fortify_handler call.
50436 * debug/test-strcpy_chk.c: Likewise.
50437 * debug/tst-chk1.c: Likewise.
50438 * debug/tst-longjmp_chk.c: Likewise.
50439 * test-skeleton.c: Include fcntl.h & paths.h
50440 (set_fortify_handler): Define.
50441
50442 * debug/tst-longjmp_chk.c: Add header comment and include
50443 ../test-skeleton.c.
50444 (do_test): Mark static.
50445 (TEST_FUNCTION): Define.
50446
50447 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50448 (IP_PMTUDISC_INTERFACE): Likewise.
50449 (IP_MULTICAST_IF): Likewise.
50450 (IP_MULTICAST_TTL): Likewise.
50451 (IP_MULTICAST_LOOP): Likewise.
50452 (IP_ADD_MEMBERSHIP): Likewise.
50453 (IP_DROP_MEMBERSHIP): Likewise.
50454 (IP_UNBLOCK_SOURCE): Likewise.
50455 (IP_BLOCK_SOURCE): Likewise.
50456 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50457 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50458 (IP_MSFILTER): Likewise.
50459 (MCAST_JOIN_GROUP): Likewise.
50460 (MCAST_BLOCK_SOURCE): Likewise.
50461 (MCAST_UNBLOCK_SOURCE): Likewise.
50462 (MCAST_LEAVE_GROUP): Likewise.
50463 (MCAST_JOIN_SOURCE_GROUP): Likewise.
50464 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50465 (MCAST_MSFILTER): Likewise.
50466 (IP_MULTICAST_ALL): Likewise.
50467 (IP_UNICAST_IF): Likewise.
50468
50469 * timezone/Makefile: Delete $(have-ksh) check.
50470 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50471 * timezone/tzselect.ksh: Add +x mode bits.
50472
50473 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50474 (ANON_INODE_FS_MAGIC): Likewise.
50475 (BDEVFS_MAGIC): Likewise.
50476 (BINFMTFS_MAGIC): Likewise.
50477 (BTRFS_TEST_MAGIC): Likewise.
50478 (CRAMFS_MAGIC_WEND): Likewise.
50479 (DEBUGFS_MAGIC): Likewise.
50480 (ECRYPTFS_SUPER_MAGIC): Likewise.
50481 (EXT3_SUPER_MAGIC): Likewise.
50482 (EXT4_SUPER_MAGIC): Likewise.
50483 (FUTEXFS_SUPER_MAGIC): Likewise.
50484 (HOSTFS_SUPER_MAGIC): Likewise.
50485 (HUGETLBFS_MAGIC): Likewise.
50486 (MINIX3_SUPER_MAGIC): Likewise.
50487 (MTD_INODE_FS_MAGIC): Likewise.
50488 (NILFS_SUPER_MAGIC): Likewise.
50489 (OPENPROM_SUPER_MAGIC): Likewise.
50490 (PIPEFS_MAGIC): Likewise.
50491 (PSTOREFS_MAGIC): Likewise.
50492 (QNX6_SUPER_MAGIC): Likewise.
50493 (RAMFS_MAGIC): Likewise.
50494 (REISERFS_SUPER_MAGIC_STRING): Likewise.
50495 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50496 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50497 (SECURITYFS_MAGIC): Likewise.
50498 (SELINUX_MAGIC): Likewise.
50499 (SMACK_MAGIC): Likewise.
50500 (SOCKFS_MAGIC): Likewise.
50501 (SQUASHFS_MAGIC): Likewise.
50502 (STACK_END_MAGIC): Likewise.
50503 (TMPFS_MAGIC): Likewise.
50504 (USBDEVICE_SUPER_MAGIC): Likewise.
50505 (V9FS_MAGIC): Likewise.
50506 (XENFS_SUPER_MAGIC): Likewise.
50507 (CRAMFS_MAGIC): Fix typo in comment.
50508 (EXT2_SUPER_MAGIC): Update comment.
50509 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50510
50511 2014-02-08 Joseph Myers <joseph@codesourcery.com>
50512
50513 * sysdeps/arm: Move directory from ports/sysdeps/arm.
50514 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50515 * sysdeps/unix/sysv/linux/arm: Move directory from
50516 ports/sysdeps/unix/sysv/linux/arm.
50517 * README: Update listing for arm-*-linux-gnueabi.
50518
50519 * README: Remove mention of am33.
50520
50521 2014-02-07 Roland McGrath <roland@hack.frob.com>
50522
50523 * bits/sigset.h (__sigemptyset): Use a statement expression rather
50524 than the comma operator, to avoid "rhs of comma has no effect"
50525 compiler warnings.
50526 (__sigfillset, __sigandset, __sigorset): Likewise.
50527 * include/signal.h (__sigemptyset): Likewise.
50528 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50529
50530 2014-02-07 Allan McRae <allan@archlinux.org>
50531
50532 * version.h (RELEASE): Set to "development".
50533 (VERSION): Set to "2.19.90"
50534 * NEWS: Add 2.20 section.
50535
50536 2014-02-06 Carlos O'Donell <carlos@redhat.com>
50537
50538 [BZ #16529]
50539 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50540
50541 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50542
50543 * manual/contrib.texi: Update entry for Carlos O'Donell,
50544 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50545
50546 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
50547
50548 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50549
50550 * sysdeps/unix/sysv/linux/kernel-features.h
50551 [__LINUX_KERNEL_VERSION >= 0x020621]
50552 (__ASSUME_PROC_PID_TASK_COMM): Define.
50553
50554 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50555
50556 [BZ #16398]
50557 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50558 conversion when destination buffer does not have enough space.
50559 * libio/tst-ftell-partial-wide.c: New test case.
50560 * libio/Makefile (tests): Add tst-ftell-partial-wide.
50561
50562 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50563 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
50564 Leonard and Allan McRae.
50565
50566 2014-02-04 David S. Miller <davem@davemloft.net>
50567
50568 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50569 32-bit.
50570
50571 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50572
50573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50574 New file
50575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50576 New file
50577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50578 New file.
50579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50580 New file.
50581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50582 New file.
50583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50584 New file.
50585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50586 New file.
50587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50588 New file.
50589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50590 New file.
50591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50592 New file.
50593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50594 New file.
50595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50596 New file.
50597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50598 New file.
50599
50600 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50601
50602 * nptl/shlib-versions: Change powerpc*le start to 2.17.
50603 * shlib-versions: Likewise.
50604
50605 2014-02-04 Roland McGrath <roland@hack.frob.com>
50606 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50607
50608 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50609 (abilist-pattern): New variable, set to %-le.abilist.
50610
50611 * Makerules (abilist-pattern): New variable.
50612 (vpath): Use $(abilist-pattern) in place of %.abilist.
50613 (check-abi-% pattern rule): Likewise.
50614 (check-abi, update-abi): Likewise.
50615
50616 2014-02-04 Eric Wong <normalperson@yhbt.net>
50617
50618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50619
50620 2014-02-03 Carlos O'Donell <carlos@redhat.com>
50621
50622 * manual/startup.texi: Add next, previous, and top entries for
50623 the `Program Arguments' and `Environment Variables' nodes.
50624
50625 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
50626
50627 * manual/macros.texi: Add comments before MTASC-safety macros.
50628
50629 * manual/users.texi: Document MTASC-safety properties.
50630
50631 * manual/threads.texi (pthread_key_create, pthread_key_delete)
50632 (pthread_getspecific, pthread_setspecific): Format with
50633 @deftypefun, and add @safety note.
50634 * manual/signal.texi: Move comments that analyze the above
50635 functions to their home place.
50636
50637 2014-02-03 Allan McRae <allan@archlinux.org>
50638
50639 * po/sl.po: Update Slovenian translation from translation project.
50640
50641 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
50642
50643 * manual/time.texi (timegm): Add missing blank after @c.
50644 Reported by Joseph Myers <joseph@codesourcery.com>.
50645
50646 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
50647
50648 * manual/check-safety.sh: New.
50649 * manual/Makefile ($(objpfx)stamp-summary): Run it.
50650
50651 * manual/terminal.texi: Document MTASC-safety properties.
50652
50653 * manual/filesys.texi: Document MTASC-safety properties.
50654
50655 * manual/errno.texi: Document MTASC-safety properties.
50656
50657 * manual/intro.texi: Document safety identifiers and
50658 conditionals.
50659
50660 * manual/string.texi (wcstok): Fix prototype.
50661 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50662
50663 * manual/time.texi: Document MTASC-safety properties.
50664
50665 * manual/string.texi: Document MTASC-safety properties.
50666
50667 * manual/threads.texi: Document MTASC-safety properties.
50668
50669 * manual/stdio.texi: Document MTASC-safety properties.
50670
50671 * manual/syslog.texi: Document MTASC-safety properties.
50672
50673 * manual/sysinfo.texi: Document MTASC-safety properties.
50674
50675 * manual/startup.texi: Document MTASC-safety properties.
50676
50677 * manual/socket.texi: Document MTASC-safety properties.
50678
50679 * manual/signal.texi: Document MTASC-safety properties.
50680
50681 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
50682
50683 * manual/setjmp.texi: Document MTASC-safety properties.
50684
50685 * manual/search.texi: Document MTASC-safety properties.
50686
50687 * manual/resource.texi: Document MTASC-safety properties.
50688
50689 * manual/process.texi: Document MTASC-safety properties.
50690
50691 * manual/platform.texi: Document MTASC-safety properties.
50692
50693 * manual/pipe.texi: Document MTASC-safety properties.
50694
50695 * manual/pattern.texi: Document MTASC-safety properties.
50696
50697 * manual/message.texi: Document MTASC-safety properties.
50698
50699 [BZ #12751]
50700 * manual/memory.texi: Document MTASC-safety properties.
50701
50702 * manual/math.texi: Document MTASC-safety properties.
50703
50704 * manual/locale.texi: Document MTASC-safety properties.
50705
50706 * manual/llio.texi: Document MTASC-safety properties.
50707
50708 * manual/libdl.texi: New.
50709
50710 * manual/lang.texi: Document MTASC-safety properties.
50711
50712 * manual/job.texi: Document MTASC-safety properties.
50713
50714 * manual/getopt.texi: Document MTASC-safety properties.
50715
50716 * manual/ctype.texi: Document MTASC-safety properties.
50717
50718 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
50719
50720 [BZ #16046]
50721 * csu/libc-tls.c (static_map): Remove variable.
50722 (__libc_setup_tls): Use main executable's link map for TLS data.
50723 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50724 casing for LM_ID_BASE and GL(dl_nns).
50725 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50726 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
50727 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50728 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50729 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50730 member.
50731 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50732 l_phnum members.
50733
50734 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
50735
50736 * manual/debug.texi: Document MTASC-safety properties.
50737
50738 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
50739
50740 [BZ #16510]
50741 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50742 of __x86_64__ when disabling x87 inline functions.
50743
50744 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
50745
50746 * manual/charset.texi: Document MTASC-safety properties.
50747
50748 * manual/crypt.texi: Document MTASC-safety properties.
50749
50750 * manual/conf.texi: Document MTASC-safety properties.
50751
50752 * manual/arith.texi: Document MTASC-safety properties.
50753
50754 * manual/argp.texi: Document MTASC-safety properties.
50755
50756 * manual/macros.texi: Introduce macros to document multi
50757 thread, asynchronous signal and asynchronous cancellation
50758 safety properties.
50759 * manual/intro.texi: Introduce the properties themselves.
50760
50761 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50762
50763 * sysdeps/sh/sh4/Makefile: New file.
50764
50765 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
50766
50767 * math/gen-libm-test.pl ($srcdir): New variable.
50768 ($auto_input): Use it.
50769
50770 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50771
50772 [BZ #16506]
50773 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50774 access beyond array bounds when parsing netgroups file.
50775
50776 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50777 the old buffer before realloc.
50778
50779 2014-01-27 Allan McRae <allan@archlinux.org>
50780
50781 * po/fr.po: Update French translation from translation project.
50782
50783 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50784
50785 * sysdeps/sh/libm-test-ulps: Regenerate.
50786
50787 2014-01-24 David S. Miller <davem@davemloft.net>
50788
50789 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50790
50791 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50792
50793 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50794 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50795
50796 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
50797
50798 [BZ #16474]
50799 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50800 string pointers after reallocation.
50801
50802 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50803
50804 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50805 __SH4A__ instead of __SH_FPU_ANY__.
50806
50807 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50808
50809 * sysdeps/sh/fpu_control.h: New file.
50810 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50811 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50812 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50813 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50814 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50815 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50816 * sysdeps/sh/sys/ucontext.h: Remove.
50817 * sysdeps/sh/sys: Remove directory.
50818
50819 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50820
50821 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50822 s390/sys/ucontext.h.
50823 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50824 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50825
50826 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
50827
50828 [BZ #15605]
50829 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50830
50831 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50832
50833 [BZ#16431]
50834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50835 Adjust the vDSO correctly for internal calls.
50836 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50837
50838 2014-01-20 Allan McRae <allan@archlinux.org>
50839
50840 * po/ca.po: Update Catalan translation from translation project.
50841
50842 2014-01-16 Mike Frysinger <vapier@gentoo.org>
50843
50844 * sysdeps/s390/sotruss-lib.c: New file.
50845
50846 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50847
50848 [BZ#16430]
50849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50850 (__GI___gettimeofday): Alias for a different internal symbol to avoid
50851 local calls issues by not having a PLT stub required for IFUNC calls.
50852 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50853
50854 2014-01-16 Joseph Myers <joseph@codesourcery.com>
50855
50856 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50857 * math/test-fpucw-static.c: Likewise.
50858
50859 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50860
50861 [BZ #16453]
50862 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50863
50864 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50865
50866 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50867 implementation for powerpc.
50868
50869 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
50870
50871 [BZ #14782]
50872 * sysdeps/posix/system.c (__libc_system): Do not enable
50873 asynchronous cancellation.
50874
50875 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50876
50877 [BZ #16427]
50878 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50879 handling only for numbers special also in the IEEE case.
50880
50881 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50882
50883 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50884
50885 2014-01-11 Allan McRae <allan@archlinux.org>
50886
50887 * po/bg.po: Update Bulgarian translation from translation project.
50888
50889 * po/de.po: Update German translation from translation project.
50890
50891 2014-01-10 Roland McGrath <roland@hack.frob.com>
50892
50893 * sysdeps/generic/gcc-compat.h: New file.
50894
50895 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50896
50897 * benchtests/asin-inputs: Correct slow inputs.
50898 * benchtests/acos-inputs: Likewise.
50899
50900 2014-01-10 Allan McRae <allan@archlinux.org>
50901
50902 * po:sv.po: Update Swedish translation from translation project.
50903
50904 * po/vi.po: Update Vietnamese translation from translation project.
50905
50906 * po/eo.po: Update Esperanto translation from translation project.
50907
50908 * po/cs.po: Update Czech translation from translation project.
50909
50910 * po/nl.po: Update Dutch translation from translation project.
50911
50912 * po/pl.po: Update Polish translation from translation project.
50913
50914 * po/ru.po: Update Russian translation from translation project.
50915
50916 * po/uk.po: Update Ukrainian translation from translation project.
50917
50918 2014-01-08 Brooks Moses <bmoses@google.com>
50919
50920 * elf/dl-load.c: Fix comment typo.
50921
50922 2014-01-08 Carlos O'Donell <carlos@redhat.com>
50923
50924 * po/header.pot: Rename to...
50925 * po/pot.header: ... this.
50926 * po/Makefile: Use pot.header.
50927
50928 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
50929 Maxim Kuvyrkov <maxim@kugelworks.com>
50930
50931 [BZ #16394]
50932 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50933 SRC and DEST against LEN.
50934
50935 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50936
50937 [BZ #16414]
50938 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50939 implementation.
50940 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50941
50942 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50943
50944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50945
50946 2014-01-08 Joseph Myers <joseph@codesourcery.com>
50947
50948 [BZ #16408]
50949 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50950 for large positive arguments.
50951
50952 2014-01-07 Joseph Myers <joseph@codesourcery.com>
50953
50954 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50955
50956 * math/auto-libm-test-in: Mark various tests with
50957 xfail-rounding:ldbl-128ibm.
50958 * math/auto-libm-test-out: Regenerated.
50959
50960 [BZ #16407]
50961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50962 Increase overflow threshold.
50963
50964 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
50965
50966 [BZ #14286]
50967 * stdio-common/vfprintf.c: Check for integer overflow.
50968
50969 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50970
50971 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50972 the first argument and return value of __tls_get_addr_internal.
50973
50974 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50975
50976 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50977 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50978
50979 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50980
50981 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50982 * sysdeps/s390/rtld-global-offsets.sym: New file.
50983 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50984 GLIBC_2.19 symbol.
50985 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50988 ... this.
50989 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50990 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50991 ... this.
50992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50993 Regenerate.
50994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50995 Regenerate.
50996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50997 halfs of GPRs for high_gprs contexts.
50998 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50999 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
51000 field.
51001 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51002 uc_flags field.
51003 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51004 64 bit versions:
51005 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51006 for high GPRs (uc_high_gprs) and for future extensions
51007 (__reserved).
51008 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51009 for future extensions (__reserved).
51010 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51011 64 bit versions:
51012 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51013 SC_HIGHGPRS offset definition.
51014 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51015 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51016
51017 * Versions.def: Add GLIBC_2.19 for libpthread.
51018 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51019 siglongjmp for libpthread with GLIBC_2.19 symver.
51020 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51021 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51022 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51023 * sysdeps/s390/__longjmp.c: New file.
51024 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51025 * sysdeps/s390/longjmp.c: New file.
51026 * sysdeps/s390/setjmp.S: New file.
51027 * sysdeps/s390/sigjmp.S: New file.
51028 * sysdeps/s390/v1-longjmp.c: New file.
51029 * sysdeps/s390/v1-setjmp.h: New file.
51030 * sysdeps/s390/v1-sigjmp.c: New file.
51031 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51032 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51033 GLIBC_2.19 version.
51034 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51035 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51036 versioned symbols for ____longjmp_chk.
51037 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51038 Likewise.
51039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51040 Regenerate.
51041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51042 Regenerate.
51043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51044 Regenerate.
51045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51046 Regenerate.
51047 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51048 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51049 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51050 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51051 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51052 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51053 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51054 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51055 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51056 * sysdeps/s390/rtld-__longjmp.c: New file.
51057 * sysdeps/s390/rtld-setjmp.S: New file.
51058
51059 2014-01-06 Joseph Myers <joseph@codesourcery.com>
51060
51061 [BZ #16400]
51062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51063 Return -__logl (x) for small positive arguments without evaluating
51064 a polynomial.
51065
51066 2014-01-06 Mike Frysinger <vapier@gentoo.org>
51067
51068 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51069 Rename to ...
51070 (__ptrace_peeksiginfo_args): ... this.
51071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51074
51075 2014-01-06 Allan McRae <allan@archlinux.org>
51076
51077 * inet/netinet/in.h: Fix typo in comment.
51078
51079 2014-01-05 Andreas Jaeger <aj@suse.de>
51080
51081 * sysdeps/i386/fpu/libm-test-ulps: Update.
51082
51083 2014-01-05 Allan McRae <allan@archlinux.org>
51084
51085 * po/libc.pot: Regenerated.
51086
51087 * malloc/memusagestat.c: Fix gettext call formatting.
51088
51089 2014-01-04 Sami Kerola <kerolasa@iki.fi>
51090
51091 * nscd/nscd.c: Improve usage() output.
51092
51093 2014-01-04 Mike Frysinger <vapier@gentoo.org>
51094
51095 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51096 * sysdeps/unix/sysv/linux/configure: Regenerated.
51097 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51098 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51099
51100 2014-01-03 Joseph Myers <joseph@codesourcery.com>
51101
51102 [BZ #16390]
51103 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51104 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51105
51106 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51107
51108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51109 extra tokens at end of #undef directive.
51110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51113
51114 2014-01-03 Joseph Myers <joseph@codesourcery.com>
51115
51116 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51117
51118 * math/auto-libm-test-in: Mark various tests with
51119 xfail-rounding:ldbl-128ibm.
51120 * math/auto-libm-test-out: Regenerated.
51121
51122 2014-01-02 Joseph Myers <joseph@codesourcery.com>
51123
51124 [BZ #16386]
51125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51126 numbers with subnormal high part when calculating exponent.
51127
51128 [BZ #16385]
51129 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51130 fabs.
51131
51132 [BZ #16384]
51133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51134 M_LN2l.
51135 (__ieee754_acoshl): Use __log1pl not __log1p.
51136
51137 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
51138
51139 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51140 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51141 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51142 (grow_heap, heap_trim, _int_new_arena, get_free_list)
51143 (reused_arena, arena_get2): Convert to GNU style.
51144 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51145 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51146 (memalign_check, __malloc_set_state): Likewise.
51147 * malloc/mallocbug.c (main): Likewise.
51148 * malloc/malloc.c (__malloc_assert, malloc_init_state)
51149 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51150 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51151 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51152 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51153 (__posix_memalign, malloc_info): Likewise.
51154 * malloc/malloc.h: Likewise.
51155 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51156 (mallochook, memalignhook, reallochook, mabort): Likewise.
51157 * malloc/mcheck.h: Likewise.
51158 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51159 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51160 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51161 * malloc/morecore.c (__default_morecore): Likewise.
51162 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51163 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51164 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51165 (print_and_abort): Likewise.
51166 * malloc/obstack.h: Likewise.
51167 * malloc/set-freeres.c (__libc_freeres): Likewise.
51168 * malloc/tst-mallocstate.c (main): Likewise.
51169 * malloc/tst-mtrace.c (main): Likewise.
51170 * malloc/tst-realloc.c (do_test): Likewise.
51171
51172 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51173
51174 [BZ #16366]
51175 * nscd/netgroupcache.c (do_notfound): New function.
51176 (addgetnetgrentX): Use it.
51177
51178 [BZ # 16365]
51179 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51180 NSS_STATUS_NOTFOUND.
51181
51182 2014-01-01 Joseph Myers <joseph@codesourcery.com>
51183
51184 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51186
51187 2014-01-01 Allan McRae <allan@archlinux.org>
51188
51189 * scripts/update-copyrights: Update configure input file suffix.
51190
51191 * NEWS: Update copyright year.
51192 * catgets/gencat.c: Likewise.
51193 * csu/version.c: Likewise.
51194 * debug/catchsegv.sh: Likewise.
51195 * debug/pcprofiledump.c: Likewise.
51196 * debug/xtrace.sh: Likewise.
51197 * elf/ldconfig.c: Likewise.
51198 * elf/ldd.bash.in: Likewise.
51199 * elf/pldd.c: Likewise.
51200 * elf/sotruss.ksh: Likewise.
51201 * elf/sprof.c: Likewise.
51202 * iconv/iconv_prog.c: Likewise.
51203 * iconv/iconvconfig.c: Likewise.
51204 * locale/programs/locale.c: Likewise.
51205 * locale/programs/localedef.c: Likewise.
51206 * login/programs/pt_chown.c: Likewise.
51207 * malloc/memusage.sh: Likewise.
51208 * malloc/memusagestat.c: Likewise.
51209 * malloc/mtrace.pl: Likewise.
51210 * manual/libc.texinfo: Likewise.
51211 * nscd/nscd.c: Likewise.
51212 * nss/getent.c: Likewise.
51213 * nss/makedb.c: Likewise.
51214 * posix/getconf.c: Likewise.
51215 * scripts/test-installation.pl: Likewise.
51216
51217 * All files with FSF copyright notices: Update copyright dates
51218 using scripts/update-copyrights.
51219 * intl/plural.c: Regenerated.
51220 * locale/programs/charmap-kw.h: Likewise.
51221 * locale/programs/locfile-kw.h: Likewise.
51222
51223 2013-12-31 Mike Frysinger <vapier@gentoo.org>
51224
51225 * sysdeps/unix/sysv/linux/configure: Regenerated.
51226 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51227 the linux/fanotify.h header.
51228 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51229 HAVE_LINUX_FANOTIFY_H is defined.
51230
51231 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51232
51233 * benchtests/cos-inputs: New inputs.
51234 * benchtests/sin-inputs: Likewise.
51235
51236 * benchtests/atan-inputs: New inputs. Fix name of multiple
51237 precision fallback inputs.
51238
51239 * benchtests/atanh-inputs: New inputs.
51240 * benchtests/tanh-inputs: Likewise.
51241
51242 * benchtests/acosh-inputs: New inputs.
51243 * benchtests/asinh-inputs: Likewise.
51244
51245 * benchtests/cosh-inputs: New inputs.
51246 * benchtests/sinh-inputs: Likewise.
51247
51248 * benchtests/acos-inputs: Add more inputs.
51249 * benchtests/asin-inputs: Likewise.
51250
51251 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
51252
51253 [BZ #16375]
51254 * manual/arith.texi: Fix spelling.
51255 * manual/charset.texi: Likewise.
51256 * manual/errno.texi: Likewise.
51257 * manual/filesys.texi: Likewise.
51258 * manual/lang.texi: Likewise.
51259 * manual/llio.texi: Likewise.
51260 * manual/locale.texi: Likewise.
51261 * manual/message.texi: Likewise.
51262 * manual/resource.texi: Likewise.
51263 * manual/search.texi: Likewise.
51264 * manual/setjmp.texi: Likewise.
51265 * manual/stdio.texi: Likewise.
51266 * manual/string.texi: Likewise.
51267 * manual/sysinfo.texi: Likewise.
51268 * manual/time.texi: Likewise.
51269
51270 2013-12-27 Carlos O'Donell <carlos@redhat.com>
51271
51272 * po/sl.po: New file.
51273
51274 2013-12-27 Mike Frysinger <vapier@gentoo.org>
51275
51276 * .gitignore: Add core/.gdbinit/.gdb_history.
51277
51278 2013-12-27 Allan McRae <allan@archlinux.org>
51279
51280 [BZ #16369]
51281 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51282 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51283
51284 2013-12-24 Brooks Moses <bmoses@google.com>
51285
51286 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51287 all compilers that claim C++98 compliance, not just GCC.
51288 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51289 Likewise.
51290
51291 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
51292
51293 * NEWS: Restore accidentally deleted bug-fix entries.
51294
51295 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
51296 Ondřej Bílka <neleai@seznam.cz>
51297
51298 [BZ #15073]
51299 * malloc/malloc.c (_int_free): Perform sanity check only if we
51300 have_lock.
51301
51302 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
51303
51304 [BZ #12986]
51305 * manual/stdio.texi (String Input Conversions): Clarify that character
51306 classes are not supported.
51307
51308 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51309
51310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51311
51312 2013-12-22 Joseph Myers <joseph@codesourcery.com>
51313
51314 [BZ #16337]
51315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51316 Calculate results for small negative arguments directly rather
51317 than using reflection formula with special underflow handling.
51318
51319 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51320 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51321 sysdeps/unix/bsd/bsd4.4/syscalls.list.
51322 (fchflags): Likewise.
51323 (revoke): Likewise.
51324 (setlogin): Likewise.
51325 (sigaltstack): Likewise.
51326 (wait4): Likewise.
51327 (sigblock): Remove.
51328 (sigsetmask): Likewise.
51329 (wait3): Likewise.
51330 (waitpid): Likewise.
51331 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51332 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51333 file.
51334 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51335 * sysdeps/unix/bsd/Makefile: ... here.
51336 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51337 * sysdeps/unix/bsd/Versions: ... here.
51338 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51339 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51340 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51341 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51342 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51343 * sysdeps/unix/bsd/sigblock.c: ... here.
51344 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51345 * sysdeps/unix/bsd/sigsetmask.c: ... here.
51346 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51347 * sysdeps/unix/bsd/sigvec.c: ... here.
51348 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51349 * sysdeps/unix/bsd/tcdrain.c: ... here.
51350 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51351 * sysdeps/unix/bsd/tcgetattr.c: ... here.
51352 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51353 * sysdeps/unix/bsd/tcsetattr.c: ... here.
51354 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51355 * sysdeps/unix/bsd/wait.c: ... here.
51356 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51357 * sysdeps/unix/bsd/wait3.c: ... here.
51358 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51359 * sysdeps/unix/bsd/waitpid.c: ... here.
51360
51361 2013-12-21 Joseph Myers <joseph@codesourcery.com>
51362
51363 [BZ #16356]
51364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51365 round-to-nearest for [!USE_AS_EXPM1L].
51366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51367 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
51368 more tests of exp and exp10. Expect some exp10 tests to miss
51369 exceptions or fail in directed rounding modes.
51370 * math/auto-libm-test-out: Regenerated.
51371 * math/libm-test.inc (exp10_tonearest_test_data): New array.
51372 (exp10_test_tonearest): New function.
51373 (exp10_towardzero_test_data): New array.
51374 (exp10_test_towardzero): New function.
51375 (exp10_downward_test_data): New array.
51376 (exp10_test_downward): New function.
51377 (exp10_upward_test_data): New array.
51378 (exp10_test_upward): New function.
51379 (main): Call the new functions.
51380 * sysdeps/i386/fpu/libm-test-ulps: Update.
51381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51382
51383 2013-12-20 Joseph Myers <joseph@codesourcery.com>
51384
51385 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51386 asinh, atan, atan2, atanh, cbrt, cos and cosh.
51387 * math/auto-libm-test-out: Regenerated.
51388 * math/libm-test.inc (acosh_test_data): Add more tests.
51389 (atanh_test_data): Likewise.
51390 (ceil_test_data): Likewise.
51391 (copysign_test_data): Likewise.
51392 * sysdeps/i386/fpu/libm-test-ulps: Update.
51393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51394
51395 * timezone/checktab.awk: Update from tzcode 2013i.
51396 * timezone/private.h: Likewise.
51397 * timezone/scheck.c: Likewise.
51398 * timezone/tzfile.h: Likewise.
51399 * timezone/tzselect.ksh: Likewise.
51400 * timezone/zdump.c: Likewise.
51401 * timezone/zic.c: Likewise.
51402
51403 * math/auto-libm-test-in: Add tests of cpow.
51404 * math/auto-libm-test-out: Regenerated.
51405 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51406 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51407 mpc_cc_c.
51408 (func_calc_desc): Add mpc_cc_c union field.
51409 (test_functions): Add cpow.
51410 (special_fill_2pi): New function.
51411 (special_real_inputs): Add 2pi.
51412 (calc_generic_results): Handle mpc_cc_c.
51413 * sysdeps/i386/fpu/libm-test-ulps: Update.
51414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51415
51416 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51417 csqrt, ctan and ctanh.
51418 * math/auto-libm-test-out: Regenerated.
51419 * math/libm-test.inc (TEST_COND_x86_64): New macro.
51420 (TEST_COND_x86): Likewise.
51421 (ccos_test_data): Use AUTO_TESTS_c_c.
51422 (ccosh_test_data): Likewise.
51423 (cexp_test_data): Likewise.
51424 (clog_test_data): Likewise.
51425 (csqrt_test_data): Likewise.
51426 (ctan_test_data): Likewise.
51427 (ctan_tonearest_test_data): Likewise.
51428 (ctan_towardzero_test_data): Likewise.
51429 (ctan_downward_test_data): Likewise.
51430 (ctan_upward_test_data): Likewise.
51431 (ctanh_test_data): Likewise.
51432 (ctanh_tonearest_test_data): Likewise.
51433 (ctanh_towardzero_test_data): Likewise.
51434 (ctanh_downward_test_data): Likewise.
51435 (ctanh_upward_test_data): Likewise.
51436 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51437 mpc_c_c.
51438 (func_calc_desc): Add mpc_c_c union field.
51439 (FUNC_mpc_c_c): New macro.
51440 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51441 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51442 ctanh.
51443 (special_fill_min_subnorm_p120): New function.
51444 (special_real_inputs): Add min_subnorm_p120.
51445 (calc_generic_results): Handle mpc_c_c.
51446 * sysdeps/i386/fpu/libm-test-ulps: Update.
51447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51448
51449 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51450
51451 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51452 (do_sin_slow): New functions.
51453 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51454 (cslow2, csloww1, csloww2): Use the new functions.
51455
51456 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51457 Use M to change sign of result instead of X. Assume X is
51458 positive.
51459 (csloww1): Likewise.
51460 (__sin): Adjust.
51461 (__cos): Adjust.
51462
51463 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51464 arguments A and DA.
51465 (__sin): Adjust.
51466 (__cos): Likewise.
51467
51468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51469 (__cos): Likewise.
51470 (sloww1): Don't adjust sign of DX.
51471 (csloww1): Likewise.
51472 (sloww2): Use X directly and don't adjust sign of DX.
51473 (csloww2): Likewise.
51474
51475 2013-12-19 Joseph Myers <joseph@codesourcery.com>
51476
51477 * math/auto-libm-test-in: Add tests of cabs and carg.
51478 * math/auto-libm-test-out: Regenerated.
51479 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51480 (carg_test_data): Likewise.
51481 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51482 mpc_c_f.
51483 (func_calc_desc): Add mpc_c_f union field.
51484 (test_functions): Add cabs and carg.
51485 (calc_generic_results): Handle mpc_c_f.
51486
51487 * sysdeps/powerpc/powerpc32/libgcc-compat.S
51488 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51489 as a macro and a compat symbol.
51490 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51491 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51492 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51493 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51494 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51495 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51496 not use .hidden.
51497 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51498 Likewise.
51499 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51500 Likewise.
51501 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51502 Likewise.
51503 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51504 Likewise.
51505 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51506 Likewise.
51507 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51508 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51509 from GLIBC_2.3.2.
51510
51511 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51512
51513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51514
51515 2013-12-19 Joseph Myers <joseph@codesourcery.com>
51516
51517 * manual/texinfo.tex: Update to version 2013-11-26.10 with
51518 trailing whitespace removed.
51519 * scripts/config.guess: Update to version 2013-11-29.
51520 * scripts/config.sub: Update to version 2013-10-01.
51521
51522 * math/auto-libm-test-in: Add tests of sincos.
51523 * math/auto-libm-test-out: Regenerated.
51524 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51525 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51526 mpfr_f_11.
51527 (func_calc_desc): Add mpfr_f_11 union field.
51528 (test_functions): Add sincos.
51529 (calc_generic_results): Handle mpfr_f_11.
51530 * sysdeps/i386/fpu/libm-test-ulps: Update.
51531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51532
51533 2013-12-19 Andreas Schwab <schwab@suse.de>
51534
51535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51536 CALL_MCOUNT.
51537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51539 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51540
51541 2013-12-19 Joseph Myers <joseph@codesourcery.com>
51542
51543 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51544 * sysdeps/i386/fpu/libm-test-ulps: Update.
51545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51546
51547 [BZ #16293]
51548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51549 round-to-nearest mode when using frndint.
51550 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51551 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51552 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51553 Likewise.
51554 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
51555 sinh test to fail.
51556 * math/auto-libm-test-out: Regenerated.
51557 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51558 (TEST_COND_x86): Likewise.
51559 (expm1_tonearest_test_data): New array.
51560 (expm1_test_tonearest): New function.
51561 (expm1_towardzero_test_data): New array.
51562 (expm1_test_towardzero): New function.
51563 (expm1_downward_test_data): New array.
51564 (expm1_test_downward): New function.
51565 (expm1_upward_test_data): New array.
51566 (expm1_test_upward): New function.
51567 (main): Run the new test functions.
51568 * sysdeps/i386/fpu/libm-test-ulps: Update.
51569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51570
51571 * include/features.h: Update comment documenting feature test
51572 macros. Mention _DEFAULT_SOURCE in comment.
51573 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51574 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51575 _BSD_SOURCE and _SVID_SOURCE.
51576 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51577 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51578 !_SVID_SOURCE]: Likewise.
51579 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51580 (__USE_POSIX_IMPLICITLY): Define.
51581 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51582 (_POSIX_SOURCE): Undefine and redefine.
51583 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51584 (_POSIX_C_SOURCE): Likewise.
51585 * manual/creature.texi (_DEFAULT_SOURCE): Document.
51586 (Feature Test Macros): Update documentation of default features.
51587
51588 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51589
51590 * benchtests/Makefile: Add bench-strtok.
51591 * benchtests/bench-strtok.c: New file: strtok benchtest.
51592
51593 2013-12-19 Allan McRae <allan@archlinux.org>
51594
51595 * manual/install.texi: Suppress menu for plain text output.
51596 * INSTALL: Regenerated.
51597
51598 2013-12-18 Brooks Moses <bmoses@google.com>
51599
51600 [BZ #15846]
51601 * misc/getauxval.c: Include errno.h.
51602 (__getauxval): Set errno to ENOENT if the requested type is not
51603 found.
51604 * misc/sys/auxv.h (getauxval): Document that it may set errno;
51605 don't declare with __attribute_const__.
51606 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51607 * manual/startup.texi: Document that getauxval sets errno.
51608
51609 2013-12-18 Joseph Myers <joseph@codesourcery.com>
51610
51611 * math/auto-libm-test-in: Add tests of jn and yn.
51612 * math/auto-libm-test-out: Regenerated.
51613 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51614 (yn_test_data): Likewise.
51615 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51616 mpfr_if_f.
51617 (func_calc_desc): Add mpfr_if_f union field.
51618 (FUNC_mpfr_if_f): New macro.
51619 (test_functions): Add jn and yn.
51620 (calc_generic_results): Assert type of second input for
51621 mpfr_ff_f. Handle mpfr_if_f.
51622 (output_for_one_input_case): Disable all checking for arguments
51623 fitting floating-point types in case of an integer argument.
51624 * sysdeps/i386/fpu/libm-test-ulps: Update.
51625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51626
51627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51628 Don't expect fegetround reference in libm.so.
51629
51630 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51631
51632 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51633 $(config-cflags-nofma).
51634
51635 2013-12-18 Joseph Myers <joseph@codesourcery.com>
51636
51637 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51638 * math/auto-libm-test-out: Regenerated.
51639
51640 [BZ #16338]
51641 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51642 to determine exponent and adjust argument to have exponent of -1.
51643 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51644 log2.
51645 * math/auto-libm-test-out: Regenerated.
51646 * sysdeps/i386/fpu/libm-test-ulps: Update.
51647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51648
51649 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
51650
51651 * manual/probes.texi: Remove cases when per-thread arenas are
51652 disabled.
51653
51654 2013-12-18 Andreas Schwab <schwab@suse.de>
51655
51656 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51657 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51658 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51659 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51660 * sysdeps/i386/i686/multiarch/Makefile: Update.
51661 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51662
51663 2013-12-17 Joseph Myers <joseph@codesourcery.com>
51664
51665 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51666 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51667
51668 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
51669
51670 [BZ #15968]
51671 Support TZ transition times < 00:00:00.
51672 This is needed for version-3 tz-format files; it supports time
51673 stamps past 2037 for America/Godthab (the only entry in the tz
51674 database for which this change is relevant).
51675 * manual/time.texi (TZ Variable): Document transition times
51676 from -167:59:59 through -00:00:01.
51677 * time/tzset.c (tz_rule): Time of day is now signed.
51678 (__tzset_parse_tz): Parse negative time of day.
51679
51680 Document TZ transition times >= 25:00:00.
51681 * manual/time.texi (TZ Variable): Document transition times from
51682 25:00:00 through 167:59:59. These are already supported, and this
51683 support will help with version-3 tz-format files.
51684
51685 * manual/time.texi (TZ Variable): Modernize North America example
51686 to reflect current (i.e., 2007-and-later) daylight saving rules.
51687
51688 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51689
51690 2013-12-17 Joseph Myers <joseph@codesourcery.com>
51691
51692 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51693 * sysdeps/unix/bsd/bits/stat.h: Likewise.
51694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51696 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51697 * sysdeps/unix/bsd/bsdstat.h: Likewise.
51698 * sysdeps/unix/bsd/clock.c: Likewise.
51699 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51700 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51701 * sysdeps/unix/bsd/init-posix.c: Likewise.
51702 * sysdeps/unix/bsd/poll.c: Likewise.
51703 * sysdeps/unix/bsd/ptsname.c: Likewise.
51704 * sysdeps/unix/bsd/seekdir.c: Likewise.
51705 * sysdeps/unix/bsd/setegid.c: Likewise.
51706 * sysdeps/unix/bsd/seteuid.c: Likewise.
51707 * sysdeps/unix/bsd/setgid.c: Likewise.
51708 * sysdeps/unix/bsd/setrgid.c: Likewise.
51709 * sysdeps/unix/bsd/setruid.c: Likewise.
51710 * sysdeps/unix/bsd/setsid.c: Likewise.
51711 * sysdeps/unix/bsd/setuid.c: Likewise.
51712 * sysdeps/unix/bsd/sigaction.c: Likewise.
51713 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51714 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51715 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51716 * sysdeps/unix/bsd/telldir.c: Likewise.
51717 * sysdeps/unix/bsd/times.c: Likewise.
51718 * sysdeps/unix/bsd/usleep.c: Likewise.
51719
51720 * misc/Makefile (install-lib): Remove libbsd-compat.a.
51721 ($(objpfx)libbsd-compat.a): Remove rule.
51722
51723 * include/features.h (__FAVOR_BSD): Do not define.
51724 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51725 features conflicting with POSIX.
51726 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51727 (_BSD_SOURCE): Remove description of not being a subset of other
51728 feature test macros.
51729 * manual/job.texi (getpgrp): Do not document BSD version.
51730 (getpgid): Do not document by reference to BSD getpgrp.
51731 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51732 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51733 * signal/signal.h [__FAVOR_BSD]: Likewise.
51734 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51735 instead of making contents conditional on [__FAVOR_BSD].
51736 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51737
51738 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51739
51740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51741
51742 2013-12-17 Joseph Myers <joseph@codesourcery.com>
51743
51744 [BZ #16314]
51745 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51746 values below 2**-450, not 2**-500.
51747 * math/auto-libm-test-in: Don't allow spurious underflow from
51748 hypot.
51749 * math/auto-libm-test-out: Regenerated.
51750
51751 [BZ #16316]
51752 [BZ #16330]
51753 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51754 values of ha and hb and sort them after adjusting subnormal
51755 arguments.
51756 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51757 Likewise.
51758 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51759 values of ea and eb and sort them after adjusting subnormal
51760 arguments.
51761 * math/auto-libm-test-in: Do not expect some hypot tests of
51762 subnormals to fail. Add more hypot tests.
51763 * math/auto-libm-test-out: Regenerated.
51764
51765 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51766
51767 [BZ #13304]
51768 * sysdeps/sh/s_fma.c: New file.
51769 * sysdeps/sh/s_fmaf.c: New file.
51770 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
51771 version.
51772 * sysdeps/sh/Implies: Add sh/soft-fp.
51773
51774 2013-12-16 Roland McGrath <roland@hack.frob.com>
51775
51776 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
51777 level of indirection to members `objname', `errstring', `malloced'.
51778 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51779 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
51780 it as the __longjmp argument (just pass 1 instead).
51781 (_dl_catch_error): Initialize C with argument pointers and address of
51782 volatile local ERRCODE rather than copying values out of C at return.
51783
51784 2013-12-16 Joseph Myers <joseph@codesourcery.com>
51785
51786 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51787 * math/auto-libm-test-out: Regenerated.
51788 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51789 (hypot_test_data): Likewise.
51790 (pow_test_data): Likewise.
51791 (pow_tonearest_test_data): Likewise.
51792 * math/gen-auto-libm-tests.c (func_calc_method): Add value
51793 mpfr_ff_f.
51794 (func_calc_desc): Add mpfr_ff_f union field.
51795 (FUNC_mpfr_ff_f): New macro.
51796 (test_functions): Add atan2, hypot and pow.
51797 (special_fill_min): New function.
51798 (special_fill_minus_min): Likewise.
51799 (special_fill_min_subnorm): Likewise.
51800 (special_fill_minus_min_subnorm): Likewise.
51801 (special_real_inputs): Add min, -min, min_subnorm and
51802 -min_subnorm.
51803 (calc_generic_results): Handle mpfr_ff_f.
51804 * sysdeps/i386/fpu/libm-test-ulps: Update.
51805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51806
51807 2013-12-16 Will Newton <will.newton@linaro.org>
51808
51809 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51810 (Aligned Memory Blocks): Add documentation for aligned_alloc
51811 and suggest it as an alternative to posix_memalign.
51812 (Hooks for Malloc): Document __memalign_hook is also called
51813 for aligned_alloc. (Summary of Malloc): Add summary for
51814 aligned alloc. Document __memalign_hook is also called
51815 for aligned_alloc.
51816
51817 2013-12-16 Will Newton <will.newton@linaro.org>
51818
51819 * manual/memory.texi (Malloc Examples): Clarify default
51820 alignment documentation. Suggest posix_memalign rather
51821 than memalign or valloc.
51822 (Aligned Memory Blocks): Remove suggestion to use memalign
51823 or valloc. Remove obsolete comment about BSD.
51824 Document memalign errno values and mark the function obsolete.
51825 Document posix_memalign returned error codes. Mark valloc
51826 as obsolete. (Hooks for Malloc): __memalign_hook is also
51827 called for posix_memalign and valloc.
51828 (Summary of Malloc): Add posix_memalign to function summary.
51829 __memalign_hook is also called for posix_memalign and valloc.
51830
51831 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51832
51833 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51834 TAYLOR_SIN.
51835 (__sin): Adjust.
51836 (__cos): Likewise.
51837 (sloww): Use mynumber union. Expand ternary operator into
51838 if-else statements.
51839 (cslow): use mynumber union.
51840
51841 2013-12-16 Allan McRae <allan@archlinux.org>
51842
51843 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51844 * configure: Regenerated.
51845
51846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51847
51848 [BZ #14120]
51849 * configure.ac: Added --enable-maintainer-mode. Check for
51850 autoconf when enabled.
51851 * configure: Regenerated.
51852
51853 * nscd/nscd.service: New file.
51854 * nscd/nscd.tmpfiles: New file.
51855
51856 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
51857
51858 [BZ #12100]
51859 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51860 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51861 * sysdeps/x86_64/multiarch/strstr.c: ... here.
51862 (strstr): Add __strstr_sse2_unaligned ifunc.
51863 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51864 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51865 (strcasestr): Remove __strcasestr_sse42 ifunc.
51866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51869
51870 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51871
51872 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51873 * sysdeps/sh/bits/fenv.h: ... here.
51874 * sysdeps/sh/sh4/fpu/bits: Remove directory.
51875
51876 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51877
51878 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51879
51880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51881 hypotf multiarch implementations.
51882 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51885 multiarch hypot for PPC64.
51886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51889 multiarch hypotf for PPC64.
51890
51891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51892 modff multiarch implementations.
51893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51896 multiarch modf for PPC64.
51897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51900 multiarch modff for PPC64.
51901
51902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51903 and logl multiarch implementations.
51904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51907 multiarch logb for PPC64.
51908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51911 multiarch logb for PPC64.
51912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51915 multiarch logb for PPC64.
51916
51917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51918 isinff multiarch implementation.
51919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51920 file.
51921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51923 multiarch isinf for PPC64.
51924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51925 file.
51926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51927 multiarch isinff for PPC64.
51928
51929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51930 finitef multiarch implementation.
51931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51932 file.
51933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51935 multiarch finite for PPC64.
51936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51937 file.
51938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51939 multiarch finitef for PPC64.
51940
51941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51942 lrint multiarch implementation.
51943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51944 file.
51945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51947 multiarch llrint for PPC64.
51948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51949 multiarch lrint for PPC64.
51950
51951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51952 copysignf multiarch implementation.
51953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51954 file.
51955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51956 file.
51957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51958 multiarch copysign for PPC64.
51959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51960 multiarch copysignf for PPC64.
51961
51962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51963 multiarch implementation.
51964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51965 file.
51966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51967 file.
51968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51969 file.
51970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51971 file.
51972 multiarch llround for PPC64.
51973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51974 multiarch trunc for PPC64.
51975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51976 multiarch truncf for PPC64.
51977
51978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51979 multiarch implementation.
51980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51981 file.
51982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51983 file.
51984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51985 file.
51986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51987 file.
51988 multiarch llround for PPC64.
51989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51990 multiarch round for PPC64.
51991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51992 multiarch roundf for PPC64.
51993
51994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51995 multiarch implementation.
51996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51997 file.
51998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51999 file.
52000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52001 file.
52002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52003 file.
52004 multiarch llround for PPC64.
52005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52006 multiarch floor for PPC64.
52007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52008 multiarch floorf for PPC64.
52009
52010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52011 multiarch implementation.
52012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52013 file.
52014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52015 file.
52016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52017 file.
52018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52019 file.
52020 multiarch llround for PPC64.
52021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52022 multiarch ceil for PPC64.
52023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52024 multiarch ceilf for PPC64.
52025
52026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52027 multiarch implementation.
52028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52029 file.
52030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52031 file.
52032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52033 file.
52034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52035 multiarch llround for PPC64.
52036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52037 multiarch lround for PPC64.
52038
52039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52040 multiarch implementation.
52041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52044 file.
52045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52048 multiarch isnan for PPC64.
52049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52050 multiarch isnanf for PPC64.
52051
52052 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52053 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52054 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52055 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52056 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52058
52059 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52063
52064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52065 multiarch implementations.
52066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52067 (__libc_ifunc_impl_list): Likewise.
52068 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52071 multiarch stpcpy for PPC64.
52072
52073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52074 multiarch implementations.
52075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52076 (__libc_ifunc_impl_list): Likewise.
52077 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52078 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52079 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52080 multiarch strcpy for PPC64.
52081
52082 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52083 redefine function name.
52084 (_wordcopy_fwd_dest_aligned): Likewise.
52085 (_wordcopy_bwd_aligned): Likewise.
52086 (_wordcopy_bwd_dest_aligned): Likewise.
52087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52088 multiarch implementations.
52089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52090 (__libc_ifunc_impl_list): Likewise.
52091 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52092 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52093 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52094 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52095 multiarch wcscpy for PPC64.
52096
52097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52098 multiarch implementations.
52099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52100 (__libc_ifunc_impl_list): Likewise.
52101 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52102 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52103 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52105 multiarch wcscpy for PPC64.
52106
52107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52108 multiarch implementations.
52109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52110 (__libc_ifunc_impl_list): Likewise.
52111 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52112 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52113 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52114 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52115 multiarch wcsrchr for PPC64.
52116
52117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52118 multiarch implementations.
52119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52120 (__libc_ifunc_impl_list): Likewise.
52121 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52123 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52124 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52125 multiarch wcschr for PPC64.
52126
52127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52128 multiarch implementations.
52129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52130 (__libc_ifunc_impl_list): Likewise.
52131 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52133 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52134 multiarch strchrnul for PPC64.
52135
52136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52137 implementations.
52138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52139 (__libc_ifunc_impl_list): Likewise.
52140 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52141 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52142 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52143 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52144 strchr for PPC64.
52145
52146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52147 implementations.
52148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52149 (__libc_ifunc_impl_list): Likewise.
52150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52153 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52154 strncmp for PPC64.
52155
52156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52157 multiarch implementations.
52158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52159 (__libc_ifunc_impl_list): Likewise.
52160 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52161 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52162 strncasecmp for PPC64.
52163 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52164 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52165 multiarch strncasecmp_l for PPC64.
52166
52167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52168 multiarch implementations.
52169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52170 (__libc_ifunc_impl_list): Likewise.
52171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52173 multiarch strcasecmp for PPC64.
52174 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52175 file.
52176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52177 multiarch strcasecmp_l for PPC64.
52178
52179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52180 implementations.
52181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52182 (__libc_ifunc_impl_list): Likewise.
52183 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52184 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52185 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52186 strnlen for PPC64.
52187
52188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52189 implementations.
52190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52191 (__libc_ifunc_impl_list): Likewise.
52192 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52193 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52194 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52195 strlen for PPC64.
52196
52197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52198 implementations.
52199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52200 (__libc_ifunc_impl_list): Likewise.
52201 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52202 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52203 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52204 rawmemrchr for PPC64.
52205
52206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52207 implementation.
52208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52209 (__libc_ifunc_impl_list): Likewise.
52210 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52211 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52212 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52213 memrchr for PPC64.
52214
52215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52216 implementation.
52217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52218 (__libc_ifunc_impl_list): Likewise.
52219 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52220 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52221 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52222 memchr for PPC64.
52223
52224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52225 implementation.
52226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52227 (__libc_ifunc_impl_list): Likewise.
52228 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52230 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52231 mempcpy for PPC64.
52232
52233 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52234 avoid cretion of __bzero symbol.
52235 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52236 Likewise.
52237 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52238 Likewise.
52239 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52240 Likewise.
52241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52242 multiarch implementations.
52243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52244 (__libc_ifunc_impl_list): Likewise.
52245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52248 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52249 bzero for PPC32.
52250 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52251 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52252 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52253 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52254 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52255 memset for PPC64.
52256 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52257
52258 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52260 implementations.
52261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52262 (__libc_ifunc_impl_list): Likewise.
52263 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52266 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52267 memcmp for PPC64.
52268
52269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52270 multiarch for POWER/PPC64.
52271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52272 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52279 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52280 memcpy for PPC64.
52281
52282 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52283 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52284 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52285 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52286 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52287 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52288 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52289 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52290 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52291 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52292 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52293 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52294 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52295 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52296 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52304
52305 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52306
52307 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52308
52309 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
52310
52311 * benchtests/Makefile (bench): Add exp2 and log2.
52312 (LDLIBS-bench-exp2): Add -lm.
52313 (LDLIBS-bench-log2): Likewise.
52314 * benchtests/exp2-inputs: New inputs file.
52315 * benchtests/log2-inputs: New inputs file.
52316 * benchtests/log-inputs: Add new inputs.
52317 * benchtests/tan-inputs: Likewise.
52318
52319 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52320
52321 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52322 definition...
52323 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52324 (csloww2): ... from here.
52325
52326 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52327 instead of structures.
52328 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52329 (POLYNOMIAL): Likewise.
52330 (TAYLOR_SLOW): Likewise.
52331 (__sin): Likewise.
52332 (__cos): Likewise.
52333 (slow1): Likewise.
52334 (slow2): Likewise.
52335 (sloww): Likewise.
52336 (sloww1); Likewise.
52337 (sloww2): Likewise.
52338 (bsloww1): Likewise.
52339 (bsloww2): Likewise.
52340 (cslow2): Likewise.
52341 (csloww): Likewise.
52342 (csloww1): Likewise.
52343 (csloww2): Likewise.
52344
52345 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
52346
52347 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52348 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52349 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52350 * malloc/hooks.c (realloc_check): Likewise.
52351
52352 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52353 * malloc/arena.c: Remove PER_THREAD conditional.
52354 [!PER_THREAD]: Remove code.
52355 (ptmalloc_unlock_all2): Likewise.
52356 (ptmalloc_init): Likewise.
52357 (_int_new_arena): Likewise.
52358 (arena_get2): Likewise.
52359 * malloc/hooks.c (__malloc_get_state): Likewise.
52360 (__malloc_set_state): Likewise.
52361 * malloc/malloc.c: Likewise.
52362 (struct malloc_state): Likewise.
52363 (struct malloc_par): Likewise.
52364 (__libc_realloc): Likewise.
52365 (__libc_mallopt): Likewise.
52366
52367 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52368
52369 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52370
52371 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
52372
52373 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52374 macro to a function. Check for zero perturb_byte.
52375 (_int_malloc, _int_free): Remove zero perturb_byte checks.
52376
52377 * malloc/malloc.c: (force_reg): Remove.
52378 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52379 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52380 force_reg by atomic_forced_read.
52381 * malloc/arena.c (ptmalloc_init): Likewise.
52382 * malloc/hooks.c (top_check): Likewise.
52383
52384 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52385
52386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52387
52388 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
52389
52390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52391
52392 2013-12-08 Joseph Myers <joseph@codesourcery.com>
52393
52394 * math/auto-libm-test-in: Add tests of lgamma.
52395 * math/auto-libm-test-out: Regenerated.
52396 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52397 (M_LOG_2_SQRT_PIl): Likewise.
52398 (lgamma_test_data): Use AUTO_TESTS_f_f1.
52399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
52400 mpfr_f_f1.
52401 (func_calc_desc): Add mpfr_f_f1 union field.
52402 (ARGS1): New macro.
52403 (ARGS2): Likewise.
52404 (ARGS3): Likewise.
52405 (ARGS4): Likewise.
52406 (RET1): Likewise.
52407 (RET2): Likewise.
52408 (CALC): Likewise.
52409 (FUNC): Likewise.
52410 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52411 (test_functions): Add lgamma.
52412 (calc_generic_results): Handle mpfr_f_f1.
52413 * sysdeps/i386/fpu/libm-test-ulps: Update.
52414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52415
52416 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52417
52418 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52419 __mpn_add_n for PowerPC64/POWER7.
52420 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52421 __mpn_sub_n for PowerPC64/POWER7.
52422
52423 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52424 __mpn_addmul_1 for PowerPC64.
52425 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52426 __mpn_submul_1 for PowerPC64.
52427 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52428 for PowerPC64.
52429 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52430 for PowerPC64.
52431
52432 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
52433
52434 [BZ #15089]
52435 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52436
52437 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52438
52439 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52440
52441 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52442 add multiarch folders.
52443 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52444 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52445 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52446 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52447 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52448 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52449 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52450 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52451 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52452 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52453 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52460
52461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52462 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52464 New file.
52465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52466 New file.
52467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52468 multiarch __ieee754_hypot for PowerPC32.
52469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52470 New file.
52471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52472 New file.
52473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52474 multiarch __ieee754_hypotf for PowerPC32.
52475
52476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52477 long_double_symbol only if __logbl is defined.
52478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52479 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52481 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52483 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52484 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52485 path for implementation.
52486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52489 logb, and logbl multiarch implementations for PowerPC32.
52490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52491 file.
52492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52493 file.
52494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52495 multiarch logb for PowerPC32.
52496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52497 file.
52498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52499 file.
52500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52501 multiarch logbf for PowerPC32.
52502 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52504 file.
52505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52506 multiarch logbl implementation for PowerPC32.
52507
52508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52509 and modff multiarch implementations.
52510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52511 New file.
52512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52513 New file.
52514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52515 multiarch modf for PowerPC32.
52516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52517 New file.
52518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52519 New file.
52520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52521 multiarch modff for PowerPC32.
52522
52523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52524 and lrintf multiarch implementations.
52525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52526 New file.
52527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52528 New file.
52529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52530 multiarch lrint for PowerPC32.
52531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52532 file: multiarch lrintf for PowerPC32.
52533
52534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52535 and lroundf multiarch implementations.
52536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52537 New file.
52538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52539 New file.
52540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52541 New file.
52542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52543 multiarch lround for PowerPC32.
52544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52545 file: multiarch lroundf for PowerPC32.
52546
52547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52548 copysign and copysignf multiarch implementations.
52549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52550 New file.
52551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52552 New file.
52553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52554 file: multiarch copysign for PowerPC32.
52555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52556 file: multiarch copysignf for PowerPC32.
52557
52558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52559 and truncf multiarch implementations.
52560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52561 New file.
52562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52563 file.
52564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52565 multiarch trunc for PowerPC32.
52566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52567 New file.
52568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52569 New file.
52570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52571 multiarch truncf for PowerPC32.
52572
52573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52574 and roundf multiarch implementations.
52575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52576 New file.
52577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52578 file.
52579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52580 multiarch round for PowerPC32.
52581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52582 New file.
52583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52584 New file.
52585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52586 multiarch roundf for PowerPC32.
52587
52588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52589 and floorf multiarch implementations.
52590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52591 New file.
52592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52593 file.
52594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52595 multiarch floor for PowerPC32.
52596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52597 New file.
52598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52599 New file.
52600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52601 multiarch floorf for PowerPC32.
52602
52603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52604 and ceilf multiarch implementations.
52605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52606 New file.
52607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52608 file.
52609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52610 multiarch ceil for PowerPC32.
52611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52612 New file.
52613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52614 file.
52615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52616 multiarch ceilf for PowerPC32.
52617
52618 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52619 is defined.
52620 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52621 FINITEF is defined.
52622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52623 and finitef multiarch implementations.
52624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52625 New file.
52626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52627 file.
52628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52629 multiarch finite for PowerPC32.
52630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52631 New file.
52632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52633 file: multiarch finitef for PowerPC32.
52634
52635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52636 and isinff multiarch implementations.
52637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52638 file.
52639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52640 file.
52641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52642 multiarch isinf for PowerPC32.
52643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52644 New file.
52645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52646 multiarch isinff for PowerPC32.
52647
52648 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52649 alias when __isnan is defined.
52650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52651 and isnanf multiarch implementations.
52652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52653 file.
52654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52655 file.
52656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52657 file.
52658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52659 file.
52660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52661 multiarch isnan for PowerPC32.
52662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52663 New file.
52664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52665 New file.
52666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52667 multiarch isnanf for PowerPC32.
52668
52669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52670 and sqrtf multiarch implementations.
52671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52672 file.
52673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52674 file.
52675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52676 multiarch sqrt for PowerPC32.
52677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52678 file.
52679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52680 file.
52681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52682 multiarch sqrtf for PowerPC32.
52683
52684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52685 and llroundf multiarch implementations.
52686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52687 New file.
52688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52689 New file.
52690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52691 New file.
52692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52693 file: multiarch llround for PowerPC32.
52694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52695 file: multiarch llroundf for PowerPC32.
52696
52697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52698 multiarch PowerPC32 fpu implementations.
52699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52700 New file.
52701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52702 New file.
52703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52704 multiarch llrint for PowerPC32.
52705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52706 New file.
52707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52708 New file.
52709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52710 file.
52711
52712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52713
52714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52715 file.
52716 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52717 file.
52718 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52719 file.
52720 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52721 multiarch wordcopy for PPC32.
52722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52723 wordcopy objects.
52724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52725 (__libc_ifunc_impl_list): Likewise.
52726 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52727 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52729 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52731 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52732
52733 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52735 file.
52736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52737 file.
52738 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52739 file.
52740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52741 multiarch wcscpy for PPC32.
52742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52743 multiarch objects.
52744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52745 (__libc_ifunc_impl_list): Likewise.
52746 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52747 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52748 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52749 sysdeps/powerpc/power6/wcscpy.c.
52750
52751 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52753 file.
52754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52755 file.
52756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52757 file.
52758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52759 multiarch wcsrchr for PPC32.
52760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52761 multiarch objects.
52762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52763 (__libc_ifunc_impl_list): Likewise.
52764 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52765 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52766 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52767 sysdeps/powerpc/power6/wcsrchr.c.
52768
52769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52770 file.
52771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52772 file.
52773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52775 multiarch wcschr for PPc32.
52776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52777 multiarch objects.
52778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52779 (__libc_ifunc_impl_list): Likewise.
52780 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52781 * sysdeps/powerpc/power6/wcschr.c: ... to here.
52782 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52783 sysdeps/powerpc/power6/wcschr.c.
52784
52785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52786 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52787 file.
52788 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52789 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52790 file: multiarch strchr for PPC32.
52791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52792 multiarch objects.
52793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52794 (__libc_ifunc_impl_list): Likewise.
52795
52796 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52797 name.
52798 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52799 file.
52800 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52801 file.
52802 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52803 multiarch strchrnul for PPC32.
52804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52805 multiarch objects.
52806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52807 (__libc_ifunc_impl_list): Likewise.
52808
52809 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52810 file.
52811 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52812 multiarch strncasecmp for PPC32.
52813 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52814 file.
52815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52816 multiarch strncasecmp_l for PPC32.
52817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52818 strncasecmp multiarch objects.
52819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52820 (__libc_ifunc_impl_list): Likewise.
52821
52822 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52823 file.
52824 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52825 multiarch strncasecmp for PPC32.
52826 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52827 New file.
52828 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52829 multiarch strcasecmp_l for PPC32.
52830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52831 multiarch objects.
52832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52833 (__libc_ifunc_impl_list): Likewise.
52834
52835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52836 file.
52837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52838 file.
52839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52840 multiarch strncmp for PPC32.
52841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52842 multiarch objects.
52843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52844 (__libc_ifunc_impl_list): Likewise.
52845
52846 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52847 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52848 file.
52849 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52850 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52852 multiarch objects.
52853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52854 (__libc_ifunc_impl_list): Likewise.
52855
52856 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52857 file.
52858 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52859 file.
52860 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52862 multiarch objects.
52863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52864 (__libc_ifunc_impl_list): Likewise.
52865
52866 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52867 file.
52868 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52869 file.
52870 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52871 multiarch rawmemchr for PPC32.
52872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52873 multiarch objects.
52874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52875 (__libc_ifunc_impl_list): Likewise.
52876
52877 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52878 file.
52879 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52880 file.
52881 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52882 file: memrchr multiarch for PPC32.
52883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52884 multiarch objects.
52885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52886 (__libc_ifunc_impl_list): Likewise.
52887
52888 * string/memchr.c (__memchr): Using macro to redefine symbol name.
52889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52890 file.
52891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52892 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52893 multiarch memchr for PPC32.
52894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52895 multiarch objects.
52896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52897 (__libc_ifunc_impl_list): Likewise.
52898
52899 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52900 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52901 file.
52902 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52903 file.
52904 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52905 file: multiarch mempcpy for PPC32.
52906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52907 multiarch objects.
52908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52909 (__libc_ifunc_impl_list): Likewise.
52910
52911 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52912 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52915 multiarch bzero for PPC32.
52916 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52917 file.
52918 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52919 file.
52920 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52921 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52922 file: multiarch memset for PPC32.
52923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52925 memset multiarch objects.
52926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52927 (__libc_ifunc_impl_list): Likewise.
52928
52929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52930 file.
52931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52933 memcmp for PPC32.
52934 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52936 multiarch objects.
52937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52938 (__libc_ifunc_impl_list): Likewise.
52939
52940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52943 file.
52944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52945 file.
52946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52947 file.
52948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52949 multiarch memcpy for PPC32.
52950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52951 multiarch objects.
52952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52953 (__libc_ifunc_impl_list): Likewise.
52954
52955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52956 support multiarch for POWER/PPC32.
52957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52958 Likewise.
52959 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52961 Implies file to make multiarch folder appers before the fpu and
52962 default folder for power4 configuration.
52963
52964 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
52965
52966 * scripts/bench.pl: Append volatile keyword to type.
52967
52968 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52969
52970 * sysdeps/sh/sotruss-lib.c: New file.
52971 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52972
52973 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52974
52975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52976
52977 2013-12-05 Joseph Myers <joseph@codesourcery.com>
52978
52979 [BZ #6810]
52980 * math/w_tgamma.c: Include <errno.h>.
52981 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
52982 * math/w_tgammaf.c: Include <errno.h>.
52983 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
52984 * math/w_tgammal.c: Include <errno.h>.
52985 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
52986 * math/auto-libm-test-in: Do not allow missing errno on tgamma
52987 underflow. Add more tgamma tests.
52988 * math/auto-libm-test-out: Regenerated.
52989 * sysdeps/i386/fpu/libm-test-ulps: Update.
52990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52991
52992 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52993 sin, sinh, tan, tanh, tgamma, y0 and y1.
52994 * math/auto-libm-test-out: Regenerated.
52995 * math/libm-test.inc (TEST_COND_x86_64): New macro.
52996 (TEST_COND_x86): Likewise.
52997 (M_E2l): Remove macro.
52998 (M_E3l): Likewise.
52999 (M_2_SQRT_PIl): Likewise.
53000 (M_SQRT_PIl): Likewise.
53001 (M_1_DIV_El): Likewise.
53002 (log_test_data): Use AUTO_TESTS_f_f.
53003 (log10_test_data): Likewise.
53004 (log1p_test_data): Likewise.
53005 (log2_test_data): Likewise.
53006 (sin_test_data): Likewise.
53007 (sin_tonearest_test_data): Likewise.
53008 (sin_towardzero_test_data): Likewise.
53009 (sin_downward_test_data): Likewise.
53010 (sin_upward_test_data): Likewise.
53011 (sinh_test_data): Likewise.
53012 (sinh_tonearest_test_data): Likewise.
53013 (sinh_towardzero_test_data): Likewise.
53014 (sinh_downward_test_data): Likewise.
53015 (sinh_upward_test_data): Likewise.
53016 (tan_test_data): Likewise.
53017 (tan_tonearest_test_data): Likewise.
53018 (tan_towardzero_test_data): Likewise.
53019 (tan_downward_test_data): Likewise.
53020 (tan_upward_test_data): Likewise.
53021 (tanh_test_data): Likewise.
53022 (tgamma_test_data): Likewise.
53023 (y0_test_data): Likewise.
53024 (y1_test_data): Likewise.
53025 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53026 (special_real_inputs): Add pi/4.
53027 * sysdeps/i386/fpu/libm-test-ulps: Update.
53028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53029
53030 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53031
53032 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53033 "longjmp_target" static probes.
53034 (__longjmp): Rename to __longjmp_symbol.
53035 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53036 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53037 on which longjmp to generate.
53038 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53039 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53040 probe.
53041 (__sigsetjmp): Rename to __sigsetjmp_symbol.
53042 (__sigjmp_save): Rename to __sigjmp_save_symbol.
53043 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53044 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53045 and __sigjmp_save_symbol based on which sigsetjmp to generated.
53046 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53048 __longjmp_symbol based on which __longjmp to generate.
53049 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53050 probe.
53051 (setjmp): Rename to setjmp_symbol.
53052 (__sigsetjmp): Rename to __sigsetjmp_symbol.
53053 (_setjmp): Rename to _setjmp_symbol.
53054 (__sigsetjmp): Rename to __sigsetjmp_symbol.
53055 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53056 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53057 which setjmp to generate.
53058 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53059 "longjmp_target" static probes.
53060
53061 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
53062
53063 * benchtests/README: Add note about output arguments.
53064 * benchtests/bench-sincos.c: Remove file.
53065 * benchtests/sincos-inputs: New file.
53066 * scripts/bench.pl: Identify output arguments and define
53067 static variables for them.
53068
53069 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53070
53071 [BZ #15941]
53072 * Makefile (INSTALL): Add install-plain.texi as the primary
53073 dependency.
53074 * manual/install-plain.texi: New file.
53075 * manual/install.texi: Include node directive only for
53076 non-plaintext output.
53077
53078 2013-12-04 Joseph Myers <joseph@codesourcery.com>
53079
53080 * stdlib/longlong.h: Update from GCC.
53081
53082 [BZ #6807]
53083 [BZ #15901]
53084 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53085 * math/w_j0f.c (y0f): Likewise.
53086 * math/w_j0l.c (__y0l): Likewise.
53087 * math/w_j1.c (y1): Likewise.
53088 * math/w_j1f.c (y1f): Likewise.
53089 * math/w_j1l.c (__y1l): Likewise.
53090 * math/w_jn.c (yn): Likewise.
53091 * math/w_jnf.c (ynf): Likewise.
53092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53093 Bessel function pole errors in _POSIX_ mode. Use NAN as return
53094 value for Bessel function domain errors outside _SVID_ mode.
53095 Adjust sign of return value for yn (negative integer, 0).
53096 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53097 by zero in return for negative x and set sign appropriately for
53098 negative n.
53099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53100 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53101 * math/libm-test.inc (y0_test_data): Add more tests and adjust
53102 expectations in error cases.
53103 (y1_test_data): Likewise.
53104 (yn_test_data): Likewise.
53105 * sysdeps/i386/fpu/libm-test-ulps: Update.
53106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53107
53108 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53109
53110 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53111 "64" to "64-v1". Add "64-v2".
53112 (abi-64-options): Rename to ...
53113 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
53114 (abi-64-condition): Rename to ...
53115 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
53116 (abi-64-ld-soname): Rename to ...
53117 (abi-64-v1-ld-soname): ... this.
53118 (abi-64-v2-options): Define.
53119 (abi-64-v2-condition): Likewise.
53120 (abi-64-v2-ld-soname): Likewise.
53121 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53122 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53126
53127 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53128 Alan Modra <amodra@gmail.com>
53129
53130 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53131 New versions for use with the ELFv2 ABI.
53132 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53133 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53134 declaration.
53135 (struct La_ppc64v2_retval): Likewise.
53136 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53137 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53138 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53139 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53140 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53141 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53142 Do not save or restore CR.
53143 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53144 (_dl_profile_resolve): Do no save or restore CR. Support extended
53145 return values for ELFv2 ABI. Fix location of FPR return registers.
53146 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53147 updated values for _CALL_ELF == 2.
53148 (La_regs, La_retval, int_retval): Likewise.
53149
53150 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53151
53152 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53153 (FRAME_MIN_SIZE_PARM): Likewise.
53154 (FRAME_BACKCHAIN): Likewise.
53155 (FRAME_CR_SAVE): Likewise.
53156 (FRAME_LR_SAVE): Likewise.
53157 (FRAME_TOC_SAVE): Likewise.
53158 (FRAME_PARM_SAVE): Likewise.
53159 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53160 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53161 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53162 (call_mcount_parm_offset): New macro.
53163 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53164 (PROF): Use symbolic stack frame offsets.
53165 (TAIL_CALL_SYSCALL_ERROR): Likewise.
53166 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53167 Redefine in terms of FRAME_MIN_SIZE.
53168 (_dl_runtime_resolve): Use symbolic stack frame offsets.
53169 (_dl_profile_resolve): Likewise. Update comment.
53170 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53171 symbols stack frame offsets.
53172 (__sigsetjmp): Likewise.
53173 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53174 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53175 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53176 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53177
53178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53179 (FRAME_BACKCHAIN): Remove.
53180 (FRAME_CR_SAVE): Likewise.
53181 (FRAME_LR_SAVE): Likewise.
53182 (FRAME_COMPILER_DW): Likewise.
53183 (FRAME_LINKER_DW): Likewise.
53184 (FRAME_TOC_SAVE): Likewise.
53185 (FRAME_PARM_SAVE): Likewise.
53186 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53187 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53188 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53190 (CHECK_SP): Use symbolic stack frame offsets.
53191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53192 zone" instead of caller's parameter save area for temp storage.
53193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53194 Likewise. Also, use symbolic stack frame offsets.
53195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53196 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53197 our own stack frame instead of the caller's.
53198 (__socket): Use symbolic stack frame offsets.
53199
53200 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53201 Alan Modra <amodra@gmail.com>
53202
53203 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53204 Define.
53205 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53206 (PPC64_LOCAL_ENTRY_OFFSET): Define.
53207 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53208 New function.
53209 (elf_machine_fixup_plt): Call it.
53210 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
53211 reloc arguments.
53212 (elf_machine_rela): Update call to elf_machine_plt_conflict.
53213 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53214 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53215 r2 before calling target.
53216
53217 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53218 Alan Modra <amodra@gmail.com>
53219
53220 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53221 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53222 versions of macros to support ELFv2 ABI.
53223 (LOCALENTRY): New macro.
53224 (ENTRY, EALIGN): Use it.
53225 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53226 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53227 fall through into ENTRY entry point.
53228 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53229 Only define if _CALL_ELF != 2.
53230
53231 (elf_machine_matches_host): Verify ABI version matches.
53232 (RTLD_START): Use LOCALENTRY.
53233 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53234 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53235 (PLT_ENTRY_WORDS): New macro.
53236 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53237 (elf_machine_runtime_setup): Support ELFv2 ABI.
53238 (elf_machine_fixup_plt): Likewise.
53239 (elf_machine_plt_conflict): Likewise.
53240 (resolve_ifunc): Likewise.
53241 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53243 Likewise.
53244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53245 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53247 (makecontext): Support ELFv2 ABI.
53248 * elf/elf.h (EF_PPC64_ABI): Define.
53249
53250 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53251
53252 * sysdeps/powerpc/powerpc64/sysdep.h
53253 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53254 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53255 (ENTRY) [ASSEMBLER]: ... but instead here ...
53256 (EALIGN) [ASSEMBLER]: ... and here.
53257 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53258 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53259 (ENTRY_2) [!ASSEMBLER]: Use it.
53260 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53261 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
53262 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53263 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53264 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53266 Use PPC64_LOAD_FUNCPTR.
53267
53268 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53269
53270 2013-12-04 Alan Modra <amodra@gmail.com>
53271
53272 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53273 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53274 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53275 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53276
53277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53278 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53279 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53280 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53281 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53282 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53283
53284 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
53285
53286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53287 (__makecontext): Fix incorrect CFI when backtracing out of
53288 context created via makecontext.
53289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53290 (__setcontext): Fix incorrect CFI during switch to new context.
53291 (__novec_setcontext): Likewise.
53292
53293 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
53294
53295 [BZ #4772]
53296 * time/strptime_l.c (__strptime_internal): Allow modifiers
53297 in strptime.
53298 * time/tst-strptime.c (day_tests): Add testcase.
53299
53300 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53301
53302 * scripts/bench.pl: Skip over blank lines.
53303
53304 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
53305
53306 [BZ #926]
53307 * manual/time.texi (Calendar Time): Clarify what timezone functions
53308 use.
53309
53310 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53311
53312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53313
53314 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
53315
53316 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53317 implementation.
53318 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53319 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53320 * debug/memset_chk.c (__memset_chk): Likewise.
53321 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53322 * debug/strncpy_chk.c: Likewise.
53323
53324 2013-12-03 Joseph Myers <joseph@codesourcery.com>
53325
53326 [BZ #15268]
53327 [BZ #15425]
53328 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53329 (__ieee754_exp): For possibly underflowing results, check size of
53330 result and force underflow exception if required.
53331 * math/auto-libm-test-in: Add more tests of exp.
53332 * math/auto-libm-test-out: Regenerated.
53333 * sysdeps/i386/fpu/libm-test-ulps: Update.
53334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53335
53336 [BZ #16283]
53337 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53338 * math/w_exp2f.c (__exp2f): Likewise.
53339 * math/w_exp2l.c (__exp2l): Likewise.
53340 * math/auto-libm-test-in: Do not allow missing errno on exp2
53341 underflow.
53342 * math/auto-libm-test-out: Regenerated.
53343
53344 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
53345
53346 [BZ #16274]
53347 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53348 handle filename validation.
53349 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53350 (do_open): Delete.
53351
53352 2013-12-03 Joseph Myers <joseph@codesourcery.com>
53353
53354 [BZ #6786]
53355 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53356 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53357 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53358 <float.h>.
53359 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53361 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53362 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53363 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53365 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53366 * math/auto-libm-test-in: Don't allow missing errno from erfc.
53367 Add more erfc tests.
53368 * math/auto-libm-test-out: Regenerated.
53369 * sysdeps/i386/fpu/libm-test-ulps: Update.
53370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53371
53372 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53373 exp2, expm1, j0 and j1.
53374 * math/auto-libm-test-out: Regenerated.
53375 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53376 (erfc_test_data): Likewise.
53377 (exp_test_data): Likewise.
53378 (exp_tonearest_test_data): Likewise.
53379 (exp_towardzero_test_data): Likewise.
53380 (exp_downward_test_data): Likewise.
53381 (exp_upward_test_data): Likewise.
53382 (exp10_test_data): Likewise.
53383 (exp2_test_data): Likewise.
53384 (expm1_test_data): Likewise.
53385 (j0_test_data): Likewise.
53386 (j1_test_data): Likewise.
53387 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53388 (input_flag_type): Add flag_xfail_rounding.
53389 (input_flags): Add xfail-rounding.
53390 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53391 (output_for_one_input_case): Handle flag_xfail_rounding.
53392 * sysdeps/i386/fpu/libm-test-ulps: Update.
53393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53394
53395 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
53396
53397 [BZ #16289]
53398 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53399 division by 0.
53400
53401 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53402
53403 [BZ #16195]
53404 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53405 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53406 (STAP_PROBE0): New macro.
53407 (STAP_PROBE1): Likewise.
53408 (STAP_PROBE2): Likewise.
53409 (STAP_PROBE3): Likewise.
53410 (STAP_PROBE4): Likewise.
53411
53412 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
53413
53414 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53415
53416 2013-12-02 Steve Ellcey <sellcey@mips.com>
53417
53418 * benchtests/Makefile (bench): Add sqrt.
53419 (LDLIBS-bench-sqrt): New.
53420 * benchtests/sqrt-input: New.
53421
53422 2013-12-02 Pavel Simerda <psimerda@redhat.com>
53423
53424 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53425 (GAIH_EAI): Likewise.
53426 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53427 (gaih_inet): Likewise.
53428 (getaddrinfo): Don't use GAIH_EAI.
53429
53430 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53431 (struct gaih): Remove definition.
53432
53433 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
53434
53435 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53436 Use HERRNOP directly.
53437
53438 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53439
53440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53441
53442 2013-11-30 Joseph Myers <joseph@codesourcery.com>
53443
53444 * math/gen-auto-libm-tests.c (test_functions): Add more
53445 single-argument functions.
53446 (special_fill_pi_2): New function.
53447 (special_fill_minus_pi_2): Likewise.
53448 (special_fill_pi_6): Likewise.
53449 (special_fill_minus_pi_6): Likewise.
53450 (special_fill_pi_3): Likewise.
53451 (special_fill_2pi_3): Likewise.
53452 (special_fill_e): Likewise.
53453 (special_fill_1_e): Likewise.
53454 (special_fill_e_minus_1): Likewise.
53455 (special_real_inputs): Add more special inputs.
53456 (output_for_one_input_case): Do not require ERANGE on underflow to
53457 zero if round-to-nearest result does not underflow to zero, unless
53458 exact results required.
53459 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53460 atan, atanh, cbrt, cos and cosh.
53461 * math/auto-libm-test-out: Regenerated.
53462 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53463 (acos_tonearest_test_data): Likewise.
53464 (acos_towardzero_test_data): Likewise.
53465 (acos_downward_test_data): Likewise.
53466 (acos_upward_test_data): Likewise.
53467 (acosh_test_data): Likewise.
53468 (asin_test_data): Likewise.
53469 (asin_tonearest_test_data): Likewise.
53470 (asin_towardzero_test_data): Likewise.
53471 (asin_upward_test_data): Likewise.
53472 (asinh_test_data): Likewise.
53473 (atan_test_data): Likewise.
53474 (atanh_test_data): Likewise.
53475 (cbrt_test_data): Likewise.
53476 (cos_test_data): Likewise.
53477 (cos_tonearest_test_data): Likewise.
53478 (cos_towardzero_test_data): Likewise.
53479 (cos_downward_test_data): Likewise.
53480 (cos_upward_test_data): Likewise.
53481 (cosh_test_data): Likewise.
53482 (cosh_tonearest_test_data): Likewise.
53483 (cosh_towardzero_test_data): Likewise.
53484 (cosh_downward_test_data): Likewise.
53485 (cosh_upward_test_data): Likewise.
53486 * sysdeps/i386/fpu/libm-test-ulps: Update.
53487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53488
53489 2013-11-29 Joseph Myers <joseph@codesourcery.com>
53490
53491 [BZ #6787]
53492 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53493 * math/w_exp10f.c (__exp10f): Likewise.
53494 * math/w_exp10l.c (__exp10l): Likewise.
53495 * math/libm-test.inc (exp10_test_data): Add more tests and expect
53496 errno settings in existing tests.
53497
53498 [BZ #14032]
53499 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53500 precision control set to double precision.
53501 * sysdeps/i386/fpu/w_sqrt.c: New file.
53502 * math/auto-libm-test-in: Add more tests.
53503 * math/auto-libm-test-out: Update.
53504
53505 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53506 (sqrt_test_tonearest): New function.
53507 (sqrt_towardzero_test_data): New variable.
53508 (sqrt_test_towardzero): New function.
53509 (sqrt_downward_test_data): New variable.
53510 (sqrt_test_downward): New function.
53511 (sqrt_upward_test_data): New variable.
53512 (sqrt_test_upward): New function.
53513 (main): Call the new functions.
53514
53515 * math/gen-auto-libm-tests.c: New file.
53516 * math/auto-libm-test-in: Likewise.
53517 * math/auto-libm-test-out: New generated file.
53518 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53519 variables.
53520 (%beautify): Add generated representations of zero.
53521 (top level): Set $auto_input and call parse_auto_input.
53522 (beautify): Remove trailing "f" from hex float constants.
53523 (parse_args): Handle XFAIL_TEST.
53524 (convert_condition): New function.
53525 (or_value): Likewise.
53526 (or_cond_value): Likewise.
53527 (generate_testfile): Handle AUTO_TESTS_* lines.
53528 (parse_auto_input): New function.
53529 * math/libm-test.inc (XFAIL_TEST): New macro.
53530 (ERRNO_UNCHANGED): Update value.
53531 (ERRNO_EDOM): Likewise.
53532 (ERRNO_ERANGE): Likewise.
53533 (IGNORE_RESULT): Likewise.
53534 (TEST_COND_flt_32): New macro.
53535 (TEST_COND_dbl_64): Likewise.
53536 (TEST_COND_ldbl_96_intel): Likewise.
53537 (TEST_COND_ldbl_96_m68k): Likewise.
53538 (TEST_COND_ldbl_128): Likewise.
53539 (TEST_COND_ldbl_128ibm): Likewise.
53540 (TEST_COND_long32): Likewise.
53541 (TEST_COND_long64): Likewise.
53542 (TEST_COND_before_rounding): Likewise.
53543 (TEST_COND_after_rounding): Likewise.
53544 (enable_test): Handle XFAIL_TEST flag.
53545 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53546 with finite results.
53547 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53548 auto-libm-test-out.
53549
53550 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53551 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53552
53553 [BZ #16214]
53554 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53555 __tls_get_addr_internal instead of __tls_get_offset in order to
53556 avoid GOT pointer dependency. Make rtld export
53557 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53558 __tls_get_addr since we are a __tls_get_offset platform.
53559 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53560 GOT pointer being set up before.
53561 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53562
53563 2013-11-28 Joseph Myers <joseph@codesourcery.com>
53564
53565 * manual/math.texi (Errors in Math Functions): Document accuracy
53566 goals.
53567
53568 [BZ #15004]
53569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53570 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53573 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53574 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53575 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53576 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53577 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53579 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53581 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53583 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53584 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53585
53586 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53587 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53588 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53589 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53590 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53591 Likewise.
53592 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53593 Likewise.
53594 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53595 Likewise.
53596 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53598 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53599 atomic-feupdateenv and flt-rounds.
53600 * sysdeps/powerpc/nofpu/Versions (libc): Add
53601 __atomic_feholdexcept, __atomic_feclearexcept,
53602 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53603 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53604 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53606 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53607 here.
53608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53609 Update.
53610
53611 * manual/arith.texi (FP Exceptions): Document that exceptions may
53612 not be raised when matherr is used.
53613 (Math Error Reporting): Document overflow in directed rounding
53614 modes. Document that errno may not be set when finite values are
53615 returned on overflow. Document intent to set errno on underflow
53616 only for underflow to zero.
53617
53618 [BZ #16271]
53619 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53620 round-to-nearest then adjust result for other rounding modes.
53621 * include/fenv.h (fegetround): Use libm_hidden_proto.
53622 * math/fegetround.c (fegetround): Use libm_hidden_def.
53623 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53624 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53625 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53626 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53627 Likewise.
53628 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53630 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53631 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53632
53633 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53634
53635 [BZ #16077]
53636 * nss/Versions (libnss_files): Add
53637 _nss_files_gethostbyname3_r.
53638 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53639 New function.
53640 (HOST_DB_LOOKUP): Remove macro.
53641 (_nss_files_gethostbyname_r): Implement function without the
53642 HOST_DB_LOOKUP macro.
53643 (_nss_files_gethostbyname2_r): Likewise.
53644
53645 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
53646
53647 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53648
53649 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
53650
53651 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53652 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53653 warning.
53654
53655 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53656
53657 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53658 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53659 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53660 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53661 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53662 __fe_nomask_env_priv and attribute_hidden.
53663 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53664 (libc_feupdateenv_test_ppc): Likewise.
53665 (libc_feresetround_ppc): Likewise.
53666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53667 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53668 compat_symbol macro.
53669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53670 (__fe_nomask_env): Likewise.
53671 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53672
53673 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
53674
53675 * string/Makefile: Remove ifunc tests.
53676 * string/test-string.h: Define TEST_IFUNC.
53677 * string/test-bcopy-ifunc.c: Remove.
53678 * string/test-bzero-ifunc.c: Likewise.
53679 * string/test-memccpy-ifunc.c: Likewise.
53680 * string/test-memchr-ifunc.c: Likewise.
53681 * string/test-memcmp-ifunc.c: Likewise.
53682 * string/test-memcpy-ifunc.c: Likewise.
53683 * string/test-memmem-ifunc.c: Likewise.
53684 * string/test-memmove-ifunc.c: Likewise.
53685 * string/test-mempcpy-ifunc.c: Likewise.
53686 * string/test-memrchr-ifunc.c: Likewise.
53687 * string/test-memset-ifunc.c: Likewise.
53688 * string/test-rawmemchr-ifunc.c: Likewise.
53689 * string/test-stpcpy-ifunc.c: Likewise.
53690 * string/test-stpncpy-ifunc.c: Likewise.
53691 * string/test-strcasecmp-ifunc.c: Likewise.
53692 * string/test-strcasestr-ifunc.c: Likewise.
53693 * string/test-strcat-ifunc.c: Likewise.
53694 * string/test-strchr-ifunc.c: Likewise.
53695 * string/test-strchrnul-ifunc.c: Likewise.
53696 * string/test-strcmp-ifunc.c: Likewise.
53697 * string/test-strcpy-ifunc.c: Likewise.
53698 * string/test-strcspn-ifunc.c: Likewise.
53699 * string/test-strlen-ifunc.c: Likewise.
53700 * string/test-strncasecmp-ifunc.c: Likewise.
53701 * string/test-strncat-ifunc.c: Likewise.
53702 * string/test-strncmp-ifunc.c: Likewise.
53703 * string/test-strncpy-ifunc.c: Likewise.
53704 * string/test-strnlen-ifunc.c: Likewise.
53705 * string/test-strpbrk-ifunc.c: Likewise.
53706 * string/test-strrchr-ifunc.c: Likewise.
53707 * string/test-strspn-ifunc.c: Likewise.
53708 * string/test-strstr-ifunc.c: Likewise.
53709
53710 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
53711
53712 * benchtests/Makefile: Remove ifunc tests.
53713 * benchtests/bench-string.h: Define TEST_IFUNC.
53714 * benchtests/bench-bcopy-ifunc.c: Remove.
53715 * benchtests/bench-bzero-ifunc.c: Likewise.
53716 * benchtests/bench-memccpy-ifunc.c: Likewise.
53717 * benchtests/bench-memchr-ifunc.c: Likewise.
53718 * benchtests/bench-memcmp-ifunc.c: Likewise.
53719 * benchtests/bench-memcpy-ifunc.c: Likewise.
53720 * benchtests/bench-memmem-ifunc.c: Likewise.
53721 * benchtests/bench-memmove-ifunc.c: Likewise.
53722 * benchtests/bench-mempcpy-ifunc.c: Likewise.
53723 * benchtests/bench-memrchr-ifunc.c: Likewise.
53724 * benchtests/bench-memset-ifunc.c: Likewise.
53725 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53726 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53727 * benchtests/bench-stpcpy-ifunc.c: Likewise.
53728 * benchtests/bench-stpncpy-ifunc.c: Likewise.
53729 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53730 * benchtests/bench-strcasestr-ifunc.c: Likewise.
53731 * benchtests/bench-strcat-ifunc.c: Likewise.
53732 * benchtests/bench-strchr-ifunc.c: Likewise.
53733 * benchtests/bench-strchrnul-ifunc.c: Likewise.
53734 * benchtests/bench-strcmp-ifunc.c: Likewise.
53735 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53736 * benchtests/bench-strcpy-ifunc.c: Likewise.
53737 * benchtests/bench-strcspn-ifunc.c: Likewise.
53738 * benchtests/bench-strlen-ifunc.c: Likewise.
53739 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53740 * benchtests/bench-strncat-ifunc.c: Likewise.
53741 * benchtests/bench-strncmp-ifunc.c: Likewise.
53742 * benchtests/bench-strncpy-ifunc.c: Likewise.
53743 * benchtests/bench-strnlen-ifunc.c: Likewise.
53744 * benchtests/bench-strpbrk-ifunc.c: Likewise.
53745 * benchtests/bench-strrchr-ifunc.c: Likewise.
53746 * benchtests/bench-strsep-ifunc.c: Likewise.
53747 * benchtests/bench-strspn-ifunc.c: Likewise.
53748 * benchtests/bench-strstr-ifunc.c: Likewise.
53749
53750 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
53751
53752 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53753
53754 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
53755
53756 * resolv/netdb.h: Use __glibc_reserved instead __unused.
53757 * rt/aio.h: Likewise.
53758 * sysdeps/gnu/bits/utmp.h: Likewise.
53759 * sysdeps/gnu/bits/utmpx.h: Likewise.
53760 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53761 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53762 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53763 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53764 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53765 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53766 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53767 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53768 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53769 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53770 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53771 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53772 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53774 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53775 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53776 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53777 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53778 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53779 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53780 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53781 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53782 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53783 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53784 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53786 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53787 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53788 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53789 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53790 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53791 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53792 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53793 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53794 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53795 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53796 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53797 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53798 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53799 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53800 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53801 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53802
53803 2013-11-25 Carlos O'Donell <carlos@redhat.com>
53804
53805 [BZ #16245]
53806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53807 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53808
53809 2013-11-25 Joseph Myers <joseph@codesourcery.com>
53810
53811 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53812 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53813 Likewise.
53814
53815 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53816
53817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53818 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53819 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53820 (__fesetround): Remove define.
53821 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53822 rounding and exceptions handling.
53823 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53824 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53825 (__fe_nomask_env): Likewise.
53826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53827 __fegetround instead of fegetround.
53828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53829 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53830
53831 2013-11-21 Roland McGrath <roland@hack.frob.com>
53832
53833 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53834 it's there.
53835
53836 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53837
53838 2013-11-21 Meador Inge <meadori@codesourcery.com>
53839
53840 [BZ #11157]
53841 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53842 (encrypt_r): Likewise.
53843 * malloc/obstack.h (obstack_free): Likewise.
53844 * posix/unistd.h (encrypt): Likewise.
53845
53846 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
53847
53848 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53849 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53850 DL_CALL_DT_FINI() that call the functions directly.
53851 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53852 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53853 * elf/dl-fini.c: Likewise.
53854
53855 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
53856
53857 * malloc/hooks.c (memalign_check): Add alignment rounding.
53858 * malloc/malloc.c (_mid_memalign): New function.
53859 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53860 Implement by calling _mid_memalign.
53861 * manual/probes.texi (Memory Allocation Probes): Remove
53862 memory_valloc_retry and memory_pvalloc_retry.
53863
53864 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53865
53866 * locale/programs/locarchive.c (open_archive): Add const
53867 qualifier to ARCHIVEFNAME and copy default fname to
53868 DEFAULT_FNAME.
53869
53870 [BZ #15601]
53871 * libio/tst-widetext.input: Rename Oriya to Odia.
53872 * locale/iso-639.def: Likewise.
53873
53874 * manual/probes.texi (Mathematical Function Probes): Add
53875 documentation for sin, cos, asin and acos probes.
53876 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53877 (__sin32): Add slowasin probe.
53878 (__cos32): Add slowacos probe.
53879 (__mpsin): Add slowsin probe.
53880 (__mpcos): Add slowcos probe.
53881
53882 2013-11-19 Joseph Myers <joseph@codesourcery.com>
53883
53884 [BZ #15483]
53885 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53886 thread-local __sim_exceptions_thread and global
53887 __sim_exceptions_global.
53888 (__sim_disabled_exceptions): Change to thread-local
53889 __sim_disabled_exceptions_thread and global
53890 __sim_disabled_exceptions_global.
53891 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53892 and global __sim_round_mode_global.
53893 (__simulate_exceptions): Use thread-local floating-point state and
53894 set global state from it as needed.
53895 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53896 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53897 __sim_round_mode_thread.
53898 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53899 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53900 and global __sim_exceptions_global.
53901 (__sim_disabled_exceptions): Change to thread-local
53902 __sim_disabled_exceptions_thread and global
53903 __sim_disabled_exceptions_global.
53904 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53905 and global __sim_round_mode_global.
53906 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53907 (SIM_SET_GLOBAL): Likewise.
53908 * sysdeps/powerpc/soft-fp/sfp-machine.h
53909 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53910 __sim_round_mode_thread.
53911 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53912 __sim_disabled_exceptions_thread.
53913 (__sim_exceptions): Change to __sim_exceptions_thread.
53914 (__sim_disabled_exceptions): Change to
53915 __sim_disabled_exceptions_thread.
53916 (__sim_round_mode): Change to __sim_round_mode_thread.
53917 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53918 thread-local floating-point state and set global state from it as
53919 needed.
53920 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53921 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53922 (__sim_disabled_exceptions): Remove extern declaration.
53923 (feenableexcept): Use thread-local floating-point state and set
53924 global state from it as needed.
53925 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53926 extern declaration.
53927 (__sim_disabled_exceptions): Likewise.
53928 (__sim_round_mode): Likewise.
53929 (__fegetenv): Use thread-local floating-point state.
53930 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53931 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53932 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53933 floating-point state and set global state from it as needed.
53934 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53935 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53936 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53937 Likewise.
53938 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53939 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53940 Likewise.
53941 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53942 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53943 Use __sim_round_mode_thread.
53944 * math/test-fenv-tls.c: New file.
53945 * math/Makefile (tests): Add test-fenv-tls.
53946 ($(objpfx)test-fenv-tls): Depend on
53947 $(common-objpfx)nptl/libpthread.so.
53948
53949 2013-11-19 Andreas Schwab <schwab@suse.de>
53950
53951 * locale/programs/locale.c (show_info): Decode wordarray elements.
53952 * locale/categories.def (LC_MONETARY): Add element for
53953 _NL_MONETARY_CRNCYSTR.
53954 * locale/C-monetary.c (conversion_rate): New variable.
53955 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53956 element.
53957
53958 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
53959
53960 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53961 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53962
53963 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53964
53965 * elf/Makefile (tst-auxv): New test.
53966 * elf/tst-auxv.c: New
53967 * elf/rtld.c (dl_main): Adjust AT_EXECFN
53968
53969 2013-11-18 Joseph Myers <joseph@codesourcery.com>
53970
53971 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53972 (hidden_proto): Caller changed.
53973 (hidden_tls_proto): New macro.
53974 (libc_hidden_tls_proto): Likewise.
53975 (rtld_hidden_tls_proto): Likewise.
53976 (libm_hidden_tls_proto): Likewise.
53977 (libresolv_hidden_tls_proto): Likewise.
53978 (librt_hidden_tls_proto): Likewise.
53979 (libdl_hidden_tls_proto): Likewise.
53980 (libnss_files_hidden_tls_proto): Likewise.
53981 (libnsl_hidden_tls_proto): Likewise.
53982 (libnss_nisplus_hidden_tls_proto): Likewise.
53983 (libutil_hidden_tls_proto): Likewise.
53984
53985 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
53986
53987 [BZ #10253]
53988 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53989 (decompose_rpath): Defer expansion to fillin_rpath.
53990 (_dl_init_paths): Pass linkmap to fillin_rpath.
53991
53992 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53993
53994 * benchtests/Makefile: Add strsep.
53995 * benchtests/bench-strsep.c: New file: strsep benchtest.
53996 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53997
53998 2013-11-18 Andreas Schwab <schwab@suse.de>
53999
54000 * locale/programs/locale.c (show_info) [case byte]: Check for
54001 '\377' instead of '\177'.
54002 * locale/C-monetary.c (not_available): Always use "\377".
54003 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54004 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
54005 detect unavailable sign_posn locale elements.
54006 * locale/localeconv.c (__localeconv): For grouping and
54007 mon_grouping handle "\177" and "\377" like no grouping.
54008 (INT_ELEM): New macro. Use it to set all numeric members.
54009 * locale/programs/ld-monetary.c (monetary_read)
54010 <tok_mon_grouping>: Normalize single -1 to the empty string.
54011 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54012 Likewise.
54013
54014 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
54015
54016 [BZ #16055]
54017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54018 when we match (nil).
54019 * stdio-common/tst-sscanf.c (struct test): Add testcase.
54020
54021 2013-11-16 Joseph Myers <joseph@codesourcery.com>
54022
54023 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54024 (NO_TEST_INLINE): Update value.
54025 (ERRNO_UNCHANGED): Likewise.
54026 (ERRNO_EDOM): Likewise.
54027 (ERRNO_ERANGE): Likewise.
54028 (IGNORE_RESULT): Likewise.
54029 (check_float_internal): Check signs of NaN results if
54030 TEST_NAN_SIGN used.
54031 (check_complex): Pass TEST_NAN_SIGN flag through to second
54032 check_float_internal call.
54033 (copysign_test_data): Add tests with quiet NaNs as second
54034 argument. Use TEST_NAN_SIGN.
54035 (fabs_test_data): Add test of negative quiet NaN argument. Use
54036 TEST_NAN_SIGN.
54037 (signbit_test_data): Add tests of quiet NaN argument.
54038 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54039
54040 * math/gen-libm-test.pl (show_exceptions): Take extra argument
54041 $ignore_result.
54042 (parse_args): Handle function results specified as IGNORE.
54043 * math/libm-test.inc (IGNORE_RESULT): New macro.
54044 (check_float_internal): Do not check numerical result if flag
54045 IGNORE_RESULT set.
54046 (check_complex): Pass through IGNORE_RESULT to second
54047 check_float_internal call.
54048 (check_int): Do not check numerical result if flag IGNORE_RESULT
54049 set.
54050 (check_long): Likewise.
54051 (check_bool): Likewise.
54052 (check_longlong): Likewise.
54053 (lrint_test_data): Add tests of infinite and NaN arguments.
54054 (lrint_tonearest_test_data): Likewise.
54055 (lrint_towardzero_test_data): Likewise.
54056 (lrint_downward_test_data): Likewise.
54057 (lrint_upward_test_data): Likewise.
54058 (llrint_test_data): Likewise.
54059 (llrint_tonearest_test_data): Likewise.
54060 (llrint_towardzero_test_data): Likewise.
54061 (llrint_downward_test_data): Likewise.
54062 (llrint_upward_test_data): Likewise.
54063 (lround_test_data): Likewise.
54064 (llround_test_data): Likewise.
54065
54066 * math/libm-test.inc (NO_TEST_INLINE): New macro.
54067 (ERRNO_UNCHANGED): Update value.
54068 (ERRNO_EDOM): Likewise.
54069 (ERRNO_ERANGE): Likewise.
54070 (NO_TEST_INLINE_FLOAT): New macro.
54071 (NO_TEST_INLINE_DOUBLE): Likewise.
54072 (enable_test): New function.
54073 (RUN_TEST_f_f): Check enable_test before running test.
54074 (RUN_TEST_2_f): Likewise.
54075 (RUN_TEST_fff_f): Likewise.
54076 (RUN_TEST_c_f): Likewise.
54077 (RUN_TEST_f_f1): Likewise.
54078 (RUN_TEST_fF_f1): Likewise.
54079 (RUN_TEST_fI_f1): Likewise.
54080 (RUN_TEST_ffI_f1): Likewise.
54081 (RUN_TEST_c_c): Likewise.
54082 (RUN_TEST_cc_c): Likewise.
54083 (RUN_TEST_f_i): Likewise.
54084 (RUN_TEST_f_i_tg): Likewise.
54085 (RUN_TEST_ff_i_tg): Likewise.
54086 (RUN_TEST_f_b): Likewise.
54087 (RUN_TEST_f_b_tg): Likewise.
54088 (RUN_TEST_f_l): Likewise.
54089 (RUN_TEST_f_L): Likewise.
54090 (RUN_TEST_fFF_11): Likewise.
54091 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54092 conditionals.
54093 (cosh_test_data): Likewise.
54094 (exp_test_data): Likewise.
54095 (expm1_test_data): Likewise.
54096 (hypot_test_data): Likewise.
54097 (pow_test_data): Likewise.
54098 (sinh_test_data): Likewise.
54099 (tanh_test_data): Likewise.
54100 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54101 flags argument.
54102
54103 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54104 tests with quiet NaN input and output.
54105 (acosh_test_data): Likewise.
54106 (asin_test_data): Likewise.
54107 (asinh_test_data): Likewise.
54108 (atan_test_data): Likewise.
54109 (atanh_test_data): Likewise.
54110 (atan2_test_data): Likewise.
54111 (cbrt_test_data): Likewise.
54112 (cos_test_data): Likewise.
54113 (cosh_test_data): Likewise.
54114 (erf_test_data): Likewise.
54115 (erfc_test_data): Likewise.
54116 (exp_test_data): Likewise.
54117 (exp10_test_data): Likewise.
54118 (exp2_test_data): Likewise.
54119 (expm1_test_data): Likewise.
54120 (hypot_test_data): Likewise.
54121 (j0_test_data): Likewise.
54122 (j1_test_data): Likewise.
54123 (jn_test_data): Likewise.
54124 (lgamma_test_data): Likewise.
54125 (log_test_data): Likewise.
54126 (log10_test_data): Likewise.
54127 (log1p_test_data): Likewise.
54128 (log2_test_data): Likewise.
54129 (pow_test_data): Likewise.
54130 (scalb_test_data): Likewise.
54131 (sin_test_data): Likewise.
54132 (sincos_test_data): Likewise.
54133 (sinh_test_data): Likewise.
54134 (tan_test_data): Likewise.
54135 (tanh_test_data): Likewise.
54136 (tgamma_test_data): Likewise.
54137 (y0_test_data): Likewise.
54138 (y1_test_data): Likewise.
54139 (yn_test_data): Likewise.
54140
54141 [BZ #16167]
54142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54143 argument being NaN and avoid computations with second argument in
54144 that case.
54145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54146 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54148
54149 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
54150
54151 * locale/iso-639.def: Add Chitwani Tharu (the).
54152
54153 2013-11-14 Andreas Schwab <schwab@suse.de>
54154
54155 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54156 word instead of empty string.
54157
54158 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54159
54160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54161 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54163 (__fe_nomask_env): Likewise.
54164
54165 2013-11-13 Steve Ellcey <sellcey@mips.com>
54166
54167 * benchtests/bench-timing.h: Include time.h.
54168
54169 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
54170
54171 [BZ #15997]
54172 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54173 to 3.4.0 for x32.
54174 * sysdeps/unix/sysv/linux/configure: Regenerated.
54175
54176 2013-11-13 Joseph Myers <joseph@codesourcery.com>
54177
54178 [BZ #16151]
54179 * stdlib/strtod_l.c (round_and_return): Do not consider
54180 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54181 exponent one less than half the least subnormal exponent.
54182 * stdlib/test-strtod-round-data: Add more tests.
54183 * stdlib/tst-strtod-round.c (tests): Regenerated.
54184
54185 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54186
54187 [BZ #14143]
54188 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54189 (__fe_mask_env): Likewise.
54190 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54191 libm_hidden_proto and add function prototype.
54192 (__fe_mask_env): Add function prototype.
54193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54194 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54196 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54198 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54199
54200 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54201
54202 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54203 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54204
54205 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54206
54207 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54208 of htab_find_slot().
54209
54210 2013-11-11 David S. Miller <davem@davemloft.net>
54211
54212 [BZ #16150]
54213 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54214 symbol in the non-vis3 case in static builds.
54215 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54216 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54217 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54219
54220 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
54221
54222 [BZ #387]
54223 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54224 it is empty.
54225
54226 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54227
54228 * benchtests/Makefile: Add bench-strtod.
54229 * benchtests/bench-strtod.c: New file: strtod benchtest
54230
54231 2013-11-11 Andreas Schwab <schwab@suse.de>
54232
54233 [BZ #16153]
54234 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54235 terminating NUL in key length.
54236
54237 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54238
54239 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54240 Add artificial ODP entry for vDSO symbol for PPC64.
54241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54242 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54243
54244 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
54245
54246 [BZ #15374]
54247 * nss/getent.c (services_keys): Recognize services starting with digit.
54248
54249 2013-11-06 David S. Miller <davem@davemloft.net>
54250
54251 [BZ #15985]
54252 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54253 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54254
54255 2013-11-06 Will Newton <will.newton@linaro.org>
54256
54257 * manual/memory.texi (Malloc Examples): Remove register
54258 keyword from examples.
54259
54260 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
54261
54262 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54263
54264 2013-11-04 Joseph Myers <joseph@codesourcery.com>
54265
54266 [BZ #6981]
54267 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54268 depending on [__GCC_IEC_559 > 0].
54269 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54270 depending on [__GCC_IEC_559_COMPLEX > 0].
54271
54272 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
54273
54274 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54275 to iso-639.def.
54276
54277 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
54278
54279 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54280
54281 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
54282
54283 [BZ #16112]
54284 * malloc/malloc (malloc_info): Do not handle first bin as
54285 special case.
54286
54287 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
54288
54289 * locale/iso-639.def: Add Central Nahuatl (nhn).
54290
54291 2013-11-01 Bruno Haible <bruno@clisp.org>
54292
54293 [BZ #7003]
54294 * manual/math.texi (BSD Random): Specify range upper bound as
54295 in POSIX.
54296
54297 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
54298
54299 * locale/iso-639.def: Add Meadow Mari (mhr).
54300
54301 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
54302
54303 [BZ #14752], [BZ #15763]
54304 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54305 Validate name.
54306 * rt/tst_shm.c: Add test for escaping directory.
54307
54308 2013-10-31 Andreas Schwab <schwab@suse.de>
54309
54310 [BZ #15917]
54311 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54312 followed by 'x' as part of digit sequence.
54313 * stdio-common/tst-sscanf.c (double_tests2): New tests.
54314
54315 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54316
54317 [BZ #16037]
54318 * configure.ac: allow GNU Make 4.0 and greater.
54319 * configure: Regenerated.
54320
54321 2013-10-30 Will Newton <will.newton@linaro.org>
54322
54323 [BZ #16038]
54324 * malloc/hooks.c (memalign_check): Limit alignment to the
54325 maximum representable power of two.
54326 * malloc/malloc.c (__libc_memalign): Likewise.
54327 * malloc/tst-memalign.c (do_test): Add test for very
54328 large alignment values.
54329 * malloc/tst-posix_memalign.c (do_test): Likewise.
54330
54331 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
54332
54333 [BZ #11087]
54334 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54335 (munmap_chunk): Likewise.
54336 (mremap_chunk): Likewise.
54337
54338 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
54339
54340 [BZ #15799]
54341 * stdlib/div.c (div): Remove obsolete code.
54342 * stdlib/ldiv.c (ldiv): Likewise.
54343 * stdlib/lldiv.c (lldiv): Likewise.
54344
54345 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54346
54347 [BZ #16071]
54348 * nss/nss_files/files-XXX.c (get_contents_ret): New
54349 enumerator.
54350 (get_contents): New function.
54351 (internal_getent): Use it. Expand size of LINEBUFLEN.
54352
54353 2013-10-30 Mike Frysinger <vapier@gentoo.org>
54354
54355 * configure.in: Moved to ...
54356 * configure.ac: ... here. Change reference to configure.in
54357 to configure.ac.
54358 * sysdeps/arm/preconfigure.ac: ... here.
54359 configure.in to configure.ac.
54360 * sysdeps/gnu/configure.in: Moved to ...
54361 * sysdeps/gnu/configure.ac: ... here.
54362 * sysdeps/i386/configure.in: Moved to ...
54363 * sysdeps/i386/configure.ac: ... here.
54364 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54365 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54366 * sysdeps/mach/configure.in: Moved to ...
54367 * sysdeps/mach/configure.ac: ... here.
54368 * sysdeps/mach/hurd/configure.in: Moved to ...
54369 * sysdeps/mach/hurd/configure.ac: ... here.
54370 * sysdeps/powerpc/configure.in: Moved to ...
54371 * sysdeps/powerpc/configure.ac: ... here.
54372 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54373 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54374 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54375 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54376 * sysdeps/s390/s390-32/configure.in: Moved to ...
54377 * sysdeps/s390/s390-32/configure.ac: ... here.
54378 * sysdeps/s390/s390-64/configure.in: Moved to ...
54379 * sysdeps/s390/s390-64/configure.ac: ... here.
54380 * sysdeps/sh/configure.in: Moved to ...
54381 * sysdeps/sh/configure.ac: ... here.
54382 * sysdeps/sparc/configure.in: Moved to ...
54383 * sysdeps/sparc/configure.ac: ... here.
54384 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54385 * sysdeps/unix/sysv/linux/configure.ac: ... here.
54386 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54387 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54388 * sysdeps/x86_64/configure.in: Moved to ...
54389 * sysdeps/x86_64/configure.ac: ... here.
54390 * sysdeps/x86_64/preconfigure.in: Moved to ...
54391 * sysdeps/x86_64/preconfigure.ac: ... here.
54392 * aclocal.m4: Change reference to configure.in to configure.ac.
54393 * config.h.in: Likewise.
54394 * manual/install.texi: Likewise.
54395 * manual/maint.texi: Likewise.
54396 * Makefile: Likewise.
54397 * malloc/Makefile: Likewise.
54398 * nscd/Makefile: Likewise.
54399 * Makeconfig: Change reference to configure.in and
54400 preconfigure.in to configure.ac and preconfigure.ac
54401 respectively.
54402 * INSTALL: Regenerated.
54403 * configure: Likewise.
54404 * sysdeps/gnu/configure: Likewise.
54405 * sysdeps/i386/configure: Likewise.
54406 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54407 * sysdeps/mach/configure: Likewise.
54408 * sysdeps/mach/hurd/configure: Likewise.
54409 * sysdeps/powerpc/configure: Likewise.
54410 * sysdeps/powerpc/powerpc32/configure: Likewise.
54411 * sysdeps/powerpc/powerpc64/configure: Likewise.
54412 * sysdeps/s390/s390-32/configure: Likewise.
54413 * sysdeps/s390/s390-64/configure: Likewise.
54414 * sysdeps/sh/configure: Likewise.
54415 * sysdeps/sparc/configure: Likewise.
54416 * sysdeps/unix/sysv/linux/configure: Likewise.
54417 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54418 * sysdeps/x86_64/configure: Likewise.
54419 * sysdeps/x86_64/preconfigure: Likewise.
54420
54421 2013-10-29 Andreas Schwab <schwab@suse.de>
54422
54423 * stdio-common/Makefile (tst-swscanf-ENV): Define.
54424
54425 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54426
54427 * benchtests/pow-inputs: Add new inputs.
54428
54429 * benchtests/exp-inputs: Add new inputs.
54430
54431 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54432 conditional check for return value.
54433 (__cos32): Likewise.
54434
54435 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54436
54437 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54438 to provide a boost for large inputs with word alignment.
54439 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54440 implementation based on optimized PPC64 strcpy.
54441 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54442 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54443 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54444 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54445
54446 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
54447
54448 [BZ #2801]
54449 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54450
54451 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
54452
54453 [BZ #14876]
54454 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54455 * time/tst-strptime.c (day_tests): Add testcase.
54456
54457 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
54458
54459 [BZ #14029]
54460 * manual/pattern.texi: Acknowledge that fnmatch can fail.
54461
54462 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
54463
54464 [BZ #16074]
54465 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54466 MAP_FAILED on error.
54467
54468 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54469
54470 [BZ #16072]
54471 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54472 heap for large requests.
54473
54474 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
54475
54476 [BZ #9954]
54477 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54478 result if the result has no associated interface.
54479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54480 interface for all 127.X.Y.Z addresses.
54481
54482 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
54483
54484 * locale/iso-639.def: Add Ligurian (lij)
54485
54486 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
54487
54488 [BZ #15825]
54489 * sunrpc/rpc_main.c: Document rpcgen -5.
54490
54491 2013-10-19 Michael Stahl <mstahl@redhat.com>
54492
54493 * elf/rtld.c (do_preload): Print the reason why preloading failed.
54494
54495 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
54496
54497 [BZ #10278]
54498 * posix/glob.c: Match only directories when trailing slash is present.
54499 * posix/tst-gnuglob.c (my_opendir): Do not open files.
54500 (main): Add testcase.
54501
54502 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
54503
54504 [BZ #15670]
54505 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54506
54507 2013-10-18 Carlos O'Donell <carlos@redhat.com>
54508
54509 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54510 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54511 AUTH_DES and cindex for FIPS 140-2.
54512 (DES Encryption): Add cindex FIPS 46-3.
54513
54514 * locale/locarchive.h (struct locarhandle): Add fname.
54515 * locale/programs/localedef.c (main): Pass ARGV[remaining]
54516 if an optional argument was specified to --list-archive,
54517 otherwise NULL.
54518 * locale/programs/locarchive.c (show_archive_content): Take new
54519 argument fname and pass it via ah.fname to open_archive.
54520 * locale/programs/localedef.h: Update decl.
54521 (open_archive): If AH->fname is non-null, open that file
54522 rather than the default file name, and don't ignore ENOENT.
54523 (create_archive): Set AH.fname to NULL.
54524 (delete_locales_from_archive): Likewise.
54525 (add_locales_to_archive): Likewise.
54526 * locale/programs/locfile.c (write_all_categories): Likewise.
54527
54528 2013-10-18 Joseph Myers <joseph@codesourcery.com>
54529 Aldy Hernandez <aldyh@redhat.com>
54530
54531 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54532 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54533 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54534 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54535 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54536 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54538 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54539 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54540 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54541 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54542 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54543 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54544 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54545 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54546 Likewise.
54547 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54548 Likewise.
54549 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54550 Likewise.
54551 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54552 Likewise.
54553 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54554 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54555 Likewise.
54556 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54557 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54558 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54559 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54560 Likewise.
54561 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54562 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54563 * sysdeps/powerpc/preconfigure: Likewise.
54564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54565 Likewise.
54566 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54567 Replace contents of file by #include of <fenv_libc.h>.
54568 * sysdeps/powerpc/soft-fp/sfp-machine.h
54569 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54570 and <sys/prctl.h>.
54571 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54584 Allow copysignl PLT reference to be missing.
54585
54586 2013-10-18 Richard Sandiford <richard@codesourcery.com>
54587 Joseph Myers <joseph@codesourcery.com
54588
54589 [BZ #15948]
54590 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54591 single character.
54592 (add_to_tablewc): Assert sequence of wide characters is nonempty.
54593
54594 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54595
54596 * elf/tst-tls-dlinfo.c: Don't include tls.h.
54597 * elf/tst-tls1.c: Likewise.
54598 * elf/tst-tls10.h: Likewise.
54599 * elf/tst-tls14.c: Likewise.
54600 * elf/tst-tls2.c: Likewise.
54601 * elf/tst-tls3.c: Likewise.
54602 * elf/tst-tls4.c: Likewise.
54603 * elf/tst-tls5.c: Likewise.
54604 * elf/tst-tls6.c: Likewise.
54605 * elf/tst-tls7.c: Likewise.
54606 * elf/tst-tls8.c: Likewise.
54607 * elf/tst-tls9.c: Likewise.
54608 * elf/tst-tlsmod1.c: Likewise.
54609 * elf/tst-tlsmod13.c: Likewise.
54610 * elf/tst-tlsmod13a.c: Likewise.
54611 * elf/tst-tlsmod14a.c: Likewise.
54612 * elf/tst-tlsmod16a.c: Likewise.
54613 * elf/tst-tlsmod16b.c: Likewise.
54614 * elf/tst-tlsmod2.c: Likewise.
54615 * elf/tst-tlsmod3.c: Likewise.
54616 * elf/tst-tlsmod4.c: Likewise.
54617 * elf/tst-tlsmod5.c: Likewise.
54618 * elf/tst-tlsmod6.c: Likewise.
54619
54620 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
54621
54622 [BZ #12486]
54623 * malloc/malloc.c: remove checks for statistics.
54624
54625 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
54626
54627 [BZ #15277]
54628 * inet/inet_net.c (inet_network): Detect additional invalid strings.
54629 * inet/tst-network.c: Add testcase.
54630
54631 2013-10-17 Andreas Schwab <schwab@suse.de>
54632
54633 [BZ #15218]
54634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54635 to determine canonical name.
54636
54637 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
54638
54639 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54640 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54642 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54644 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54646 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54647 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54649 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54651 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54652 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54653 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54654 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54656 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54657 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54658 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54662 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54663 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54665 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54666 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54668 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54669 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54671 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54672 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54673 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54674 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54675 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54676 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54677 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54679 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54680 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54681 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54682 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54683 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54686 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54687 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54688 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54689 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54690 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54691 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54692 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54694 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54697
54698 2013-10-17 Joseph Myers <joseph@codesourcery.com>
54699
54700 [BZ #16041]
54701 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54702 make result into a quiet NaN.
54703
54704 2013-10-16 Joseph Myers <joseph@codesourcery.com>
54705
54706 * soft-fp/adddf3.c: Fix horizontal whitespace.
54707 * soft-fp/addsf3.c: Likewise.
54708 * soft-fp/addtf3.c: Likewise.
54709 * soft-fp/divdf3.c: Likewise.
54710 * soft-fp/divsf3.c: Likewise.
54711 * soft-fp/divtf3.c: Likewise.
54712 * soft-fp/double.h: Likewise.
54713 * soft-fp/eqdf2.c: Likewise.
54714 * soft-fp/eqsf2.c: Likewise.
54715 * soft-fp/eqtf2.c: Likewise.
54716 * soft-fp/extenddftf2.c: Likewise.
54717 * soft-fp/extended.h: Likewise.
54718 * soft-fp/extendsfdf2.c: Likewise.
54719 * soft-fp/extendsftf2.c: Likewise.
54720 * soft-fp/extendxftf2.c: Likewise.
54721 * soft-fp/fixdfdi.c: Likewise.
54722 * soft-fp/fixdfsi.c: Likewise.
54723 * soft-fp/fixdfti.c: Likewise.
54724 * soft-fp/fixsfdi.c: Likewise.
54725 * soft-fp/fixsfsi.c: Likewise.
54726 * soft-fp/fixsfti.c: Likewise.
54727 * soft-fp/fixtfdi.c: Likewise.
54728 * soft-fp/fixtfsi.c: Likewise.
54729 * soft-fp/fixtfti.c: Likewise.
54730 * soft-fp/fixunsdfdi.c: Likewise.
54731 * soft-fp/fixunsdfsi.c: Likewise.
54732 * soft-fp/fixunsdfti.c: Likewise.
54733 * soft-fp/fixunssfdi.c: Likewise.
54734 * soft-fp/fixunssfsi.c: Likewise.
54735 * soft-fp/fixunssfti.c: Likewise.
54736 * soft-fp/fixunstfdi.c: Likewise.
54737 * soft-fp/fixunstfsi.c: Likewise.
54738 * soft-fp/fixunstfti.c: Likewise.
54739 * soft-fp/floatdidf.c: Likewise.
54740 * soft-fp/floatdisf.c: Likewise.
54741 * soft-fp/floatditf.c: Likewise.
54742 * soft-fp/floatsidf.c: Likewise.
54743 * soft-fp/floatsisf.c: Likewise.
54744 * soft-fp/floatsitf.c: Likewise.
54745 * soft-fp/floattidf.c: Likewise.
54746 * soft-fp/floattisf.c: Likewise.
54747 * soft-fp/floattitf.c: Likewise.
54748 * soft-fp/floatundidf.c: Likewise.
54749 * soft-fp/floatundisf.c: Likewise.
54750 * soft-fp/floatunditf.c: Likewise.
54751 * soft-fp/floatunsidf.c: Likewise.
54752 * soft-fp/floatunsisf.c: Likewise.
54753 * soft-fp/floatunsitf.c: Likewise.
54754 * soft-fp/floatuntidf.c: Likewise.
54755 * soft-fp/floatuntisf.c: Likewise.
54756 * soft-fp/floatuntitf.c: Likewise.
54757 * soft-fp/fmadf4.c: Likewise.
54758 * soft-fp/fmasf4.c: Likewise.
54759 * soft-fp/fmatf4.c: Likewise.
54760 * soft-fp/gedf2.c: Likewise.
54761 * soft-fp/gesf2.c: Likewise.
54762 * soft-fp/getf2.c: Likewise.
54763 * soft-fp/ledf2.c: Likewise.
54764 * soft-fp/lesf2.c: Likewise.
54765 * soft-fp/letf2.c: Likewise.
54766 * soft-fp/muldf3.c: Likewise.
54767 * soft-fp/mulsf3.c: Likewise.
54768 * soft-fp/multf3.c: Likewise.
54769 * soft-fp/negdf2.c: Likewise.
54770 * soft-fp/negsf2.c: Likewise.
54771 * soft-fp/negtf2.c: Likewise.
54772 * soft-fp/op-1.h: Likewise.
54773 * soft-fp/op-2.h: Likewise.
54774 * soft-fp/op-4.h: Likewise.
54775 * soft-fp/op-8.h: Likewise.
54776 * soft-fp/op-common.h: Likewise.
54777 * soft-fp/quad.h: Likewise.
54778 * soft-fp/single.h: Likewise.
54779 * soft-fp/soft-fp.h: Likewise.
54780 * soft-fp/sqrtdf2.c: Likewise.
54781 * soft-fp/sqrtsf2.c: Likewise.
54782 * soft-fp/sqrttf2.c: Likewise.
54783 * soft-fp/subdf3.c: Likewise.
54784 * soft-fp/subsf3.c: Likewise.
54785 * soft-fp/subtf3.c: Likewise.
54786 * soft-fp/truncdfsf2.c: Likewise.
54787 * soft-fp/trunctfdf2.c: Likewise.
54788 * soft-fp/trunctfsf2.c: Likewise.
54789 * soft-fp/trunctfxf2.c: Likewise.
54790 * soft-fp/unorddf2.c: Likewise.
54791 * soft-fp/unordsf2.c: Likewise.
54792 * soft-fp/unordtf2.c: Likewise.
54793
54794 2013-10-15 Joseph Myers <joseph@codesourcery.com>
54795
54796 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54797 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54798
54799 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
54800
54801 * elf/dl-libc.c: Clear initfini list after freeing.
54802
54803 2013-10-14 Joseph Myers <joseph@codesourcery.com>
54804
54805 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54806 * soft-fp/addsf3.c: Likewise.
54807 * soft-fp/addtf3.c: Likewise.
54808 * soft-fp/divdf3.c: Likewise.
54809 * soft-fp/divsf3.c: Likewise.
54810 * soft-fp/divtf3.c: Likewise.
54811 * soft-fp/double.h: Likewise.
54812 * soft-fp/eqdf2.c: Likewise.
54813 * soft-fp/eqsf2.c: Likewise.
54814 * soft-fp/eqtf2.c: Likewise.
54815 * soft-fp/extenddftf2.c: Likewise.
54816 * soft-fp/extended.h: Likewise.
54817 * soft-fp/extendsfdf2.c: Likewise.
54818 * soft-fp/extendsftf2.c: Likewise.
54819 * soft-fp/extendxftf2.c: Likewise.
54820 * soft-fp/fixdfdi.c: Likewise.
54821 * soft-fp/fixdfsi.c: Likewise.
54822 * soft-fp/fixdfti.c: Likewise.
54823 * soft-fp/fixsfdi.c: Likewise.
54824 * soft-fp/fixsfsi.c: Likewise.
54825 * soft-fp/fixsfti.c: Likewise.
54826 * soft-fp/fixtfdi.c: Likewise.
54827 * soft-fp/fixtfsi.c: Likewise.
54828 * soft-fp/fixtfti.c: Likewise.
54829 * soft-fp/fixunsdfdi.c: Likewise.
54830 * soft-fp/fixunsdfsi.c: Likewise.
54831 * soft-fp/fixunsdfti.c: Likewise.
54832 * soft-fp/fixunssfdi.c: Likewise.
54833 * soft-fp/fixunssfsi.c: Likewise.
54834 * soft-fp/fixunssfti.c: Likewise.
54835 * soft-fp/fixunstfdi.c: Likewise.
54836 * soft-fp/fixunstfsi.c: Likewise.
54837 * soft-fp/fixunstfti.c: Likewise.
54838 * soft-fp/floatdidf.c: Likewise.
54839 * soft-fp/floatdisf.c: Likewise.
54840 * soft-fp/floatditf.c: Likewise.
54841 * soft-fp/floatsidf.c: Likewise.
54842 * soft-fp/floatsisf.c: Likewise.
54843 * soft-fp/floatsitf.c: Likewise.
54844 * soft-fp/floattidf.c: Likewise.
54845 * soft-fp/floattisf.c: Likewise.
54846 * soft-fp/floattitf.c: Likewise.
54847 * soft-fp/floatundidf.c: Likewise.
54848 * soft-fp/floatundisf.c: Likewise.
54849 * soft-fp/floatunsidf.c: Likewise.
54850 * soft-fp/floatunsisf.c: Likewise.
54851 * soft-fp/floatuntidf.c: Likewise.
54852 * soft-fp/floatuntisf.c: Likewise.
54853 * soft-fp/floatuntitf.c: Likewise.
54854 * soft-fp/fmadf4.c: Likewise.
54855 * soft-fp/fmasf4.c: Likewise.
54856 * soft-fp/fmatf4.c: Likewise.
54857 * soft-fp/gedf2.c: Likewise.
54858 * soft-fp/gesf2.c: Likewise.
54859 * soft-fp/getf2.c: Likewise.
54860 * soft-fp/ledf2.c: Likewise.
54861 * soft-fp/lesf2.c: Likewise.
54862 * soft-fp/letf2.c: Likewise.
54863 * soft-fp/muldf3.c: Likewise.
54864 * soft-fp/mulsf3.c: Likewise.
54865 * soft-fp/multf3.c: Likewise.
54866 * soft-fp/negdf2.c: Likewise.
54867 * soft-fp/negsf2.c: Likewise.
54868 * soft-fp/negtf2.c: Likewise.
54869 * soft-fp/op-1.h: Likewise.
54870 * soft-fp/op-2.h: Likewise.
54871 * soft-fp/op-4.h: Likewise.
54872 * soft-fp/op-8.h: Likewise.
54873 * soft-fp/op-common.h: Likewise.
54874 * soft-fp/quad.h: Likewise.
54875 * soft-fp/single.h: Likewise.
54876 * soft-fp/soft-fp.h: Likewise.
54877 * soft-fp/sqrtdf2.c: Likewise.
54878 * soft-fp/sqrtsf2.c: Likewise.
54879 * soft-fp/sqrttf2.c: Likewise.
54880 * soft-fp/subdf3.c: Likewise.
54881 * soft-fp/subsf3.c: Likewise.
54882 * soft-fp/subtf3.c: Likewise.
54883 * soft-fp/truncdfsf2.c: Likewise.
54884 * soft-fp/trunctfdf2.c: Likewise.
54885 * soft-fp/trunctfsf2.c: Likewise.
54886 * soft-fp/trunctfxf2.c: Likewise.
54887 * soft-fp/unorddf2.c: Likewise.
54888 * soft-fp/unordsf2.c: Likewise.
54889 * soft-fp/unordtf2.c: Likewise.
54890
54891 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
54892
54893 [BZ #15672]
54894 * misc/error.c (error_tail): Fix possible buffer overflow.
54895
54896 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
54897
54898 [BZ #13028]
54899 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54900 address.
54901
54902 2013-10-14 P. J. McDermott <pj@pehjota.net>
54903
54904 [BZ #832]
54905 * elf/ldd.bash.in (try_trace): New function. Delete previous code
54906 testing pipefail option.
54907
54908 2013-10-12 Joseph Myers <joseph@codesourcery.com>
54909
54910 * soft-fp/double.h: Indent preprocessor directives inside #if.
54911 * soft-fp/extended.h: Likewise.
54912 * soft-fp/op-2.h: Likewise.
54913 * soft-fp/op-4.h: Likewise.
54914 * soft-fp/op-common.h: Likewise.
54915 * soft-fp/quad.h: Likewise.
54916 * soft-fp/single.h: Likewise.
54917 * soft-fp/soft-fp.h: Likewise.
54918
54919 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
54920
54921 * iconv/iconv_prog.c: Fix typos.
54922 * stdio-common/psiginfo-data.h: Likewise.
54923
54924 2013-10-12 Reuben Thomas <rrt@sc3d.org>
54925
54926 [BZ #15764]
54927 * locale/setlocale.c: Fix typo.
54928
54929 2013-10-12 Joseph Myers <joseph@codesourcery.com>
54930
54931 [BZ #16036]
54932 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54933 signaling NaN arguments.
54934 * soft-fp/unordsf2.c (__unordsf2): Likewise.
54935 * soft-fp/unordtf2.c (__unordtf2): Likewise.
54936
54937 [BZ #14910]
54938 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54939 unordered operands.
54940 * soft-fp/gesf2.c (__gesf2): Likewise.
54941 * soft-fp/getf2.c (__getf2): Likewise.
54942 * soft-fp/ledf2.c (__ledf2): Likewise.
54943 * soft-fp/lesf2.c (__lesf2): Likewise.
54944 * soft-fp/letf2.c (__letf2): Likewise.
54945
54946 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54947 * soft-fp/eqsf2.c (__eqsf2): Likewise.
54948 * soft-fp/eqtf2.c (__eqtf2): Likewise.
54949 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54950 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54951 * soft-fp/fixdfti.c (__fixdfti): Likewise.
54952 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54953 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54954 * soft-fp/fixsfti.c (__fixsfti): Likewise.
54955 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54956 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54957 * soft-fp/fixtfti.c (__fixtfti): Likewise.
54958 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54959 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54960 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54961 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54962 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54963 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54964 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54965 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54966 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54967 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54968 * soft-fp/floatdisf.c (__floatdisf): Likewise.
54969 * soft-fp/floatsisf.c (__floatsisf): Likewise.
54970 * soft-fp/floattidf.c (__floattidf): Likewise.
54971 * soft-fp/floattisf.c (__floattisf): Likewise.
54972 * soft-fp/floattitf.c (__floattitf): Likewise.
54973 * soft-fp/floatundidf.c (__floatundidf): Likewise.
54974 * soft-fp/floatundisf.c (__floatundisf): Likewise.
54975 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54976 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54977 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54978 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54979 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54980 * soft-fp/gesf2.c (__gesf2): Likewise.
54981 * soft-fp/getf2.c (__getf2): Likewise.
54982 * soft-fp/ledf2.c (__ledf2): Likewise.
54983 * soft-fp/lesf2.c (__lesf2): Likewise.
54984 * soft-fp/letf2.c (__letf2): Likewise.
54985
54986 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54987 Undefine and redefine.
54988 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54989 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54990 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54991 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54992 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54993 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54994 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54995 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54996 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54997 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54998 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54999 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55000 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55001 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55002 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55003
55004 [BZ #16032]
55005 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55006 without decrementing exponent if mantissa >= that for the
55007 denominator, not >.
55008 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55009 denominator, not >. Decrement exponent in < case instead of
55010 incrementing in >= case.
55011 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55012 without decrementing exponent if mantissa >= that for the
55013 denominator, not >.
55014
55015 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55016 computing saturated result for unsigned overflow.
55017
55018 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55019 Jeff Law <law@redhat.com>
55020
55021 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55022 (atan2Mp): Add systemtap probe marker.
55023 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55024 (__ieee754_log): Add systemtap probe marker.
55025 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55026 (atanMp): Add systemtap probe marker.
55027 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55028 (tanMp): Add systemtap probe marker.
55029 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55030 (__slowexp): Add systemtap probe marker.
55031 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55032 (__slowpow): Add systemtap probe marker.
55033 * manual/probes.texi: Document probes.
55034
55035 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
55036
55037 [BZ #15362]
55038 * libio/fileops.c (_IO_new_file_write): Return count of bytes
55039 written.
55040 (_IO_new_file_xsputn): Don't return EOF if nothing has been
55041 written.
55042 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55043 written to buffer but not flushed.
55044 * libio/iofwrite_u.c: Likewise.
55045 * libio/iopadn.c: Return bytes returned even if EOF was
55046 encountered.
55047 * libio/iowpadn.c: Likewise.
55048 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55049 if _IO_padn does not write the whole buffer.
55050 [!COMPILE_WPRINTF] (PAD): Likewise.
55051
55052 2013-10-10 David S. Miller <davem@davemloft.net>
55053
55054 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55055 directory block.
55056
55057 2013-10-10 Joseph Myers <joseph@codesourcery.com>
55058
55059 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
55060 instead of FSF address.
55061 * soft-fp/fixdfti.c: Likewise.
55062 * soft-fp/fixsfti.c: Likewise.
55063 * soft-fp/fixtfti.c: Likewise.
55064 * soft-fp/fixunsdfti.c: Likewise.
55065 * soft-fp/fixunssfti.c: Likewise.
55066 * soft-fp/fixunstfti.c: Likewise.
55067 * soft-fp/floattidf.c: Likewise.
55068 * soft-fp/floattisf.c: Likewise.
55069 * soft-fp/floattitf.c: Likewise.
55070 * soft-fp/floatuntidf.c: Likewise.
55071 * soft-fp/floatuntisf.c: Likewise.
55072 * soft-fp/floatuntitf.c: Likewise.
55073 * soft-fp/trunctfxf2.c: Likewise.
55074
55075 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
55076 * soft-fp/fixdfti.c: Likewise.
55077 * soft-fp/fixsfti.c: Likewise.
55078 * soft-fp/fixtfti.c: Likewise.
55079 * soft-fp/fixunsdfti.c: Likewise.
55080 * soft-fp/fixunssfti.c: Likewise.
55081 * soft-fp/fixunstfti.c: Likewise.
55082 * soft-fp/floattidf.c: Likewise.
55083 * soft-fp/floattisf.c: Likewise.
55084 * soft-fp/floattitf.c: Likewise.
55085 * soft-fp/floatuntidf.c: Likewise.
55086 * soft-fp/floatuntisf.c: Likewise.
55087 * soft-fp/floatuntitf.c: Likewise.
55088 * soft-fp/trunctfxf2.c: Likewise.
55089
55090 2013-10-10 David S. Miller <davem@davemloft.net>
55091
55092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55093
55094 2013-10-10 Joseph Myers <joseph@codsourcery.com>
55095
55096 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55097 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55098 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55099 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55100 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55101 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55102 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55103
55104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55105 for NaNs before doing comparisons on argument.
55106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55107 Likewise.
55108
55109 2013-10-10 Will Newton <will.newton@linaro.org>
55110
55111 * malloc/hooks.c (memalign_check): Ensure the value of bytes
55112 passed to _int_memalign does not overflow.
55113
55114 2013-10-10 Torvald Riegel <triegel@redhat.com>
55115
55116 * scripts/bench.pl: Add include-sources directive.
55117 * benchtests/README: Update documentation.
55118
55119 2013-10-10 Joseph Myers <joseph@codesourcery.com>
55120
55121 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55122 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55123 instead of FP_INIT_ROUNDMODE.
55124 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55125 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55126
55127 [BZ #16034]
55128 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
55129 copy class of input value.
55130 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
55131 not handle exceptions.
55132 * soft-fp/negsf2.c (__negsf2): Likewise.
55133 * soft-fp/negtf2.c (__negtf2): Likewise.
55134 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55135
55136 2013-10-09 Joseph Myers <joseph@codesourcery.com>
55137
55138 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55139 semicolon. From Linux kernel.
55140
55141 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
55142
55143 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55144
55145 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
55146
55147 [BZ #156]
55148 * manual/socket.texi: Added statement about buffer
55149 for gethostbyname2_r.
55150
55151 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
55152
55153 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55154 Use .p2align directive instead, throughout.
55155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55156 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55157 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55160 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55161 * sysdeps/x86_64/strchr.S: Likewise.
55162 * sysdeps/x86_64/strrchr.S: Likewise.
55163
55164 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
55165
55166 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55167
55168 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55169
55170 * sysdeps/generic/math_private.h (__mpsin1): Remove
55171 declaration.
55172 (__mpcos1): Likewise.
55173 (__mpsin): New argument __range_reduce.
55174 (__mpcos): Likewise.
55175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55176 (slow): Use __mpsin and __mpcos.
55177 (slow1): Likewise.
55178 (slow2): Likewise.
55179 (sloww): Likewise.
55180 (sloww1): Likewise.
55181 (sloww2): Likewise.
55182 (bsloww): Likewise.
55183 (bsloww1): Likewise.
55184 (bsloww2): Likewise.
55185 (cslow2): Likewise.
55186 (csloww): Likewise.
55187 (csloww1): Likewise.
55188 (csloww2): Likewise.
55189 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55190 range_reduce. Merge in __mpsin1.
55191 (__mpcos): Likewise.
55192 (__mpsin1): Remove.
55193 (__mpcos1): Likewise.
55194
55195 2013-10-07 Joseph Myers <joseph@codesourcery.com>
55196
55197 * locale/loadlocale.c (_nl_intern_locale_data): Use
55198 LOCFILE_ALIGNED_P.
55199 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55200 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55201 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55202 obstack data is appropriately aligned.
55203 (obstack_int32_grow_fast): Likewise.
55204 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55205 * locale/programs/locfile.c (add_locale_uint32): Likewise.
55206 (add_locale_uint32_array): Likewise.
55207
55208 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
55209
55210 * benchtests/Makefile: Remove ARGLIST and RET variables.
55211 ($(objpfx)bench-%.c): Pass only function name to the script.
55212 * benchtests/README: Update documentation.
55213 * benchtests/acos-inputs: Add new directives.
55214 * benchtests/acosh-inputs: Likewise.
55215 * benchtests/asin-inputs: Likewise.
55216 * benchtests/asinh-inputs: Likewise.
55217 * benchtests/atan-inputs: Likewise.
55218 * benchtests/atanh-inputs: Likewise.
55219 * benchtests/cos-inputs: Likewise.
55220 * benchtests/cosh-inputs: Likewise.
55221 * benchtests/exp-inputs: Likewise.
55222 * benchtests/log-inputs: Likewise.
55223 * benchtests/pow-inputs: Likewise.
55224 * benchtests/rint-inputs: Likewise.
55225 * benchtests/sin-inputs: Likewise.
55226 * benchtests/sinh-inputs: Likewise.
55227 * benchtests/tan-inputs: Likewise.
55228 * benchtests/tanh-inputs: Likewise.
55229 * scripts/bench.pl: Add support for new directives.
55230
55231 2013-10-07 Alan Modra <amodra@gmail.com>
55232
55233 * README: Fix careless merge.
55234
55235 2013-10-05 Alan Modra <amodra@gmail.com>
55236
55237 * NEWS: Mention powerpc64le support and bugs fixed.
55238 * README: Both big-endian and little-endian powerpc64 supported.
55239
55240 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
55241
55242 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55243 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55244 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55245 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55246
55247 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
55248
55249 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55250 match prototype.
55251
55252 2013-10-04 Joseph Myers <joseph@codesourcery.com>
55253
55254 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55255 Move -mhard-float appending from
55256 ports/sysdeps/powerpc/powerpc32/Makefile.
55257 [$(with-fp) = yes] (ASFLAGS): Likewise.
55258 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55259 * sysdeps/powerpc/nofpu: Move directory from
55260 ports/sysdeps/powerpc/nofpu.
55261 * sysdeps/powerpc/soft-fp: Move directory from
55262 ports/sysdeps/powerpc/soft-fp.
55263 * sysdeps/powerpc/powerpc32/405: Move directory from
55264 ports/sysdeps/powerpc/powerpc32/405.
55265 * sysdeps/powerpc/powerpc32/440: Move directory from
55266 ports/sysdeps/powerpc/powerpc32/440.
55267 * sysdeps/powerpc/powerpc32/464: Move directory from
55268 ports/sysdeps/powerpc/powerpc32/464.
55269 * sysdeps/powerpc/powerpc32/476: Move directory from
55270 ports/sysdeps/powerpc/powerpc32/476.
55271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55272 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55274 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55276 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55278 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55280 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55281 * README: Update for powerpc-*-linux-gnu software floating point
55282 support in libc.
55283
55284 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55285 case to powerpc/powerpc32*.
55286 * sysdeps/unix/sysv/linux/configure: Regenerated.
55287
55288 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55289 (_FPU_MASK_OM): Define as 0x04.
55290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55292 0x00c10080.
55293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55294 0x0000003c.
55295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55296
55297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55298 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55299 getcontext_e500.
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55301 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55302 setcontext_e500.
55303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55304 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55305 and setcontext_e500.
55306
55307 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
55308
55309 * locale/iso-3166.def: Update iso-1366.def and related occurrences
55310
55311 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55312
55313 * manual/threads.texi (Default Thread Attributes): Fix typo.
55314
55315 2013-10-04 Will Newton <will.newton@linaro.org>
55316
55317 * malloc/Makefile: Add tst-memalign.
55318 * malloc/tst-memalign.c: New file.
55319
55320 * malloc/tst-posix_memalign.c: Add comments.
55321 (do_test): Add comments and call free on all potentially
55322 allocated pointers. Add space after cast.
55323
55324 * malloc/tst-pvalloc.c: Add comments.
55325 (do_test): Add comments and call free on all potentially
55326 allocated pointers. Remove duplicate check for NULL pointer.
55327 Add space after cast.
55328
55329 * malloc/tst-valloc.c: Add comments.
55330 (do_test): Add comments and call free on all potentially
55331 allocated pointers. Remove duplicate check for NULL pointer.
55332 Add space after cast.
55333
55334 2013-10-04 Alan Modra <amodra@gmail.com>
55335
55336 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55337 Use stdint types in rather than __attribute__((mode())).
55338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55339
55340 2013-10-04 Alan Modra <amodra@gmail.com>
55341
55342 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55343 Correct handling of unaligned relocs for little-endian.
55344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55345
55346 2013-10-04 Alan Modra <amodra@gmail.com>
55347
55348 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55349 * configure: Regenerate.
55350 * nptl/shlib-versions: Powerpc*le starts at 2.18.
55351 * shlib-versions: Likewise.
55352
55353 2013-10-04 Alan Modra <amodra@gmail.com>
55354
55355 * string/tester.c (test_memrchr): Increment reported test cycle.
55356
55357 2013-10-04 Alan Modra <amodra@gmail.com>
55358
55359 * string/test-memcpy.c (do_one_test): When reporting errors, print
55360 string address and don't overrun end of string.
55361
55362 2013-10-04 Alan Modra <amodra@gmail.com>
55363
55364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55365 insrdi. Make better use of reg selection to speed exit slightly.
55366 Schedule entry path a little better. Remove useless "are we done"
55367 checks on entry to main loop. Handle wrapping around zero address.
55368 Correct main loop count. Handle single left-over word from main
55369 loop inline rather than by using loop_small. Remove extra word
55370 case in loop_small caused by wrong loop count. Add little-endian
55371 support.
55372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
55374 cache hint.
55375 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55376 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55377 support. Avoid rlwimi.
55378 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55379
55380 2013-10-04 Alan Modra <amodra@gmail.com>
55381
55382 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55383 insrdi. Formatting.
55384 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55385 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55386 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55387 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55388 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55389 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55390
55391 2013-10-04 Alan Modra <amodra@gmail.com>
55392
55393 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55395 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55396 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55397 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55398 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55399 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55400 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55401 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
55402 use of regs. Use power7 mtocrf. Tidy function tails.
55403
55404 2013-10-04 Alan Modra <amodra@gmail.com>
55405
55406 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55407 Formatting. Consistently use rXXX register defines or rN defines.
55408 Use early exit labels that avoid restoring unused non-volatile regs.
55409 Make cr field use more consistent with rWORDn compares. Rename
55410 regs used as shift registers for unaligned loop, using rN defines
55411 for short lifetime/multiple use regs.
55412 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55413 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
55414 addi 1,1,64 to pop stack frame. Simplify return value code.
55415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55416
55417 2013-10-04 Alan Modra <amodra@gmail.com>
55418
55419 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55420 support. Correct typos, formatting. Optimize tail. Use insrdi
55421 rather than rlwimi.
55422 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55424 little-endian support. Correct typos.
55425 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
55426 rather than rlwimi.
55427 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
55428 in loop and entry code to keep "and." results.
55429 (strchr): Add little-endian support. Comment. Move cntlzd
55430 earlier in tail.
55431 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55432
55433 2013-10-04 Alan Modra <amodra@gmail.com>
55434
55435 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55436 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55437 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55438 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55439
55440 2013-10-04 Alan Modra <amodra@gmail.com>
55441
55442 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55443 (rTMP): Define as r11.
55444 (strcmp): Add little-endian support. Optimise tail.
55445 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55446 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55447 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55448 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55449 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55452
55453 2013-10-04 Alan Modra <amodra@gmail.com>
55454
55455 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55456 little-endian support. Remove unnecessary "are we done" tests.
55457 Handle "s" wrapping around zero and extremely large "size".
55458 Correct main loop count. Handle single left-over word from main
55459 loop inline rather than by using small_loop. Correct comments.
55460 Delete "zero" tail, use "end_max" instead.
55461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55462
55463 2013-10-04 Alan Modra <amodra@gmail.com>
55464
55465 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55466 support. Don't branch over align.
55467 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55468 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55469 support. Rearrange tmp reg use to suit. Comment.
55470 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55471
55472 2013-10-04 Alan Modra <amodra@gmail.com>
55473
55474 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55475
55476 2013-10-04 Alan Modra <amodra@gmail.com>
55477
55478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55479 conditional form of branch and link when obtaining pc.
55480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55481
55482 2013-10-04 Alan Modra <amodra@gmail.com>
55483
55484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55485 HIWORD/LOWORD.
55486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55488
55489 2013-10-04 Alan Modra <amodra@gmail.com>
55490
55491 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55492 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55493 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55494 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55495 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55497 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55498 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55499 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55500 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55501
55502 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
55503 Alistair Popple <alistair@ozlabs.au.ibm.com>
55504 Alan Modra <amodra@gmail.com>
55505
55506 [BZ #15723]
55507 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55509 _dl_hwcap access for little-endian.
55510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
55511 destroy vmx regs when saving unaligned.
55512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55513 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
55514 destroy vmx regs when saving unaligned.
55515
55516 2013-10-04 Alan Modra <amodra@gmail.com>
55517
55518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55519 Don't use a union to pack hi/low value.
55520
55521 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
55522
55523 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55524 for little-endian.
55525 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55527 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55528 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55529 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55530
55531 2013-10-04 Alan Modra <amodra@gmail.com>
55532
55533 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55534 constants to usual value for .cst8 section, and remove redundant
55535 high address load.
55536 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55537 constant for 0x1p52. Load little-endian words of double from
55538 correct stack offsets.
55539
55540 2013-10-04 Alan Modra <amodra@gmail.com>
55541
55542 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55543 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55544 words of double from correct stack offsets.
55545 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55546 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55547 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55552 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55553 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55557 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55559 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55560 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55561 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55562
55563 2013-10-04 Alan Modra <amodra@gmail.com>
55564
55565 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55566 64-bit int/double union.
55567 (_FPU_SETCW): Likewise.
55568 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55569 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55570
55571 2013-10-04 Alan Modra <amodra@gmail.com>
55572
55573 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55574 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55575
55576 2013-10-04 Alan Modra <amodra@gmail.com>
55577
55578 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55579 use vector int constants.
55580 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55581
55582 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
55583
55584 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55585 array with long long.
55586 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55587 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55588 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55589 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55590 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55591 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55592 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55593 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55594 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55595 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55596 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55597 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55598 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55599
55600 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
55601
55602 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55603 (__signbit): Likewise. Correct for little-endian.
55604 (__signbitl): Call __signbit.
55605 (lrint): Correct for little-endian.
55606 (lrintf): Call lrint.
55607
55608 2013-10-04 Alan Modra <amodra@gmail.com>
55609
55610 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55611 union 32-bit int array member with 64-bit int array.
55612 (t515, tm256): Double rather than long double.
55613 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55614
55615 2013-10-04 Alan Modra <amodra@gmail.com>
55616
55617 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55618 Delete.
55619 (IEEE854_LONG_DOUBLE_BIAS): Delete.
55620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55621 version of math_ldbl.h.
55622
55623 2013-10-04 Alan Modra <amodra@gmail.com>
55624
55625 [BZ #15734], [BZ #15735]
55626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55627 all uses of ieee875 long double macros and unions. Simplify test
55628 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
55629 ldbl_extract_mantissa value for ix,iy exponents. Properly
55630 normalize after ldbl_extract_mantissa, and don't add hidden bit
55631 already handled. Don't treat low word of ieee854 mantissa like
55632 low word of IBM long double and mask off bit when testing for
55633 zero.
55634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55635 all uses of ieee875 long double macros and unions. Simplify tests
55636 for 0.0L and inf. Correct double adjustment of k. Delete dead code
55637 adjusting ha,hb. Simplify code setting kld. Delete two600 and
55638 two1022, instead use their values. Recognise that tests for large
55639 "a" and small "b" are mutually exclusive. Rename vars. Comment.
55640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55641 Rewrite all uses of ieee875 long double macros and unions. Simplify
55642 test for 0.0L and nan. Correct negation.
55643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55644 ieee875 long double macros and unions. Correct output for large
55645 magnitude x. Correct absolute value calculation.
55646 (__erfcl): Likewise.
55647 * math/libm-test.inc: Add tests for errors discovered in IBM long
55648 double versions of fmodl, remainderl, erfl and erfcl.
55649
55650 2013-10-04 Alan Modra <amodra@gmail.com>
55651
55652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55653 all uses of ieee854 long double macros and unions. Simplify tests
55654 for long doubles that are fully specified by the high double.
55655 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55656 Likewise.
55657 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55658 Remove dead code too.
55659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55660 (__ieee754_ynl): Likewise.
55661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55662 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55664 Remove dead code too.
55665 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55667 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55668 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55669 Simplify.
55670 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55671 Simplify.
55672 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55673 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55674 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55675 Comment on variable precision.
55676 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55677 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55678 Likewise.
55679 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55682 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55683 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55684
55685 2013-10-04 Alan Modra <amodra@gmail.com>
55686
55687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55689 all uses of ieee854 long double macros and unions.
55690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55696 Likewise.
55697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55700 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55703 Simplify sign and nan test too.
55704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55706 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55707 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55708 Likewise.
55709 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55710 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55711 Likewise.
55712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55713 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55714 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55715 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55718
55719 2013-10-04 Alan Modra <amodra@gmail.com>
55720
55721 * stdio-common/printf_size.c (__printf_size): Don't use
55722 union ieee854_long_double in fpnum union.
55723 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
55724 signbit macro to retrieve sign from long double.
55725 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55726 retrieve sign from long double.
55727 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55728 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55730 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55731 * math/test-misc.c (main): Don't use union ieee854_long_double.
55732
55733 2013-10-04 Alan Modra <amodra@gmail.com>
55734
55735 [BZ #15680]
55736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55738 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55739 calculation. Remove unnecessary test for denormal exponent.
55740 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55741 Correct handling of denormals. Avoid undefined shift behaviour.
55742 Correct normalisation of low mantissa when low double is denormal.
55743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55744 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
55745 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55746 Correct normalisation of low mantissa. Test for overflow of high
55747 mantissa and normalise.
55748 (ldbl_nearbyint): Use more readable constant for two52.
55749 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55750 (__mpn_construct_long_double): Fix test for overflow of high
55751 mantissa and correct normalisation. Avoid undefined shift.
55752
55753 2013-10-04 Alan Modra <amodra@gmail.com>
55754
55755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55756 (union ibm_extended_long_double): Define as an array of ieee754_double.
55757 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55758 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55759 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55760 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55767 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55768
55769 2013-10-03 Joseph Myers <joseph@codesourcery.com>
55770
55771 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55772 page size instead of calling getpagesize.
55773
55774 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55775 (LOCFILE_ALIGN_MASK): Likewise.
55776 (LOCFILE_ALIGN_UP): Likewise.
55777 (LOCFILE_ALIGNED_P): Likewise.
55778 * locale/programs/ld-collate.c (collate_output): Use the new
55779 macros instead of __alignof__ (int32_t).
55780 * locale/weight.h (findidx): Likewise.
55781
55782 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
55783
55784 [BZ #431]
55785 * manual/string.texi: Fix strncat and wcsncat.
55786
55787 2013-10-03 Brooks Moses <bmoses@google.com>
55788
55789 [BZ #15915]
55790 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55791 * Makerules: ...here, and adjust associated comments.
55792
55793 2013-10-02 Will Newton <will.newton@linaro.org>
55794
55795 * malloc/Makefile: Add tst-pvalloc.
55796 * malloc/tst-pvalloc.c: New file.
55797
55798 2013-10-02 Will Newton <will.newton@linaro.org>
55799
55800 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55801 improve test coverage.
55802
55803 2013-10-02 Will Newton <will.newton@linaro.org>
55804
55805 * malloc/Makefile: Add tst-posix_memalign.
55806 * malloc/tst-posix_memalign.c: New file.
55807
55808 2013-10-01 Eric Blake <eblake@redhat.com>
55809
55810 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55811 Use __THROWNL rather than __THROW on static functions.
55812
55813 2013-09-30 Petr Machata <pmachata@redhat.com>
55814
55815 * elf/elf.h (R_AARCH64_ABS16): New macro.
55816 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55817 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55818 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55819 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55820 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55821 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55822 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55823 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55824 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55825 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55826 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55827 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55828 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55829 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55830 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55831 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55832 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55833 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55834 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55835 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55836 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55837 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55838 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55839 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55840 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55841 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55842 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55843 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55844 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55845 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55846 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55847 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55848 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55849 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55850 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55851 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55852 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55853 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55854 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55855 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55856 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55857 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55858 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55859 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55860 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55861 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55862 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55863 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55864 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55865 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55866 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55867 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55868 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55869 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55870 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55871 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55872 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55873 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55874 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55875 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55876 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55877 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55878 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55879 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55880 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55881 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55882 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55883 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55884 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55885 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55886 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55887 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55888 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55889 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55890 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55891 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55892 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55893 (R_AARCH64_TLSDESC_LDR): Likewise.
55894 (R_AARCH64_TLSDESC_ADD): Likewise.
55895 (R_AARCH64_TLSDESC_CALL): Likewise.
55896
55897 2013-09-30 Andreas Schwab <schwab@suse.de>
55898
55899 [BZ #15048]
55900 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55901 the nss database lookup.
55902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55904
55905 2013-09-28 Mike Frysinger <vapier@gentoo.org>
55906
55907 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55908
55909 2013-09-28 P. J. McDermott <pj@pehjota.net>
55910
55911 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55912 ${Bash-specific parameter/pattern/string} parameter expansion.
55913 * sysdeps/unix/make-syscalls.sh: Likewise.
55914
55915 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55916
55917 * sysdeps/sh/stackguard-macros.h: New file.
55918
55919 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
55920
55921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55923 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55926 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55927
55928 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55929
55930 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55931 Fix thread ID register.
55932
55933 2013-09-25 Joseph Myers <joseph@codesourcery.com>
55934
55935 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55936 [POSIX || UNIX98]: Require rather than permitting all symbols from
55937 <time.h>.
55938 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55939 element of struct sched_param.
55940 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55941 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55942 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55943 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55944 constant.
55945
55946 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
55947
55948 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55949 argument calculation.
55950
55951 2013-09-24 Joseph Myers <joseph@codesourcery.com>
55952
55953 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55954 Expect macro.
55955 [POSIX] (pthread_attr_t): Do not require type.
55956 [POSIX] (pthread_cond_t): Likewise.
55957 [POSIX] (pthread_condattr_t): Likewise.
55958 [POSIX] (pthread_key_t): Likewise.
55959 [POSIX] (pthread_mutex_t): Likewise.
55960 [POSIX] (pthread_mutexattr_t): Likewise.
55961 [POSIX] (pthread_once_t): Likewise.
55962 [POSIX] (pthread_t): Likewise.
55963 [POSIX-based standards] (pthread_atfork): Expect function.
55964
55965 2013-09-24 Joseph Myers <joseph@codesourcery.com>
55966 Richard Sandiford <richard@codesourcery.com>
55967
55968 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55969 (swap_endianness_p): New extern variable.
55970 (set_big_endian): New inline function.
55971 (maybe_swap_uint32): Likewise.
55972 (maybe_swap_uint32_array): Likewise.
55973 (maybe_swap_uint32_obstack): Likewise.
55974 * locale/programs/locfile.c: Include <stdbool.h>.
55975 (swap_endianness_p): New variable.
55976 (add_locale_uint32): Call maybe_swap_uint32.
55977 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55978 (write_locale_data): Call maybe_swap_uint32_array.
55979 * locale/programs/ld-collate.c (obstack_int32_grow): Call
55980 maybe_swap_uint32.
55981 (obstack_int32_grow_fast): Likewise.
55982 (output_weightwc): Call maybe_swap_uint32_obstack.
55983 (collate_output): Likewise.
55984 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55985 (OPT_LITTLE_ENDIAN): Likewise.
55986 (options): Add --little-endian and --big-endian options.
55987 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55988 * locale/programs/locarchive.c: Include "locfile.h".
55989 (GET): New macro.
55990 (SET): Likewise.
55991 (INC): Likewise.
55992 (create_archive): Use the new macros to access fields of
55993 structures directly mapped from or written to locale archives.
55994 (oldlocrecentcmp): Likewise.
55995 (enlarge_archive): Likewise.
55996 (insert_name): Likewise.
55997 (add_alias): Likewise.
55998 (add_locale): Likewise.
55999 (delete_locales_from_archive): Likewise.
56000 (show_archive_content): Likewise.
56001 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
56002 locale data.
56003
56004 2013-09-24 Roland McGrath <roland@hack.frob.com>
56005
56006 * manual/freemanuals.texi: Updated from (newly) canonical copy at
56007 http://www.gnu.org/doc/freemanuals.texi.
56008 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56009
56010 2013-09-24 Will Newton <will.newton@linaro.org>
56011
56012 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56013 macro.
56014
56015 2013-09-23 Joseph Myers <joseph@codesourcery.com>
56016
56017 * locale/hashval.h (compute_hashval): Interpret bytes of key as
56018 unsigned char.
56019
56020 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
56021
56022 * manual/threads.texi (POSIX Threads): Fix a typo.
56023
56024 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
56025
56026 [BZ #14547]
56027 * string/tst-strcoll-overflow.c: New test case.
56028 * string/Makefile (xtests): Add tst-strcoll-overflow.
56029 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56030 cache if string sizes may cause integer overflow.
56031
56032 [BZ #14547]
56033 * string/strcoll_l.c (coll_seq): New members rule, idx,
56034 save_idx and back_us.
56035 (get_next_seq_nocache): New function.
56036 (do_compare_nocache): New function.
56037 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56038 when malloc fails.
56039
56040 2013-09-23 Carlos O'Donell <carlos@redhat.com>
56041
56042 [BZ #15754]
56043 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56044 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56045 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56046
56047 [BZ #15754]
56048 * elf/Makefile (tests): Add tst-ptrguard1.
56049 (tests-static): Add tst-ptrguard1-static.
56050 (tst-ptrguard1-ARGS): Define.
56051 (tst-ptrguard1-static-ARGS): Define.
56052 * elf/tst-ptrguard1.c: New file.
56053 * elf/tst-ptrguard1-static.c: New file.
56054 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56055 * sysdeps/i386/stackguard-macros.h: Likewise.
56056 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56057 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56058 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56059 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56060 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56061 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56062
56063 2013-09-23 Hector Marco <hecmargi@upv.es>
56064 Ismael Ripoll <iripoll@disca.upv.es>
56065 Carlos O'Donell <carlos@redhat.com>
56066
56067 [BZ #15754]
56068 * sysdeps/generic/stackguard-macros.h: Define
56069 __pointer_chk_guard_local and POINTER_CHK_GUARD.
56070 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56071 Define __pointer_chk_guard_local.
56072 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56073 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56074
56075 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
56076
56077 [BZ #15859]
56078 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56079
56080 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
56081
56082 * include/string.h (__ffs): Declare as hidden.
56083 * string/ffs.c (__ffs): Define as hidden.
56084 * sysdeps/i386/ffs.c (__ffs): Likewise.
56085 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56086 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56087 * sysdeps/s390/ffs.c (__ffs): Likewise.
56088 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56089
56090 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
56091
56092 * NEWS: Mention malloc probes.
56093
56094 * malloc/arena.c (new_heap): New memory_heap_new probe.
56095 (grow_heap): New memory_heap_more probe.
56096 (shrink_heap): New memory_heap_less probe.
56097 (heap_trim): New memory_heap_free probe.
56098 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56099 (systrim): New memory_sbrk_less probe.
56100 * manual/probes.texi: Document them.
56101
56102 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56103 * manual/probes.texi: Document it.
56104
56105 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56106 (__libc_realloc): Add memory_realloc_retry probe.
56107 (__libc_memalign): Add memory_memalign_retry probe.
56108 (__libc_valloc): Add memory_valloc_retry probe.
56109 (__libc_pvalloc): Add memory_pvalloc_retry probe.
56110 (__libc_calloc): Add memory_calloc_retry probe.
56111 * manual/probes.texi: Document them.
56112
56113 * malloc/arena.c (get_free_list): Add probe
56114 memory_arena_reuse_free_list.
56115 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56116 and memory_arena_reuse.
56117 (arena_get2) [!PER_THREAD]: Likewise.
56118 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56119 memory_arena_reuse_realloc.
56120 * manual/probes.texi: Document them.
56121
56122 * malloc/malloc.c (__libc_free): Add
56123 memory_mallopt_free_dyn_thresholds probe.
56124 (__libc_mallopt): Add multiple memory_mallopt probes.
56125 * manual/probes.texi: Document them.
56126
56127 * malloc/malloc.c: Include stap-probe.h.
56128 (__libc_mallopt): Add memory_mallopt probe.
56129 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56130 * manual/probes.texi: New.
56131 * manual/Makefile (chapters): Add probes.
56132 * manual/threads.texi: Set next node.
56133
56134 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
56135
56136 [BZ #15963, #13985]
56137 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56138 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56139 Add `Chinese' to `nan' entry name.
56140
56141 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
56142
56143 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56144 (POLYNOMIAL): Likewise.
56145 (TAYLOR_SINCOS): Likewise.
56146 (TAYLOR_SLOW): Likewise.
56147 (__sin): Use TAYLOR_SINCOS.
56148 (__cos): Likewise.
56149 (slow): Use TAYLOR_SLOW.
56150 (sloww): Likewise.
56151 (bsloww): Likewise.
56152 (csloww): Likewise.
56153
56154 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56155
56156 * stdlib/strtod_l.c: Fix buffer overrun.
56157
56158 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
56159
56160 * benchtests/Makefile (bench): Add sincos.
56161 * benchtests/bench-sincos.c: New file.
56162
56163 * math/libm-test.inc (cos_test_data): New test inputs.
56164 (sin_test_data): Likewise.
56165
56166 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56167 macro.
56168 (__sin): Use it.
56169 (__cos): Likewise.
56170 (slow1): Likewise.
56171 (slow2): Likewise.
56172 (sloww1): Likewise.
56173 (sloww2): Likewise.
56174 (bsloww1): Likewise.
56175 (bsloww2): Likewise.
56176 (cslow2): Likewise.
56177 (csloww1): Likewise.
56178 (csloww2): Likewise.
56179
56180 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56181 function.
56182 (__sin): Use it.
56183 (__cos): Likewise.
56184
56185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56186 gotos.
56187 (__cos): Likewise.
56188
56189 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
56190
56191 * config.h.in (HAVE_MIPS_NAN2008): New macro.
56192 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56193 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56194 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56195 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56196 * elf/cache.c (print_entry): Handle the new cache flags.
56197
56198 2013-09-18 Joseph Myers <joseph@codesourcery.com>
56199 Aldy Hernandez <aldyh@redhat.com>
56200
56201 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56202 Change condition to [_SOFT_FLOAT].
56203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56215 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56218 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56219 declaration.
56220
56221 2013-09-18 Joseph Myers <joseph@codesourcery.com>
56222
56223 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56224 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56225 (__longjmp): Use LOAD_GP to load saved GPRs.
56226 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56227 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56228 (__sigsetjmp): Use SAVE_GP to save GPRs.
56229
56230 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56231 Do not append -msoft-float.
56232 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56233
56234 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
56235
56236 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56237
56238 2013-09-17 Joseph Myers <joseph@codesourcery.com>
56239
56240 [BZ #15966]
56241 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56242 (_FPU_GETCW): Use initial "__" on variable and field names but not
56243 on macro parameter name.
56244 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
56245 parentheses around reference to macro parameter.
56246
56247 2013-09-13 Richard Sandiford <richard@codesourcery.com>
56248
56249 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56250 prototype.
56251 (ctype_startup): Use uint32_t in cast and sizeof for
56252 ctype->charnames.
56253
56254 2013-09-11 Jia Liu <proljc@gmail.com>
56255
56256 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56257 __daddr_t_defined.
56258 [__FreeBSD__]: Likewise.
56259
56260 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
56261
56262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56263 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56264 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56265 (strchr): Remove __strchr_sse42 ifunc selection.
56266 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56267 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56268
56269 2013-09-11 Will Newton <will.newton@linaro.org>
56270
56271 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56272 parameter to RES. Remove hardcoded 1000 value.
56273 * benchtests/bench-skeleton.c (main): Pass RES parameter
56274 to TIMING_INIT and multiply result by 1000.
56275
56276 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56277
56278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56279
56280 2013-09-11 Andreas Schwab <schwab@suse.de>
56281
56282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56283 if not defined.
56284 (O_TMPFILE) [__USE_GNU]: Define.
56285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56286 Define.
56287
56288 2013-09-11 Will Newton <will.newton@linaro.org>
56289
56290 [BZ #15857]
56291 * malloc/malloc.c (__libc_memalign): Check the value of bytes
56292 does not overflow.
56293
56294 2013-09-11 Will Newton <will.newton@linaro.org>
56295
56296 [BZ #15856]
56297 * malloc/malloc.c (__libc_valloc): Check the value of bytes
56298 does not overflow.
56299
56300 2013-09-11 Will Newton <will.newton@linaro.org>
56301
56302 [BZ #15855]
56303 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56304 does not overflow.
56305
56306 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
56307
56308 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56309 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56313
56314 2013-09-10 Allan McRae <allan@archlinux.org>
56315
56316 [BZ #15748]
56317 * manual/arith.texi (Parsing of Floats): Clarify
56318 cross-reference.
56319
56320 [BZ #15849]
56321 * manual/install.texi (Running make install): Mention
56322 --enable-pt-chown.
56323 * INSTALL: Regenerated.
56324
56325 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
56326
56327 * csu/init-first.c (_init): Remove the !SHARED condition around
56328 FPU control word initialization.
56329 * elf/dl-support.c (_dl_fpu_control): New variable.
56330 (_dl_aux_init) <AT_FPUCW>: Initialize it.
56331 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56332 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56333 * math/test-fpucw-static.c: New file.
56334 * math/test-fpucw-ieee.c: New file.
56335 * math/test-fpucw-ieee-static.c: New file.
56336 * math/Makefile (tests): Add `test-fpucw-ieee' and
56337 `$(tests-static)'.
56338 (tests-static): New variable.
56339 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56340 dependency to...
56341 [($(build-shared),yes)]
56342 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56343 ... this.
56344 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56345 New dependency.
56346
56347 2013-09-09 Allan McRae <allan@archlinux.org>
56348
56349 [BZ #15939]
56350 * manual/string.texi (Collation Functions): Fix typo in
56351 strcoll example.
56352 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56353
56354 [BZ #15893]
56355 * stdlib/isomac.c (get_null_defines): Fix memory leak.
56356
56357 [BZ #15892]
56358 * libio/memstream.c (open_memstream): Fix memory leak.
56359 * libio/wmemstream.c (open_wmemstream): Likewise.
56360
56361 [BZ #15895]
56362 * nscd/netgroupcache.c: Fix nesting of ifdefs.
56363
56364 2013-09-09 Will Newton <will.newton@linaro.org>
56365
56366 * malloc/Makefile: Add tst-realloc to tests.
56367 * malloc/tst-realloc.c: New file.
56368
56369 2013-09-09 Allan McRae <allan@archlinux.org>
56370
56371 [BZ #15844]
56372 * COPYING: Update from GNU website to fix FSF address.
56373 * COPYING.LIB: Likewise.
56374
56375 2013-09-06 David S. Miller <davem@davemloft.net>
56376
56377 * po/zh_TW.po: Update Chinese (traditional) translation from
56378 translation project.
56379
56380 2013-09-06 Richard Sandiford <richard@codesourcery.com>
56381 Joseph Myers <joseph@codesourcery.com>
56382
56383 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56384 "localeinfo.h".
56385 (obstack_chunk_alloc): New macro.
56386 (obstack_chunk_free): Likewise.
56387 (record_offset): New function.
56388 (init_locale_data): Likewise.
56389 (align_locale_data): Likewise.
56390 (add_locale_empty): Likewise.
56391 (add_locale_raw_data): Likewise.
56392 (add_locale_raw_obstack): Likewise.
56393 (add_locale_string): Likewise.
56394 (add_locale_wstring): Likewise.
56395 (add_locale_uint32): Likewise.
56396 (add_locale_uint32_array): Likewise.
56397 (add_locale_char): Likewise.
56398 (start_locale_structure): Likewise.
56399 (end_locale_structure): Likewise.
56400 (start_locale_prelude): Likewise.
56401 (end_locale_prelude): Likewise.
56402 (write_locale_data): Take locale_file structure rather than an
56403 iovec.
56404 * locale/programs/locfile.h: Include "obstack.h".
56405 (struct locale_file): Change to store locale file contents instead
56406 of header.
56407 (init_locale_data): New prototype.
56408 (align_locale_data): Likewise.
56409 (add_locale_empty): Likewise.
56410 (add_locale_raw_data): Likewise.
56411 (add_locale_raw_obstack): Likewise.
56412 (add_locale_string): Likewise.
56413 (add_locale_wstring): Likewise.
56414 (add_locale_uint32): Likewise.
56415 (add_locale_uint32_array): Likewise.
56416 (add_locale_char): Likewise.
56417 (start_locale_structure): Likewise.
56418 (end_locale_structure): Likewise.
56419 (start_locale_prelude): Likewise.
56420 (end_locale_prelude): Likewise.
56421 (write_locale_data): Update prototype.
56422 * locale/programs/3level.h (struct TABLE): Remove result field.
56423 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56424 Use new locale_file interface.
56425 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56426 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56427 * locale/programs/ld-address.c (address_output): Use new
56428 locale_file interface.
56429 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56430 NO_ADD_LOCALE.
56431 (collate_finish): Don't call collseq_table_finalize.
56432 (collate_output): Use new locale_file interface.
56433 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56434 in file.
56435 (NO_FINALIZE): Change to NO_ADD_LOCALE.
56436 (TABLE): Move defines earlier in file.
56437 (ELEMENT): Likewise.
56438 (DEFAULT): Likewise.
56439 (wctrans_table_add): Move macro and inline function earlier in
56440 file.
56441 (struct wctype_table): Move type earlier in file.
56442 (add_locale_wctype_table): New static prototype.
56443 (struct locale_ctype_t): Use logical types instead of struct iovec
56444 pointers for members.
56445 (ctype_output): Use new locale_file interface.
56446 (wctype_table_finalize): Change to add_locale_wctype_table. Use
56447 new locale_file interface.
56448 (allocate_arrays): Update for use of new locale_file interface.
56449 * locale/programs/ld-identification.c (identification_output): Use
56450 new locale_file interface.
56451 * locale/programs/ld-measurement.c (measurement_output): Likewise.
56452 * locale/programs/ld-messages.c (messages_output): Likewise.
56453 * locale/programs/ld-monetary.c (monetary_output): Likewise.
56454 * locale/programs/ld-name.c (name_output): Likewise.
56455 * locale/programs/ld-numeric.c (numeric_output): Likewise.
56456 * locale/programs/ld-paper.c (paper_output): Likewise.
56457 * locale/programs/ld-telephone.c (telephone_output): Likewise.
56458 * locale/programs/ld-time.c (time_output): Likewise.
56459
56460 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56461
56462 * benchtests/Makefile: Add memrchr benchmark.
56463 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56464 benchmark as memrchr.
56465 * benchtests/bench-memrchr-ifunc.c: New file.
56466 * benchtests/bench-memrchr.c: New file.
56467
56468 2013-09-06 Will Newton <will.newton@linaro.org>
56469
56470 * benchtests/Makefile (string-bench): Add memcpy.
56471
56472 2013-09-05 Carlos O'Donell <carlos@redhat.com>
56473 Cong Wang <amwang@redhat.com>
56474
56475 [BZ #15850]
56476 * sysdeps/unix/sysv/linux/bits/in.h
56477 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56478 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56479 before __USE_KERNEL_IPV6_DEFS uses.
56480 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56481 IPPROTO_BEETPH.
56482 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56483 sockaddr_in6, or ipv6_mreq.
56484
56485 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56486
56487 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56488 memory access for final bytes in some large inputs.
56489 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56490
56491 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56492
56493 * string/test-memrchr.c: New file.
56494 * string/test-memrchr-ifunc.c: New file.
56495 * string/Makefile: Add new memrchr testcase.
56496
56497 2013-09-05 Mike Frysinger <vapier@gentoo.org>
56498
56499 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56500 fanotify_init returns EPERM.
56501
56502 2013-09-04 Joseph Myers <joseph@codesourcery.com>
56503
56504 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56505 errors.
56506 (top level): Treat second token from macro or constant entries for
56507 allowed headers as allowed.
56508 * include/complex.h: Condition internal declarations on
56509 [!_ISOMAC].
56510 * include/fenv.h: Condition include of <stdbool.h> and internal
56511 declarations on [!_ISOMAC].
56512
56513 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
56514
56515 [BZ #15923]
56516 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56517
56518 2013-09-04 Joseph Myers <joseph@codesourcery.com>
56519
56520 * configure.in (--enable-versioning): Remove configure option.
56521 (libc_cv_asm_symver_directive): Remove configure test.
56522 (libc_cv_ld_version_script_option): Likewise.
56523 (VERSIONING): Remove variable and AC_SUBST.
56524 (DO_VERSIONING): Remove AC_DEFINE.
56525 * configure: Regenerated.
56526 * config.h.in (DO_VERSIONING): Remove macro.
56527 * Makerules [$(versioning) = yes]: Change conditionals to
56528 [$(build-shared) = yes].
56529 * config.make.in (versioning): Remove variable.
56530 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56531 [$(build-shared) = yes].
56532 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56533 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56534 * elf/Makefile [$(versioning) = yes]: Change conditionals to
56535 [$(build-shared) = yes].
56536 * extra-lib.mk [$(versioning) = yes]: Likewise.
56537 * hurd/Makefile [$(versioning) = yes]: Likewise.
56538 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56539 [SHARED].
56540 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56541 [SHARED].
56542 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56543 [SHARED && !NO_HIDDEN].
56544 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56545 [SHARED].
56546 [SHARED && DO_VERSIONING]: Likewise..
56547 * libio/Makefile [$(versioning) = yes]: Change conditionals to
56548 [$(build-shared) = yes].
56549 * manual/install.texi (--disable-versioning): Remove
56550 documentation.
56551 * INSTALL: Regenerated.
56552 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56553 to [SHARED].
56554 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56555 [$(build-shared) = yes].
56556 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56557 * sysdeps/i386/i686/multiarch/strstr-c.c
56558 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56559 [SHARED && !NO_HIDDEN].
56560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56561 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56562 * sysdeps/powerpc/powerpc32/dl-machine.c
56563 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56564 * sysdeps/powerpc/powerpc32/sysdep.h
56565 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56566 to [SHARED && PIC && !NO_HIDDEN].
56567 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56568 conditional to [SHARED].
56569
56570 2013-09-04 Will Newton <will.newton@linaro.org>
56571
56572 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56573 * benchtests/bench-string.h: Include bench-timing.h instead
56574 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56575 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56576 call to HP_TIMING_DIFF_INIT.
56577 * benchtests/bench-memccpy.c: Use bench-timing.h macros
56578 instead of hp-timing.h macros.
56579 * benchtests/bench-memchr.c: Likewise.
56580 * benchtests/bench-memcmp.c: Likewise.
56581 * benchtests/bench-memcpy.c: Likewise.
56582 * benchtests/bench-memmem.c: Likewise.
56583 * benchtests/bench-memmove.c: Likewise.
56584 * benchtests/bench-memset.c: Likewise.
56585 * benchtests/bench-rawmemchr.c: Likewise.
56586 * benchtests/bench-strcasecmp.c: Likewise.
56587 * benchtests/bench-strcasestr.c: Likewise.
56588 * benchtests/bench-strcat.c: Likewise.
56589 * benchtests/bench-strchr.c: Likewise.
56590 * benchtests/bench-strcmp.c: Likewise.
56591 * benchtests/bench-strcpy.c: Likewise.
56592 * benchtests/bench-strcpy_chk.c: Likewise.
56593 * benchtests/bench-strlen.c: Likewise.
56594 * benchtests/bench-strncasecmp.c: Likewise.
56595 * benchtests/bench-strncat.c: Likewise.
56596 * benchtests/bench-strncmp.c: Likewise.
56597 * benchtests/bench-strncpy.c: Likewise.
56598 * benchtests/bench-strnlen.c: Likewise.
56599 * benchtests/bench-strpbrk.c: Likewise.
56600 * benchtests/bench-strrchr.c: Likewise.
56601 * benchtests/bench-strspn.c: Likewise.
56602 * benchtests/bench-strstr.c: Likewise.
56603
56604 2013-09-04 Will Newton <will.newton@linaro.org>
56605
56606 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56607
56608 2013-09-03 Joseph Myers <joseph@codesourcery.com>
56609
56610 [BZ #15427]
56611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56612 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56613 * math/libm-test.inc (lgamma_test_data): Add more tests.
56614 * sysdeps/i386/fpu/libm-test-ulps: Update.
56615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56616
56617 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
56618
56619 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56621 Add ifunc.
56622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56623 Add strcmp-sse2-unaligned
56624 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56625
56626 2013-09-02 Mike Frysinger <vapier@gentoo.org>
56627
56628 * Versions.def (libc): Add GLIBC_2.19.
56629
56630 2013-09-02 Mike Frysinger <vapier@gentoo.org>
56631
56632 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56633 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56634
56635 2013-09-02 Joseph Myers <joseph@codesourcery.com>
56636
56637 [BZ #14155]
56638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56639 intermediate calculations in recurrence.
56640 (__ieee754_ynf): Likewise.
56641 * math/libm-test.inc (jn_test_data): Do not allow spurious
56642 underflow exception. Add more tests.
56643 (yn_test_data): Add more tests.
56644 * sysdeps/i386/fpu/libm-test-ulps: Update.
56645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56646
56647 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
56648
56649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56650
56651 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
56652
56653 * csu/init-first.c: Fix then/than typos.
56654 * locale/programs/ld-collate.c: Likewise.
56655 * locale/programs/linereader.h: Likewise.
56656 * manual/charset.texi: Likewise.
56657 * manual/filesys.texi: Likewise.
56658 * manual/stdio.texi: Likewise.
56659 * manual/string.texi: Likewise.
56660 * stdlib/fmtmsg.c: Likewise.
56661 * sysdeps/i386/stpncpy.S: Likewise.
56662 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56663 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56664 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56665 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56666
56667 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
56668
56669 * elf/dl-open.c: Fix typos.
56670 * iconvdata/gbbig5.c: Likewise.
56671 * iconvdata/iso-2022-jp.c: Likewise.
56672 * iconv/gconv_int.h: Likewise.
56673 * iconv/loop.c: Likewise.
56674 * nis/rpcsvc/nis.h: Likewise.
56675 * resolv/ns_name.c: Likewise.
56676 * stdio-common/vfscanf.c: Likewise.
56677 * streams/stropts.h: Likewise.
56678 * sunrpc/rpc_thread.c: Likewise.
56679 * sysdeps/i386/strpbrk.S: Likewise.
56680 * sysdeps/ieee754/k_standard.c: Likewise.
56681 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56683 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56684 * sysdeps/mach/hurd/profil.c: Likewise.
56685 * sysdeps/s390/dl-procinfo.h: Likewise.
56686 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56687 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56688 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56689 * sysdeps/x86_64/dl-trampoline.S: Likewise.
56690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56691
56692 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
56693
56694 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56696
56697 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
56698
56699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56700 aix specific files.
56701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56702 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56704 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56705 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56706 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56707 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56708 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56709
56710 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
56711 Roland McGrath <roland@hack.frob.com>
56712
56713 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56714 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56715
56716 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
56717
56718 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56719 __executable_start symbol instead of _start.
56720
56721 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
56722
56723 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56724 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56725 Move macros to...
56726 * sysdeps/gnu/ldsodefs.h: ... this new file.
56727
56728 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56729 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56730 instead of ELFOSABI_LINUX.
56731
56732 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56733 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56734 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56735 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56736 Likewise.
56737 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56738 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56739 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56740 Likewise.
56741 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56742 (ibm_extended_long_double): Add ieee_nan member.
56743 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56744 (do_test): New function.
56745
56746 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56747 TEST_TRUNC.
56748 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56749 functions, renamed from truncdfsf_test, trunctfsf_test,
56750 trunctfdf_test.
56751 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56752 functions.
56753 (do_test): Run all these.
56754
56755 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
56756
56757 * argp/argp-help.c: Fix typos.
56758 * argp/argp-parse.c: Likewise.
56759 * debug/backtracesyms.c: Likewise.
56760 * elf/elf.h: Likewise.
56761 * malloc/malloc.c: Likewise.
56762 * nis/nis_print.c: Likewise.
56763 * resolv/res_comp.c: Likewise.
56764 * stdlib/stdlib.h: Likewise.
56765 * sunrpc/clnt_tcp.c: Likewise.
56766 * sunrpc/clnt_udp.c: Likewise.
56767 * sunrpc/clnt_unix.c: Likewise.
56768 * sysdeps/unix/bsd/ptsname.c: Likewise.
56769 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56770 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56772 Likewise.
56773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56774 Likewise.
56775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56776 Likewise.
56777 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56778
56779 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56780
56781 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56783
56784 2013-08-27 Mike Frysinger <vapier@gentoo.org>
56785
56786 [BZ #15897]
56787 * dlfcn/Makefile (tests): Add bug-dl-leaf.
56788 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56789 ($(objpfx)bug-dl-leaf): New rule.
56790 ($(objpfx)bug-dl-leaf.so): Likewise.
56791 ($(objpfx)bug-dl-leaf.out): Likewise.
56792 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56793 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56794 * dlfcn/bug-dl-leaf.c: New test.
56795 * dlfcn/bug-dl-leaf-lib.c: Likewise.
56796 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56797 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56798 (dlclose): Likewise.
56799 (dlmopen): Likewise.
56800
56801 2013-08-27 Roland McGrath <roland@hack.frob.com>
56802
56803 * include/netdb.h [!_ISOMAC]:
56804 Don't include <tls.h>.
56805 (h_errno, __libc_h_errno): Move declaration and macros out of
56806 [_LIBC_REENTRANT].
56807
56808 * include/resolv.h [_RESOLV_H_]:
56809 Don't include <tls.h>.
56810 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56811 * resolv/res_libc.c: Don't include <tls.h>.
56812 (_res): Use __attribute__ ((nocommon)) in place of
56813 __attribute__ ((section (".bss"))).
56814
56815 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56816 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56817
56818 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56819
56820 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56821 only under [SIOCGIFCONF && SIOCGIFNETMASK].
56822
56823 * resolv/res_mkquery.c: Include <sys/time.h>.
56824
56825 * inet/ifreq.c: Moved to ...
56826 * sysdeps/unix/ifreq.c: ... here.
56827 * inet/ifreq.c: New file, true stub version.
56828
56829 * socket/sa_len.c: New file.
56830 * socket/Makefile (aux): Add it.
56831 * sysdeps/unix/sysv/linux/Makefile
56832 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56833 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56834 and #include <socket/sa_len.c>.
56835 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56836 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56837
56838 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56839 * bits/socket.h: ... here.
56840
56841 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56842 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56843 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56844
56845 2013-08-27 Andreas Schwab <schwab@suse.de>
56846
56847 [BZ #15736]
56848 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56849 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56850 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56851 * string/test-strcasecmp.c (test_main): Run tests in several
56852 locales.
56853 * string/test-strncasecmp.c (test_main): Likewise.
56854
56855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56856 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56857 to __strcasecmp_nonascii and __strncasecmp_nonascii.
56858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56859 (__strncasecmp_ssse3) [PIC]: Likewise.
56860
56861 2013-08-26 Roland McGrath <roland@hack.frob.com>
56862
56863 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56864
56865 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56866 instead of explicitly declaring xdecrypt.
56867 * nis/nss_nis/nis-publickey.c: Likewise.
56868
56869 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56870
56871 [BZ #15890]
56872 * nscd/aicache.c: Include res_hconf.h.
56873 (addhstaiX): Initialize res_hconf.
56874
56875 2013-08-26 Andreas Schwab <schwab@suse.de>
56876
56877 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56878 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56879
56880 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56881
56882 * nscd/aicache.c (addhstaiX): Fix indentation.
56883
56884 2013-08-25 Mike Frysinger <vapier@gentoo.org>
56885
56886 * configure.ac: Quote $build_pt_chown test.
56887 * configure: Regenerated.
56888
56889 2013-08-23 Joseph Myers <joseph@codesourcery.com>
56890
56891 [BZ #15532]
56892 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56893 * math/s_cexpf.c (__cexpf): Likewise.
56894 * math/s_cexpl.c (__cexpl): Likewise.
56895 * math/libm-test.inc (cexp_test_data): Correct expected return
56896 value for NaN + i0. Add another test.
56897
56898 2013-08-22 David S. Miller <davem@davemloft.net>
56899
56900 * po/ca.po: Update Catalan translation from translation project.
56901 * po/uk.po: Add Ukrainian translations from translation project.
56902
56903 2013-08-21 Joseph Myers <joseph@codesourcery.com>
56904
56905 [BZ #15797]
56906 * math/s_fdim.c (__fdim): Check for infinite arguments if result
56907 is infinite, not alongside NaN test.
56908 * math/s_fdimf.c (__fdimf): Likewise.
56909 * math/s_fdiml.c (__fdiml): Likewise.
56910 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
56911 errno is unchanged.
56912
56913 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
56914
56915 * argp/argp-help.c: Fix typos.
56916 * crypt/speeds.c: Likewise.
56917 * csu/check_fds.c: Likewise.
56918 * elf/dl-load.c: Likewise.
56919 * elf/dl-open.c: Likewise.
56920 * elf/reldep3.c: Likewise.
56921 * elf/reldep.c: Likewise.
56922 * elf/sprof.c: Likewise.
56923 * iconv/iconv_charmap.c: Likewise.
56924 * iconv/skeleton.c: Likewise.
56925 * iconv/strtab.c: Likewise.
56926 * io/lockf64.c: Likewise.
56927 * libio/libioP.h: Likewise.
56928 * resolv/gai_notify.c: Likewise.
56929 * resolv/ns_name.c: Likewise.
56930 * resolv/ns_samedomain.c: Likewise.
56931 * resolv/res_send.c: Likewise.
56932 * stdlib/random.c: Likewise.
56933 * sunrpc/rpc/xdr.h: Likewise.
56934 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56936 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56937 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56939 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56942 * sysdeps/mach/hurd/check_fds.c: Likewise.
56943 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56944 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56945 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56947 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56949 * sysdeps/pthread/aio_notify.c: Likewise.
56950 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56951 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56954 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56955
56956 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56957
56958 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56959 version if bit_Slow_SSE4_2 is set.
56960 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56962
56963 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56964
56965 [BZ #15867]
56966 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56967 trampoline stack frame information.
56968 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56969 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56970 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56971 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56972 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56973 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56974 (_libc_vdso_platform_setup): Initialize the signal trampolines.
56975 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56976 sa_flags value.
56977 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56978 interrupting a syscall and set with option SA_SIGINFO.
56979
56980 2013-08-20 Joseph Myers <joseph@codesourcery.com>
56981
56982 [BZ #15531]
56983 * math/s_cproj.c (__cproj): Only return an infinity if one part of
56984 argument is infinite.
56985 * math/s_cprojf.c (__cprojf): Likewise.
56986 * math/s_cprojl.c (__cprojl): Likewise.
56987 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56988 * math/libm-test.inc (cproj_test_data): Add more tests.
56989
56990 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56991
56992 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56993 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56994 size. Use __ffs to determine corresponding shift.
56995
56996 2013-08-20 Joseph Myers <joseph@codesourcery.com>
56997 Roland McGrath <roland@hack.frob.com>
56998
56999 * Makefile (INSTALL): Remove trailing blank lines from output of
57000 makeinfo.
57001
57002 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57003
57004 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57005 Align 32 bit compat elf_greg to 8 bytes.
57006
57007 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
57008
57009 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57010
57011 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57012
57013 * string/strcoll_l.c (coll_seq): New structure.
57014 (get_next_seq_cached): New function.
57015 (get_next_seq): New function.
57016 (do_compare): New function.
57017 (STRCOLL): Use GNU style definition. Simplify implementation
57018 by using get_next_seq, get_next_seq_cached and do_compare.
57019
57020 2013-08-16 Florian Weimer <fweimer@redhat.com>
57021
57022 [BZ #14699]
57023 CVE-2013-4237
57024 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57025 member.
57026 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57027 member.
57028 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57029 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57030 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
57031 conditional.
57032 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57033 GETDENTS_64BIT_ALIGNED.
57034 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57035 * manual/filesys.texi (Reading/Closing Directory): Document
57036 ENAMETOOLONG return value of readdir_r. Recommend readdir more
57037 strongly.
57038 * manual/conf.texi (Limits for Files): Add portability note to
57039 NAME_MAX, PATH_MAX.
57040 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57041
57042 2013-08-13 Andreas Schwab <schwab@suse.de>
57043
57044 [BZ #15749]
57045 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57046 of fabs.
57047 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57048 LDBL_MAX_EXP >= 16384]: Add tests for it.
57049
57050 2013-08-12 David S. Miller <davem@davemloft.net>
57051
57052 * version.h (RELEASE): Set to "development".
57053 (VERSION): Set to "2.18.90".
57054 * NEWS: Add 2.19 section.
57055
57056 2013-08-03 David S. Miller <davem@davemloft.net>
57057
57058 * po/ko.po: Update Korean translation from translation project.
57059
57060 2013-08-01 David S. Miller <davem@davemloft.net>
57061
57062 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
57063 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57064 Bilka.
57065
57066 2013-07-30 David S. Miller <davem@davemloft.net>
57067
57068 * po/fr.po: Update French translation from translation project.
57069
57070 2013-07-28 David S. Miller <davem@davemloft.net>
57071
57072 * po/cs.po: Update Czech translation from translation project.
57073
57074 * po/sv.po: Update Swedish translation from translation project.
57075
57076 2013-07-27 David S. Miller <davem@davemloft.net>
57077
57078 * po/eo.po: Update Esperanto translation from translation project.
57079
57080 * po/vi.po: Update Vietnamese translation from translation project.
57081
57082 * po/de.po: Update German translation from translation project.
57083
57084 2013-07-26 David S. Miller <davem@davemloft.net>
57085
57086 * po/bg.po: Update Bulgarian translation from translation project.
57087
57088 * po/nl.po: Update Dutch translation from translation project.
57089 * po/pl.po: Update Polish translation from translation project.
57090 * po/ru.po: Update Russian translation from translation project.
57091
57092 2013-07-24 David S. Miller <davem@davemloft.net>
57093
57094 * po/libc.pot: Update.
57095
57096 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57097
57098 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57099 variable page size.
57100 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57101 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57103
57104 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57105
57106 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57107
57108 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57109 Andreas Schwab <schwab@suse.de>
57110 Roland McGrath <roland@hack.frob.com>
57111 Joseph Myers <joseph@codesourcery.com>
57112 Carlos O'Donell <carlos@redhat.com>
57113
57114 [BZ #15755]
57115 * config.h.in: Define HAVE_PT_CHOWN.
57116 * config.make.in (build-pt-chown): New variable.
57117 * configure.in (--enable-pt_chown): New configure option.
57118 * configure: Regenerate.
57119 * login/Makefile: Include Makeconfig. Build pt_chown only if
57120 build-pt-chown is enabled.
57121 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57122 pt_chown to fix pty ownership.
57123 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57124 CLOSE_ALL_FDS.
57125 * manual/install.texi (Configuring and compiling): Mention
57126 --enable-pt_chown. Add @findex for grantpt.
57127 * INSTALL: Regenerate.
57128
57129 2013-07-20 David S. Miller <davem@davemloft.net>
57130
57131 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57132 difference between 32-bit and 64-bit.
57133
57134 2013-07-15 Carlos O'Donell <carlos@redhat.com>
57135
57136 [BZ #15711]
57137 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57138 Avoid system header dependency with -ffreestanding.
57139 ($(objpfx)bits/syscall%d): Likewise.
57140
57141 2013-07-13 David S. Miller <davem@davemloft.net>
57142
57143 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57144 underflows from atanl/atan2l due to bug 15319.
57145 (casinh_test_data): Likewise.
57146
57147 2013-07-07 David S. Miller <davem@davemloft.net>
57148
57149 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57150
57151 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
57152
57153 * sysdeps/i386/fpu/libm-test-ulps: Update.
57154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57155
57156 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57157
57158 * configure.in (--enable-lock-elision): Fix message text.
57159 * INSTALL: Regenerate.
57160 * configure: Regenerate.
57161
57162 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57163
57164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57165
57166 2013-07-03 Andreas Jaeger <aj@suse.de>
57167
57168 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57169 define.
57170 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57171 (ptrace_peeksiginfo_args): Add.
57172 (__ptrace_peeksiginfo_flags): Add.
57173 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57176
57177 2013-07-03 Allan McRae <allan@archlinux.org>
57178
57179 * sysdeps/i386/fpu/libm-test-ulps: Update.
57180
57181 2013-07-02 David S. Miller <davem@davemloft.net>
57182
57183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57184
57185 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
57186
57187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57188
57189 2013-07-02 Joseph Myers <joseph@codesourcery.com>
57190
57191 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57193
57194 2013-07-02 Andi Kleen <ak@linux.intel.com>
57195
57196 * config.h.in (ENABLE_LOCK_ELISION): Add.
57197 * configure.in (--enable-lock-elision): Add option.
57198 * manual/install.texi: Document --enable lock elision.
57199 * configure: Regenerate
57200 * INSTALL: Regenerate.
57201
57202 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
57203
57204 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57205 SSE4.2 strcasecmp for libc.a.
57206 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57207
57208 2013-07-02 Joseph Myers <joseph@codesourcery.com>
57209
57210 [BZ #13304]
57211 * soft-fp/op-common.h (_FP_FMA): New macro.
57212 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57213 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
57214 (_FP_MUL_MEAT_1_imm): ... here.
57215 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
57216 (_FP_MUL_MEAT_1_wide): ... here.
57217 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
57218 (_FP_MUL_MEAT_1_hard): ... here.
57219 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57220 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
57221 (_FP_MUL_MEAT_2_wide): ... here.
57222 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
57223 (_FP_MUL_MEAT_2_wide_3mul): ... here.
57224 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
57225 (_FP_MUL_MEAT_2_gmp): ... here.
57226 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57227 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
57228 (_FP_MUL_MEAT_4_wide): ... here.
57229 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
57230 (_FP_MUL_MEAT_4_gmp): ... here.
57231 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57232 (_FP_WFRACBITS_DW_S): Likewise.
57233 (_FP_WFRACXBITS_DW_S): Likewise.
57234 (_FP_HIGHBIT_DW_S): Likewise.
57235 (FP_FMA_S): Likewise.
57236 (_FP_FRAC_HIGH_DW_S): Likewise.
57237 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57238 (_FP_WFRACBITS_DW_D): Likewise.
57239 (_FP_WFRACXBITS_DW_D): Likewise.
57240 (_FP_HIGHBIT_DW_D): Likewise.
57241 (FP_FMA_D): Likewise.
57242 (_FP_FRAC_HIGH_DW_D): Likewise.
57243 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57244 (_FP_WFRACBITS_DW_E): Likewise.
57245 (_FP_WFRACXBITS_DW_E): Likewise.
57246 (_FP_HIGHBIT_DW_E): Likewise.
57247 (FP_FMA_E): Likewise.
57248 (_FP_FRAC_HIGH_DW_E): Likewise.
57249 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57250 (_FP_WFRACBITS_DW_Q): Likewise.
57251 (_FP_WFRACXBITS_DW_Q): Likewise.
57252 (_FP_HIGHBIT_DW_Q): Likewise.
57253 (FP_FMA_Q): Likewise.
57254 (_FP_FRAC_HIGH_DW_Q): Likewise.
57255 * soft-fp/fmasf4.c: New file.
57256 * soft-fp/fmadf4.c: Likewise.
57257 * soft-fp/fmatf4.c: Likewise.
57258
57259 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57260
57261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57262 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57263 Silvermont.
57264 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57265 macro.
57266 (index_Slow_SSE4_2): Likewise.
57267 (index_Prefer_PMINUB_for_stringop): Likewise.
57268 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57269 bit_Slow_SSE4_2 is set.
57270 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57271 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57272
57273 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57274
57275 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57276 rtld_global._dl_hwcap2.
57277 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57278 POWER8.
57279 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57280 POWER8 feature descriptions defined in _dl_hwcap2.
57281 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57282 string handling for POWER8 feature bits.
57283 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57284 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57285 _dl_powerpc_cap_flags.
57286 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57287 * sysdeps/powerpc/rtld-global-offsets.sym
57288 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57289 _dl_hwcap2 in the rtld_global_ro structure.
57290
57291 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57292
57293 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57294 hardware capabilities in support of AT_HWCAP2.
57295 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57296 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57297 GLRO(dl_hwcap2).
57298 (_dl_show_auxv): Add support for calling _dl_procinfo to display
57299 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
57300 explicitly the unknown a_type display mechanism is used.
57301 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57302 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57303 struct member.
57304 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57305 to macro prototype for AT_HWCAP2 support.
57306 * sysdeps/i386/dl-procinfo.h: Likewise.
57307 * sysdeps/s390/dl-procinfo.h: Likewise.
57308 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57309 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
57310 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
57311 return -1 for unknown a_type display fallback.
57312 * sysdeps/sparc/dl-procinfo.h: Likewise.
57313 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57314 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57315
57316 2013-06-28 Joseph Myers <joseph@codesourcery.com>
57317
57318 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57319 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57320
57321 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
57322
57323 [BZ #12492]
57324 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57325 mprotect making __stack_prot writable.
57326
57327 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
57328 Joseph Myers <joseph@codesourcery.com>
57329
57330 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57331 as being properly aligned.
57332
57333 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
57334
57335 * dlfcn/modstatic5.c: New file.
57336 * dlfcn/tststatic5.c: New file.
57337 * dlfcn/Makefile (tests): Add tststatic5.
57338 (tests-static): Likewise.
57339 (modules-names): Add modstatic5.
57340 (tststatic5-ENV): New variable.
57341 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57342
57343 [BZ #15022]
57344 * elf/dl-support.c (_dl_main_map): New variable.
57345 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57346 (_dl_nns, _dl_load_adds): Set to 1.
57347 (_dl_initial_searchlist): Refer to _dl_main_map.
57348 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57349 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57350 call to _dl_get_origin.
57351 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57352 around call_map.
57353 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57354 * dlfcn/modstatic3.c: New file.
57355 * dlfcn/tststatic3.c: New file.
57356 * dlfcn/tststatic4.c: New file.
57357 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57358 (tests-static): Likewise.
57359 (modules-names): Add modstatic3.
57360 (tststatic3-ENV, tststatic4-ENV): New variables.
57361 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57362 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57363
57364 2013-06-26 Joseph Myers <joseph@codesourcery.com>
57365
57366 * configure.in (CC): Require GCC version 4.4 or later.
57367 * configure: Regenerated.
57368 * manual/install.texi (Tools for Compilation): Update GCC version
57369 requirement.
57370 * INSTALL: Regenerated.
57371
57372 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57373
57374 [BZ #15674]
57375 * string/test-memcmp.c (check2): New.
57376 (main): Call check2.
57377
57378 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57379
57380 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
57381
57382 [BZ #15022]
57383 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57384 over to...
57385 (dl_open_worker) [!SHARED]: ... here.
57386
57387 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57388
57389 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57390
57391 2013-06-25 Richard Henderson <rth@redhat.com>
57392
57393 * locale/programs/locarchive.c: Include <libc-internal.h>
57394
57395 2013-06-25 Joseph Myers <joseph@codesourcery.com>
57396
57397 * manual/texinfo.tex: Update to version 2013-06-21.17, with
57398 trailing whitespace removed.
57399
57400 2013-06-24 Mike Frysinger <vapier@gentoo.org>
57401
57402 [BZ #10283]
57403 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57404 * locale/programs/locarchive.c: Include libc-mmap.h.
57405 (prepare_address_space): Take two new outputs (the mmap base and len).
57406 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
57407 values.
57408 (create_archive): Declare new mmap base and len values for
57409 prepare_address_space, and store the result in ah.
57410 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57411 (enlarge_archive): If ah->mmap_base is not NULL, use that and
57412 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57413 Declare new mmap base and len values for
57414 prepare_address_space, and store the result in new_ah.
57415 (open_archive): Declare new mmap base and len values for
57416 prepare_address_space, and store the result in ah.
57417 (close_archive): If ah->mmap_base is not NULL, use that and
57418 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57419 * sysdeps/generic/libc-mmap.h: New file.
57420
57421 2013-06-24 Mike Frysinger <vapier@gentoo.org>
57422
57423 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57424 (ALIGN_UP): Likewise.
57425 (PTR_ALIGN_DOWN): Likewise.
57426 (PTR_ALIGN_UP): Likewise.
57427
57428 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57429
57430 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57431 entry mapped to PPC_PLATFORM_POWER8.
57432 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57433 POWER8.
57434 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57435 (_dl_string_platform): Add case for exporting platform position for
57436 POWER8.
57437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57438 search path to sysdeps/powerpc/powerpc32/power8 directory.
57439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57440 search path to sysdeps/powerpc/powerpc64/power8 directory.
57441 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57442 power7 directories.
57443 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57444 power7 directories.
57445
57446 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57447
57448 * INSTALL: Regenerate.
57449
57450 * nscd/connections.c (nscd_init): Fix comment.
57451
57452 2013-06-22 Joseph Myers <joseph@codesourcery.com>
57453
57454 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57455
57456 [BZ #15667]
57457 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57458 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57459
57460 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
57461
57462 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57463 DL_DST_REQ_STATIC.
57464 (DL_DST_REQ_STATIC): Remove macro.
57465
57466 2013-06-21 Joseph Myers <joseph@codesourcery.com>
57467
57468 [BZ #7006]
57469 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57470 with a shift of 0 bits.
57471
57472 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
57473
57474 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57475 $(tststatic-ENV).
57476
57477 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57478
57479 [BZ #15655]
57480 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57481
57482 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57483
57484 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57485 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57486 accepts -fno-tree-loop-distribute-patterns.
57487 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57488 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57489 recursive call.
57490 * string/memset.c (memset): Likewise.
57491 * string/test-memmove.c (simple_memmove): Disable loop transformation
57492 to library calls.
57493 * string/test-memset.c (simple_memset): Likewise.
57494 * benchtests/bench-memmove.c (simple_memmove): Likewise.
57495 * benchtests/bench-memset.c (simple_memset): Likewise.
57496 * configure: Regenerated.
57497
57498 2013-06-20 Joseph Myers <joseph@codesourcery.com>
57499
57500 * math/test-misc.c (main): Ignore fesetround failure when failures
57501 of subsequent rounding tests would be ignored.
57502
57503 [BZ #15654]
57504 * math/fedisblxcpt.c (fedisableexcept): Return 0.
57505 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57506 * math/fegetenv.c (__fegetenv): Return 0.
57507 * math/fegetexcept.c (fegetexcept): Return 0.
57508 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57509 FE_TONEAREST.
57510 * math/feholdexcpt.c (feholdexcept): Return 0.
57511 * math/fesetenv.c (__fesetenv): Return 0.
57512 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57513 argument FE_TONEAREST.
57514 * math/feupdateenv.c (__feupdateenv): Return 0.
57515 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57516
57517 2013-06-18 Roland McGrath <roland@hack.frob.com>
57518
57519 * elf/rtld-Rules (rtld-compile-command.S): New variable.
57520 (rtld-compile-command.s, rtld-compile-command.c): New variables.
57521 ($(objpfx)rtld-%.os rules): Use them.
57522
57523 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57524
57525 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57526 fields.
57527
57528 2013-06-17 Roland McGrath <roland@hack.frob.com>
57529
57530 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57531 length of target pattern, then descending length of dependency pattern.
57532 * configure.in (AWK): Require gawk 3.1.2 or newer.
57533 * manual/install.texi (Tools for Compilation): Say that we do.
57534 * configure: Regenerated.
57535
57536 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57537 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57538 * scripts/sysd-rules.awk: ... this new script.
57539 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57540 than a glob-style pattern.
57541
57542 2013-06-17 Joseph Myers <joseph@codesourcery.com>
57543
57544 * math/test-misc.c (main): Do not treat incorrectly rounded
57545 conversions as failure unless ROUNDING_TESTS passes.
57546
57547 2013-06-15 Joseph Myers <joseph@codesourcery.com>
57548
57549 [BZ #15631]
57550 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57551 restore exception state around main square root computation, then
57552 check for inexactness explicitly.
57553
57554 * math/libm-test.inc (fma_test_data): Add another test.
57555
57556 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57557
57558 * manual/threads.texi (Non-POSIX Extensions): New document
57559 node. Document pthread_getattr_default_np and
57560 pthread_setattr_default_np.
57561
57562 * Versions.def (libpthread): Add GLIBC_2.18.
57563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57565 Likewise.
57566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57567 Likewise.
57568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57569 Likewise.
57570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57571 Likewise.
57572 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57573 Likewise.
57574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57575 Likewise.
57576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57577 Likewise.
57578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57579 Likewise.
57580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57581 Likewise.
57582
57583 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57584
57585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57586 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57587
57588 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
57589 H.J. Lu <hjl.tools@gmail.com>
57590
57591 [BZ #15627]
57592 * sysdeps/x86_64/rtld-memset.c: Remove file.
57593 * sysdeps/x86_64/rtld-memset.S: New file.
57594
57595 2013-06-14 Joseph Myers <joseph@codesourcery.com>
57596
57597 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57598 (test_in_one_mode): Take arguments for whether the rounding mode
57599 is supported for each floating-point type.
57600 (do_test): Pass new arguments to test_in_one_mode using
57601 ROUNDING_TESTS.
57602
57603 2013-06-13 Roland McGrath <roland@hack.frob.com>
57604
57605 * posix/tst-waitid.c (do_test): Distinguish different instances of
57606 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
57607 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57608 before entering the kernel for waitpid.
57609
57610 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57611
57612 * NEWS: Fix note on clock function precision. Text by Roland
57613 McGrath.
57614
57615 2013-06-13 Roland McGrath <roland@hack.frob.com>
57616
57617 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57618 it into place only when and if the sanity check passes.
57619
57620 2013-06-13 Joseph Myers <joseph@codesourcery.com>
57621
57622 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57623 output for whether conversion result is exact. Take argument
57624 indicating whether type is IBM long double.
57625 (round_for_all): Change need_exact field to ibm_ld.
57626 * stdlib/tst-strtod-round.c (struct exactness): New type.
57627 (struct test): Change bool ld_ok field to struct exactness exact.
57628 (TEST): Update all definitions for change to field.
57629 (tests): Regenerate array contents.
57630 (test_in_one_mode): Take pointer to new field instead of old ld_ok
57631 field value. Check for IBM long double here.
57632 (do_test): Update calls to test_in_one_mode.
57633
57634 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57635
57636 [BZ #12515]
57637 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57638 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57639
57640 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57641
57642 [BZ #15605]
57643 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57644 generated by the compiler on loop optimizations.
57645 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57646 general definitions.
57647
57648 2013-06-12 Joseph Myers <joseph@codesourcery.com>
57649
57650 * math/bug-nextafter.c: Include <math-tests.h>.
57651 (main): Only test for exceptions if EXCEPTION_TESTS is true for
57652 the relevant type.
57653 * math/bug-nexttoward.c: Include <math-tests.h>.
57654 (main): Only test for exceptions if EXCEPTION_TESTS is true for
57655 the relevant type.
57656 * math/test-misc.c: Include <math-tests.h>.
57657 (main): Only test for exceptions if EXCEPTION_TESTS is true for
57658 the relevant type.
57659
57660 2013-06-12 Andreas Jaeger <aj@suse.de>
57661
57662 * po/ia.po: Update Interlingua translation from translation
57663 project.
57664
57665 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57666
57667 * include/fenv.h: Include stdbool.h.
57668 (struct rm_ctx): New structure.
57669 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57670 Define macro.
57671 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57672 (SET_RESTORE_ROUNDF): Likewise.
57673 (SET_RESTORE_ROUNDL): Likewise.
57674 (SET_RESTORE_ROUND_NOEX): Likewise.
57675 (SET_RESTORE_ROUND_NOEXF): Likewise.
57676 (SET_RESTORE_ROUND_NOEXL): Likewise.
57677 (SET_RESTORE_ROUND_53BIT): Likewise.
57678 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57679 (libc_feresetround_noexf_ctx): Likewise.
57680 (libc_feresetround_noexl_ctx): Likewise.
57681 (libc_feholdsetround_53bit_ctx): Likewise.
57682 (libc_feresetround_53bit_ctx): Likewise.
57683 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57684 (libc_feholdexcept_setround_sse_ctx): New function.
57685 (libc_fesetenv_sse_ctx): Likewise.
57686 (libc_feupdateenv_sse_ctx): Likewise.
57687 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57688 (libc_feholdexcept_setround_387_ctx): Likewise.
57689 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57690 (libc_feholdsetround_387_prec_ctx): Likewise.
57691 (libc_feholdsetround_387_ctx): Likewise.
57692 (libc_feholdsetround_387_53bit_ctx): Likewise.
57693 (libc_feholdsetround_sse_ctx): Likewise.
57694 (libc_feresetround_sse_ctx): Likewise.
57695 (libc_feresetround_387_ctx): Likewise.
57696 (libc_feupdateenv_387_ctx): Likewise.
57697 (libc_feholdexcept_setroundf_ctx): Define macro.
57698 (libc_fesetenvf_ctx): Likewise.
57699 (libc_feupdateenvf_ctx): Likewise.
57700 (libc_feholdsetroundf_ctx): Likewise.
57701 (libc_feresetroundf_ctx): Likewise.
57702 (libc_feholdexcept_setround_ctx): Likewise.
57703 (libc_fesetenv_ctx): Likewise.
57704 (libc_feupdateenv_ctx): Likewise.
57705 (libc_feholdsetround_ctx): Likewise.
57706 (libc_feresetround_ctx): Likewise.
57707 (libc_feholdexcept_setroundl_ctx): Likewise.
57708 (libc_feupdateenvl_ctx): Likewise.
57709 (libc_feholdsetroundl_ctx): Likewise.
57710 (libc_feresetroundl_ctx): Likewise.
57711 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57712 (libc_feresetround_53bit_ctx): Likewise.
57713
57714 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57715
57716 * locale/iso-639.def: Convert to UTF-8.
57717
57718 2013-06-11 Joseph Myers <joseph@codesourcery.com>
57719
57720 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57721 (EXCEPTION_TESTS_double): Likewise.
57722 (EXCEPTION_TESTS_long_double): Likewise.
57723 (EXCEPTION_TESTS): Likewise.
57724 * math/libm-test.inc (test_exceptions): Only test exceptions if
57725 EXCEPTION_TESTS (FLOAT).
57726
57727 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57728
57729 * benchtests/Makefile (string-bench): Add strcpy_chk and
57730 stpcpy_chk.
57731 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57732 * benchtests/bench-stpcpy_chk.c: New file.
57733 * benchtests/bench-strcpy_chk-ifunc.c: New file.
57734 * benchtests/bench-strcpy_chk.c: New file.
57735 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57736 code.
57737 (do_test): Likewise.
57738
57739 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
57740
57741 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57742 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57743 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57744 with tabs where appropriate.
57745 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57746 dl-procinfo.h.
57747 [PPC_PLATFORM_PPC440]: Likewise.
57748 [PPC_PLATFORM_PPC464]: Likewise.
57749 [PPC_PLATFORM_PPC476]: Likewise.
57750 (_dl_string_platform): Add support for detecting ppc405, ppc440,
57751 ppc464, and ppc476 platform strings merging from ports/
57752 dl-procinfo.h.
57753
57754 2013-06-11 Andreas Schwab <schwab@suse.de>
57755
57756 [BZ #14991]
57757 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57758 (from_ucs4_idx): Regenerate.
57759 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57760 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57761 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57762 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57763 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57764 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57765 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57766 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57767 from FROM_LOOP and TO_LOOP specific macros.
57768 (BODY): Handle combining characters.
57769 * iconvdata/BIG5HKSCS.irreversible: Update.
57770 * iconvdata/BIG5HKSCS.precomposed: New file.
57771 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57772 characters.
57773 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57774
57775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57776
57777 * include/sys/time.h: Fix indentation and add copyright header.
57778
57779 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57780 (do_test): Likewise.
57781 * string/test-memchr.c (do_one_test): Likewise.
57782 (do_test): Likewise.
57783 * string/test-memcmp.c (do_one_test): Likewise.
57784 (do_test): Likewise.
57785 * string/test-memcpy.c (do_one_test): Likewise.
57786 (do_test): Likewise.
57787 * string/test-memmem.c (do_one_test): Likewise.
57788 (do_test): Likewise.
57789 (do_random_tests): Likewise.
57790 * string/test-memmove.c (do_one_test): Likewise.
57791 (do_test): Likewise.
57792 * string/test-memset.c (do_one_test): Likewise.
57793 (do_test): Likewise.
57794 * string/test-rawmemchr.c (do_one_test): Likewise.
57795 (do_test): Likewise.
57796 * string/test-strcasecmp.c (do_one_test): Likewise.
57797 (do_test): Likewise.
57798 * string/test-strcasestr.c (do_one_test): Likewise.
57799 (do_test): Likewise.
57800 * string/test-strcat.c (do_one_test): Likewise.
57801 (do_test): Likewise.
57802 * string/test-strchr.c (do_one_test): Likewise.
57803 (do_test): Likewise.
57804 * string/test-strcmp.c (do_one_test): Likewise.
57805 (do_test): Likewise.
57806 * string/test-strcpy.c (do_one_test): Likewise.
57807 (do_test): Likewise.
57808 * string/test-string.h: Likewise.
57809 (test_init): Likewise.
57810 * string/test-strlen.c (do_one_test): Likewise.
57811 (do_test): Likewise.
57812 * string/test-strncasecmp.c (do_one_test): Likewise.
57813 (do_test): Likewise.
57814 * string/test-strncat.c (do_one_test): Likewise.
57815 (do_test): Likewise.
57816 * string/test-strncmp.c (do_one_test): Likewise.
57817 (do_test_limit): Likewise.
57818 (do_test): Likewise.
57819 * string/test-strncpy.c (do_one_test): Likewise.
57820 (do_test): Likewise.
57821 * string/test-strnlen.c (do_one_test): Likewise.
57822 (do_test): Likewise.
57823 * string/test-strpbrk.c (do_one_test): Likewise.
57824 (do_test): Likewise.
57825 * string/test-strrchr.c (do_one_test): Likewise.
57826 (do_test): Likewise.
57827 * string/test-strspn.c (do_one_test): Likewise.
57828 (do_test): Likewise.
57829 * string/test-strstr.c (do_one_test): Likewise.
57830 (do_test): Likewise.
57831
57832 * benchtests/Makefile (string-bench): Add string benchmarks.
57833 * benchtests/bench-bcopy-ifunc.c: New file.
57834 * benchtests/bench-bcopy.c: New file.
57835 * benchtests/bench-bzero-ifunc.c: New file.
57836 * benchtests/bench-bzero.c: New file.
57837 * benchtests/bench-memccpy-ifunc.c: New file.
57838 * benchtests/bench-memccpy.c: New file.
57839 * benchtests/bench-memchr-ifunc.c: New file.
57840 * benchtests/bench-memchr.c: New file.
57841 * benchtests/bench-memcmp-ifunc.c: New file.
57842 * benchtests/bench-memcmp.c: New file.
57843 * benchtests/bench-memmem-ifunc.c: New file.
57844 * benchtests/bench-memmem.c: New file.
57845 * benchtests/bench-memmove-ifunc.c: New file.
57846 * benchtests/bench-memmove.c: New file.
57847 * benchtests/bench-mempcpy-ifunc.c: New file.
57848 * benchtests/bench-mempcpy.c: New file.
57849 * benchtests/bench-memset-ifunc.c: New file.
57850 * benchtests/bench-memset.c: New file.
57851 * benchtests/bench-rawmemchr-ifunc.c: New file.
57852 * benchtests/bench-rawmemchr.c: New file.
57853 * benchtests/bench-stpcpy-ifunc.c: New file.
57854 * benchtests/bench-stpcpy.c: New file.
57855 * benchtests/bench-stpncpy-ifunc.c: New file.
57856 * benchtests/bench-stpncpy.c: New file.
57857 * benchtests/bench-strcasecmp-ifunc.c: New file.
57858 * benchtests/bench-strcasecmp.c: New file.
57859 * benchtests/bench-strcasestr-ifunc.c: New file.
57860 * benchtests/bench-strcasestr.c: New file.
57861 * benchtests/bench-strcat-ifunc.c: New file.
57862 * benchtests/bench-strcat.c: New file.
57863 * benchtests/bench-strchr-ifunc.c: New file.
57864 * benchtests/bench-strchr.c: New file.
57865 * benchtests/bench-strchrnul-ifunc.c: New file.
57866 * benchtests/bench-strchrnul.c: New file.
57867 * benchtests/bench-strcmp-ifunc.c: New file.
57868 * benchtests/bench-strcmp.c: New file.
57869 * benchtests/bench-strcpy-ifunc.c: New file.
57870 * benchtests/bench-strcpy.c: New file.
57871 * benchtests/bench-strcspn-ifunc.c: New file.
57872 * benchtests/bench-strcspn.c: New file.
57873 * benchtests/bench-strlen-ifunc.c: New file.
57874 * benchtests/bench-strlen.c: New file.
57875 * benchtests/bench-strncasecmp-ifunc.c: New file.
57876 * benchtests/bench-strncasecmp.c: New file.
57877 * benchtests/bench-strncat-ifunc.c: New file.
57878 * benchtests/bench-strncat.c: New file.
57879 * benchtests/bench-strncmp-ifunc.c: New file.
57880 * benchtests/bench-strncmp.c: New file.
57881 * benchtests/bench-strncpy-ifunc.c: New file.
57882 * benchtests/bench-strncpy.c: New file.
57883 * benchtests/bench-strnlen-ifunc.c: New file.
57884 * benchtests/bench-strnlen.c: New file.
57885 * benchtests/bench-strpbrk-ifunc.c: New file.
57886 * benchtests/bench-strpbrk.c: New file.
57887 * benchtests/bench-strrchr-ifunc.c: New file.
57888 * benchtests/bench-strrchr.c: New file.
57889 * benchtests/bench-strspn-ifunc.c: New file.
57890 * benchtests/bench-strspn.c: New file.
57891 * benchtests/bench-strstr-ifunc.c: New file.
57892 * benchtests/bench-strstr.c: New file.
57893
57894 * benchtests/Makefile: Disable parallel execution of targets.
57895 (string-bench): Add memcpy.
57896 (benchset): New variable to store a list of benchmark sets.
57897 (bench-func): Renamed from bench.
57898 (bench-set): New target.
57899 (bench): Depend on bench-func and bench-set.
57900 * benchtests/README: Add section on benchmark sets.
57901 * benchtests/bench-memcpy-ifunc.c: New file.
57902 * benchtests/bench-memcpy.c: New file.
57903 * benchtests/bench-string.h: New file.
57904
57905 2013-06-11 Andreas Schwab <schwab@suse.de>
57906
57907 [BZ #15577]
57908 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57909 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57910 values in the triple.
57911 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57912 terminator in the group key.
57913
57914 2013-06-11 Andreas Jaeger <aj@suse.de>
57915
57916 * po/zh_TW.po: Update Chinese (traditional) translation from
57917 translation project.
57918
57919 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57920
57921 * include/time.h (__clock_gettime): Add libc_hidden_proto.
57922 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57923 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
57924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57925 (clock_getcpuclockid): Likewise.
57926 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57927 Add weak_alias and libc_hidden_def.
57928 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57929 * rt/clock_gettime.c (clock_gettime): Rename to
57930 __clock_gettime. Add weak_alias and libc_hidden_def.
57931 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57932 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57933 __clock_nanosleep. Add weak_alias and libc_hidden_def.
57934 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57935 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57936 Likewise.
57937 * rt/clock_settime.c (clock_settime): Rename to
57938 __clock_settime. Add weak_alias and libc_hidden_def.
57939 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57940
57941 2013-06-10 Joseph Myers <joseph@codesourcery.com>
57942
57943 * mach/err_boot.sub: Remove trailing whitespace.
57944 * mach/err_ipc.sub: Likewise.
57945 * mach/err_mach.sub: Likewise.
57946
57947 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57948 (ROUNDING_TESTS_double): Likewise.
57949 (ROUNDING_TESTS_long_double): Likewise.
57950 (ROUNDING_TESTS): Likewise.
57951 * math/libm-test.inc: Include <math-tests.h>.
57952 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57953 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57954 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57955 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57956
57957 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57958
57959 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57960 of assigning.
57961
57962 2013-06-08 Joseph Myers <joseph@codesourcery.com>
57963
57964 * sysdeps/gnu/errlist.awk: Do not generate space at end of
57965 otherwise empty TRANS lines.
57966 * sysdeps/gnu/errlist.c: Regenerated.
57967
57968 * catgets/gencat.c (error_print): Use (void) in function
57969 definition.
57970 * crypt/crypt_util.c (__init_des): Likewise.
57971 * crypt/speeds.c (Stop): Likewise.
57972 (main): Likewise.
57973 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57974 * inet/ruserpass.c (token): Likewise.
57975 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57976 * intl/localealias.c (extend_alias_table): Likewise.
57977 * intl/plural-exp.c (init_germanic_plural): Likewise.
57978 * libio/fcloseall.c (__fcloseall): Likewise.
57979 * libio/genops.c (_IO_flush_all): Likewise.
57980 (_IO_flush_all_linebuffered): Likewise.
57981 (_IO_cleanup): Likewise.
57982 (_IO_iter_begin): Likewise.
57983 (_IO_iter_end): Likewise.
57984 (_IO_list_lock): Likewise.
57985 (_IO_list_unlock): Likewise.
57986 (_IO_list_resetlock): Likewise.
57987 * libio/getchar.c (getchar): Likewise.
57988 * libio/getchar_u.c (getchar_unlocked): Likewise.
57989 * libio/getwchar.c (getwchar): Likewise.
57990 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57991 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57992 * login/getpt.c (__getpt): Likewise.
57993 * login/tst-utmp.c (main): Likewise.
57994 * malloc/hooks.c (__malloc_check_init): Likewise.
57995 * malloc/malloc.c (__malloc_stats): Likewise.
57996 * malloc/mtrace.c (tr_break): Likewise.
57997 (mtrace): Likewise.
57998 (muntrace): Likewise.
57999 * misc/fstab.c (endfsent): Likewise.
58000 * misc/getclktck.c (__getclktck): Likewise.
58001 * misc/getdtsz.c (__getdtablesize): Likewise.
58002 * misc/gethostid.c (gethostid): Likewise.
58003 * misc/getpagesize.c (__getpagesize): Likewise.
58004 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58005 (__get_nprocs): Likewise.
58006 (__get_phys_pages): Likewise.
58007 (__get_avphys_pages): Likewise.
58008 * misc/getttyent.c (getttyent): Likewise.
58009 (setttyent): Likewise.
58010 (endttyent): Likewise.
58011 * misc/getusershell.c (getusershell): Likewise.
58012 (endusershell): Likewise.
58013 (setusershell): Likewise.
58014 (initshells): Likewise.
58015 * misc/hsearch.c (__hdestroy): Likewise.
58016 * misc/sync.c (sync): Likewise.
58017 * misc/syslog.c (closelog_internal): Likewise.
58018 (closelog): Likewise.
58019 * misc/ttyslot.c (ttyslot): Likewise.
58020 * misc/vhangup.c (vhangup): Likewise.
58021 * posix/fork.c (__fork): Likewise.
58022 * posix/getegid.c (__getegid): Likewise.
58023 * posix/geteuid.c (__geteuid): Likewise.
58024 * posix/getgid.c (__getgid): Likewise.
58025 * posix/getpid.c (__getpid): Likewise.
58026 * posix/getppid.c (__getppid): Likewise.
58027 * posix/getuid.c (__getuid): Likewise.
58028 * posix/pause.c (pause): Likewise.
58029 * posix/setpgrp.c (setpgrp): Likewise.
58030 * posix/setsid.c (__setsid): Likewise.
58031 * posix/test-vfork.c (noop): Likewise.
58032 * resolv/gethnamaddr.c (_endhtent): Likewise.
58033 (_gethtent): Likewise.
58034 (ht_endhostent): Likewise.
58035 (gethostent): Likewise.
58036 (dns_service): Likewise.
58037 * stdlib/drand48.c (drand48): Likewise.
58038 * stdlib/lrand48.c (lrand48): Likewise.
58039 * stdlib/mrand48.c (mrand48): Likewise.
58040 * stdlib/rand.c (rand): Likewise.
58041 * stdlib/random.c (__random): Likewise.
58042 * stdlib/setenv.c (clearenv): Likewise.
58043 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58044 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58045 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58046 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58047 (__get_nprocs): Likewise.
58048 (__get_phys_pages): Likewise.
58049 (__get_avphys_pages): Likewise.
58050 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58051 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58052 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58053 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58054 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58055 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58056 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58057 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58058 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58059 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58060 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58061 * sysdeps/mach/hurd/sync.c (sync): Likewise.
58062 * sysdeps/posix/clock.c (clock): Likewise.
58063 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58064 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58065 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58066 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58067 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58069 (__get_nprocs_conf): Likewise.
58070 (__get_phys_pages): Likewise.
58071 (__get_avphys_pages): Likewise.
58072 * time/clock.c (clock): Likewise.
58073 * time/tzset.c (__tzname_max): Likewise.
58074
58075 2013-06-07 Joseph Myers <joseph@codesourcery.com>
58076
58077 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58078 (__bswap_32): Do not use "register".
58079 * crypt/crypt.c (_ufc_doit_r): Likewise.
58080 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58081 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58082 * gmon/gmon.c (__monstartup): Likewise.
58083 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58084 * hurd/hurdmalloc.c (more_memory): Likewise.
58085 (malloc): Likewise.
58086 (free): Likewise.
58087 (realloc): Likewise.
58088 (malloc_fork_prepare): Likewise.
58089 (malloc_fork_parent): Likewise.
58090 (malloc_fork_child): Likewise.
58091 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58092 (_svcauth_des): Likewise.
58093 * inet/inet_lnaof.c (inet_lnaof): Likewise.
58094 * inet/inet_net.c (inet_network): Likewise.
58095 * inet/inet_netof.c (inet_netof): Likewise.
58096 * inet/rcmd.c (__validuser2_sa): Likewise.
58097 * io/fts.c (fts_open): Likewise.
58098 (fts_load): Likewise.
58099 (fts_close): Likewise.
58100 (fts_read): Likewise.
58101 (fts_children): Likewise.
58102 (fts_build): Likewise.
58103 (fts_stat): Likewise.
58104 (fts_sort): Likewise.
58105 (fts_alloc): Likewise.
58106 (fts_lfree): Likewise.
58107 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58108 (_IO_file_xsgetn): Likewise.
58109 (_IO_file_xsgetn_mmap): Likewise.
58110 * libio/iofopncook.c (_IO_cookie_read): Likewise.
58111 (_IO_cookie_write): Likewise.
58112 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58113 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58114 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58115 * malloc/obstack.c (_obstack_begin): Likewise.
58116 (_obstack_begin_1): Likewise.
58117 (_obstack_newchunk): Likewise.
58118 (_obstack_allocated_p): Likewise.
58119 (obstack_free): Likewise.
58120 (_obstack_memory_used): Likewise.
58121 * misc/getttyent.c (getttynam): Likewise.
58122 (getttyent): Likewise.
58123 (skip): Likewise.
58124 (value): Likewise.
58125 * misc/getusershell.c (initshells): Likewise.
58126 * misc/syslog.c (__vsyslog_chk): Likewise.
58127 * misc/ttyslot.c (ttyslot): Likewise.
58128 * nis/nis_hash.c (__nis_hash): Likewise.
58129 * posix/fnmatch_loop.c (FCT): Likewise.
58130 * posix/getconf.c (print_all): Likewise.
58131 (main): Likewise.
58132 * posix/getopt.c (exchange): Likewise.
58133 * posix/glob.c (globfree): Likewise.
58134 (prefix_array): Likewise.
58135 (__glob_pattern_type): Likewise.
58136 * resolv/arpa/nameser.h (NS_GET16): Likewise.
58137 (NS_GET32): Likewise.
58138 (NS_PUT16): Likewise.
58139 (NS_PUT32): Likewise.
58140 * resolv/gethnamaddr.c (getanswer): Likewise.
58141 (gethostbyname2): Likewise.
58142 (gethostbyaddr): Likewise.
58143 (_gethtent): Likewise.
58144 (_gethtbyname2): Likewise.
58145 (_gethtbyaddr): Likewise.
58146 * resolv/ns_print.c (dst_s_get_int16): Likewise.
58147 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58148 * resolv/res_init.c (__res_vinit): Likewise.
58149 (net_mask): Likewise.
58150 * resolv/res_mkquery.c (outchar): Likewise.
58151 (PRINT): Likewise.
58152 * stdio-common/printf_fp.c (outchar): Likewise.
58153 (PRINT): Likewise.
58154 * stdio-common/printf_fphex.c (outchar): Likewise.
58155 (PRINT): Likewise.
58156 * stdio-common/printf_size.c (outchar): Likewise.
58157 (PRINT): Likewise.
58158 * stdio-common/test_rdwr.c (main): Likewise.
58159 * stdio-common/tfformat.c (matches): Likewise.
58160 * stdio-common/vfprintf.c (outchar): Likewise.
58161 (printf_unknown): Likewise.
58162 (buffered_vfprintf): Likewise.
58163 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58164 * stdio-common/xbug.c (AppendToBuffer): Likewise.
58165 (ReadFile): Likewise.
58166 * stdlib/qsort.c (SWAP): Likewise.
58167 (_quicksort): Likewise.
58168 * stdlib/setenv.c (__add_to_environ): Likewise.
58169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58170 * stdlib/strtol_l.c (__strtol_l): Likewise.
58171 * stdlib/tst-strtod.c (main): Likewise.
58172 * stdlib/tst-strtol.c (main): Likewise.
58173 * stdlib/tst-strtoll.c (main): Likewise.
58174 * string/bits/string2.h (__strcmp_cc): Likewise.
58175 (__strcmp_cg): Likewise.
58176 (__strcspn_c1): Likewise.
58177 (__strcspn_c2): Likewise.
58178 (__strcspn_c3): Likewise.
58179 (__strspn_c1): Likewise.
58180 (__strspn_c2): Likewise.
58181 (__strspn_c3): Likewise.
58182 (__strsep_1c): Likewise.
58183 (__strsep_2c): Likewise.
58184 (__strsep_3c): Likewise.
58185 * string/memccpy.c (__memccpy): Likewise.
58186 * string/stpcpy.c (__stpcpy): Likewise.
58187 * string/strcmp.c (strcmp): Likewise.
58188 * string/strrchr.c (strrchr): Likewise.
58189 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58190 Likewise.
58191 * sysdeps/mach/hurd/getcwd.c
58192 (_hurd_canonicalize_directory_name_internal): Likewise.
58193 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58194 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58195 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58196 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58197 Likewise, in both definitions.
58198 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58199 definitions.
58200 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58201 64] (__bswap_64): Likewise.
58202 * time/test_time.c (main): Likewise.
58203 * time/tzfile.c (__tzfile_read): Likewise.
58204 (__tzfile_compute): Likewise.
58205 * time/tzset.c (__tzset_parse_tz): Likewise.
58206 (tzset_internal): Likewise.
58207 (compute_change): Likewise.
58208 * wcsmbs/wcscat.c (__wcscat): Likewise.
58209 * wcsmbs/wcschr.c (wcschr): Likewise.
58210 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58211 * wcsmbs/wcscspn.c (wcscspn): Likewise.
58212 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58213 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58214 * wcsmbs/wcsspn.c (wcsspn): Likewise.
58215 * wcsmbs/wcsstr.c (wcsstr): Likewise.
58216 * wcsmbs/wmemchr.c (wmemchr): Likewise.
58217 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58218 * wcsmbs/wmemset.c (wmemset): Likewise.
58219
58220 2013-06-06 Joseph Myers <joseph@codesourcery.com>
58221
58222 * scripts/config.guess: Update to version 2013-05-16.
58223 * scripts/config.sub: Update to version 2013-04-24.
58224 * scripts/install-sh: Update to version 2011-11-20.07.
58225 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58226 * scripts/move-if-change: Update to version 2012-01-06 07:23.
58227
58228 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
58229
58230 * debug/fgetws_u_chk.c: Fix leading whitespaces.
58231 * elf/sln.c: Likewise.
58232 * hurd/hurd/ioctl.h: Likewise.
58233 * hurd/hurdmalloc.c: Likewise.
58234 * hurd/xattr.c: Likewise.
58235 * include/shlib-compat.h: Likewise.
58236 * inet/ruserpass.c: Likewise.
58237 * libio/iofgets_u.c: Likewise.
58238 * libio/iofgetws_u.c: Likewise.
58239 * locale/programs/ld-identification.c: Likewise.
58240 * locale/programs/ld-time.c: Likewise.
58241 * mach/msg-destroy.c: Likewise.
58242 * nss/nss_files/files-netgrp.c: Likewise.
58243 * resolv/res_data.c: Likewise.
58244 * soft-fp/op-1.h: Likewise.
58245 * soft-fp/op-2.h: Likewise.
58246 * soft-fp/op-4.h: Likewise.
58247 * soft-fp/op-common.h: Likewise.
58248 * stdio-common/printf_fphex.c: Likewise.
58249 * stdlib/strtod_l.c: Likewise.
58250 * sunrpc/rpc/clnt.h: Likewise.
58251 * sysdeps/generic/framestate.c: Likewise.
58252 * sysdeps/i386/bsd-_setjmp.S: Likewise.
58253 * sysdeps/i386/bsd-setjmp.S: Likewise.
58254 * sysdeps/i386/__longjmp.S: Likewise.
58255 * sysdeps/i386/setjmp.S: Likewise.
58256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58257 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58259 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58261 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58265 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58266 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58267 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58268 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58269 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58270 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58272 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58273 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58274 * sysdeps/ieee754/support.c: Likewise.
58275 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58276 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58277 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58278 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58279 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58280 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58281 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58282 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58283 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58284 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58285 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58286 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58287 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58288 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58290 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58291 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58293
58294 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
58295
58296 * posix/transbug.c: Remove executable mode.
58297
58298 2013-06-05 Joseph Myers <joseph@codesourcery.com>
58299
58300 * crypt/speeds.c: Remove trailing whitespace.
58301 * dlfcn/default.c: Likewise.
58302 * elf/ifuncdep2.c: Likewise.
58303 * elf/ifuncmain1.c: Likewise.
58304 * elf/ifuncmain1vis.c: Likewise.
58305 * elf/testobj.h: Likewise.
58306 * elf/tst-stackguard1.c: Likewise.
58307 * gmon/sys/gmon.h: Likewise.
58308 * hurd/hurdmsg.c: Likewise.
58309 * hurd/new-fd.c: Likewise.
58310 * hurd/ports-get.c: Likewise.
58311 * iconvdata/ibm1008_420.c: Likewise.
58312 * inet/tst-getni1.c: Likewise.
58313 * inet/tst-getni2.c: Likewise.
58314 * libio/ioungetc.c: Likewise.
58315 * libio/wfiledoalloc.c: Likewise.
58316 * manual/libm-err-tab.pl: Likewise.
58317 * math/w_dremf.c: Likewise.
58318 * misc/ftruncate.c: Likewise.
58319 * posix/bug-glob2.c: Likewise.
58320 * posix/tst-pcre.c: Likewise.
58321 * posix/wait4.c: Likewise.
58322 * resolv/README: Likewise.
58323 * resolv/res_debug.h: Likewise.
58324 * resolv/tst-inet_ntop.c: Likewise.
58325 * setjmp/bug269-setjmp.c: Likewise.
58326 * soft-fp/extended.h: Likewise.
58327 * soft-fp/op-1.h: Likewise.
58328 * soft-fp/op-2.h: Likewise.
58329 * soft-fp/op-4.h: Likewise.
58330 * soft-fp/op-8.h: Likewise.
58331 * soft-fp/testit.c: Likewise.
58332 * stdio-common/bug16.c: Likewise.
58333 * stdlib/random.c: Likewise.
58334 * sunrpc/rpcsvc/rquota.x: Likewise.
58335 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58336 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58338 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58339 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58340 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58341 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58342 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58344 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58345 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58346 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58348 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58351 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58353 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58356 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58357 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58358 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58359 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58360 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58362 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58364 * sysdeps/ieee754/s_lib_version.c: Likewise.
58365 * sysdeps/mach/hurd/check_fds.c: Likewise.
58366 * sysdeps/mach/hurd/getsockname.c: Likewise.
58367 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58368 * sysdeps/mach/hurd/recvfrom.c: Likewise.
58369 * sysdeps/powerpc/bits/link.h: Likewise.
58370 * sysdeps/powerpc/dl-procinfo.c: Likewise.
58371 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58372 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58373 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58374 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58375 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58376 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58377 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58378 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58379 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58380 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58381 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58382 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58383 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58384 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58385 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58391 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58392 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58393 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58394 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58395 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58397 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58402 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58404 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58405 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58406 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58407 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58408 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58409 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58410 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58411 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58412 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58413 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58414 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58415 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58416 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58417 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58418 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58419 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58423 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58424 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58425 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58426 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58427 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58428 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58432 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58433 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58434 * sysdeps/powerpc/sysdep.h: Likewise.
58435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58436 * sysdeps/s390/s390-64/sub_n.S: Likewise.
58437 * sysdeps/sh/dl-trampoline.S: Likewise.
58438 * sysdeps/sh/memset.S: Likewise.
58439 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58440 * sysdeps/sh/strlen.S: Likewise.
58441 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58442 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58443 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58444 * sysdeps/sparc/sparc32/rem.S: Likewise.
58445 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58446 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58447 * sysdeps/sparc/sparc32/strchr.S: Likewise.
58448 * sysdeps/sparc/sparc32/udiv.S: Likewise.
58449 * sysdeps/sparc/sparc32/urem.S: Likewise.
58450 * sysdeps/sparc/sparc64/add_n.S: Likewise.
58451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58452 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58453 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58454 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58455 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58456 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58457 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58458 * sysdeps/unix/bsd/times.c: Likewise.
58459 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58460 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58464 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58466 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58467 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58468 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58469 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58470 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58471 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58472 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58473 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58474 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58475 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58476 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58477 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58478 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58479 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58480 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58481 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58482 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58483 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58484 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58485 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58486 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58487 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58488 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58489 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58490 * sysdeps/x86_64/strcspn.S: Likewise.
58491
58492 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
58493
58494 * locale/C-translit.h: Revert #include <stdint.h> because this is a
58495 generated file. Regenerate properly from gen-translit.pl.
58496 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
58497 locale/C-translit.h.
58498
58499 2013-06-05 Andreas Schwab <schwab@suse.de>
58500
58501 [BZ #15100]
58502 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58503 week as 6 instead of -1.
58504 * time/tst-strptime.c (day_tests): Add test case.
58505
58506 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58507
58508 * sysdeps/generic/math_private.h
58509 (libc_feholdexcept_setround_53bit): Replace with
58510 libc_feholdsetround_53bit.
58511 (libc_feupdateenv_53bit): Replace with
58512 libc_feresetround_53bit.
58513 (SET_RESTORE_ROUND_53BIT): Adjust.
58514
58515 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58516
58517 * string/test-strchrnul.c: Add copyright header.
58518
58519 * posix/tst-getaddrinfo4.c: Increase test timeout.
58520
58521 2013-06-03 Carlos O'Donell <carlos@redhat.com>
58522
58523 [BZ #15536]
58524 * math/libm-test.inc (MAX_EXP): Remove
58525 (MIN_EXP): Define.
58526 (ulp): Use MIN_EXP - MANT_DIG.
58527 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58528
58529 2013-05-31 Carlos O'Donell <carlos@redhat.com>
58530
58531 * po/be.po: Revert last change.
58532 * po/zh_CN.po: Likewise.
58533 * po/header.pot: Likewise.
58534
58535 2013-05-31 Joseph Myers <joseph@codesourcery.com>
58536
58537 * Makefile ($(common-objpfx)linkobj/libc.so): Define
58538 link-libc-deps to empty as target-specific variable.
58539 * Makerules (link-libc-args): New variable.
58540 (libc-for-link): Likewise.
58541 (link-libc-deps): Likewise.
58542 (lib%.so): Depend on $(link-libc-deps). Link with
58543 $(link-libc-args).
58544 (build-module): Link with $(link-libc-args).
58545 (build-module-asneeded): Likewise.
58546 (build-module-helper-objlist): Filter out $(link-libc-deps) from
58547 list of objects.
58548 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58549 target-specific variable.
58550 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58551 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58552 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58553 libc.
58554 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58555 libc and ld.so.
58556 ($(objpfx)libpcprofile.so): Likewise.
58557 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58558 libc_nonshared.a.
58559 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58560 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58561 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58562 $(link-libc-deps).
58563 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58564 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58565 * login/Makefile ($(objpfx)libutil.so): Likewise.
58566 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58567 * math/Makefile ($(objpfx)libm.so): Likewise.
58568 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58569 $(objpfx)libnsl.so): Define libc-for-link as target-specific
58570 variable instead of depending directly on libc.
58571 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58572 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58573 $(link-libc-deps).
58574 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58575 libc.
58576 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58577 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58578 ($(objpfx)libanl.so): Likewise.
58579 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58580 ld.so.
58581 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58582 $(link-libc-deps).
58583 * sysdeps/i386/fpu/Makefile: Remove file.
58584 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58585 ($(objpfx)libm.so): Remove dependency on ld.so.
58586
58587 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
58588
58589 [BZ # 15553]
58590 * nis/yp_xdr.c (XDRMAXNAME): Define.
58591 (XDRMAXRECORD): Define.
58592 (xdr_domainname): Use XDRMAXNAME.
58593 (xdr_mapname): Likewise.
58594 (xdr_peername): Likewise.
58595 (xdr_keydat): Use XDRMAXRECORD.
58596 (xdr_valdat): Likewise.
58597
58598 2013-05-30 Jeff Law <law@redhat.com>
58599
58600 [BZ #14256]
58601 * manual/errno.texi (ESTALE): Update to account for more than
58602 just NFS file systems.
58603 * sysdeps/gnu/errlist.c: Regenerated.
58604
58605 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58606
58607 [BZ #15465]
58608 * elf/Makefile (tests): Add tst-null-argv.
58609 (modules-names): Add tst-null-argv-lib.
58610 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58611 (tst-null-argv-ENV): Set environment for tst-null-argv.
58612 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58613 (RTLD_PROGNAME): New macro.
58614 * elf/tst-null-argv.c: New test case.
58615 * elf/tst-null-argv-lib.c: Library for test case.
58616 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58617 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58618 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58619 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58620 * elf/dl-init.c (call_init): Likewise.
58621 (_dl_init): Likewise.
58622 * elf/dl-load.c (print_search_path): Likewise.
58623 (_dl_map_object): Likewise.
58624 * elf/dl-lookup.c (do_lookup_x): Likewise.
58625 (add_dependency): Likewise.
58626 (_dl_lookup_symbol_x): Likewise.
58627 (_dl_debug_bindings): Likewise.
58628 * elf/dl-open.c (_dl_show_scope): Likewise.
58629 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58630 * elf/dl-version.c (match_symbol): Likewise.
58631 (_dl_check_map_versions): Likewise.
58632 * elf/rtld.c (dl_main): Likewise.
58633 (print_unresolved): Use RTLD_PROGNAME.
58634 (print_missing_version): Likewise.
58635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58636 (elf_machine_rela): Likewise.
58637 * sysdeps/powerpc/powerpc32/dl-machine.c
58638 (__process_machine_rela): Likewise.
58639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58640 Likewise.
58641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58642 Likewise.
58643 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58644 Likewise.
58645 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58647 Likewise.
58648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58649 Likewise.
58650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58651
58652 2013-05-28 Carlos O'Donell <carlos@redhat.com>
58653
58654 * po/be.po: Add descriptive title.
58655 * po/zh_CN.po: Likewise.
58656 * po/header.pot: Likewise.
58657
58658 2013-05-28 Mike Frysinger <vapier@gentoo.org>
58659
58660 * locale/programs/locarchive.c (create_archive): Inlucde fname in
58661 error message.
58662 (enlarge_archive): Likewise.
58663
58664 2013-05-28 Ben North <ben@redfrontdoor.org>
58665
58666 * manual/arith.texi (frexp): It is the magnitude of the return
58667 value which lies in [0.5, 1), not the return value itself.
58668
58669 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58670
58671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58672
58673 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
58674
58675 * stdio-common/bug26.c (main): Correct fscanf template.
58676
58677 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58678 declare _dl_skip_args.
58679
58680 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58681 Don't declare.
58682
58683 * manual/platform.texi: Add missing @end deftypefun.
58684
58685 2013-05-24 Joseph Myers <joseph@codesourcery.com>
58686
58687 [BZ #15529]
58688 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58689 bit of mantissa of 2^16382.
58690 * math/libm-test.inc (hypot_test_data): Add more tests.
58691
58692 * math/libm-test.inc: Add drem and pow10 to list of tested
58693 functions.
58694 (pow10_test): New function.
58695 (drem_test): Likewise.
58696 (drem_test_tonearest): Likewise.
58697 (drem_test_towardzero): Likewise.
58698 (drem_test_downward): Likewise.
58699 (drem_test_upward): Likewise.
58700 (main): Call the new functions.
58701
58702 * math/libm-test.inc (finite_test_data): Remove.
58703 (finite_test): Run tests from isfinite_test_data.
58704 (gamma_test_data): Remove.
58705 (gamma_test): Run tests from lgamma_test_data.
58706 * sysdeps/i386/fpu/libm-test-ulps: Update.
58707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58708
58709 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58710
58711 * manual/platform.texi: Add PowerPC PPR function set documentation.
58712 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58713 implementation.
58714
58715 2013-05-24 Carlos O'Donell <carlos@redhat.com>
58716
58717 * math/libm-test.inc (MAX_EXP): Define.
58718 (ULPDIFF): Define.
58719 (ulp): New function.
58720 (check_float_internal): Use ULPDIFF.
58721 (cpow_test): Disable failing test.
58722 (check_ulp): Test ulp() implementation.
58723 (main): Call check_ulp before starting tests.
58724
58725 2013-05-24 Joseph Myers <joseph@codesourcery.com>
58726
58727 * math/gen-libm-test.pl (generate_testfile): Do not handle
58728 START_DATA and END_DATA.
58729 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58730 END_DATA.
58731 (acos_tonearest_test_data): Likewise.
58732 (acos_towardzero_test_data): Likewise.
58733 (acos_downward_test_data): Likewise.
58734 (acos_upward_test_data): Likewise.
58735 (acosh_test_data): Likewise.
58736 (asin_test_data): Likewise.
58737 (asin_tonearest_test_data): Likewise.
58738 (asin_towardzero_test_data): Likewise.
58739 (asin_downward_test_data): Likewise.
58740 (asin_upward_test_data): Likewise.
58741 (asinh_test_data): Likewise.
58742 (atan_test_data): Likewise.
58743 (atanh_test_data): Likewise.
58744 (atan2_test_data): Likewise.
58745 (cabs_test_data): Likewise.
58746 (cacos_test_data): Likewise.
58747 (cacosh_test_data): Likewise.
58748 (carg_test_data): Likewise.
58749 (casin_test_data): Likewise.
58750 (casinh_test_data): Likewise.
58751 (catan_test_data): Likewise.
58752 (catanh_test_data): Likewise.
58753 (cbrt_test_data): Likewise.
58754 (ccos_test_data): Likewise.
58755 (ccosh_test_data): Likewise.
58756 (ceil_test_data): Likewise.
58757 (cexp_test_data): Likewise.
58758 (cimag_test_data): Likewise.
58759 (clog_test_data): Likewise.
58760 (clog10_test_data): Likewise.
58761 (conj_test_data): Likewise.
58762 (copysign_test_data): Likewise.
58763 (cos_test_data): Likewise.
58764 (cos_tonearest_test_data): Likewise.
58765 (cos_towardzero_test_data): Likewise.
58766 (cos_downward_test_data): Likewise.
58767 (cos_upward_test_data): Likewise.
58768 (cosh_test_data): Likewise.
58769 (cosh_tonearest_test_data): Likewise.
58770 (cosh_towardzero_test_data): Likewise.
58771 (cosh_downward_test_data): Likewise.
58772 (cosh_upward_test_data): Likewise.
58773 (cpow_test_data): Likewise.
58774 (cproj_test_data): Likewise.
58775 (creal_test_data): Likewise.
58776 (csin_test_data): Likewise.
58777 (csinh_test_data): Likewise.
58778 (csqrt_test_data): Likewise.
58779 (ctan_test_data): Likewise.
58780 (ctan_tonearest_test_data): Likewise.
58781 (ctan_towardzero_test_data): Likewise.
58782 (ctan_downward_test_data): Likewise.
58783 (ctan_upward_test_data): Likewise.
58784 (ctanh_test_data): Likewise.
58785 (ctanh_tonearest_test_data): Likewise.
58786 (ctanh_towardzero_test_data): Likewise.
58787 (ctanh_downward_test_data): Likewise.
58788 (ctanh_upward_test_data): Likewise.
58789 (erf_test_data): Likewise.
58790 (erfc_test_data): Likewise.
58791 (exp_test_data): Likewise.
58792 (exp_tonearest_test_data): Likewise.
58793 (exp_towardzero_test_data): Likewise.
58794 (exp_downward_test_data): Likewise.
58795 (exp_upward_test_data): Likewise.
58796 (exp10_test_data): Likewise.
58797 (exp2_test_data): Likewise.
58798 (expm1_test_data): Likewise.
58799 (fabs_test_data): Likewise.
58800 (fdim_test_data): Likewise.
58801 (finite_test_data): Likewise.
58802 (floor_test_data): Likewise.
58803 (fma_test_data): Likewise.
58804 (fma_towardzero_test_data): Likewise.
58805 (fma_downward_test_data): Likewise.
58806 (fma_upward_test_data): Likewise.
58807 (fmax_test_data): Likewise.
58808 (fmin_test_data): Likewise.
58809 (fmod_test_data): Likewise.
58810 (fpclassify_test_data): Likewise.
58811 (frexp_test_data): Likewise.
58812 (gamma_test_data): Likewise.
58813 (hypot_test_data): Likewise.
58814 (ilogb_test_data): Likewise.
58815 (isfinite_test_data): Likewise.
58816 (isgreater_test_data): Likewise.
58817 (isgreaterequal_test_data): Likewise.
58818 (isinf_test_data): Likewise.
58819 (isless_test_data): Likewise.
58820 (islessequal_test_data): Likewise.
58821 (islessgreater_test_data): Likewise.
58822 (isnan_test_data): Likewise.
58823 (isnormal_test_data): Likewise.
58824 (issignaling_test_data): Likewise.
58825 (isunordered_test_data): Likewise.
58826 (j0_test_data): Likewise.
58827 (j1_test_data): Likewise.
58828 (jn_test_data): Likewise.
58829 (ldexp_test_data): Likewise.
58830 (lgamma_test_data): Likewise.
58831 (lrint_test_data): Likewise.
58832 (lrint_tonearest_test_data): Likewise.
58833 (lrint_towardzero_test_data): Likewise.
58834 (lrint_downward_test_data): Likewise.
58835 (lrint_upward_test_data): Likewise.
58836 (llrint_test_data): Likewise.
58837 (llrint_tonearest_test_data): Likewise.
58838 (llrint_towardzero_test_data): Likewise.
58839 (llrint_downward_test_data): Likewise.
58840 (llrint_upward_test_data): Likewise.
58841 (log_test_data): Likewise.
58842 (log10_test_data): Likewise.
58843 (log1p_test_data): Likewise.
58844 (log2_test_data): Likewise.
58845 (logb_test_data): Likewise.
58846 (logb_downward_test_data): Likewise.
58847 (lround_test_data): Likewise.
58848 (llround_test_data): Likewise.
58849 (modf_test_data): Likewise.
58850 (nearbyint_test_data): Likewise.
58851 (nextafter_test_data): Likewise.
58852 (nexttoward_test_data): Likewise.
58853 (pow_test_data): Likewise.
58854 (pow_tonearest_test_data): Likewise.
58855 (pow_towardzero_test_data): Likewise.
58856 (pow_downward_test_data): Likewise.
58857 (pow_upward_test_data): Likewise.
58858 (remainder_test_data): Likewise.
58859 (remainder_tonearest_test_data): Likewise.
58860 (remainder_towardzero_test_data): Likewise.
58861 (remainder_downward_test_data): Likewise.
58862 (remainder_upward_test_data): Likewise.
58863 (remquo_test_data): Likewise.
58864 (rint_test_data): Likewise.
58865 (rint_tonearest_test_data): Likewise.
58866 (rint_towardzero_test_data): Likewise.
58867 (rint_downward_test_data): Likewise.
58868 (rint_upward_test_data): Likewise.
58869 (round_test_data): Likewise.
58870 (scalb_test_data): Likewise.
58871 (scalbn_test_data): Likewise.
58872 (scalbln_test_data): Likewise.
58873 (signbit_test_data): Likewise.
58874 (sin_test_data): Likewise.
58875 (sin_tonearest_test_data): Likewise.
58876 (sin_towardzero_test_data): Likewise.
58877 (sin_downward_test_data): Likewise.
58878 (sin_upward_test_data): Likewise.
58879 (sincos_test_data): Likewise.
58880 (sinh_test_data): Likewise.
58881 (sinh_tonearest_test_data): Likewise.
58882 (sinh_towardzero_test_data): Likewise.
58883 (sinh_downward_test_data): Likewise.
58884 (sinh_upward_test_data): Likewise.
58885 (sqrt_test_data): Likewise.
58886 (tan_test_data): Likewise.
58887 (tan_tonearest_test_data): Likewise.
58888 (tan_towardzero_test_data): Likewise.
58889 (tan_downward_test_data): Likewise.
58890 (tan_upward_test_data): Likewise.
58891 (tanh_test_data): Likewise.
58892 (tgamma_test_data): Likewise.
58893 (trunc_test_data): Likewise.
58894 (y0_test_data): Likewise.
58895 (y1_test_data): Likewise.
58896 (yn_test_data): Likewise.
58897 (significand_test_data): Likewise.
58898
58899 * math/gen-libm-test.pl (@functions): Remove variable.
58900 (generate_testfile): Don't handle START and END lines.
58901 * math/libm-test.inc (START): New macro.
58902 (END): Likewise.
58903 (END_COMPLEX): Likewise.
58904 (acos_test): Use END macro without arguments.
58905 (acos_test_tonearest): Likewise.
58906 (acos_test_towardzero): Likewise.
58907 (acos_test_downward): Likewise.
58908 (acos_test_upward): Likewise.
58909 (acosh_test): Likewise.
58910 (asin_test): Likewise.
58911 (asin_test_tonearest): Likewise.
58912 (asin_test_towardzero): Likewise.
58913 (asin_test_downward): Likewise.
58914 (asin_test_upward): Likewise.
58915 (asinh_test): Likewise.
58916 (atan_test): Likewise.
58917 (atanh_test): Likewise.
58918 (atan2_test): Likewise.
58919 (cabs_test): Likewise.
58920 (cacos_test): Use END_COMPLEX macro without arguments.
58921 (cacosh_test): Likewise.
58922 (carg_test): Use END macro without arguments.
58923 (casin_test): Use END_COMPLEX macro without arguments.
58924 (casinh_test): Likewise.
58925 (catan_test): Likewise.
58926 (catanh_test): Likewise.
58927 (cbrt_test): Use END macro without arguments.
58928 (ccos_test): Use END_COMPLEX macro without arguments.
58929 (ccosh_test): Likewise.
58930 (ceil_test): Use END macro without arguments.
58931 (cexp_test): Use END_COMPLEX macro without arguments.
58932 (cimag_test): Use END macro without arguments.
58933 (clog_test): Use END_COMPLEX macro without arguments.
58934 (clog10_test): Likewise.
58935 (conj_test): Likewise.
58936 (copysign_test): Use END macro without arguments.
58937 (cos_test): Likewise.
58938 (cos_test_tonearest): Likewise.
58939 (cos_test_towardzero): Likewise.
58940 (cos_test_downward): Likewise.
58941 (cos_test_upward): Likewise.
58942 (cosh_test): Likewise.
58943 (cosh_test_tonearest): Likewise.
58944 (cosh_test_towardzero): Likewise.
58945 (cosh_test_downward): Likewise.
58946 (cosh_test_upward): Likewise.
58947 (cpow_test): Use END_COMPLEX macro without arguments.
58948 (cproj_test): Likewise.
58949 (creal_test): Use END macro without arguments.
58950 (csin_test): Use END_COMPLEX macro without arguments.
58951 (csinh_test): Likewise.
58952 (csqrt_test): Likewise.
58953 (ctan_test): Likewise.
58954 (ctan_test_tonearest): Likewise.
58955 (ctan_test_towardzero): Likewise.
58956 (ctan_test_downward): Likewise.
58957 (ctan_test_upward): Likewise.
58958 (ctanh_test): Likewise.
58959 (ctanh_test_tonearest): Likewise.
58960 (ctanh_test_towardzero): Likewise.
58961 (ctanh_test_downward): Likewise.
58962 (ctanh_test_upward): Likewise.
58963 (erf_test): Use END macro without arguments.
58964 (erfc_test): Likewise.
58965 (exp_test): Likewise.
58966 (exp_test_tonearest): Likewise.
58967 (exp_test_towardzero): Likewise.
58968 (exp_test_downward): Likewise.
58969 (exp_test_upward): Likewise.
58970 (exp10_test): Likewise.
58971 (exp2_test): Likewise.
58972 (expm1_test): Likewise.
58973 (fabs_test): Likewise.
58974 (fdim_test): Likewise.
58975 (finite_test): Likewise.
58976 (floor_test): Likewise.
58977 (fma_test): Likewise.
58978 (fma_test_towardzero): Likewise.
58979 (fma_test_downward): Likewise.
58980 (fma_test_upward): Likewise.
58981 (fmax_test): Likewise.
58982 (fmin_test): Likewise.
58983 (fmod_test): Likewise.
58984 (fpclassify_test): Likewise.
58985 (frexp_test): Likewise.
58986 (gamma_test): Likewise.
58987 (hypot_test): Likewise.
58988 (ilogb_test): Likewise.
58989 (isfinite_test): Likewise.
58990 (isgreater_test): Likewise.
58991 (isgreaterequal_test): Likewise.
58992 (isinf_test): Likewise.
58993 (isless_test): Likewise.
58994 (islessequal_test): Likewise.
58995 (islessgreater_test): Likewise.
58996 (isnan_test): Likewise.
58997 (isnormal_test): Likewise.
58998 (issignaling_test): Likewise.
58999 (isunordered_test): Likewise.
59000 (j0_test): Likewise.
59001 (j1_test): Likewise.
59002 (jn_test): Likewise.
59003 (ldexp_test): Likewise.
59004 (lgamma_test): Likewise.
59005 (lrint_test): Likewise.
59006 (lrint_test_tonearest): Likewise.
59007 (lrint_test_towardzero): Likewise.
59008 (lrint_test_downward): Likewise.
59009 (lrint_test_upward): Likewise.
59010 (llrint_test): Likewise.
59011 (llrint_test_tonearest): Likewise.
59012 (llrint_test_towardzero): Likewise.
59013 (llrint_test_downward): Likewise.
59014 (llrint_test_upward): Likewise.
59015 (log_test): Likewise.
59016 (log10_test): Likewise.
59017 (log1p_test): Likewise.
59018 (log2_test): Likewise.
59019 (logb_test): Likewise.
59020 (logb_test_downward): Likewise.
59021 (lround_test): Likewise.
59022 (llround_test): Likewise.
59023 (modf_test): Likewise.
59024 (nearbyint_test): Likewise.
59025 (nextafter_test): Likewise.
59026 (nexttoward_test): Likewise.
59027 (pow_test): Likewise.
59028 (pow_test_tonearest): Likewise.
59029 (pow_test_towardzero): Likewise.
59030 (pow_test_downward): Likewise.
59031 (pow_test_upward): Likewise.
59032 (remainder_test): Likewise.
59033 (remainder_test_tonearest): Likewise.
59034 (remainder_test_towardzero): Likewise.
59035 (remainder_test_downward): Likewise.
59036 (remainder_test_upward): Likewise.
59037 (remquo_test): Likewise.
59038 (rint_test): Likewise.
59039 (rint_test_tonearest): Likewise.
59040 (rint_test_towardzero): Likewise.
59041 (rint_test_downward): Likewise.
59042 (rint_test_upward): Likewise.
59043 (round_test): Likewise.
59044 (scalb_test): Likewise.
59045 (scalbn_test): Likewise.
59046 (scalbln_test): Likewise.
59047 (signbit_test): Likewise.
59048 (sin_test): Likewise.
59049 (sin_test_tonearest): Likewise.
59050 (sin_test_towardzero): Likewise.
59051 (sin_test_downward): Likewise.
59052 (sin_test_upward): Likewise.
59053 (sincos_test): Likewise.
59054 (sinh_test): Likewise.
59055 (sinh_test_tonearest): Likewise.
59056 (sinh_test_towardzero): Likewise.
59057 (sinh_test_downward): Likewise.
59058 (sinh_test_upward): Likewise.
59059 (sqrt_test): Likewise.
59060 (tan_test): Likewise.
59061 (tan_test_tonearest): Likewise.
59062 (tan_test_towardzero): Likewise.
59063 (tan_test_downward): Likewise.
59064 (tan_test_upward): Likewise.
59065 (tanh_test): Likewise.
59066 (tgamma_test): Likewise.
59067 (trunc_test): Likewise.
59068 (y0_test): Likewise.
59069 (y1_test): Likewise.
59070 (yn_test): Likewise.
59071 (significand_test): Likewise.
59072
59073 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
59074
59075 [BZ #15381]
59076 * libio/genops.c (_IO_no_init): Initialize wide struct info.
59077
59078 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
59079
59080 [BZ #14894]
59081 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59082 __ppc_mdoio and __ppc_mdoom.
59083 * manual/platform.texi: Document new functions __ppc_yield,
59084 __ppc_mdoio and __ppc_mdoom.
59085
59086 2013-05-22 Carlos O'Donell <carlos@redhat.com>
59087
59088 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59089 (main): Mention "tls" pseudo-hwcap is legacy.
59090 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59091
59092 2013-05-22 Joseph Myers <joseph@codesourcery.com>
59093
59094 * math/gen-libm-test.pl (parse_args): Output only string of
59095 arguments as text for test name, not full call or descriptions of
59096 tests for extra outputs.
59097 (generate_testfile): Do not pass function name to parse_args.
59098 Generate this_func variable from START.
59099 * math/libm-test.inc (struct test_f_f_data): Rename test_name
59100 field to arg_str.
59101 (struct test_ff_f_data): Likewise.
59102 (test_ff_f_data_nexttoward): Likewise.
59103 (struct test_fi_f_data): Likewise.
59104 (struct test_fl_f_data): Likewise.
59105 (struct test_if_f_data): Likewise.
59106 (struct test_fff_f_data): Likewise.
59107 (struct test_c_f_data): Likewise.
59108 (struct test_f_f1_data): Likewise. Remove field extra_name.
59109 (struct test_fF_f1_data): Likewise.
59110 (struct test_ffI_f1_data): Likewise.
59111 (struct test_c_c_data): Rename test_name field to arg_str.
59112 (struct test_cc_c_data): Likewise.
59113 (struct test_f_i_data): Likewise.
59114 (struct test_ff_i_data): Likewise.
59115 (struct test_f_l_data): Likewise.
59116 (struct test_f_L_data): Likewise.
59117 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
59118 and extra2_name.
59119 (COMMON_TEST_SETUP): New macro.
59120 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59121 (COMMON_TEST_CLEANUP): Likewise.
59122 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59123 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
59124 macros.
59125 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59126 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
59127 macros.
59128 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59129 (RUN_TEST_fff_f): Take argument string. Call new setup and
59130 cleanup macros.
59131 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59132 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
59133 macros.
59134 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59135 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
59136 macros.
59137 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59138 (RUN_TEST_fF_f1): Take argument string. Call new setup and
59139 cleanup macros.
59140 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59141 (RUN_TEST_fI_f1): Take argument string. Call new setup and
59142 cleanup macros.
59143 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59144 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
59145 cleanup macros.
59146 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59147 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
59148 macros.
59149 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59150 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
59151 macros.
59152 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59153 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
59154 macros.
59155 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59156 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
59157 cleanup macros.
59158 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59159 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
59160 cleanup macros.
59161 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59162 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
59163 macros.
59164 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59165 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
59166 cleanup macros.
59167 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59168 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
59169 macros.
59170 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59171 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
59172 macros.
59173 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59174 (RUN_TEST_fFF_11): Take argument string. Call new setup and
59175 cleanup macros.
59176 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59177
59178 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
59179
59180 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59181 to _sifields.sigfault.
59182 (si_addr_lsb): Define new macro.
59183 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59184 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59186
59187 2013-05-03 Carlos O'Donell <carlos at redhat.com>
59188
59189 [BZ #15441]
59190 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59191 returns -1.
59192 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59193 null return -1.
59194 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59195 loading the domain.
59196
59197 2013-05-22 Joseph Myers <joseph@codesourcery.com>
59198
59199 * math/gen-libm-test.pl (parse_args): Do not include expected
59200 result in test name.
59201 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59203 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59204 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59207
59208 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
59209
59210 * benchtests/Makefile: Sort function entries.
59211
59212 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59213 tanh, asinh, acosh, atanh.
59214 * benchtests/acos-inputs: New file.
59215 * benchtests/acosh-inputs: New file.
59216 * benchtests/asin-inputs: New file.
59217 * benchtests/asinh-inputs: New file.
59218 * benchtests/atanh-inputs: New file.
59219 * benchtests/cosh-inputs: New file.
59220 * benchtests/log-inputs: New file.
59221 * benchtests/sinh-inputs: New file.
59222 * benchtests/tanh-inputs: New file.
59223
59224 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
59225
59226 [BZ #15339]
59227 * posix/tst-getaddrinfo4.c: New test.
59228 * posix/Makefile (tests): Add it.
59229
59230 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59231
59232 [BZ #15339]
59233 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59234 when no services were used.
59235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59236 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59237
59238 2013-05-21 Andreas Schwab <schwab@suse.de>
59239
59240 [BZ #15014]
59241 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59242 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59243 successful.
59244 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59245 redundant variable declarations and reallocation of buffer when
59246 parsing as IPv6 address. Always set NSS status when called from
59247 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
59248 buffer too small. Correct computation of needed size.
59249 * nss/Makefile (tests): Add test-digits-dots.
59250 * nss/test-digits-dots.c: New test.
59251
59252 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59253
59254 * benchtests/Makefile: Remove instructions for adding
59255 benchmark tests.
59256 * benchtests/README: New file to explain how to execute and
59257 enhance the benchmark tests.
59258
59259 2013-05-21 Andreas Schwab <schwab@suse.de>
59260
59261 [BZ #15493]
59262 * setjmp/Makefile (tests): Add tst-sigsetjmp.
59263 * setjmp/tst-sigsetjmp.c: New test.
59264
59265 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
59266
59267 * sysdeps/x86_64/memset.S (memset): New implementation.
59268 (__bzero): Likewise.
59269 (__memset_tail): New function.
59270
59271 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
59272
59273 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59274 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59275 __memcpy_sse2_unaligned ifunc selection.
59276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59277 Add memcpy-sse2-unaligned.S.
59278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59279 Add: __memcpy_sse2_unaligned.
59280
59281 2013-05-19 Joseph Myers <joseph@codesourcery.com>
59282
59283 [BZ #15490]
59284 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59285 math_force_eval before restoring floating-point envrionment.
59286 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59288 Likewise.
59289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59290 <math_private.h>.
59291 (__nearbyintl): Use math_force_eval before restoring
59292 floating-point environment.
59293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59294
59295 * math/gen-libm-test.pl (special_functions): Remove.
59296 (parse_args): Don't handle TEST_extra. Handle functions with no
59297 return value.
59298 * math/libm-test.inc (struct test_sincos_data): Replace with
59299 struct test_fFF_11_data.
59300 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59301 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59302 (sincos_test_data): Change element type to struct
59303 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
59304 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59305 RUN_TEST_LOOP_sincos.
59306 * math/README.libm-test: Don't mention special handling of
59307 individual functions.
59308 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59310 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59314
59315 * math/gen-libm-test.pl (get_variable): Remove function.
59316 (parse_args): Don't show pointer parameters to call in test
59317 names. Use "extra output N" in test names for extra outputs
59318 rather than naming variables.
59319
59320 2013-05-18 Joseph Myers <joseph@codesourcery.com>
59321
59322 [BZ #15488]
59323 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59324 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59325 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59326 double tests.
59327 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59328 disable.
59329 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59330 check_long_double.
59331
59332 * math/gen-libm-test.pl (@tests): Remove variable.
59333 ($count): Likewise.
59334 (new_test): Remove function.
59335 (show_exceptions): New function.
59336 (special_functions): Use show_exceptions instead of new_test.
59337 (parse_args): Likewise.
59338 (generate_testfile): Pass only function name in generated call to
59339 print_max_error or print_complex_max_error.
59340 (get_ulps): Do not handle complex tests specially.
59341 (output_test): Rename to ...
59342 (get_all_ulps_for_test): ... this. Return a string rather than
59343 printing to a file. Require ulps to be present.
59344 (output_ulps): Generate arrays rather than #defines.
59345 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59346 (struct ulp_data): New type.
59347 (BUILD_COMPLEX_ULP): Remove macro.
59348 (compare_ulp_data): New function.
59349 (find_ulps): Likewise.
59350 (find_test_ulps): Likewise.
59351 (find_function_ulps): Likewise.
59352 (find_complex_function_ulps): Likewise.
59353 (print_max_error): Determine allowed ulps using
59354 find_function_ulps.
59355 (print_complex_max_error): Determine allowed ulps using
59356 find_complex_function_ulps.
59357 (check_float_internal): Determine max ulps using find_test_ulps.
59358 (check_float): Do not take max_ulp parameter. Update call to
59359 check_float_internal.
59360 (check_complex): Likewise.
59361 (check_int): Do not take max_ulp parameter.
59362 (check_long): Likewise.
59363 (check_bool): Likewise.
59364 (check_longlong): Likewise.
59365 (struct test_f_f_data): Remove max_ulp field.
59366 (struct test_ff_f_data): Likewise.
59367 (struct test_ff_f_data_nexttoward): Likewise.
59368 (struct test_fi_f_data): Likewise.
59369 (struct test_fl_f_data): Likewise.
59370 (struct test_if_f_data): Likewise.
59371 (struct test_fff_f_data): Likewise.
59372 (struct test_c_f_data): Likewise.
59373 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59374 (struct test_fF_f1_data): Likewise.
59375 (struct test_ffI_f1_data): Likewise.
59376 (struct test_c_c_data): Remove max_ulp field.
59377 (struct test_cc_c_data): Likewise.
59378 (struct test_f_i_data): Likewise.
59379 (struct test_ff_i_data): Likewise.
59380 (struct test_f_l_data): Likewise.
59381 (struct test_f_L_data): Likewise.
59382 (struct test_sincos_data): Likewise.
59383 (RUN_TEST_f_f): Do not handle ulps.
59384 (RUN_TEST_LOOP_f_f): Likewise.
59385 (RUN_TEST_2_f): Likewise.
59386 (RUN_TEST_LOOP_2_f): Likewise.
59387 (RUN_TEST_fff_f): Likewise.
59388 (RUN_TEST_LOOP_fff_f): Likewise.
59389 (RUN_TEST_c_f): Likewise.
59390 (RUN_TEST_LOOP_c_f): Likewise.
59391 (RUN_TEST_f_f1): Likewise.
59392 (RUN_TEST_LOOP_f_f1): Likewise.
59393 (RUN_TEST_fF_f1): Likewise.
59394 (RUN_TEST_LOOP_fF_f1): Likewise.
59395 (RUN_TEST_fI_f1): Likewise.
59396 (RUN_TEST_LOOP_fI_f1): Likewise.
59397 (RUN_TEST_ffI_f1): Likewise.
59398 (RUN_TEST_LOOP_ffI_f1): Likewise.
59399 (RUN_TEST_c_c): Likewise.
59400 (RUN_TEST_LOOP_c_c): Likewise.
59401 (RUN_TEST_cc_c): Likewise.
59402 (RUN_TEST_LOOP_cc_c): Likewise.
59403 (RUN_TEST_f_i): Likewise.
59404 (RUN_TEST_LOOP_f_i): Likewise.
59405 (RUN_TEST_f_i_tg): Likewise.
59406 (RUN_TEST_LOOP_f_i_tg): Likewise.
59407 (RUN_TEST_ff_i_tg): Likewise.
59408 (RUN_TEST_LOOP_ff_i_tg): Likewise.
59409 (RUN_TEST_f_b): Likewise.
59410 (RUN_TEST_LOOP_f_b): Likewise.
59411 (RUN_TEST_f_b_tg): Likewise.
59412 (RUN_TEST_LOOP_f_b_tg): Likewise.
59413 (RUN_TEST_f_l): Likewise.
59414 (RUN_TEST_LOOP_f_l): Likewise.
59415 (RUN_TEST_f_L): Likewise.
59416 (RUN_TEST_LOOP_f_L): Likewise.
59417 (RUN_TEST_sincos): Likewise.
59418 (RUN_TEST_LOOP_sincos): Likewise.
59419
59420 2013-05-17 Joseph Myers <joseph@codesourcery.com>
59421
59422 [BZ #15480]
59423 [BZ #15485]
59424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59425 main case of finite arguments, set rounding mode to FE_TONEAREST
59426 and discard exceptions.
59427 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59428 exceptions.
59429 (remainder_tonearest_test_data): New variable.
59430 (remainder_test_tonearest): New function.
59431 (remainder_towardzero_test_data): New variable.
59432 (remainder_test_towardzero): New function.
59433 (remainder_downward_test_data): New variable.
59434 (remainder_test_downward): New function.
59435 (remainder_upward_test_data): New variable.
59436 (remainder_test_upward): New function.
59437 (main): Call the new test functions.
59438
59439 * math/libm-test.inc (struct test_f_f1_data): Remove field
59440 extra_init.
59441 (struct test_fF_f1_data): Likewise.
59442 (struct test_ffI_f1_data): Likewise.
59443 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
59444 based on value of EXTRA_EXPECTED.
59445 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59446 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
59447 EXTRA_VAR based on value of EXTRA_EXPECTED.
59448 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59449 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
59450 EXTRA_VAR based on value of EXTRA_EXPECTED.
59451 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59452 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
59453 EXTRA_VAR based on value of EXTRA_EXPECTED.
59454 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59455 * math/gen-libm-test.pl (parse_args): Don't output initializers
59456 for extra output values.
59457
59458 * math/libm-test.inc (check_int): Expect result to be exactly
59459 equal to expected value and do not handle ulps.
59460 (check_long): Likewise.
59461 (check_longlong): Likewise.
59462
59463 * math/libm-test.inc (ceil_test_data): Test for "inexact"
59464 exceptions.
59465 (cimag_test_data): Likewise.
59466 (conj_test_data): Likewise.
59467 (copysign_test_data): Likewise.
59468 (cproj_test_data): Likewise.
59469 (creal_test_data): Likewise.
59470 (fabs_test_data): Likewise.
59471 (fdim_test_data): Likewise.
59472 (finite_test_data): Likewise.
59473 (floor_test_data): Likewise.
59474 (fmax_test_data): Likewise.
59475 (fmin_test_data): Likewise.
59476 (fmod_test_data): Likewise.
59477 (fpclassify_test_data): Likewise.
59478 (frexp_test_data): Likewise.
59479 (ilogb_test_data): Likewise.
59480 (isfinite_test_data): Likewise.
59481 (isgreater_test_data): Likewise.
59482 (isgreaterequal_test_data): Likewise.
59483 (isinf_test_data): Likewise.
59484 (isless_test_data): Likewise.
59485 (islessequal_test_data): Likewise.
59486 (islessgreater_test_data): Likewise.
59487 (isnan_test_data): Likewise.
59488 (isnormal_test_data): Likewise.
59489 (issignaling_test_data): Likewise.
59490 (isunordered_test_data): Likewise.
59491 (ldexp_test_data): Likewise.
59492 (lrint_test_data): Likewise.
59493 (lrint_test_data) [TEST_FLOAT]: Disable one test.
59494 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59495 (lrint_tonearest_test_data): Test for "inexact" exceptions.
59496 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59497 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59498 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59499 test input.
59500 (lrint_towardzero_test_data): Test for "inexact" exceptions.
59501 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59502 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59503 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59504 that test input.
59505 (lrint_downward_test_data): Test for "inexact" exceptions.
59506 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59507 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59508 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59509 test input.
59510 (lrint_upward_test_data): Test for "inexact" exceptions.
59511 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59512 test input.
59513 (llrint_test_data): Test for "inexact" exceptions.
59514 (llrint_test_data) [TEST_FLOAT]: Disable one test.
59515 (llrint_tonearest_test_data): Test for "inexact" exceptions.
59516 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59517 (llrint_towardzero_test_data): Test for "inexact" exceptions.
59518 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59519 (llrint_downward_test_data): Test for "inexact" exceptions.
59520 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59521 (llrint_upward_test_data): Test for "inexact" exceptions.
59522 (logb_test_data): Likewise.
59523 (logb_downward_test_data): Likewise.
59524 (nextafter_test_data): Likewise.
59525 (nexttoward_test_data): Likewise.
59526 (remainder_test_data): Likewise.
59527 (remquo_test_data): Likewise.
59528 (scalbn_test_data): Likewise.
59529 (scalbln_test_data): Likewise.
59530 (signbit_test_data): Likewise.
59531 (sqrt_test_data): Likewise.
59532 (significand_test_data): Likewise.
59533
59534 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
59535
59536 [BZ #15424]
59537 * benchtests/bench-modf.c (struct args): Mark arg0 as
59538 volatile.
59539 * scripts/bench.pl: Mark members of struct args as volatile.
59540
59541 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59542
59543 [BZ # 15497]
59544 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59545 negative infinity on POWER6 or lower.
59546 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59547
59548 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
59549
59550 [BZ #15442]
59551 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59552 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59553 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59554 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59555 (_FP_SETQNAN): New macro.
59556 (_FP_SETQNAN_SEMIRAW): Likewise.
59557 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59558 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59559 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59560 (FP_EXTEND): Use _FP_FRAC_SNANP.
59561 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59562 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59563 into account.
59564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59565 New macro.
59566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59567 Likewise.
59568
59569 2013-05-16 Joseph Myers <joseph@codesourcery.com>
59570
59571 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59572 with DIVIDE_BY_ZERO_EXCEPTION.
59573 (gamma_test_data): Likewise.
59574 (lgamma_test_data): Likewise.
59575 (log_test_data): Likewise.
59576 (log10_test_data): Likewise.
59577 (log2_test_data): Likewise.
59578 (tgamma_test_data): Likewise.
59579
59580 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59581 (acos_test_tonearest): Likewise.
59582 (acos_test_towardzero): Likewise.
59583 (acos_test_downward): Likewise.
59584 (acos_test_upward): Likewise.
59585 (acosh_test): Likewise.
59586 (asin_test): Likewise.
59587 (asin_test_tonearest): Likewise.
59588 (asin_test_towardzero): Likewise.
59589 (asin_test_downward): Likewise.
59590 (asin_test_upward): Likewise.
59591 (asinh_test): Likewise.
59592 (atan_test): Likewise.
59593 (atanh_test): Likewise.
59594 (atan2_test): Likewise.
59595 (cabs_test): Likewise.
59596 (cacos_test): Likewise.
59597 (cacosh_test): Likewise.
59598 (casin_test): Likewise.
59599 (casinh_test): Likewise.
59600 (catan_test): Likewise.
59601 (catanh_test): Likewise.
59602 (cbrt_test): Likewise.
59603 (ccos_test): Likewise.
59604 (ccosh_test): Likewise.
59605 (cexp_test): Likewise.
59606 (clog_test): Likewise.
59607 (clog10_test): Likewise.
59608 (cos_test): Likewise.
59609 (cos_test_tonearest): Likewise.
59610 (cos_test_towardzero): Likewise.
59611 (cos_test_downward): Likewise.
59612 (cos_test_upward): Likewise.
59613 (cosh_test): Likewise.
59614 (cosh_test_tonearest): Likewise.
59615 (cosh_test_towardzero): Likewise.
59616 (cosh_test_downward): Likewise.
59617 (cosh_test_upward): Likewise.
59618 (cpow_test): Likewise.
59619 (csin_test): Likewise.
59620 (csinh_test): Likewise.
59621 (csqrt_test): Likewise.
59622 (ctan_test): Likewise.
59623 (ctan_test_tonearest): Likewise.
59624 (ctan_test_towardzero): Likewise.
59625 (ctan_test_downward): Likewise.
59626 (ctan_test_upward): Likewise.
59627 (ctanh_test): Likewise.
59628 (ctanh_test_tonearest): Likewise.
59629 (ctanh_test_towardzero): Likewise.
59630 (ctanh_test_downward): Likewise.
59631 (ctanh_test_upward): Likewise.
59632 (erf_test): Likewise.
59633 (erfc_test): Likewise.
59634 (exp_test): Likewise.
59635 (exp_test_tonearest): Likewise.
59636 (exp_test_towardzero): Likewise.
59637 (exp_test_downward): Likewise.
59638 (exp_test_upward): Likewise.
59639 (exp10_test): Likewise.
59640 (exp2_test): Likewise.
59641 (expm1_test): Likewise.
59642 (fmod_test): Likewise.
59643 (gamma_test): Likewise.
59644 (hypot_test): Likewise.
59645 (j0_test): Likewise.
59646 (j1_test): Likewise.
59647 (jn_test): Likewise.
59648 (lgamma_test): Likewise.
59649 (log_test): Likewise.
59650 (log10_test): Likewise.
59651 (log1p_test): Likewise.
59652 (log2_test): Likewise.
59653 (logb_test_downward): Likewise.
59654 (pow_test): Likewise.
59655 (pow_test_tonearest): Likewise.
59656 (pow_test_towardzero): Likewise.
59657 (pow_test_downward): Likewise.
59658 (pow_test_upward): Likewise.
59659 (remainder_test): Likewise.
59660 (remquo_test): Likewise.
59661 (sin_test): Likewise.
59662 (sin_test_tonearest): Likewise.
59663 (sin_test_towardzero): Likewise.
59664 (sin_test_downward): Likewise.
59665 (sin_test_upward): Likewise.
59666 (sincos_test): Likewise.
59667 (sinh_test): Likewise.
59668 (sinh_test_tonearest): Likewise.
59669 (sinh_test_towardzero): Likewise.
59670 (sinh_test_downward): Likewise.
59671 (sinh_test_upward): Likewise.
59672 (sqrt_test): Likewise.
59673 (tan_test): Likewise.
59674 (tan_test_tonearest): Likewise.
59675 (tan_test_towardzero): Likewise.
59676 (tan_test_downward): Likewise.
59677 (tan_test_upward): Likewise.
59678 (tanh_test): Likewise.
59679 (tgamma_test): Likewise.
59680 (y0_test): Likewise.
59681 (y1_test): Likewise.
59682 (yn_test): Likewise.
59683
59684 * math/gen-libm-test.pl (adjust_arg): Remove function.
59685 (special_function): Remove argument $in_func. Only handle
59686 generating output for tables of tests, not inside functions.
59687 (parse_args): Likewise.
59688 (generate_testfile): Remove variable $in_func. Update call to
59689 parse_args.
59690 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59691 (MINUS_ZERO_INIT): Rename macro to minus_zero.
59692 (PLUS_INFTY_INIT): Rename macro to plus_infty.
59693 (MINUS_INFTY_INIT): Rename macro to minus_infty.
59694 (QNAN_VALUE_INIT): Rename macro to qnan_value.
59695 (MAX_VALUE_INIT): Rename macro to max_value.
59696 (MIN_VALUE_INIT): Rename macro to min_value.
59697 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59698 (plus_zero): Remove variable.
59699 (minus_zero): Likewise.
59700 (plus_infty): Likewise.
59701 (minus_infty): Likewise.
59702 (qnan_value): Likewise.
59703 (max_value): Likewise.
59704 (min_value): Likewise.
59705 (min_subnorm_value): Likewise.
59706
59707 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
59708
59709 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59710 uint64_t or uint32_t usage.
59711 * crypt/sha256-block.c: Likewise.
59712 * crypt/sha256-crypt.c: Likewise.
59713 * crypt/sha256.c: Likewise.
59714 * crypt/sha512-block.c: Likewise.
59715 * crypt/sha512-crypt.c: Likewise.
59716 * crypt/sha512.c: Likewise.
59717 * debug/backtrace-tst.c: Likewise.
59718 * debug/pcprofiledump.c: Likewise.
59719 * elf/cache.c: Likewise.
59720 * elf/dl-cache.c: Likewise.
59721 * elf/dl-misc.c: Likewise.
59722 * elf/dl-profile.c: Likewise.
59723 * elf/dl-support.c: Likewise.
59724 * elf/ldconfig.c: Likewise.
59725 * elf/sprof.c: Likewise.
59726 * iconv/dummy-repertoire.c: Likewise.
59727 * iconv/iconv_charmap.c: Likewise.
59728 * iconv/skeleton.c: Likewise.
59729 * iconvdata/8bit-generic.c: Likewise.
59730 * iconvdata/cp737.h: Likewise.
59731 * iconvdata/cp775.h: Likewise.
59732 * iconvdata/ibm1008.h: Likewise.
59733 * iconvdata/ibm1025.h: Likewise.
59734 * iconvdata/ibm1046.h: Likewise.
59735 * iconvdata/ibm1097.h: Likewise.
59736 * iconvdata/ibm1112.h: Likewise.
59737 * iconvdata/ibm1122.h: Likewise.
59738 * iconvdata/ibm1123.h: Likewise.
59739 * iconvdata/ibm1124.h: Likewise.
59740 * iconvdata/ibm1129.h: Likewise.
59741 * iconvdata/ibm1130.h: Likewise.
59742 * iconvdata/ibm1132.h: Likewise.
59743 * iconvdata/ibm1133.h: Likewise.
59744 * iconvdata/ibm1137.h: Likewise.
59745 * iconvdata/ibm1140.h: Likewise.
59746 * iconvdata/ibm1141.h: Likewise.
59747 * iconvdata/ibm1142.h: Likewise.
59748 * iconvdata/ibm1143.h: Likewise.
59749 * iconvdata/ibm1144.h: Likewise.
59750 * iconvdata/ibm1145.h: Likewise.
59751 * iconvdata/ibm1146.h: Likewise.
59752 * iconvdata/ibm1147.h: Likewise.
59753 * iconvdata/ibm1148.h: Likewise.
59754 * iconvdata/ibm1149.h: Likewise.
59755 * iconvdata/ibm1153.h: Likewise.
59756 * iconvdata/ibm1154.h: Likewise.
59757 * iconvdata/ibm1155.h: Likewise.
59758 * iconvdata/ibm1156.h: Likewise.
59759 * iconvdata/ibm1157.h: Likewise.
59760 * iconvdata/ibm1158.h: Likewise.
59761 * iconvdata/ibm1160.h: Likewise.
59762 * iconvdata/ibm1161.h: Likewise.
59763 * iconvdata/ibm1162.h: Likewise.
59764 * iconvdata/ibm1163.h: Likewise.
59765 * iconvdata/ibm1164.h: Likewise.
59766 * iconvdata/ibm1166.h: Likewise.
59767 * iconvdata/ibm1167.h: Likewise.
59768 * iconvdata/ibm12712.h: Likewise.
59769 * iconvdata/ibm1390.h: Likewise.
59770 * iconvdata/ibm1399.h: Likewise.
59771 * iconvdata/ibm16804.h: Likewise.
59772 * iconvdata/ibm4517.h: Likewise.
59773 * iconvdata/ibm4899.h: Likewise.
59774 * iconvdata/ibm4909.h: Likewise.
59775 * iconvdata/ibm4971.h: Likewise.
59776 * iconvdata/ibm5347.h: Likewise.
59777 * iconvdata/ibm803.h: Likewise.
59778 * iconvdata/ibm856.h: Likewise.
59779 * iconvdata/ibm901.h: Likewise.
59780 * iconvdata/ibm902.h: Likewise.
59781 * iconvdata/ibm9030.h: Likewise.
59782 * iconvdata/ibm9066.h: Likewise.
59783 * iconvdata/ibm921.h: Likewise.
59784 * iconvdata/ibm922.h: Likewise.
59785 * iconvdata/ibm9448.h: Likewise.
59786 * iconvdata/isiri-3342.h: Likewise.
59787 * iconvdata/jis0201.h: Likewise.
59788 * include/link.h: Likewise.
59789 * include/netdb.h: Likewise.
59790 * inet/check_native.c: Likewise.
59791 * inet/check_pf.c: Likewise.
59792 * inet/getipv4sourcefilter.c: Likewise.
59793 * inet/getnameinfo.c: Likewise.
59794 * inet/getsourcefilter.c: Likewise.
59795 * inet/htonl.c: Likewise.
59796 * inet/setipv4sourcefilter.c: Likewise.
59797 * inet/setsourcefilter.c: Likewise.
59798 * inet/test-inet6_opt.c: Likewise.
59799 * inet/tst-network.c: Likewise.
59800 * locale/C-collate.c: Likewise.
59801 * locale/C-ctype.c: Likewise.
59802 * locale/C-time.c: Likewise.
59803 * locale/C-translit.h: Likewise.
59804 * locale/loadarchive.c: Likewise.
59805 * locale/programs/3level.h: Likewise.
59806 * locale/programs/charmap.c: Likewise.
59807 * locale/programs/charmap.h: Likewise.
59808 * locale/programs/ld-address.c: Likewise.
59809 * locale/programs/ld-collate.c: Likewise.
59810 * locale/programs/ld-ctype.c: Likewise.
59811 * locale/programs/ld-identification.c: Likewise.
59812 * locale/programs/ld-measurement.c: Likewise.
59813 * locale/programs/ld-messages.c: Likewise.
59814 * locale/programs/ld-monetary.c: Likewise.
59815 * locale/programs/ld-name.c: Likewise.
59816 * locale/programs/ld-numeric.c: Likewise.
59817 * locale/programs/ld-paper.c: Likewise.
59818 * locale/programs/ld-telephone.c: Likewise.
59819 * locale/programs/ld-time.c: Likewise.
59820 * locale/programs/linereader.c: Likewise.
59821 * locale/programs/locale.c: Likewise.
59822 * locale/programs/locarchive.c: Likewise.
59823 * locale/programs/locfile.h: Likewise.
59824 * locale/programs/repertoire.c: Likewise.
59825 * locale/programs/simple-hash.c: Likewise.
59826 * locale/programs/simple-hash.h: Likewise.
59827 * malloc/memusage.c: Likewise.
59828 * malloc/memusagestat.c: Likewise.
59829 * nis/nis_defaults.c: Likewise.
59830 * nis/nis_hash.c: Likewise.
59831 * nis/nis_print.c: Likewise.
59832 * nis/nis_xdr.c: Likewise.
59833 * nscd/connections.c: Likewise.
59834 * nscd/hstcache.c: Likewise.
59835 * nscd/nscd_gethst_r.c: Likewise.
59836 * nscd/nscd_getserv_r.c: Likewise.
59837 * nscd/nscd_helper.c: Likewise.
59838 * nscd/servicescache.c: Likewise.
59839 * nss/makedb.c: Likewise.
59840 * nss/nss_db/db-XXX.c: Likewise.
59841 * nss/nss_db/db-initgroups.c: Likewise.
59842 * nss/nss_db/db-netgrp.c: Likewise.
59843 * nss/nss_files/files-network.c: Likewise.
59844 * nss/nss_files/files-parse.c: Likewise.
59845 * posix/bug-regex5.c: Likewise.
59846 * posix/fnmatch_loop.c: Likewise.
59847 * posix/regcomp.c: Likewise.
59848 * posix/regexec.c: Likewise.
59849 * posix/tst-rfc3484-2.c: Likewise.
59850 * posix/tst-rfc3484-3.c: Likewise.
59851 * posix/tst-rfc3484.c: Likewise.
59852 * resolv/nss_dns/dns-canon.c: Likewise.
59853 * resolv/nss_dns/dns-network.c: Likewise.
59854 * resolv/res_init.c: Likewise.
59855 * resolv/res_mkquery.c: Likewise.
59856 * resolv/tst-aton.c: Likewise.
59857 * stdlib/cxa_atexit.c: Likewise.
59858 * stdlib/cxa_finalize.c: Likewise.
59859 * stdlib/gen-fpioconst.c: Likewise.
59860 * stdlib/strtol_l.c: Likewise.
59861 * string/tst-endian.c: Likewise.
59862 * sunrpc/auth_des.c: Likewise.
59863 * sunrpc/clnt_udp.c: Likewise.
59864 * sunrpc/rtime.c: Likewise.
59865 * sunrpc/svcauth_des.c: Likewise.
59866 * sunrpc/xdr.c: Likewise.
59867 * sunrpc/xdr_intXX_t.c: Likewise.
59868 * sunrpc/xdr_rec.c: Likewise.
59869 * sysdeps/generic/ldconfig.h: Likewise.
59870 * sysdeps/generic/ldsodefs.h: Likewise.
59871 * sysdeps/generic/memusage.h: Likewise.
59872 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59874 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59877 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59881 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59882 * sysdeps/posix/getaddrinfo.c: Likewise.
59883 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59885 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59886 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59887 * sysdeps/powerpc/test-gettimebase.c: Likewise.
59888 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59889 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59890 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59891 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59892 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59893 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59894 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59895 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59896 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59897 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59898 * sysdeps/x86_64/dl-tls.h: Likewise.
59899 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59900 * time/alt_digit.c: Likewise.
59901 * time/era.c: Likewise.
59902 * wcsmbs/tst-c16c32-1.c: Likewise.
59903
59904 2013-05-16 Joseph Myers <joseph@codesourcery.com>
59905
59906 * math/libm-test.inc (struct test_sincos_data): New type.
59907 (RUN_TEST_LOOP_sincos): New macro.
59908 (sincos_test_data): New variable.
59909 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59910
59911 2013-05-16 Richard Henderson <rth@redhat.com>
59912
59913 * math/atest-exp2.c (LIMB64): New macro.
59914 (CONSTSZ): New macro.
59915 (mp_exp1, mp_exp_m1, mp_log2): New variables.
59916 (hexdig): Move ...
59917 (print_mpn_fp): ... to function scope.
59918 (read_mpn_hex): Remove.
59919 (get_log2): Remove.
59920 (exp2_mpn): Use mp_log2.
59921 (main): Use mp_exp1.
59922
59923 2013-05-16 Joseph Myers <joseph@codesourcery.com>
59924
59925 * math/libm-test.inc: Remove comment about not testing "inexact"
59926 exceptions.
59927 (INEXACT_EXCEPTION): New macro.
59928 (NO_INEXACT_EXCEPTION): Likewise.
59929 (INVALID_EXCEPTION_OK): Update value.
59930 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59931 (OVERFLOW_EXCEPTION_OK): Likewise.
59932 (UNDERFLOW_EXCEPTION_OK): Likewise.
59933 (IGNORE_ZERO_INF_SIGN): Likewise.
59934 (ERRNO_UNCHANGED): Likewise.
59935 (ERRNO_EDOM): Likewise.
59936 (ERRNO_ERANGE): Likewise.
59937 (test_exceptions): Handle testing "inexact" exceptions.
59938 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59939 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59940 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59941 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59942 INEXACT_EXCEPTION.
59943 (rint_towardzero_test_data): Likewise.
59944 (rint_downward_test_data): Likewise.
59945 (rint_upward_test_data): Likewise.
59946
59947 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59948 with OVERFLOW_EXCEPTION.
59949 (exp10_test_data): Likewise.
59950 (exp2_test_data): Likewise.
59951 (expm1_test_data): Likewise.
59952 (lgamma_test_data): Likewise.
59953 (pow_test_data): Likewise.
59954 (tgamma_test_data): Likewise.
59955 (yn_test_data): Remove duplicate test of overflow.
59956
59957 * math/libm-test.inc (struct test_cc_c_data): New type.
59958 (RUN_TEST_LOOP_cc_c): New macro.
59959 (cpow_test_data): New variable.
59960 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59961
59962 * math/libm-test.inc (struct test_f_L_data): New type.
59963 (RUN_TEST_LOOP_f_L): New macro.
59964 (llrint_test_data): New variable.
59965 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59966 (llrint_tonearest_test_data): New variable.
59967 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59968 (llrint_towardzero_test_data): New variable.
59969 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59970 (llrint_downward_test_data): New variable.
59971 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59972 (llrint_upward_test_data): New variable.
59973 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59974 (llround_test_data): New variable.
59975 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59976
59977 2013-05-13 Peter Collingbourne <pcc@google.com>
59978
59979 * math/atest-exp2.c (get_log2): Remove const attribute.
59980
59981 2013-05-15 Joseph Myers <joseph@codesourcery.com>
59982
59983 * math/libm-test.inc (struct test_f_l_data): New type.
59984 (RUN_TEST_LOOP_f_l): New macro.
59985 (lrint_test_data): New variable.
59986 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59987 (lrint_tonearest_test_data): New variable.
59988 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59989 (lrint_towardzero_test_data): New variable.
59990 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59991 (lrint_downward_test_data): New variable.
59992 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59993 (lrint_upward_test_data): New variable.
59994 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59995 (lround_test_data): New variable.
59996 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59997
59998 2013-05-15 Peter Collingbourne <pcc@google.com>
59999
60000 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60001 (EXTRACT_WORDS64) Use where appropriate.
60002 (INSERT_WORDS64) Likewise.
60003
60004 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60005 constraints with x constraints.
60006 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60007
60008 * malloc/obstack.c (_obstack_compat): Add initializer.
60009
60010 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
60011
60012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60013 si_trapno and add si_addr_lsb to _sifields.sigfault.
60014 (si_trapno): Remove macro.
60015 (si_addr_lsb): Define new macro.
60016 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60017
60018 2013-05-15 Joseph Myers <joseph@codesourcery.com>
60019
60020 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60021 instead of TEST_f_l.
60022 (llrint_test_tonearest): Likewise.
60023 (llrint_test_towardzero): Likewise.
60024 (llrint_test_downward): Likewise.
60025 (llrint_test_upward): Likewise.
60026 (llround_test): Likewise.
60027
60028 * math/libm-test.inc (struct test_f_i_data): Add comment.
60029 (RUN_TEST_LOOP_f_b): New macro.
60030 (RUN_TEST_LOOP_f_b_tg): Likewise.
60031 (finite_test_data): New variable.
60032 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60033 (isfinite_test_data): New variable.
60034 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60035 (isinf_test_data): New variable.
60036 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60037 (isnan_test_data): New variable.
60038 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60039 (isnormal_test_data): New variable.
60040 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60041 (issignaling_test_data): New variable.
60042 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60043 (signbit_test_data): New variable.
60044 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60045
60046 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60047 with INVALID_EXCEPTION.
60048 (acosh_test_data): Likewise.
60049 (asin_test_data): Likewise.
60050 (atanh_test_data): Likewise.
60051 (fmod_test_data): Likewise.
60052 (log_test_data): Likewise.
60053 (log10_test_data): Likewise.
60054 (log2_test_data): Likewise.
60055 (pow_test_data): Likewise.
60056 (sqrt_test_data): Likewise.
60057 (y0_test_data): Likewise.
60058 (y1_test_data): Likewise.
60059 (yn_test_data): Likewise.
60060
60061 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60062 function contents.
60063
60064 * math/libm-test.inc (struct test_ff_i_data): New type.
60065 (RUN_TEST_LOOP_ff_i_tg): New macro.
60066 (isgreater_test_data): New variable.
60067 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60068 (isgreaterequal_test_data): New variable.
60069 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60070 (isless_test_data): New variable.
60071 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60072 (islessequal_test_data): New variable.
60073 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60074 (islessgreater_test_data): New variable.
60075 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60076 (isunordered_test_data): New variable.
60077 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60078
60079 2013-05-14 David S. Miller <davem@davemloft.net>
60080
60081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60082
60083 2013-05-14 Joseph Myers <joseph@codesourcery.com>
60084
60085 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60086
60087 * math/libm-test.inc (struct test_fF_f1_data): Change type of
60088 extra_test to int.
60089 (struct test_f_i_data): Change type of max_ulp to int.
60090
60091 * math/libm-test.inc (test_ffI_f1_data): New type.
60092 (RUN_TEST_LOOP_ffI_f1): New macro.
60093 (remquo_test_data): New variable.
60094 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60095
60096 * setjmp/tst-setjmp-fp.c: New file.
60097 * setjmp/Makefile (tests): Add tst-setjmp-fp.
60098 (link-libm): New variable.
60099 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60100
60101 * math/libm-test.inc (struct test_f_i_data): New type.
60102 (RUN_TEST_LOOP_f_i): New macro.
60103 (RUN_TEST_LOOP_f_i_tg): Likewise.
60104 (fpclassify_test_data): New variable.
60105 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60106 (ilogb_test_data): New variable.
60107 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60108
60109 * math/libm-test.inc (scalbln_test): Correct function name in END
60110 call.
60111
60112 * math/libm-test.inc (struct test_f_f1_data): Add comment.
60113 (RUN_TEST_LOOP_fI_f1): New macro.
60114 (frexp_test_data): New variable.
60115 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60116
60117 * math/libm-test.inc (struct test_fF_f1_data): New type.
60118 (RUN_TEST_LOOP_fF_f1): New macro.
60119 (modf_test_data): New variable.
60120 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60121
60122 * math/libm-test.inc (struct test_f_f1_data): New type.
60123 (RUN_TEST_LOOP_f_f1): New macro.
60124 (gamma_test_data): New variable.
60125 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60126 (lgamma_test_data): New variable.
60127 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60128
60129 2013-05-13 Carlos O'Donell <carlos@redhat.com>
60130
60131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60132 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60133 (main): Comment "tls" pseudo-hwcap.
60134
60135 2013-05-13 Joseph Myers <joseph@codesourcery.com>
60136
60137 * math/libm-test.inc (struct test_fl_f_data): New type.
60138 (RUN_TEST_LOOP_fl_f): New variable.
60139 (scalbln_test_data): New variable.
60140 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60141
60142 * math/libm-test.inc (struct test_fi_f_data): New type.
60143 (RUN_TEST_LOOP_fi_f): New macro.
60144 (ldexp_test_data): New variable.
60145 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60146 (scalbn_test_data): New variable.
60147 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60148
60149 * math/libm-test.inc (struct test_c_f_data): New type.
60150 (RUN_TEST_LOOP_c_f): New macro.
60151 (cabs_test_data): New variable.
60152 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60153 (carg_test_data): New variable.
60154 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60155 (cimag_test_data): New variable.
60156 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60157 (creal_test_data): New variable.
60158 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60159
60160 * math/libm-test.inc (struct test_if_f_data): New type.
60161 (RUN_TEST_LOOP_if_f): New macro.
60162 (jn_test_data): New variable.
60163 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60164 (yn_test_data): New variable.
60165 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60166
60167 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60168
60169 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60170
60171 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60172 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60173
60174 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60175
60176 * benchtests/Makefile (CPPFLAGS-nonlib): Add
60177 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60178 (bench-deps): Add bench-timing.h.
60179 * benchtests-bench-skeleton.c: Include bench-timing.h.
60180 (main): Use TIMING_* macros instead of clock_gettime.
60181 * benchtests/bench-timing.h: New file.
60182
60183 [BZ #14582]
60184 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60185 Renamed from _LIB_VERSION.
60186 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60187
60188 2013-05-12 Joseph Myers <joseph@codesourcery.com>
60189
60190 * math/libm-test.inc (struct test_fff_f_data): New type.
60191 (RUN_TEST_LOOP_fff_f): New macro.
60192 (fma_test_data): New variable.
60193 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60194 (fma_towardzero_test_data): New variable.
60195 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60196 (fma_downward_test_data): New variable.
60197 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60198 (fma_upward_test_data): New variable.
60199 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60200
60201 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60202 (struct test_c_c_data): New type.
60203 (RUN_TEST_LOOP_c_c): New macro.
60204 (cacos_test_data): New variable.
60205 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60206 (cacosh_test_data): New variable.
60207 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60208 (casin_test_data): New variable.
60209 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60210 (casinh_test_data): New variable.
60211 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60212 (catan_test_data): New variable.
60213 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60214 (catanh_test_data): New variable.
60215 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60216 (ccos_test_data): New variable.
60217 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60218 (ccosh_test_data): New variable.
60219 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60220 (cexp_test_data): New variable.
60221 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60222 (clog_test_data): New variable.
60223 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60224 (clog10_test_data): New variable.
60225 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60226 (conj_test_data): New variable.
60227 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60228 (cproj_test_data): New variable.
60229 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60230 (csin_test_data): New variable.
60231 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60232 (csinh_test_data): New variable.
60233 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60234 (csqrt_test_data): New variable.
60235 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60236 (ctan_test_data): New variable.
60237 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60238 (ctan_tonearest_test_data): New variable.
60239 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60240 (ctan_towardzero_test_data): New variable.
60241 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60242 (ctan_downward_test_data): New variable.
60243 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60244 (ctan_upward_test_data): New variable.
60245 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60246 (ctanh_test_data): New variable.
60247 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60248 (ctanh_tonearest_test_data): New variable.
60249 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60250 (ctanh_towardzero_test_data): New variable.
60251 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60252 (ctanh_downward_test_data): New variable.
60253 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60254 (ctanh_upward_test_data): New variable.
60255 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60256 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60257 of BUILD_COMPLEX.
60258
60259 * math/libm-test.inc (struct test_ff_f_data): New type.
60260 (struct test_ff_f_data_nexttoward): Likewise.
60261 (RUN_TEST_LOOP_2_f): New macro.
60262 (RUN_TEST_LOOP_ff_f): Likewise.
60263 (atan2_test_data): New variable.
60264 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60265 (copysign_test_data): New variable.
60266 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60267 (fdim_test_data): New variable.
60268 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60269 (fmax_test_data): New variable.
60270 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60271 (fmin_test_data): New variable.
60272 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60273 (fmod_test_data): New variable.
60274 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60275 (hypot_test_data): New variable.
60276 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60277 (nextafter_test_data): New variable.
60278 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60279 (nexttoward_test_data): New variable.
60280 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60281 (pow_test_data): New variable.
60282 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60283 (pow_tonearest_test_data): New variable.
60284 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60285 (pow_towardzero_test_data): New variable.
60286 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60287 (pow_downward_test_data): New variable.
60288 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60289 (pow_upward_test_data): New variable.
60290 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60291 (remainder_test_data): New variable.
60292 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60293 (scalb_test_data): New variable.
60294 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60295 * sysdeps/i386/fpu/libm-test-ulps: Update.
60296
60297 2013-05-11 Joseph Myers <joseph@codesourcery.com>
60298
60299 * math/libm-test.inc (fma_test): Use max_value instead of local
60300 variable fltmax.
60301 (nextafter_test): Likewise.
60302
60303 * math/libm-test.inc (acos_towardzero_test_data): New variable.
60304 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60305 (acos_downward_test_data): New variable.
60306 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60307 (acos_upward_test_data): New variable.
60308 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60309 (acosh_test_data): New variable.
60310 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60311 (asin_test_data): New variable.
60312 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60313 (asin_tonearest_test_data): New variable.
60314 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60315 (asin_towardzero_test_data): New variable.
60316 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60317 (asin_downward_test_data): New variable.
60318 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60319 (asin_upward_test_data): New variable.
60320 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60321 (asinh_test_data): New variable.
60322 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60323 (atan_test_data): New variable.
60324 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60325 (atanh_test_data): New variable.
60326 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60327 (cbrt_test_data): New variable.
60328 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60329 (ceil_test_data): New variable.
60330 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60331 (cos_test_data): New variable.
60332 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60333 (cos_tonearest_test_data): New variable.
60334 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60335 (cos_towardzero_test_data): New variable.
60336 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60337 (cos_downward_test_data): New variable.
60338 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60339 (cos_upward_test_data): New variable.
60340 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60341 (cosh_test_data): New variable.
60342 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60343 (cosh_tonearest_test_data): New variable.
60344 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60345 (cosh_towardzero_test_data): New variable.
60346 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60347 (cosh_downward_test_data): New variable.
60348 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60349 (cosh_upward_test_data): New variable.
60350 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60351 (erf_test_data): New variable.
60352 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60353 (erfc_test_data): New variable.
60354 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60355 (exp_test_data): New variable.
60356 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60357 (exp_tonearest_test_data): New variable.
60358 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60359 (exp_towardzero_test_data): New variable.
60360 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60361 (exp_downward_test_data): New variable.
60362 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60363 (exp_upward_test_data): New variable.
60364 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60365 (exp10_test_data): New variable.
60366 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60367 (exp2_test_data): New variable.
60368 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60369 (expm1_test_data): New variable.
60370 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60371 (fabs_test_data): New variable.
60372 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60373 (floor_test_data): New variable.
60374 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60375 (j0_test_data): New variable.
60376 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60377 (j1_test_data): New variable.
60378 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60379 (log_test_data): New variable.
60380 (log_test): Run tests with RUN_TEST_LOOP_f_f.
60381 (log10_test_data): New variable.
60382 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60383 (log1p_test_data): New variable.
60384 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60385 (log2_test_data): New variable.
60386 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60387 (logb_test_data): New variable.
60388 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60389 (logb_downward_test_data): New variable.
60390 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60391 (nearbyint_test_data): New variable.
60392 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60393 (rint_test_data): New variable.
60394 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60395 (rint_tonearest_test_data): New variable.
60396 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60397 (rint_towardzero_test_data): New variable.
60398 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60399 (rint_downward_test_data): New variable.
60400 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60401 (rint_upward_test_data): New variable.
60402 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60403 (round_test_data): New variable.
60404 (round_test): Run tests with RUN_TEST_LOOP_f_f.
60405 (sin_test_data): New variable.
60406 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60407 (sin_tonearest_test_data): New variable.
60408 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60409 (sin_towardzero_test_data): New variable.
60410 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60411 (sin_downward_test_data): New variable.
60412 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60413 (sin_upward_test_data): New variable.
60414 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60415 (sinh_test_data): New variable.
60416 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60417 (sinh_tonearest_test_data): New variable.
60418 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60419 (sinh_towardzero_test_data): New variable.
60420 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60421 (sinh_downward_test_data): New variable.
60422 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60423 (sinh_upward_test_data): New variable.
60424 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60425 (sqrt_test_data): New variable.
60426 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60427 (tan_test_data): New variable.
60428 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60429 (tan_tonearest_test_data): New variable.
60430 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60431 (tan_towardzero_test_data): New variable.
60432 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60433 (tan_downward_test_data): New variable.
60434 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60435 (tan_upward_test_data): New variable.
60436 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60437 (tanh_test_data): New variable.
60438 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60439 (tgamma_test_data): New variable.
60440 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60441 (trunc_test_data): New variable.
60442 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60443 (y0_test_data): New variable.
60444 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60445 (y1_test_data): New variable.
60446 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60447 (significand_test_data): New variable.
60448 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60449
60450 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
60451
60452 [BZ #12387]
60453 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60454
60455 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
60456
60457 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60458
60459 2013-05-10 Andreas Jaeger <aj@suse.de>
60460
60461 [BZ #15448]
60462 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60463 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60464
60465 2013-05-10 Joseph Myers <joseph@codesourcery.com>
60466
60467 * math/gen-libm-test.pl (adjust_arg): New function.
60468 (special_functions): Handle generating output in both functions
60469 and arrays.
60470 (parse_args): Likewise.
60471 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
60472 $in_func argument to parse_args.
60473 * math/libm-test.inc (struct test_f_f_data): New type.
60474 (IF_ROUND_INIT_): New macro.
60475 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60476 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60477 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60478 (IF_ROUND_INIT_FE_UPWARD): Likewise.
60479 (ROUND_RESTORE_): Likewise.
60480 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60481 (ROUND_RESTORE_FE_TONEAREST): Likewise.
60482 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60483 (ROUND_RESTORE_FE_UPWARD): Likewise.
60484 (RUN_TEST_LOOP_f_f): New macro.
60485 (acos_test_data): New variable.
60486 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60487 (acos_tonearest_test_data): New variable.
60488 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60489
60490 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
60491
60492 * benchtests/bench-skeleton.c (startup): Fix coding style.
60493
60494 2013-05-10 Joseph Myers <joseph@codesourcery.com>
60495
60496 [BZ #6809]
60497 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60498 negative infinity argument.
60499 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60500 negative infinity argument.
60501 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60502 negative infinity argument.
60503 * math/libm-test.inc (tgamma_test): Expect errno to be set for
60504 domain errors.
60505
60506 2013-05-10 Florian Weimer <fweimer@redhat.com>
60507
60508 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60509 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60510 * iconv/iconv_prog.c (main): Likewise.
60511 * locale/programs/charmap-dir.c (charmap_readdir)
60512 (fopen_uncompressed): Likewise.
60513 * locale/programs/locfile.c (siblings_uncached)
60514 (write_locale_data): Use lstat64 instead of lstat.
60515 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60516 stat.
60517
60518 2013-05-10 Andreas Jaeger <aj@suse.de>
60519
60520 [BZ #15395]
60521 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60522 localization.
60523 Include <locale.h>.
60524
60525 2013-05-09 Carlos O'Donell <carlos@redhat.com>
60526
60527 * elf/dl-close.c (_dl_close_worker): Add comments.
60528
60529 2013-05-09 Joseph Myers <joseph@codesourcery.com>
60530
60531 [BZ #15359]
60532 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60533 high part of pi/2.
60534 (__ieee754_rem_pio2l): Update comments.
60535
60536 [BZ #15429]
60537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60538 high part of pi/2.
60539 (__ieee754_rem_pio2l): Update comments.
60540
60541 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60542 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60543
60544 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60545 M_PI_4l.
60546
60547 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60548 (M_PI_34_LOG10El): Likewise.
60549 (M_PI2_LOG10El): Likewise.
60550 (M_PI4_LOG10El): Likewise.
60551 (M_PI_LOG10El): Likewise.
60552
60553 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60554
60555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60556
60557 2013-05-08 Joseph Myers <joseph@codesourcery.com>
60558
60559 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60560 (MINUS_ZERO_INIT): Likewise.
60561 (PLUS_INFTY_INIT): Likewise.
60562 (MINUS_INFTY_INIT): Likewise.
60563 (QNAN_VALUE_INIT): Likewise.
60564 (MAX_VALUE_INIT): Likewise.
60565 (MIN_VALUE_INIT): Likewise.
60566 (MIN_SUBNORM_VALUE_INIT): Likewise.
60567 (plus_zero): Initialize with PLUS_ZERO_INIT.
60568 (minus_zero): Initialize with MINUS_ZERO_INIT.
60569 (plus_infty): Initialize with PLUS_INFTY_INIT.
60570 (minus_infty): Initialize with MINUS_INFTY_INIT.
60571 (qnan_value): Initialize with QNAN_VALUE_INIT.
60572 (max_value): Initialize with MAX_VALUE_INIT.
60573 (min_value): Initialize with MIN_VALUE_INIT.
60574 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60575
60576 * math/libm-test.inc (RUN_TEST_if_f): New macro.
60577 (jn_test): Use TEST_if_f instead of TEST_ff_f.
60578 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60579 (yn_test): Use TEST_if_f instead of TEST_ff_f.
60580
60581 * math/libm-test.inc (RUN_TEST_f_f): New macro.
60582 (RUN_TEST_2_f): Likewise.
60583 (RUN_TEST_ff_f): Likewise.
60584 (RUN_TEST_fi_f): Likewise.
60585 (RUN_TEST_fl_f): Likewise.
60586 (RUN_TEST_fff_f): Likewise.
60587 (RUN_TEST_c_f): Likewise.
60588 (RUN_TEST_f_f1): Likewise.
60589 (RUN_TEST_fF_f1): Likewise.
60590 (RUN_TEST_fI_f1): Likewise.
60591 (RUN_TEST_ffI_f1): Likewise.
60592 (RUN_TEST_c_c): Likewise.
60593 (RUN_TEST_cc_c): Likewise.
60594 (RUN_TEST_f_i): Likewise.
60595 (RUN_TEST_f_i_tg): Likewise.
60596 (RUN_TEST_ff_i_tg): Likewise.
60597 (RUN_TEST_f_b): Likewise.
60598 (RUN_TEST_f_b_tg): Likewise.
60599 (RUN_TEST_f_l): Likewise.
60600 (RUN_TEST_f_L): Likewise.
60601 (RUN_TEST_sincos): Likewise.
60602 * math/gen-libm-test.pl (new_test): Take new argument to indicate
60603 whether to show exceptions. Do not include ");\n" in return
60604 value.
60605 (special_functions): Output call to RUN_TEST_sincos instead of
60606 check_float calls. Update calls to new_test.
60607 (parse_args): Output call to single RUN_TEST_* macro instead of
60608 check_* calls and other assignments. Update calls to new_test.
60609
60610 [BZ #2546]
60611 [BZ #2560]
60612 [BZ #5159]
60613 [BZ #15426]
60614 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60615 input to result for tgamma overflow.
60616 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60617 (gamma_coeff): New variable.
60618 (NCOEFF): New macro.
60619 (gamma_positive): New function.
60620 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60621 underflow here. Use gamma_positive instead of exp (lgamma) for
60622 other arguments.
60623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60624 (gamma_coeff): New variable.
60625 (NCOEFF): New macro.
60626 (gammaf_positive): New function.
60627 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60628 underflow here. Use gamma_positive instead of exp (lgamma) for
60629 other arguments.
60630 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60631 (gamma_coeff): New variable.
60632 (NCOEFF): New macro.
60633 (gammal_positive): New function.
60634 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60635 underflow here. Use gamma_positive instead of exp (lgamma) for
60636 other arguments.
60637 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60638 (gamma_coeff): New variable.
60639 (NCOEFF): New macro.
60640 (gammal_positive): New function.
60641 (__ieee754_gammal_r): Handle positive infinity, overflow and
60642 underflow here. Handle NaN the same as positive infinity. Remove
60643 check x < 0xffffffff for negative integers. Use gamma_positive
60644 instead of exp (lgamma) for other arguments.
60645 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60646 (gamma_coeff): New variable.
60647 (NCOEFF): New macro.
60648 (gammal_positive): New function.
60649 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60650 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60651 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60652 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60653 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60654 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60655 * sysdeps/generic/math_private.h (__gamma_productf): New
60656 prototype.
60657 (__gamma_product): Likewise.
60658 (__gamma_productl): Likewise.
60659 * math/Makefile (libm-calls): Add gamma_product.
60660 * math/libm-test.inc (tgamma_test): Add more tests.
60661 * sysdeps/i386/fpu/libm-test-ulps: Update.
60662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60663
60664 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
60665
60666 * benchtests/bench-skeleton.c (main): Preheat CPU.
60667
60668 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
60669
60670 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60671
60672 2013-05-07 Roland McGrath <roland@hack.frob.com>
60673
60674 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60675 and _dl_skip_args_internal.
60676
60677 2013-05-07 Carlos O'Donell <carlos@redhat.com>
60678
60679 * manual/message.texi (Message Translation): Talk about users.
60680 Message to key mapping impacts design.
60681
60682 2013-05-06 Roland McGrath <roland@hack.frob.com>
60683
60684 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60685
60686 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60687
60688 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60689 * sysdeps/wordsize-64/glob64.c: ... here.
60690
60691 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60692 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60693 New macros.
60694
60695 * debug/getlogin_r_chk.c: Moved to ...
60696 * login/getlogin_r_chk.c: ... here.
60697 * debug/Makefile (routines): Move getlogin_r_chk to ...
60698 * login/Makefile (routines): ... here.
60699 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60700 * login/Versions (libc: GLIBC_2.4): ... here.
60701
60702 * io/poll.c (__poll): Renamed from poll.
60703 Add libc_hidden_def.
60704 (poll): Define as weak alias.
60705
60706 * debug/ptsname_r_chk.c: Moved to ...
60707 * login/ptsname_r_chk.c: ... here.
60708 * debug/Makefile (routines): Move ptsname_r_chk to ...
60709 * login/Makefile (routines): ... here.
60710 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60711 * login/Versions (libc: GLIBC_2.4): ... here.
60712
60713 * posix/getlogin.c: Moved to ...
60714 * login/getlogin.c: ... here.
60715 * posix/getlogin_r.c: Moved to ...
60716 * login/getlogin_r.c: ... here.
60717 * posix/getlogin_r.c: Moved to ...
60718 * login/getlogin_r.c: ... here.
60719 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60720 * login/Makefile (routines): ... here.
60721 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60722 * login/Versions (libc: GLIBC_2.0): ... here.
60723
60724 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60725 (setrlimit): Define as weak alias.
60726
60727 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60728 Call __ names for open, ftruncate, and close.
60729 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60730 (truncate): Define as weak alias.
60731
60732 2013-05-06 Joseph Myers <joseph@codesourcery.com>
60733
60734 * math/gen-libm-test.pl (parse_args): Initialize x before each
60735 test of frexp, modf and remquo.
60736
60737 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60738 test signgam value.
60739
60740 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60741
60742 [BZ #15418]
60743 [BZ #15419]
60744 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60745 internal tests.
60746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60747
60748 2013-05-06 Roland McGrath <roland@hack.frob.com>
60749
60750 * elf/dl-writev.h: New file.
60751 * elf/dl-misc.c: Include it.
60752 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60753 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60754
60755 2013-05-04 Joseph Myers <joseph@codesourcery.com>
60756
60757 * math/libm-test.inc (noXFails): Remove variable.
60758 (noXPasses): Likewise.
60759 (BUILD_COMPLEX_INT): Remove macro.
60760 (print_screen): Remove xfail argument.
60761 (print_screen_max_error): Likewise.
60762 (update_stats): Likewise.
60763 (print_max_error): Likewise. Update calls to other affected
60764 functions.
60765 (print_complex_max_error): Likewise.
60766 (test_single_exception): Update calls to print_screen.
60767 (test_single_errno): Likewise.
60768 (check_float_internal): Remove xfail argument. Update calls to
60769 other affected functions.
60770 (check_float): Likewise.
60771 (check_complex): Likewise.
60772 (check_int): Likewise.
60773 (check_long): Likewise.
60774 (check_bool): Likewise.
60775 (check_longlong): Likewise.
60776 (main): Don't print noXFails and noXPasses.
60777 * math/gen-libm-test.pl (top level): Don't mention expected
60778 failure handling in comment.
60779 (new_test): Don't handle expected failures.
60780 (parse_args): Don't mention expected failure handling in comment.
60781 (generate_testfile): Don't handle expected failures.
60782 (parse_ulps): Likewise.
60783 (print_ulps_file): Likewise.
60784 (get_failure): Remove function.
60785 (output_test): Don't handle expected failures.
60786 * make/README.libm-test: Don't mention expected failure handling.
60787
60788 * math/libm-test.inc (plus_zero): Make const. Add initializer.
60789 (minus_zero): Likewise.
60790 (plus_infty): Likewise.
60791 (minus_infty): Likewise.
60792 (qnan_value): Likewise.
60793 (max_value): Likewise.
60794 (min_value): Likewise.
60795 (min_subnorm_value): Likewise.
60796 (initialize): Do not initialize those variables dynamically.
60797
60798 2013-05-03 Roland McGrath <roland@hack.frob.com>
60799
60800 * io/open.c (__open_2): Moved to ...
60801 * io/open_2.c: ... this new file.
60802 * io/open64.c (__open64_2): Moved to ...
60803 * io/open64_2.c: ... this new file.
60804 * io/openat.c (__openat_2): Moved to ...
60805 * io/openat_2.c: ... this new file.
60806 * io/openat64.c (__openat64_2): Moved to ...
60807 * io/openat64_2.c: ... this new file.
60808 * io/Makefile (routines): Add them.
60809 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60810 * sysdeps/unix/sysv/linux/open_2.c: File removed.
60811 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60812 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60813 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60814 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60815 (__openat64): Add hidden_ver.
60816 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60817 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60818
60819 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60820 Separately conditionalize setting of GLRO(dl_sysinfo) so
60821 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60822 as well, but the actual setting is only under [NEED_DL_SYSINFO].
60823
60824 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60825
60826 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60827 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60828 definition.
60829 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60830 * sysdeps/unix/sysv/linux/powerpc/init-first.c
60831 (_libc_vdso_platform_setup): Add __vdso_time initialization.
60832 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60833 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60834
60835 2013-05-03 Joseph Myers <joseph@codesourcery.com>
60836
60837 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60838 test signgam value.
60839
60840 * math/libm-test.inc (hypot_test): Do not use
60841 IGNORE_ZERO_INF_SIGN.
60842
60843 2013-05-03 Andreas Jaeger <aj@suse.de>
60844
60845 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60846 Linux 3.9.
60847 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60848 (PF_MAX): Adjust for VSOCK change.
60849
60850 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60851
60852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60853
60854 2013-05-02 Carlos O'Donell <carlos@redhat.com>
60855
60856 [BZ #15264]
60857 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60858 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60859 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60860
60861 2013-05-02 David S. Miller <davem@davemloft.net>
60862
60863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60864
60865 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
60866
60867 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60868
60869 2013-05-01 Roland McGrath <roland@hack.frob.com>
60870
60871 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60872
60873 2013-05-01 Richard Smith <richard@metafoo.co.uk>
60874
60875 [BZ #14952]
60876 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60877 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60878 Use __attribute__ ((__gnu_inline__)).
60879 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60880 Don't use __attribute__ ((__gnu_inline__)).
60881
60882 2013-05-01 Joseph Myers <joseph@codesourcery.com>
60883
60884 [BZ #15423]
60885 * math/s_catan.c (__catan): Handle small real or imaginary part of
60886 input specially to avoid spurious underflow.
60887 * math/s_catanf.c (__catanf): Likewise.
60888 * math/s_catanh.c (__catanh): Likewise.
60889 * math/s_catanhf.c (__catanhf): Likewise.
60890 * math/s_catanhl.c (__catanhl): Likewise.
60891 * math/s_catanl.c (__catanl): Likewise.
60892 * math/libm-test.inc (catan_test): Add more tests.
60893 (catanh_test): Likewise.
60894 * sysdeps/i386/fpu/libm-test-ulps: Update.
60895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60896
60897 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60898
60899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60900
60901 2013-04-30 Joseph Myers <joseph@codesourcery.com>
60902
60903 [BZ #15416]
60904 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60905 accurately for denominator in atan2.
60906 * math/s_catanf.c (__catanf): Likewise.
60907 * math/s_catanh.c (__catanh): Likewise.
60908 * math/s_catanhf.c (__catanhf): Likewise.
60909 * math/s_catanhl.c (__catanhl): Likewise.
60910 * math/s_catanl.c (__catanl): Likewise.
60911 * math/libm-test.inc (catan_test): Add more tests.
60912 (catanh_test): Likewise.
60913 * sysdeps/i386/fpu/libm-test-ulps: Update.
60914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60915
60916 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
60917
60918 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60919
60920 * benchtests/Makefile (bench): Remove slow benchmarks.
60921 * benchtests/atan-inputs: Add slow benchmark inputs.
60922 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60923 (BENCH_FUNC): Accept variant offset.
60924 (VARIANT): Define.
60925 * benchtests/bench-skeleton.c (main): Run benchmark for each
60926 variant.
60927 * benchtests/cos-inputs: Add slow benchmark inputs.
60928 * benchtests/exp-inputs: Likewise.
60929 * benchtests/pow-inputs: Likewise.
60930 * benchtests/sin-inputs: Likewise.
60931 * benchtests/slowatan-inputs: Remove.
60932 * benchtests/slowatan.c: Remove.
60933 * benchtests/slowcos-inputs: Remove.
60934 * benchtests/slowcos.c: Remove.
60935 * benchtests/slowexp-inputs: Remove.
60936 * benchtests/slowexp.c: Remove.
60937 * benchtests/slowpow-inputs: Remove.
60938 * benchtests/slowpow.c: Remove.
60939 * benchtests/slowsin-inputs: Remove.
60940 * benchtests/slowsin.c: Remove.
60941 * benchtests/slowtan-inputs: Remove.
60942 * benchtests/slowtan.c: Remove.
60943 * benchtests/tan-inputs: Add slow benchmark inputs.
60944 * scripts/bench.pl: Parse comments and directives.
60945
60946 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
60947 in CPPFLAGS.
60948 ($(objpfx)bench-%.c): Remove *-ITER.
60949 * benchtests/bench-modf.c: Remove definition of ITER.
60950 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60951 (main): Loop for DURATION seconds instead of fixed number of
60952 iterations.
60953 * scripts/bench.pl: Don't expect iterations in parameters.
60954
60955 2013-04-29 Roland McGrath <roland@hack.frob.com>
60956
60957 * io/fchdir.c (__fchdir): Renamed from fchdir.
60958 (fchdir): Define as weak alias.
60959
60960 2013-04-29 Joseph Myers <joseph@codesourcery.com>
60961
60962 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60963 (ERRNO_EDOM): Likewise.
60964 (ERRNO_ERANGE): Likewise.
60965 (noErrnoTests): New variable.
60966 (init_max_error): Set errno to 0.
60967 (test_single_errno): New function.
60968 (test_errno): Likewise.
60969 (check_float_internal): Call test_errno. Set errno to 0.
60970 (check_complex): Refer to errno tests in comment.
60971 (check_int): Call test_errno. Set errno to 0.
60972 (check_long): Likewise.
60973 (check_bool): Likewise.
60974 (check_longlong): Likewise.
60975 (cos_test): Use ERRNO_* flags for errno tests instead of
60976 check_int.
60977 (expm1_test): Likewise.
60978 (fmod_test): Likewise.
60979 (ilogb_test): Likewise.
60980 (lgamma_test): Likewise.
60981 (pow_test): Likewise.
60982 (remainder_test): Likewise.
60983 (sin_test): Likewise.
60984 (tan_test): Likewise.
60985 (yn_test): Likewise.
60986 (initialize): Set errno to 0.
60987 (main): Print number of errno tests.
60988 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60989
60990 2013-04-29 Andreas Jaeger <aj@suse.de>
60991
60992 [BZ #15084]
60993 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60994 and RES_USEVC.
60995
60996 [BZ #15085]
60997 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60998 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60999 unimplemented.
61000
61001 [BZ #15380]
61002 * stdlib/random.c (__initstate): Return NULL if
61003 __initstate fails.
61004
61005 [BZ #15086]
61006 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61007 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61008 RES_SNGLKUPREOP.
61009
61010 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61011
61012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61013
61014 2013-04-29 Joseph Myers <joseph@codesourcery.com>
61015
61016 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61017 of individual tests.
61018 (casin_test): Likewise.
61019 (casinh_test): Likewise.
61020
61021 2013-04-27 Joseph Myers <joseph@codesourcery.com>
61022
61023 [BZ #15409]
61024 * math/s_catan.c (__catan): Handle arguments with large real or
61025 imaginary part separately without squaring.
61026 * math/s_catanf.c (__catanf): Likewise.
61027 * math/s_catanh.c (__catanh): Likewise.
61028 * math/s_catanhf.c (__catanhf): Likewise.
61029 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61030 and redefine.
61031 (__catanhl): Handle arguments with large real or imaginary part
61032 separately without squaring.
61033 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61034 and redefine.
61035 (__catanl): Handle arguments with large real or imaginary part
61036 separately without squaring.
61037 * math/libm-test.inc (catan_test): Add more tests.
61038 (catanh_test): Likewise.
61039 * sysdeps/i386/fpu/libm-test-ulps: Update.
61040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61041
61042 2013-04-27 Andreas Jaeger <aj@suse.de>
61043
61044 [BZ #15007]
61045 * stdlib/stdlib.h: Update guards for qecvt.
61046 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61047 <stdlib.h>.
61048
61049 2013-04-27 Allan McRae <allan@archlinux.org>
61050
61051 * sysdeps/i386/fpu/libm-test-ulps: Update.
61052
61053 2013-04-26 Joseph Myers <joseph@codesourcery.com>
61054
61055 [BZ #15406]
61056 * math/s_catan.c: Include <float.h>.
61057 (__catan): Ensure underflow exception occurs for underflowed
61058 result.
61059 * math/s_catanf.c: Include <float.h>.
61060 (__catanf): Ensure underflow exception occurs for underflowed
61061 result.
61062 * math/s_catanh.c: Include <float.h>.
61063 (__catanh): Ensure underflow exception occurs for underflowed
61064 result.
61065 * math/s_catanhf.c: Include <float.h>.
61066 (__catanhf): Ensure underflow exception occurs for underflowed
61067 result.
61068 * math/s_catanhl.c: Include <float.h>.
61069 (__catanhl): Ensure underflow exception occurs for underflowed
61070 result.
61071 * math/s_catanl.c: Include <float.h>.
61072 (__catanl): Ensure underflow exception occurs for underflowed
61073 result.
61074 * math/libm-test.inc (catan_test): Add more tests.
61075 (catanh_test): Likewise.
61076
61077 [BZ #15405]
61078 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61079 underflowed result.
61080 * math/s_ccoshf.c (__ccoshf): Likewise.
61081 * math/s_ccoshl.c (__ccoshl): Likewise.
61082 * math/s_csin.c (__csin): Likewise.
61083 * math/s_csinf.c (__csinf): Likewise.
61084 * math/s_csinh.c (__csinh): Likewise.
61085 * math/s_csinhf.c (__csinhf): Likewise.
61086 * math/s_csinhl.c (__csinhl): Likewise.
61087 * math/s_csinl.c (__csinl): Likewise.
61088 * math/libm-test.inc (ccos_test): Add more tests.
61089 (ccosh_test): Likewise.
61090 (csin_test): Likewise.
61091 (csinh_test): Likewise.
61092
61093 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61094
61095 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61096 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61097 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61098 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61099 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61100 powerpc/power5+/fpu folders.
61101 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61102
61103
61104 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
61105
61106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61107
61108 2013-04-25 Joseph Myers <joseph@codesourcery.com>
61109
61110 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61111 additions to variable.
61112 [$(config-machine) = x86_64] (modules-names): Likewise.
61113 ($(objpfx)tst-audit3): Remove dependency.
61114 ($(objpfx)tst-audit3.out): Likewise.
61115 ($(objpfx)tst-audit4): Likewise.
61116 ($(objpfx)tst-audit4.out): Likewise.
61117 ($(objpfx)tst-audit5): Likewise.
61118 ($(objpfx)tst-audit5.out): Likewise.
61119 ($(objpfx)tst-audit6): Likewise.
61120 ($(objpfx)tst-audit6.out): Likewise.
61121 ($(objpfx)tst-audit7): Likewise.
61122 ($(objpfx)tst-audit7.out): Likewise.
61123 (tst-audit3-ENV): Remove variable.
61124 (tst-audit4-ENV): Likewise.
61125 (tst-audit5-ENV): Likewise.
61126 (tst-audit6-ENV): Likewise.
61127 (tst-audit7-ENV): Likewise.
61128 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61129 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61130 addition to variable.
61131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61136 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61137 tst-audit3, tst-audit4 and tst-audit5.
61138 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61139 tst-audit6 and tst-audit7.
61140 [$(subdir) = elf] (modules-names): Add audit modules for those
61141 tests.
61142 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61143 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61144 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61145 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61146 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61147 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61148 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61149 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61150 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61151 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61152 [$(subdir) = elf] (tst-audit3-ENV): New variable.
61153 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61154 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61155 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61156 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61157 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61158 Likewise.
61159 [$(subdir) = elf && $(config-cflags-avx) = yes]
61160 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61161 [$(subdir) = elf && $(config-cflags-avx) = yes]
61162 (CFLAGS-tst-auditmod4a.c): Likewise.
61163 [$(subdir) = elf && $(config-cflags-avx) = yes]
61164 (CFLAGS-tst-auditmod4b.c): Likewise.
61165 [$(subdir) = elf && $(config-cflags-avx) = yes]
61166 (CFLAGS-tst-auditmod6b.c): Likewise.
61167 [$(subdir) = elf && $(config-cflags-avx) = yes]
61168 (CFLAGS-tst-auditmod6c.c): Likewise.
61169 [$(subdir) = elf && $(config-cflags-avx) = yes]
61170 (CFLAGS-tst-auditmod7b.c): Likewise.
61171 * elf/tst-audit3.c: Move to ...
61172 * sysdeps/x86_64/tst-audit3.c: ... here.
61173 * elf/tst-audit4.c: Move to ...
61174 * sysdeps/x86_64/tst-audit4.c: ... here.
61175 * elf/tst-audit5.c: Move to ...
61176 * sysdeps/x86_64/tst-audit5.c: ... here.
61177 * elf/tst-audit6.c: Move to ...
61178 * sysdeps/x86_64/tst-audit6.c: ... here.
61179 * elf/tst-audit7.c: Move to ...
61180 * sysdeps/x86_64/tst-audit7.c: ... here.
61181 * elf/tst-auditmod3a.c: Move to ...
61182 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61183 * elf/tst-auditmod3b.c: Move to ...
61184 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61185 * elf/tst-auditmod4a.c: Move to ...
61186 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61187 * elf/tst-auditmod4b.c: Move to ...
61188 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61189 * elf/tst-auditmod5a.c: Move to ...
61190 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61191 * elf/tst-auditmod5b.c: Move to ...
61192 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61193 * elf/tst-auditmod6a.c: Move to ...
61194 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61195 * elf/tst-auditmod6b.c: Move to ...
61196 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61197 * elf/tst-auditmod6c.c: Move to ...
61198 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61199 * elf/tst-auditmod7a.c: Move to ...
61200 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61201 * elf/tst-auditmod7b.c: Move to ...
61202 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61203
61204 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
61205
61206 [BZ #15366]
61207 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61208 define unconditionally.
61209 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61210 define unconditionally.
61211 (INT8_C, INT16_C, etc.): Likewise.
61212
61213 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
61214
61215 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61216 __ehdr_start with hidden visibility.
61217
61218 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61219
61220 2013-04-24 Carlos O'Donell <carlos@redhat.com>
61221
61222 * math/libm-test.inc (cos_test): Use accurate hex constants.
61223 (sincost_test): Likewise.
61224
61225 2013-04-24 Joseph Myers <joseph@codesourcery.com>
61226
61227 * math/libm-test.inc (catan_test): Add more tests.
61228 (catanh_test): Likewise.
61229
61230 * math/s_catanf.c (__catanf): Use suffixed floating-point
61231 constants.
61232 * math/s_catanhf.c (__catanhf): Likewise.
61233 * math/s_catanhl.c (__catanhl): Likewise.
61234 * math/s_catanl.c (__catanl): Likewise.
61235
61236 [BZ #15394]
61237 * math/s_catan.c (__catan): Calculate imaginary part of result
61238 with log1p not log unless computing log of number close to 0.
61239 * math/s_catanf.c (__catanf): Likewise.
61240 * math/s_catanl.c (__catanl): Likewise.
61241 * math/s_catanh.c (__catanh): Calculate real part of result with
61242 log1p not log unless computing log of number close to 0.
61243 * math/s_catanhf.c (__catanhf): Likewise.
61244 * math/s_catanhl.c (__catanhl): Likewise.
61245 * math/libm-test.inc (catan_test): Add more tests.
61246 (catanh_test): Likewise.
61247 * sysdeps/i386/fpu/libm-test-ulps: Update.
61248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61249
61250 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
61251
61252 * benchtests/Makefile: Mention files in which fast and slow
61253 paths of math functions are implemented.
61254
61255 2013-04-23 Roland McGrath <roland@hack.frob.com>
61256
61257 * sysdeps/posix/timespec_get.c: New file.
61258
61259 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61260
61261 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61262 POWER.
61263 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61264 for POWER.
61265 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61266 powerpc/power5/fpu folders.
61267 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61268 * benchtests/Makefile: Add modf testcase.
61269 * benchtests/bench-modf.c: New file: Benchmark test for mo
61270
61271 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
61272
61273 [BZ #14888]
61274 * time/Makefile (tests): Add tst-strptime-whitespace.
61275 * time/strptime_l.c (get_number): Use ISSPACE.
61276 (__strptime_internal): Likewise.
61277 * time/tst-strptime-whitespace.c: New test case.
61278
61279 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
61280
61281 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61282 member.
61283 (_nss_files_init): Set it here.
61284
61285 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
61286
61287 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61288 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61289 unsigned.
61290
61291 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
61292
61293 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61294
61295 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
61296
61297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61298 size just once.
61299
61300 2013-04-21 David S. Miller <davem@davemloft.net>
61301
61302 * po/ru.po: Update Russion translation from translation project.
61303
61304 2013-04-17 Adam Conrad <adconrad@0c3.net>
61305
61306 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61307 and setfsgid.
61308
61309 2013-04-17 Carlos O'Donell <carlos@redhat.com>
61310
61311 * configure.in: Remove i386 configure warning. Remove i386 case.
61312 * configure: Regenerate.
61313 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61314 Add example to error message.
61315 * sysdeps/i386/configure: Regenerate.
61316
61317 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61318
61319 * benchtests/Makefile (bench): Add cos, tan, slowcos and
61320 slowtan.
61321 * benchtests/cos-inputs: New file.
61322 * benchtests/slowcos-inputs: New file.
61323 * benchtests/slowcos.c: New file.
61324 * benchtests/slowtan-inputs: New file.
61325 * benchtests/slowtan.c: New file.
61326 * benchtests/tan-inputs: New file.
61327
61328 2013-04-16 Roland McGrath <roland@hack.frob.com>
61329
61330 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61331 considered kosher.
61332
61333 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61334
61335 * benchtests/Makefile: Include cppflags-iterator.mk to add
61336 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61337
61338 * Makefile.in (bench-clean): New target.
61339 * benchtests/Makefile (bench-clean): Likewise.
61340
61341 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
61342
61343 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61344
61345 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
61346
61347 * stdio-common/tstdiomisc.c: Fix coding-style violation.
61348
61349 2013-04-15 Andreas Schwab <schwab@suse.de>
61350
61351 * nscd/grpcache.c (cache_addgr): Properly check for short write.
61352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61353 * nscd/pwdcache.c (cache_addpw): Likewise.
61354 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
61355 more than recsize.
61356
61357 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
61358
61359 * benchtests/Makefile (bench): Write all output to
61360 bench-out.tmp together.
61361
61362 2013-04-15 Andreas Schwab <schwab@suse.de>
61363
61364 * nscd/nscd.c (main): Don't fork again after closing files.
61365
61366 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
61367
61368 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61369
61370 * benchtests/Rules (bench-deps): Collect dependencies into a
61371 single variable. Add Makefile to dependencies.
61372 ($(objpfx)bench-%.c): Depend on bench-deps.
61373
61374 2013-04-12 Roland McGrath <roland@hack.frob.com>
61375 Xavier Roche <roche+kml2@exalead.com>
61376
61377 [BZ #15361]
61378 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61379 just that it's a file descriptor.
61380 * manual/llio.texi (Synchronizing AIO Operations): Update description
61381 for EBADF error from aio_fsync.
61382
61383 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
61384
61385 * Rules (bench): Move target definition...
61386 * benchtests/Makefile: ... here.
61387
61388 2013-04-11 Carlos O'Donell <carlos@redhat.com>
61389
61390 * math/libm-test.inc (cos_test): Fix PI/2 test.
61391 (sincos_test): Likewise.
61392 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61393 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61394
61395 2013-04-11 Andreas Schwab <schwab@suse.de>
61396
61397 [BZ #13988]
61398 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61399 accept exponent character only when digits were seen.
61400 * stdio-common/Makefile (tests): Add bug26.
61401 * stdio-common/bug26.c: New file.
61402
61403 [BZ #14293]
61404 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61405 non-freeable.
61406
61407 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61408
61409 * Makeconfig (rtld-prefix): Define built linker prefix.
61410 * Rules (run-bench): Use it.
61411 * math/Makefile (run-regen-ulps): Likewise.
61412
61413 * Rules (bench): Remove eval.
61414
61415 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61416 Roland McGrath <roland@hack.frob.com>
61417 Ondrej Bilka <neleai@seznam.cz>
61418
61419 [BZ #15346]
61420 * time/getdate.c: Include ctype.h and alloca.h.
61421 (__getdate_r): Trim leading and trailing spaces of input.
61422 * time/tst-getdate.c (tests): Add tests with leading and
61423 trailing spaces.
61424
61425 2013-04-08 Roland McGrath <roland@hack.frob.com>
61426
61427 [BZ #14280]
61428 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61429 when computing value.
61430
61431 2013-04-06 Carlos O'Donell <carlos@redhat.com>
61432
61433 * math/README.libm-test (How can I generate "libm-test-ulps"?):
61434 Use testrun.sh to run libm tests.
61435
61436 [BZ #15309]
61437 * elf/dl-open.c (dl_open_worker): memset all of seen array.
61438
61439 2013-04-06 Marko Myllynen <myllynen@redhat.com>
61440
61441 [BZ #15264]
61442 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61443
61444 2013-04-06 Carlos O'Donell <carlos@redhat.com>
61445
61446 * Makefile.in (regen-ulps): New target.
61447 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61448 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61449 [ifneq (no,$(PERL)] (regen-ulps): New target.
61450 [ifeq (no,$(PERL)] (regen-ulps): New target.
61451 * math/libm-test.inc (ulps_file_name): Define.
61452 (output_dir): New variable.
61453 (options): Add "output-dir" option.
61454 (parse_opt): Handle 'o' case.
61455 (main): If output_dir is non-NULL use it as a prefix
61456 otherwise use "".
61457 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61458
61459 2013-04-06 Carlos O'Donell <carlos@redhat.com>
61460
61461 [BZ #10060, #10062]
61462 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61463 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61464 fail configure if __sync_val_compare_and_swap is not inlined.
61465 * sysdeps/i386/configure: Regenerate.
61466 * configure.in: Build for i686 when configured for i386.
61467 * configure: Regenerate.
61468 * README: Remove i386 reference.
61469
61470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
61471
61472 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61473 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61474
61475 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
61476
61477 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61478 (lmsnanval): New variables.
61479 (F): Add conversion tests.
61480 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61481 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61482
61483 * stdio-common/tstdiomisc.c (F): Properly collect individual
61484 tests' results.
61485
61486 [BZ #14686, #15336]
61487 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61488 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61489 Instead, use input NaN values or generate a qNaN by arithmetic
61490 operation. Also fix bugs to comply with the standard.
61491 * math/libm-test.inc (remainder_test): Add more tests.
61492
61493 [BZ #15335, #15342]
61494 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61496 input NaN values or generate a qNaN by arithmetic operation.
61497
61498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61499 unreachable code.
61500
61501 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61502 definitions.
61503
61504 2013-04-03 Joseph Myers <joseph@codesourcery.com>
61505
61506 [BZ #14478]
61507 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61508 underflowed result.
61509 * math/s_cexpf.c (__cexpf): Likewise.
61510 * math/s_cexpl.c (__cexpl): Likewise.
61511 * math/libm-test.inc (cexp_test): Add more tests.
61512
61513 2013-04-03 Andreas Schwab <schwab@suse.de>
61514
61515 [BZ #15330]
61516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61517 order arrays from heap if bigger than alloca cutoff.
61518
61519 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
61520
61521 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61522 (SNAN_TESTS_double): Refer to GCC PR56831.
61523 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61524 GCC PR56828.
61525
61526 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
61527
61528 * Rules (bench): Move bench.out after the run is complete.
61529
61530 * Rules (bench): Echo currently running benchmark.
61531
61532 * benchtests/Makefile (bench): Add atan and slowatan.
61533 * benchtests/atan-inputs: New file.
61534 * benchtests/slowatan-inputs: New file.
61535 * benchtests/slowatan.c: New file.
61536
61537 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61539 its value.
61540
61541 [BZ #15305]
61542 * sysdeps/unix/sysv/linux/kernel-features.h
61543 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61544 __ASSUME_XFS_RESTRICTED_CHOWN.
61545 * sysdeps/unix/sysv/linux/pathconf.c
61546 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61547 Save and restore errno.
61548
61549 2013-04-02 Joseph Myers <joseph@codesourcery.com>
61550
61551 [BZ #15327]
61552 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61553 arguments using __kernel_casinh.
61554 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61555 arguments using __kernel_casinhf.
61556 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61557 arguments using __kernel_casinhl.
61558 * math/libm-test.inc (cacosh_test): Add more tests.
61559 * sysdeps/i386/fpu/libm-test-ulps: Update.
61560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61561
61562 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61563
61564 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61566
61567 * bench/Makefile (bench): Add sin and slowsin.
61568 * benchtests/sin-inputs: New file.
61569 * benchtests/slowsin-inputs: New file.
61570 * benchtests/slowsin.c: New file.
61571
61572 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61573 (bench): Add slowexp and slowpow.
61574 (exp-ITER): Increase iterations.
61575 (pow-ITER): Likewise.
61576 * benchtests/exp-inputs: Change input.
61577 * benchtests/pow-inputs: Likewise.
61578 * benchtests/slowexp-inputs: New file.
61579 * benchtests/slowexp.c: New file.
61580 * benchtests/slowpow-inputs: New file.
61581 * benchtests/slowpow.c: New file.
61582
61583 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61584
61585 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61586 instructions.
61587 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61588 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61589 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61590 * benchtests/Makefile: Add rint benchtest.
61591 * benchtests/rint-inputs: Input for rint benchtest.
61592
61593 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
61594
61595 * Versions.def (libm): Add GLIBC_2.18.
61596 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61597 hidden libm prototypes.
61598 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61599 * math/Makefile (libm-calls): Add s_issignaling.
61600 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61601 __issignalingf, __issignalingl. Adjust all libm.abilist files.
61602 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61603 declaration.
61604 * math/math.h [__USE_GNU] (issignaling): New macro.
61605 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61606 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61607 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61608 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61609 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61610 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61611 * manual/arith.texi (issignaling): New section.
61612 * manual/libm-err-tab.pl (@all_functions): Update comment.
61613 * math/gen-libm-test.pl (parse_args): Apply special handling for
61614 issignaling.
61615 * math/libm-test.inc (print_float, issignaling_test): New
61616 functions.
61617 (check_float_internal): Add issignaling checks.
61618 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61619 default definition.
61620 * sysdeps/powerpc/math-tests.h: New file.
61621 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61622 tests.
61623 * math/test-snan.c (TEST_FUNC): Likewise.
61624
61625 2013-03-30 David S. Miller <davem@davemloft.net>
61626
61627 * po/de.po: Update from translation team.
61628
61629 2013-03-30 Joseph Myers <joseph@codesourcery.com>
61630
61631 [BZ #10357]
61632 * math/k_casinh.c (__kernel_casinh): Handle arguments with
61633 imaginary part less than 1.0 and real part less than 0.5
61634 specially.
61635 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61636 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61637 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61638 (cacos_test): Add more tests.
61639 (casin_test): Likewise.
61640 (casinh_test): Likewise.
61641 * sysdeps/i386/fpu/libm-test-ulps: Update.
61642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61643
61644 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61645
61646 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61647 ONE with its value.
61648
61649 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61650 (__pow_mp): Replace ONE and MONE with their values.
61651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61653 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61654 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61655 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61656 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61657
61658 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61659
61660 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61661 (__pow_mp): Replace ZERO and MZERO with their values.
61662 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61663 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61664 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61666 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61667 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61668 (__sqr): Likewise.
61669
61670 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61671
61672 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61673
61674 2013-03-28 Roland McGrath <roland@hack.frob.com>
61675
61676 * include/stdlib.h [!SHARED] (__call_tls_dtors):
61677 Declare with __attribute__ ((weak)).
61678 * stdlib/exit.c (__libc_atexit) [!SHARED]:
61679 Call __call_tls_dtors only if it's not NULL.
61680
61681 2013-03-28 Roland McGrath <roland@hack.frob.com>
61682
61683 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61684 didn't do it already, then set _dl_phdr and _dl_phnum based on the
61685 magic __ehdr_start linker symbol if it's defined.
61686 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61687 them up here if it was already done.
61688
61689 * elf/dl-support.c (_dl_phdr): Make pointer to const.
61690 (_dl_aux_init): Use const in cast when setting it.
61691 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61692 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61693 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61694
61695 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61696 Declare them here.
61697 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61698 * csu/libc-tls.c: Nor here.
61699 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61700
61701 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61702 (__libc_message): Never call vsyslog.
61703
61704 2013-03-28 Alan Modra <amodra@gmail.com>
61705
61706 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61707 Define as empty.
61708 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61709 Likewise.
61710
61711 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61712
61713 [BZ #15214]
61714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61715 underflow.
61716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61717
61718 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61719
61720 [BZ #15304]
61721 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61722 Don't add gid passed as argument.
61723
61724 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61725
61726 2013-03-27 Joseph Myers <joseph@codesourcery.com>
61727
61728 [BZ #15307]
61729 * math/k_casinh.c (__kernel_casinh): Handle arguments with
61730 imaginary part between 1.0 and 1.5 and real part less than 0.5
61731 specially.
61732 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61733 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61734 * math/libm-test.inc (cacos_test): Add more tests.
61735 (casin_test): Likewise.
61736 (casinh_test): Likewise.
61737 * sysdeps/i386/fpu/libm-test-ulps: Update.
61738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61739
61740 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61741
61742 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61743 constants.
61744 (norm): Likewise.
61745 (denorm): Likewise.
61746 (__dbl_mp): Likewise.
61747 (add_magnitudes): Likewise.
61748 (sub_magnitudes): Likewise.
61749 (__add): Likewise.
61750 (__sub): Likewise.
61751 (__mul): Likewise.
61752 (__sqr): Likewise.
61753 (__inv): Likewise.
61754 (__dvd): Likewise.
61755
61756 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61757 commented code.
61758 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61759 (__dubcos): Likewise.
61760 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61761 (__ieee754_acos): Likewise.
61762 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61763 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61764 (__exp1): Likewise.
61765 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61767 (log1): Likewise.
61768 (my_log2): Likewise.
61769 (checkint): Likewise.
61770 * sysdeps/ieee754/dbl-64/e_remainder.c
61771 (__ieee754_remainder): Likewise.
61772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61774 (bsloww): Likewise.
61775 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61776
61777 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61779 MANTISSA_STORE_T to store computations on mantissa. Use
61780 macros for rounding and division.
61781 (denorm): Likewise.
61782 (__dbl_mp): Likewise.
61783 (add_magnitudes): Likewise.
61784 (sub_magnitudes): Likewise.
61785 (__mul): Likewise.
61786 (__sqr): Likewise.
61787 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
61788 powers of two in terms of TWOPOW macro.
61789 (mp_no): Make type of mantissa as MANTISSA_T.
61790 [!RADIXI]: Define RADIXI.
61791 [!TWO52]: Define TWO52.
61792 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61793
61794 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61795
61796 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61797 llroundl symbol when building for PPC32.
61798
61799 2013-03-24 Mark H Weaver <mhw@netris.org>
61800
61801 * manual/arith.texi (Normalization Functions): Fix prototypes for
61802 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61803
61804 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61805
61806 [BZ #13889]
61807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61808 high value to check if expl overflow.
61809 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61810 to check for underflow and overflow.
61811 * math/libm-test.inc: Add exp test.
61812
61813 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
61814
61815 [BZ #11120]
61816 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61817 with NOT_IN_libc.
61818
61819 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61820
61821 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61822 symbol.
61823
61824 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
61825
61826 * math/gen-libm-test.pl (parse_args, special_functions): Properly
61827 wrap blocks consisting of several statements.
61828
61829 * sysdeps/generic/math-tests.h: New file.
61830 * sysdeps/i386/fpu/math-tests.h: Likewise.
61831 * math/test-snan.c: Include it.
61832 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61833
61834 2013-03-21 Joseph Myers <joseph@codesourcery.com>
61835
61836 [BZ #15285]
61837 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61838 (__ieee754_j0l): Do not improve calculations using cos of twice
61839 input for inputs above LDBL_MAX / 2.0L.
61840 (__ieee754_y0l): Likewise.
61841 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61842 (__ieee754_j1l): Do not improve calculations using cos of twice
61843 input for inputs above LDBL_MAX / 2.0L.
61844 (__ieee754_y1l): Likewise.
61845 * math/libm-test.inc (j0_test): Add another test.
61846 (j1_test): Likewise.
61847 (y0_test): Likewise.
61848 (y1_test): Likewise.
61849 * sysdeps/i386/fpu/libm-test-ulps: Update.
61850
61851 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61852
61853 * Rules ($(objpfx)bench-%.c): Include code from a C source
61854 file.
61855
61856 2013-03-21 Joseph Myers <joseph@codesourcery.com>
61857
61858 [BZ #15287]
61859 * math/k_casinh.c (__kernel_casinh): Handle arguments with
61860 imaginary part 1.0 and real part less than 0.5 specially.
61861 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61862 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61863 * math/libm-test.inc (cacos_test): Add more tests.
61864 (casin_test): Likewise.
61865 (casinh_test): Likewise.
61866 * sysdeps/i386/fpu/libm-test-ulps: Update.
61867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61868
61869 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
61870
61871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61872 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61873
61874 2013-03-20 Joseph Myers <joseph@codesourcery.com>
61875
61876 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61877 * config.make.in (config-cflags-sse4): Remove variable.
61878 (config-cflags-avx): Likewise.
61879 (config-cflags-sse2avx): Likewise.
61880 (config-cflags-novzeroupper): Likewise.
61881 (config-asflags-i686): Likewise.
61882 (have-mfma4): Likewise.
61883 (have-as-vis3): Likewise.
61884 (MIG): Likewise.
61885 * configure.in (MIG): Do not AC_SUBST.
61886 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61887 (libc_cv_cc_sse4): Do not AC_SUBST.
61888 (libc_cv_cc_avx): Likewise.
61889 (libc_cv_cc_sse2avx): Likewise.
61890 (libc_cv_cc_novzeroupper): Likewise.
61891 (libc_cv_cc_fma4): Likewise.
61892 (libc_cv_as_i686): Likewise.
61893 (libc_cv_sparc_as_vis3): Likewise.
61894 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61895 LIBC_CONFIG_VAR.
61896 (config-asflags-i686): Likewise.
61897 (config-cflags-avx): Likewise.
61898 (config-cflags-sse2avx): Likewise.
61899 (have-mfma4): Likewise.
61900 (config-cflags-novzeroupper): Likewise.
61901 * sysdeps/mach/configure.in (MIG): Likewise.
61902 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61903 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61904 LIBC_CONFIG_VAR.
61905 (config-cflags-avx): Likewise.
61906 (config-cflags-sse2avx): Likewise.
61907 (have-mfma4): Likewise.
61908 (config-cflags-novzeroupper): Likewise.
61909 * configure: Regenerated.
61910 * sysdeps/i386/configure: Likewise.
61911 * sysdeps/mach/configure: Likewise.
61912 * sysdeps/sparc/configure: Likewise.
61913 * sysdeps/x86_64/configure: Likewise.
61914
61915 2013-03-20 Roland McGrath <roland@hack.frob.com>
61916
61917 [BZ #14812]
61918 * locale/programs/localedef.c (options): Put N_ translation marker
61919 on argument names, not just descriptions.
61920
61921 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61922
61923 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61924
61925 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
61926
61927 [BZ #14176]
61928 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61929
61930 2013-03-19 Roland McGrath <roland@hack.frob.com>
61931
61932 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61933 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61934 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61935 [!BEFORE_ABORT] (before_abort): New function.
61936 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61937 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61938 (writev_for_fatal): New function.
61939 (WRITEV_FOR_FATAL): New macro; call that.
61940 (backtrace_and_maps): New function.
61941 (BEFORE_ABORT): New macro; call that.
61942 (struct str_list): Type removed.
61943 (__libc_message, __libc_fatal): Functions removed.
61944 Include <sysdeps/posix/libc_fatal.c> instead.
61945
61946 2013-03-19 Joseph Myers <joseph@codesourcery.com>
61947
61948 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61949 constants.
61950 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61951 double constants.
61952
61953 2013-03-19 Andreas Schwab <schwab@suse.de>
61954
61955 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61956 * sysdeps/gnu/configure: Regenerate.
61957
61958 * configure.in: Substitute libc_cv_rtlddir.
61959 * configure: Regenerate.
61960 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61961 * Makeconfig (rtlddir, inst_rtlddir): New variables.
61962 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61963 * elf/Makefile (install-others, CFLAGS-interp.c)
61964 (ldso_install, common-ldd-rewrite): Likewise.
61965 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61966 $(inst_slibdir)/$(rtld-installed-name).
61967 * scripts/rellns-sh: Add -p option.
61968 * Makerules (make-shlib-link): Use rellns-sh to get relative name
61969 for source.
61970
61971 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
61972
61973 * manual/nptl.texi: Renamed to ...
61974 * manual/threads.texi: ... this.
61975 * manual/Makefile (chapters): Update.
61976
61977 2013-03-18 Roland McGrath <roland@hack.frob.com>
61978
61979 [BZ #14812]
61980 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61981 on argument names, not just descriptions.
61982 * malloc/memusagestat.c (options): Likewise.
61983 * nss/getent.c (options): Likewise.
61984
61985 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
61986
61987 [BZ #14812]
61988 * iconv/iconv_prog.c (options): Put N_ translation marker
61989 on argument names, not just descriptions.
61990 * iconv/iconvconfig.c (options): Likewise.
61991
61992 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
61993
61994 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61995 implementation which is faster on all x86_64 architectures.
61996 Tested on AMD, Intel Nehalem, SNB, IVB.
61997 * sysdeps/x86_64/strnlen.S: Likewise.
61998
61999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62000 Remove all multiarch strlen and strnlen versions.
62001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62002 Remove strlen and strnlen related parts.
62003
62004 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62005 Inline strlen part.
62006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62007
62008 * sysdeps/x86_64/multiarch/strlen.S: Remove.
62009 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62010 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62011 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62012 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62013 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62014
62015 2013-03-17 Carlos O'Donell <carlos@redhat.com>
62016
62017 * manual/memory.texi (Malloc Tunable Parameters):
62018 Sort parameters alphabetically. Add comments for missing entries.
62019
62020 2013-03-17 David S. Miller <davem@davemloft.net>
62021
62022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62023
62024 2013-03-16 Joseph Myers <joseph@codesourcery.com>
62025
62026 [BZ #15283]
62027 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62028 for arguments at most half maximum finite value.
62029 * math/libm-test.inc (j0_test): Add more tests.
62030 (j1_test): Likewise.
62031 (y0_test): Likewise.
62032 (y1_test): Likewise.
62033 * sysdeps/i386/fpu/libm-test-ulps: Update.
62034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62035
62036 [BZ #14155]
62037 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62038 1 / x and functions P and Q for arguments above 0x1p256L.
62039 (__ieee754_y0l): Likewise.
62040 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62041 (__ieee754_y1l): Likewise.
62042 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62043 (j1_test): Likewise.
62044 (y0_test): Likewise.
62045 (y1_test): Likewise.
62046
62047 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
62048
62049 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62050 variable.
62051
62052 2013-03-15 Roland McGrath <roland@hack.frob.com>
62053
62054 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62055 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62056 zero since it's initialized to EXEC_PAGESIZE.
62057
62058 * sysdeps/unix/sysv/linux/ldsodefs.h
62059 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62060 * sysdeps/generic/ldsodefs.h: ... here.
62061
62062 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
62063
62064 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62065
62066 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62067 math/test-snan.c.
62068 * math/test-snan.c: Renamed from
62069 sysdeps/powerpc/fpu/test-powerpc-snan.c.
62070 * math/Makefile (tests): Add test-snan.
62071 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62072 test-powerpc-snan.
62073
62074 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62075 SUFFIX. Initialize qNaN_var with __builtin_nan family of
62076 functions.
62077 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
62078 __builtin_nan family of functions.
62079 * math/libm-test.inc (initialize): Initialize qnan_value with
62080 __builtin_nan family of functions.
62081 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62082 Remove variables.
62083 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62084 Remove functions.
62085 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
62086 storage class. Initialize qNaN_var and sNaN_var with
62087 __builtin_nan and __builtin_nans families of functions,
62088 respectively.
62089
62090 * math/libm-test.inc (acosh_test): Also test with qNaN input.
62091 (sqrt_test): Remove duplicate test with qNaN input.
62092 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62093 (round_test, signbit_test, significand_test): Note missing +/-Inf
62094 as well as qNaN tests.
62095
62096 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62097 qNaN_var. Fix a few strings, too.
62098 * math/libm-test.inc (nan_value): Rename to qnan_value.
62099 * math/gen-libm-test.pl (%beautify): Adjust to that.
62100 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62101 * math/test-misc.c (main): Likewise.
62102 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62103 to __qnan_bytes, and __qnan_union, respectively.
62104 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62105 Likewise.
62106 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62107 and lqnanval, respectively.
62108 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62109 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62110 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62111 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62112
62113 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62114 * math/test-misc.c (main) [__x86_64__]: Enable test for long
62115 doubles.
62116
62117 * math/test-misc.c (main): Fix copy'n'pastos.
62118 * misc/tst-efgcvt.c (special): Likewise.
62119
62120 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62121 Remove declarations.
62122
62123 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
62124
62125 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62126 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62127 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62128 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62129
62130 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62131
62132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62133 macro to return vdso values correctly in IFUNC implementations.
62134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62135 Optimization by using IFUNC.
62136
62137 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
62138 Richard Henderson <rth@redhat.com>
62139 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62140
62141 * Makefile.in (bench): New target.
62142 * NEWS: Mention the benchmark framework.
62143 * Rules (bench): Likewise.
62144 (binaries-bench): Generate binaries for functions to
62145 benchmark.
62146 * benchtests/Makefile: New makefile for benchmark tests.
62147 * benchtests/bench-skeleton.c: New skeleton file for benchmark
62148 programs.
62149 * benchtests/exp-inputs: New input file for EXP function.
62150 * benchtests/pow-inputs: New input file for POW function.
62151 * scripts/bench.pl: New script to generate source files for
62152 benchmark programs.
62153
62154 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
62155
62156 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62157 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62158 computations on mantissa. Use macros for rounding and
62159 division.
62160 (denorm): Likewise.
62161 (__dbl_mp): Likewise.
62162 (add_magnitudes): Likewise.
62163 (sub_magnitudes): Likewise.
62164 (__mul): Likewise.
62165 (__sqr): Likewise.
62166 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
62167 powers of two in terms of TWOPOW macro.
62168 (mp_no): Make type of mantissa as MANTISSA_T.
62169 [!RADIXI]: Define RADIXI.
62170 [!TWO52]: Define TWO52.
62171 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62172
62173 * manual/nptl.texi (cindex): Modify threads to pthreads.
62174
62175 2013-03-15 Joseph Myers <joseph@codesourcery.com>
62176
62177 * sysdeps/x86_64/preconfigure: Regenerated.
62178
62179 2013-03-14 Joseph Myers <joseph@codesourcery.com>
62180
62181 [BZ #14155]
62182 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62183 0x1p28 and above.
62184 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62185 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62186 0x1p28 and above.
62187 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62188 * math/libm-test.inc (j0_test): Do not allow one spurious
62189 underflow exception.
62190 (y1_test): Likewise.
62191
62192 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
62193
62194 * manual/Makefile (chapters): Add nptl.
62195 * manual/debug.texi (Debugging Support): Add link to Threads
62196 chapter.
62197 * manual/nptl.texi: New file.
62198
62199 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62200
62201 2013-03-14 Petr Baudis <pasky@ucw.cz>
62202
62203 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62204 for non-NULL pointer before the memory validity test. Pointed
62205 out by Holger Brunck <holger.brunck@keymile.com>.
62206
62207 2013-03-13 Andreas Schwab <schwab@suse.de>
62208
62209 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62210 instead of .os.
62211
62212 2013-03-13 Joseph Myers <joseph@codesourcery.com>
62213
62214 * timezone/zic.c: Update from tzcode 2013b.
62215
62216 2013-03-12 Carlos O'Donell <carlos@redhat.com>
62217
62218 * manual/install.texi (Configuring and compiling):
62219 Mention i686 and i586.
62220 * INSTALL: Regenerate.
62221
62222 2013-03-12 Roland McGrath <roland@hack.frob.com>
62223
62224 * sysdeps/init_array/elf-init.c: New file.
62225 * csu/elf-init.c
62226 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62227 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62228
62229 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62230 __gmon_start__ as global, but as static with a .preinit_array pointer.
62231 * sysdeps/init_array/gmon-start.c: New file. Use that.
62232 * sysdeps/init_array/crti.S: New file, empty except for comments.
62233 * sysdeps/init_array/crtn.S: Likewise.
62234
62235 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
62236
62237 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62238 definining bcopy.
62239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62240 Remove Prefer_SSE_for_memop.
62241 * sysdeps/x86_64/multiarch/init-arch.h: Remove
62242 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62243 HAS_PREFER_SSE_FOR_MEMOP.
62244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62245 memset-x86-64.
62246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62247 Remove bzero, memset ifunc support.
62248 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62249 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62250 * sysdeps/x86_64/multiarch/memset.S: Likewise.
62251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62252
62253 2013-03-11 Andreas Schwab <schwab@suse.de>
62254
62255 [BZ #15234]
62256 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62257 by SHLIB_COMPAT.
62258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62259 (GLIBC_2.16): Remove pthread_atfork.
62260
62261 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
62262
62263 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62264 (ptestcases.h): Likewise.
62265
62266 2013-03-08 Roland McGrath <roland@hack.frob.com>
62267
62268 * Makeconfig ($(common-objpfx)config.status): Depend on
62269 sysdeps/*/preconfigure{,.in} too.
62270
62271 2013-03-08 Joseph Myers <joseph@codesourcery.com>
62272
62273 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62274 (__free_hook): Use void * instead of __malloc_ptr_t.
62275 (__malloc_hook): Likewise.
62276 (__realloc_hook): Likewise.
62277 (__memalign_hook): Likewise.
62278 (__after_morecore_hook): Likewise.
62279 * malloc/arena.c (save_malloc_hook): Likewise.
62280 (save_free_hook): Likewise.
62281 * malloc/hooks.c (malloc_hook_ini): Likewise.
62282 (realloc_hook_ini): Likewise.
62283 (memalign_hook_ini): Likewise.
62284 * malloc/malloc.c (malloc_hook_ini): Likewise.
62285 (realloc_hook_ini): Likewise.
62286 (memalign_hook_ini): Likewise.
62287 (__free_hook): Likewise.
62288 (__malloc_hook): Likewise.
62289 (__realloc_hook): Likewise.
62290 (__memalign_hook): Likewise.
62291 (__libc_malloc): Likewise.
62292 (__libc_free): Likewise.
62293 (__libc_realloc): Likewise.
62294 (__libc_memalign): Likewise.
62295 (__libc_valloc): Likewise.
62296 (__libc_pvalloc): Likewise.
62297 (__libc_calloc): Likewise.
62298 (__posix_memalign): Likewise.
62299 * malloc/morecore.c (__sbrk): Likewise.
62300 (__default_morecore): Likewise.
62301
62302 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62303
62304 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62305 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62306 __malloc_ptrdiff_t.
62307
62308 * malloc/malloc.h (__malloc_size_t): Remove macro.
62309 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62310 __malloc_size_t.
62311 (old_memalign_hook): Likewise.
62312 (old_realloc_hook): Likewise.
62313 (struct hdr): Likewise.
62314 (flood): Likewise.
62315 (mallochook): Likewise.
62316 (memalignhook): Likewise.
62317 (reallochook): Likewise.
62318 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62319 (tr_old_realloc_hook): Likewise.
62320 (tr_old_memalign_hook): Likewise.
62321 (tr_mallochook): Likewise.
62322 (tr_reallochook): Likewise.
62323 (tr_memalignhook): Likewise.
62324
62325 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62326
62327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62328 default_ldbl_pack and using as default implementation.
62329 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62330 implementation.
62331 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62332 redundant definition.
62333 (ldbl_insert_mantissa): Likewise.
62334 (ldbl_canonicalize): Likewise.
62335 (ldbl_nearbyint): Likewise.
62336 (ldbl_pack): Rename to ldbl_pack_ppc.
62337 (ldbl_unpack): Rename to ldbl_unpack_ppc.
62338 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62339 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62340
62341 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62342
62343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62344 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62345 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62346 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62348 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62349 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62350 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62351
62352 2013-03-07 Andreas Jaeger <aj@suse.de>
62353
62354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62355 bits/mman-linux.h.
62356
62357 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62358
62359 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62360 Include mpa.h and declare __MPEXP.
62361 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62363 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62366 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62367 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62368
62369 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62370 (__slowpow): Use long double EXPL and LOGL functions to
62371 compute POW.
62372 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62373 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62376 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62378
62379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62380 intermediate variable to calculate exponent.
62381 (__sqr): Likewise.
62382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62383 Likewise.
62384 (__sqr): Likewise.
62385
62386 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62387 [!NO__SQR]: Define __sqr.
62388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62389 and NO__SQR. Remove all code except __mul and __sqr. Include
62390 sysdeps/ieee754/dbl-64/mpa.c.
62391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62392
62393 [BZ #12723]
62394 * posix/Makefile (tests): Add tst-pathconf.
62395 * posix/tst-pathconf.c: New test case.
62396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62397 _PC_PIPE_BUF.
62398 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62399
62400 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
62401
62402 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62403
62404 2013-03-06 Andreas Jaeger <aj@suse.de>
62405
62406 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62407 definition via __MAP_ANONYMOUS.
62408
62409 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62410 it's not part of Linux headers.
62411
62412 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62413 (MAP_HUGE_MASK): Define.
62414
62415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62416 Define.
62417 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62418 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62419 Define.
62420 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62421 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62422 Define.
62423 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62424 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62425 Define.
62426 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62427
62428 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62429 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62430 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62431 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62432 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62433 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62434
62435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62436 Handle f2fs.
62437
62438 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62439 Handle f2fs and efivarfs.
62440
62441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62442 f2fs.
62443
62444 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62445 (EFIVARFS_MAGIC): Add.
62446 (F2FS_LINK_MAX): Add.
62447
62448 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62449
62450 * stdio-common/vfprintf.c: Replace __builtin_expect with
62451 __glibc_unlikely.
62452
62453 2013-03-06 Joseph Myers <joseph@codesourcery.com>
62454
62455 [BZ #13550]
62456 * sysdeps/generic/bp-sym.h: Remove file.
62457 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62459 <bp-sym.h> and <bp-asm.h>.
62460 (__longjmp): Don't use BP_SYM.
62461 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62462 and <bp-asm.h>.
62463 (memcpy): Don't use BP_SYM.
62464 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62465 <bp-sym.h> and <bp-asm.h>.
62466 (memcpy): Don't use BP_SYM.
62467 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62468 <bp-asm.h>.
62469 (memcpy): Don't use BP_SYM.
62470 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62471 <bp-asm.h>.
62472 (memset): Don't use BP_SYM.
62473 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62474 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62475 (__bzero): Don't use BP_SYM.
62476 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62477 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62478 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62479 <bp-sym.h> and <bp-asm.h>.
62480 (memcmp): Don't use BP_SYM. Remove comment about bounded
62481 pointers.
62482 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62483 <bp-sym.h> and <bp-asm.h>.
62484 (memcpy): Don't use BP_SYM.
62485 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62486 <bp-sym.h> and <bp-asm.h>.
62487 (memset): Don't use BP_SYM.
62488 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62489 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62490 (__bzero): Don't use BP_SYM.
62491 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62492 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62493 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62494 <bp-sym.h> and <bp-asm.h>.
62495 (strncmp): Don't use BP_SYM. Remove comment about bounded
62496 pointers.
62497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62498 <bp-sym.h> and <bp-asm.h>.
62499 (memcpy): Don't use BP_SYM.
62500 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62501 <bp-sym.h> and <bp-asm.h>.
62502 (memset): Don't use BP_SYM.
62503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62505 (__bzero): Don't use BP_SYM.
62506 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62507 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62509 <bp-sym.h> and <bp-asm.h>.
62510 (__memchr): Don't use BP_SYM.
62511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62512 <bp-sym.h> and <bp-asm.h>.
62513 (memcmp): Don't use BP_SYM. Remove comment about bounded
62514 pointers.
62515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62516 <bp-sym.h> and <bp-asm.h>.
62517 (memcpy): Don't use BP_SYM.
62518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62519 <bp-sym.h> and <bp-asm.h>.
62520 (__mempcpy): Don't use BP_SYM.
62521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62522 <bp-sym.h> and <bp-asm.h>.
62523 (__memrchr): Don't use BP_SYM.
62524 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62525 <bp-sym.h> and <bp-asm.h>.
62526 (memset): Don't use BP_SYM.
62527 (__bzero): Likewise.
62528 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62529 <bp-sym.h> and <bp-asm.h>.
62530 (__rawmemchr): Don't use BP_SYM.
62531 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62532 <bp-sym.h> and <bp-asm.h>.
62533 (__STRCMP): Don't use BP_SYM.
62534 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62535 <bp-sym.h> and <bp-asm.h>.
62536 (strchr): Don't use BP_SYM.
62537 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62538 <bp-sym.h> and <bp-asm.h>.
62539 (__strchrnul): Don't use BP_SYM.
62540 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62541 <bp-sym.h> and <bp-asm.h>.
62542 (strlen): Don't use BP_SYM.
62543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62544 <bp-sym.h> and <bp-asm.h>.
62545 (strncmp): Don't use BP_SYM. Remove comment about bounded
62546 pointers.
62547 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62548 <bp-sym.h> and <bp-asm.h>.
62549 (__strnlen): Don't use BP_SYM.
62550 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62551 <bp-sym.h> and <bp-asm.h>.
62552 (__GI__setjmp): Don't use BP_SYM.
62553 (_setjmp): Likewise.
62554 (__sigsetjmp): Likewise.
62555 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62556 (L(start_addresses)): Don't use BP_SYM.
62557 (_start): Likewise.
62558 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62559 <bp-asm.h>.
62560 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62561 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62562 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62563 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62564 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62565 <bp-asm.h>.
62566 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62567 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
62568 about bounded pointers.
62569 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62570 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62571 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62572 <bp-asm.h>.
62573 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
62574 about bounded pointers. Remove GKM FIXME comments.
62575 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62576 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62577 <bp-asm.h>.
62578 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62579 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
62580 Remove GKM FIXME comments.
62581 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62582 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62583 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62584 <bp-asm.h>.
62585 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
62586 about bounded pointers. Remove GKM FIXME comment.
62587 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62588 and <bp-asm.h>.
62589 (strncmp): Don't use BP_SYM. Remove comment about bounded
62590 pointers.
62591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62592 <bp-sym.h> and <bp-asm.h>.
62593 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62595 <bp-sym.h> and <bp-asm.h>.
62596 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
62597 comment.
62598
62599 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62600
62601 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62602 call free(NULL).
62603
62604 2013-03-05 David S. Miller <davem@davemloft.net>
62605
62606 * po/es.po: Update from translation team.
62607
62608 2013-03-05 Andreas Jaeger <aj@suse.de>
62609
62610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62611 <bits/mman-linux.h>.
62612 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62613 is fine.
62614 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62615 <bits/mman-linux.h> to end of file.
62616 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62617 is fine.
62618 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62619 <bits/mman-linux.h> to end of file.
62620 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62621 is fine.
62622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62623 <bits/mman-linux.h> to end of file.
62624
62625 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62626 (MCL_CURRENT, MCL_FUTURE): Define here.
62627
62628 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62629
62630 [BZ #15232]
62631 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62632 attribute_hidden.
62633 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62634
62635 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62636
62637 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62638 fourth parameter needed for rt_sigprocmask syscall.
62639 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62640 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62641 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62642 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62643 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62644 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62645
62646 2013-03-04 Joseph Myers <joseph@codesourcery.com>
62647
62648 [BZ #13550]
62649 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62650 comment about bounded pointers.
62651 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62652 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62653
62654 2013-03-04 Andreas Jaeger <aj@suse.de>
62655
62656 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62657 common definitions.
62658
62659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62660 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62661 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62665
62666 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62667
62668 [BZ #15055]
62669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62670 __ieee754_sqrl instead of __sqrl.
62671
62672 2013-03-01 Joseph Myers <joseph@codesourcery.com>
62673
62674 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62675 * sysdeps/powerpc/fpu_control.h: ... here.
62676 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62677 * sysdeps/powerpc/bits/fenvinline.h: ... here.
62678 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62679 * sysdeps/powerpc/bits/mathinline.h: ... here.
62680
62681 2013-03-01 Roland McGrath <roland@hack.frob.com>
62682
62683 * elf/dl-hwcaps.c (_dl_important_hwcaps):
62684 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62685 to just [NEED_DL_SYSINFO_DSO].
62686 * elf/dl-support.c: Likewise.
62687 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62688 * elf/rtld.c (dl_main): Likewise.
62689 * elf/setup-vdso.h (setup_vdso): Likewise.
62690 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62691 * sysdeps/unix/sysv/linux/dl-sysdep.c
62692 (_dl_discover_osversion): Likewise.
62693
62694 2013-03-01 Carlos O'Donell <carlos@redhat.com>
62695
62696 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62697 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62698
62699 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
62700
62701 * NEWS: Mention libm performance improvements and non-x86 PI
62702 futex support.
62703
62704 * csu/libc-start.c (__pthread_initialize_minimal): Change
62705 function arguments.
62706 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62707
62708 2013-02-28 Joseph Myers <joseph@codesourcery.com>
62709
62710 [BZ #13550]
62711 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62712 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62713 <bp-sym.h> and <bp-asm.h>.
62714 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62716 and <bp-asm.h>.
62717 (memcpy): Don't use BP_SYM.
62718 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62719 <bp-asm.h>.
62720 (__mpn_add_n): Don't use BP_SYM.
62721 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62722 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62723 and <bp-asm.h>.
62724 (__mpn_addmul_1): Don't use BP_SYM.
62725 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62726 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62727 <bp-sym.h>.
62728 (_setjmp): Don't use BP_SYM.
62729 (__novmx_setjmp): Likewise.
62730 (__GI__setjmp): Likewise.
62731 (__vmx_setjmp): Likewise.
62732 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62733 <bp-sym.h>.
62734 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62735 (__bzero): Don't use BP_SYM.
62736 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62737 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62738 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62739 <bp-sym.h> and <bp-asm.h>.
62740 (memcpy): Don't use BP_SYM.
62741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62742 <bp-sym.h> and <bp-asm.h>.
62743 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62744 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62745 <bp-sym.h> and <bp-asm.h>.
62746 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62747 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62748 <bp-asm.h>.
62749 (__mpn_lshift): Don't use BP_SYM.
62750 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62751 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62752 <bp-asm.h>.
62753 (memset): Don't use BP_SYM.
62754 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62755 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62756 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62757 <bp-asm.h>.
62758 (__mpn_mul_1): Don't use BP_SYM.
62759 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62760 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62761 <bp-sym.h> and <bp-asm.h>.
62762 (memcmp): Don't use BP_SYM.
62763 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62764 <bp-sym.h> and <bp-asm.h>.
62765 (memcpy): Don't use BP_SYM.
62766 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62767 <bp-sym.h> and <bp-asm.h>.
62768 (memset): Don't use BP_SYM.
62769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62770 <bp-sym.h> and <bp-asm.h>.
62771 (strncmp): Don't use BP_SYM.
62772 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62773 <bp-sym.h> and <bp-asm.h>.
62774 (memcpy): Don't use BP_SYM.
62775 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62776 <bp-sym.h> and <bp-asm.h>.
62777 (memset): Don't use BP_SYM.
62778 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62779 <bp-sym.h> and <bp-asm.h>.
62780 (__memchr): Don't use BP_SYM.
62781 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62782 <bp-sym.h> and <bp-asm.h>.
62783 (memcmp): Don't use BP_SYM.
62784 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62785 <bp-sym.h> and <bp-asm.h>.
62786 (memcpy): Don't use BP_SYM.
62787 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62788 <bp-sym.h> and <bp-asm.h>.
62789 (__mempcpy): Don't use BP_SYM.
62790 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62791 <bp-sym.h> and <bp-asm.h>.
62792 (__memrchr): Don't use BP_SYM.
62793 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62794 <bp-sym.h> and <bp-asm.h>.
62795 (memset): Don't use BP_SYM.
62796 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62797 <bp-sym.h> and <bp-asm.h>.
62798 (__rawmemchr): Don't use BP_SYM.
62799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62800 <bp-sym.h> and <bp-asm.h>.
62801 (__STRCMP): Don't use BP_SYM.
62802 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62803 <bp-sym.h> and <bp-asm.h>.
62804 (strchr): Don't use BP_SYM.
62805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62806 <bp-sym.h> and <bp-asm.h>.
62807 (__strchrnul): Don't use BP_SYM.
62808 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62809 <bp-sym.h> and <bp-asm.h>.
62810 (strlen): Don't use BP_SYM.
62811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62812 <bp-sym.h> and <bp-asm.h>.
62813 (strncmp): Don't use BP_SYM.
62814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62815 <bp-sym.h> and <bp-asm.h>.
62816 (__strnlen): Don't use BP_SYM.
62817 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62818 <bp-asm.h>.
62819 (__mpn_rshift): Don't use BP_SYM.
62820 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62821 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62822 <bp-sym.h> and <bp-asm.h>.
62823 (__sigsetjmp): Don't use BP_SYM.
62824 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62825 (L(start_addresses)): Don't use BP_SYM.
62826 (_start): Likewise.
62827 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62828 <bp-asm.h>.
62829 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62830 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62831 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62832 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62833 <bp-asm.h>.
62834 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62835 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62836 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62837 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62838 <bp-asm.h>.
62839 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
62840 comments.
62841 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62842 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62843 <bp-asm.h>.
62844 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
62845 FIXME comments.
62846 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62847 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62848 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62849 <bp-asm.h>.
62850 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
62851 comment.
62852 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62853 and <bp-asm.h>.
62854 (strncmp): Don't use BP_SYM,
62855 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62856 <bp-asm.h>.
62857 (__mpn_sub_n): Don't use BP_SYM.
62858 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62859 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62860 and <bp-asm.h>.
62861 (__mpn_submul_1): Don't use BP_SYM.
62862 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62864 <bp-sym.h> and <bp-asm.h>.
62865 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62867 <bp-sym.h> and <bp-asm.h>.
62868 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
62869 comment.
62870
62871 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62872
62873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62874 Use ZK to minimize writes to Z.
62875 (sub_magnitudes): Simplify code a bit.
62876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62877 Use ZK to minimize writes to Z.
62878 (sub_magnitudes): Simplify code a bit.
62879
62880 2013-02-27 Roland McGrath <roland@hack.frob.com>
62881
62882 * csu/gmon-start.c: Add special exception to license text.
62883
62884 2013-02-27 Richard Henderson <rth@redhat.com>
62885
62886 * scripts/config.guess: Update from config.git.
62887 * scripts/config.sub: Likewise.
62888
62889 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62890
62891 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62892
62893 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62894
62895 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62896
62897 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62898
62899 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62900
62901 2013-02-26 Roland McGrath <roland@hack.frob.com>
62902
62903 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62904 [$(build-shared = yes].
62905
62906 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62907
62908 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62909 (__mul): Reduce iterations for calculating mantissa.
62910
62911 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62912 MPTWO.
62913 (__mpranred): Likewise.
62914
62915 [BZ #15160]
62916 * malloc/memusagestat.c (main): Draw graphs for heap and stack
62917 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62918
62919 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
62920
62921 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62922 Define __attribute__.
62923
62924 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62925
62926 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62927 unused.
62928 * posix/regex_internal.h (__attribute): Remove.
62929 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62930 (re_string_context_at): Likewise.
62931 (bitset_not): Use __attribute__ and mark function as possibly
62932 unused.
62933 (bitset_merge): Likewise.
62934 (bitset_mask): Likewise.
62935 (re_string_char_size_at): Likewise.
62936 (re_string_wchar_at): Likewise.
62937 (re_string_elem_size_at): Likewise.
62938
62939 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
62940
62941 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62942 code.
62943 (cc32): Likewise.
62944
62945 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62946 (__acr): Likewise.
62947 (__cpy): Likewise.
62948 (norm): Likewise.
62949 (denorm): Likewise.
62950 (__dbl_mp): Likewise.
62951 (add_magnitudes): Likewise.
62952 (sub_magnitudes): Likewise.
62953 (__mul): Likewise.
62954 (__inv): Likewise.
62955
62956 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62957 style.
62958
62959 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62960 style.
62961
62962 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62963 code.
62964
62965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62966 up changes with default code.
62967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62968 Likewise.
62969
62970 2013-02-24 Allan McRae <allan@archlinux.org>
62971
62972 * manual/socket.texi (The Internet Namespace): Order menu items
62973 to match that in the file.
62974
62975 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62976 node listing of the info page menu.
62977
62978 2013-02-21 Joseph Myers <joseph@codesourcery.com>
62979
62980 [BZ #13550]
62981 * sysdeps/i386/bp-asm.h: Remove file.
62982 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62983 (PARMS): Do not use macros from bp-asm.h.
62984 (S1): Likewise.
62985 (S2): Likewise.
62986 (SIZE): Likewise.
62987 (__mpn_add_n): Do not use BP_SYM
62988 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62989 "bp-asm.h".
62990 (PARMS): Do not use macros from bp-asm.h.
62991 (S1): Likewise.
62992 (SIZE): Likewise.
62993 (__mpn_addmul_1): Do not use BP_SYM
62994 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62995 "bp-asm.h".
62996 (PARMS): Do not use macros from bp-asm.h.
62997 (SIGMSK): Likewise.
62998 (_setjmp): Likewise. Do not use BP_SYM.
62999 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63000 "bp-asm.h".
63001 (PARMS): Do not use macros from bp-asm.h.
63002 (SIGMSK): Likewise.
63003 (setjmp): Likewise. Do not use BP_SYM.
63004 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63005 "bp-asm.h".
63006 (PARMS): Do not use macros from bp-asm.h.
63007 (__frexp): Do not use BP_SYM.
63008 (frexp): Likewise.
63009 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63010 "bp-asm.h".
63011 (PARMS): Do not use macros from bp-asm.h.
63012 (__frexpf): Do not use BP_SYM.
63013 (frexpf): Likewise.
63014 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63015 "bp-asm.h".
63016 (PARMS): Do not use macros from bp-asm.h.
63017 (__frexpl): Do not use BP_SYM.
63018 (frexpl): Likewise.
63019 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63020 "bp-asm.h".
63021 (PARMS): Do not use macros from bp-asm.h.
63022 (__remquo): Do not use BP_SYM.
63023 (remquo): Likewise.
63024 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63025 "bp-asm.h".
63026 (PARMS): Do not use macros from bp-asm.h.
63027 (__remquof): Do not use BP_SYM.
63028 (remquof): Likewise.
63029 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63030 "bp-asm.h".
63031 (PARMS): Do not use macros from bp-asm.h.
63032 (__remquol): Do not use BP_SYM.
63033 (remquol): Likewise.
63034 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63035 "bp-asm.h".
63036 (PARMS): Do not use macros from bp-asm.h.
63037 (DEST): Likewise.
63038 (SRC): Likewise.
63039 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
63040 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63041 "bp-asm.h".
63042 (PARMS): Do not use macros from bp-asm.h.
63043 (strlen): Do not use BP_SYM.
63044 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63045 "bp-asm.h".
63046 (PARMS): Do not use macros from bp-asm.h.
63047 (S1): Likewise.
63048 (S2): Likewise.
63049 (SIZE): Likewise.
63050 (__mpn_add_n): Do not use BP_SYM.
63051 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63052 "bp-asm.h".
63053 (PARMS): Do not use macros from bp-asm.h.
63054 (S1): Likewise.
63055 (SIZE): Likewise.
63056 (__mpn_addmul_1): Do not use BP_SYM.
63057 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63058 weak_alias.
63059 (bzero): Likewise.
63060 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63061 "bp-asm.h".
63062 (PARMS): Do not use macros from bp-asm.h.
63063 (S): Likewise.
63064 (SIZE): Likewise.
63065 (__mpn_lshift): Do not use BP_SYM.
63066 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63067 "bp-asm.h".
63068 (PARMS): Do not use macros from bp-asm.h.
63069 (DEST): Likewise.
63070 (SRC): Likewise.
63071 (LEN): Likewise.
63072 (memcpy): Likewise. Do not use BP_SYM.
63073 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63074 libc_hidden_def and weak_alias.
63075 (mempcpy): Do not use BP_SYM in weak_alias.
63076 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63077 "bp-asm.h".
63078 (PARMS): Do not use macros from bp-asm.h.
63079 (DEST): Likewise.
63080 (LEN): Likewise.
63081 [!BZERO_P] (CHR): Likewise.
63082 (memset): Likewise. Do not use BP_SYM.
63083 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63084 "bp-asm.h".
63085 (PARMS): Do not use macros from bp-asm.h.
63086 (S1): Likewise.
63087 (SIZE): Likewise.
63088 (__mpn_mul_1): Do not use BP_SYM.
63089 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63090 "bp-asm.h".
63091 (PARMS): Do not use macros from bp-asm.h.
63092 (S): Likewise.
63093 (SIZE): Likewise.
63094 (__mpn_rshift): Do not use BP_SYM.
63095 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63096 "bp-asm.h".
63097 (PARMS): Do not use macros from bp-asm.h.
63098 (STR): Likewise.
63099 (CHR): Likewise.
63100 (strchr): Likewise. Do not use BP_SYM.
63101 (index): Do not use BP_SYM in weak_alias.
63102 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63103 "bp-asm.h".
63104 (PARMS): Do not use macros from bp-asm.h.
63105 (DEST): Likewise.
63106 (SRC): Likewise.
63107 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
63108 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63109 "bp-asm.h".
63110 (PARMS): Do not use macros from bp-asm.h.
63111 (strlen): Do not use BP_SYM.
63112 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63113 "bp-asm.h".
63114 (PARMS): Do not use macros from bp-asm.h.
63115 (S1): Likewise.
63116 (S2): Likewise.
63117 (SIZE): Likewise.
63118 (__mpn_sub_n): Do not use BP_SYM.
63119 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63120 "bp-asm.h".
63121 (PARMS): Do not use macros from bp-asm.h.
63122 (S1): Likewise.
63123 (SIZE): Likewise.
63124 (__mpn_submul_1): Do not use BP_SYM.
63125 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63126 "bp-asm.h".
63127 (PARMS): Do not use macros from bp-asm.h.
63128 (S1): Likewise.
63129 (S2): Likewise.
63130 (SIZE): Likewise.
63131 (__mpn_add_n): Do not use BP_SYM.
63132 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63133 weak_alias.
63134 (bzero): Likewise.
63135 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63136 "bp-asm.h".
63137 (PARMS): Do not use macros from bp-asm.h.
63138 (BLK2): Likewise.
63139 (LEN): Likewise.
63140 (memcmp): Do not use BP_SYM.
63141 (bcmp): Do not use BP_SYM in weak_alias.
63142 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63143 "bp-asm.h".
63144 (PARMS): Do not use macros from bp-asm.h.
63145 (DEST): Likewise.
63146 (SRC): Likewise.
63147 (LEN): Likewise.
63148 (memcpy): Likewise. Do not use BP_SYM.
63149 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63150 "bp-asm.h".
63151 (PARMS): Do not use macros from bp-asm.h.
63152 (DEST): Likewise.
63153 (SRC): Likewise.
63154 (LEN): Likewise.
63155 (memmove): Likewise. Do not use BP_SYM.
63156 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63157 "bp-asm.h".
63158 (PARMS): Do not use macros from bp-asm.h.
63159 (DEST): Likewise.
63160 (SRC): Likewise.
63161 (LEN): Likewise.
63162 (__mempcpy): Likewise. Do not use BP_SYM.
63163 (mempcpy): Do not use BP_SYM in weak_alias.
63164 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63165 "bp-asm.h".
63166 (PARMS): Do not use macros from bp-asm.h.
63167 (DEST): Likewise.
63168 (LEN): Likewise.
63169 [!BZERO_P] (CHR): Likewise.
63170 (memset): Likewise. Do not use BP_SYM.
63171 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63172 "bp-asm.h".
63173 (PARMS): Do not use macros from bp-asm.h.
63174 (STR2): Likewise.
63175 (strcmp): Do not use BP_SYM.
63176 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63177 "bp-asm.h".
63178 (PARMS): Do not use macros from bp-asm.h.
63179 (STR): Likewise.
63180 (DELIM): Likewise.
63181 [USE_AS_STRTOK_R] (SAVE): Likewise.
63182 (FUNCTION): Likewise. Do not use BP_SYM.
63183 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63184 aliases.
63185 (strtok_r): Likewise.
63186 (__GI___strtok_r): Likewise.
63187 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63188 (PARMS): Do not use macros from bp-asm.h.
63189 (S): Likewise.
63190 (SIZE): Likewise.
63191 (__mpn_lshift): Do not use BP_SYM.
63192 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63193 (PARMS): Do not use macros from bp-asm.h.
63194 (STR): Likewise.
63195 (CHR): Likewise.
63196 (__memchr): Do not use BP_SYM.
63197 (memchr): Do not use BP_SYM in weak_alias.
63198 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63199 (PARMS): Do not use macros from bp-asm.h.
63200 (BLK2): Likewise.
63201 (LEN): Likewise.
63202 (memcmp): Do not use BP_SYM.
63203 (bcmp): Do not use BP_SYM in weak_alias.
63204 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63205 (PARMS): Do not use macros from bp-asm.h.
63206 (S1): Likewise.
63207 (SIZE): Likewise.
63208 (__mpn_mul_1): Do not use BP_SYM.
63209 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63210 "bp-asm.h".
63211 (PARMS): Do not use macros from bp-asm.h.
63212 (STR): Likewise.
63213 (CHR): Likewise.
63214 (__rawmemchr): Do not use BP_SYM.
63215 (rawmemchr): Do not use BP_SYM in weak_alias.
63216 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63217 (PARMS): Do not use macros from bp-asm.h.
63218 (S): Likewise.
63219 (SIZE): Likewise.
63220 (__mpn_rshift): Do not use BP_SYM.
63221 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63222 (PARMS): Do not use macros from bp-asm.h.
63223 (SIGMSK): Likewise.
63224 (__sigsetjmp): Likewise. Do not use BP_SYM.
63225 * sysdeps/i386/start.S: Do not include "bp-sym.h".
63226 (_start): Do not use BP_SYM.
63227 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63228 (PARMS): Do not use macros from bp-asm.h.
63229 (DEST): Likewise.
63230 (SRC): Likewise.
63231 (__stpcpy): Likewise. Do not use BP_SYM.
63232 (stpcpy): Do not use BP_SYM in weak_alias.
63233 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63234 "bp-asm.h".
63235 (PARMS): Do not use macros from bp-asm.h.
63236 (DEST): Likewise.
63237 (SRC): Likewise.
63238 (LEN): Likewise.
63239 (__stpncpy): Likewise. Do not use BP_SYM.
63240 (stpncpy): Do not use BP_SYM in weak_alias.
63241 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63242 (PARMS): Do not use macros from bp-asm.h.
63243 (STR): Likewise.
63244 (CHR): Likewise.
63245 (strchr): Likewise. Do not use BP_SYM.
63246 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63247 "bp-asm.h".
63248 (PARMS): Do not use macros from bp-asm.h.
63249 (STR): Likewise.
63250 (CHR): Likewise.
63251 (__strchrnul): Likewise. Do not use BP_SYM.
63252 (strchrnul): Do not use BP_SYM in weak_alias.
63253 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63254 "bp-asm.h".
63255 (PARMS): Do not use macros from bp-asm.h.
63256 (STOP): Likewise.
63257 (strcspn): Do not use BP_SYM.
63258 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63259 "bp-asm.h".
63260 (PARMS): Do not use macros from bp-asm.h.
63261 (STR): Likewise.
63262 (STOP): Likewise.
63263 (strpbrk): Likewise. Do not use BP_SYM.
63264 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63265 "bp-asm.h".
63266 (PARMS): Do not use macros from bp-asm.h.
63267 (STR): Likewise.
63268 (CHR): Likewise.
63269 (strrchr): Likewise. Do not use BP_SYM.
63270 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63271 (PARMS): Do not use macros from bp-asm.h.
63272 (SKIP): Likewise.
63273 (strspn): Do not use BP_SYM.
63274 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63275 (PARMS): Do not use macros from bp-asm.h.
63276 (STR): Likewise.
63277 (DELIM): Likewise.
63278 (SAVE): Likewise.
63279 (FUNCTION): Likewise. Do not use BP_SYM.
63280 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63281 aliases.
63282 (strtok_r): Likewise.
63283 (__GI___strtok_r): Likewise.
63284 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63285 (PARMS): Do not use macros from bp-asm.h.
63286 (S1): Likewise.
63287 (S2): Likewise.
63288 (SIZE): Likewise.
63289 (__mpn_sub_n): Do not use BP_SYM.
63290 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63291 "bp-asm.h".
63292 (PARMS): Do not use macros from bp-asm.h.
63293 (S1): Likewise.
63294 (SIZE): Likewise.
63295 (__mpn_submul_1): Do not use BP_SYM.
63296 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63297 <bp-sym.h>.
63298 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63299 and <bp-asm.h>.
63300 (PARMS): Do not use macros from bp-asm.h.
63301 (FLAGS): Likewise.
63302 (PTID): Likewise.
63303 (TLS): Likewise.
63304 (CTID): Likewise.
63305 (__clone): Do not use BP_SYM.
63306 (clone): Do not use BP_SYM in weak_alias.
63307 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63308 and <bp-asm.h>.
63309 (PARMS): Do not use macros from bp-asm.h.
63310 (LEN): Likewise.
63311 (__mmap64): Do not use BP_SYM.
63312 (mmap64): Do not use BP_SYM in weak_alias.
63313 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63314 <bp-sym.h> and <bp-asm.h>.
63315 (PARMS): Do not use macros from bp-asm.h.
63316 (__posix_fadvise64_l64): Do not use BP_SYM.
63317 * sysdeps/unix/sysv/linux/i386/semtimedop.S
63318 (PARMS): Do not use macros from bp-asm.h.
63319 (NSOPS): Likewise.
63320 (semtimedop): Do not use BP_SYM.
63321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63322 and <bp-asm.h>.
63323
63324 2013-02-21 Allan McRae <allan@archlinux.org>
63325
63326 * manual/message.texi (Charset conversion in gettext):
63327 Move @end statement to beginning of line.
63328
63329 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63330
63331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63332 static.
63333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63334 Likewise.
63335
63336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63337 (denorm): Likewise.
63338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63340
63341 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63342
63343 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63344 tail-call to the resolved function if pltexit isn't needed.
63345
63346 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63347
63348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63349 or Y being zero as being unlikely.
63350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63351 Likewise.
63352
63353 2013-02-20 Carlos O'Donell <carlos@redhat.com>
63354
63355 * manual/nss.texi (System Databases and Name Service Switch):
63356 Remove frobnicate @pxref.
63357
63358 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
63359
63360 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63361 __attribute__ ((unused)) to __attribute__ ((__unused__)).
63362
63363 2013-02-20 Petr Machata <pmachata@redhat.com>
63364
63365 * elf/elf.h (R_ARM_TARGET1): New macro.
63366 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63367 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63368 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63369 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63370 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63371 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63372 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63373 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63374 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63375 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63376 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63377 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63378 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63379 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63380 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63381 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63382 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63383 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63384 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63385 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63386 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63387 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63388 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63389 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63390 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63391 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63392 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63393 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63394 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63395 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63396 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63397 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63398 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63399 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63400 (R_ARM_THM_GOT_BREL12): Likewise.
63401 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63402 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63403 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63404 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63405 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63406 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63407 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63408 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63409 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63410
63411 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
63412
63413 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63414 __attribute_used__ to __attribute__ ((unused)).
63415
63416 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
63417
63418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63419 powerpc mpa.c.
63420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63421 comment formatting.
63422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63423
63424 2013-02-19 Joseph Myers <joseph@codesourcery.com>
63425
63426 [BZ #13550]
63427 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63428 Remove macro.
63429 (ENTER): Remove both macro definitions.
63430 (LEAVE): Likewise.
63431 (CHECK_BOUNDS_LOW): Likewise.
63432 (CHECK_BOUNDS_HIGH): Likewise.
63433 (CHECK_BOUNDS_BOTH): Likewise.
63434 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63435 (RETURN_BOUNDED_POINTER): Likewise.
63436 (RETURN_NULL_BOUNDED_POINTER): Likewise.
63437 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63438 (POP_ERRNO_LOCATION_RETURN): Likewise.
63439 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63441 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63442 macros.
63443 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63444 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63445 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63446 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63447 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63448 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63449 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63450 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63451 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63452 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63453 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63454 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63455 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63456 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63457 removed macros.
63458 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63459 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63460 macros.
63461 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63462 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63463 * sysdeps/i386/i586/memset.S (memset): Likewise.
63464 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63465 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63466 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63467 macros.
63468 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63469 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63470 Change uses of L(2) to L(out).
63471 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63472 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63473 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63474 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63475 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63476 removed macros.
63477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63478 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63479 macros.
63480 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63481 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63482 (RETURN): Do not use macro LEAVE.
63483 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63484 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63485 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63486 * sysdeps/i386/i686/memset.S (memset): Likewise.
63487 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63488 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63489 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63490 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63491 Likewise.
63492 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63493 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
63494 L(1_2) and L(1_3) into L(1).
63495 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63496 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63497 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63498 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63499 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63500 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63501 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63502 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63503 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63504 macros.
63505 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63507 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63508 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63509 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63510 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63511 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63512 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63513 * sysdeps/i386/strcspn.S (strcspn): Likewise.
63514 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63515 * sysdeps/i386/strrchr.S (strrchr): Likewise.
63516 * sysdeps/i386/strspn.S (strspn): Likewise.
63517 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63518 conditional code.
63519 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63520 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63521 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63522 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
63523 L(1_3) into L(1_1).
63524 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63525 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63526 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63527 macros.
63528 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63529
63530 2013-02-19 Jakub Jelinek <jakub@redhat.com>
63531
63532 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63533 macro.
63534
63535 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63536
63537 * math/atest-exp.c (exp_mpn): Remove ROUND.
63538 * math/atest-exp2.c (exp_mpn): Likewise.
63539 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63540
63541 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63542 * stdlib/tst-tls-atexit-lib.c: Likewise.
63543 * stdlib/tst-tls-atexit.c: Likewise.
63544
63545 2013-02-18 Mike Frysinger <vapier@gentoo.org>
63546
63547 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63548 and __attribute_alloc_size__.
63549
63550 2013-02-18 Mike Frysinger <vapier@gentoo.org>
63551
63552 * include/programs/xmalloc.h: Change __attribute_alloc_size to
63553 __attribute_alloc_size__.
63554 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63555 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63556
63557 2013-02-18 Mike Frysinger <vapier@gentoo.org>
63558
63559 * include/programs/xmalloc.h: New file.
63560 * catgets/gencat.c: Include it.
63561 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63562 * elf/pldd.c: Likewise.
63563 * iconv/iconv_charmap.c: Likewise.
63564 * iconv/iconvconfig.c: Likewise.
63565 * iconv/strtab.c: Likewise.
63566 * locale/programs/locale.c: Likewise.
63567 * locale/programs/localedef.h: Likewise.
63568 * locale/programs/simple-hash.c: Likewise.
63569 * nscd/nscd.h: Likewise.
63570 * nss/makedb.c: Likewise.
63571 * sysdeps/generic/ldconfig.h: Likewise.
63572
63573 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
63574
63575 * Versions.def: Add GLIBC_2.18.
63576 * include/link.h (struct link_map): New member l_tls_dtor_count.
63577 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63578 (__call_tls_dtors): Likewise.
63579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63580 __cxa_thread_atexit_impl.
63581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63582 Likewise.
63583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63584 Likewise.
63585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63586 Likewise.
63587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63588 Likewise.
63589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63591 Likewise.
63592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63593 Likewise.
63594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63596 Likewise.
63597 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63598 (tests): Add test case tst-tls-atexit.
63599 (modules-names): Add shared library for tst-tls-atexit.
63600 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63601 (GLIBC_PRIVATE): Add __call_tls_dtors.
63602 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63603 for libstdc++.
63604 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63605 * stdlib/tst-tls-atexit.c: New test case.
63606 * stdlib/tst-tls-atexit-lib.c: New test case.
63607
63608 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63609
63610 * elf/Versions (ld): Add _dl_find_dso_for_object.
63611 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63612 * elf/dl-open.c (_dl_find_dso_for_object): New function.
63613 (dl_open_worker): Use _dl_find_dso_for_object.
63614 * elf/dl-sym.c (do_sym): Likewise.
63615 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63616
63617 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63618
63619 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63620 Syntactic changes only.
63621 (_dl_runtime_profile): Do a tail-call to the resolved function.
63622
63623 2013-02-17 Joseph Myers <joseph@codesourcery.com>
63624
63625 [BZ #13550]
63626 * sysdeps/x86_64/bp-asm.h: Remove file.
63627 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63628 <bp-sym.h> and <bp-asm.h>.
63629 (__clone): Do not use BP_SYM.
63630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63631 <bp-sym.h> and <bp-asm.h>.
63632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
63633 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63634 "bp-asm.h".
63635 (_setjmp): Do not use BP_SYM.
63636 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63637 "bp-asm.h".
63638 (setjmp): Do not use BP_SYM.
63639 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63640 libc_hidden_def.
63641 (mempcpy): Do not use BP_SYM in weak_alias.
63642 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63643 "bp-asm.h".
63644 (strchr): Do not use BP_SYM.
63645 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63646 "bp-asm.h".
63647 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63648 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63649 (_start): Do not use BP_SYM.
63650 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63651 "bp-asm.h".
63652 (strcat): Do not use BP_SYM.
63653 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63654 "bp-asm.h".
63655 (STRCMP): Do not use BP_SYM.
63656 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63657 "bp-asm.h".
63658 (STRCPY): Do not use BP_SYM.
63659 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63660 "bp-asm.h".
63661 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63662 "bp-asm.h".
63663 (FUNCTION): Do not use BP_SYM.
63664 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63665 weak_alias.
63666 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63667
63668 2013-02-17 Andreas Jaeger <aj@suse.de>
63669
63670 * time/Versions: Sort entries.
63671 * string/Versions: Likewise.
63672 * resolv/Versions: Likewise.
63673 * posix/Versions: Likewise.
63674 * iconv/Versions: Likewise.
63675 * elf/Versions: Likewise.
63676 * wcsmbs/Versions: Likewise.
63677
63678 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
63679
63680 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63681 loop termination condition.
63682
63683 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63684 variable to calculate EZ.
63685 (__sqr): Likewise.
63686
63687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63688 the lower precision input.
63689
63690 2013-02-15 Joseph Myers <joseph@codesourcery.com>
63691
63692 [BZ #13550]
63693 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63694 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63695 (run-via-rtld-prefix): Do not handle %-bp tests.
63696 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63697 (all-object-suffixes): Remove .ob.
63698 (bppfx): Remove variable.
63699 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63700 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63701 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63702 [$(build-bounded) = yes] (libtype.ob): Likewise.
63703 * Makerules (elide-routines.ob): Remove variable.
63704 (do-tests-clean): Do not handle *-bp.out.
63705 (common-mostlyclean): Do not handle *-bp and *-bp.out.
63706 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63707 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63708 (tests): Do not include $(tests-bp.out).
63709 (xtests): Do not include $(xtests-bp.out).
63710 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63711 [$(build-bounded) = yes] ($(addprefix
63712 $(objpfx),$(binaries-bounded))): Remove rule.
63713 ($(objpfx)%-bp.out): Remove rule.
63714 * config.make.in (build-bounded): Remove variable.
63715 * crypt/Makefile [$(build-bounded) = yes]
63716 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63717 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63718 append to variable.
63719 [$(build-bounded) = yes] (install-lib): Likewise.
63720 [$(build-bounded) = yes] (generated): Likewise.
63721 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63722 Remove rule.
63723 * intl/Makefile [$(build-bounded) = yes]
63724 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63725 * math/Makefile [$(build-bounded) = yes]
63726 ($(tests:%=$(objpfx)%-bp): Likewise.
63727 * misc/Makefile [$(build-bounded) = yes]
63728 ($(objpfx)tst-tsearch-bp): Likewise.
63729 * nptl/Makeconfig (bounded-thread-library): Remove variable.
63730 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63731 Remove dependency.
63732 * string/Makefile (o-objects.ob): Remove variable.
63733 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63734 (CFLAGS-.ob): Remove variable.
63735 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63736 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63737 both definitions of variable.
63738 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63739 (ASFLAGS-.ob): Remove variable.
63740
63741 2013-02-14 Joseph Myers <joseph@codesourcery.com>
63742
63743 [BZ #13550]
63744 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63745 Remove __BOUNDED_POINTERS__ from condition.
63746 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63747 * string/bits/string2.h [!__NO_STRING_INLINES &&
63748 !__BOUNDED_POINTERS__]: Likewise.
63749 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63750 Likewise.
63751 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63752 Remove conditional code.
63753 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63754 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63755 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63756 condition.
63757
63758 [BZ #13550]
63759 * csu/libc-start.c: Do not include <bp-sym.h>.
63760 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63761 * elf/dl-open.c: Do not include <bp-sym.h>.
63762 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63763 * math/fegetenv.c: Do not include <bp-sym.h>.
63764 (fegetenv): Do not use BP_SYM in versioned symbols.
63765 * nptl/sysdeps/pthread/bits/libc-lockP.h
63766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63767 <bp-sym.h>.
63768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63769 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63771 (__pthread_mutex_destroy): Likewise.
63772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63773 (__pthread_mutex_lock): Likewise.
63774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63775 (__pthread_mutex_trylock): Likewise.
63776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63777 (__pthread_mutex_unlock): Likewise.
63778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63779 (__pthread_mutexattr_init): Likewise.
63780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63781 (__pthread_mutexattr_destroy): Likewise.
63782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63783 (__pthread_mutexattr_settype): Likewise.
63784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63785 (__pthread_rwlock_init): Likewise.
63786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63787 (__pthread_rwlock_destroy): Likewise.
63788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63789 (__pthread_rwlock_rdlock): Likewise.
63790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63791 (__pthread_rwlock_tryrdlock): Likewise.
63792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63793 (__pthread_rwlock_wrlock): Likewise.
63794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63795 (__pthread_rwlock_trywrlock): Likewise.
63796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63797 (__pthread_rwlock_unlock): Likewise.
63798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63799 (__pthread_key_create): Likewise.
63800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63801 (__pthread_setspecific): Likewise.
63802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63803 (__pthread_getspecific): Likewise.
63804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63805 Likewise.
63806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63807 (_pthread_cleanup_push_defer): Likewise.
63808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63809 (_pthread_cleanup_pop_restore): Likewise.
63810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63811 (pthread_setcancelstate): Likewise.
63812 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63813 <bp-sym.h>.
63814 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63815 (memchr): Do not use BP_SYM in weak_alias.
63816 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63817 (fegetenv): Do not use BP_SYM in versioned symbols.
63818 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63819 (fesetenv): Do not use BP_SYM in versioned symbols.
63820 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63821 (feupdateenv): Do not use BP_SYM in versioned symbols.
63822 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63823 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63824 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63825 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63826 (open64): Do not use BP_SYM in weak_alias.
63827 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63828 (fegetenv): Do not use BP_SYM in versioned symbols.
63829 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63830 (fesetenv): Do not use BP_SYM in versioned symbols.
63831 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63832 (feupdateenv): Do not use BP_SYM in versioned symbols.
63833 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63834 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63835 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63836 (feraiseexcept): Do not use BP_SYM in versioned symbols.
63837 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63838 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63839 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63840 <bp-sym.h>.
63841 (__libc_start_main): Do not use BP_SYM.
63842
63843 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
63844
63845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63846 redundant return line.
63847 (norm): Likewise.
63848 (denorm): Likewise.
63849 (dbl_mp): Likewise.
63850 (sub_magnitudes): Likewise.
63851 (__add): Likewise.
63852 (__sub): Likewise.
63853 (__mul): Likewise.
63854 (__inv): Likewise.
63855 (__dvd): Likewise.
63856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63857 (norm): Likewise.
63858 (denorm): Likewise.
63859 (dbl_mp): Likewise.
63860 (sub_magnitudes): Likewise.
63861 (__add): Likewise.
63862 (__sub): Likewise.
63863 (__mul): Likewise.
63864 (__inv): Likewise.
63865 (__dvd): Likewise.
63866
63867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63868 instead of __mul.
63869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63870 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63871 (cc32): Likewise.
63872
63873 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63874 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63876 of __mul for squares.
63877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63878 function
63879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63880 Likewise.
63881 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63883
63884 2013-02-13 Joseph Myers <joseph@codesourcery.com>
63885
63886 [BZ #13550]
63887 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63888 code.
63889 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63890 prototype or function definition. Rename ubp_* variables and
63891 parameters. Remove argv definitions conditional on
63892 [__BOUNDED_POINTERS__].
63893 * debug/backtrace.c (__backtrace): Do not use __unbounded.
63894 * elf/dl-runtime.c (_dl_fixup): Likewise.
63895 * include/set-hooks.h (RUN_HOOK): Likewise.
63896 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63897 definition.
63898 * string/strcpy.c (strcpy): Do not use __unbounded.
63899 * sysdeps/generic/frame.h (struct layout): Likewise.
63900 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63901 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63902 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63903 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63904 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63905 (__backtrace): Likewise.
63906 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63907 use __ptrvalue.
63908 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63910 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63911 Likewise.
63912 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63913 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63914 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63915 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63916 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63917 Do not use __unbounded.
63918 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63919 Rename __unboundedrlimits parameter to rlimits in prototype.
63920 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63921 Do not use __unbounded.
63922 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63923 not use __ptrvalue.
63924 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63925 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63927 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63928 __ptrvalue or __unbounded.
63929 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63930 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63931 use __unbounded.
63932 (__new_msgctl): Do not use __ptrvalue.
63933 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63934 __unbounded.
63935 (__libc_msgrcv): Do not use __ptrvalue.
63936 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63937 startup_info): Do not use __unbounded.
63938 (__libc_start_main): Likewise. Rename ubp_* variables and
63939 parameters. Remove argv definitions conditional on
63940 [__BOUNDED_POINTERS__].
63941 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63942 __ptrvalue.
63943 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63944 use __unbounded.
63945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63946 or __ptrvalue.
63947 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63948 use __unbounded.
63949 (__new_shmctl): Do not use __ptrvalue.
63950 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63951 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63952 Likewise.
63953 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63955 (__libc_sigaction): Likewise.
63956 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63957 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63958 Likewise.
63959 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63960
63961 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
63962
63963 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63964
63965 * string/mempcpy.c: Implement by calling memcpy.
63966
63967 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
63968
63969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63970
63971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63972 evaluation.
63973
63974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63975 values in the mantissa.
63976
63977 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63978 minimize writes to Z.
63979 (sub_magnitudes): Simplify code a bit.
63980
63981 2013-02-12 Roland McGrath <roland@hack.frob.com>
63982
63983 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63984 from the message. The linker prefixes all warnings with that already.
63985
63986 2013-02-12 Andreas Schwab <schwab@suse.de>
63987
63988 [BZ #15078]
63989 * posix/regexec.c (extend_buffers): Add parameter min_len.
63990 (check_matching): Pass minimum needed length.
63991 (clean_state_log_if_needed): Likewise.
63992 (get_subexp): Likewise.
63993 * posix/Makefile (tests): Add bug-regex34.
63994 (bug-regex34-ENV): Define.
63995 * posix/bug-regex34.c: New file.
63996
63997 [BZ #11561]
63998 * posix/regcomp.c (parse_bracket_exp): When looking up collating
63999 elements compare against the byte sequence of it, not its name.
64000 * posix/Makefile (tests): Add bug-regex35.
64001 (bug-regex35-ENV): Define.
64002 * posix/bug-regex35.c: New file.
64003
64004 2013-02-11 Tom de Vries <tom@codesourcery.com>
64005
64006 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
64007 comment.
64008 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64009 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64010 (CHECK_EOL): Add undef.
64011
64012 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
64013
64014 * bits/stdlib-bsearch.h: New file.
64015 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64016 * stdlib/stdlib.h: Likewise.
64017
64018 2013-02-11 Roland McGrath <roland@hack.frob.com>
64019
64020 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64021 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64022 declaration.
64023 * manual/search.texi (Array Search Function): Add missing const in
64024 lfind prototype.
64025 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64026 declaration to use rlim_t.
64027 (Basic Scheduling Functions): Remove erroneous const from
64028 sched_getparam prototype. Remove erroneous * from
64029 sched_get_priority_max and sched_get_priority_min prototypes.
64030 (Resource Usage): Fix summary @comment on vtimes to refer to
64031 sys/vtimes.h rather than vtimes.h.
64032 Add missing *s in vtimes prototype.
64033 (Limits on Resources): Fix ulimit prototype to return long int.
64034 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64035 prototypes to use long int rather than double.
64036 (BSD Random): Fix initstate and setstate to use char *, not void *.
64037 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64038 prototype to make second argument 'struct aiocb64 *const[]'.
64039 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64040 (Status of AIO Operations): Remove erroneous const in aio_return and
64041 aio_return64 prototypes.
64042 (Synchronizing I/O): Fix sync prototype to return void.
64043 * manual/startup.texi (Suboptions): Remove an erroneous const in
64044 getsubopt prototype.
64045 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64046 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64047 use size_t rather than int.
64048 (Scanning All Users): Likewise for getpwent_r.
64049 (Setting Groups): Add missing const to setgroups prototype.
64050 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64051 * manual/socket.texi (Host Names): Fix gethostbyaddr and
64052 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64053 'const void *' rather than 'const char *'.
64054 (Host Address Functions): Likewise for inet_ntop.
64055 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64056 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64057 ssize_t for return value.
64058 (Sending Data): Likewise for send, sendto, sendmsg.
64059 (Socket Option Functions): Add a missing const in setsockopt prototype.
64060 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64061 use wchar_t for the argument.
64062 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64063 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64064 take no arguments.
64065 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64066 double/float/long double for second argument.
64067 Fix return types of significand, significandf, significandl.
64068 * manual/filesys.texi (Setting Permissions): Use mode_t for second
64069 argument in fchmod prototype.
64070 (File Owner): Use uid_t and gid_t in fchown prototype.
64071 (File Times): Add const to utimes, futimes, and lutimes prototypes.
64072 (Making Special Files): Use mode_t and dev_t in mknod prototype.
64073 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64074 use 'const struct dirent **' as argument types to CMP function pointer
64075 argument.
64076 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64077 (File Times): Fix summary magic @comment for struct utimbuf and utime
64078 to refer to utime.h, not time.h.
64079 * manual/string.texi (Argz Functions): Add missing const in
64080 argz_extract and argz_next prototypes.
64081 (Finding Tokens in a String): Likewise for basename.
64082 (String/Array Comparison): Fix typo in wcscasecmp prototype.
64083 (Copying and Concatenation): Fix typo in wmemmove prototype.
64084 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64085 (Signal Stack): Remove erroneous const in sigstack prototype.
64086 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64087 prototype.
64088 (Simple Calendar Time): Likewise for stime.
64089 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64090 prototype.
64091 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64092 say sys/sysctl.h instead.
64093 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64094 and vsyslog prototypes.
64095
64096 2013-02-11 Tom de Vries <tom@codesourcery.com>
64097
64098 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64099 Remove.
64100
64101 2013-02-11 Roland McGrath <roland@hack.frob.com>
64102
64103 * misc/sys/mman.h: Fix typo in mremap comment.
64104
64105 2013-02-08 Roland McGrath <roland@hack.frob.com>
64106
64107 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64108 the '\0' terminator.
64109
64110 2013-02-08 Joseph Myers <joseph@codesourcery.com>
64111
64112 [BZ #13550]
64113 * debug/segfault.c: Don't include <bp-checks.h>.
64114 * sysdeps/generic/bp-checks.h: Remove file.
64115 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64116 (__GETDENTS): Don't use CHECK_N.
64117 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64118 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64119 (__getgroups): Don't use CHECK_N.
64120 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64121 (setgroups): Don't use CHECK_N.
64122 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64123 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64124 (__libc_msgrcv): Don't use CHECK_N.
64125 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64126 (__libc_msgsnd): Don't use CHECK_N.
64127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64128 <bp-checks.h>.
64129 (__libc_pread): Don't use CHECK_N.
64130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64131 include <bp-checks.h>.
64132 (__libc_pread64): Don't use CHECK_N.
64133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64134 include <bp-checks.h>.
64135 (__libc_pwrite): Don't use CHECK_N.
64136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64137 include <bp-checks.h>.
64138 (__libc_pwrite64): Don't use CHECK_N.
64139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64140 <bp-checks.h>.
64141 (__libc_pread): Don't use CHECK_N.
64142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64143 include <bp-checks.h>.
64144 (__libc_pread64): Don't use CHECK_N.
64145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64146 include <bp-checks.h>.
64147 (__libc_pwrite): Don't use CHECK_N.
64148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64149 include <bp-checks.h>.
64150 (__libc_pwrite64): Don't use CHECK_N.
64151 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64152 (do_pread): Don't use CHECK_N.
64153 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64154 (do_pread64): Don't use CHECK_N.
64155 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64156 (do_pwrite): Don't use CHECK_N.
64157 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64158 (do_pwrite64): Don't use CHECK_N.
64159 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64160 (__libc_readv): Don't use CHECK_N.
64161 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64162 (semop): Don't use CHECK_N.
64163 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64164 <bp-checks.h>.
64165 (semtimedop): Don't use CHECK_N.
64166 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64167 (__libc_pread): Don't use CHECK_N.
64168 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64169 <bp-checks.h>.
64170 (__libc_pread64): Don't use CHECK_N.
64171 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64172 <bp-checks.h>.
64173 (__libc_pwrite): Don't use CHECK_N.
64174 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64175 <bp-checks.h>.
64176 (__libc_pwrite64): Don't use CHECK_N.
64177 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64178 <bp-checks.h>.
64179 (__libc_msgrcv): Don't use CHECK_N.
64180 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64181 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
64182 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64183 (__libc_writev): Don't use CHECK_N.
64184
64185 2013-02-08 Roland McGrath <roland@hack.frob.com>
64186
64187 * string/strcpy.c: Removed unused variable.
64188
64189 * Makeconfig (+sysdep-includes): Define with := rather than =.
64190 Use an existing include/ subdir of each sysdeps dir before it.
64191
64192 2013-02-08 Carlos O'Donell <carlos@redhat.com>
64193
64194 * nscd/connection.c (register_traced_file): Comment function.
64195 [HAVE_INOTIFY] (union __inev): Define.
64196 [HAVE_INOTIFY] (inotify_check_files): New function.
64197 [HAVE_INOTIFY] (clear_db_cache): Likewise.
64198 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64199 clear_db_cache.
64200 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64201
64202 2013-02-08 Carlos O'Donell <carlos@redhat.com>
64203
64204 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64205 loaded if not already and that a failure is permanent.
64206
64207 2013-02-08 Carlos O'Donell <carlos@redhat.com>
64208
64209 [BZ #15006]
64210 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64211 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64212
64213 2013-02-08 Joseph Myers <joseph@codesourcery.com>
64214
64215 [BZ #13550]
64216 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64217 (CHECK_1_NULL_OK): Likewise.
64218 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64219 (__fxstat): Do not use CHECK_1.
64220 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64221 <bp-checks.h>.
64222 (___fxstat64): Do not use CHECK_1.
64223 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64224 <bp-checks.h>.
64225 (__fxstatat): Do not use CHECK_1.
64226 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64227 <bp-checks.h>.
64228 (__fxstatat64): Do not use CHECK_1.
64229 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64230 <bp-checks.h>.
64231 (__fxstat): Do not use CHECK_1.
64232 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64233 <bp-checks.h>.
64234 (__fxstatat): Do not use CHECK_1.
64235 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64236 <bp-checks.h>.
64237 (__getresgid): Do not use CHECK_1.
64238 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64239 <bp-checks.h>.
64240 (__getresuid): Do not use CHECK_1.
64241 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64242 <bp-checks.h>.
64243 (__lxstat): Do not use CHECK_1.
64244 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64245 <bp-checks.h>.
64246 (__old_msgctl): Do not use CHECK_1.
64247 (__new_msgctl): Likewise.
64248 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64249 <bp-checks.h>.
64250 (__new_setrlimit): Do not use CHECK_1.
64251 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64252 <bp-checks.h>.
64253 (__old_shmctl): Do not use CHECK_1.
64254 (__new_shmctl): Likewise.
64255 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64256 <bp-checks.h>.
64257 (__xstat): Do not use CHECK_1.
64258 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64259 (__lxstat): Do not use CHECK_1.
64260 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64261 <bp-checks.h>.
64262 (___lxstat64): Do not use CHECK_1.
64263 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64264 (__old_msgctl): Do not use CHECK_1.
64265 (__new_msgctl): Likewise.
64266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64267 <bp-checks.h>.
64268 (__gettimeofday): Do not use CHECK_1.
64269 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64270 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64271 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64272 <bp-checks.h>.
64273 (__gettimeofday): Do not use CHECK_1.
64274 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64275 (__old_shmctl): Do not use CHECK_1_NULL_OK.
64276 (__new_shmctl): Do not use CHECK_1.
64277 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64278 <bp-checks.h>.
64279 (do_sigtimedwait): Do not use CHECK_1.
64280 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64281 <bp-checks.h>.
64282 (do_sigwaitinfo): Do not use CHECK_1.
64283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64284 <bp-checks.h>.
64285 (msgctl): Do not use CHECK_1.
64286 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64287 <bp-checks.h>.
64288 (shmctl): Do not use CHECK_1.
64289 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64290 (ustat): Do not use CHECK_1.
64291 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64292 <bp-checks.h>.
64293 (__fxstat): Do not use CHECK_1.
64294 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64295 <bp-checks.h>.
64296 (__fxstatat): Do not use CHECK_1.
64297 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64298 <bp-checks.h>.
64299 (__lxstat): Do not use CHECK_1.
64300 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64301 <bp-checks.h>.
64302 (__xstat): Do not use CHECK_1.
64303 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64304 (__xstat): Do not use CHECK_1.
64305 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64306 (___xstat64): Do not use CHECK_1.
64307
64308 [BZ #13550]
64309 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64310 definitions.
64311 (CHECK_BOUNDS_HIGH): Likewise.
64312 * string/strcpy.c: Do not include <bp-checks.h>.
64313 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64314
64315 2013-02-07 Roland McGrath <roland@hack.frob.com>
64316
64317 * nscd/nscd-client.h (__nscd_drop_map_ref):
64318 Add __attribute__ ((unused)).
64319 * nis/nss-nisplus.h (niserr2nss): Likewise.
64320
64321 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64322 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64323
64324 * csu/libc-tls.c (init_static_tls, init_slotinfo):
64325 Remove inline keyword.
64326 * include/rounding-mode.h (round_away): Likewise.
64327 * libio/wfileops.c (adjust_wide_data): Likewise.
64328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64329 (__m128i_strloadu_tolower): Likewise.
64330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64331 (__m128i_strloadu_tolower): Likewise.
64332 * time/mktime.c (ydhms_diff): Likewise.
64333 * locale/elem-hash.h (elem_hash): Likewise.
64334 * locale/setlocale.c (setdata): Likewise.
64335 * posix/regex_internal.h (re_string_char_size_at): Likewise.
64336 (re_string_wchar_at): Likewise.
64337 (bitset_not, bitset_merge, bitset_mask): Likewise.
64338 [!(__GNUC__ > 3)] (inline): Remove macro.
64339 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64340 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64341 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64342 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64343 * string/memcmp.c (memcmp_bytes): Likewise.
64344 * locale/programs/locarchive.c (compute_hashval): Likewise.
64345 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64346 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64347 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64348 * nss/getent.c (print_rpc, print_protocols): Likewise.
64349 (print_passwd, print_group, print_aliases): Likewise.
64350 * nis/nss-nisplus.h (niserr2nss): Likewise.
64351 * nscd/connections.c (restart_p): Likewise.
64352 Change return type to bool.
64353
64354 2013-02-05 Roland McGrath <roland@hack.frob.com>
64355
64356 * Makeconfig (all-Depend-files): Add existing
64357 $(sorted-subdirs:=/Depend) files.
64358 (all-subdirs): Remove nss.
64359 * sysdeps/unix/inet/Subdirs: Add it here instead.
64360 * hesiod/Depend: New file.
64361
64362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64363 instead of calling alloca.
64364
64365 * io/lseek.c (__lseek): Rename to __libc_lseek.
64366 Define __lseek as an alias.
64367
64368 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64369
64370 2013-02-04 Carlos O'Donell <carlos@redhat.com>
64371
64372 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64373 else clause and remove check for non-standard endianness.
64374
64375 2013-02-04 David S. Miller <davem@davemloft.net>
64376
64377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64378
64379 2013-02-04 Joseph Myers <joseph@codesourcery.com>
64380
64381 [BZ #13550]
64382 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64383 (__ubp_memchr): Remove prototype.
64384 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64385 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64386 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64387 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64388 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64389 Remove alias.
64390 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64391 (__ubp_memchr): Likewise.
64392 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64393 (__ubp_memchr): Likewise.
64394 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64395 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64396 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64397 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64398 CHECK_STRING.
64399 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64400 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64401 (__getcwd): Do not use CHECK_STRING.
64402 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64403 <bp-checks.h>.
64404 (__real_chown): Do not use CHECK_STRING.
64405 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64406 <bp-checks.h>.
64407 (fchownat): Do not use CHECK_STRING.
64408 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64409 CHECK_STRING.
64410 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64411 <bp-checks.h>.
64412 (__lchown): Do not use CHECK_STRING.
64413 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64414 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64415 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64416 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64418 include <bp-checks.h>.
64419 (truncate64): Do not use CHECK_STRING.
64420 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64421 <bp-checks.h>.
64422 (__real_chown): Do not use CHECK_STRING.
64423 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64424 <bp-checks.h>.
64425 (__lchown): Do not use CHECK_STRING.
64426 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64427 <bp-checks.h>.
64428 (__chown): Do not use CHECK_STRING.
64429 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64430 <bp-checks.h>.
64431 (truncate64): Do not use CHECK_STRING.
64432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64433 Likewise.
64434 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64435 (__xmknod): Do not use CHECK_STRING.
64436 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64437 <bp-checks.h>.
64438 (__xmknodat): Do not use CHECK_STRING.
64439 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64440 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64441
64442 2013-02-04 Andreas Schwab <schwab@suse.de>
64443
64444 [BZ #14142]
64445 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64446 * include/netdb.h: Likewise for h_errno.
64447 * elf/tst-stackguard1.c: Include <tls.h>.
64448
64449 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
64450
64451 * elf/link.h (struct link_map): Extend the l_addr comment.
64452 * include/link.h (struct link_map): Likewise.
64453
64454 2013-02-01 Joseph Myers <joseph@codesourcery.com>
64455
64456 [BZ #13550]
64457 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64458 (BOUNDED_1): Remove macro.
64459 * debug/backtrace.c: Don't include <bp-checks.h>.
64460 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64461 (__backtrace): Likewise.
64462 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64463 <bp-checks.h>.
64464 (__backtrace): Don't use BOUNDED_1.
64465 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64466 <bp-checks.h>.
64467 (__backtrace): Don't use BOUNDED_1.
64468 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64469 (__backtrace): Don't use BOUNDED_1.
64470 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64471 (shmat): Don't use BOUNDED_N.
64472
64473 2013-01-31 Joseph Myers <joseph@codesourcery.com>
64474
64475 [BZ #13550]
64476 * sysdeps/generic/bp-start.h: Remove file.
64477 * csu/libc-start.c: Don't include <bp-start.h>.
64478 (LIBC_START_MAIN): Set up __environ directly instead of using
64479 INIT_ARGV_and_ENVIRON.
64480 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64481 <bp-start.h>.
64482
64483 [BZ #13550]
64484 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64485 definitions.
64486 (CHECK_FCNTL): Likewise.
64487 (CHECK_N_PAGES): Likewise.
64488
64489 [BZ #13550]
64490 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64491 definitions.
64492 (CHECK_SIGSET_NULL_OK): Likewise.
64493 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64494 <bp-checks.h>.
64495 (sigpending): Don't use CHECK_SIGSET.
64496 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64497 <bp-checks.h>.
64498 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64499 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64500 <bp-checks.h>.
64501 (do_sigsuspend): Don't use CHECK_SIGSET.
64502 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64503 use CHECK_SIGSET.
64504 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64505 (do_sigwait): Don't use CHECK_SIGSET.
64506 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64507 use CHECK_SIGSET.
64508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64509 include <bp-checks.h>.
64510 (sigpending): Don't use CHECK_SIGSET.
64511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64512 include <bp-checks.h>.
64513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64514 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64515 <bp-checks.h>.
64516 (sigpending): Don't use CHECK_SIGSET.
64517 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64518 <bp-checks.h>.
64519 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64520
64521 [BZ #13550]
64522 * sysdeps/generic/bp-semctl.h: Remove file.
64523 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64524 <bp-checks.h> and <bp-semctl.h>.
64525 (__old_semctl): Don't use CHECK_SEMCTL.
64526 (__new_semctl): Likewise.
64527 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64528 and <bp-semctl.h>.
64529 (__old_semctl): Don't use CHECK_SEMCTL.
64530 (__new_semctl): Likewise.
64531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64532 <bp-checks.h> and <bp-semctl.h>.
64533 (__old_semctl): Don't use CHECK_SEMCTL.
64534 (__new_semctl): Likewise.
64535 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64536 <bp-checks.h> and <bp-semctl.h>.
64537 (semctl): Don't use CHECK_SEMCTL.
64538
64539 [BZ #13550]
64540 * Makerules (elide-bp-thunks): Remove variable.
64541 (elide-routines.oS): Don't use $(elide-bp-thunks).
64542 (elide-routines.os): Likewise.
64543 (elide-routines.o): Likewise.
64544 (elide-routines.op): Likewise.
64545 (elide-routines.og): Likewise.
64546 (objects): Don't use $(bp-thunks).
64547 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64548 include.
64549 (common-generated): Do not add s-proto-bp.d.
64550 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64551 (int): Likewise.
64552 (typ): Likewise.
64553 Do not generate makefile rules for bounded-pointer thunks.
64554 * sysdeps/generic/bp-thunks.h: Remove file.
64555 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64556 * sysdeps/unix/s-proto-bp.S: Likewise.
64557
64558 [BZ #15062]
64559 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64560 parts of result separately when argument is not close to line from
64561 -i to i and one part of argument is small.
64562 * math/k_casinhf.c (__kernel_casinhf): Likewise.
64563 * math/k_casinhl.c (__kernel_casinhl): Likewise.
64564 * math/libm-test.inc (cacos_test): Add more tests.
64565 (casin_test): Likewise.
64566 (casinh_test): Likewise.
64567 * sysdeps/i386/fpu/libm-test-ulps: Update.
64568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64569
64570 2013-01-31 David S. Miller <davem@davemloft.net>
64571
64572 * po/de.po: Update from translation team.
64573
64574 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
64575
64576 * time/tzfile.c: Include stdint.h for SIZE_MAX.
64577
64578 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
64579
64580 * configure.in (_AC_PROG_CC_C89): New definition.
64581 * configure: Regenerate.
64582
64583 * configure.in (AC_PROG_CPP): New definition.
64584 * configure: Regenerate.
64585
64586 2013-01-23 Joseph Myers <joseph@codesourcery.com>
64587
64588 * debug/tst-backtrace.h: New file.
64589 * debug/tst-backtrace2.c: Include tst-backtrace.h.
64590 (ret): Remove variable.
64591 (x): Likewise.
64592 (FAIL): Remove macro.
64593 (NO_INLINE): Likewise.
64594 (fn1): Use match function instead of strstr.
64595 * debug/tst-backtrace3.c: Include tst-backtrace.h.
64596 (ret): Remove variable.
64597 (x): Likewise.
64598 (FAIL): Remove macro.
64599 (NO_INLINE): Likewise.
64600 (fn): Use match function instead of strstr.
64601 * debug/tst-backtrace4.c: Include tst-backtrace.h.
64602 (ret): Remove variable.
64603 (x): Likewise.
64604 (FAIL): Remove macro.
64605 (NO_INLINE): Likewise.
64606 (handle_signal): Use match function instead of strstr.
64607 * debug/tst-backtrace5.c: Include tst-backtrace.h.
64608 (ret): Remove variable.
64609 (x): Likewise.
64610 (FAIL): Remove macro.
64611 (NO_INLINE): Likewise.
64612 (handle_signal): Use match function instead of strstr.
64613
64614 2013-01-23 Roland McGrath <roland@hack.frob.com>
64615
64616 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64617
64618 2013-01-23 David S. Miller <davem@davemloft.net>
64619
64620 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64621 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64622 argument of CAS if possible.
64623 * sysdeps/sparc/sparc64/bits/atomic.h
64624 (__arch_compare_and_exchange_val_32_acq): Likewise.
64625 (__arch_compare_and_exchange_val_64_acq): Likewise.
64626
64627 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
64628
64629 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64630 * sysdeps/posix/ulimit.c: ... this.
64631 Include <limits.h>.
64632 * sysdeps/unix/bsd/ulimit.c: Remove file.
64633
64634 2013-01-23 Adam Conrad <adconrad@0c3.net>
64635
64636 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64637 (LDFLAGS-tst-array5): Likewise.
64638
64639 2013-01-23 Joseph Myers <joseph@codesourcery.com>
64640
64641 [BZ #15036]
64642 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64643 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64644 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64645 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64646
64647 2013-01-21 David S. Miller <davem@davemloft.net>
64648
64649 * sysdeps/sparc/backtrace.c: New file.
64650 * sysdeps/sparc/sparc32/backtrace.h: New file.
64651 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64652 * sysdeps/sparc/sparc64/backtrace.h: New file.
64653 * sysdeps/sparc/sparc64/backtrace.c: Delete.
64654 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64655 -funwind-tables.
64656
64657 2013-01-21 Andreas Schwab <schwab@suse.de>
64658
64659 [BZ #15020]
64660 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64661 closed its stdout.
64662
64663 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
64664
64665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64666 "mpa2.h".
64667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64668
64669 2013-01-18 Joseph Myers <joseph@codesourcery.com>
64670 Mark Mitchell <mark@codesourcery.com>
64671 Tom de Vries <tom@codesourcery.com>
64672 Paul Pluzhnikov <ppluzhnikov@google.com>
64673
64674 * debug/tst-backtrace2.c: New file.
64675 * debug/tst-backtrace3.c: Likewise.
64676 * debug/tst-backtrace4.c: Likewise.
64677 * debug/tst-backtrace5.c: Likewise.
64678 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64679 (CFLAGS-tst-backtrace3.c): Likewise.
64680 (CFLAGS-tst-backtrace4.c): Likewise.
64681 (CFLAGS-tst-backtrace5.c): Likewise.
64682 (LDFLAGS-tst-backtrace2): Likewise.
64683 (LDFLAGS-tst-backtrace3): Likewise.
64684 (LDFLAGS-tst-backtrace4): Likewise.
64685 (LDFLAGS-tst-backtrace5): Likewise.
64686 (tests): Add new tests tst-backtrace2, tst-backtrace3,
64687 tst-backtrace4 and tst-backtrace5.
64688
64689 2013-01-18 Anton Blanchard <anton@samba.org>
64690 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64691
64692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64693 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64694 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64695 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64697 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64698 "+r" and remove output regs list as redundant. Add explicit inline
64699 asm to specify register of return val to work around compiler codegen
64700 bug. Remove (int) cast on return value. Add return type parameter to
64701 use in macro so that this macro does not truncate return value for
64702 64-bit values.
64703 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64704 pass to INTERNAL_VSYSCALL_NCS.
64705 (INLINE_VSYSCALL): Add 'long int' as return type to
64706 INTERNAL_VSYSCALL_NCS macro invocation.
64707 (INTERNAL_VSYSCALL): Add 'long int' as return type to
64708 INTERNAL_VSYSCALL_NCS macro invocation.
64709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64710
64711 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64712
64713 [BZ #14496]
64714 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64715 Fix application of SIMD FP exception mask.
64716
64717 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64718 mp_no from a power of two.
64719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64720 __mpexp_twomm1. Use __pow_mp.
64721
64722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64723 multiplication.
64724
64725 2013-01-17 David S. Miller <davem@davemloft.net>
64726
64727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64728
64729 2013-01-17 Joseph Myers <joseph@codesourcery.com>
64730
64731 [BZ #15023]
64732 * include/complex.h: Condition contents on [!_COMPLEX_H].
64733 (__kernel_casinhf): New prototype.
64734 (__kernel_casinh): Likewise.
64735 (__kernel_casinhl): Likewise.
64736 * math/Makefile (libm_calls): Add k_casinh.
64737 * math/k_casinh.c: New file.
64738 * math/k_casinhf.c: Likewise.
64739 * math/k_casinhl.c: Likewise.
64740 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64741 finite nonzero arguments.
64742 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64743 finite nonzero arguments.
64744 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64745 finite nonzero arguments.
64746 * math/s_casinh.c: Do not include <float.h>.
64747 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64748 * math/s_casinhf.c: Do not include <float.h>.
64749 (__casinhf): Move code for finite nonzero arguments to
64750 k_casinhf.c.
64751 * math/s_casinhl.c: Do not include <float.h>.
64752 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64753 redefine.
64754 (__casinhl): Move code for finite nonzero arguments to
64755 k_casinhl.c.
64756 * math/libm-test.inc (cacos_test): Add more tests.
64757 * sysdeps/i386/fpu/libm-test-ulps: Update.
64758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64759
64760 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
64761
64762 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64763 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64764 [!HAVE_MREMAP]: Remove [defined linux] case.
64765 * malloc/arena.c: Do not include <malloc-sysdep.h>.
64766
64767 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
64768
64769 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64770
64771 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
64772
64773 * elf/elf.h (R_386_SIZE32): New relocation.
64774 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64775 R_386_SIZE32.
64776 (elf_machine_rela): Likewise.
64777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64778 R_X86_64_SIZE64 and R_X86_64_SIZE32.
64779
64780 2013-01-17 Joseph Myers <joseph@codesourcery.com>
64781
64782 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64783 (FP_FAST_FMA): Do not define.
64784 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64785 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64786 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64787 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64788 !_SOFT_FLOAT]: Likewise.
64789 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64791 value.
64792 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64793 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64794 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64795 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64796 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64797 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64798 file.
64799
64800 2013-01-16 Andreas Schwab <schwab@suse.de>
64801
64802 [BZ #14327]
64803 * include/stdlib.h (__mktemp): Add declaration.
64804 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64805 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64806
64807 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
64808
64809 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64810 definitions.
64811 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64812 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64813 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64814 definitions here.
64815 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64816 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64817 definitions.
64818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64819 and ONE.
64820 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64821 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64822 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64823 definitions.
64824 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64825 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64826 definitions.
64827 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64828
64829 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64830
64831 2013-01-15 David S. Miller <davem@davemloft.net>
64832
64833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64834 trunc{,f} to libm-sysdep_routes.
64835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64837 file.
64838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64840 file.
64841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64842 file.
64843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64845 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64846 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64847 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64848 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64849 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64850 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64851
64852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64853 nearbyint{,f} to libm-sysdep_routes.
64854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64856 New file.
64857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64858 file.
64859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64860 New file.
64861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64862 file.
64863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64866 file.
64867 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64869 file.
64870 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64871 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64872 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64873
64874 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64875 libc_feholdexcept and libc_fesetenv.
64876
64877 2013-01-15 Mike Frysinger <vapier@gentoo.org>
64878
64879 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64880
64881 2013-01-14 David S. Miller <davem@davemloft.net>
64882
64883 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64884 (SPARC_ASM_VIS2_IFUNC): Likewise.
64885 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64887 use of 'siam' instruction.
64888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64889 Likewise.
64890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64891 Likewise.
64892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64893 Likewise.
64894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64899 file.
64900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64901 file.
64902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64903 file.
64904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64905 file.
64906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64911 new VIS2 routines.
64912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64915 Likewise.
64916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64921 routines to libm-sysdep_routines.
64922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64923
64924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64925 fdim/fdimf to libm-sysdep_routines.
64926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64927 file.
64928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64930 file.
64931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64934 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64935 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64936 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64937 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64938
64939 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64940
64941 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64942 to optimize copies.
64943
64944 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64947
64948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64949 local variable MPTWO.
64950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64951 Likewise.
64952
64953 2013-01-13 Mike Frysinger <vapier@gentoo.org>
64954
64955 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64956 GLOB_NOESCAPE.
64957
64958 2013-01-13 Mike Frysinger <vapier@gentoo.org>
64959
64960 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64961
64962 2013-01-13 Mike Frysinger <vapier@gentoo.org>
64963
64964 * manual/pattern.texi (glob_t): Document gl_flags.
64965 (glob64_t): Likewise.
64966
64967 2013-01-11 David S. Miller <davem@davemloft.net>
64968
64969 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64970 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64971 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
64972 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64973 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64974 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64975 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64976 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64977 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64978 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64979 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64980 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64981 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64982
64983 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64984 sparc V9 rather than using V8 code.
64985 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64986 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64987
64988 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64989 Move to...
64990 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64991 Here.
64992
64993 2013-01-11 Roland McGrath <roland@hack.frob.com>
64994
64995 [BZ #14941]
64996 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64997 not in the main loop.
64998 * configure: Regenerated.
64999
65000 2013-01-11 Joseph Myers <joseph@codesourcery.com>
65001
65002 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65003 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65004 to just #else.
65005 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
65006 [!__GLIBC_HAVE_LONG_LONG] case.
65007 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65008 condition to just #else.
65009 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65010 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65011 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65012 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65013 unconditional.
65014 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65015 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65016 #elif condition to just #else.
65017 * sysdeps/unix/sysv/linux/sys/sysmacros.h
65018 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65019 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65020 #elif condition to just #else.
65021
65022 2013-01-11 Steve Ellcey <sellcey@mips.com>
65023
65024 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65025 (EF_MIPS_ARCH_64): Fix value.
65026 (EF_MIPS_ARCH_32R2): New.
65027 (EF_MIPS_ARCH_64R2): New.
65028
65029 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
65030
65031 * Makeconfig (+link-pie-before-libc): New.
65032 (+link-pie-after-libc): Likewise.
65033 (+link-pie-tests): Likewise.
65034 (+link-pie): Rewritten.
65035 (link-before-libc): Remove $(config-LDFLAGS).
65036 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65037 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65038 (config-LDFLAGS): Renamed to ...
65039 (rtld-LDFLAGS): This.
65040 (rtld-tests-LDFLAGS): New macro.
65041 (link-libc-rpath-link): Likewise.
65042 (link-libc-tests-rpath-link): Likewise.
65043 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65044 (link-libc): Prepand $(link-libc-rpath-link).
65045 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65046 (test-program-prefix): New macro.
65047 (test-via-rtld-prefix): Likewise.
65048 (test-program-cmd): Likewise.
65049 (host-test-program-cmd): Likewise.
65050 * Makefile ($(common-objpfx)testrun.sh): Replace
65051 $(run-program-prefix) with $(test-program-prefix).
65052 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65053 $(rtld-LDFLAGS).
65054 ($(common-objpfx)shlib.lds): Likewise.
65055 (build-module-helper): Likewise.
65056 ($(common-objpfx)format.lds): Likewise.
65057 * Rules (binaries-pie-tests): New.
65058 (binaries-pie-notests): Likewise.
65059 (binaries-pie): Rewritten.
65060 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65061 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65062 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65063 (make-test-out): Replace $(host-built-program-cmd) with
65064 $(host-test-program-cmd).
65065 * config.make.in (build-hardcoded-path-in-tests): New variable.
65066 * configure.in (--enable-hardcoded-path-in-tests): New configure
65067 option.
65068 (hardcoded_path_in_tests): New AC_SUBST.
65069 * configure: Regenerated.
65070 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65071 $(built-program-cmd) with $(test-program-cmd).
65072 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65073 (test_program_cmd): This.
65074 * elf/Makefile ($(objpfx)order.out): Run test with
65075 $(test-program-prefix).
65076 ($(objpfx)order2.out): Likewise.
65077 ($(objpfx)tst-initorder.out): Likewise.
65078 ($(objpfx)tst-initorder2.out): Likewise.
65079 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65080 $(test-program-cmd).
65081 ($(objpfx)tst-array1-static.out): Likewise.
65082 ($(objpfx)tst-array2.out): Likewise.
65083 ($(objpfx)tst-array3.out): Likewise.
65084 ($(objpfx)tst-array4.out): Likewise.
65085 ($(objpfx)tst-array5.out): Likewise.
65086 ($(objpfx)tst-array5-static.out): Likewise.
65087 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65088 $(test-program-cmd).
65089 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65090 $(run-program-prefix) with $(test-program-prefix).
65091 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65092 (test_program_prefix): This.
65093 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65094 $(run-program-prefix) with $(test-program-prefix).
65095 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65096 (test_program_prefix): This.
65097 * iconvdata/tst-tables.sh: Likewise.
65098 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65099 $(run-program-prefix) with $(test-program-prefix).
65100 ($(objpfx)tst-translit.out): Likewise.
65101 ($(objpfx)tst-gettext2.out): Likewise.
65102 ($(objpfx)tst-gettext4.out): Likewise.
65103 ($(objpfx)tst-gettext6.out): Likewise.
65104 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65105 (test_program_prefix): This.
65106 * intl/tst-gettext2.sh: Likewise.
65107 * intl/tst-gettext4.sh Likewise.
65108 * intl/tst-gettext6.sh: Likewise.
65109 * intl/tst-translit.sh: Likewise.
65110 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65111 with $(test-program-cmd).
65112 * libio/Makefile ($(objpfx)test-freopen.out): Replace
65113 $(run-program-prefix) with $(test-program-prefix).
65114 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65115 (test_program_prefix): This.
65116 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65117 $(run-program-prefix) with $(test-program-prefix).
65118 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65119 (test_program_prefix): This.
65120 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65121 * posix/Makefile ($(objpfx)globtest.out): Replace
65122 $(run-via-rtld-prefix) and $(test-wrapper) with
65123 $(test-program-prefix) and $(test-via-rtld-prefix).
65124 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65125 $(test-program-prefix).
65126 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65127 $(host-test-program-cmd).
65128 (tst-spawn-ARGS): Likewise.
65129 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65130 $(test-program-prefix).
65131 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65132 (test_via_rtld_prefix): This.
65133 (test_wrapper): Renamed to ...
65134 (test_program_prefix): This.
65135 (run_program_prefix): Replaced by test_program_prefix.
65136 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65137 (test_program_prefix): This.
65138 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65139 with $(host-test-program-cmd).
65140 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65141 $(run-program-prefix) with $(test-program-prefix).
65142 ($(objpfx)tst-printf.out): Likewise.
65143 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65144 $(test-program-cmd).
65145 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65146 (test_program_prefix): This.
65147 * stdio-common/tst-unbputc.sh: Likewise.
65148 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65149 $(run-program-prefix) with $(test-program-prefix).
65150 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65151 (test_program_prefix): This.
65152 * string/Makefile ($(objpfx)tst-svc.out): Replace
65153 $(built-program-cmd) with $(test-program-cmd).
65154
65155 2013-01-11 Andreas Jaeger <aj@suse.de>
65156
65157 [BZ #15003]
65158 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65159 value. Sync with Linux 3.7.
65160
65161 2013-01-10 David S. Miller <davem@davemloft.net>
65162
65163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65164 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65165 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65166
65167 2013-01-10 Roland McGrath <roland@hack.frob.com>
65168
65169 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65170 never set.
65171 * configure: Regenerated.
65172
65173 2013-01-10 David S. Miller <davem@davemloft.net>
65174
65175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65176 sparc V9 rather than using V8 code.
65177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65179
65180 2013-01-10 Roland McGrath <roland@hack.frob.com>
65181
65182 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65183 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65184 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65185 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65186 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65187 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65188 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65189 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65190 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65191 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65192 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65193 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65194 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65195 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65196 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65197 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65198 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65199 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65200 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65201 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65202 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65203 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65204 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65205 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65206 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65207 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65208 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65209
65210 2013-01-10 David S. Miller <davem@davemloft.net>
65211
65212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65213
65214 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
65215
65216 * posix/Makefile (tests-static): New variable.
65217 (tests): Add $(tests-static).
65218 (tst-exec-static-ARGS): New variable.
65219 (tst-spawn-static-ARGS): Likewise.
65220 * posix/tst-exec-static.c: New file.
65221 * posix/tst-spawn-static.c: Likewise.
65222 * posix/tst-exec.c: Support run directly.
65223 * posix/tst-spawn.c: Likewise.
65224
65225 2013-01-10 Joseph Myers <joseph@codesourcery.com>
65226
65227 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65228 long.
65229 * math/bits/mathcalls.h (llrint): Likewise.
65230 (llround): Likewise.
65231 * stdlib/stdlib.h (struct drand48_data): Likewise.
65232 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65233 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65234 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65235 Likewise.
65236 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65237 Likewise.
65238 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65239 (elf_greg_t): Likewise.
65240 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65241 (__jmp_buf): Likewise.
65242 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65243 definitions.
65244 (llrint): Likewise, for all definitions.
65245 (llrintl): Likewise.
65246
65247 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65248 Remove [__GNUC__] condition.
65249 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65250 condition to just [__USE_ISOC99].
65251 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65252
65253 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
65254
65255 [BZ #14200]
65256 * sysdeps/unix/sysv/linux/x86/bits/environments.h
65257 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65258 defined.
65259 (_POSIX_V6_ILP32_OFF32): Likewise.
65260 (_XBS5_ILP32_OFF32): Likewise.
65261 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65262 (__ILP32_OFFBIG_LDFLAGS): Likewise.
65263
65264 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65265
65266 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65267
65268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65269 doubles __mpexp_twomm1. Adjust usage.
65270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65271 Remove.
65272
65273 2013-01-10 Andreas Schwab <schwab@suse.de>
65274
65275 [BZ #14964]
65276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65277 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65278
65279 2013-01-09 David S. Miller <davem@davemloft.net>
65280
65281 [BZ #15003]
65282 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65283 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65284 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65285 (TCP_FASTOPEN): Define.
65286 (tcp_repair_opt): New structure.
65287 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65288 enum values.
65289 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65290 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65291 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65292 (tcp_cookie_transactions): New structure.
65293
65294 2013-01-09 Anton Blanchard <anton@samba.org>
65295
65296 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65297 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65298 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65299 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65300
65301 2013-01-09 Joseph Myers <joseph@codesourcery.com>
65302
65303 * include/features.h (__USE_ANSI): Remove.
65304
65305 2013-01-09 Roland McGrath <roland@hack.frob.com>
65306
65307 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65308
65309 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65310
65311 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
65312
65313 * sysdeps/s390/fpu/libm-test-ulps: Update.
65314
65315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65316
65317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65318 (__acr): Likewise.
65319 (__cpy): Likewise.
65320 (norm): Likewise.
65321 (denorm): Likewise.
65322 (__mp_dbl): Likewise.
65323 (__dbl_mp): Likewise.
65324 (add_magnitudes): Likewise.
65325 (sub_magnitudes): Likewise.
65326 (__add): Likewise.
65327 (__sub): Likewise.
65328 (__mul): Likewise.
65329 (__inv): Likewise.
65330 (__dvd): Likewise.
65331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65332 (__acr): Likewise.
65333 (__cpy): Likewise.
65334 (norm): Likewise.
65335 (denorm): Likewise.
65336 (__mp_dbl): Likewise.
65337 (__dbl_mp): Likewise.
65338 (add_magnitudes): Likewise.
65339 (sub_magnitudes): Likewise.
65340 (__add): Likewise.
65341 (__sub): Likewise.
65342 (__mul): Likewise.
65343 (__inv): Likewise.
65344 (__dvd): Likewise.
65345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65346 (__acr): Likewise.
65347 (__cpy): Likewise.
65348 (norm): Likewise.
65349 (denorm): Likewise.
65350 (__mp_dbl): Likewise.
65351 (__dbl_mp): Likewise.
65352 (add_magnitudes): Likewise.
65353 (sub_magnitudes): Likewise.
65354 (__add): Likewise.
65355 (__sub): Likewise.
65356 (__mul): Likewise.
65357 (__inv): Likewise.
65358 (__dvd): Likewise.
65359
65360 2013-01-08 Joseph Myers <joseph@codesourcery.com>
65361
65362 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65363 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65364 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65365 2 && __USE_EXTERN_INLINES]: Likewise.
65366
65367 2013-01-08 Andreas Jaeger <aj@suse.de>
65368
65369 [BZ# 14985]
65370 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65371 Remove.
65372 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65373 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65374
65375 2013-01-07 Anton Blanchard <anton@samba.org>
65376
65377 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65378 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65379 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65380 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65381 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65383 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65384 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65395 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65398 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65400 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65401 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65402 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65403 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65404 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65409 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65410 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65411 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65412 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65415 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65416 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65419 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65420
65421 2013-01-07 Joseph Myers <joseph@codesourcery.com>
65422
65423 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65424 (__MALLOC_PMT): Likewise.
65425 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65426 [__GNUC__], only on [_LIBC].
65427 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65428 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65429 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65430 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65431 forward declaration.
65432 (realloc_hook_ini): Likewise.
65433 (memalign_hook_ini): Likewise.
65434 (__libc_memalign): Do not use __MALLOC_PMT in variable
65435 declaration.
65436 (__libc_valloc): Likewise.
65437 (__libc_pvalloc): Likewise.
65438 (__libc_calloc): Likewise.
65439 (__posix_memalign): Likewise.
65440
65441 [BZ #14996]
65442 * math/s_casinh.c: Include <float.h>.
65443 (__casinh): Do not do computation with squaring and square root
65444 for large arguments.
65445 * math/s_casinhf.c: Include <float.h>.
65446 (__casinhf): Do not do computation with squaring and square root
65447 for large arguments.
65448 * math/s_casinhl.c: Include <float.h>.
65449 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65450 (__casinhl): Do not do computation with squaring and square root
65451 for large arguments.
65452 * math/libm-test.inc (casin_test): Add more tests.
65453 (casinh_test): Likewise.
65454 * sysdeps/i386/fpu/libm-test-ulps: Update.
65455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65456
65457 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
65458
65459 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65460 (__x86_64_raw_data_cache_size): Likewise.
65461 (__x86_64_data_cache_size_half): Likewise.
65462 (__x86_64_raw_data_cache_size_half): Likewise.
65463 (__x86_64_shared_cache_size): Likewise.
65464 (__x86_64_raw_shared_cache_size): Likewise.
65465 (__x86_64_shared_cache_size_half): Likewise.
65466 (__x86_64_raw_shared_cache_size_half): Likewise.
65467 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65468 to ...
65469 (__x86_data_cache_size): This.
65470 (__x86_64_raw_data_cache_size): Renamed to ...
65471 (__x86_raw_data_cache_size): This.
65472 (__x86_64_data_cache_size_half): Renamed to ...
65473 (__x86_data_cache_size_half): This.
65474 (__x86_64_raw_data_cache_size_half): Renamed to ...
65475 (__x86_raw_data_cache_size_half): This.
65476 (__x86_64_shared_cache_size): Renamed to ...
65477 (__x86_shared_cache_size): This.
65478 (__x86_64_raw_shared_cache_size): Renamed to ...
65479 (__x86_raw_shared_cache_size): This.
65480 (__x86_64_shared_cache_size_half): Renamed to ...
65481 (__x86_shared_cache_size_half): This.
65482 (__x86_64_raw_shared_cache_size_half): Renamed to ...
65483 (__x86_raw_shared_cache_size_half): This.
65484 * sysdeps/x86_64/memcpy.S: Updated.
65485 * sysdeps/x86_64/memset.S: Likewise.
65486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65489
65490 2013-01-04 David S. Miller <davem@davemloft.net>
65491
65492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65493
65494 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
65495
65496 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65497 1 to avoid redefinition warning.
65498 (__USE_GNU): Don't define.
65499 (init_signaling_nan): Protoize.
65500
65501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65502
65503 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
65504
65505 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65507 (__cpymn): Likewise.
65508 (norm): Remove commented code.
65509 (denorm): Likewise.
65510 (__mp_dbl): Likewise.
65511 (__inv): Likewise.
65512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65513 (__cpymn): Likewise.
65514 (norm): Remove commented code.
65515 (denorm): Likewise.
65516 (__mp_dbl): Likewise.
65517 (__inv): Likewise.
65518
65519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65520 mp_no value for 1.0 and 2.0.
65521 (norm): Use RADIXI instead of radixi.d.
65522 (denorm): Likewise.
65523 (__mul): Use 0.0 instead of zero.d.
65524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65525 mp_no value for 1.0 and 2.0.
65526 (norm): Use RADIXI instead of radixi.d.
65527 (denorm): Likewise.
65528 (__mul): Use 0.0 instead of zero.d.
65529
65530 2013-01-04 Joseph Myers <joseph@codesourcery.com>
65531
65532 [BZ #14994]
65533 * math/s_casinh.c (__casinh): Reduce finite argument to first
65534 quadrant then set signs of results at the end.
65535 * math/s_casinhf.c (__casinhf): Likewise.
65536 * math/s_casinhl.c (__casinhl): Likewise.
65537 * math/libm-test.inc (casin_test): Add more tests.
65538 (casinh_test): Likewise.
65539 * sysdeps/i386/fpu/libm-test-ulps: Update.
65540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65541
65542 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
65543
65544 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65545
65546 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65547
65548 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65549 declarations.
65550 (denorm): Likewise.
65551 (__mp_dbl): Likewise.
65552 (__inv): Likewise.
65553
65554 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65555 and adjust the header comment.
65556
65557 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65558 variable name from declaration.
65559
65560 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
65561
65562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65563 Initialize COMMON_CPUID_INDEX_7 element.
65564 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65565 (CPUID_RTM): Likewise.
65566 (HAS_RTM): Likewise.
65567 (COMMON_CPUID_INDEX_7): New enum.
65568
65569 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
65570
65571 [BZ #14981]
65572 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65573 size is zero, record memory as freed.
65574
65575 2013-01-03 Andreas Jaeger <aj@suse.de>
65576
65577 * po/ia.po: Add new Interlingua translation.
65578
65579 2012-01-03 Allan McRae <allan@archlinux.org>
65580
65581 * locale/programs/localedef.c: Fix description of '--posix' flag.
65582
65583 2013-01-02 Joseph Myers <joseph@codesourcery.com>
65584
65585 * NEWS: Update dates in second copyright notice.
65586 * README: Update copyright dates in example.
65587 * manual/libc.texinfo: Update copyright dates.
65588 * scripts/test-installation.pl: Update copyright date in --version
65589 output.
65590
65591 * hurd/ctty-input.c: Fix copyright notice formatting.
65592 * hurd/ctty-output.c: Likewise.
65593 * hurd/dtable.c: Likewise.
65594 * hurd/hurd-raise.c: Likewise.
65595 * hurd/hurdprio.c: Likewise.
65596 * hurd/msgportdemux.c: Likewise.
65597 * misc/sys/file.h: Likewise.
65598 * misc/sys/ioctl.h: Likewise.
65599 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65600 * sysdeps/mach/hurd/chdir.c: Likewise.
65601 * sysdeps/mach/hurd/fchdir.c: Likewise.
65602 * sysdeps/mach/hurd/rename.c: Likewise.
65603 * sysdeps/mach/hurd/rmdir.c: Likewise.
65604 * sysdeps/mach/hurd/seekdir.c: Likewise.
65605 * sysdeps/mach/hurd/setsid.c: Likewise.
65606 * sysdeps/posix/wait3.c: Likewise.
65607
65608 * All files with FSF copyright notices: Update copyright dates
65609 using scripts/update-copyrights.
65610 * intl/plural.c: Regenerated.
65611 * locale/programs/charmap-kw.h: Likewise.
65612 * locale/programs/locfile-kw.h: Likewise.
65613
65614 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
65615
65616 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65617 four values.
65618
65619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65620 calculation loop and add branch prediction.
65621
65622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65623 check access beyond bounds of m1np.
65624
65625 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65626 MPTWO.
65627 (__inv): Remove local variable MPTWO to use the global
65628 constant.
65629 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65631 variable MPTWO.
65632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65633 MP3HALFS static const.
65634
65635 2013-01-01 David S. Miller <davem@davemloft.net>
65636
65637 * po/ca.po: Update from translation team.
65638
65639 2013-01-01 Joseph Myers <joseph@codesourcery.com>
65640
65641 * scripts/update-copyrights: New file.
65642 * Makeconfig: Reformat copyright notice.
65643 * ctype/ctype.h: Likewise.
65644 * debug/swprintf_chk.c: Likewise.
65645 * elf/dl-cache.c: Likewise.
65646 * elf/dl-debug.c: Likewise.
65647 * elf/dl-object.c: Likewise.
65648 * grp/initgroups.c: Likewise.
65649 * hurd/Makefile: Likewise.
65650 * hurd/hurd/signal.h: Likewise.
65651 * hurd/hurdfault.c: Likewise.
65652 * hurd/hurdioctl.c: Likewise.
65653 * hurd/hurdlookup.c: Likewise.
65654 * hurd/intr-msg.c: Likewise.
65655 * iconv/gconv_open.c: Likewise.
65656 * libio/swprintf.c: Likewise.
65657 * locale/lc-ctype.c: Likewise.
65658 * locale/nl_langinfo.c: Likewise.
65659 * mach/Machrules: Likewise.
65660 * mach/Makefile: Likewise.
65661 * malloc/obstack.h: Likewise.
65662 * manual/Makefile: Likewise.
65663 * manual/tsort.awk: Likewise.
65664 * misc/bits/stab.def: Likewise.
65665 * nis/nis_print_group_entry.c: Likewise.
65666 * nis/nis_table.c: Likewise.
65667 * nis/nss_compat/compat-pwd.c: Likewise.
65668 * nis/nss_compat/compat-spwd.c: Likewise.
65669 * po/Makefile: Likewise.
65670 * posix/fnmatch.c: Likewise.
65671 * posix/regex.h: Likewise.
65672 * resolv/Makefile: Likewise.
65673 * resolv/nss_dns/dns-network.c: Likewise.
65674 * resolv/res_hconf.c: Likewise.
65675 * scripts/gen-sorted.awk: Likewise.
65676 * soft-fp/soft-fp.h: Likewise.
65677 * stdio-common/printf.h: Likewise.
65678 * stdlib/monetary.h: Likewise.
65679 * stdlib/random.c: Likewise.
65680 * stdlib/random_r.c: Likewise.
65681 * sysdeps/generic/Makefile: Likewise.
65682 * sysdeps/gnu/Makefile: Likewise.
65683 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65685 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65693 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65694 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65695 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65696 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65697 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65703 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65704 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65705 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65706 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65707 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65708 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65709 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65711 * sysdeps/mach/hurd/errnos.awk: Likewise.
65712 * sysdeps/mach/hurd/fork.c: Likewise.
65713 * sysdeps/mach/hurd/getcwd.c: Likewise.
65714 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65715 * sysdeps/mach/hurd/mmap.c: Likewise.
65716 * sysdeps/mach/hurd/utimes.c: Likewise.
65717 * sysdeps/mach/hurd/xmknod.c: Likewise.
65718 * sysdeps/posix/profil.c: Likewise.
65719 * sysdeps/posix/readdir_r.c: Likewise.
65720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65721 * sysdeps/powerpc/bits/setjmp.h: Likewise.
65722 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65723 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65725 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65729 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65730 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65731 * sysdeps/pthread/lio_listio.c: Likewise.
65732 * sysdeps/sparc/dl-procinfo.h: Likewise.
65733 * sysdeps/unix/i386/sysdep.S: Likewise.
65734 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65735 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65736 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65737 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65739 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65740 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65741 * sysdeps/unix/sysv/linux/speed.c: Likewise.
65742 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65743 * sysdeps/wordsize-32/divdi3.c: Likewise.
65744 * time/sys/time.h: Likewise.
65745 * wcsmbs/Makefile: Likewise.
65746
65747 2013-01-01 David S. Miller <davem@davemloft.net>
65748
65749 * po/fr.po: Update from translation team.
65750
65751 * catgets/gencat.c: Update copyright year.
65752 * csu/version.c: Likewise.
65753 * debug/catchsegv.sh: Likewise.
65754 * debug/pcprofiledump.c: Likewise.
65755 * debug/xtrace.sh: Likewise.
65756 * elf/ldconfig.c: Likewise.
65757 * elf/ldd.bash.in: Likewise.
65758 * elf/pldd.c: Likewise.
65759 * elf/sotruss.ksh: Likewise.
65760 * elf/sprof.c: Likewise.
65761 * iconv/iconv_prog.c: Likewise.
65762 * iconv/iconvconfig.c: Likewise.
65763 * locale/programs/locale.c: Likewise.
65764 * locale/programs/localedef.c: Likewise.
65765 * login/programs/pt_chown.c: Likewise.
65766 * malloc/memusage.sh: Likewise.
65767 * malloc/memusagestat.c: Likewise.
65768 * malloc/mtrace.pl: Likewise.
65769 * nscd/nscd.c: Likewise.
65770 * nss/getent.c: Likewise.
65771 * nss/makedb.c: Likewise.
65772 * posix/getconf.c: Likewise.
65773
65774 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
65775
65776 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65777 numbers.
65778
65779 2012-12-30 Mike Frysinger <vapier@gentoo.org>
65780
65781 * math/bits/mathcalls.h (modf): Use __nonnull.
65782
65783 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65784
65785 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65786 (split): Use macro CN instead of the bare value.
65787 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65788 could be used.
65789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65790 instead of the bare value.
65791 (power1): Likewise.
65792
65793 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65794
65795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65796 __ATAN_TWOM.
65797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65798
65799 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65800 their values.
65801 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65803 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65804 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65805
65806 2012-12-28 Andreas Jaeger <aj@suse.de>
65807
65808 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
65809 values are from Linux 3.7.
65810
65811 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65812 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
65813
65814 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65815
65816 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65817 TRUE case.
65818
65819 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65820 (norm): Likewise.
65821 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65822 variables with preprocessor constants.
65823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65826
65827 2012-12-27 Bruno Haible <bruno@clisp.org>
65828
65829 [BZ #14317]
65830 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65831 only if needed.
65832
65833 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
65834
65835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65836 and use variable directly.
65837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65838
65839 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65840 MPONE.
65841 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65843 variable MPONE.
65844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65846 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65847 include directive. Remove local variable MPONE.
65848 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65851
65852 2012-12-25 David S. Miller <davem@davemloft.net>
65853
65854 * version.h (RELEASE): Set to "development".
65855 (VERSION): Set to "2.17.90".
65856 * NEWS: Add 2.18 section.
65857
65858 2012-12-21 David S. Miller <davem@davemloft.net>
65859
65860 * po/hr.po: Update from translation team.
65861
65862 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65863
65864 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65865
65866 2012-12-19 Steve Ellcey <sellcey@mips.com>
65867
65868 * NEWS: Mention new memcpy for MIPS.
65869
65870 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
65871
65872 * manual/contrib.texi (Contributors): Spelling correction.
65873
65874 2012-12-15 David S. Miller <davem@davemloft.net>
65875
65876 * po/ru.po: Update from translation team.
65877
65878 2012-12-13 David S. Miller <davem@davemloft.net>
65879
65880 * NEWS: Mention IFUNC testsuite enhancements.
65881
65882 * po/pl.po: Update from translation team.
65883 * po/bg.po: Likewise.
65884
65885 * manual/contrib.texi (Contributors): Update entries for Hongjiu
65886 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
65887
65888 2012-12-11 David S. Miller <davem@davemloft.net>
65889
65890 * po/sv.po: Update from translation team.
65891
65892 * po/vi.po: Update from translation team.
65893
65894 * po/cs.po: Update from translation team.
65895
65896 * po/de.po: Update from translation team.
65897 * po/eo.po: Likewise.
65898 * po/nl.po: Likewise.
65899
65900 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
65901
65902 [BZ #14246]
65903 * manual/argp.texi (Argp Helper Functions): Move node to follow
65904 Argp Parsing State.
65905
65906 [BZ #14872]
65907 * manual/conf.texi (Limits on File System Capacity): Mention if
65908 terminating null is included in the max size.
65909
65910 2012-12-10 Andreas Jaeger <aj@suse.de>
65911
65912 * po/cs.po: Update from translation team.
65913
65914 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
65915
65916 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65917 void pointer and cast to uintptr_t.
65918 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65919 path.
65920 * sysdeps/s390/s390-64/memcpy.S: Likewise.
65921 * sysdeps/s390/s390-64/memset.S: Likewise.
65922
65923 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
65924
65925 [BZ #14833]
65926 * menual/message.texi (Message Translation): Fix typos.
65927 (Helper programs for gettext): Likewise.
65928
65929 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
65930
65931 [BZ #14898]
65932 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65933 Change to -1.
65934
65935 2012-12-07 David S. Miller <davem@davemloft.net>
65936
65937 * po/libc.pot: Update.
65938
65939 2012-12-07 Richard Henderson <rth@redhat.com>
65940
65941 [BZ #10114]
65942 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65943 normal/normal case to before the switch.
65944 (_FP_DIV): Likewise.
65945
65946 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
65947 Mike Frysinger <vapier@gentoo.org>
65948
65949 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65950 check for __NR_fadvise64_64.
65951
65952 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
65953
65954 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65955 0, not just to plain "0" as a statement.
65956 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65957 with cw.
65958
65959 2012-12-06 Joseph Myers <joseph@codesourcery.com>
65960
65961 * NEWS: Use sourceware.org in Bugzilla URL.
65962
65963 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
65964
65965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65967
65968 * stdio-common/tst-put-error.c (do_test): Add newline to the
65969 padded test to ensure flush.
65970
65971 2012-12-05 Jeff Law <law@redhat.com>
65972
65973 * sunrpc/etc.rpc (fedfs_admin): Add entry.
65974
65975 2012-12-05 Joseph Myers <joseph@codesourcery.com>
65976
65977 * README: Don't refer to ports add-on as distributed separately.
65978 Mention AArch64 in list of systems supported in the ports add-on.
65979
65980 * LICENSES: Add more non-FSF copyright and license notices.
65981
65982 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65983 ((unused)).
65984
65985 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65986
65987 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65988 10000 as width of padded output.
65989
65990 2012-12-04 Joseph Myers <joseph@codesourcery.com>
65991
65992 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65993
65994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65995 variable LX with __attribute__ ((unused)).
65996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65997 Likewise.
65998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66001 with __attribute__ ((unused)).
66002
66003 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
66004
66005 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66006
66007 2012-12-04 Joseph Myers <joseph@codesourcery.com>
66008
66009 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66010 (CFLAGS-nldbl-acos.c): New variable.
66011 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66012 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66013 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66014 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66015 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66016 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66017 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66018 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66019 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66020 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66021 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66022 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66023 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66024 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66025 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66026 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66027 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66028 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66029 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66030 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66031 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66032 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66033 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66034 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66035 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66036 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66037 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66038 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66039 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66040 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66041 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66042 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66043 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66044 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66045 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66046 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66047 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66048 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66049 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66050 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66051 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66052 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66053 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66054 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66055 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66056 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66057 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66058 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66059 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66060 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66061 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66062 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66063 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66064 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66065 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66066 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66067 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66068 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66069 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66070 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66071 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66072 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66073 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66074 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66075 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66076 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66077 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66078 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66079 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66080 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66081 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66082 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66083 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66084 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66085 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66086 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66087 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66088 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66089 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66090 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66091 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66092 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66093 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66094 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66095 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66096 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66097 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66098 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66099 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66100 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66101 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66102 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66103 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66104 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66105 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66106 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66107 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66108
66109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66110 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66111
66112 [BZ #14914]
66113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66114 whole low double instead of just low 47 bits when splitting values
66115 into two parts.
66116
66117 2012-12-03 Allan McRae <allan@archlinux.org>
66118
66119 * manual/stdio.texi (Predefined Printf Handlers): Remove
66120 @hsep and @vsep usage.
66121
66122 2012-12-03 Mike Frysinger <vapier@gentoo.org>
66123
66124 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66125 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66126
66127 2012-12-03 Jeff Law <law@redhat.com>
66128
66129 * time/sys/time.h (settimeofday): Do not mark TV argument
66130 as __nonnull.
66131
66132 2012-12-01 Mike Frysinger <vapier@gentoo.org>
66133
66134 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66135 when currently writing and seek to current position when not.
66136 * libio/Makefile (tests): Remove bug-fclose1.
66137 * libio/bug-fclose1.c: Delete.
66138
66139 2012-12-01 Joseph Myers <joseph@codesourcery.com>
66140
66141 * manual/arith.texi (feenableexcept): Fix typo.
66142 (fedisableexcept): Likewise.
66143
66144 2012-11-30 Roland McGrath <roland@hack.frob.com>
66145
66146 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66147 second, differently-typed declaration, rather than a cast.
66148
66149 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66150
66151 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66152 * include/rpc/svc.h: ... here.
66153
66154 2012-11-30 Aurelien Jarno <aurel32@debian.org>
66155
66156 [BZ #13013]
66157 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66158 depending n and resplen2 to catch cases where answer
66159 equals answerp2.
66160
66161 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
66162
66163 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66164 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66165
66166 2012-11-29 Mike Frysinger <vapier@gentoo.org>
66167
66168 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66169
66170 2012-11-29 Roland McGrath <roland@hack.frob.com>
66171
66172 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66173
66174 2012-11-28 Jeff Law <law@redhat.com>
66175
66176 [BZ #13761]
66177 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66178 dataset_temporary. Track alloca usage into alloca_used.
66179 If dataset is large allocate and release it via malloc/free.
66180
66181 2012-06-04 Florian Weimer <fweimer@redhat.com>
66182
66183 [BZ #14197]
66184 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66185
66186 2012-11-28 David S. Miller <davem@davemloft.net>
66187
66188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66189
66190 2012-11-28 Joseph Myers <joseph@codesourcery.com>
66191
66192 [BZ #14803]
66193 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66194 of pi/2 rounded to nearest to 64 bits.
66195 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66196 nearest to 64 bits.
66197 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66198 bits.
66199
66200 2012-11-28 Jeff Law <law@redhat.com>
66201 Martin Osvald <mosvald@redhat.com>
66202
66203 [BZ #14889]
66204 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66205 * sunrpc/svc.c: Include time.h.
66206 (__svc_accept_failed): New function.
66207 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66208 any reason other than EINTR, call __svc_accept_failed.
66209 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66210 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66211
66212 2012-11-28 Andreas Schwab <schwab@suse.de>
66213
66214 * scripts/abilist.awk: Also handle indirect functions in .opd
66215 section.
66216
66217 2012-11-28 Joseph Myers <joseph@codesourcery.com>
66218
66219 [BZ #13881]
66220 * sysdeps/x86/fpu/powl_helper.c: New file.
66221 * sysdeps/x86/fpu/Makefile: Likewise.
66222 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66223 (p3): New object.
66224 (__ieee754_powl): Use __powl_helper for finite arguments except
66225 integer exponents below 8.
66226 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66227 (p3): New object.
66228 (__ieee754_powl): Use __powl_helper for finite arguments except
66229 integer exponents below 8.
66230 * math/libm-test.inc (pow_test): Add more tests and enable some
66231 previously disabled tests.
66232 * sysdeps/i386/fpu/libm-test-ulps: Update.
66233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66234
66235 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66236 Carlos O'Donell <carlos_odonell@mentor.com>
66237
66238 * nss/makedb.c (is_prime): Assert that input is odd and greater
66239 than 4. Note that fact in a comment too.
66240 (next_prime): Add 4 to input.
66241
66242 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
66243
66244 [BZ #11741]
66245 * libio/Makefile (tests): Add test case tst-fwrite-error.
66246 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66247 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66248 * libio/tst-fwrite-error.c: New test case.
66249
66250 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
66251
66252 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66253 before casting to void *.
66254 * include/libc-internal.h (__pointer_type): New macro.
66255 (__integer_if_pointer_type_sub): Likewise.
66256 (__integer_if_pointer_type): Likewise.
66257 (cast_to_integer): Likewise.
66258 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66259 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66260 before casting to atomic64_t.
66261 (atomic_exchange_acq): Likewise.
66262 (__arch_exchange_and_add_body): Likewise.
66263 (__arch_add_body): Likewise.
66264 (atomic_add_negative): Likewise.
66265 (atomic_add_zero): Likewise.
66266
66267 2012-11-26 Joseph Myers <joseph@codesourcery.com>
66268
66269 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66270 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66271 (add_fdes): Likewise.
66272 (linear_search_fdes): Likewise.
66273 (binary_search_unencoded_fdes): Likewise.
66274
66275 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
66276
66277 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66278
66279 2012-11-24 Adam Conrad <adconrad@0c3.net>
66280
66281 * configure.in: Autodetect C++ header directories.
66282 * configure: Regenerated.
66283
66284 2012-11-23 Mike Frysinger <vapier@gentoo.org>
66285
66286 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66287
66288 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
66289
66290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66291
66292 2012-11-22 Joseph Myers <joseph@codesourcery.com>
66293
66294 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66295 LDBL_MANT_DIG == 106]: Disable some tests.
66296 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66297 Likewise.
66298 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66299 Likewise.
66300
66301 [BZ #14871]
66302 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66303 input for small inputs. Return +/- pi/2 for large inputs.
66304 * math/libm-test.inc (atan_test): Add more tests.
66305
66306 * sysdeps/generic/unwind-dw2-fde-glibc.c
66307 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66308 __attribute__ ((unused)).
66309
66310 [BZ #14645]
66311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66312 x * y if x and y are nonzero and z is zero.
66313
66314 [BZ #14811]
66315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66316 nonzero exponents with absolute value below 0x1p-117 to +/-
66317 0x1p-117.
66318
66319 [BZ #14869]
66320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66321 up arguments below 2**-450, not just those below 2**-500.
66322 * math/libm-test.inc (hypot_test): Add another test.
66323
66324 [BZ #14868]
66325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66326 Return a+b for ratio over 2**120, not 2**60.
66327 * math/libm-test.inc (hypot_test): Add another test.
66328
66329 * math/libm-test.inc (clog_test): Use
66330 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66331 (clog10_test): Likewise.
66332
66333 [BZ #6778]
66334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66335
66336 2012-11-22 Andreas Schwab <schwab@suse.de>
66337
66338 * sysdeps/i386/fpu/libm-test-ulps: Update.
66339
66340 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
66341
66342 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66343 printf output with newline.
66344
66345 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
66346
66347 [BZ #14865]
66348 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66349 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66350 -z nodlopen, -z initfirst and -z execstack support.
66351 * configure: Regenerated.
66352
66353 * elf/elf.h (DF_1_NODIRECT): New macro.
66354 (DF_1_IGNMULDEF): Likewise.
66355 (DF_1_NOKSYMS): Likewise.
66356 (DF_1_NOHDR): Likewise.
66357 (DF_1_EDITED): Likewise.
66358 (DF_1_NORELOC): Likewise.
66359 (DF_1_SYMINTPOSE): Likewise.
66360 (DF_1_GLOBAUDIT): Likewise.
66361 (DF_1_SINGLETON): Likewise.
66362 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66363 DT_1_SUPPORTED_MASK bits.
66364 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66365
66366 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
66367
66368 * sysdeps/unix/make-syscalls.sh: Document prefixes.
66369
66370 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
66371
66372 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66373 macro.
66374
66375 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66376 (sendmmsg): Move declarations...
66377 * socket/sys/socket.h: ... here.
66378 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66379 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66380 include it from...
66381 * socket/recvmmsg.c: ... this new file.
66382 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66383 (sendmmsg): Rename to __sendmmsg, create weak alias and make
66384 definition of __sendmmsg hidden.
66385 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66386 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66387 Move ENOSYS stub into and include it from...
66388 * socket/sendmmsg.c: ... this new file.
66389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66390 (sysdep_routines): Move recvmmsg and sendmmsg...
66391 * socket/Makefile (routines): ... here.
66392 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66393 (GLIBC_PRIVATE): Add __sendmmsg.
66394 * include/sys/socket.h (__sendmmsg): Add declarations.
66395 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66396 sendmmsg.
66397
66398 2012-11-20 Joseph Myers <joseph@codesourcery.com>
66399
66400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66401 variable I1 with __attribute__ ((unused)).
66402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66403
66404 2012-11-19 Joseph Myers <joseph@codesourcery.com>
66405
66406 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66407 DUMMY variables with __attribute__ ((unused)).
66408
66409 * bits/byteswap.h: Include <bits/types.h>.
66410 (__bswap_64): Use __uint64_t instead of unsigned long long int.
66411
66412 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
66413
66414 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66415 string_t. Do not manually set errno.
66416 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66417 length with __strnlen. Make sure to both set errno and return it on
66418 failure.
66419
66420 2012-11-19 David S. Miller <davem@davemloft.net>
66421
66422 With help from Joseph Myers.
66423 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66424 very large arguments properly.
66425 * math/libm-test.inc (atan_test): New tests.
66426 (atan2_test): New tests.
66427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66429
66430 2012-11-19 Joseph Myers <joseph@codesourcery.com>
66431
66432 [BZ #14856]
66433 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66434 Define to 3.
66435
66436 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66437 [POSIX] (EADDRNOTAVAIL): Likewise.
66438 [POSIX] (EAFNOSUPPORT): Likewise.
66439 [POSIX] (EALREADY): Likewise.
66440 [POSIX] (ECONNABORTED): Likewise.
66441 [POSIX] (ECONNREFUSED): Likewise.
66442 [POSIX] (ECONNRESET): Likewise.
66443 [POSIX] (EDESTADDRREQ): Likewise.
66444 [POSIX] (EDQUOT): Likewise.
66445 [POSIX] (EHOSTUNREACH): Likewise.
66446 [POSIX] (EIDRM): Likewise.
66447 [POSIX] (EISCONN): Likewise.
66448 [POSIX] (ELOOP): Likewise.
66449 [POSIX] (EMULTIHOP): Likewise.
66450 [POSIX] (ENETDOWN): Likewise.
66451 [POSIX] (ENETUNREACH): Likewise.
66452 [POSIX] (ENOBUFS): Likewise.
66453 [POSIX] (ENODATA): Likewise.
66454 [POSIX] (ENOLINK): Likewise.
66455 [POSIX] (ENOMSG): Likewise.
66456 [POSIX] (ENOPROTOOPT): Likewise.
66457 [POSIX] (ENOSR): Likewise.
66458 [POSIX] (ENOSTR): Likewise.
66459 [POSIX] (ENOTCONN): Likewise.
66460 [POSIX] (ENOTSOCK): Likewise.
66461 [POSIX] (EOPNOTSUPP): Likewise.
66462 [POSIX] (EOVERFLOW): Likewise.
66463 [POSIX] (EPROTO): Likewise.
66464 [POSIX] (EPROTONOSUPPORT): Likewise.
66465 [POSIX] (EPROTOTYPE): Likewise.
66466 [POSIX] (ESTALE): Likewise.
66467 [POSIX] (ETIME): Likewise.
66468 [POSIX] (ETXTBSY): Likewise.
66469 [POSIX] (EWOULDBLOCK): Likewise.
66470 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66471 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66472 [POSIX] (SEEK_CUR): Likewise.
66473 [POSIX] (SEEK_END): Likewise.
66474 [POSIX || UNIX98] (mode_t): Do not require.
66475 [POSIX] (off_t): Likewise.
66476 [POSIX] (pid_t): Likewise.
66477 [POSIX] (sys/stat.h): Do not allow header.
66478 [POSIX] (unistd.h): Likewise.
66479 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66480 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66481 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66482 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66483 require.
66484 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66485 sigevent): Specify elements.
66486 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66487 entry.
66488 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66489 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66490
66491 * conform/data/cpio.h-data [POSIX]: Disable whole file.
66492 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66493 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66494 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66495 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66496 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66497 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66499 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66500 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66501 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66502 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66503 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66505 Likewise.
66506 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66507 Likewise.
66508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66509 Likewise.
66510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66511 Likewise.
66512 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66514 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66515 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66516 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66517 Specify lower bound on value.
66518 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66519 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66520 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66521 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66522 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66523 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66524 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66525 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66526 value.
66527 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66528 as optional.
66529 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66530 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66531 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66532 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66533 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66534 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66535 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66536 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66537 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66538 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66539 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66540 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66541 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66542 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66543 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66544 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66545 entry.
66546 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66547 optional.
66548 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66549 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66550 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66551 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66552 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66554 Likewise.
66555 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66556 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66557 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66558 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66559 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
66560 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66562 as optional.
66563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66565 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66566 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66567 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66568 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66569 specify as optional.
66570 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66571 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66572 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66573 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66574 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66575 [XPG3] (NL_LANGMAX): Likewise.
66576 [POSIX || XPG3] (NL_MSGMAX): Likewise.
66577 [POSIX || XPG3] (NL_NMAX): Likewise.
66578 [POSIX || XPG3] (NL_SETMAX): Likewise.
66579 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66580 [XPG3] (NZERO): Likewise.
66581 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66582 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66583 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66584 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66585 (REG_ERANGE): Expect.
66586 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66587 optional-constant.
66588 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66589 Use (void) in prototype.
66590 [POSIX] (*_t): Allow.
66591 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66592 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66593 (WRDE_BADVAL): Expect.
66594
66595 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66596 expect.
66597 [XPG3 || XPG4] (O_RSYNC): Likewise.
66598 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66599 Likewise.
66600 [XPG3 || XPG4] (pthread_sigmask): Likewise.
66601 [XPG3 || XPG4] (sigqueue): Likewise.
66602 [XPG3 || XPG4] (sigtimedwait): Likewise.
66603 [XPG3 || XPG4] (sigwaitinfo): Likewise.
66604 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66605 [XPG3 || XPG4] (vsnprintf): Likewise.
66606 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66607 Likewise.
66608 [XPG3 || XPG4] (blksize_t): Likewise.
66609 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66610 Likewise.
66611 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66612 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66613 [XPG3 || XPG4] (struct itimerspec): Likewise.
66614 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66615 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66616 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66617 [XPG3 || XPG4] (clockid_t): Likewise.
66618 [XPG3 || XPG4] (timer_t): Likewise.
66619 [XPG3 || XPG4] (clock_getres): Likewise.
66620 [XPG3 || XPG4] (clock_gettime): Likewise.
66621 [XPG3 || XPG4] (clock_settime): Likewise.
66622 [XPG3 || XPG4] (nanosleep): Likewise.
66623 [XPG3 || XPG4] (timer_create): Likewise.
66624 [XPG3 || XPG4] (timer_delete): Likewise.
66625 [XPG3 || XPG4] (timer_gettime): Likewise.
66626 [XPG3 || XPG4] (timer_getoverrun): Likewise.
66627 [XPG3 || XPG4] (timer_settime): Likewise.
66628 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66629 [XPG3 || XPG4] (getlogin_r): Likewise.
66630 [XPG3 || XPG4] (pread): Likewise.
66631 [XPG3 || XPG4] (pthread_atfork): Likewise.
66632 [XPG3 || XPG4] (pwrite): Likewise.
66633
66634 [BZ #14835]
66635 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66636 <bits/siginfo.h>.
66637
66638 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
66639
66640 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66641 finalizing MALLSTREAM.
66642
66643 * sysdeps/mach/hurd/syncfs.c: New file.
66644
66645 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
66646
66647 [BZ #14719]
66648 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66649 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66651 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66652 (_nss_dns_gethostbyname4_r): Likewise.
66653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66654 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66655
66656 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
66657
66658 [BZ #13763]
66659 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66660
66661 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
66662
66663 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66664 * elf/cache.c (print_entry): Print ",AArch64" for
66665 FLAG_AARCH64_LIB64
66666
66667 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66668 * elf/cache.c (print_entry): Print ",hard-float" for
66669 FLAG_ARM_LIBHF.
66670
66671 2012-11-18 David S. Miller <davem@davemloft.net>
66672
66673 With help from Joseph Myers.
66674 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66675 cutoff to 2**-13.
66676 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66677 cutoff to 2**-25.
66678 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66679 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66680 small.
66681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66682 * math/libm-test.inc (y0_test): New tests.
66683 (y1_test): New tests.
66684 * sysdeps/i386/fpu/libm-test-ulps: Update.
66685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66687
66688 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
66689
66690 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66691 64-bit targets.
66692 * configure: Regenerated.
66693
66694 2012-11-17 David S. Miller <davem@davemloft.net>
66695
66696 [BZ #14811]
66697 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66698 nonzero exponents with absolute value below 0x1p-128 to +/-
66699 0x1p-128.
66700
66701 2012-11-17 Joseph Myers <joseph@codesourcery.com>
66702
66703 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66704
66705 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66706
66707 * posix/getconf-speclist.c: New file.
66708 * posix/posix-envs.def: Likewise.
66709 * posix/confstr.c (START_ENV_GROUP): New macro.
66710 (END_ENV_GROUP): Likewise.
66711 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66712 (KNOWN_PRESENT_ENV_STRING): Likewise.
66713 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66714 (UNKNOWN_ENVIRONMENT): Likewise.
66715 (confstr): Include posix-envs.def instead of handling
66716 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66717 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66718 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66719 (END_ENV_GROUP): Likewise.
66720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66721 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66722 (UNKNOWN_ENVIRONMENT): Likewise.
66723 (__sysconf): Include posix-envs.def instead of handling associated
66724 cases directly here.
66725 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66726 preprocessing getconf-speclist.c rather than running getconf or
66727 generating empty file.
66728
66729 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
66730
66731 * scripts/check-local-headers.sh: Ignore 'mach' headers.
66732
66733 2012-11-16 Andrej Lajovic <natrij@gmail.com>
66734
66735 [BZ #14672]
66736 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66737
66738 2012-11-16 David S. Miller <davem@davemloft.net>
66739
66740 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66741 smaller than LDBL_EPSILON/2.0L, just return xm1.
66742
66743 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
66744
66745 * elf/tst-array1.c (init): Set constructor priority to 1000.
66746 (fini): Set destructor priority to 1000.
66747 * elf/tst-array2dep.c: Likewise.
66748
66749 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
66750
66751 [BZ #11741]
66752 * libio/fileops.c (_IO_new_file_write): Correctly return error.
66753 (_IO_new_file_xsputn): Also return EOF if none of the input
66754 data was written when overflow failed.
66755 * libio/iopadn.c (_IO_padn): Likewise.
66756 * libio/iowpadn.c (_IO_wpadn): Likewise.
66757 * stdio-common/tst-put-error.c: Add copyright notice.
66758 (do_test): Add case for printing padded string.
66759 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66760 _IO_padn returned error.
66761 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66762 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66763 return EOF.
66764
66765 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
66766
66767 * libio/libioP.h: Add comment note that the references to C++
66768 bits are now obsolete.
66769
66770 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
66771
66772 * math/libm-test.inc (check_complex): Use asprintf.
66773
66774 2012-11-14 Joseph Myers <joseph@codesourcery.com>
66775
66776 * debug/pcprofiledump.c (print_version): Update copyright year.
66777 * malloc/memusagestat.c (print_version): Likewise.
66778
66779 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
66780
66781 [BZ #14831]
66782 * elf/Makefile (tests): Add tst-audit8.
66783 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66784 ($(objpfx)tst-audit8.out): New target.
66785 (tst-audit8-ENV): New variable.
66786 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66787 audit if l_reloc_result is NULL.
66788 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66789 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66790 * elf/tst-audit8.c: New file.
66791
66792 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
66793
66794 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66795 * misc/Makefile (CFLAGS-select.c): Define.
66796 * posix/Makefile (CFLAGS-pause.c): Define.
66797
66798 2012-11-13 David S. Miller <davem@davemloft.net>
66799
66800 * crypt/Makefile: Move test targets after toplevel Rules
66801 inclusion. Grab any necessary sysdep routines when linking.
66802 * crypt/md5.c (md5_process_block): Remove define, we will always
66803 name it __md5_process_block.
66804 (md5_finish_ctx): Update md5_process_block call.
66805 (md5_stream): Likewise.
66806 (md5_process_bytes): Likewise.
66807 (md5_process_block): Rename to __md5_process_block and move to ...
66808 * crypt/md5-block.c: ... here.
66809 * crypt/sha256.c (sha256_process_block): Move to ...
66810 * crypt/sha256-block.c: ... here.
66811 * crypt/sha512.c (sha512_process_block): Move to ...
66812 * crypt/sha512-block.c: ... here.
66813 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66814 path.
66815 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66816 * sysdeps/sparc/sparc64/multiarch/Makefile
66817 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66818 crypt subdir.
66819 (localedef-aux): Add md5 crypto assembler when in locale subdir.
66820 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66821 multiarch changes.
66822 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66823 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66824 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66825 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66826 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66827 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66828 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66829 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66831 file.
66832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66834 file.
66835 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66836
66837 2012-11-13 Joseph Myers <joseph@codesourcery.com>
66838
66839 * timezone/tzselect.ksh: Update from tzcode git revision
66840 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66841 * timezone/zdump.c: Likewise.
66842 * timezone/zic.c: Likewise.
66843 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66844 in TZVERSION setting, not $(PKGVERSION).
66845 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
66846 REPORT_BUGS_TO settings.
66847
66848 [BZ #14838]
66849 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66850 macro.
66851
66852 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
66853
66854 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66855 detection to immediately after _FP_ROUND().
66856 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66857 bits are 0.
66858
66859 2012-11-11 David S. Miller <davem@davemloft.net>
66860
66861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66862 inttypes.h
66863 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66864 __close rather than their public counterparts.
66865
66866 2012-11-10 Joseph Myers <joseph@codesourcery.com>
66867
66868 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66869 file.
66870 [UNIX98] (sem_timedwait): Do not expect.
66871 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66872 [XPG4 || UNIX98] (sockatmark): Do not expect.
66873 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66874 (clock_getcpuclockid): Do not expect.
66875 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66876 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66877 Do not expect.
66878 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66879 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66880 [UNIX98] (vwscanf): Likewise.
66881 [UNIX98] (vswscanf): Likewise.
66882
66883 2012-11-09 Joseph Myers <joseph@codesourcery.com>
66884
66885 * timezone/version.h: Remove file.
66886 * timezone/README: Do not refer to version.h.
66887 * timezone/Makefile ($(objpfx)zic.o): New dependency on
66888 $(objpfx)version.h.
66889 ($(objpfx)zdump.o): Likewise.
66890 ($(objpfx)version.h): New target.
66891
66892 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66893 2012i.
66894 * timezone/README: Don't mention modification to tzselect.ksh.
66895 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66896 work on unmodified tzselect.ksh. Substitute version numbers in
66897 tzselect.ksh.
66898
66899 * Makefile (format-me): Remove.
66900 (INSTALL): Adjust indentation. Use commands directly instead of
66901 using $(format-me).
66902
66903 * aclocal.m4 (ACX_PKGVERSION): New macro.
66904 (ACX_BUGURL): Likewise.
66905 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66906 (PKGVERSION): New AC_DEFINE_UNQUOTED.
66907 (REPORT_BUGS_TO): Likewise.
66908 * configure: Regenerated.
66909 * config.h.in (PKGVERSION): New macro.
66910 (REPORT_BUGS_TO): Likewise.
66911 * config.make.in (PKGVERSION): New variable.
66912 (PKGVERSION_TEXI): Likewise.
66913 (REPORT_BUGS_TO): Likewise.
66914 (REPORT_BUGS_TEXI): Likewise.
66915 * Makefile (format-me): Use -I$(common-objpfx)manual.
66916 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66917 ($(common-objpfx)manual/%): New target.
66918 (manual/%): Remove target.
66919 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66920 (print_version): Use PKGVERSION.
66921 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66922 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66923 and REPORT_BUGS_TO.
66924 ($(objpfx)xtrace): Likewise.
66925 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66926 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66927 (print_version): Use PKGVERSION.
66928 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66929 (do_version): Use PKGVERSION.
66930 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66931 REPORT_BUGS_TO.
66932 (common-ldd-rewrite): Likewise.
66933 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66934 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66935 (print_version): Use PKGVERSION.
66936 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66937 * elf/pldd.c (argp_program_bug_address): Remove variable.
66938 (more_help): New function.
66939 (argp): Use more_help.
66940 (print_version): Use PKGVERSION.
66941 * elf/sln.c (main): Use PKGVERSION.
66942 (usage): Use REPORT_BUGS_TO.
66943 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66944 (top level): Use PKGVERSION.
66945 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66946 (print_version): Use PKGVERSION.
66947 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66948 (print_version): Use PKGVERSION.
66949 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66950 (print_version): Use PKGVERSION.
66951 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66952 (print_version): Use PKGVERSION.
66953 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66954 (print_version): Use PKGVERSION.
66955 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66956 (print_version): Use PKGVERSION.
66957 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66958 and BUGURL.
66959 ($(objpfx)memusage): Likewise.
66960 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66961 (do_version): Use PKGVERSION.
66962 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66963 (print_version): Use PKGVERSION.
66964 * malloc/mtrace.pl ($PACKAGE): Remove variable.
66965 ($PKGVERSION): New variable.
66966 ($REPORT_BUGS_TO): Likewise.
66967 (usage): Use $REPORT_BUGS_TO.
66968 (top level): Use $PKGVERSION.
66969 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66970 ($(objpfx)pkgvers.texi): New rule.
66971 ($(objpfx)stamp-pkgvers): Likewise.
66972 * manual/install.texi: Include pkgvers.texi.
66973 (--with-pkgversion): Document new configure option.
66974 (--with-bugurl): Likewise.
66975 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66976 than necessarily for this particular distribution. Use
66977 REPORT_BUGS_TO for where to report bugs.
66978 * INSTALL: Regenerated.
66979 * manual/libc.texinfo: Include pkgvers.texi.
66980 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66981 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66982 (print_version): Use PKGVERSION.
66983 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66984 (print_version): Use PKGVERSION.
66985 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66986 (print_version): Use PKGVERSION.
66987 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66988 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66989 macro.
66990 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66991 (print_version): Use PKGVERSION.
66992 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66993 (print_version): Use PKGVERSION.
66994 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66995 and PKGVERSION.
66996
66997 * timezone/checktab.awk: Update from tzcode 2012i.
66998 * timezone/ialloc.c: Likewise.
66999 * timezone/private.h: Likewise.
67000 * timezone/scheck.c: Likewise.
67001 * timezone/tzfile.h: Likewise.
67002 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67003 (TZVERSION): Hardcode tzcode version number.
67004 * timezone/zdump.c: Update from tzcode 2012i.
67005 * timezone/zic.c: Likewise.
67006 * timezone/version.h: New file.
67007 * timezone/README: Describe version.h. Update upstream location.
67008
67009 [BZ #14824]
67010 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67011 (mktemp): Enable declaration.
67012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67016 Likewise.
67017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67018 Likewise.
67019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67020 Likewise.
67021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67022 Likewise.
67023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67024 Likewise.
67025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67026 Likewise.
67027
67028 [BZ #14821]
67029 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67030 offset in buffer as u_int32_t not u_long. Consistently use memcpy
67031 for copies of such integer values.
67032 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67033 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67034
67035 2012-11-09 Andreas Jaeger <aj@suse.de>
67036
67037 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67038 definitions and declarations that are provided by
67039 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67040
67041 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67042
67043 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67044 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67045 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67046 definition.
67047
67048 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
67049
67050 * elf/elf.h: Update comment before AArch64 relocations.
67051
67052 2012-11-07 David S. Miller <davem@davemloft.net>
67053
67054 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67055 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67056 (__start_context): Declare.
67057 (__makecontext_ret): Delete.
67058 (__makecontext): Hook up __start_context instead of
67059 __makecontext_ret.
67060 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67061 (sysdep_routines): Add __start_context when in stdlib.
67062
67063 2012-11-07 Joseph Myers <joseph@codesourcery.com>
67064
67065 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67066 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67067 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
67068 hardcoded "nm".
67069 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
67070 (READELF): New variable. Use it instead of hardcoded "readelf".
67071
67072 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
67073
67074 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67075 * sysdeps/x86/Makefile: Here.
67076 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67077 * sysdeps/x86/tst-xmmymm.sh: This.
67078
67079 2012-11-07 Joseph Myers <joseph@codesourcery.com>
67080
67081 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67082 expectations.
67083 [UNIX98] (pthread_barrier_t): Do not expect.
67084 [UNIX98] (pthread_barrierattr_t): Likewise.
67085 [UNIX98] (pthread_spinlock_t): Likewise.
67086 [UNIX98] (pthread_barrier_destroy): Likewise.
67087 [UNIX98] (pthread_barrier_init): Likewise.
67088 [UNIX98] (pthread_barrier_wait): Likewise.
67089 [UNIX98] (pthread_barrierattr_destroy): Likewise.
67090 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67091 [UNIX98] (pthread_barrierattr_init): Likewise.
67092 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67093 [UNIX98] (pthread_getcpuclockid): Likewise.
67094 [UNIX98] (pthread_mutex_timedlock): Likewise.
67095 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67096 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67097 [UNIX98] (pthread_sigmask): Likewise.
67098 [UNIX98] (pthread_spin_destroy): Likewise.
67099 [UNIX98] (pthread_spin_init): Likewise.
67100 [UNIX98] (pthread_spin_lock): Likewise.
67101 [UNIX98] (pthread_spin_trylock): Likewise.
67102 [UNIX98] (pthread_spin_unlock): Likewise.
67103 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67104 Do not expect.
67105 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67106 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67107 [XPG3 || XPG4] (pthread_cond_t): Likewise.
67108 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67109 [XPG3 || XPG4] (pthread_key_t): Likewise.
67110 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67111 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67112 [XPG3 || XPG4] (pthread_once_t): Likewise.
67113 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67114 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67115 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67116 [XPG3 || XPG4] (pthread_t): Likewise.
67117
67118 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67119 not expect.
67120 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67121
67122 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67123 Change function return type to int.
67124
67125 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67126 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67127 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67128 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67129 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67130 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67131 [!POSIX] (posix_madvise): Likewise.
67132 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67133 && !UNIX98].
67134 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67135 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67136 (mode_t): Likewise.
67137 (posix_mem_offset): Likewise.
67138 (posix_typed_mem_get_info): Likewise.
67139 (posix_typed_mem_open): Likewise.
67140
67141 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67142 Change condition to [XOPEN2K8].
67143
67144 * conform/conformtest.pl: Preprocess allow-header data with -x c
67145 instead of from stdin.
67146 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67147 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67148 [C99-based standards] (cerfc): Likewise.
67149 [C99-based standards] (cexp2): Likewise.
67150 [C99-based standards] (cexpm1): Likewise.
67151 [C99-based standards] (clog10): Likewise.
67152 [C99-based standards] (clog1p): Likewise.
67153 [C99-based standards] (clog2): Likewise.
67154 [C99-based standards] (clgamma): Likewise.
67155 [C99-based standards] (ctgamma): Likewise.
67156 [C99-based standards] (cerff): Likewise.
67157 [C99-based standards] (cerfcf): Likewise.
67158 [C99-based standards] (cexp2f): Likewise.
67159 [C99-based standards] (cexpm1f): Likewise.
67160 [C99-based standards] (clog10f): Likewise.
67161 [C99-based standards] (clog1pf): Likewise.
67162 [C99-based standards] (clog2f): Likewise.
67163 [C99-based standards] (clgammaf): Likewise.
67164 [C99-based standards] (ctgammaf): Likewise.
67165 [C99-based standards] (cerfl): Likewise.
67166 [C99-based standards] (cerfcl): Likewise.
67167 [C99-based standards] (cexp2l): Likewise.
67168 [C99-based standards] (cexpm1l): Likewise.
67169 [C99-based standards] (clog10l): Likewise.
67170 [C99-based standards] (clog1pl): Likewise.
67171 [C99-based standards] (clog2l): Likewise.
67172 [C99-based standards] (clgammal): Likewise.
67173 [C99-based standards] (ctgammal): Likewise.
67174 * conform/data/inttypes.h-data [C99-based standards]: Include
67175 stdint.h-data. Remove all expectations for stdint.h contents.
67176 [C99-based standards] (PRI*): Do not allow.
67177 [C99-based standards] (SCN*): Likewise.
67178 [C99-based standards] (*_t): Likewise.
67179 [C99-based-standards] (PRId8): Expect macro.
67180 [C99-based-standards] (PRIi8): Likewise.
67181 [C99-based-standards] (PRIo8): Likewise.
67182 [C99-based-standards] (PRIu8): Likewise.
67183 [C99-based-standards] (PRIx8): Likewise.
67184 [C99-based-standards] (PRIX8): Likewise.
67185 [C99-based-standards] (SCNd8): Likewise.
67186 [C99-based-standards] (SCNi8): Likewise.
67187 [C99-based-standards] (SCNo8): Likewise.
67188 [C99-based-standards] (SCNu8): Likewise.
67189 [C99-based-standards] (SCNx8): Likewise.
67190 [C99-based-standards] (PRIdLEAST8): Likewise.
67191 [C99-based-standards] (PRIiLEAST8): Likewise.
67192 [C99-based-standards] (PRIoLEAST8): Likewise.
67193 [C99-based-standards] (PRIuLEAST8): Likewise.
67194 [C99-based-standards] (PRIxLEAST8): Likewise.
67195 [C99-based-standards] (PRIXLEAST8): Likewise.
67196 [C99-based-standards] (SCNdLEAST8): Likewise.
67197 [C99-based-standards] (SCNiLEAST8): Likewise.
67198 [C99-based-standards] (SCNoLEAST8): Likewise.
67199 [C99-based-standards] (SCNuLEAST8): Likewise.
67200 [C99-based-standards] (SCNxLEAST8): Likewise.
67201 [C99-based-standards] (PRIdFAST8): Likewise.
67202 [C99-based-standards] (PRIiFAST8): Likewise.
67203 [C99-based-standards] (PRIoFAST8): Likewise.
67204 [C99-based-standards] (PRIuFAST8): Likewise.
67205 [C99-based-standards] (PRIxFAST8): Likewise.
67206 [C99-based-standards] (PRIXFAST8): Likewise.
67207 [C99-based-standards] (SCNdFAST8): Likewise.
67208 [C99-based-standards] (SCNiFAST8): Likewise.
67209 [C99-based-standards] (SCNoFAST8): Likewise.
67210 [C99-based-standards] (SCNuFAST8): Likewise.
67211 [C99-based-standards] (SCNxFAST8): Likewise.
67212 [C99-based-standards] (PRId16): Likewise.
67213 [C99-based-standards] (PRIi16): Likewise.
67214 [C99-based-standards] (PRIo16): Likewise.
67215 [C99-based-standards] (PRIu16): Likewise.
67216 [C99-based-standards] (PRIx16): Likewise.
67217 [C99-based-standards] (PRIX16): Likewise.
67218 [C99-based-standards] (SCNd16): Likewise.
67219 [C99-based-standards] (SCNi16): Likewise.
67220 [C99-based-standards] (SCNo16): Likewise.
67221 [C99-based-standards] (SCNu16): Likewise.
67222 [C99-based-standards] (SCNx16): Likewise.
67223 [C99-based-standards] (PRIdLEAST16): Likewise.
67224 [C99-based-standards] (PRIiLEAST16): Likewise.
67225 [C99-based-standards] (PRIoLEAST16): Likewise.
67226 [C99-based-standards] (PRIuLEAST16): Likewise.
67227 [C99-based-standards] (PRIxLEAST16): Likewise.
67228 [C99-based-standards] (PRIXLEAST16): Likewise.
67229 [C99-based-standards] (SCNdLEAST16): Likewise.
67230 [C99-based-standards] (SCNiLEAST16): Likewise.
67231 [C99-based-standards] (SCNoLEAST16): Likewise.
67232 [C99-based-standards] (SCNuLEAST16): Likewise.
67233 [C99-based-standards] (SCNxLEAST16): Likewise.
67234 [C99-based-standards] (PRIdFAST16): Likewise.
67235 [C99-based-standards] (PRIiFAST16): Likewise.
67236 [C99-based-standards] (PRIoFAST16): Likewise.
67237 [C99-based-standards] (PRIuFAST16): Likewise.
67238 [C99-based-standards] (PRIxFAST16): Likewise.
67239 [C99-based-standards] (PRIXFAST16): Likewise.
67240 [C99-based-standards] (SCNdFAST16): Likewise.
67241 [C99-based-standards] (SCNiFAST16): Likewise.
67242 [C99-based-standards] (SCNoFAST16): Likewise.
67243 [C99-based-standards] (SCNuFAST16): Likewise.
67244 [C99-based-standards] (SCNxFAST16): Likewise.
67245 [C99-based-standards] (PRId32): Likewise.
67246 [C99-based-standards] (PRIi32): Likewise.
67247 [C99-based-standards] (PRIo32): Likewise.
67248 [C99-based-standards] (PRIu32): Likewise.
67249 [C99-based-standards] (PRIx32): Likewise.
67250 [C99-based-standards] (PRIX32): Likewise.
67251 [C99-based-standards] (SCNd32): Likewise.
67252 [C99-based-standards] (SCNi32): Likewise.
67253 [C99-based-standards] (SCNo32): Likewise.
67254 [C99-based-standards] (SCNu32): Likewise.
67255 [C99-based-standards] (SCNx32): Likewise.
67256 [C99-based-standards] (PRIdLEAST32): Likewise.
67257 [C99-based-standards] (PRIiLEAST32): Likewise.
67258 [C99-based-standards] (PRIoLEAST32): Likewise.
67259 [C99-based-standards] (PRIuLEAST32): Likewise.
67260 [C99-based-standards] (PRIxLEAST32): Likewise.
67261 [C99-based-standards] (PRIXLEAST32): Likewise.
67262 [C99-based-standards] (SCNdLEAST32): Likewise.
67263 [C99-based-standards] (SCNiLEAST32): Likewise.
67264 [C99-based-standards] (SCNoLEAST32): Likewise.
67265 [C99-based-standards] (SCNuLEAST32): Likewise.
67266 [C99-based-standards] (SCNxLEAST32): Likewise.
67267 [C99-based-standards] (PRIdFAST32): Likewise.
67268 [C99-based-standards] (PRIiFAST32): Likewise.
67269 [C99-based-standards] (PRIoFAST32): Likewise.
67270 [C99-based-standards] (PRIuFAST32): Likewise.
67271 [C99-based-standards] (PRIxFAST32): Likewise.
67272 [C99-based-standards] (PRIXFAST32): Likewise.
67273 [C99-based-standards] (SCNdFAST32): Likewise.
67274 [C99-based-standards] (SCNiFAST32): Likewise.
67275 [C99-based-standards] (SCNoFAST32): Likewise.
67276 [C99-based-standards] (SCNuFAST32): Likewise.
67277 [C99-based-standards] (SCNxFAST32): Likewise.
67278 [C99-based-standards] (PRId64): Likewise.
67279 [C99-based-standards] (PRIi64): Likewise.
67280 [C99-based-standards] (PRIo64): Likewise.
67281 [C99-based-standards] (PRIu64): Likewise.
67282 [C99-based-standards] (PRIx64): Likewise.
67283 [C99-based-standards] (PRIX64): Likewise.
67284 [C99-based-standards] (SCNd64): Likewise.
67285 [C99-based-standards] (SCNi64): Likewise.
67286 [C99-based-standards] (SCNo64): Likewise.
67287 [C99-based-standards] (SCNu64): Likewise.
67288 [C99-based-standards] (SCNx64): Likewise.
67289 [C99-based-standards] (PRIdLEAST64): Likewise.
67290 [C99-based-standards] (PRIiLEAST64): Likewise.
67291 [C99-based-standards] (PRIoLEAST64): Likewise.
67292 [C99-based-standards] (PRIuLEAST64): Likewise.
67293 [C99-based-standards] (PRIxLEAST64): Likewise.
67294 [C99-based-standards] (PRIXLEAST64): Likewise.
67295 [C99-based-standards] (SCNdLEAST64): Likewise.
67296 [C99-based-standards] (SCNiLEAST64): Likewise.
67297 [C99-based-standards] (SCNoLEAST64): Likewise.
67298 [C99-based-standards] (SCNuLEAST64): Likewise.
67299 [C99-based-standards] (SCNxLEAST64): Likewise.
67300 [C99-based-standards] (PRIdFAST64): Likewise.
67301 [C99-based-standards] (PRIiFAST64): Likewise.
67302 [C99-based-standards] (PRIoFAST64): Likewise.
67303 [C99-based-standards] (PRIuFAST64): Likewise.
67304 [C99-based-standards] (PRIxFAST64): Likewise.
67305 [C99-based-standards] (PRIXFAST64): Likewise.
67306 [C99-based-standards] (SCNdFAST64): Likewise.
67307 [C99-based-standards] (SCNiFAST64): Likewise.
67308 [C99-based-standards] (SCNoFAST64): Likewise.
67309 [C99-based-standards] (SCNuFAST64): Likewise.
67310 [C99-based-standards] (SCNxFAST64): Likewise.
67311 [C99-based-standards] (PRIdMAX): Likewise.
67312 [C99-based-standards] (PRIiMAX): Likewise.
67313 [C99-based-standards] (PRIoMAX): Likewise.
67314 [C99-based-standards] (PRIuMAX): Likewise.
67315 [C99-based-standards] (PRIxMAX): Likewise.
67316 [C99-based-standards] (PRIXMAX): Likewise.
67317 [C99-based-standards] (SCNdMAX): Likewise.
67318 [C99-based-standards] (SCNiMAX): Likewise.
67319 [C99-based-standards] (SCNoMAX): Likewise.
67320 [C99-based-standards] (SCNuMAX): Likewise.
67321 [C99-based-standards] (SCNxMAX): Likewise.
67322 [C99-based-standards] (PRIdPTR): Likewise.
67323 [C99-based-standards] (PRIiPTR): Likewise.
67324 [C99-based-standards] (PRIoPTR): Likewise.
67325 [C99-based-standards] (PRIuPTR): Likewise.
67326 [C99-based-standards] (PRIxPTR): Likewise.
67327 [C99-based-standards] (PRIXPTR): Likewise.
67328 [C99-based-standards] (SCNdPTR): Likewise.
67329 [C99-based-standards] (SCNiPTR): Likewise.
67330 [C99-based-standards] (SCNoPTR): Likewise.
67331 [C99-based-standards] (SCNuPTR): Likewise.
67332 [C99-based-standards] (SCNxPTR): Likewise.
67333 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67334 allow.
67335 * conform/data/stdint.h-data: Update comments to clarify
67336 requirements.
67337 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
67338 type.
67339 [C99-based standards] (INT8_MAX): Likewise.
67340 [C99-based standards] (INT16_MIN): Likewise.
67341 [C99-based standards] (INT16_MAX): Likewise.
67342 [C99-based standards] (INT32_MIN): Likewise.
67343 [C99-based standards] (INT32_MAX): Likewise.
67344 [C99-based standards] (INT64_MIN): Likewise.
67345 [C99-based standards] (INT64_MAX): Likewise.
67346 [C99-based standards] (UINT8_MAX): Likewise.
67347 [C99-based standards] (UINT16_MAX): Likewise.
67348 [C99-based standards] (UINT32_MAX): Likewise.
67349 [C99-based standards] (UINT64_MAX): Likewise.
67350 [C99-based standards] (INT_LEAST8_MIN): Likewise.
67351 [C99-based standards] (INT_LEAST8_MAX): Likewise.
67352 [C99-based standards] (INT_LEAST16_MIN): Likewise.
67353 [C99-based standards] (INT_LEAST16_MAX): Likewise.
67354 [C99-based standards] (INT_LEAST32_MIN): Likewise.
67355 [C99-based standards] (INT_LEAST32_MAX): Likewise.
67356 [C99-based standards] (INT_LEAST64_MIN): Likewise.
67357 [C99-based standards] (INT_LEAST64_MAX): Likewise.
67358 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67359 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67360 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67361 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67362 [C99-based standards] (INT_FAST8_MIN): Likewise.
67363 [C99-based standards] (INT_FAST8_MAX): Likewise.
67364 [C99-based standards] (INT_FAST16_MIN): Likewise.
67365 [C99-based standards] (INT_FAST16_MAX): Likewise.
67366 [C99-based standards] (INT_FAST32_MIN): Likewise.
67367 [C99-based standards] (INT_FAST32_MAX): Likewise.
67368 [C99-based standards] (INT_FAST64_MIN): Likewise.
67369 [C99-based standards] (INT_FAST64_MAX): Likewise.
67370 [C99-based standards] (UINT_FAST8_MAX): Likewise.
67371 [C99-based standards] (UINT_FAST16_MAX): Likewise.
67372 [C99-based standards] (UINT_FAST32_MAX): Likewise.
67373 [C99-based standards] (UINT_FAST64_MAX): Likewise.
67374 [C99-based standards] (INTPTR_MIN): Likewise.
67375 [C99-based standards] (INTPTR_MAX): Likewise.
67376 [C99-based standards] (UINTPTR_MAX): Likewise.
67377 [C99-based standards] (INTMAX_MIN): Likewise.
67378 [C99-based standards] (INTMAX_MAX): Likewise.
67379 [C99-based standards] (UINTMAX_MAX): Likewise.
67380 [C99-based standards] (PTRDIFF_MIN): Likewise.
67381 [C99-based standards] (PTRDIFF_MAX): Likewise.
67382 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67383 [C99-based standards] (SIZE_MAX): Likewise.
67384 [C99-based standards] (WCHAR_MAX): Likewise.
67385 [C99-based standards] (WINT_MAX): Likewise.
67386 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
67387 constraint on value.
67388 [C99-based standards] (WCHAR_MIN): Likewise.
67389 [C99-based standards] (WINT_MIN): Likewise.
67390 [C99-based standards] (*_t): Allow.
67391 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67392 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67393 Include math.h-data and complex.h-data. Remove all expectations
67394 of math.h and complex.h contents.
67395 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67396 at end of line.
67397 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67398 (struct tm): Expect tag.
67399 [C99-based-standards] (wcstof): Expect function.
67400 [C99-based-standards] (wcstold): Likewise.
67401 [C99-based-standards] (wcstoll): Likewise.
67402 [C99-based-standards] (wcstoull): Likewise.
67403 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67404 macro-int-constant. Specify type.
67405 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
67406 constraint on value.
67407 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67408 Specify type.
67409 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67410 Specify value.
67411 [ISO C standards]: Do not allow headers.
67412 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67413 wcs[abcdefghijklmnopqrstuvwxyz]*.
67414 [ISO C standards] (*_t): Do not allow.
67415 * conform/data/wctype.h-data [C99-based standards] (iswblank):
67416 Expect function.
67417 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67418 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67419 Specify type.
67420 [ISO C standards]: Do not allow headers.
67421 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67422 is[abcdefghijklmnopqrstuvwxyz]*.
67423 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67424 to[abcdefghijklmnopqrstuvwxyz]*.
67425 [ISO C standards] (*_t): Do not allow.
67426 * conform/data/stdalign.h-data: New file.
67427 * conform/data/stdbool.h-data: Likewise.
67428 * conform/data/stdnoreturn.h-data: Likewise.
67429
67430 2012-11-07 Roland McGrath <roland@hack.frob.com>
67431
67432 [BZ #14815]
67433 * manual/filesys.texi (Directory Entries): Typo fix.
67434 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67435
67436 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
67437
67438 * elf/elf.h (EM_AARCH64): New macro.
67439 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67440 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67441 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67442 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67443 (R_AARCH64_TLSDESC): Likewise.
67444 (NT_ARM_TLS): Likewise.
67445 (NT_ARM_HW_BREAK): Likewise.
67446 (NT_ARM_HW_WATCH): Likewise.
67447
67448 2012-11-07 Joseph Myers <joseph@codesourcery.com>
67449
67450 [BZ #14811]
67451 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67452 (__ieee754_powl): Saturate nonzero exponents with absolute value
67453 below 0x1p-79 to +/- 0x1p-79.
67454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67455 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67456 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67457 nonzero exponents with absolute value below 0x1p-32 to +/-
67458 0x1p-32.
67459 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67460 (__ieee754_powl): Saturate nonzero exponents with absolute value
67461 below 0x1p-79 to +/- 0x1p-79.
67462 * math/libm-test.inc (pow_test): Add more tests.
67463
67464 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67465
67466 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67467 _dl_s390_cap_flags with kernel. Increase string length.
67468 (_dl_s390_platforms): Add z196 and zEC12.
67469
67470 2012-11-07 Joseph Myers <joseph@codesourcery.com>
67471
67472 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67473 Change XOPEN21K to XOPEN2K.
67474
67475 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
67476
67477 * string/memmove.c: Use memcpy when possible.
67478
67479 2012-11-06 Andreas Jaeger <aj@suse.de>
67480
67481 * po/eo.po: Update from translation team.
67482
67483 2012-11-06 Joseph Myers <joseph@codesourcery.com>
67484
67485 [BZ #14793]
67486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67487 exponent and small x and y exponents, scale x or y up. Increase
67488 by 2 the exponent used in scaling up.
67489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67491 * math/libm-test.inc (fma_test): Add more tests.
67492 (fma_test_towardzero): Likewise.
67493 (fma_test_downward): Likewise.
67494 (fma_test_upward): Likewise.
67495
67496 2012-11-05 Joseph Myers <joseph@codesourcery.com>
67497
67498 [BZ #14805]
67499 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67500 fenv_t *.
67501
67502 [BZ #14801]
67503 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67504 namespace for names of struct fields.
67505 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67506 fenv_t fields.
67507 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67508 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67509
67510 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
67511
67512 [BZ #3665]
67513 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67514
67515 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
67516
67517 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67518 PTR_DEMANGLE.
67519
67520 [BZ #5246]
67521 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67522 PTR_DEMANGLE.
67523
67524 2012-11-04 Joseph Myers <joseph@codesourcery.com>
67525
67526 [BZ #14797]
67527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67528 definitely overflow as x * y not x * y + z.
67529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67531 * math/libm-test.inc (fma_test): Add more tests.
67532 (fma_test_towardzero): Likewise.
67533 (fma_test_downward): Likewise.
67534 (fma_test_upward): Likewise.
67535
67536 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
67537
67538 [BZ #157]
67539
67540 * include/stub-tag.h: Remove file.
67541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67542 '#include' of it.
67543 * manual/maint.texi (Porting): Don't reference it.
67544 * Makerules ($(objpfx)stubs): Likewise.
67545 * dirent/closedir.c: Don't include <stub-tag.h>.
67546 * dirent/dirfd.c: Likewise.
67547 * dirent/fdopendir.c: Likewise.
67548 * dirent/getdents.c: Likewise.
67549 * dirent/getdents64.c: Likewise.
67550 * dirent/opendir.c: Likewise.
67551 * dirent/readdir.c: Likewise.
67552 * dirent/readdir64.c: Likewise.
67553 * dirent/readdir64_r.c: Likewise.
67554 * dirent/readdir_r.c: Likewise.
67555 * dirent/rewinddir.c: Likewise.
67556 * dirent/seekdir.c: Likewise.
67557 * dirent/telldir.c: Likewise.
67558 * gmon/profil.c: Likewise.
67559 * grp/setgroups.c: Likewise.
67560 * inet/if_index.c: Likewise.
67561 * io/access.c: Likewise.
67562 * io/chdir.c: Likewise.
67563 * io/chmod.c: Likewise.
67564 * io/chown.c: Likewise.
67565 * io/close.c: Likewise.
67566 * io/dup.c: Likewise.
67567 * io/dup2.c: Likewise.
67568 * io/dup3.c: Likewise.
67569 * io/euidaccess.c: Likewise.
67570 * io/faccessat.c: Likewise.
67571 * io/fchdir.c: Likewise.
67572 * io/fchmod.c: Likewise.
67573 * io/fchmodat.c: Likewise.
67574 * io/fchown.c: Likewise.
67575 * io/fchownat.c: Likewise.
67576 * io/fcntl.c: Likewise.
67577 * io/flock.c: Likewise.
67578 * io/fstatfs.c: Likewise.
67579 * io/fstatfs64.c: Likewise.
67580 * io/fstatvfs.c: Likewise.
67581 * io/fstatvfs64.c: Likewise.
67582 * io/futimens.c: Likewise.
67583 * io/fxstat.c: Likewise.
67584 * io/fxstat64.c: Likewise.
67585 * io/fxstatat.c: Likewise.
67586 * io/fxstatat64.c: Likewise.
67587 * io/getcwd.c: Likewise.
67588 * io/isatty.c: Likewise.
67589 * io/lchmod.c: Likewise.
67590 * io/lchown.c: Likewise.
67591 * io/link.c: Likewise.
67592 * io/linkat.c: Likewise.
67593 * io/lseek.c: Likewise.
67594 * io/lseek64.c: Likewise.
67595 * io/lxstat64.c: Likewise.
67596 * io/mkdir.c: Likewise.
67597 * io/mkdirat.c: Likewise.
67598 * io/mkfifo.c: Likewise.
67599 * io/mkfifoat.c: Likewise.
67600 * io/open.c: Likewise.
67601 * io/open64.c: Likewise.
67602 * io/openat.c: Likewise.
67603 * io/openat64.c: Likewise.
67604 * io/pipe.c: Likewise.
67605 * io/pipe2.c: Likewise.
67606 * io/poll.c: Likewise.
67607 * io/posix_fadvise.c: Likewise.
67608 * io/posix_fadvise64.c: Likewise.
67609 * io/posix_fallocate.c: Likewise.
67610 * io/posix_fallocate64.c: Likewise.
67611 * io/read.c: Likewise.
67612 * io/readlink.c: Likewise.
67613 * io/readlinkat.c: Likewise.
67614 * io/rmdir.c: Likewise.
67615 * io/sendfile.c: Likewise.
67616 * io/sendfile64.c: Likewise.
67617 * io/statfs.c: Likewise.
67618 * io/statfs64.c: Likewise.
67619 * io/statvfs.c: Likewise.
67620 * io/statvfs64.c: Likewise.
67621 * io/symlink.c: Likewise.
67622 * io/symlinkat.c: Likewise.
67623 * io/ttyname.c: Likewise.
67624 * io/ttyname_r.c: Likewise.
67625 * io/umask.c: Likewise.
67626 * io/unlink.c: Likewise.
67627 * io/unlinkat.c: Likewise.
67628 * io/utime.c: Likewise.
67629 * io/utimensat.c: Likewise.
67630 * io/write.c: Likewise.
67631 * io/xmknod.c: Likewise.
67632 * io/xmknodat.c: Likewise.
67633 * io/xstat.c: Likewise.
67634 * io/xstat64.c: Likewise.
67635 * login/getpt.c: Likewise.
67636 * login/grantpt.c: Likewise.
67637 * login/unlockpt.c: Likewise.
67638 * math/e_acoshl.c: Likewise.
67639 * math/e_acosl.c: Likewise.
67640 * math/e_asinl.c: Likewise.
67641 * math/e_atan2l.c: Likewise.
67642 * math/e_atanhl.c: Likewise.
67643 * math/e_coshl.c: Likewise.
67644 * math/e_expl.c: Likewise.
67645 * math/e_fmodl.c: Likewise.
67646 * math/e_gammal_r.c: Likewise.
67647 * math/e_hypotl.c: Likewise.
67648 * math/e_j0l.c: Likewise.
67649 * math/e_j1l.c: Likewise.
67650 * math/e_jnl.c: Likewise.
67651 * math/e_lgammal_r.c: Likewise.
67652 * math/e_log10l.c: Likewise.
67653 * math/e_log2l.c: Likewise.
67654 * math/e_logl.c: Likewise.
67655 * math/e_powl.c: Likewise.
67656 * math/e_rem_pio2l.c: Likewise.
67657 * math/e_sinhl.c: Likewise.
67658 * math/e_sqrtl.c: Likewise.
67659 * math/fclrexcpt.c: Likewise.
67660 * math/fedisblxcpt.c: Likewise.
67661 * math/feenablxcpt.c: Likewise.
67662 * math/fegetenv.c: Likewise.
67663 * math/fegetexcept.c: Likewise.
67664 * math/fegetround.c: Likewise.
67665 * math/feholdexcpt.c: Likewise.
67666 * math/fesetenv.c: Likewise.
67667 * math/fesetround.c: Likewise.
67668 * math/feupdateenv.c: Likewise.
67669 * math/fgetexcptflg.c: Likewise.
67670 * math/fraiseexcpt.c: Likewise.
67671 * math/fsetexcptflg.c: Likewise.
67672 * math/ftestexcept.c: Likewise.
67673 * math/k_cosl.c: Likewise.
67674 * math/k_rem_pio2l.c: Likewise.
67675 * math/k_sinl.c: Likewise.
67676 * math/k_tanl.c: Likewise.
67677 * math/s_asinhl.c: Likewise.
67678 * math/s_atanl.c: Likewise.
67679 * math/s_cbrtl.c: Likewise.
67680 * math/s_erfl.c: Likewise.
67681 * math/s_expm1l.c: Likewise.
67682 * math/s_log1pl.c: Likewise.
67683 * math/s_tanhl.c: Likewise.
67684 * misc/acct.c: Likewise.
67685 * misc/brk.c: Likewise.
67686 * misc/chflags.c: Likewise.
67687 * misc/chroot.c: Likewise.
67688 * misc/fchflags.c: Likewise.
67689 * misc/fgetxattr.c: Likewise.
67690 * misc/flistxattr.c: Likewise.
67691 * misc/fremovexattr.c: Likewise.
67692 * misc/fsetxattr.c: Likewise.
67693 * misc/fsync.c: Likewise.
67694 * misc/ftruncate.c: Likewise.
67695 * misc/futimes.c: Likewise.
67696 * misc/futimesat.c: Likewise.
67697 * misc/getdomain.c: Likewise.
67698 * misc/getdtsz.c: Likewise.
67699 * misc/gethostid.c: Likewise.
67700 * misc/gethostname.c: Likewise.
67701 * misc/getloadavg.c: Likewise.
67702 * misc/getpagesize.c: Likewise.
67703 * misc/getsysstats.c: Likewise.
67704 * misc/getxattr.c: Likewise.
67705 * misc/gtty.c: Likewise.
67706 * misc/ioctl.c: Likewise.
67707 * misc/lgetxattr.c: Likewise.
67708 * misc/listxattr.c: Likewise.
67709 * misc/llistxattr.c: Likewise.
67710 * misc/lremovexattr.c: Likewise.
67711 * misc/lsetxattr.c: Likewise.
67712 * misc/lutimes.c: Likewise.
67713 * misc/madvise.c: Likewise.
67714 * misc/mincore.c: Likewise.
67715 * misc/mlock.c: Likewise.
67716 * misc/mlockall.c: Likewise.
67717 * misc/mmap.c: Likewise.
67718 * misc/mprotect.c: Likewise.
67719 * misc/msync.c: Likewise.
67720 * misc/munlock.c: Likewise.
67721 * misc/munlockall.c: Likewise.
67722 * misc/munmap.c: Likewise.
67723 * misc/preadv.c: Likewise.
67724 * misc/preadv64.c: Likewise.
67725 * misc/ptrace.c: Likewise.
67726 * misc/pwritev.c: Likewise.
67727 * misc/pwritev64.c: Likewise.
67728 * misc/readv.c: Likewise.
67729 * misc/reboot.c: Likewise.
67730 * misc/remap_file_pages.c: Likewise.
67731 * misc/removexattr.c: Likewise.
67732 * misc/revoke.c: Likewise.
67733 * misc/select.c: Likewise.
67734 * misc/setdomain.c: Likewise.
67735 * misc/setegid.c: Likewise.
67736 * misc/seteuid.c: Likewise.
67737 * misc/sethostid.c: Likewise.
67738 * misc/sethostname.c: Likewise.
67739 * misc/setregid.c: Likewise.
67740 * misc/setreuid.c: Likewise.
67741 * misc/setxattr.c: Likewise.
67742 * misc/sstk.c: Likewise.
67743 * misc/stty.c: Likewise.
67744 * misc/swapoff.c: Likewise.
67745 * misc/swapon.c: Likewise.
67746 * misc/sync.c: Likewise.
67747 * misc/syncfs.c: Likewise.
67748 * misc/syscall.c: Likewise.
67749 * misc/truncate.c: Likewise.
67750 * misc/ualarm.c: Likewise.
67751 * misc/usleep.c: Likewise.
67752 * misc/ustat.c: Likewise.
67753 * misc/utimes.c: Likewise.
67754 * misc/vhangup.c: Likewise.
67755 * misc/writev.c: Likewise.
67756 * posix/_exit.c: Likewise.
67757 * posix/alarm.c: Likewise.
67758 * posix/execve.c: Likewise.
67759 * posix/fexecve.c: Likewise.
67760 * posix/fork.c: Likewise.
67761 * posix/fpathconf.c: Likewise.
67762 * posix/getaddrinfo.c: Likewise.
67763 * posix/getegid.c: Likewise.
67764 * posix/geteuid.c: Likewise.
67765 * posix/getgid.c: Likewise.
67766 * posix/getgroups.c: Likewise.
67767 * posix/getlogin.c: Likewise.
67768 * posix/getlogin_r.c: Likewise.
67769 * posix/getpgid.c: Likewise.
67770 * posix/getpid.c: Likewise.
67771 * posix/getppid.c: Likewise.
67772 * posix/getresgid.c: Likewise.
67773 * posix/getresuid.c: Likewise.
67774 * posix/getsid.c: Likewise.
67775 * posix/getuid.c: Likewise.
67776 * posix/glob64.c: Likewise.
67777 * posix/nanosleep.c: Likewise.
67778 * posix/pathconf.c: Likewise.
67779 * posix/pause.c: Likewise.
67780 * posix/posix_madvise.c: Likewise.
67781 * posix/pread.c: Likewise.
67782 * posix/pread64.c: Likewise.
67783 * posix/pwrite.c: Likewise.
67784 * posix/pwrite64.c: Likewise.
67785 * posix/sched_getaffinity.c: Likewise.
67786 * posix/sched_getp.c: Likewise.
67787 * posix/sched_gets.c: Likewise.
67788 * posix/sched_primax.c: Likewise.
67789 * posix/sched_primin.c: Likewise.
67790 * posix/sched_rr_gi.c: Likewise.
67791 * posix/sched_setaffinity.c: Likewise.
67792 * posix/sched_setp.c: Likewise.
67793 * posix/sched_sets.c: Likewise.
67794 * posix/sched_yield.c: Likewise.
67795 * posix/setgid.c: Likewise.
67796 * posix/setlogin.c: Likewise.
67797 * posix/setpgid.c: Likewise.
67798 * posix/setresgid.c: Likewise.
67799 * posix/setresuid.c: Likewise.
67800 * posix/setsid.c: Likewise.
67801 * posix/setuid.c: Likewise.
67802 * posix/sleep.c: Likewise.
67803 * posix/spawni.c: Likewise.
67804 * posix/sysconf.c: Likewise.
67805 * posix/times.c: Likewise.
67806 * posix/wait.c: Likewise.
67807 * posix/wait3.c: Likewise.
67808 * posix/wait4.c: Likewise.
67809 * posix/waitpid.c: Likewise.
67810 * resolv/gai_sigqueue.c: Likewise.
67811 * resource/getpriority.c: Likewise.
67812 * resource/getrlimit.c: Likewise.
67813 * resource/getrusage.c: Likewise.
67814 * resource/nice.c: Likewise.
67815 * resource/setpriority.c: Likewise.
67816 * resource/setrlimit.c: Likewise.
67817 * resource/ulimit.c: Likewise.
67818 * rt/aio_cancel.c: Likewise.
67819 * rt/aio_fsync.c: Likewise.
67820 * rt/aio_read.c: Likewise.
67821 * rt/aio_sigqueue.c: Likewise.
67822 * rt/aio_suspend.c: Likewise.
67823 * rt/aio_write.c: Likewise.
67824 * rt/clock_getres.c: Likewise.
67825 * rt/clock_gettime.c: Likewise.
67826 * rt/clock_nanosleep.c: Likewise.
67827 * rt/clock_settime.c: Likewise.
67828 * rt/lio_listio.c: Likewise.
67829 * rt/mq_close.c: Likewise.
67830 * rt/mq_getattr.c: Likewise.
67831 * rt/mq_notify.c: Likewise.
67832 * rt/mq_open.c: Likewise.
67833 * rt/mq_receive.c: Likewise.
67834 * rt/mq_send.c: Likewise.
67835 * rt/mq_setattr.c: Likewise.
67836 * rt/mq_timedreceive.c: Likewise.
67837 * rt/mq_timedsend.c: Likewise.
67838 * rt/mq_unlink.c: Likewise.
67839 * rt/shm_open.c: Likewise.
67840 * rt/shm_unlink.c: Likewise.
67841 * rt/timer_create.c: Likewise.
67842 * rt/timer_delete.c: Likewise.
67843 * rt/timer_getoverr.c: Likewise.
67844 * rt/timer_gettime.c: Likewise.
67845 * rt/timer_settime.c: Likewise.
67846 * setjmp/__longjmp.c: Likewise.
67847 * setjmp/setjmp.c: Likewise.
67848 * signal/kill.c: Likewise.
67849 * signal/killpg.c: Likewise.
67850 * signal/raise.c: Likewise.
67851 * signal/sigaction.c: Likewise.
67852 * signal/sigaltstack.c: Likewise.
67853 * signal/sigblock.c: Likewise.
67854 * signal/sigignore.c: Likewise.
67855 * signal/sigintr.c: Likewise.
67856 * signal/signal.c: Likewise.
67857 * signal/sigpause.c: Likewise.
67858 * signal/sigpending.c: Likewise.
67859 * signal/sigqueue.c: Likewise.
67860 * signal/sigreturn.c: Likewise.
67861 * signal/sigset.c: Likewise.
67862 * signal/sigsetmask.c: Likewise.
67863 * signal/sigstack.c: Likewise.
67864 * signal/sigsuspend.c: Likewise.
67865 * signal/sigtimedwait.c: Likewise.
67866 * signal/sigvec.c: Likewise.
67867 * signal/sigwait.c: Likewise.
67868 * signal/sigwaitinfo.c: Likewise.
67869 * signal/sysv_signal.c: Likewise.
67870 * socket/accept.c: Likewise.
67871 * socket/accept4.c: Likewise.
67872 * socket/bind.c: Likewise.
67873 * socket/connect.c: Likewise.
67874 * socket/getpeername.c: Likewise.
67875 * socket/getsockname.c: Likewise.
67876 * socket/getsockopt.c: Likewise.
67877 * socket/isfdtype.c: Likewise.
67878 * socket/listen.c: Likewise.
67879 * socket/recv.c: Likewise.
67880 * socket/recvfrom.c: Likewise.
67881 * socket/recvmsg.c: Likewise.
67882 * socket/send.c: Likewise.
67883 * socket/sendmsg.c: Likewise.
67884 * socket/sendto.c: Likewise.
67885 * socket/setsockopt.c: Likewise.
67886 * socket/shutdown.c: Likewise.
67887 * socket/sockatmark.c: Likewise.
67888 * socket/socket.c: Likewise.
67889 * socket/socketpair.c: Likewise.
67890 * stdio-common/ctermid.c: Likewise.
67891 * stdio-common/cuserid.c: Likewise.
67892 * stdio-common/remove.c: Likewise.
67893 * stdio-common/rename.c: Likewise.
67894 * stdio-common/renameat.c: Likewise.
67895 * stdio-common/tempname.c: Likewise.
67896 * stdlib/getcontext.c: Likewise.
67897 * stdlib/makecontext.c: Likewise.
67898 * stdlib/setcontext.c: Likewise.
67899 * stdlib/swapcontext.c: Likewise.
67900 * stdlib/system.c: Likewise.
67901 * streams/fattach.c: Likewise.
67902 * streams/fdetach.c: Likewise.
67903 * streams/getmsg.c: Likewise.
67904 * streams/getpmsg.c: Likewise.
67905 * streams/putmsg.c: Likewise.
67906 * streams/putpmsg.c: Likewise.
67907 * sysdeps/unix/bsd/getpt.c: Likewise.
67908 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67909 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67910 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67912 Likewise.
67913 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67915 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67916 * sysvipc/msgctl.c: Likewise.
67917 * sysvipc/msgget.c: Likewise.
67918 * sysvipc/msgrcv.c: Likewise.
67919 * sysvipc/msgsnd.c: Likewise.
67920 * sysvipc/semctl.c: Likewise.
67921 * sysvipc/semget.c: Likewise.
67922 * sysvipc/semop.c: Likewise.
67923 * sysvipc/semtimedop.c: Likewise.
67924 * sysvipc/shmat.c: Likewise.
67925 * sysvipc/shmctl.c: Likewise.
67926 * sysvipc/shmdt.c: Likewise.
67927 * sysvipc/shmget.c: Likewise.
67928 * termios/tcdrain.c: Likewise.
67929 * termios/tcflow.c: Likewise.
67930 * termios/tcflush.c: Likewise.
67931 * termios/tcgetattr.c: Likewise.
67932 * termios/tcgetpgrp.c: Likewise.
67933 * termios/tcsendbrk.c: Likewise.
67934 * termios/tcsetattr.c: Likewise.
67935 * termios/tcsetpgrp.c: Likewise.
67936 * time/adjtime.c: Likewise.
67937 * time/clock.c: Likewise.
67938 * time/getitimer.c: Likewise.
67939 * time/gettimeofday.c: Likewise.
67940 * time/setitimer.c: Likewise.
67941 * time/settimeofday.c: Likewise.
67942 * time/stime.c: Likewise.
67943 * time/time.c: Likewise.
67944
67945 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
67946
67947 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67948 /usr/old/bin.
67949
67950 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67951 instead of spaces.
67952 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67953
67954 2012-11-03 Joseph Myers <joseph@codesourcery.com>
67955
67956 [BZ #14796]
67957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67958 FE_TONEAREST before applying Dekker multiplication and Knuth
67959 addition. Clear inexact exceptions and check for exact zero
67960 results afterwards.
67961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67964 * math/libm-test.inc (fma_test): Add more tests.
67965 (fma_test_towardzero): Likewise.
67966 (fma_test_downward): Likewise.
67967 (fma_test_upward): Likewise.
67968 * sysdeps/generic/math_private.h (default_libc_fesetround): New
67969 function.
67970 (libc_fesetround): New macro.
67971 (libc_fesetroundf): Likewise.
67972 (libc_fesetroundl): Likewise.
67973 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67974 function.
67975 (libc_fesetround_387): Likewise.
67976 (libc_fesetroundf): New macro.
67977 (libc_fesetround): Likewise.
67978 (libc_fesetroundl): Likewise.
67979 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67980 function.
67981 (libc_fesetroundf): New macro.
67982 (libc_fesetround): Likewise.
67983 (libc_fesetroundl): Likewise.
67984 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67985 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67986 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67987 libm_hidden_ver.
67988 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67989 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67990 libm_hidden_def.
67991 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67992 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67993 libm_hidden_ver.
67994 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67995 libm_hidden_def.
67996
67997 [BZ #3439]
67998 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67999 integer constant usable in #if and use that to give value to enum
68000 constant.
68001 (FE_DIVBYZERO): Likewise.
68002 (FE_UNDERFLOW): Likewise.
68003 (FE_OVERFLOW): Likewise.
68004 (FE_INVALID): Likewise.
68005 (FE_INVALID_SNAN): Likewise.
68006 (FE_INVALID_ISI): Likewise.
68007 (FE_INVALID_IDI): Likewise.
68008 (FE_INVALID_ZDZ): Likewise.
68009 (FE_INVALID_IMZ): Likewise.
68010 (FE_INVALID_COMPARE): Likewise.
68011 (FE_INVALID_SOFTWARE): Likewise.
68012 (FE_INVALID_SQRT): Likewise.
68013 (FE_INVALID_INTEGER_CONVERSION): Likewise.
68014 (FE_TONEAREST): Likewise.
68015 (FE_TOWARDZERO): Likewise.
68016 (FE_UPWARD): Likewise.
68017 (FE_DOWNWARD): Likewise.
68018 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68019 (FE_DIVBYZERO): Likewise.
68020 (FE_OVERFLOW): Likewise.
68021 (FE_UNDERFLOW): Likewise.
68022 (FE_INEXACT): Likewise.
68023 (FE_TONEAREST): Likewise.
68024 (FE_DOWNWARD): Likewise.
68025 (FE_UPWARD): Likewise.
68026 (FE_TOWARDZERO): Likewise.
68027 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68028 (FE_UNDERFLOW): Likewise.
68029 (FE_OVERFLOW): Likewise.
68030 (FE_DIVBYZERO): Likewise.
68031 (FE_INVALID): Likewise.
68032 (FE_TONEAREST): Likewise.
68033 (FE_TOWARDZERO): Likewise.
68034 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68035 (FE_OVERFLOW): Likewise.
68036 (FE_UNDERFLOW): Likewise.
68037 (FE_DIVBYZERO): Likewise.
68038 (FE_INEXACT): Likewise.
68039 (FE_TONEAREST): Likewise.
68040 (FE_TOWARDZERO): Likewise.
68041 (FE_UPWARD): Likewise.
68042 (FE_DOWNWARD): Likewise.
68043 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68044 (FE_DIVBYZERO): Likewise.
68045 (FE_OVERFLOW): Likewise.
68046 (FE_UNDERFLOW): Likewise.
68047 (FE_INEXACT): Likewise.
68048 (FE_TONEAREST): Likewise.
68049 (FE_DOWNWARD): Likewise.
68050 (FE_UPWARD): Likewise.
68051 (FE_TOWARDZERO): Likewise.
68052
68053 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
68054
68055 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68056
68057 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
68058
68059 * scripts/cross-test-ssh.sh (command): Use newlines to separate
68060 commands. Quote $PWD.
68061 (blacklist_exports): Don't use remove_newlines. Replace "declare
68062 -x" by "export".
68063 (remove_newlines): Remove.
68064
68065 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
68066
68067 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68068 * stdlib/stdlib.h (atof): Moved to ...
68069 * include/bits/stdlib-float.h: Here. New file.
68070 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68071 * stdlib/bits/stdlib-float.h: New file.
68072 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68073 -mno-sse -mno-mmx.
68074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68075 <xmmintrin.h>.
68076
68077 2012-11-02 Joseph Myers <joseph@codesourcery.com>
68078
68079 * conform/conformtest.pl (@headers): Add fenv.h.
68080 * conform/data/fenv.h-data: New file.
68081 * include/fenv.h [_ISOMAC]: Disable all contents of file except
68082 include of <math/fenv.h>.
68083
68084 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68085 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68086 && !UNIX98]. Enables tests for XOPEN2K8.
68087 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68088 POSIX2008]: Likewise.
68089
68090 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68091 (struct rusage): Do not expect type or its members.
68092
68093 [BZ #3439]
68094 * math/math.h (FP_NAN): Define macro to integer constant usable in
68095 #if and use that to give value to enum constant.
68096 (FP_INFINITE): Likewise.
68097 (FP_ZERO): Likewise.
68098 (FP_SUBNORMAL): Likewise.
68099 (FP_NORMAL): Likewise.
68100
68101 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
68102
68103 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68104 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68105 arguments.
68106
68107 2012-11-02 Roland McGrath <roland@hack.frob.com>
68108
68109 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68110 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68111 autoconf-time if not.
68112 * configure.in: Remove AC_PREREQ.
68113
68114 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68115
68116 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68117 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68118 of the internal implementation.
68119
68120 2012-11-02 Joseph Myers <joseph@codesourcery.com>
68121
68122 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68123 except include of <misc/sys/syslog.h>.
68124
68125 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
68126
68127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68128 function returns with a NULL context exit with zero.
68129
68130 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68131
68132 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68133
68134 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
68135
68136 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68137 (run_program_cmd): This.
68138 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68139 (tst_langinfo): New variable. Use it.
68140
68141 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
68142
68143 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68144 floating point opcodes.
68145
68146 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
68147
68148 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68149 variable.
68150
68151 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68152
68153 * sysdeps/mach/hurd/powerpc: Remove directory.
68154 * sysdeps/mach/powerpc: Likewise.
68155
68156 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
68157
68158 * scripts/check-local-headers.sh: Ignore c++ headers.
68159
68160 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
68161
68162 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68163 __libc_cleanup_region_start argument.
68164
68165 2012-11-01 Joseph Myers <joseph@codesourcery.com>
68166
68167 [BZ #14784]
68168 [BZ #14785]
68169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68170 x * y using scaling, not as x * y + z.
68171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68173 * math/libm-test.inc (fma_test): Add more tests.
68174 (fma_test_towardzero): Likewise.
68175 (fma_test_downward): Likewise.
68176 (fma_test_upward): Likewise.
68177
68178 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
68179
68180 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68181
68182 2012-10-31 Joseph Myers <joseph@codesourcery.com>
68183
68184 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68185 New variable.
68186
68187 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
68188
68189 * rt/tst-shm.c (worker): Correct checking for mmap failure.
68190
68191 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
68192
68193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68194 Fix sort order.
68195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68196 Likewise.
68197
68198 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68199
68200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68201 Fix the order of the list for glibc 2.17.
68202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68203 Likewise.
68204
68205 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
68206
68207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68208
68209 2012-10-31 Joseph Myers <joseph@codesourcery.com>
68210
68211 [BZ #14610]
68212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68213 for low part of x being zero before using __atanl (y).
68214 * math/libm-test.inc (atan2_test): Add another test.
68215
68216 * manual/install.texi (Configuring and compiling): Document
68217 general use of test-wrapper and test-wrapper-env.
68218 * INSTALL: Regenerated.
68219
68220 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68221 (__fma): Do not extract and scale down low bits on after-rounding
68222 systems when result rounded to normal precision would have normal
68223 exponent.
68224 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68225 (__fmal): Do not extract and scale down low bits on after-rounding
68226 systems when result rounded to normal precision would have normal
68227 exponent.
68228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68229 (__fmal): Do not extract and scale down low bits on after-rounding
68230 systems when result rounded to normal precision would have normal
68231 exponent.
68232 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68233 macro.
68234 (fma_test): Add more tests.
68235 (fma_test_towardzero): Likewise.
68236 (fma_test_downward): Likewise.
68237 (fma_test_upward): Likewise.
68238
68239 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
68240
68241 * sysdeps/i386/tininess.h: Renamed to ...
68242 * sysdeps/x86/tininess.h: This.
68243 * sysdeps/x86_64/tininess.h: Removed.
68244
68245 2012-10-30 Joseph Myers <joseph@codesourcery.com>
68246
68247 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68248 input. Use $(build-program-cmd).
68249 ($(objpfx)tst-array1-static.out): Likewise.
68250 ($(objpfx)tst-array2.out): Likewise.
68251 ($(objpfx)tst-array3.out): Likewise.
68252 ($(objpfx)tst-array4.out): Likewise.
68253 ($(objpfx)tst-array5.out): Likewise.
68254 ($(objpfx)tst-array5-static.out): Likewise.
68255
68256 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
68257
68258 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68259 if defined.
68260
68261 * nss/nsswitch.h (nss_interface_function): Provide new
68262 macro for use with NSS functions.
68263 * grp/initgroups.c: Use new macro.
68264 * nss/getXXbyYY.c: Likewise.
68265 * nss/getXXbyYY_r.c: Likewise.
68266 * nss/getXXent.c: Likewise.
68267 * nss/getXXent_r.c: Likewise.
68268 * sysdeps/posix/getaddrinfo.c: Likewise.
68269
68270 2012-10-30 Andreas Jaeger <aj@suse.de>
68271
68272 * po/ru.po: Update Russion translation from translation project.
68273
68274 2012-10-30 Joseph Myers <joseph@codesourcery.com>
68275
68276 [BZ #14152]
68277 [BZ #14783]
68278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68279 result and shift together with sticky bit instead of replicating
68280 round-to-nearest rounding.
68281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68283 * math/libm-test.inc (fma_test): Add more tests. Do not permit
68284 missing underflow exceptions.
68285 (fma_test_towardzero): Add more tests.
68286 (fma_test_downward): Likewise.
68287 (fma_test_upward): Likewise.
68288
68289 [BZ #14047]
68290 * sysdeps/generic/tininess.h: New file.
68291 * sysdeps/i386/tininess.h: Likewise.
68292 * sysdeps/sh/tininess.h: Likewise.
68293 * sysdeps/x86_64/tininess.h: Likewise.
68294 * stdlib/tst-strtod-underflow.c: Likewise.
68295 * stdlib/tst-tininess.c: Likewise.
68296 * stdlib/strtod_l.c: Include <tininess.h>.
68297 (round_and_return): Do not set errno for exact underflow cases.
68298 Force an underflow exception when setting errno for underflow.
68299 Determine underflow based on rounding to normal precision if
68300 TININESS_AFTER_ROUNDING.
68301 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68302 ERANGE for exact underflow cases.
68303 * stdlib/Makefile (tests): Add tst-tininess and
68304 tst-strtod-underflow.
68305 ($(objpfx)tst-tininess): Use $(link-libm).
68306 ($(objpfx)tst-strtod-underflow): Likewise.
68307
68308 2012-10-30 Andreas Jaeger <aj@suse.de>
68309
68310 [BZ#14767]
68311 * elf/Makefile (tests): Remove conditional for have-initfini-array
68312 since this is now always required and the variable does not exist
68313 anymore.
68314 (tests-static): Likewise.
68315 (modules-names): Likewise.
68316
68317 * po/eo.po: Add Esperanto translation from translation project.
68318
68319 * elf/tst-array1.c (fini_array): Make writeable so that it can be
68320 merged with constructor/destructor.
68321 (init_array): Likewise.
68322 * elf/tst-array2dep.c (fini_array): Likewise.
68323 (init_array): Likewise.
68324
68325 2012-10-29 Mike Frysinger <vapier@gentoo.org>
68326
68327 * manual/message.texi: Delete @cartouche tags.
68328
68329 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
68330
68331 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68332 EOPNOTSUPP.
68333 * sysdeps/mach/hurd/fsync.c: Likewise.
68334
68335 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68336 [_POSIX_REALTIME_SIGNALS]: Change condition to
68337 [_POSIX_REALTIME_SIGNALS > 0].
68338
68339 2012-10-27 Andreas Jaeger <aj@suse.de>
68340
68341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68342 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68344 [__WORDSIZE != 64]: Likewise.
68345
68346 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
68347
68348 * iconvdata/tst-table.sh: Remove ${SHELL}.
68349 * iconvdata/tst-tables.sh: Likewise.
68350
68351 2012-10-25 David S. Miller <davem@davemloft.net>
68352
68353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68354 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68355 of strtoull.
68356
68357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68358 ifunc-impl-list.c
68359 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68360 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68361 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68362 file.
68363
68364 2012-10-25 Roland McGrath <roland@hack.frob.com>
68365
68366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68367 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68368 __getdirentries.
68369
68370 2012-10-25 Joseph Myers <joseph@codesourcery.com>
68371 Jim Blandy <jimb@codesourcery.com>
68372
68373 * scripts/cross-test-ssh.sh: New file.
68374 * manual/install.texi (Configuring and compiling): Document use of
68375 cross-test-ssh.sh.
68376 * INSTALL: Regenerated.
68377
68378 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
68379
68380 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68381 EOPNOTSUPP.
68382
68383 2012-10-25 Joseph Myers <joseph@codesourcery.com>
68384
68385 * Makeconfig (run-program-prefix): Fix comment.
68386
68387 2012-10-24 Joseph Myers <joseph@codesourcery.com>
68388 Jim Blandy <jimb@codesourcery.com>
68389
68390 * Makeconfig (test-wrapper): New variable,
68391 (test-wrapper-env): Likewise.
68392 [$(cross-compiling) = yes && $(test-wrapper) != ""]
68393 (run-built-tests): Define to yes.
68394 (run-program-prefix): Use $(test-wrapper).
68395 (built-program-cmd): Likewise.
68396 * Rules (make-test-out): Use $(test-wrapper-env) and
68397 $(host-built-program-cmd).
68398 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68399 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68400 tst-pathopt.sh.
68401 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68402 $(test-wrapper-env) to tst-rtld-load-self.sh.
68403 ($(objpfx)order2.out): Use $(test-wrapper).
68404 ($(objpfx)tst-initorder.out): Likewise.
68405 ($(objpfx)tst-initorder2.out): Likewise.
68406 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68407 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68408 (test_wrapper_env): New variable. Use it to run ld.so.
68409 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68410 Use it to run ld.so.
68411 (test_wrapper_env): Likewise.
68412 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68413 $(test-wrapper) to run-iconv-test.sh.
68414 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68415 (ICONV): Use $test_wrapper.
68416 * posix/Makefile ($(objpfx)globtest.out): Pass
68417 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68418 globtest.sh, not $(run-program-prefix).
68419 * posix/globtest.sh (run_via_rtld_prefix): New variable.
68420 (test_wrapper): Likewise.
68421 (test_wrapper_env): Likewise. Use it to run globtest with HOME
68422 set together with run_via_rtld_prefix.
68423 (run_program_prefix): Define in terms of test_wrapper and
68424 run_via_rtld_prefix.
68425
68426 2012-10-24 Roland McGrath <roland@hack.frob.com>
68427
68428 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68429 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68430 Targets removed.
68431
68432 [BZ #14743]
68433 * include/time.h: Remove librt_hidden_proto (clock_gettime).
68434 Declare __clock_getres, __clock_gettime, __clock_settime,
68435 __clock_nanosleep, and __clock_getcpuclockid.
68436 * rt/clock_gettime.c: Define __clock_gettime as an alias.
68437 Remove librt_hidden_def (clock_gettime).
68438 * sysdeps/unix/clock_gettime.c: Likewise.
68439 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68441 * rt/clock_getres.c: Define __clock_getres as an alias.
68442 * sysdeps/posix/clock_getres.c: Likewise.
68443 * rt/clock_settime.c: Define __clock_settime as an alias.
68444 * sysdeps/unix/clock_settime.c: Likewise.
68445 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68446 * sysdeps/unix/clock_nanosleep.c: Likewise.
68447 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68448 * rt/clock-compat.c: New file.
68449 * rt/Makefile (librt-routines): Add clock-compat and move
68450 $(clock-routines) to ...
68451 (routines): ... here, new variable.
68452 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68453 Don't add get_clockfreq here.
68454 * rt/Versions (libc: GLIBC_2.17): New version set.
68455 Add clock_* symbols here.
68456 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
68457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68458 (GLIBC_2.17): Add clock_* symbols.
68459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68463 Likewise.
68464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68465 Likewise.
68466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68470 * NEWS: Mention the move.
68471
68472 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68473 Use __open, __read, __close rather than their public counterparts.
68474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68475 (__get_clockfreq_via_cpuinfo): Likewise.
68476 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68477 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68478
68479 * config.h.in (HAVE_IFUNC): New #undef.
68480 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68481 was successful.
68482 * configure: Regenerated.
68483
68484 2012-10-24 Mike Frysinger <vapier@gentoo.org>
68485
68486 * configure.in: Move READELF check to start of file.
68487 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68488 libc_cv_asm_gnu_indirect_function in the process.
68489 * configure: Regenerated.
68490
68491 2012-10-24 Mike Frysinger <vapier@gentoo.org>
68492
68493 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68494 send the output to /dev/null.
68495 (libc_cv_cc_with_libunwind): Likewise.
68496 (libc_cv_as_noexecstack): Likewise.
68497 * configure: Regenerate.
68498
68499 2012-10-24 Joseph Myers <joseph@codesourcery.com>
68500
68501 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68502
68503 * posix/globtest.sh (TMPDIR): Do not set.
68504 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68505 (testout): Likewise.
68506
68507 2012-10-24 Andreas Jaeger <aj@suse.de>
68508
68509 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68510 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68511 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68512 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68513 posix_fadvise64, posix_fallocate64.
68514
68515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68516 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68517 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68518 Likewise.
68519 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68520 Likewise.
68521 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68522
68523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68524 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68525 <bits/fcntl-linux.h>.
68526 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68527
68528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68529 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68530 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68531 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68532 [__WORDSIZE != 64]: Likewise.
68533
68534 2012-10-23 Joseph Myers <joseph@codesourcery.com>
68535
68536 * Makeconfig (run-built-tests): New variable.
68537 * Rules [$(cross-compiling) = yes]: Change condition to
68538 [$(run-built-tests) = no].
68539 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68540 to [$(run-built-tests) = yes].
68541 * elf/Makefile [$(cross-compiling) = no]: Likewise.
68542 * grp/Makefile [$(cross-compiling) = no]: Likewise.
68543 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68544 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68545 * intl/Makefile [$(cross-compiling) = no]: Likewise.
68546 * io/Makefile [$(cross-compiling) = no]: Likewise.
68547 * libio/Makefile [$(cross-compiling) = no]: Likewise.
68548 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68549 * misc/Makefile [$(cross-compiling) = no]: Likewise.
68550 * posix/Makefile [$(cross-compiling) = no]: Likewise.
68551 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68552 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68553 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68554 * string/Makefile [$(cross-compiling) = no]: Likewise.
68555
68556 * posix/Makefile ($(objpfx)globtest.out): Pass
68557 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68558 $(rtld-installed-name).
68559 * posix/globtest.sh (elf_objpfx): Remove variable.
68560 (rtld_installed_name): Likewise.
68561 (library_path): Likewise.
68562 (run_program_prefix): New variable. Use for running globtest
68563 binary.
68564
68565 2012-10-23 Jim Blandy <jimb@codesourcery.com>
68566 Joseph Myers <joseph@codesourcery.com>
68567
68568 * Makeconfig (host-built-program-cmd): New variable.
68569 * elf/Makefile (tst-stackguard1-ARGS): Use
68570 $(host-built-program-cmd).
68571 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68572 (tst-spawn-ARGS): Likewise.
68573 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68574
68575 2012-10-23 Joseph Myers <joseph@codesourcery.com>
68576 Jim Blandy <jimb@codesourcery.com>
68577
68578 * Makeconfig (run-via-rtld-prefix): New variable.
68579 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68580 (built-program-cmd): Likewise.
68581
68582 2012-10-22 Andreas Jaeger <aj@suse.de>
68583
68584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68585 __O_RSYNC if it exists, otherwise to O_SYNC.
68586
68587 2012-10-22 Jim Blandy <jimb@codesourcery.com>
68588 Joseph Myers <joseph@codesourcery.com>
68589
68590 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68591 /dev/null.
68592 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68593 from /dev/null
68594 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68595 /dev/null.
68596
68597 2012-10-22 Andreas Jaeger <aj@suse.de>
68598
68599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68600 Define always.
68601 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68602
68603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68604 bits/fcntl-linux.h.
68605
68606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68607 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68608
68609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68610 to __O_LARGEFILE.
68611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68612 to __O_LARGEFILE.
68613
68614 2012-10-21 Jim Blandy <jimb@codesourcery.com>
68615 Joseph Myers <joseph@codesourcery.com>
68616
68617 * config.make.in (NM): New variable.
68618
68619 2012-10-21 Andreas Jaeger <aj@suse.de>
68620
68621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68622 definitions and declarations that are provided by
68623 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68624
68625 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
68626
68627 [BZ #14683]
68628 * elf/Makefile (tests-static): Add tst-leaks1-static.
68629 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68630 ($(objpfx)tst-leaks1-static): New rule.
68631 ($(objpfx)tst-leaks1-static-mem): Likewise.
68632 (tst-leaks1-static-ENV): New macro.
68633 * elf/dl-open.c (dl_open_worker): Check the main application
68634 only if SHARED is defined.
68635 * elf/tst-leaks1-static.c: New file.
68636
68637 2012-10-20 Andreas Jaeger <aj@suse.de>
68638
68639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68640 generic values for Linux.
68641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68642 and declarations that are provided by <bits/fcntl-linux.h> and
68643 include <bits/fcntl-linux.h>.
68644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68646
68647 2012-10-20 Roland McGrath <roland@hack.frob.com>
68648
68649 * io/fcntl.h: Move include of <bits/types.h> to the top and
68650 include it unconditionally.
68651
68652 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
68653
68654 * wcsmbs/Makefile (tests-ifunc): New variable.
68655 (tests): Add $(tests-ifunc).
68656 * wcsmbs/test-wcschr-ifunc.c: New file.
68657 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68658 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68659 * wcsmbs/test-wcslen-ifunc.c: Likewise.
68660 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68661 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68662
68663 * string/Makefile (tests-ifunc): New variable.
68664 (tests): Add $(tests-ifunc).
68665 * string/test-memccpy.c (TEST_NAME): New macro.
68666 * string/test-memchr.c (TEST_NAME): Likewise.
68667 * string/test-memcmp.c (TEST_NAME): Likewise.
68668 * string/test-memcpy.c (TEST_NAME): Likewise.
68669 * string/test-memmem.c (TEST_NAME): Likewise.
68670 * string/test-memmove.c (TEST_NAME): Likewise.
68671 * string/test-memset.c (TEST_NAME): Likewise.
68672 * string/test-rawmemchr.c (TEST_NAME): Likewise.
68673 * string/test-stpcpy.c (TEST_NAME): Likewise.
68674 * string/test-stpncpy.c (TEST_NAME): Likewise.
68675 * string/test-strcasecmp.c (TEST_NAME): Likewise.
68676 * string/test-strcasestr.c (TEST_NAME): Likewise.
68677 * string/test-strcat.c (TEST_NAME): Likewise.
68678 * string/test-strchr.c (TEST_NAME): Likewise.
68679 * string/test-strcmp.c(TEST_NAME): Likewise.
68680 * string/test-strcpy.c (TEST_NAME): Likewise.
68681 * string/test-strcspn.c (TEST_NAME): Likewise.
68682 * string/test-strlen.c (TEST_NAME): Likewise.
68683 * string/test-strncasecmp.c (TEST_NAME): Likewise.
68684 * string/test-strncmp.c (TEST_NAME): Likewise.
68685 * string/test-strncpy.c (TEST_NAME): Likewise.
68686 * string/test-strnlen.c (TEST_NAME): Likewise.
68687 * string/test-strpbrk.c (TEST_NAME): Likewise.
68688 * string/test-strrchr.c (TEST_NAME): Likewise.
68689 * string/test-strspn.c (TEST_NAME): Likewise.
68690 * string/test-strstr.c (TEST_NAME): Likewise.
68691 * string/test-bcopy-ifunc.c: New file.
68692 * string/test-bzero-ifunc.c: Likewise.
68693 * string/test-memccpy-ifunc.c: Likewise.
68694 * string/test-memchr-ifunc.c: Likewise.
68695 * string/test-memcmp-ifunc.c: Likewise.
68696 * string/test-memcpy-ifunc.c: Likewise.
68697 * string/test-memmem-ifunc.c: Likewise.
68698 * string/test-memmove-ifunc.c: Likewise.
68699 * string/test-mempcpy-ifunc.c: Likewise.
68700 * string/test-memset-ifunc.c: Likewise.
68701 * string/test-rawmemchr-ifunc.c: Likewise.
68702 * string/test-stpcpy-ifunc.c: Likewise.
68703 * string/test-stpncpy-ifunc.c: Likewise.
68704 * string/test-strcasecmp-ifunc.c: Likewise.
68705 * string/test-strcasestr-ifunc.c: Likewise.
68706 * string/test-strcat-ifunc.c: Likewise.
68707 * string/test-strchr-ifunc.c: Likewise.
68708 * string/test-strchrnul-ifunc.c: Likewise.
68709 * string/test-strcmp-ifunc.c: Likewise.
68710 * string/test-strcpy-ifunc.c: Likewise.
68711 * string/test-strcspn-ifunc.c: Likewise.
68712 * string/test-strlen-ifunc.c: Likewise.
68713 * string/test-strncasecmp-ifunc.c: Likewise.
68714 * string/test-strncat-ifunc.c: Likewise.
68715 * string/test-strncmp-ifunc.c: Likewise.
68716 * string/test-strncpy-ifunc.c: Likewise.
68717 * string/test-strnlen-ifunc.c: Likewise.
68718 * string/test-strpbrk-ifunc.c: Likewise.
68719 * string/test-strrchr-ifunc.c: Likewise.
68720 * string/test-strspn-ifunc.c: Likewise.
68721 * string/test-strstr-ifunc.c: Likewise.
68722
68723 * debug/Makefile (tests-ifunc): New variable.
68724 (tests): Add $(tests-ifunc).
68725 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68726 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68727 * debug/test-stpcpy_chk-ifunc.c: New file.
68728 * debug/test-strcpy_chk-ifunc.c: Likewise.
68729
68730 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
68731
68732 [BZ #13601]
68733 * elf/dl-load.c (open_verify): Retry read if the entire ELF
68734 header is not read in.
68735
68736 2012-10-19 Joseph Myers <joseph@codesourcery.com>
68737
68738 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
68739 script to $(SHELL) as $<. Pass $(common-objpfx) to script
68740 directly. Pass built executable to script as
68741 $(built-program-cmd).
68742 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
68743 $testprogram without using LD_LIBRARY_PATH and $ldso.
68744
68745 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68746 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68747 $(rtld-installed-name).
68748 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68749 (rtld_installed_name): Likewise.
68750 (library_path): Likewise.
68751 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
68752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68753 $(run-program-prefix) to tst-tables.sh.
68754 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
68755 it to run tst-table-from and tst-table-to.
68756 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68757 Pass it to tst-table.sh.
68758 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68759 $(run-program-prefix) to tst-gettext.sh.
68760 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68761 tst-translit.sh.
68762 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68763 tst-gettext2.sh.
68764 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
68765 to run tst-gettext.
68766 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
68767 to run tst-gettext2.
68768 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
68769 to run tst-translit.
68770 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68771 $(run-program-prefix) to tst-mtrace.sh.
68772 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
68773 to run tst-mtrace.
68774 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68775 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68776 $(rtld-installed-name).
68777 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68778 (rtld_installed_name): Likewise.
68779 (run_program_prefix): New variable. Use it to run wordexp-test.
68780
68781 * Makeconfig (ARCH): Remove all definitions.
68782 (machine): Likewise.
68783 [ARCH]: Remove conditional code.
68784 [!objdir]: Give error.
68785 [!objdir] (objpfx): Remove.
68786 [!objdir] (common-objpfx): Likewise.
68787 [!objdir] (common-objdir): Likewise.
68788 * configure.in (config_makefile): Remove. Hardcode Makefile in
68789 AC_CONFIG_FILES call.
68790 * configure: Regenerated.
68791
68792 [BZ #13888]
68793 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68794 or TMPDIR.
68795 (testout): Likewise.
68796
68797 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68798 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68799 $(rtld-installed-name).
68800 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68801 (rtld_installed_name): Likewise.
68802 (runit): Remove function.
68803 (run_getconf): New variable, Use it for running getconf binary.
68804
68805 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
68806
68807 [BZ #14716]
68808 * string/test-memmem.c (check_result): New function.
68809 (do_one_test): Use it.
68810 (check1): New function.
68811 (test_main): Use it.
68812
68813 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
68814
68815 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68816
68817 2012-10-18 Joseph Myers <joseph@codesourcery.com>
68818
68819 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68820 (_G_LSEEK64): Likewise.
68821 (_G_MMAP64): Likewise.
68822 (_G_FSTAT64): Likewise.
68823 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68824 (_G_LSEEK64): Likewise.
68825 (_G_MMAP64): Likewise.
68826 (_G_FSTAT64): Likewise.
68827 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68828 unconditional. Call __mmap64 directly.
68829 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68830 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
68831 __lseek64 directly.
68832 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68833 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
68834 __mmap64 directly.
68835 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68836 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
68837 __lseek64 directly.
68838 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68839 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
68840 __lseek64 directly.
68841 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68842 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
68843 __lseek64 directly.
68844 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68845 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
68846 __fxstat64 directly.
68847 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68848 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68849 unconditional.
68850 (freopen64) [!_G_OPEN64]: Remove conditional code.
68851 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68852 unconditional.
68853 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68854 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68855 unconditional.
68856 (ftello64) [!_G_LSEEK64]: Remove conditional code.
68857 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68858 unconditional.
68859 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68860 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68861 unconditional.
68862 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68863 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68864 unconditional.
68865 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68866 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68867 unconditional.
68868 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68869 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68870 unconditional.
68871 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68872
68873 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
68874
68875 [BZ #12140]
68876 * manual/memory.texi (Malloc Tunable Parameters): Add note
68877 about free list pointers overwriting some perturb bytes.
68878 Wording suggested by Roland McGrath.
68879
68880 2012-10-17 Joseph Myers <joseph@codesourcery.com>
68881
68882 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68883 (lgamma_test): Likewise.
68884 (tgamma_test): Likewise.
68885
68886 2012-10-16 Florian Weimer <fweimer@redhat.com>
68887
68888 [BZ #14700]
68889 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68890 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68891
68892 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
68893
68894 * NEWS: Mention BZ #14716.
68895 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68896 when removing AVAILABLE1_USES_J macro.
68897
68898 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
68899
68900 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68901 (__bswap_64): __uint64_t for unsigned 64-bit int.
68902
68903 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
68904
68905 * include/string.h (memmem): Declare libc hidden alias.
68906 * string/memmem.c (memmem): Define libc hidden alias.
68907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68908 __read, __close instead of open, read, close.
68909
68910 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
68911
68912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68913 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68914 global and hidden.
68915 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68916 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68917 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68918 Likewise.
68919 (__rawmemchr_sse2): Likewise.
68920 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68921 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68922 (__strchr_sse2): Likewise.
68923 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68924 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68925 (__strcasecmp_sse2): Likewise.
68926 (__strncasecmp_sse2): Likewise.
68927 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68928 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68929 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68930 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68931 (__strrchr_sse2): Likewise.
68932 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68933 ifunc-impl-list.c.
68934 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68935 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68936 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68937 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68938 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68939 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68940 * sysdeps/x86_64/multiarch/memset.S: Likewise.
68941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68942 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68943 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68944 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68945 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68946 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68947 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68948 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68949 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68950 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68951 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68952 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68953 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68954 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68955 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68956 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68957 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68958 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68960 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68961 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68962 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68963 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68964
68965 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68966 global and hidden.
68967 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68968 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68969 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68970 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68971 Likewise.
68972 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68973 Likewise.
68974 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68975 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68976 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68977 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68978 ifunc-impl-list.c.
68979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68988 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68992 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68993 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68996 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69000 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69001 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69002 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69004 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69005 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69006 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69007 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69009 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69010 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69011 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69012 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69020
69021 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69022 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69023 * include/ifunc-impl-list.h: New file.
69024 * misc/ifunc-impl-list.c: Likewise.
69025 * misc/Makefile (routines): Add ifunc-impl-list.
69026 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69027 * string/test-string.h: Include <ifunc-impl-list.h>.
69028 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69029 TEST_NAME]: New variables.
69030 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69031 are defined.
69032 (test_init): Call __libc_ifunc_impl_list to initialize
69033 func_list if TEST_IFUNC and TEST_NAME are defined.
69034
69035 * string/Makefile (strop-tests): Add bcopy and bzero.
69036 * string/test-bcopy.c: New file.
69037 * string/test-bzero.c: Likewise.
69038 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69039 defined.
69040 * string/test-memset.c: Support bzero test if TEST_BZERO is
69041 defined.
69042 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69043 __libc_memmove.
69044 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69045 __libc_memset.
69046 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69047 of memset.
69048
69049 2012-10-10 Joseph Myers <joseph@codesourcery.com>
69050
69051 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69052 * configure: Regenerated.
69053
69054 * Makeconfig (+link-static-before-libc): Don't include
69055 $(link-static-libc).
69056
69057 * libio/libio.h (_IO_pos_t): Remove.
69058
69059 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
69060
69061 * NEWS: Add note about FIPS mode. Wording suggested by Roland
69062 McGrath.
69063
69064 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
69065
69066 * crypt/crypt-entry.c: Include fips-private.h.
69067 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69068 * crypt/md5c-test.c (main): Tolerate disabled MD5.
69069 * sysdeps/unix/sysv/linux/fips-private.h: New file.
69070 * sysdeps/generic/fips-private.h: New file, dummy fallback.
69071
69072 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
69073
69074 * crypt/crypt-private.h: Include stdbool.h.
69075 (_ufc_setup_salt_r): Return bool.
69076 * crypt/crypt-entry.c: Include errno.h.
69077 (__crypt_r): Return NULL with EINVAL for bad salt.
69078 * crypt/crypt_util.c (bad_for_salt): New.
69079 (_ufc_setup_salt_r): Check that salt is long enough and within
69080 the specified alphabet.
69081 * crypt/badsalttest.c: New file.
69082 * crypt/Makefile (tests): Add it.
69083 ($(objpfx)badsalttest): New.
69084
69085 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
69086
69087 * NEWS: Add entry for BZ #14602.
69088
69089 2012-10-09 Joseph Myers <joseph@codesourcery.com>
69090
69091 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69092 type-generic.
69093 * math/libm-test.inc: Update comment listing what functions and
69094 macros are tested.
69095 (isgreater_test): New function.
69096 (isgreaterequal_test): Likewise.
69097 (isless_test): Likewise.
69098 (islessequal_test): Likewise.
69099 (islessgreater_test): Likewise.
69100 (isunordered_test): Likewise.
69101 (main): Call the new functions.
69102
69103 2012-10-09 Roland McGrath <roland@hack.frob.com>
69104
69105 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69106 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69107 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69108 * sysdeps/i386/configure: Regenerated.
69109 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69110 * sysdeps/mach/configure: Regenerated.
69111 * sysdeps/mach/hurd/configure: Regenerated.
69112 * sysdeps/powerpc/configure: Regenerated.
69113 * sysdeps/powerpc/powerpc32/configure: Regenerated.
69114 * sysdeps/powerpc/powerpc64/configure: Regenerated.
69115 * sysdeps/s390/s390-32/configure: Regenerated.
69116 * sysdeps/s390/s390-64/configure: Regenerated.
69117 * sysdeps/sh/configure: Regenerated.
69118 * sysdeps/sparc/configure: Regenerated.
69119 * sysdeps/unix/sysv/linux/configure: Regenerated.
69120 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69121 * sysdeps/x86_64/configure: Regenerated.
69122
69123 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69124 defined. Don't check if MAP is NULL.
69125
69126 2012-10-09 Joseph Myers <joseph@codesourcery.com>
69127
69128 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69129 (_G_stat64): Likewise.
69130 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69131 (_G_stat64): Likewise.
69132 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69133 instead of struct _G_stat64.
69134 * libio/fileops.c (mmap_remap_check): Likewise.
69135 (decide_maybe_mmap): Likewise.
69136 (_IO_new_file_seekoff): Likewise.
69137 (_IO_file_stat): Likewise.
69138 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69139 _G_off64_t.
69140 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69141 instead of struct _G_stat64.
69142 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69143
69144 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
69145
69146 [BZ #14602]
69147 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69148 Replace with ...
69149 (CHECK_EOL): New macro.
69150 (two_way_short_needle): Check beginning of haystack for EOL. Use
69151 CHECK_EOL.
69152 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69153 Replace with CHECK_EOL.
69154 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69155 Replace with CHECK_EOL.
69156
69157 2012-10-08 Joseph Myers <joseph@codesourcery.com>
69158
69159 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69160 type-generic.
69161 * math/libm-test.inc: Update comment listing what functions and
69162 macros are tested.
69163 (finite_test): New function.
69164 (isinf_test): Likewise.
69165 (isnan_test): Likewise.
69166 (fpclassify_test): Test subnormal input.
69167 (isfinite_test): Likewise.
69168 (isnormal_test): Likewise.
69169 (main): Call the new functions.
69170
69171 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
69172
69173 [BZ #14660]
69174 * Makerules (%.dynsym): Force C locale when running
69175 $(OBJDUMP) --dynamic-syms.
69176
69177 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
69178
69179 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69180 <stdint.h>.
69181
69182 2012-10-06 David S. Miller <davem@davemloft.net>
69183
69184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69185 upper 32-bits of the length value in %o2 since we use branch-on-register
69186 tests which consider the entire 64-bit register.
69187
69188 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
69189
69190 * string/test-strstr.c (check2): Add a test for page boundary.
69191
69192 2012-10-05 David S. Miller <davem@davemloft.net>
69193
69194 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69196 file.
69197 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69198 sysdep_routines.
69199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69200 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69201 and bzero when HWCAP_SPARC_CRYPTO is present.
69202
69203 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
69204
69205 [BZ #14602]
69206 * string/test-strstr.c (check2): New function.
69207 (test_main): Call check2.
69208
69209 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69210 and bug-strchr1.
69211 * string/bug-strcasestr1.c (do_test): Moved to ...
69212 * string/test-strcasestr.c (check1): Here. New function.
69213 (do_one_test): Break out result checking code into ...
69214 (check_result): This. New function.
69215 (do_one_test): Call check_result.
69216 (test_main): Call check1.
69217 * string/bug-strchr1.c (do_test): Moved to ...
69218 * string/test-strchr.c (check1): Here. New function.
69219 (do_one_test): Break out result checking code into ...
69220 (check_result): This. New function.
69221 (do_one_test): Call check_result.
69222 (test_main): Call check1.
69223 * string/bug-strstr1.c (main): Moved to ...
69224 * string/test-strstr.c (check1): Here. New function.
69225 (do_one_test): Break out result checking code into ...
69226 (check_result): This. New function.
69227 (do_one_test): Call check_result.
69228 (test_main): Call check1.
69229 * string/bug-strcasestr1.c: Removed.
69230 * string/bug-strchr1.c: Likewise.
69231 * string/bug-strstr1.c: Likewise.
69232
69233 * elf/Makefile (dl-routines): Add hwcaps.
69234 * elf/dl-support.c (_dl_important_hwcaps): Removed.
69235 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69236 (_dl_important_hwcaps): Moved to ...
69237 * elf/dl-hwcaps.c: Here. New file.
69238 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69239
69240 [BZ #14557]
69241 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69242 if IS_IN_rtld isn't defined.
69243
69244 * elf/dl-support.c (_dl_sysinfo_map): New.
69245 Include "get-dynamic-info.h" and "setup-vdso.h".
69246 (_dl_non_dynamic_init): Call setup_vdso.
69247 * elf/dynamic-link.h: Don't include <assert.h>.
69248 (elf_get_dynamic_info): Moved to ...
69249 * elf/get-dynamic-info.h: Here. New file.
69250 * elf/dynamic-link.h: Include "get-dynamic-info.h".
69251 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69252 * elf/setup-vdso.h: Here. New file.
69253 * elf/rtld.c: Include "setup-vdso.h".
69254 (dl_main): Call setup_vdso.
69255
69256 2012-10-05 Joseph Myers <joseph@codesourcery.com>
69257
69258 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69259 creal in comment listing functions tested. List finite, isinf,
69260 isnan, isless, islessequal, isgreater, isgreaterequal,
69261 islessgreater, isunordered, lgamma_r and pow10 as functions and
69262 macros not tested. Mention which functions not tested are aliases
69263 for other functions. Fix typo. Note that signs of NaNs are not
69264 tested.
69265
69266 * scripts/config.guess: Update from config.git.
69267 * scripts/config.sub: Likewise.
69268
69269 2012-10-04 Roland McGrath <roland@hack.frob.com>
69270
69271 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69272 * misc/madvise.c (madvise): Renamed to __madvise.
69273 Make madvise a weak alias.
69274 * include/sys/mman.h: Declare __madvise.
69275 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69276 * sysdeps/unix/syscalls.list
69277 (madvise): Make __madvise the strong name, and madvise a weak alias.
69278 * sysdeps/unix/sysv/linux/syscalls.list
69279 (madvise, mmap): Remove redundant entries.
69280 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69281 * malloc/malloc.c (mtrim): Likewise.
69282 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69283
69284 2012-10-03 Roland McGrath <roland@hack.frob.com>
69285
69286 * sysdeps/mach/hurd/dl-cache.c: File removed.
69287 * config.h.in (USE_LDCONFIG): New #undef.
69288 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69289 * configure: Regenerated.
69290 * elf/Makefile (dl-routines): Add dl-cache only under
69291 [$(use-ldconfig) = yes].
69292 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69293 cache on [USE_LDCONFIG].
69294 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69295 [USE_LDCONFIG].
69296 * elf/rtld.c (dl_main): Likewise.
69297
69298 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
69299
69300 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69301 _SC_LEVEL4_CACHE_LINESIZE.
69302
69303 2012-10-03 Roland McGrath <roland@hack.frob.com>
69304
69305 * sysdeps/unix/bsd/confstr.h: File removed.
69306
69307 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
69308
69309 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69310 sys/sdt-config.h.
69311
69312 2012-10-02 Roland McGrath <roland@hack.frob.com>
69313
69314 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69315 Make 'mapoff' field ElfW(Off) rather than off_t.
69316
69317 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
69318
69319 * nscd/Makefile: Remove nscd-cflags and all its users.
69320 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69321 (CFLAGS-nonlib): Add compiler flags for nscd modules.
69322
69323 [BZ #10631]
69324 * malloc.c (malloc_printerr): Clarify error message.
69325
69326 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
69327
69328 [BZ #14648]
69329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69330 Set bit_FMA_Usable if FMA is supported.
69331 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69332 macro.
69333 (bit_FMA4_Usable): Updated.
69334 (index_FMA_Usable): New macro.
69335 (CPUID_FMA): Likewise.
69336 (HAS_FMA): Defined with bit_FMA_Usable.
69337
69338 2012-10-01 Roland McGrath <roland@hack.frob.com>
69339
69340 * bits/types.h (__swblk_t): Type removed.
69341 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69342 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69344 (__SWBLK_T_TYPE): Likewise.
69345 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69346 (__SWBLK_T_TYPE): Likewise.
69347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69348 (__SWBLK_T_TYPE): Likewise.
69349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69350 (__SWBLK_T_TYPE): Likewise.
69351
69352 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
69353 Honza Horak <hhorak@redhat.com>
69354
69355 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69356 (xdr_mapname): Use YPMAXMAP as maxsize.
69357 (xdr_peername): Use YPMAXPEER as maxsize.
69358 (xdr_keydat): Use YPAXRECORD as maxsize.
69359 (xdr_valdat): Use YPMAXRECORD as maxsize.
69360
69361 2012-10-01 Roland McGrath <roland@hack.frob.com>
69362
69363 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69364
69365 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69366 * csu/init-first.c: ... here.
69367 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69368 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69370 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69371 * sysdeps/i386/init-first.c: File removed.
69372 * sysdeps/sh/init-first.c: File removed.
69373
69374 2012-10-01 Joseph Myers <joseph@codesourcery.com>
69375
69376 [BZ #14645]
69377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69378 if x * y might underflow to zero and z is zero.
69379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69381 * math/libm-test.inc (min_subnorm_value): New variable.
69382 (fma_test): Add more tests.
69383 (fma_test_towardzero): Likewise.
69384 (fma_test_downward): Likewise.
69385 (fma_test_upward): Likewise.
69386 (initialize): Set min_subnorm_value.
69387
69388 2012-09-29 Joseph Myers <joseph@codesourcery.com>
69389
69390 [BZ #14638]
69391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69392 0 + 0.
69393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69394 mode for addition resulting in exact zero.
69395 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69397 exact 0 + 0.
69398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69400 * math/libm-test.inc (fma_test): Add more tests.
69401 (fma_test_towardzero): New function.
69402 (fma_test_downward): Likewise.
69403 (fma_test_upward): Likewise.
69404 (main): Call the new functions.
69405
69406 2012-09-28 David S. Miller <davem@davemloft.net>
69407
69408 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69409
69410 2012-09-28 Roland McGrath <roland@hack.frob.com>
69411
69412 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69413 instead of SIGALRM.
69414
69415 * sysdeps/gnu/_G_config.h: Moved to ...
69416 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69417 * sysdeps/mach/hurd/_G_config.h: Moved to ...
69418 * sysdeps/generic/_G_config.h: ... here.
69419
69420 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
69421
69422 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69423
69424 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69425 Conditionalize target on [libnss_test1.so-version].
69426
69427 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69428
69429 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69430 (elfobjdir): Move out of conditionals.
69431
69432 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69433 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69434 (__nss_lookup_function): Conditionalize label remove_from_tree on
69435 [!DO_STATIC_NSS || SHARED], matching its only use.
69436
69437 2012-09-28 David S. Miller <davem@davemloft.net>
69438
69439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69441 file.
69442 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69443 sysdep_routines.
69444 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69446 when HWCAP_SPARC_CRYPTO is present.
69447
69448 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
69449
69450 * io/tst-mknodat.c: Create a FIFO instead of a socket.
69451
69452 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
69453
69454 [BZ #6530]
69455 * stdio-common/vfprintf.c (process_string_arg): Revert
69456 2000-07-22 change.
69457
69458 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
69459
69460 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69461 for testcase.
69462 * stdio-common/tst-sprintf.c: Include <locale.h>
69463 (main): Test sprintf's handling of incomplete multibyte
69464 characters.
69465
69466 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
69467
69468 * elf/dl-runtime.c (VERSYMIDX): Removed.
69469 * elf/dl-version.c (VERSYMIDX): Likewise.
69470 * elf/do-rel.h (VERSYMIDX): Likewise.
69471 (VALIDX): Likewise.
69472 * elf/dynamic-link.h (VERSYMIDX): Likewise.
69473 * elf/rtld.c (VALIDX): Likewise.
69474 (ADDRIDX): Likewise.
69475 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69476 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69477 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69478 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69479 (VALIDX): Likewise.
69480 (ADDRIDX): Likewise.
69481
69482 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
69483
69484 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69485
69486 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
69487
69488 [BZ #11438]
69489 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69490 to global scope.
69491 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69492 addresses are in the same scope as 192.0.2/24.
69493 * posix/gai.conf: Document new scope table defaults.
69494
69495 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69496
69497 [BZ #5298]
69498 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69499 for ftell. Compute offsets from write pointers instead.
69500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69501
69502 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69503
69504 [BZ #14543]
69505 * libio/Makefile (tests): New test case tst-fseek.
69506 * libio/tst-fseek.c: New test case to verify that fseek/ftell
69507 combination works in wide mode.
69508 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69509 state when the external buffer state changes.
69510
69511 2012-09-27 David S. Miller <davem@davemloft.net>
69512
69513 [BZ #14376]
69514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69515 pass reloc->r_addend in as the 'high' argument to
69516 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69517
69518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69519
69520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
69521
69522 * rt/tst-aio2.c: Include <pthread.h>.
69523 * rt/tst-aio3.c: Likewise.
69524
69525 2012-09-27 Steve Ellcey <sellcey@mips.com>
69526
69527 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69528
69529 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
69530
69531 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69532 contents on [SHARED].
69533
69534 2012-09-26 Marek Polacek <polacek@redhat.com>
69535
69536 [BZ #14530]
69537 [BZ #13741]
69538 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69539 for C++ and GCC <4.3 as well as for non GCC compilers.
69540
69541 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
69542
69543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69544
69545 2012-09-25 Roland McGrath <roland@hack.frob.com>
69546
69547 * Makefile.in (all, install): Declare with .PHONY.
69548 Reported by Michael Hope <michael.hope@linaro.org>.
69549
69550 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69551
69552 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69553 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69554 system header.
69555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69556 Likewise.
69557 (sydep_routines): Add the new and the internal functions.
69558 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69561 (GLIBC_2.17): Add the new function.
69562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69563 (GLIBC_2.17): Likewise.
69564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69565 (GLIBC_2.17): Likewise.
69566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69567 (GLIBC_2.17): Likewise.
69568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69569
69570 2012-09-25 Alan Modra <amodra@gmail.com>
69571
69572 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69573 Add release barrier before setting once_control to say
69574 initialisation is done. Add hints on lwarx. Use macro in
69575 place of isync.
69576 (clear_once_control): Add release barrier.
69577
69578 2012-09-25 Joseph Myers <joseph@codesourcery.com>
69579
69580 [BZ #13629]
69581 * math/s_clog.c (__clog): Handle more values close to |z| = 1
69582 specially.
69583 * math/s_clog10.c (__clog10): Likewise.
69584 * math/s_clog10f.c (__clog10f): Likewise.
69585 * math/s_clog10l.c (__clog10l): Likewise.
69586 * math/s_clogf.c (__clogf): Likewise.
69587 * math/s_clogl.c (__clogl): Likewise.
69588 * math/Makefile (libm-calls): Add x2y2m1.
69589 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69590 (__x2y2m1): Likewise.
69591 (__x2y2m1l): Likewise.
69592 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69593 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69594 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69595 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69596 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69597 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69598 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69599 * sysdeps/i386/fpu/libm-test-ulps: Update.
69600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69601
69602 [BZ #14621]
69603 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69604 int as type of variable DEPTH.
69605 (glob): Use size_t instead of int as type of variables NEWCOUNT
69606 and OLD_PATHC.
69607
69608 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69609
69610 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69611 Add s_sincosf-sse2.
69612 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69613 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69614 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69615 macros for using routine as __sincosf_ia32.
69616 Use macro for function declaration and weak_alias.
69617 * sysdeps/i386/fpu/libm-test-ulps: Update.
69618
69619 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69621
69622 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69623 subnormal argument.
69624 * math/s_cexpf.c (__cexpf): Likewise.
69625 * math/s_csinf.c (__csinf): Likewise.
69626 * math/s_csinhf.c (__csinhf): Likewise.
69627 * math/s_ctanf.c (__ctanf): Likewise.
69628 * math/s_ctanhf.c (__ctanhf): Likewise.
69629 * math/s_ccosh.c (__ccoshf): Likewise.
69630 * math/s_cexp.c (__cexpl): Likewise.
69631 * math/s_csin.c (__csin): Likewise.
69632 * math/s_csinh.c (__csinh): Likewise.
69633 * math/s_ctan.c (__ctan): Likewise.
69634 * math/s_ctanh.c (ctanh): Likewise.
69635 * math/s_ccoshl.c (__ccoshl): Likewise.
69636 * math/s_cexpl.c (__cexpl): Likewise.
69637 * math/s_csinl.c (__csinl): Likewise.
69638 * math/s_csinhl.c (__csinhl): Likewise.
69639 * math/s_ctanl.c (__ctanl): Likewise.
69640 * math/s_ctanhl.c (__ctanhl): Likewise.
69641
69642 2012-09-25 Joseph Myers <joseph@codesourcery.com>
69643
69644 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69645 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69646 (_IO_off_t): Define to __off_t, not _G_off_t.
69647 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69648 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69649 (_IO_wint_t): Define to wint_t, not _G_wint_t.
69650 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69651 type of __dummy and __dummy2 fields.
69652 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69653 (_G_ssize_t): Likewise.
69654 (_G_off_t): Likewise.
69655 (_G_pid_t): Likewise.
69656 (_G_uid_t): Likewise.
69657 (_G_wchar_t): Likewise.
69658 (_G_wint_t): Likewise.
69659 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69660 (_G_ssize_t): Likewise.
69661 (_G_off_t): Likewise.
69662 (_G_pid_t): Likewise.
69663 (_G_uid_t): Likewise.
69664 (_G_wchar_t): Likewise.
69665 (_G_wint_t): Likewise.
69666 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69667 (_G_ssize_t): Likewise.
69668 (_G_off_t): Likewise.
69669 (_G_pid_t): Likewise.
69670 (_G_uid_t): Likewise.
69671 (_G_wchar_t): Likewise.
69672 (_G_wint_t): Likewise.
69673
69674 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69675
69676 * malloc/arena.c: Include malloc-sysdep.h.
69677 (shrink_heap): Use check_may_shrink_heap to decide if madvise
69678 is sufficient to shrink the heap or an unmap is needed.
69679 * sysdeps/generic/malloc-sysdep.h: New file. Define
69680 new function check_may_shrink_heap.
69681 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
69682 new function check_may_shrink_heap.
69683
69684 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69685
69686 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69687 comments.
69688
69689 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
69690
69691 * catgets/test-gencat.sh: Add "set -e".
69692 * elf/tst-pathopt.sh: Likewise.
69693 * grp/tst_fgetgrent.sh: Likewise.
69694 * iconvdata/run-iconv-test.sh: Likewise.
69695 * intl/tst-gettext.sh: Likewise.
69696 * intl/tst-gettext2.sh: Likewise.
69697 * intl/tst-gettext4.sh: Likewise.
69698 * intl/tst-gettext6.sh: Likewise.
69699 * intl/tst-translit.sh: Likewise.
69700 * io/ftwtest-sh: Likewise.
69701 * libio/test-freopen.sh: Likewise.
69702 * malloc/tst-mtrace.sh: Likewise.
69703 * posix/globtest.sh: Likewise.
69704 * posix/tst-getconf.sh: Likewise.
69705 * posix/wordexp-tst.sh: Likewise.
69706 * stdio-common/tst-printf.sh: Likewise.
69707 * stdio-common/tst-unbputc.sh: Likewise.
69708 * stdlib/tst-fmtmsg.sh: Likewise.
69709 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69710 * catgets/Makefile: Do not specify -e option when running
69711 testsuite shell scripts.
69712 * elf/Makefile: Likewise.
69713 * grp/Makefile: Likewise.
69714 * iconvdata/Makefile: Likewise.
69715 * intl/Makefile: Likewise.
69716 * io/Makefile: Likewise.
69717 * libio/Makefile: Likewise.
69718 * malloc/Makefile: Likewise.
69719 * posix/Makefile: Likewise.
69720 * stdio-common/Makefile: Likewise.
69721 * stdlib/Makefile: Likewise.
69722 * sysdeps/x86_64/Makefile: Likewise.
69723
69724 * io/ftwtest-sh: Add copyright header.
69725 * posix/globtest.sh: Likewise.
69726 * posix/tst-getconf.sh: Likewise.
69727 * posix/wordexp-tst.sh: Likewise.
69728 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69729
69730 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
69731
69732 [BZ #13679]
69733 * Makeconfig (+link): Defined as $(+link-static) if
69734 $(build-shared) isn't yes.
69735 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69736 isn't yes.
69737 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69738
69739 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69740
69741 [BZ #14562]
69742 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69743 new chunk size with MALLOC_ALIGN_MASK.
69744
69745 2012-09-24 Joseph Myers <joseph@codesourcery.com>
69746
69747 [BZ #5044]
69748 * stdio-common/printf_fphex.c: Include <stdbool.h> and
69749 <rounding-mode.h>.
69750 (__printf_fphex): Determine rounding using get_rounding_mode and
69751 round_away.
69752 * stdio-common/tst-printf-round.c (struct hex_test): New
69753 structure.
69754 (hex_tests): New variable.
69755 (test_hex_in_one_mode): New function.
69756 (do_test): Also run tests for hex float output.
69757
69758 2012-09-21 Joseph Myers <joseph@codesourcery.com>
69759
69760 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69761 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69762 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69763 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69764 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69765 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69766 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69767 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69768
69769 2012-09-20 Joseph Myers <joseph@codesourcery.com>
69770
69771 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69772 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69773 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69774 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69775
69776 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
69777
69778 [BZ #14579]
69779 * elf/rtld.c (dl_main): Limit the check for self loading to normal
69780 mode only.
69781 * elf/tst-rtld-load-self.sh: New test.
69782 * elf/Makefile: Run it.
69783
69784 2012-09-18 Joseph Myers <joseph@codesourcery.com>
69785
69786 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69787 (tst-writev-ENV): Remove.
69788 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69789
69790 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
69791
69792 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69793
69794 2012-09-17 Joseph Myers <joseph@codesourcery.com>
69795
69796 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69797 unconditional.
69798 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69799 Likewise.
69800 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69801 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69802 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69803 Likewise.
69804
69805 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
69806
69807 [BZ #14587]
69808 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69809 * config.make.in (have-cpp-asm-debuginfo): Removed.
69810 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69811 * configure: Regenerated.
69812
69813 2012-09-14 Joseph Myers <joseph@codesourcery.com>
69814
69815 [BZ #5044]
69816 * stdio-common/printf_fp.c: Include <stdbool.h> and
69817 <rounding-mode.h>.
69818 (___printf_fp): Determine rounding using get_rounding_mode and
69819 round_away.
69820 * stdio-common/tst-printf-round.c: New file.
69821 * stdio-common/Makefile (tests): Add tst-printf-round.
69822 (link-libm): New variable.
69823 ($(objpfx)tst-printf-round): Depend in $(link-libm).
69824
69825 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
69826
69827 [BZ #14576]
69828 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69829 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69830 Likewise.
69831 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69832 Likewise.
69833
69834 2012-09-13 Joseph Myers <joseph@codesourcery.com>
69835
69836 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69837 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69838 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69840
69841 2012-09-12 Joseph Myers <joseph@codesourcery.com>
69842
69843 [BZ #14518]
69844 * include/rounding-mode.h: New file.
69845 * sysdeps/generic/get-rounding-mode.h: Likewise.
69846 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69847 * stdlib/strtod_l.c: Include <rounding-mode.h>.
69848 (MAX_VALUE): New macro.
69849 (MIN_VALUE): Likewise.
69850 (overflow_value): New function.
69851 (underflow_value): Likewise.
69852 (round_and_return): Use overflow_value and underflow_value to
69853 determine return values in overflow and underflow cases. Use
69854 round_away to determine rounding depending on rounding mode.
69855 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69856 determine return values in overflow and underflow cases.
69857 * stdlib/tst-strtod-round.c: Include <fenv.h>.
69858 (struct test_results): New structure.
69859 (struct test): Use struct test_results to store expected results
69860 for all rounding modes.
69861 (TEST): Include expected results for all rounding modes.
69862 (test_in_one_mode): New function.
69863 (do_test): Use test_in_one_mode to compute and check results.
69864 Check results for all rounding modes.
69865 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69866 $(link-libm).
69867
69868 2012-12-09 Allan McRae <allan@archlinux.org>
69869
69870 * sysdeps/i386/fpu/libm-test-ulps: Update
69871
69872 2012-09-11 Joseph Myers <joseph@codesourcery.com>
69873
69874 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69875 (_G_int32_t): Likewise.
69876 (_G_uint16_t): Likewise.
69877 (_G_uint32_t): Likewise.
69878 (_G_HAVE_BOOL): Likewise.
69879 (_G_HAVE_ATEXIT): Likewise.
69880 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69881 (_G_HAVE_IO_FILE_OPEN): Likewise.
69882 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69883 (_G_int32_t): Likewise.
69884 (_G_uint16_t): Likewise.
69885 (_G_uint32_t): Likewise.
69886 (_G_HAVE_BOOL): Likewise.
69887 (_G_HAVE_ATEXIT): Likewise.
69888 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69889 (_G_HAVE_IO_FILE_OPEN): Likewise.
69890 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69891 (_G_int32_t): Likewise.
69892 (_G_uint16_t): Likewise.
69893 (_G_uint32_t): Likewise.
69894 (_G_HAVE_BOOL): Likewise.
69895 (_G_HAVE_ATEXIT): Likewise.
69896 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69897 (_G_HAVE_IO_FILE_OPEN): Likewise.
69898
69899 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
69900
69901 * csu/libc-tls.c: Update copyright years.
69902
69903 2012-09-10 Joseph Myers <joseph@codesourcery.com>
69904
69905 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69906 [!_G_USING_THUNKS]: Remove conditional code.
69907 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69908 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69909
69910 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69911 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69912 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69913 (_G_VTABLE_LABEL_PREFIX): Likewise.
69914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69915 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69916 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69917 (_G_VTABLE_LABEL_PREFIX): Likewise.
69918 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69919 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69921 (_G_VTABLE_LABEL_PREFIX): Likewise.
69922 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69923
69924 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
69925
69926 * libio/Makefile: Include ../Makeconfig before tests.
69927 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69928 only if $(build-shared) is yes.
69929
69930 * iconv/gconv_db.c: Update copyright years.
69931
69932 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69933
69934 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69935 unwind info if defined PIC. Fix special cases description.
69936 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69937
69938 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69939 DP_HI_MASK entry.
69940 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69941
69942 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
69943
69944 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69945
69946 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69947 is NULL.
69948
69949 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69950 (LDLIBS-tst-chk4): This.
69951 (LDFLAGS-tst-chk5): Renamed to ...
69952 (LDLIBS-tst-chk5): This.
69953 (LDFLAGS-tst-chk6): Renamed to ...
69954 (LDLIBS-tst-chk6): This.
69955 (LDFLAGS-tst-lfschk4): Renamed to ...
69956 (LDLIBS-tst-lfschk4): This.
69957 (LDFLAGS-tst-lfschk5): Renamed to ...
69958 (LDLIBS-tst-lfschk5): This.
69959 (LDFLAGS-tst-lfschk6): Renamed to ...
69960 (LDLIBS-tst-lfschk6): This.
69961
69962 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69963 on $(common-objpfx)soversions.mk.
69964
69965 2012-09-07 Joseph Myers <joseph@codesourcery.com>
69966
69967 [BZ #10014]
69968 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69969 example host name.
69970
69971 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69972
69973 * malloc/arena.c (arena_get_retry): New function that gets
69974 another arena for the caller to try its request on.
69975 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69976 current arena cannot fulfill the request.
69977 (__libc_memalign): Likewise.
69978 (__libc_memalign): Likewise.
69979 (__libc_pvalloc): Likewise.
69980 (__libc_calloc): Likewise.
69981
69982 2012-09-05 John Tobey <john.tobey@gmail.com>
69983
69984 [BZ #13542]
69985 * manual/arith.texi (Operations on Complex): Fix description
69986 of carg branch cut.
69987
69988 2012-09-06 Joseph Myers <joseph@codesourcery.com>
69989
69990 [BZ #10014]
69991 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69992 host name.
69993
69994 [BZ #10038]
69995 * manual/memory.texi (Memory): Make order of menu items match
69996 order of sections.
69997
69998 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
69999
70000 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70001 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
70002 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70003
70004 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
70005
70006 * csu/libc-tls.c (static_dtv): Renamed to ...
70007 (_dl_static_dtv): This. Make it global.
70008 (_dl_initial_dtv): Removed.
70009 (__libc_setup_tls): Updated.
70010 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70011 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70012 DL_INITIAL_DTV.
70013
70014 2012-09-06 Petr Machata <pmachata@redhat.com>
70015
70016 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70017 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70018 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70019 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70020
70021 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
70022
70023 [BZ #14545]
70024 * csu/libc-tls.c (_dl_initial_dtv): New variable.
70025 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70026 freeing dtv[-1].
70027
70028 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
70029
70030 [BZ #14544]
70031 * Makeconfig (link-static-before-libc): Replace $(+prector)
70032 with $(+prectorT).
70033 (link-static-after-libc): Replace $(+postctor) with
70034 $(+postctorT).
70035 (link-bounded): Replace $(+prector)/$(+postctor) with
70036 $(+prectorT)/$(+postctorT).
70037 (+prectorT): New macro.
70038 (+postctorT): Likewise.
70039
70040 2012-09-06 Joseph Myers <joseph@codesourcery.com>
70041
70042 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70043 (round_str): Handle values above the maximum for IBM long double
70044 as inexact.
70045 * stdlib/tst-strtod-round.c (tests): Regenerated.
70046
70047 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70048
70049 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70050 assembler flag.
70051 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70052 zarch_nohighgprs around the zarch optimized routines.
70053 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70054 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70056 for zarch.
70057
70058 2012-09-05 David S. Miller <davem@davemloft.net>
70059
70060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70061
70062 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70063 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70064 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70065 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70066 entries.
70067
70068 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
70069
70070 * malloc/arena.c: Fold copyright years.
70071 * malloc/mcheck.c, malloc/memusage.c: Likewise.
70072
70073 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
70074
70075 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70076
70077 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
70078
70079 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
70080
70081 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
70082
70083 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70084 change internal state upon failure.
70085
70086 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
70087
70088 * malloc/mcheck.c (mcheck_check_all): Fix typo.
70089 * malloc/memusage.c (mmap): Likewise.
70090 (mmap64, mremap): Likewise. Adjust name in comment.
70091
70092 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
70093
70094 * libio/fileops.c: Fix typos in comments.
70095 * libio/oldfileops.c: Likewise.
70096 * libio/wfileops.c: Likewise.
70097
70098 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
70099
70100 [BZ #1349]
70101 * malloc/Makefile (tests): Add tst-malloc-usable test case.
70102 (tst-malloc-usable-ENV): Set environment for test case.
70103 * malloc/hooks.c (malloc_check_get_size): New function to get
70104 requested size.
70105 * malloc/malloc.c (musable): Use malloc_check_get_size.
70106 * malloc/tst-malloc-usable.c: New test case.
70107
70108 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
70109
70110 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70111
70112 2012-09-05 Allan McRae <allan@archlinux.org>
70113
70114 [BZ #13966]
70115 * configure.in (CXX_SYSINCLUDES): Use compiler output to
70116 determine header location.
70117 * configure: Regenerated.
70118
70119 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
70120
70121 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70122 float format.
70123 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70124 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70125 format.
70126 (test): Regenerate.
70127
70128 2012-09-04 David S. Miller <davem@davemloft.net>
70129
70130 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70131 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70133
70134 2012-09-04 Florian Weimer <fweimer@redhat.com>
70135
70136 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70137 failures.
70138
70139 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70140
70141 2012-09-04 Joseph Myers <joseph@codesourcery.com>
70142
70143 [BZ #9914]
70144 * libio/iogetdelim.c: Include <limits.h>.
70145 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70146 + len + 1 would overflow.
70147
70148 2012-09-03 Andreas Jaeger <aj@suse.de>
70149
70150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70151 * sysdeps/i386/fpu/libm-test-ulps: Update.
70152
70153 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70154
70155 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70156 Add s_sinf-sse2, s_conf-sse2.
70157
70158 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70159 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70160 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70161 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70162
70163 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70164 for using routine as __sinf_ia32.
70165 Use macro for function declaration and weak_alias.
70166 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70167 for using routine as __cosf_ia32.
70168 Use macro for function declaration and weak_alias.
70169
70170 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70171 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70172
70173 * sysdeps/x86_64/fpu/s_sinf.S: New file.
70174 * sysdeps/x86_64/fpu/s_cosf.S: New file.
70175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70176
70177 * math/libm-test.inc (cos_test): Add more test cases.
70178 (sin_test): Likewise.
70179 (sincos_test): Likewise.
70180
70181 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70182
70183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70184 (IFUNC_RESOLVE): Make pointers to the specialized implementations
70185 hidden.
70186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70187
70188 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
70189
70190 [BZ #14538]
70191 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70192 first element of the GOT.
70193 (elf_machine_load_address): Return the difference between
70194 the runtime address of _DYNAMIC and elf_machine_dynamic ().
70195
70196 2012-09-01 Allan McRae <allan@archlinux.org>
70197
70198 [BZ #13412]
70199 * configure.in (AWK): Require gawk version 3.0 or later.
70200 * configure: Regenerated.
70201
70202 2012-09-01 Joseph Myers <joseph@codesourcery.com>
70203
70204 * sysdeps/unix/sysv/linux/kernel-features.h
70205 (__ASSUME_POSIX_CPU_TIMERS): Remove.
70206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70207 [__NR_clock_getres]: Make code unconditional.
70208 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70209 (clock_getcpuclockid): Remove code left unreachable by removal of
70210 conditionals.
70211 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70212 code unconditional.
70213 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70214 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70215 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70216 Make code unconditional.
70217 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70218 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70219 * sysdeps/unix/sysv/linux/clock_settime.c
70220 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70221 conditional code.
70222 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70224
70225 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
70226
70227 [BZ #14476]
70228 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70229 scripts/test-installation.pl.
70230
70231 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70232 and $ld_so_version if it is set.
70233
70234 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
70235
70236 [BZ #14516]
70237 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70238 failure if reading from procfs failed.
70239 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70240
70241 2012-08-27 Joseph Myers <joseph@codesourcery.com>
70242
70243 * sysdeps/unix/sysv/linux/kernel-features.h
70244 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70245 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70246 Remove conditional code.
70247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70248 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70249 Remove conditional code.
70250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70251 * sysdeps/unix/sysv/linux/i386/fxstat.c
70252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70254 * sysdeps/unix/sysv/linux/i386/fxstatat.c
70255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70257 * sysdeps/unix/sysv/linux/i386/lxstat.c
70258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70260 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70261 Remove conditional code.
70262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70263 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70264 Remove conditional code.
70265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70266 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70267 <kernel-features.h>.
70268 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70269 Remove.
70270 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70271 Remove conditional code.
70272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70273 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70274 Remove conditional.
70275
70276 2012-08-27 Mike Frysinger <vapier@gentoo.org>
70277
70278 [BZ #5400]
70279 * NEWS: Add fixed bug number.
70280
70281 2012-08-27 Joseph Myers <joseph@codesourcery.com>
70282
70283 [BZ #14519]
70284 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70285 underflowing exponent in case of negative sign.
70286 * stdlib/tst-strtod-round-data: Add more tests.
70287 * stdlib/tst-strtod-round.c (tests): Regenerated.
70288
70289 [BZ #3479]
70290 * stdlib/strtod_l.c (NDIG): Remove.
70291 (HEXNDIG): Likewise.
70292 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70293 smallest representable value.
70294 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70295 lie within an exact representation of 1/2 ulp of the result.
70296 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70297 unconditionally.
70298 (TENS_P9_IDX): Define unconditionally.
70299 (TENS_P9_SIZE): Likewise.
70300 (TENS_P10_IDX): Likewise.
70301 (TENS_P10_SIZE): Likewise.
70302 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70303 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70304 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70305 entries for 10^2^13 and 10^2^14.
70306 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70307 (TENS_P13_IDX): Define.
70308 (TENS_P13_SIZE): Likewise.
70309 (TENS_P14_IDX): Likewise.
70310 (TENS_P14_SIZE): Likewise.
70311 (_fpioconst_pow10): Change array size to
70312 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
70313 unconditional.
70314 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70315 1024]: Add entries for 10^2^13 and 10^2^14.
70316 [LAST_POW10 > _LAST_POW10]: Remove #error.
70317 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70318 (_fpioconst_pow10): Change array size to
70319 FPIOCONST_POW10_ARRAY_SIZE.
70320 * stdlib/gen-fpioconst.c: New file.
70321 * stdlib/gen-tst-strtod-round.c: Likewise.
70322 * stdlib/tst-strtod-round-data: Likewise.
70323 * stdlib/tst-strtod-round.c: Likewise.
70324 * stdlib/Makefile (tests): Add tst-strtod-round.
70325
70326 [BZ #14459]
70327 * stdlib/strtod_l.c: Include <stdint.h>.
70328 (NDEBUG): Do not define.
70329 (round_and_return): Change EXPONENT parameter to type intmax_t.
70330 Rearrange calculations to avoid internal overflow possibilities.
70331 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70332 Rearrange calculations to avoid internal overflow possibilities.
70333 Assert that number fits inside MPNSIZE limbs.
70334 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70335 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
70336 calculations and add assertions to avoid internal overflow
70337 possibilities. Add casts to avoid signed/unsigned operations.
70338 * stdlib/tst-strtod-overflow.c: New file.
70339 * stdlib/Makefile (tests): Add tst-strtod-overflow.
70340
70341 2012-08-25 Marek Polacek <polacek@redhat.com>
70342
70343 * time/time.h: Fix some typos in comments.
70344
70345 2012-08-23 Roland McGrath <roland@hack.frob.com>
70346
70347 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70348 * posix/tst-rfc3484-2.c: Likewise.
70349 * posix/tst-rfc3484-3.c: Likewise.
70350
70351 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
70352
70353 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70354 (EF_ARM_ABI_FLOAT_HARD): Likewise.
70355
70356 2012-08-23 Joseph Myers <joseph@codesourcery.com>
70357
70358 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70359 #include of fxstatat64.c.
70360
70361 2012-08-22 Roland McGrath <roland@hack.frob.com>
70362
70363 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70364 * shadow/getspent_r.c: Likewise.
70365 * shadow/getspnam.c: Likewise.
70366 * shadow/getspnam_r.c: Likewise.
70367 * gshadow/getsgent.c: Likewise.
70368 * gshadow/getsgent_r.c: Likewise.
70369 * gshadow/getsgnam.c: Likewise.
70370 * gshadow/getsgnam_r.c: Likewise.
70371 * inet/getnetbyad.c: Likewise.
70372 * inet/getnetbyad_r.c: Likewise.
70373 * inet/getnetbynm.c: Likewise.
70374 * inet/getnetbynm_r.c: Likewise.
70375 * inet/getnetent.c: Likewise.
70376 * inet/getnetent_r.c: Likewise.
70377 * inet/getproto.c: Likewise.
70378 * inet/getproto_r.c: Likewise.
70379 * inet/getprtent.c: Likewise.
70380 * inet/getprtent_r.c: Likewise.
70381 * inet/getprtname.c: Likewise.
70382 * inet/getprtname_r.c: Likewise.
70383 * inet/getrpcbyname.c: Likewise.
70384 * inet/getrpcbyname_r.c: Likewise.
70385 * inet/getrpcbynumber.c: Likewise.
70386 * inet/getrpcbynumber_r.c: Likewise.
70387 * inet/getrpcent.c: Likewise.
70388 * inet/getrpcent_r.c: Likewise.
70389 * inet/getaliasent.c: Likewise.
70390 * inet/getaliasent_r.c: Likewise.
70391 * inet/getaliasname.c: Likewise.
70392 * inet/getaliasname_r.c: Likewise.
70393 * nscd/getgrgid_r.c: Likewise.
70394 * nscd/getgrnam_r.c: Likewise.
70395 * nscd/gethstbyad_r.c: Likewise.
70396 * nscd/gethstbynm3_r.c: Likewise.
70397 * nscd/getpwnam_r.c: Likewise.
70398 * nscd/getpwuid_r.c: Likewise.
70399 * nscd/getsrvbynm_r.c: Likewise.
70400 * nscd/getsrvbypt_r.c: Likewise.
70401 * nscd/gai.c: Likewise.
70402
70403 * configure.in (build_nscd): New substituted variable, set
70404 by --disable-build-nscd and defaults to $use_nscd.
70405 * configure: Regenerated.
70406 * config.make.in (build-nscd): New substituted variable.
70407 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70408 Change conditional to require [$(build-nscd) = yes] as well.
70409 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70410
70411 [BZ# 13696]
70412 * configure.in (use_nscd): New substituted variable, set by
70413 --disable-nscd. If enabled, define USE_NSCD.
70414 * configure: Regenerated.
70415 * config.h.in: Add USE_NSCD.
70416 * config.make.in (use-nscd): New substituted variable.
70417 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70418 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70419 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70420 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70421 (CFLAGS-getgrnam_r.c): Likewise.
70422 (CFLAGS-initgroups.c): Likewise.
70423 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70424 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70425 Variables removed.
70426 * inet/getnetgrent_r.c
70427 (nscd_setnetgrent): New function, broken out of ...
70428 (setnetgrent): ... here. Call it.
70429 (innetgr): Conditionalize nscd bits on [USE_NSCD].
70430 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70431 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70432 * nscd/Makefile (routines, aux): Move definitions after include of
70433 Makeconfig. Conditionalize on [$(use-nscd) != no].
70434 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70435 Conditionalize on [USE_NSCD].
70436 (is_nscd, nscd_init_cb): Likewise.
70437 (nss_load_library): Conditionalize init callback on [USE_NSCD].
70438 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70439 * nss/nss_db/db-init.c: Likewise.
70440 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70441 [USE_NSCD].
70442 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70443 (make_request): Use it.
70444 (cache_valid_p): New function.
70445 (__check_pf): Use it.
70446 * NEWS: Add item for --disable-nscd.
70447
70448 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
70449
70450 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70451 to support sed >= 4.2.1-20-ga9bf076.
70452 * configure: Regenerated.
70453
70454 2012-08-22 Roland McGrath <roland@hack.frob.com>
70455
70456 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70457 Conditionalize whole body on [IREL].
70458
70459 2012-08-22 Jeff Law <law@redhat.com>
70460
70461 [BZ #14505]
70462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70463 if the family is PF_UNSPEC.
70464
70465 2012-08-22 Mike Frysinger <vapier@gentoo.org>
70466
70467 * Makerules (lib-version): Rename from V.
70468 (install-lib-nosubdir): Change V to lib-version.
70469
70470 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
70471
70472 [BZ #14252]
70473 * powerpc32/power6/wcschr.c: New file.
70474 * powerpc32/power6/wcscpy.c: New file.
70475 * powerpc32/power6/wcsrchr.c: New file.
70476 * powerpc64/power6/wcschr.c: New file.
70477 * powerpc64/power6/wcscpy.c: New file.
70478 * powerpc64/power6/wcsrchr.c: New file.
70479
70480 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
70481
70482 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70483 (two_way_short_needle): Use it.
70484 * string/strstr.c (AVAILABLE1_USES_J): Define.
70485 * string/strcasestr.c: Likewise.
70486
70487 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70488 array references.
70489 * string/strcasestr.c (TOLOWER): Make side-effect safe.
70490
70491 [BZ #11607]
70492 * NEWS: Add an entry.
70493 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70494 define their defaults.
70495 (two_way_short_needle): Detect end-of-string on-the-fly.
70496 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70497 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70498 * string/bug-strcasestr1.c: New test.
70499 * string/Makefile: Run it.
70500
70501 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
70502
70503 [BZ #11607]
70504 * string/str-two-way.h (two_way_short_needle): Optimize matching of
70505 the first character.
70506
70507 2012-08-21 Roland McGrath <roland@hack.frob.com>
70508
70509 * csu/elf-init.c (__libc_csu_irel): Function removed.
70510 * csu/libc-start.c (apply_irel): New function.
70511 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70512
70513 2012-08-21 Joseph Myers <joseph@codesourcery.com>
70514
70515 * sysdeps/unix/sysv/linux/kernel-features.h
70516 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70517 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70518 <kernel-features.h>.
70519 [__NR_fadvise64_64]: Make code unconditional.
70520 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70521 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70522 !__NR_fadvise64_64)]: Likewise.
70523 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70524 !__NR_fadvise64_64))]: Likewise.
70525 [__NR_fadvise64]: Make code unconditional.
70526 [!__NR_fadvise64]: Remove conditional code.
70527 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70528 <kernel-features.h>.
70529 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70530 unconditional.
70531 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70532 conditional code.
70533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70534 not include <kernel-features.h>.
70535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70536 unconditional.
70537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70538 conditional code.
70539 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70540 include <kernel-features.h>.
70541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70542 unconditional.
70543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70544 conditional code.
70545
70546 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
70547
70548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70549 slight instruction rearrangements per scrollpipe analysis.
70550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70551
70552 2012-08-20 Roland McGrath <roland@hack.frob.com>
70553
70554 * manual/syslog.texi (syslog; vsyslog, closelog):
70555 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70556 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70557
70558 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70559 DSOCAPS to match condition on defining it.
70560
70561 2012-08-20 Joseph Myers <joseph@codesourcery.com>
70562
70563 * sysdeps/unix/sysv/linux/kernel-features.h
70564 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70574
70575 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70576 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70577
70578 * sysdeps/unix/sysv/linux/kernel-features.h
70579 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70580 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70581 unconditional.
70582 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70583 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70584 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70585 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70586 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70587 Make code unconditional.
70588 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70589 (__mmap64) [!__NR_mmap2]: Likewise.
70590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70591 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70592 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70594 [__NR_mmap2]: Make code unconditional.
70595 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70596 (__mmap64) [!__NR_mmap2]: Likewise.
70597
70598 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70599
70600 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70601
70602 2012-08-18 Andreas Jaeger <aj@suse.de>
70603
70604 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70605
70606 2012-08-18 Mike Frysinger <vapier@gentoo.org>
70607
70608 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70609 * include/unistd.h (__have_sock_cloexec): Likewise.
70610 (__have_pipe2): Likewise.
70611 (__have_dup3): Likewise.
70612
70613 2012-08-18 Mike Frysinger <vapier@gentoo.org>
70614
70615 [BZ #9685]
70616 * include/unistd.h (__have_pipe2): Change define into an extern int.
70617 (__have_dup3): Likewise.
70618 * socket/have_sock_cloexec.c: Include fcntl.h.
70619 (__have_pipe2): New variable.
70620 (__have_dup3): Likewise.
70621
70622 2012-08-17 Mike Frysinger <vapier@gentoo.org>
70623
70624 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70625
70626 2012-08-17 Marek Polacek <polacek@redhat.com>
70627
70628 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70629 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70630
70631 2012-08-17 Roland McGrath <roland@hack.frob.com>
70632
70633 * configure.in: Add AC_SUBST for sysheaders.
70634 * configure: Regenerated.
70635 * config.make.in (sysheaders): New substituted variable.
70636
70637 * sysdeps/unix/mkfifo.c: Moved ...
70638 * sysdeps/posix/mkfifo.c: ... here.
70639 * sysdeps/unix/mkfifoat.c: Moved ...
70640 * sysdeps/posix/mkfifoat.c: ... here.
70641
70642 * sysdeps/unix/utime.c: Moved ...
70643 * sysdeps/posix/utime.c: ... here.
70644
70645 * sysdeps/unix/time.c: Moved ...
70646 * sysdeps/posix/time.c: ... here.
70647 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70648 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70649
70650 * sysdeps/unix/nice.c: Moved ...
70651 * sysdeps/posix/nice.c: ... here.
70652
70653 * sysdeps/unix/alarm.c: Moved ...
70654 * sysdeps/posix/alarm.c: ... here.
70655
70656 * intl/Makefile ($(codeset_mo)): Depend on the input file.
70657
70658 2012-08-17 Jeff Law <law@redhat.com>
70659
70660 * intl/Makefile (codeset_mo): New variable.
70661 ($(codeset_mo)): New target.
70662 (tst-codeset.out): Depend on that. Remove explicit rule.
70663 (tst-gettext3.out, tst-gettext5.out): Likewise.
70664 (LOCPATH-ENV, tst-codeset-ENV): New variables.
70665 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70666 * intl/tst-codeset.sh: Remove.
70667 * intl/tst-gettext3.sh: Likewise.
70668 * intl/tst-gettext5.sh: Likewise.
70669
70670 2012-08-17 Roland McGrath <roland@hack.frob.com>
70671
70672 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
70673 * sysdeps/unix/syscalls.list: ... here.
70674
70675 * sysdeps/posix/getaddrinfo.c
70676 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70677 (gaiconf_init, gaiconf_reload): Use them.
70678 [!_STATBUF_ST_NSEC]
70679 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70680 Define using time_t rather than struct timespec.
70681
70682 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70683 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70684 Macros removed.
70685 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70686 [!NO_THREADS].
70687 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70688 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70689 Likewise.
70690
70691 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70692 __libc_cleanup_push argument.
70693
70694 * bits/param.h: New file.
70695 * misc/sys/param.h: New file.
70696 * include/sys/param.h: New file.
70697 * misc/Makefile (headers): Add bits/param.h.
70698 * sysdeps/generic/sys/param.h: File removed.
70699 * sysdeps/unix/sysv/linux/bits/param.h: New file.
70700 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70701 * sysdeps/mach/hurd/bits/param.h: New file.
70702 * sysdeps/mach/hurd/sys/param.h: File removed.
70703
70704 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70705 last change.
70706
70707 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70708 [_IO_MTSAFE_IO].
70709 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70710 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70711 New macros.
70712
70713 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70714 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70715 rather than -D_IO_MTSAFE_IO conditionally.
70716 * stdio-common/Makefile (CPPFLAGS): Likewise.
70717 * wcsmbs/Makefile (CPPFLAGS): Likewise.
70718 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70719 Use $(libio-mtsafe).
70720 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70721 of -D_IO_MTSAFE_IO.
70722 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70723 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70724 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70725 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70726 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70727 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70728 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70729 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70730 (CFLAGS-fread_u_chk.c): Likewise.
70731 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70732 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70733 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70734 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70735 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70736 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70737 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70738 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70739 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70740
70741 * libio/Makefile: Test [$(libc-reentrant) = yes]
70742 instead of [$(filter %REENTRANT, $(defines)) nonempty].
70743
70744 * Makeconfig
70745 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70746 * sysdeps/pthread/configure: File removed.
70747 * sysdeps/pthread/Makeconfig: New file.
70748 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70749 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70750
70751 2012-08-16 Gary Benson <gbenson@redhat.com>
70752
70753 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70754 unmapping the first object in a namespace.
70755
70756 2012-08-16 Roland McGrath <roland@hack.frob.com>
70757
70758 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70759 (__internal_setnetgrent): ... this. Add internal_function to
70760 definition. Add libc_hidden_def.
70761 (setnetgrent): Update caller.
70762 (internal_endnetgrent): Renamed to ...
70763 (__internal_endnetgrent): ... this. Add internal_function to
70764 definition. Add libc_hidden_def.
70765 (endnetgrent): Update caller.
70766 (internal_getnetgrent_r): Renamed to ...
70767 (__internal_getnetgrent_r): ... this. Add internal_function to
70768 definition. Add libc_hidden_def.
70769 (__getnetgrent_r): Update caller.
70770 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
70771
70772 2012-08-16 Joseph Myers <joseph@codesourcery.com>
70773
70774 * stdlib/longlong.h: Update from GCC.
70775
70776 2012-08-16 Roland McGrath <roland@hack.frob.com>
70777
70778 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70779 on _QL, which is set by umul_ppmm but never used.
70780 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70781 variables, which are set by GMP macros but never used.
70782 * stdio-common/_itowa.c (_itowa): Likewise.
70783 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70784 * stdlib/mod_1.c (mpn_mod_1): Likewise.
70785
70786 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
70787
70788 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70789 struct La_sh_regs is not constant.
70790 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70791 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70792 and struct La_sparc64_regs are not constant.
70793
70794 2012-08-16 Joseph Myers <joseph@codesourcery.com>
70795
70796 * sysdeps/unix/sysv/linux/kernel-features.h
70797 (__ASSUME_POSIX_TIMERS): Remove.
70798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70800 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70801 Make code unconditional.
70802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70803 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70804 Make code unconditional.
70805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70806 * sysdeps/unix/sysv/linux/clock_nanosleep.c
70807 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70809 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70810 Make code unconditional.
70811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70812 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70813 (__libc_missing_posix_timers): Remove.
70814
70815 2012-08-15 Roland McGrath <roland@hack.frob.com>
70816
70817 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70818 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70819
70820 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70821
70822 * elf/dl-sym.c: Include <stdlib.h>.
70823
70824 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70825 constants, which avoids warnings in 32-bit builds.
70826
70827 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70828 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70829
70830 * misc/lseek.c: File moved to ...
70831 * io/lseek.c: ... here.
70832
70833 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70834
70835 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70836 shifting LEN more than 31 bits at once.
70837
70838 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70839
70840 [BZ #14195]
70841 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70842 segmentation fault for a case of two empty input strings.
70843 * string/test-strncasecmp.c (check1): Renamed to...
70844 (bz12205): ...this.
70845 (bz14195): Add new testcase for two empty input strings and N > 0.
70846 (test_main): Call new testcase, adapt for renamed function.
70847
70848 2012-08-15 Andreas Jaeger <aj@suse.de>
70849
70850 [BZ #14090]
70851 * crypt/md5test2.c: New test, based on test supplied by Serge
70852 Belyshev <belyshev@depni.sinp.msu.ru>.
70853 * crypt/Makefile (xtests): Add md5test-giant..
70854 * crypt/Makefile ($(objpfx)md5test-giant): Add.
70855
70856 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
70857
70858 [BZ #14090]
70859 * crypt/md5.c (md5_process_block): Don't assume the buffer
70860 length is less than 2**32.
70861 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70862 length is less than 2**64.
70863
70864 2012-08-15 Roland McGrath <roland@hack.frob.com>
70865
70866 * string/str-two-way.h: Include <sys/param.h>.
70867 (MAX): Macro removed.
70868
70869 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70870 Move #define and #undef of memmove to just before and after
70871 including <string.h>.
70872
70873 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70874 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70875 and after including <string.h>. Move declarations of
70876 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70877 to before #include "string/memmove.c".
70878
70879 * include/dirent.h: Declare __getdirentries.
70880
70881 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70882 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70883
70884 2012-08-14 Mike Frysinger <vapier@gentoo.org>
70885
70886 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70887 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70888 * sysdeps/i386/configure: Regenerated.
70889 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70890 STABS_CURRENT_FILE, and STABS_FUN.
70891 (END): Remove call to STABS_FUN_END.
70892 (STABS_CURRENT_FILE1): Delete.
70893 (STABS_CURRENT_FILE): Likewise.
70894 (STABS_FUN): Likewise.
70895 (STABS_FUN_END): Likewise.
70896 (STABS_FUN2): Likewise.
70897 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70898 * sysdeps/x86_64/configure: Regenerated.
70899
70900 2012-08-14 Roland McGrath <roland@hack.frob.com>
70901
70902 * elf/dl-open.c: Include <atomic.h>.
70903 * elf/dl-lookup.c: Likewise.
70904
70905 2012-08-14 Joseph Myers <joseph@codesourcery.com>
70906
70907 * sysdeps/unix/sysv/linux/kernel-features.h
70908 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70909 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70910 unconditionally.
70911 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70912 unconditionally.
70913 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70914 condition on __ASSUME_CLONE_THREAD_FLAGS.
70915
70916 2012-08-14 Andreas Jaeger <aj@suse.de>
70917
70918 * sysdeps/i386/fpu/libm-test-ulps: Update.
70919
70920 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
70921
70922 * include/atomic.h (atomic_exchange_and_add): Split into ...
70923 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70924 New atomic macros.
70925
70926 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
70927
70928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70929
70930 2012-08-13 Jeff Law <law@redhat.com>
70931
70932 * manual/stdio.texi (snprintf): Clarify handling of the trailing
70933 null byte in the output string.
70934
70935 2012-08-10 Joseph Myers <joseph@codesourcery.com>
70936
70937 * sysdeps/unix/sysv/linux/kernel-features.h
70938 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70939 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70940 (__ASSUME_ARG_MAX_STACK_BASED): Define.
70941 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70942 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70943 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
70944 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70945
70946 2012-08-09 Jeff Law <law@redhat.com>
70947
70948 [BZ #13939]
70949 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70950 When avoid_arena is set, don't retry in the that arena. Pick the
70951 next one, whatever it might be.
70952 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70953 (arena_lock): Pass in new parameter to arena_get2.
70954 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70955 arena_get2.
70956 (__libc_malloc): Unify retrying after main arena failure with
70957 __libc_memalign version.
70958 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70959
70960 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
70961
70962 [BZ #14166]
70963 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70964 to __redirect_strstr.
70965 (__strstr_sse42): Use typeof __redirect_strstr.
70966 (__strstr_ia32): Likewise.
70967 (__libc_strstr): New prototype.
70968 (strstr): Renamed to ...
70969 (__libc_strstr): This.
70970 (strstr): New strong alias of __libc_strstr.
70971 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70972 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70973 __redirect_time.
70974 Include <time.h>.
70975 (__libc_time): New prototype.
70976 (time_ifunc): Replace time with __libc_time.
70977 (time): New strong alias and hidden definition of __libc_time.
70978 (__GI_time): Remove strong alias.
70979 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70980 Include <stddef.h>.
70981 (memmove): Redefined to __redirect_memmove.
70982 (__memmove_sse2): Use typeof __redirect_memmove.
70983 (__memmove_ssse3): Likewise.
70984 (__memmove_ssse3_back): Likewise.
70985 (__libc_memmove): New prototype.
70986 (memmove): Renamed to ...
70987 (__libc_memmove): This.
70988 (memmove): New strong alias of __libc_memmove.
70989
70990 2012-08-08 Mark Salter <msalter@redhat.com>
70991
70992 * elf/elf.h
70993 (R_MN10300_TLS_GD): Define.
70994 (R_MN10300_TLS_LD): Likewise.
70995 (R_MN10300_TLS_LDO): Likewise.
70996 (R_MN10300_TLS_GOTIE): Likewise.
70997 (R_MN10300_TLS_IE): Likewise.
70998 (R_MN10300_TLS_LE): Likewise.
70999 (R_MN10300_TLS_DTPMOD): Likewise.
71000 (R_MN10300_TLS_DTPOFF): Likewise.
71001 (R_MN10300_TLS_TPOFF): Likewise.
71002 (R_MN10300_SYM_DIFF): Likewise.
71003 (R_MN10300_ALIGN): Likewise.
71004 (R_MN10300_NUM): Update.
71005
71006 2012-08-08 Joseph Myers <joseph@codesourcery.com>
71007
71008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71009 Remove.
71010
71011 2012-08-08 Roland McGrath <roland@hack.frob.com>
71012
71013 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71014
71015 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71016 sysdeps/unix -> sysdeps/posix move.
71017 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71018
71019 2012-08-07 Allan McRae <allan@archlinux.org>
71020
71021 [BZ #14303]
71022 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71023 (SUNOS_CPP): Likewise.
71024 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71025 not found.
71026 (open_input): Call CPP using execvp.
71027
71028 2012-08-07 Joseph Myers <joseph@codesourcery.com>
71029
71030 * sysdeps/unix/sysv/linux/kernel-features.h
71031 (__ASSUME_PROT_GROWSUPDOWN): Remove.
71032 (__ASSUME_NO_CLONE_DETACHED): Likewise.
71033 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71034 (__ASSUME_WAITID_SYSCALL): Likewise.
71035 * sysdeps/unix/sysv/linux/dl-execstack.c
71036 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71037 code unconditional.
71038 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71039 conditional code.
71040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71041 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71042 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71043 code.
71044 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71045 unconditional.
71046 [__ASSUME_WAITID_SYSCALL]: Likewise.
71047 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71048
71049 2012-08-07 Roland McGrath <roland@hack.frob.com>
71050
71051 * sysdeps/unix/closedir.c: Renamed to ...
71052 * sysdeps/posix/closedir.c: ... here.
71053 * sysdeps/unix/dirfd.c: Renamed to ...
71054 * sysdeps/posix/dirfd.c: ... here.
71055 * sysdeps/unix/dirstream.h: Renamed to ...
71056 * sysdeps/posix/dirstream.h: ... here.
71057 * sysdeps/unix/fdopendir.c: Renamed to ...
71058 * sysdeps/posix/fdopendir.c: ... here.
71059 * sysdeps/unix/opendir.c: Renamed to ...
71060 * sysdeps/posix/opendir.c: ... here.
71061 * sysdeps/unix/readdir.c: Renamed to ...
71062 * sysdeps/posix/readdir.c: ... here.
71063 * sysdeps/unix/readdir_r.c: Renamed to ...
71064 * sysdeps/posix/readdir_r.c: ... here.
71065 * sysdeps/unix/rewinddir.c: Renamed to ...
71066 * sysdeps/posix/rewinddir.c: ... here.
71067 * sysdeps/unix/seekdir.c: Renamed to ...
71068 * sysdeps/posix/seekdir.c: ... here.
71069 * sysdeps/unix/telldir.c: Renamed to ...
71070 * sysdeps/posix/telldir.c: ... here.
71071 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71072 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71073 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71074 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71075
71076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71077 * bits/fcntl.h: ... here.
71078
71079 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71080 not 0.
71081 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71082 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71083 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71084 (struct flock): Move l_start, l_len to the beginning.
71085 Use __pid_t for l_pid.
71086 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71087 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71088 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71089 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71090 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71091 [__USE_LARGEFILE64] (struct flock64): New type.
71092 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71093
71094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71095 * bits/dirent.h: ... here.
71096
71097 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71098 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71099
71100 2012-08-07 Joseph Myers <joseph@codesourcery.com>
71101
71102 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71103 Change from 2.6.0 to 2.6.16.
71104 * sysdeps/unix/sysv/linux/configure: Regenerated.
71105 * sysdeps/unix/sysv/linux/kernel-features.h
71106 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71107 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71108 version.
71109 (__ASSUME_UTIMES): Likewise.
71110 (__ASSUME_CLONE_STOPPED): Remove.
71111 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71112 architectures, not kernel version.
71113 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71114 (__ASSUME_NO_CLONE_DETACHED): Likewise.
71115 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71116 (__ASSUME_WAITID_SYSCALL): Likewise.
71117 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71118 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71119 * README: State 2.6.16 as minimum Linux kernel version. Do not
71120 refer to older versions.
71121
71122 2012-08-06 Roland McGrath <roland@hack.frob.com>
71123
71124 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71125 Define alphasort64 as an alias.
71126 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71127 Define versionsort64 as an alias.
71128 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71129 Define scandir64 as an alias.
71130 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71131 Define scandirat64 as an alias.
71132 * dirent/alphasort64.c (alphasort64):
71133 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71134 * dirent/versionsort64.c: Likewise.
71135 * dirent/scandir64.c: Likewise.
71136 * dirent/scandirat64.c: Likewise.
71137 * sysdeps/wordsize-64/alphasort.c: File removed.
71138 * sysdeps/wordsize-64/alphasort64.c: File removed.
71139 * sysdeps/wordsize-64/scandir.c: File removed.
71140 * sysdeps/wordsize-64/scandir64.c: File removed.
71141 * sysdeps/wordsize-64/scandirat.c: File removed.
71142 * sysdeps/wordsize-64/scandirat64.c: File removed.
71143 * sysdeps/wordsize-64/versionsort.c: File removed.
71144 * sysdeps/wordsize-64/versionsort64.c: File removed.
71145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71151 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71153
71154 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71156 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71158 [defined __arch64__ || defined __sparcv9]
71159 (__INO_T_MATCHES_INO64_T): New macro.
71160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71161 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71162 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71163 * sysdeps/unix/sysv/linux/bits/dirent.h
71164 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71165 (_DIRENT_MATCHES_DIRENT64): New macro.
71166
71167 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71168 Define lockf64 as an alias.
71169 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71170 Define fseeko64 as an alias.
71171 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71172 Define ftello64 as an alias.
71173 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71174 Define _IO_fgetpos64 and fgetpos64 as aliases.
71175 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71176 Define _IO_fsetpos64 and fsetpos64 as aliases.
71177 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71178 Conditionalize body on this.
71179 * libio/fseeko64.c: Likewise.
71180 * libio/ftello64.c: Likewise.
71181 * libio/iofgetpos64.c: Likewise.
71182 * libio/iofsetpos64.c: Likewise.
71183 * sysdeps/wordsize-64/lockf.c: File removed.
71184 * sysdeps/wordsize-64/lockf64.c: File removed.
71185 * sysdeps/wordsize-64/fseeko.c: File removed.
71186 * sysdeps/wordsize-64/fseeko64.c: File removed.
71187 * sysdeps/wordsize-64/ftello.c: File removed.
71188 * sysdeps/wordsize-64/ftello64.c: File removed.
71189 * sysdeps/wordsize-64/iofgetpos.c: File removed.
71190 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71191 * sysdeps/wordsize-64/iofsetpos.c: File removed.
71192 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71195 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71196 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71197 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71198 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71201 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71203
71204 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71206 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71208 [defined __arch64__ || defined __sparcv9]
71209 (__OFF_T_MATCHES_OFF64_T): New macro.
71210 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71211 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71213 (__OFF_T_MATCHES_OFF64_T): New macro.
71214
71215 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
71216
71217 * stdlib/secure-getenv.c (__secure_getenv): Replace
71218 GLIBC_2_16 with GLIBC_2_17.
71219
71220 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
71221
71222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71224
71225 2012-08-03 David S. Miller <davem@davemloft.net>
71226
71227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71228
71229 2012-08-03 Joseph Myers <joseph@codesourcery.com>
71230
71231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71232 Remove.
71233 (__ASSUME_CORRECT_SI_PID): Likewise.
71234 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71235 (__ASSUME_TMPFS_NAME): Likewise.
71236 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71237 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71238 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71239 (HAVE_AUX_SECURE): Make definition unconditional.
71240 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71241 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71242
71243 2012-08-03 Roland McGrath <roland@hack.frob.com>
71244
71245 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71246 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71247 * sysdeps/mach/hurd/eloop-threshold.h: New file.
71248 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71249 __eloop_threshold instead of SYMLOOP_MAX.
71250
71251 * sysdeps/generic/eloop-threshold.h: New file.
71252 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71253 of MAXSYMLINKS.
71254 * elf/chroot_canon.c (chroot_canon): Likewise.
71255
71256 2012-08-03 Joseph Myers <joseph@codesourcery.com>
71257
71258 [BZ #13717]
71259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71260 Change to 2.6.0 everywhere.
71261 * sysdeps/unix/sysv/linux/configure: Regenerated.
71262 * sysdeps/unix/sysv/linux/kernel-features.h
71263 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71264 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71265 kernel versions.
71266 (__ASSUME_POSIX_TIMERS): Define unconditionally.
71267 (__ASSUME_FUTEX_REQUEUE): Remove.
71268 (__ASSUME_STATFS64): Define unconditionally.
71269 (__ASSUME_AT_SECURE): Likewise.
71270 (__ASSUME_CORRECT_SI_PID): Likewise.
71271 (__ASSUME_TGKILL): Define without depending on kernel version for
71272 i386.
71273 (__ASSUME_UTIMES): Likewise.
71274 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71275 kernel version.
71276 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71277 (__ASSUME_TMPFS_NAME): Likewise.
71278 * README: Update reference to Linux kernel versions.
71279
71280 2012-08-02 Marek Polacek <polacek@redhat.com>
71281
71282 [BZ# 14150]
71283 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
71284 libc_cv_asm_type_prefix with %.
71285 * configure: Regenerated.
71286 * include/libc-symbols.h: Remove comment about
71287 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71288 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71289 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71290 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71291 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71292 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71293 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71294 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71295 * elf/tst-unique2mod1.c: Likewise.
71296 * elf/tst-unique1mod2.c: Likewise.
71297 * elf/tst-unique1mod1.c: Likewise.
71298 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71299 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71300 Replace ASM_TYPE_DIRECTIVE with .type.
71301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
71302 * sysdeps/i386/sysdep.h: Likewise.
71303 * sysdeps/x86_64/sysdep.h: Likewise.
71304 * sysdeps/sh/sysdep.h: Likewise.
71305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71306 Do not define ASM_TYPE_DIRECTIVE.
71307 * sysdeps/powerpc/sysdep.h: Likewise.
71308 * sysdeps/powerpc/powerpc32/sysdep.h:
71309 Replace ASM_TYPE_DIRECTIVE with .type.
71310 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71311 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71312 * sysdeps/i386/fpu/e_powf.S: Likewise.
71313 * sysdeps/i386/fpu/e_expl.S: Likewise.
71314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
71316 * sysdeps/i386/fpu/e_pow.S: Likewise.
71317 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71319 * sysdeps/i386/fpu/s_expm1.S: Likewise.
71320 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71321 * sysdeps/i386/fpu/e_log2.S: Likewise.
71322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
71323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
71324 * sysdeps/i386/fpu/e_powl.S: Likewise.
71325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
71326 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71327 * sysdeps/i386/fpu/e_logl.S: Likewise.
71328 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
71332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71333 * sysdeps/i386/fpu/e_log.S: Likewise.
71334 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71335 * sysdeps/i386/fpu/e_logf.S: Likewise.
71336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
71337 * sysdeps/i386/fpu/e_atanh.S: Likewise.
71338 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71339 * sysdeps/i386/fpu/e_log10.S: Likewise.
71340 * sysdeps/i386/fpu/s_frexp.S: Likewise.
71341 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71342 * sysdeps/i386/fpu/s_asinh.S: Likewise.
71343 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71346 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71347 * sysdeps/i386/i686/strtok.S: Likewise.
71348 * sysdeps/i386/i386-mcount.S: Likewise.
71349 * sysdeps/i386/strtok.S: Likewise.
71350 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71354 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71355 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71356 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71357 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71358 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71359 * sysdeps/x86_64/_mcount.S: Likewise.
71360 * sysdeps/x86_64/strtok.S: Likewise.
71361 * sysdeps/sh/_mcount.S: Likewise.
71362
71363 2012-08-01 Roland McGrath <roland@hack.frob.com>
71364
71365 * libio/iofopen.c: Include <fcntl.h>.
71366 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71367 (_IO_fopen64, fopen64): Define as aliases.
71368 * libio/iofopen64.c: Include <fcntl.h>.
71369 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71370 Conditionalize body on this.
71371 * sysdeps/wordsize-64/iofopen.c: File removed.
71372 * sysdeps/wordsize-64/iofopen64.c: File removed.
71373
71374 2012-08-01 Marek Polacek <polacek@redhat.com>
71375
71376 * libc/Makeconfig: Use elf in place of binfmt-subdir.
71377 Use dlfcn directly instead of a variable.
71378 (binfmt-subdir): Do not define.
71379 (dlfcn): Likewise.
71380
71381 2012-08-01 Joseph Myers <joseph@codesourcery.com>
71382
71383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71384 Remove all definitions.
71385 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71386 <kernel-features.h>.
71387 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71388 (miss_F_GETOWN_EX): Remove all definitions.
71389 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71390 macro definition.
71391 [!__ASSUME_FCNTL64]: Remove conditional code.
71392 [__ASSUME_FCNTL64]: Make code unconditional.
71393 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71394 <kernel-features.h>.
71395 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71396 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71397 (lockf64) [__NR_fcntl64]: Make code unconditional.
71398 (lockf64) [__ASSUME_FCNTL64]: Likewise.
71399
71400 * sysdeps/unix/sysv/linux/kernel-features.h
71401 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71402 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71403 Make code unconditional.
71404 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71405 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71407 [__NR_vfork]: Make code unconditional.
71408 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71409 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71411 [__NR_vfork]: Make code unconditional.
71412 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71413 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71414
71415 2012-08-01 Roland McGrath <roland@hack.frob.com>
71416
71417 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71418 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71419
71420 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71421 Define mkstemp64 as an alias.
71422 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71423 Define mkstemps64 as an alias.
71424 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71425 Define mkostemp64 as an alias.
71426 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71427 Define mkostemps64 as an alias.
71428 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71429 Conditionalize body on this.
71430 * misc/mkostemp64.c: Likewise.
71431 * misc/mkostemps64.c: Likewise.
71432 * misc/mkstemps64.c: Likewise.
71433 * sysdeps/wordsize-64/mkstemp64.c: File removed.
71434 * sysdeps/wordsize-64/mkostemp64.c: File removed.
71435 * sysdeps/wordsize-64/mkostemp.c: File removed.
71436 * sysdeps/wordsize-64/mkstemp.c: File removed.
71437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71438 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71440 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71441
71442 [BZ #14138]
71443 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71445 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71446 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71447
71448 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71449 compat_symbol macros from <shlib-compat.h> rather than the underlying
71450 default_symbol_version and symbol_version macros, so that DEFAULT
71451 lines in shlib-versions are respected.
71452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71453
71454 2012-08-01 Florian Weimer <fweimer@redhat.com>
71455
71456 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71457 Declare with warn_unused_result.
71458 (setgid, setregid, setegid, setresgid): Likewise.
71459 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71460 Likewise.
71461 * WUR-REPORT: Remove set*id functions.
71462
71463 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
71464
71465 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71466
71467 2012-07-31 Roland McGrath <roland@hack.frob.com>
71468
71469 [BZ #10191]
71470 * include/sys/socket.h (__libc_accept, __libc_accept4):
71471 Add attribute_hidden.
71472 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71473
71474 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71475 use of PTR_MANGLE.
71476 * inet/getnetgrent_r.c (setup): Likewise.
71477
71478 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71479
71480 2012-07-31 David S. Miller <davem@davemloft.net>
71481
71482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71483
71484 2012-07-31 Joseph Myers <joseph@codesourcery.com>
71485
71486 [BZ #13629]
71487 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71488 value between 1.0 and 2.0 and smaller part has absolute value less
71489 than 1.0.
71490 * math/s_clog10.c (__clog10): Likewise.
71491 * math/s_clog10f.c (__clog10f): Likewise.
71492 * math/s_clog10l.c (__clog10l): Likewise.
71493 * math/s_clogf.c (__clogf): Likewise.
71494 * math/s_clogl.c (__clogl): Likewise.
71495 * math/libm-test.inc (clog_test): Add more tests.
71496 (clog10_test): Likewise.
71497 * sysdeps/i386/fpu/libm-test-ulps: Update.
71498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71499
71500 2012-07-31 Florian Weimer <fweimer@redhat.com>
71501
71502 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71503 Exit with zero in case no suitable GID is found, and write a
71504 message to standard error.
71505
71506 2012-07-30 Roland McGrath <roland@hack.frob.com>
71507
71508 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71509 rather than to 1.
71510 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71511 (MAXPATHLEN): Removed.
71512 (NOGROUP, NODEV): New macros.
71513 (setbit, clrbit, isset, isclr): New macros.
71514 (howmany, roundup, powerof2): New macros.
71515 (DEV_BSIZE): New macro.
71516
71517 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71518 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71519
71520 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71521 definition on [!__NO_LONG_DOUBLE_MATH].
71522
71523 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71524 PTR_MANGLE and PTR_DEMANGLE.
71525
71526 * socket/accept4.c (accept4): Rename to __libc_accept4.
71527 Define accept4 as a weak alias.
71528
71529 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71530 on [_DIRENT_HAVE_D_TYPE].
71531 * io/ftw.c (ftw_dir): Likewise.
71532
71533 * io/xmknod.c (__xmknod): Don't check PATH for being null.
71534
71535 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71536
71537 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71538 Use the BSD numbers rather than the arbitrary ones we had.
71539 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71540 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71541 (SIGXCPU, SIGXFSZ): New macros.
71542 (_NSIG): Now 32.
71543
71544 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71545 initializer on [_LIBC_REENTRANT].
71546
71547 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71548 definitions inside [_POSIX_MAPPED_FILES].
71549
71550 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71551
71552 * dirent/opendir.c: Include <fcntl.h>.
71553
71554 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71555 (__libc_getspecific): Likewise.
71556 (__libc_key_create): Likewise.
71557
71558 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71559 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71560 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71561 (tmpfile64): Define as alias.
71562 * sysdeps/wordsize-64/tmpfile.c: File removed.
71563 * sysdeps/wordsize-64/tmpfile64.c: File removed.
71564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71565 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71566
71567 * stdio-common/vfscanf.c: Include <stdbool.h>.
71568 * nss/makedb.c: Likewise.
71569 * stdio-common/_i18n_number.h: Likewise.
71570 * argp/argp-help.c: Likewise.
71571 * posix/wordexp.c: Likewise.
71572 * sysdeps/posix/spawni.c: Likewise.
71573 * nss/nss_files/files-initgroups.c: Likewise.
71574 * stdio-common/reg-modifier.c: Include <stdlib.h>.
71575 * nss/nss_files/files-initgroups.c: Likewise.
71576 * nss/nss_db/db-netgrp.c: Likewise.
71577 * nss/nss_db/db-initgroups.c: Likewise.
71578 * io/fchmodat.c: Include <sys/stat.h>.
71579
71580 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71581 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71582
71583 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71584 [HAVE_MMAP].
71585
71586 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71587 Add multiple inclusion protection.
71588
71589 2012-07-27 David S. Miller <davem@davemloft.net>
71590
71591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71592
71593 2012-07-27 Gary Benson <gbenson@redhat.com>
71594
71595 [BZ #14298]
71596 * elf/rtld.c: Include <stap-probe.h>.
71597 (dl_main): Added static probes "init_start" and "init_complete".
71598 * elf/dl-load.c: Include <stap-probe.h>.
71599 (lose): Take new parameter "nsid".
71600 Added static probe "map_failed".
71601 (_dl_map_object_from_fd): Pass namespace id to lose.
71602 Added static probe "map_start".
71603 (open_verify): Pass namespace id to lose.
71604 * elf/dl-open.c: Include <stap-probe.h>.
71605 (dl_open_worker) Added static probes "map_complete", "reloc_start"
71606 and "reloc_complete".
71607 * elf/dl-close.c: Include <stap-probe.h>.
71608 (_dl_close_worker): Added static probes "unmap_start" and
71609 "unmap_complete".
71610 * elf/rtld-debugger-interface.txt: New file documenting the above.
71611
71612 2012-07-26 Roland McGrath <roland@hack.frob.com>
71613
71614 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71615 rather than a string variable.
71616 * sunrpc/rpc_main.c (h_output): Likewise.
71617 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71618
71619 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
71620
71621 * inet/check_native.c: New file.
71622
71623 2012-07-26 Joseph Myers <joseph@codesourcery.com>
71624
71625 [BZ #13629]
71626 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71627 if larger part has absolute value 1.0.
71628 * math/s_clog10.c (__clog10): Likewise.
71629 * math/s_clog10f.c (__clog10f): Likewise.
71630 * math/s_clog10l.c (__clog10l): Likewise.
71631 * math/s_clogf.c (__clogf): Likewise.
71632 * math/s_clogl.c (__clogl): Likewise.
71633 * math/libm-test.inc (clog_test): Add more tests.
71634 (clog10_test): Likewise.
71635 * sysdeps/i386/fpu/libm-test-ulps: Update.
71636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71637
71638 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71639 (pltexit): Likewise.
71640 (La_regs): Likewise.
71641 (La_retval): Likewise.
71642 (int_retval): Likewise.
71643 Update #error for removed macros to refer only to definitions in
71644 tst-audit.h.
71645 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71646 macro.
71647 (pltexit): Likewise.
71648 (La_regs): Likewise.
71649 (La_retval): Likewise.
71650 (int_retval): Likewise.
71651 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71652 macro.
71653 (pltexit): Likewise.
71654 (La_regs): Likewise.
71655 (La_retval): Likewise.
71656 (int_retval): Likewise.
71657 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71658 macro.
71659 (pltexit): Likewise.
71660 (La_regs): Likewise.
71661 (La_retval): Likewise.
71662 (int_retval): Likewise.
71663 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71664 macro.
71665 (pltexit): Likewise.
71666 (La_regs): Likewise.
71667 (La_retval): Likewise.
71668 (int_retval): Likewise.
71669 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71670 macro.
71671 (pltexit): Likewise.
71672 (La_regs): Likewise.
71673 (La_retval): Likewise.
71674 (int_retval): Likewise.
71675 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71676 macro.
71677 (pltexit): Likewise.
71678 (La_regs): Likewise.
71679 (La_retval): Likewise.
71680 (int_retval): Likewise.
71681 * sysdeps/generic/tst-audit.h: Update comment to refer only to
71682 macro definitions in tst-audit.h.
71683 * sysdeps/i386/tst-audit.h: New file.
71684 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71685 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71686 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71687 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71688 * sysdeps/sh/tst-audit.h: Likewise.
71689 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71690 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71691 * sysdeps/x86_64/tst-audit.h: Likewise.
71692
71693 2012-07-26 Andreas Jaeger <aj@suse.de>
71694
71695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71696 ptrace.
71697
71698 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71699 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71700 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71701 PTRACE_O_MASK.
71702 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71703 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71704 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71705
71706 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71707 value.
71708
71709 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71710 _sigsys.
71711 (si_call_addr, si_syscall, si_arch): Define new macro.
71712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71713 _sigsys.
71714 (si_call_addr, si_syscall, si_arch): Define new marcro.
71715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71716 _sigsys.
71717 (si_call_addr, si_syscall, si_arch): Define new macro.
71718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71719 _sigsys.
71720 (si_call_addr, si_syscall, si_arch): Define new macro.
71721
71722 2012-07-25 Joseph Myers <joseph@codesourcery.com>
71723
71724 [BZ #13717]
71725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71726 Change to 2.4.21 where previously 2.4.1.
71727 * sysdeps/unix/sysv/linux/configure: Regenerated.
71728 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71729 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71730 Linux kernel version.
71731 (__ASSUME_STD_AUXV): Remove.
71732 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71733 kernel version.
71734 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71735 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71736 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71737 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71738 (__ASSUME_NETLINK_SUPPORT): Likewise.
71739 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71740 (__no_netlink_support): Remove conditional definition.
71741 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71742 Remove.
71743 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71744 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71746 (if_nameindex_ioctl): Remove.
71747 (if_nameindex_netlink): Do not handle __no_netlink_support.
71748 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71749 code.
71750 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71751 Remove conditional code.
71752 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71753 code.
71754 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71755 unconditional.
71756 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71757 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71758 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71759 Remove.
71760 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71761 [!__ASSUME_STD_AUXV]: Remove conditional code.
71762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71763 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71764 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71766 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71767 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71768 code.
71769 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71771 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71772 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71773 conditional code.
71774 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71776 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71777 code.
71778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71779 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71780 conditional code.
71781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71782 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71783 code unconditional.
71784 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71785 conditional code.
71786 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71787 unconditional.
71788 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71789 conditional code.
71790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71791 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71792 unconditional.
71793 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71794 conditional code.
71795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71796 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71797 code unconditional.
71798 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71799 conditional code.
71800 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71801 unconditional.
71802 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71803 conditional code.
71804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71805 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71806 code unconditional.
71807 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71808 conditional code.
71809 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71810 unconditional.
71811 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71812 conditional code.
71813
71814 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
71815
71816 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71817 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71818 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71819 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71820 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71821 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71822 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71823 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71824 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71825 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71826 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71827 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71828 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71829 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71830 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71831 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71832 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71834 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71836 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71837 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71838 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71839
71840 2012-07-25 Florian Weimer <fweimer@redhat.com>
71841
71842 * Versions.def: Add GLIBC_2.17.
71843 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71844 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71845 Introduce __libc_secure_getenv.
71846 * stdlib/Versions (2.17): Add secure_getenv
71847 (GLIBC_PRIVATE): Add __libc_secure_getenv.
71848 * stdlib/secure-getenv.c: Rename __secure_getenv to
71849 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
71850 symbol __secure_getenv for GLIBC_2.0.
71851 * stdlib/tst-secure-getenv.c: New.
71852 * stdlib/Makefile (tests): Add testcase.
71853 * manual/startup.texi (Environment Access): Document
71854 secure_getenv.
71855 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71856 __libc_secure_getenv.
71857 * inet/ruserpass.c (ruserpass): Likewise.
71858 * malloc/mtrace.c (mtrace): Likewise.
71859 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71860 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71861 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71862 * sysdeps/posix/tempname.c: Likewise. Evaluate
71863 HAVE_SECURE_GETENV.
71864 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71865 __secure_getenv to __libc_secure_getenv.
71866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71868 Likewise.
71869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71870 Likewise.
71871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71878
71879 2012-07-25 Joseph Myers <joseph@codesourcery.com>
71880
71881 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71882 (struct La_i86_retval): Likewise.
71883 (struct La_x86_64_regs): Likewise.
71884 (struct La_x86_64_retval): Likewise.
71885 (struct La_x32_regs): Likewise.
71886 (struct La_x32_retval): Likewise.
71887 (struct La_ppc32_regs): Likewise.
71888 (struct La_ppc32_retval): Likewise.
71889 (struct La_ppc64_regs): Likewise.
71890 (struct La_ppc64_retval): Likewise.
71891 (struct La_sh_regs): Likewise.
71892 (struct La_sh_retval): Likewise.
71893 (struct La_s390_32_regs): Likewise.
71894 (struct La_s390_32_retval): Likewise.
71895 (struct La_s390_64_regs): Likewise.
71896 (struct La_s390_64_retval): Likewise.
71897 (struct La_sparc32_regs): Likewise.
71898 (struct La_sparc32_retval): Likewise.
71899 (struct La_sparc64_regs): Likewise.
71900 (struct La_sparc64_retval): Likewise.
71901 (struct audit_ifaces): Remove architecture-specific pltenter and
71902 pltexit members.
71903 * sysdeps/i386/ldsodefs.h: New file.
71904 * sysdeps/powerpc/ldsodefs.h: Likewise.
71905 * sysdeps/s390/ldsodefs.h: Likewise.
71906 * sysdeps/sh/ldsodefs.h: Likewise.
71907 * sysdeps/sparc/ldsodefs.h: Likewise.
71908 * sysdeps/x86_64/ldsodefs.h: Likewise.
71909
71910 2012-07-25 Marek Polacek <polacek@redhat.com>
71911
71912 [BZ #6808]
71913 * math/libm-test.inc (yn_test): Add another test.
71914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71915 to ERANGE when the result is +-Inf.
71916 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71920
71921 2012-07-24 Joseph Myers <joseph@codesourcery.com>
71922
71923 * conform/data/time.h-data (NULL): Use macro-constant. Require
71924 equal to 0.
71925 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
71926 clock_t.
71927 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
71928
71929 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
71930
71931 * configure.in <sysdeps resolving>: Correct printing
71932 Implies_before.
71933 * configure: Regenerate.
71934
71935 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
71936
71937 * math/w_ilogb.c: Include <limits.h>.
71938 * math/w_ilogbl.c: Likewise.
71939
71940 2012-07-20 Joseph Myers <joseph@codesourcery.com>
71941
71942 * manual/lang.texi (__va_copy): Document primarily as ISO C99
71943 va_copy. Document allowing for unavailable va_copy only as
71944 pre-C99 compatibility.
71945 * manual/string.texi (Copying and Concatenation): Use va_copy
71946 instead of __va_copy in concat example.
71947
71948 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
71949
71950 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71951 (__sendto): Use create_address_port. Initialize APORT and deallocate
71952 it if not null.
71953
71954 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71955 with O_NOLINK passed to __file_name_lookup.
71956
71957 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71958 with O_NOLINK passed to __file_name_lookup.
71959
71960 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71961 negative N or less than NGIDS.
71962
71963 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71964 type to string_t. Set ERANGE as errno and return it if NAME is not big
71965 enough. Use memcpy instead of strncpy.
71966
71967 2012-07-20 Joseph Myers <joseph@codesourcery.com>
71968
71969 * elf/Makefile (check-data): Remove.
71970 (localplt.data): New vpath directive.
71971 ($(objpfx)check-localplt.out): Use localplt.data from vpath
71972 instead of $(check-data).
71973 * scripts/data/localplt-generic.data: Move to ...
71974 * sysdeps/generic/localplt.data: ... here.
71975 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71976 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71977 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71979 ... here.
71980 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71982 ... here.
71983 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71985 ... here.
71986 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71988 ... here.
71989 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71991 ... here.
71992 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71994 ... here.
71995
71996 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71997
71998 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71999 PPC32 and PPC64 files.
72000 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72001 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72002
72003 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72004
72005 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72006 __makecontext_ret to ...
72007 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72008 ... here and call exit if uc_link is NULL. New file.
72009 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72010 __makecontext_ret.S.
72011 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72012 __makecontext_ret to ...
72013 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72014 ... here and call exit if uc_link is NULL. New file.
72015 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72016 __makecontext_ret.S.
72017
72018 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72019
72020 * elf/elf.h (R_390_IRELATIVE): New definition.
72021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72022 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
72023 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72025 (elf_machine_lazy_rel): Likewise.
72026 * sysdeps/s390/dl-irel.h: New file.
72027 * sysdeps/s390/s390-64/memcpy.S: New asm code.
72028 * sysdeps/s390/s390-64/memset.S: New asm code.
72029 * sysdeps/s390/s390-64/memcmp.S: New asm code.
72030 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72032 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72033 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72034 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72035 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72036 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72037 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72038 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72039 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72040 * sysdeps/s390/s390-32/memcpy.S: New asm code.
72041 * sysdeps/s390/s390-32/memset.S: New asm code.
72042 * sysdeps/s390/s390-32/memcmp.S: New asm code.
72043
72044 2012-07-17 Marek Polacek <polacek@redhat.com>
72045
72046 [BZ #14349]
72047 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72048 * sysdeps/s390/s390-64/configure.in: Likewise.
72049 * sysdeps/sparc/configure.in: Likewise.
72050 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72051 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72052 * sysdeps/i386/configure.in: Likewise.
72053 * sysdeps/x86_64/configure.in: Likewise.
72054 * sysdeps/sh/configure.in: Likewise.
72055 * sysdeps/s390/s390-32/configure: Regenerated.
72056 * sysdeps/s390/s390-64/configure: Likewise.
72057 * sysdeps/x86_64/configure: Likewise.
72058 * sysdeps/sh/configure: Likewise.
72059 * sysdeps/powerpc/powerpc64/configure: Likewise.
72060 * sysdeps/powerpc/powerpc32/configure: Likewise.
72061 * sysdeps/sparc/configure: Likewise.
72062 * sysdeps/i386/configure: Likewise.
72063
72064 * elf/dl-open.c: Comment fixes.
72065
72066 2012-07-17 Joseph Myers <joseph@codesourcery.com>
72067
72068 * Makefile [CXX] (check-data): Remove.
72069 [CXX] (c++-types.data): New vpath directive.
72070 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72071 vpath. Do not allow for C++ type data being missing.
72072 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72073 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72074 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72075 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72076 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72077 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72078 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72080 ... here.
72081 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72083 ... here.
72084 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72086 ... here.
72087 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72089 ... here.
72090 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72092 ... here.
72093 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72095 ... here.
72096 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72098 ... here.
72099 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72101
72102 * elf/tls-macros.h (TLS_LE): Move architecture-specific
72103 definitions to architecture-specific files.
72104 (TLS_IE): Likewise.
72105 (TLS_LD): Likewise.
72106 (TLS_GD): Likewise.
72107 * sysdeps/i386/tls-macros.h: New file.
72108 * sysdeps/powerpc/tls-macros.h: Likewise.
72109 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72110 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72111 * sysdeps/sh/tls-macros.h: Likewise.
72112 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72113 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72114 * sysdeps/x86_64/tls-macros.h: Likewise.
72115
72116 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
72117
72118 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72119 zero value for regular exit case.
72120
72121 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72122 (__start_context): Preserve zero value for regular exit case.
72123
72124 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
72125 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72126
72127 * manual/setjmp.texi (setcontext): Clarify normal process
72128 termination when uc_link is the null pointer.
72129 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72130 exit call.
72131
72132 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
72133
72134 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72135 preprocessor. Test for each exception mask separately.
72136
72137 2012-07-16 Andreas Jaeger <aj@suse.de>
72138
72139 * po/ru.po: Update from translation team.
72140
72141 2012-07-15 Joseph Myers <joseph@codesourcery.com>
72142
72143 * conform/data/string.h-data (NULL): Use macro-constant. Require
72144 equal to 0.
72145 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72146 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72147 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72148 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72150
72151 2012-07-13 Andreas Jaeger <aj@suse.de>
72152
72153 * po/fr.po: Update from translation team.
72154
72155 2012-07-12 Marek Polacek <polacek@redhat.com>
72156
72157 [BZ #14173]
72158 * math/libm-test.inc (yn_test): Add test for BZ #14173.
72159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72160 loop condition.
72161
72162 2012-07-12 Joseph Myers <joseph@codesourcery.com>
72163
72164 [BZ #13717]
72165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72166 Change to 2.4.1 where previously 2.4.0.
72167 * sysdeps/unix/sysv/linux/configure: Regenerated.
72168 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72169 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72170 version.
72171 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72172 (__ASSUME_AT_CLKTCK): Remove.
72173 (__ASSUME_AT_PAGESIZE): Likewise.
72174 (__ASSUME_AT_XID): Likewise.
72175 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72176 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72177 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72178 unconditionally.
72179 (HAVE_AUX_PAGESIZE): Likewise.
72180 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72181 [__ASSUME_AT_CLKTCK]: Make code unconditional.
72182 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72183
72184 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
72185
72186 [BZ #14307]
72187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72188 the temporary buffer used to invoke __gethostbyname2_r,
72189 __gethostbyaddr_r and gethostbyname4_r to make room for struct
72190 host_data / struct gaih_addrtuple.
72191 * resolv/nss_dns/dns-host.c (global scope): Move definition of
72192 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72193 header file nss/nsswitch.h.
72194 * nss/nsswitch.h (global scope): Add definition of implementation
72195 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72196 resolv/nss_dns/dns-host.c).
72197
72198 2012-07-11 Andreas Jaeger <aj@suse.de>
72199
72200 * po/fr.po: Update from translation team.
72201
72202 * po/sv.po: Update from translation team
72203 * po/fr.po: Another update from translation team.
72204
72205 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72206
72207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72208 for subnormals or multiply small sinh result by itself.
72209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72211
72212 2012-07-11 David S. Miller <davem@davemloft.net>
72213
72214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72215
72216 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
72217
72218 [BZ #14347]
72219 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72220 (INTERNAL_MARK): Shift it here.
72221
72222 2012-07-10 Marek Polacek <polacek@redhat.com>
72223
72224 [BZ #14151]
72225 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
72226 libc_cv_asm_global_directive with .globl.
72227 * configure: Regenerated.
72228 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72229 with .globl.
72230 * sysdeps/i386/configure: Regenerated.
72231 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72232 with .globl.
72233 * sysdeps/x86_64/configure: Regenerated.
72234 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72235 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72236 * elf/tst-unique2mod2.c: Likewise.
72237 * elf/tst-unique2mod1.c: Likewise.
72238 * elf/tst-unique1mod2.c: Likewise.
72239 * elf/tst-unique1mod1.c: Likewise.
72240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
72241 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
72243 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72244 * sysdeps/mach/sysdep.h: Likewise.
72245 * sysdeps/i386/sysdep.h: Likewise.
72246 * sysdeps/i386/i386-mcount.S: Likewise.
72247 * sysdeps/x86_64/_mcount.S: Likewise.
72248 * sysdeps/x86_64/sysdep.h: Likewise.
72249 * sysdeps/sh/_mcount.S: Likewise.
72250 * sysdeps/sh/sysdep.h: Likewise.
72251 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72252 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72253 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72255 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72256 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72257 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72258 * locale/localeinfo.h: Likewise.
72259 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72260 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72261
72262 2012-07-09 Roland McGrath <roland@hack.frob.com>
72263
72264 [BZ #14336]
72265 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72266 system".
72267 * manual/message.texi (The Uniforum approach): Likewise.
72268 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72269 (glibc iconv Implementation): Likewise.
72270
72271 2012-07-09 Joseph Myers <joseph@codesourcery.com>
72272
72273 [BZ #14337]
72274 * math/s_clog.c (__clog): Avoid scaling a value down where that
72275 could result in underflow.
72276 * math/s_clog10.c (__clog10): Likewise.
72277 * math/s_clog10f.c (__clog10f): Likewise.
72278 * math/s_clog10l.c (__clog10l): Likewise.
72279 * math/s_clogf.c (__clogf): Likewise.
72280 * math/s_clogl.c (__clogl): Likewise.
72281 * math/libm-test.inc (clog_test): Add more tests.
72282 (clog10_test): Likewise.
72283 * sysdeps/i386/fpu/libm-test-ulps: Update.
72284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72285
72286 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
72287
72288 [BZ #14283]
72289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72290 by 7 not 8 to examine high bit of fractional part.
72291
72292 [BZ #14042]
72293 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72294 for call to __mcount_internal.
72295 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72296 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72297 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72298
72299 2012-07-06 Joseph Myers <joseph@codesourcery.com>
72300
72301 [BZ #14154]
72302 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72303 approximation for values within 0x1p-13f of an odd multiple of
72304 pi/4.
72305 * math/libm-test.inc (tan_test): Do not allow spurious underflow
72306 exception. Add more tests.
72307 * sysdeps/i386/fpu/libm-test-ulps: Update.
72308
72309 [BZ #6778]
72310 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72311 inputs and return -1 for them. Do not check for +Inf in case not
72312 reachable for +Inf.
72313 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72314 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72316 and return -1 for them. Do not check for +Inf in case not
72317 reachable for +Inf.
72318 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72319 define.
72320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72321 and return -1 for them. Do not check for +Inf in case not
72322 reachable for +Inf.
72323 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
72324 spurious underflow.
72325 * sysdeps/i386/fpu/libm-test-ulps: Update.
72326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72327
72328 2012-07-06 Mike Frysinger <vapier@gentoo.org>
72329
72330 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72331
72332 2012-07-05 Joseph Myers <joseph@codesourcery.com>
72333
72334 [BZ #14157]
72335 [BZ #14331]
72336 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72337 could result in spurious underflow. Scale down values above
72338 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72339 * math/s_csqrtf.c (__csqrtf): Likewise.
72340 * math/s_csqrtl.c (__csqrtl): Likewise.
72341 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
72342 spurious underflow.
72343 * sysdeps/i386/fpu/libm-test-ulps: Update.
72344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72345
72346 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
72347
72348 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72349 xopen-msg.sed.
72350 * catgets/xopen-msg.awk: New file.
72351 * catgets/xopen-msg.sed: Removed.
72352
72353 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72354 po2text.sed.
72355 * intl/po2test.awk: New file.
72356 * intl/po2test.sed: Removed.
72357
72358 2012-07-04 Joseph Myers <joseph@codesourcery.com>
72359
72360 [BZ #14328]
72361 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72362 or multiply small sinh result by itself.
72363 * math/s_ctanf.c (__ctanf): Likewise.
72364 * math/s_ctanh.c (__ctanh): Likewise.
72365 * math/s_ctanhf.c (__ctanhf): Likewise.
72366 * math/s_ctanhl.c (__ctanhl): Likewise.
72367 * math/s_ctanl.c (__ctanl): Likewise.
72368 * math/libm-test.inc (ctan_test_tonearest): New function.
72369 (ctan_test_towardzero): Likewise.
72370 (ctan_test_downward): Likewise.
72371 (ctan_test_upward): Likewise.
72372 (ctanh_test_tonearest): Likewise.
72373 (ctanh_test_towardzero): Likewise.
72374 (ctanh_test_downward): Likewise.
72375 (ctanh_test_upward): Likewise.
72376 (main): Call these new functions.
72377 * sysdeps/i386/fpu/libm-test-ulps: Update.
72378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72379
72380 2012-07-03 Mike Frysinger <vapier@gentoo.org>
72381
72382 * .gitignore: Delete /ports entry.
72383
72384 2012-07-03 Andreas Jaeger <aj@suse.de>
72385
72386 * po/bg.po: Update from translation team.
72387 * po/cs.po: Likewise.
72388 * po/de.po: Likewise.
72389 * po/hr.po: Likewise.
72390 * po/nl.pl: Likewise.
72391 * po/pl.po: Likewise.
72392 * po/vi.po: Likewise.
72393
72394 2012-07-03 Joseph Myers <joseph@codesourcery.com>
72395
72396 * Makeconfig [!+link] (+link-before-libc): New variable.
72397 [!+link] (+link-after-libc): Likewise.
72398 [!+link] (+link-tests): Likewise.
72399 [!+link] (+link): Define in terms of $(+link-before-libc) and
72400 $(+link-after-libc).
72401 [!+link-static] (+link-static-before-libc): New variable.
72402 [!+link-static] (+link-static-after-libc): Likewise.
72403 [!+link-static] (+link-static-tests): Likewise.
72404 [!+link-static] (+link-static): Define in terms of
72405 $(+link-static-before-libc) and $(+link-static-after-libc).
72406 [build-shared] (link-libc-before-gnulib): New variable.
72407 [build-shared] (link-libc-tests): Likewise.
72408 [build-shared] (link-libc): Define in terms of
72409 $(link-libc-before-gnulib).
72410 [!build-shared] (link-libc-tests): New variable.
72411 (link-libc-static-tests): New variable.
72412 [!gnulib] (gnulib-arch): New variable.
72413 [!gnulib] (gnulib-tests): Likewise.
72414 [!gnulib] (static-gnulib-arch): Likewise.
72415 [!gnulib] (static-gnulib-tests): Likewise.
72416 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
72417 Define with "=" instead of ":=".
72418 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
72419 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
72420 * Rules (binaries-all-notests): New variable.
72421 (binaries-all-tests): Likewise.
72422 (binaries-static-notests): Likewise.
72423 (binaries-static-tests): Likewise.
72424 (binaries-all): Define using $(binaries-all-notests) and
72425 $(binaries-all-tests).
72426 (binaries-static): Define using $(binaries-static-notests) and
72427 $(binaries-static-tests).
72428 (binaries-shared-tests): New variable.
72429 (binaries-shared-notests): Likewise.
72430 (binaries-shared): Remove variable.
72431 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72432 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72433 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72434 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72435 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72436 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72437 * elf/Makefile (sln-modules): New variable.
72438 (extra-objs): Add $(sln-modules:=.o).
72439 (ldconfig-modules): Add static-stubs.
72440 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72441 * elf/static-stubs.c: New file.
72442
72443 [BZ #14283]
72444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72445 by 7 not 8 to examine high bit of fractional part. Use volatile
72446 variables when splitting into final array of floats if
72447 __FLT_EVAL_METHOD__ != 0.
72448 * math/libm-test.inc (cos_test): Add another test.
72449 (sin_test): Likewise.
72450 * sysdeps/i386/fpu/libm-test-ulps: Update.
72451
72452 [BZ #14273]
72453 * math/libm-test.inc (cosh_test): Add more tests.
72454
72455 * version.h (RELEASE): Set to "development".
72456 (VERSION): Set to "2.16.90".
72457
72458 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
72459
72460 * NEWS: Update copyright. Remove last-updated date.
72461 Mention math library bug fixes and timezone data changes.
72462 * README: Mention GNU/Hurd, x32, and HPPA support status.
72463
72464 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
72465
72466 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72467
72468 2012-06-27 Andreas Jaeger <aj@suse.de>
72469
72470 * manual/contrib.texi (Contributors): Add Samuel Thibault.
72471
72472 2012-06-25 Andreas Jaeger <aj@suse.de>
72473
72474 * sysdeps/s390/fpu/libm-test-ulps: Update.
72475
72476 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
72477 Thomas Schwinge <thomas@codesourcery.com>
72478
72479 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72480 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72482 fanotify_mark.
72483
72484 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
72485
72486 * sysdeps/mach/start.c: Remove file.
72487 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72488 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72489 * sysdeps/sh/init-first.c: Likewise.
72490
72491 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72492 registers for frame unwinding purposes, add CFI directives.
72493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72495 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72496 Likewise.
72497
72498 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72499 __fortify_fail returning.
72500 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72501
72502 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72503 sysdeps/sh/____longjmp_chk.S.
72504 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72505 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72506 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72507 (gen-as-const-headers): Append sigaltstack-offsets.sym.
72508
72509 * sysdeps/sh/abort-instr.h: New file.
72510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72511 process in case exit returns.
72512
72513 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72514 initialize the GOT register before use.
72515
72516 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72517 calculation of ARGC > 4.
72518
72519 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72520 meaningful names to some local labels.
72521
72522 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
72523 Kaz Kojima <kkojima@rr.iij4u.or.jp>
72524
72525 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72526 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72527 (__arch_compare_and_exchange_val_16_acq): Likewise.
72528 (__arch_compare_and_exchange_val_32_acq): Likewise.
72529 (atomic_exchange_and_add): Fix gUSA sequence.
72530 (atomic_add): Likewise.
72531 (atomic_add_negative): Likewise.
72532 (atomic_add_zero): Likewise.
72533 (atomic_bit_test_set): Likewise.
72534
72535 2012-06-22 Andreas Schwab <schwab@redhat.com>
72536
72537 [BZ #13579]
72538 * include/link.h (struct link_map): Add l_free_initfini.
72539 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72540 l_initfini.
72541 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72542 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72543 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72544 set.
72545
72546 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
72547
72548 * configure.in: Use AC_LANG_SOURCE.
72549 * configure: Regenerate.
72550
72551 2012-06-22 Roland McGrath <roland@hack.frob.com>
72552
72553 * configure.in (libc_cv_localstatedir): New substituted variable.
72554 * configure: Regenerated.
72555 * config.make.in (localstatedir): New variable, substituted from
72556 libc_cv_localstatedir.
72557 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72558 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72559 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72560 * sysdeps/gnu/configure: Regenerated.
72561
72562 2012-06-21 Jeff Law <law@redhat.com>
72563
72564 [BZ #14277]
72565 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72566 free. Simplify list management for _LIBC case.
72567
72568 2012-06-21 Joseph Myers <joseph@codesourcery.com>
72569
72570 [BZ #14273]
72571 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72572 Clear sign bit of 64-bit integer value before comparing against
72573 overflow value.
72574
72575 * sysdeps/mach/configure: Regenerated.
72576
72577 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
72578
72579 [BZ #14278]
72580 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72581
72582 2012-06-21 Jeff Law <law@redhat.com>
72583
72584 [BZ #13882]
72585 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
72586 uint16_t for elements in the "seen" array to avoid char overflows.
72587 * elf/dl-fini.c (_dl_sort_fini): Likewise.
72588 * elf/dl-open.c (dl_open_worker): Likewise.
72589
72590 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
72591
72592 * scripts/list-sources.sh: Scan PORTS for translations.
72593 * po/libc.pot: Regenerated.
72594
72595 2012-06-21 Andreas Jaeger <aj@suse.de>
72596
72597 [BZ #12194]
72598 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72599 warning.
72600 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72601 * bits/byteswap-16.h (__bswap_16): Likewise.
72602 * bits/byteswap.h (__bswap_constant_16): Likewise.
72603
72604 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
72605
72606 [BZ #14117]
72607 * sysdeps/i386/fpu_control.h: Removed.
72608 * sysdeps/x86_64/fpu_control.h: Moved to ...
72609 * sysdeps/x86/fpu_control.h: Here.
72610
72611 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72612 (_FPU_SETCW): Likewise.
72613
72614 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
72615
72616 [BZ #14117]
72617 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72618 * sysdeps/x86/fpu/bits/mathinline.h: This.
72619 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72620
72621 [BZ #14050]
72622 [BZ #14117]
72623 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72624 functions if __x86_64__ is defined.
72625
72626 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
72627
72628 * string/endian.h: Add !__ASSEMBLER__ condition for including
72629 conversion interfaces.
72630
72631 2012-06-15 Joseph Myers <joseph@codesourcery.com>
72632
72633 [BZ #14241]
72634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72635 of ABS(x) in calculating zero to negative powers other than odd
72636 integers.
72637 * math/libm-test.inc (pow_test): Add more tests.
72638
72639 2012-06-15 Andreas Jaeger <aj@suse.de>
72640
72641 * manual/contrib.texi (Contributors): Update entry of Liubov
72642 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72643 Machado Filho.
72644
72645 2012-06-15 Cyril Hrubis <metan@ucw.cz>
72646
72647 * string/string.h: Add __wur to GNU version of strerror_r.
72648
72649 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
72650
72651 [BZ #14229]
72652 * string/Makefile (tests): Add tst-strtok_r.
72653 * string/tst-strtok_r.c: New file.
72654 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72655 RAX_LP/RDX_LP on SAVE_PTR.
72656
72657 2012-06-14 Roland McGrath <roland@hack.frob.com>
72658
72659 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72660
72661 2012-06-14 Joseph Myers <joseph@codesourcery.com>
72662
72663 * libm_test.inc (csqrt_test): Allow more spurious underflow
72664 exceptions.
72665 (j0_test): Likewise.
72666 (j1_test): Likewise.
72667 (y0_test): Likewise.
72668 (y1_test): Likewise.
72669
72670 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
72671
72672 * po/Makefile (libc.pot): Use UTF-8 charset.
72673
72674 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
72675
72676 [BZ #14210]
72677 Suppress sign-conversion warning from FD_SET.
72678 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72679 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72680 not unsigned long int.
72681 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72682
72683 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
72684
72685 [BZ #14050]
72686 [BZ #14117]
72687 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72688 __extern_always_inline instead of __extern_inline.
72689 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72690 (__signbit): Likewise.
72691 (__signbitl): Support C++ namespace.
72692 (lrintf): New inline function.
72693 (lrint): Likewise.
72694 (llrintf): Likewise.
72695 (llrint): Likewise.
72696 (fmaxf): Likewise.
72697 (fmax): Likewise.
72698 (fminf): Likewise.
72699 (fmin): Likewise.
72700 (rint): Likewise.
72701 (rintf): Likewise.
72702 (ceil): Likewise.
72703 (ceilf): Likewise.
72704 (floor): Likewise.
72705 (floorf): Likewise.
72706 (nearbyint): Likewise.
72707 (nearbyintf): Likewise.
72708
72709 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
72710
72711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72712 non-default versions.
72713
72714 2012-06-11 Roland McGrath <roland@hack.frob.com>
72715
72716 [BZ #14218]
72717 * manual/argp.texi (Argp): Reword argp_parse description slightly.
72718
72719 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
72720
72721 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72722 (FE_UPWARD, FE_DOWNWARD): Don't define.
72723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72724 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72725
72726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72727 reading it.
72728 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72729 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72730
72731 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
72732
72733 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72735 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72736 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72737
72738 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
72739
72740 [BZ #14117]
72741 * sysdeps/i386/fpu/bits/fenv.h: Removed.
72742 * sysdeps/i386/fpu/Implies: New file.
72743 * sysdeps/x86_64/fpu/Implies: Likewise.
72744 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72745 * sysdeps/x86/fpu/bits/fenv.h: This.
72746
72747 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72748 __SSE_MATH__.
72749
72750 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
72751
72752 [BZ #14134]
72753 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72754 character 0xffff that matches the last element of the
72755 conversion table.
72756
72757 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72758
72759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72760 fmodl commit.
72761
72762 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72763
72764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72765 values higher than 25.6283.
72766
72767 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72768
72769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72770 subnormal exponent extraction and add some __builtin_expect.
72771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72772 Fix for subnormal mantissa calculation.
72773
72774 2012-06-04 Mike Frysinger <vapier@gentoo.org>
72775
72776 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72777 cpu2 is -1 and errno is not ENOSYS.
72778
72779 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
72780
72781 [BZ #14117]
72782 * sysdeps/i386/i486/bits/string.h: Renamed to ...
72783 * sysdeps/x86/bits/string.h: This.
72784 * sysdeps/x86_64/bits/string.h: Removed.
72785
72786 * sysdeps/i386/i486/bits/string.h: Define inline functions only
72787 if not compiling for x86-64, but compiling for >= i486.
72788
72789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72790 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72791
72792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72793 New macro from Linux kernel 3.4.0.
72794 (FP_XSTATE_MAGIC2): Likewise.
72795 (FP_XSTATE_MAGIC2_SIZE): Likewise.
72796 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72797 (struct _fpx_sw_bytes): New struct.
72798 (struct _xsave_hdr): Likewise.
72799 (struct _ymmh_state): Likewise.
72800 (struct _xstate): Likewise.
72801
72802 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72803 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72805 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72807 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72808
72809 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72810 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72811 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72812 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72813 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72814 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72815
72816 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72817
72818 [BZ #13743]
72819 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72820 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72821 (sysdep_headers): Include sys/platform/ppc.h.
72822 * sysdeps/powerpc/test-gettimebase.c: Test for
72823 __ppc_get_timebase() to catch future ISA opcode/insn changes.
72824 * manual/Makefile (appendices): Include platform.texi.
72825 * manual/contrib.texi (Contributors): Update @node pointers.
72826 * manual/maint.texi (Maintenance): Likewise.
72827 (Platform): New node.
72828 * manual/platform.texi: New file. Document the new features.
72829
72830 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72831 Jakub Jelinek <jakub@redhat.com>
72832
72833 [BZ #14188]
72834 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72835 where __builtin_expect is unavailable.
72836
72837 2012-06-03 David S. Miller <davem@davemloft.net>
72838
72839 * stdlib/longlong.h: Updated from GCC.
72840
72841 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
72842
72843 [BZ #14042]
72844 * sysdeps/powerpc/powerpc32/mcount.c: New file.
72845 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72846 __mcount_internal.
72847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72848 (GLIBC_2.16): Likewise.
72849
72850 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
72851
72852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72853
72854 2012-06-01 Joseph Myers <joseph@codesourcery.com>
72855
72856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72857 (default-abi): New variable.
72858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72859 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72860 variable.
72861 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72862 Likewise.
72863 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72864 Likewise.
72865 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72866 Likewise.
72867
72868 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72869 definition. Document in comment.
72870
72871 2012-06-01 David S. Miller <davem@davemloft.net>
72872
72873 * stdlib/longlong.h: Updated from GCC.
72874
72875 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
72876
72877 [BZ #14117]
72878 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72879 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72880 sys/debugreg.h sys/io.h here.
72881 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72882 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72883 sys/io.h.
72884 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72885 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72886 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72887 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72888 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72889 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72890
72891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72892 Define only if __x86_64__ is defined.
72893
72894 2012-06-01 Joseph Myers <joseph@codesourcery.com>
72895
72896 [BZ #14048]
72897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72898 Use int64_t for variable i.
72899 * math/libm-test.inc (fmod_test): Add more tests.
72900
72901 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72902 z computation is not scheduled after fetestexcept.
72903 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72904 Use math_force_eval instead of asm to ensure calculation scheduled
72905 before exception test.
72906 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72907 Ensure a1 + u.d computation is not scheduled after fetestexcept.
72908
72909 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
72910
72911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72912 computation is not scheduled after fetestexcept.
72913
72914 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
72915
72916 [BZ #14117]
72917 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72918 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72919
72920 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72921
72922 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72924
72925 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
72926
72927 [BZ #14117]
72928 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72929 <bits/wordsize.h>.
72930 (__WCHAR_MIN): Support __WORDSIZE == 64.
72931 (__WCHAR_MAX): Likewise.
72932
72933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72935
72936 [BZ #14183]
72937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72938 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72939
72940 [BZ #14117]
72941 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72943
72944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72945 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72946
72947 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72948 Defined to 1 if __x86_64__ isn't defined.
72949 (_STAT_VER_LINUX_OLD): New.
72950 (st_atime): Remove duplicate.
72951 (st_mtime): Likewise.
72952 (st_ctime): Likewise.
72953
72954 2012-05-31 David S. Miller <davem@davemloft.net>
72955
72956 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72957 entries.
72958
72959 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
72960
72961 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72962 gen-libm-test.pl.
72963
72964 [BZ #14132]
72965 * elf/dl-reloc.c: Include <_itoa.h>.
72966 (_dl_reloc_bad_type): Remove use of INTUSE.
72967 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72968 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72969 * stdio-common/psiginfo.c (psiginfo): Likewise.
72970 * stdio-common/psignal.c (psignal): Likewise.
72971 * string/strsignal.c (strsignal): Likewise.
72972 * include/signal.h (_sys_siglist): Declare hidden proto.
72973 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
72974 INTVARDEF with libc_hidden_data_def.
72975 * stdio-common/itoa-udigits.c: Likewise.
72976 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72977 (_itoa_lower_digits_internal): Remove declaration.
72978 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72979 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72980 (_sys_sigabbrev_internal): Remove aliases.
72981 (_sys_siglist): Define hidden alias.
72982
72983 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
72984
72985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72986 bits/sysctl.h.
72987
72988 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
72989
72990 [BZ #14117]
72991 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72992 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72993
72994 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72995 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72996 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72997 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72999 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73000
73001 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73002 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73003 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73004
73005 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73006 with __addr.
73007 (insw): Likewise.
73008 (insl): Likewise.
73009 (outsb): Likewise.
73010 (outsw): Likewise.
73011 (outsl): Likewise.
73012
73013 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73015 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73016
73017 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73018 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73019 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73020 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73021 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73022 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73023
73024 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73025 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73026
73027 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73028 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73029
73030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73033
73034 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73035 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73036 to ...
73037 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73038
73039 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73041 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73042
73043 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73044 for x86-64.
73045 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73046
73047 2012-05-31 Joseph Myers <joseph@codesourcery.com>
73048
73049 * math/math.h (M_El): Use two more decimal places.
73050 (M_LOG2El): Likewise.
73051 (M_LOG10El): Likewise.
73052 (M_LN2l): Likewise.
73053 (M_LN10l): Likewise.
73054 (M_PIl): Likewise.
73055 (M_PI_2l): Likewise.
73056 (M_PI_4l): Likewise.
73057 (M_1_PIl): Likewise.
73058 (M_2_PIl): Likewise.
73059 (M_2_SQRTPIl): Likewise.
73060 (M_SQRT2l): Likewise.
73061 (M_SQRT1_2l): Likewise.
73062
73063 2012-05-31 David S. Miller <davem@davemloft.net>
73064
73065 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73066 values between float registers.
73067 * sysdeps/sparc/sparc64/memset.S: Likewise.
73068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73069
73070 2012-05-31 Mike Frysinger <vapier@gentoo.org>
73071
73072 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73073 -D_FORTIFY_SOURCE=1.
73074 (CPPFLAGS-tst-longjmp_chk.c): Define.
73075 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73076 (CPPFLAGS-tst-longjmp_chk2.c): Define.
73077 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73078 CFLAGS-tst-wchar-h.c.
73079
73080 2012-05-31 Marek Polacek <polacek@redhat.com>
73081
73082 [BZ #14132]
73083 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73084 __endmntent_internal): Remove declaration.
73085 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73086 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73087 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73088
73089 2012-05-30 David S. Miller <davem@davemloft.net>
73090
73091 * sysdeps/sparc/sparc32/soft-fp/q_util.c
73092 (___Q_simulate_exceptions): Use real FP ops rather than writing
73093 into the %fsr.
73094 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73095 Likewise.
73096
73097 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
73098
73099 [BZ #14117]
73100 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73101 * sysdeps/x86/bits/xtitypes.h: This.
73102
73103 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73104 * sysdeps/x86/bits/wordsize.h: This.
73105
73106 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73107 * sysdeps/x86/bits/huge_vall.h: This.
73108
73109 * sysdeps/i386/bits/select.h: Removed.
73110 * sysdeps/x86_64/bits/select.h: Renamed to ...
73111 * sysdeps/x86/bits/select.h: This.
73112
73113 * sysdeps/i386/bits/setjmp.h: Removed.
73114 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73115 * sysdeps/x86/bits/setjmp.h: This.
73116
73117 * sysdeps/i386/bits/mathdef.h: Removed.
73118 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73119 * sysdeps/x86/bits/mathdef.h: This.
73120
73121 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
73122
73123 [BZ #14132]
73124 * include/sys/socket.h (__connect_internal)
73125 (__libc_sa_len_internal): Remove declaration.
73126 (__connect, __libc_sa_len): Declare hidden_proto.
73127 (SA_LEN): Remove use of INTUSE.
73128 * socket/connect.c: Add libc_hidden_def.
73129 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73130 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73131 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73132 alias.
73133 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73134 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73135 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73136 of adding _internal alias.
73137
73138 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
73139
73140 [BZ #14117]
73141 * sysdeps/i386/bits/link.h: Removed.
73142 * sysdeps/i386/bits/linkmap.h: Likewise.
73143 * sysdeps/x86_64/bits/link.h: Renamed to ...
73144 * sysdeps/x86/bits/link.h: This.
73145 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73146 * sysdeps/x86/bits/linkmap.h: This.
73147
73148 * sysdeps/i386/bits/endian.h: Removed.
73149 * sysdeps/x86_64/bits/endian.h: Renamed to ...
73150 * sysdeps/x86/bits/endian.h: This.
73151
73152 * sysdeps/i386/bits/byteswap.h: Removed.
73153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73154 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73155 * sysdeps/x86/bits/byteswap.h: This.
73156 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73157 * sysdeps/x86/bits/byteswap-16.h: This.
73158 * sysdeps/i386/Implies: Add x86.
73159 * sysdeps/x86_64/Implies: Likewise.
73160
73161 2012-05-30 David S. Miller <davem@davemloft.net>
73162
73163 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73164 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73166 (FP_TRAPPING_EXCEPTIONS): Define.
73167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73168 (FP_TRAPPING_EXCEPTIONS): Define.
73169 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73170 subnormals only when inexact has been signalled or underflow
73171 exceptions are enabled.
73172 (_FP_PACK_CANONICAL): Likewise.
73173
73174 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
73175
73176 [BZ #14183]
73177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73178 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73179
73180 2012-05-30 Richard Henderson <rth@twiddle.net>
73181
73182 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73183 with #ifndef NOT_IN_libc.
73184
73185 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
73186 marked to avoid plt entry.
73187
73188 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
73189
73190 [BZ #14112]
73191 * Makeconfig (default-abi): New macro.
73192 (abi-includes): Likewise.
73193 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
73194 $(abi-$(default-abi)-lib-soname) for soname if defined.
73195 ($(common-objpfx)gnu/lib-names.stmp): Generate from
73196 abi-variants.
73197 * Makefile (installed-stubs): Likewise.
73198 * include/stubs-biarch.h: Removed.
73199 * scripts/lib-names.awk: Only handle one library at a time.
73200 * scripts/soversions.awk: Remove WORDSIZE support.
73201 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73202 entries.
73203 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73204 Removed.
73205 (syscall-list-default-condition): Likewise.
73206 (syscall-list-default-condition): Likewise.
73207 (syscall-list-includes): Likewise.
73208 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73209 syscall-list-* with abi-*. Handle undefined abi-variants.
73210 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73211 * sysdeps/unix/sysv/linux/i386/Implies: New file.
73212 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73213 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73214 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73215 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73216 Removed.
73217 (syscall-list-32-options): Likewise.
73218 (syscall-list-32-condition): Likewise.
73219 (syscall-list-64-options): Likewise.
73220 (syscall-list-64-condition): Likewise.
73221 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73222 macro.
73223 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73224 Renamed to ...
73225 (abi-*): This.
73226 (abi-64-ld-soname): New macro.
73227 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73228 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73229 Renamed to ...
73230 (abi-*): This.
73231 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73232 * sysdeps/x86_64/x32/shlib-versions: Likewise.
73233
73234 2012-05-30 Joseph Myers <joseph@codesourcery.com>
73235
73236 * sysdeps/unix/sysv/linux/kernel-features.h
73237 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73238 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73239 include <kernel-features.h>.
73240 [!__NR_ftruncate64]: Remove conditional code.
73241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73242 [__NR_ftruncate64]: Make code unconditional.
73243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73244 * sysdeps/unix/sysv/linux/truncate64.c: Do not
73245 include <kernel-features.h>.
73246 [!__NR_ftruncate64]: Remove conditional code.
73247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73248 [__NR_ftruncate64]: Make code unconditional.
73249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73251 include <kernel-features.h>.
73252 [!__NR_ftruncate64]: Remove conditional code.
73253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73254 [__NR_ftruncate64]: Make code unconditional.
73255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73257 include <kernel-features.h>.
73258 [!__NR_ftruncate64]: Remove conditional code.
73259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73260 [__NR_ftruncate64]: Make code unconditional.
73261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73262
73263 * configure.in (libc_cv_fpie): Weaken to a compile test using
73264 LIBC_TRY_CC_OPTION.
73265 * configure: Regenerated.
73266
73267 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73268
73269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73273 Refreshed.
73274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73280 Refreshed.
73281
73282 2012-05-27 David S. Miller <davem@davemloft.net>
73283
73284 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73285 (___Q_zero): New.
73286 (__Q_simulate_exceptions): Return void. Change to simulate
73287 exceptions by writing into the %fsr.
73288 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73289 (__Qp_handle_exceptions): Likewise.
73290 (numbers): Delete.
73291 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73292 __Qp_handle_exceptions.
73293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73294 __Qp_handle_exceptions.
73295 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73296 as unused and give dummy FP_RND_NEAREST initializer.
73297 (FP_INHIBIT_RESULTS): Define.
73298 (___Q_simulate_exceptions): Update declaration.
73299 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73300 formatting.
73301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73302 as unused and give dummy FP_RND_NEAREST initializer.
73303 (__Qp_handle_exceptions): Update declaration.
73304 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73305 formatting.
73306
73307 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
73308
73309 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73310 the temporary FPU control word.
73311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73312 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73314 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73316 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73317 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73318 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73319 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73320 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73322
73323 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
73324
73325 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73326 fields.
73327
73328 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
73329
73330 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73331 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73332 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73333 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73334 Likewise.
73335 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73336 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73337 Likewise.
73338
73339 2012-05-27 Ulrich Drepper <drepper@gmail.com>
73340
73341 * po/h.po: Update from translation team.
73342
73343 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
73344
73345 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73346
73347 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73348 handling of denormals.
73349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73350 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73351 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73352 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73356 Likewise.
73357
73358 2012-05-26 Marek Polacek <polacek@redhat.com>
73359
73360 [BZ #14152]
73361 * math/libm-test.inc (fma_test): Don't always expect underflow
73362 exception.
73363
73364 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73365
73366 [BZ #12416]
73367 * elf/tst-execstack.c: Include stackinfo.h.
73368 (do_test): Adjust test case to ensure that pthread_getattr_np
73369 behaviour remains the same after marking stack executable.
73370
73371 2012-05-25 Joseph Myers <joseph@codesourcery.com>
73372
73373 * sysdeps/unix/sysv/linux/kernel-features.h
73374 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73375 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73376 kernel-features.h.
73377 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73378 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73379 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73380 kernel-features.h.
73381 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73382 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73383
73384 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
73385
73386 * configure.in: Define the default includes to being none.
73387 * configure: Regenerated.
73388
73389 2012-05-25 Roland McGrath <roland@hack.frob.com>
73390
73391 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73392 * sysdeps/x86_64/setjmp.S: Likewise.
73393 * sysdeps/i386/bsd-setjmp.S: Likewise.
73394 * sysdeps/i386/bsd-_setjmp.S: Likewise.
73395 * sysdeps/i386/setjmp.S: Likewise.
73396 * sysdeps/i386/__longjmp.S: Likewise.
73397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73398 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73399
73400 * include/stap-probe.h: New file.
73401 * configure.in: Handle --enable-systemtap.
73402 * configure: Regenerated.
73403 * config.h.in (USE_STAP_PROBE): New #undef.
73404 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73405 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73406 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73407
73408 2012-05-25 Joseph Myers <joseph@codesourcery.com>
73409
73410 [BZ #13717]
73411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73412 to 2.4.0 where earlier.
73413 * sysdeps/unix/sysv/linux/configure: Regenerated.
73414 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73415 <kernel-features.h>.
73416 [__ASSUME_32BITUIDS]: Make code unconditional.
73417 [!__ASSUME_32BITUIDS]: Remove conditional code.
73418 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73419 <kernel-features.h>.
73420 [__ASSUME_32BITUIDS]: Make code unconditional.
73421 [!__ASSUME_32BITUIDS]: Remove conditional code.
73422 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73423 [__ASSUME_32BITUIDS]: Make code unconditional.
73424 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73425 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73426 <kernel-features.h>.
73427 [__ASSUME_32BITUIDS]: Make code unconditional.
73428 [!__ASSUME_32BITUIDS]: Remove conditional code.
73429 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73430 <kernel-features.h>.
73431 [__ASSUME_32BITUIDS]: Make code unconditional.
73432 [!__ASSUME_32BITUIDS]: Remove conditional code.
73433 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73434 <kernel-features.h>.
73435 [__ASSUME_32BITUIDS]: Make code unconditional.
73436 [!__ASSUME_32BITUIDS]: Remove conditional code.
73437 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73438 <kernel-features.h>.
73439 [__ASSUME_32BITUIDS]: Make code unconditional.
73440 [!__ASSUME_32BITUIDS]: Remove conditional code.
73441 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73442 <kernel-features.h>.
73443 [__ASSUME_32BITUIDS]: Make code unconditional.
73444 [!__ASSUME_32BITUIDS]: Remove conditional code.
73445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73446 <kernel-features.h>.
73447 [__ASSUME_32BITUIDS]: Make code unconditional.
73448 [!__ASSUME_32BITUIDS]: Remove conditional code.
73449 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73450 <kernel-features.h>.
73451 [__ASSUME_32BITUIDS]: Make code unconditional.
73452 [!__ASSUME_32BITUIDS]: Remove conditional code.
73453 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73454 <kernel-features.h>.
73455 [__ASSUME_32BITUIDS]: Make code unconditional.
73456 [!__ASSUME_32BITUIDS]: Remove conditional code.
73457 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73458 <kernel-features.h>.
73459 [__ASSUME_32BITUIDS]: Make code unconditional.
73460 [!__ASSUME_32BITUIDS]: Remove conditional code.
73461 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73462 <kernel-features.h>.
73463 [__ASSUME_32BITUIDS]: Make code unconditional.
73464 [!__ASSUME_32BITUIDS]: Remove conditional code.
73465 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73466 <kernel-features.h>.
73467 [__NR_setresgid] (__setresgid): Do not declare.
73468 [__ASSUME_32BITUIDS]: Make code unconditional.
73469 [!__ASSUME_32BITUIDS]: Remove conditional code.
73470 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73471 <kernel-features.h>.
73472 [__NR_setresuid] (__setresuid): Do not declare.
73473 [__ASSUME_32BITUIDS]: Make code unconditional.
73474 [!__ASSUME_32BITUIDS]: Remove conditional code.
73475 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73476 <kernel-features.h>.
73477 [__ASSUME_32BITUIDS]: Make code unconditional.
73478 [!__ASSUME_32BITUIDS]: Remove conditional code.
73479 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73480 <kernel-features.h>.
73481 [__ASSUME_32BITUIDS]: Make code unconditional.
73482 [!__ASSUME_32BITUIDS]: Remove conditional code.
73483 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73484 <kernel-features.h>.
73485 [__ASSUME_32BITUIDS]: Make code unconditional.
73486 [!__ASSUME_32BITUIDS]: Remove conditional code.
73487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73488 <kernel-features.h>.
73489 [__ASSUME_32BITUIDS]: Make code unconditional.
73490 [!__ASSUME_32BITUIDS]: Remove conditional code.
73491 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73492 <kernel-features.h>.
73493 [__ASSUME_32BITUIDS]: Make code unconditional.
73494 [!__ASSUME_32BITUIDS]: Remove conditional code.
73495 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73496 <kernel-features.h>.
73497 [__ASSUME_32BITUIDS]: Make code unconditional.
73498 [!__ASSUME_32BITUIDS]: Remove conditional code.
73499 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73500 <kernel-features.h>.
73501 [__ASSUME_32BITUIDS]: Make code unconditional.
73502 [!__ASSUME_32BITUIDS]: Remove conditional code.
73503 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73504 <kernel-features.h>.
73505 [__ASSUME_32BITUIDS]: Make code unconditional.
73506 [!__ASSUME_32BITUIDS]: Remove conditional code.
73507 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73508 <kernel-features.h>.
73509 [__ASSUME_32BITUIDS]: Make code unconditional.
73510 [!__ASSUME_32BITUIDS]: Remove conditional code.
73511 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73512 <kernel-features.h>.
73513 [__ASSUME_32BITUIDS]: Make code unconditional.
73514 [!__ASSUME_32BITUIDS]: Remove conditional code.
73515 * sysdeps/unix/sysv/linux/kernel-features.h
73516 (__ASSUME_SETRESUID_SYSCALL): Remove.
73517 (__ASSUME_SETRESGID_SYSCALL): Likewise.
73518 (__ASSUME_32BITUIDS): Likewise.
73519 (__ASSUME_LDT_WORKS): Likewise.
73520 (__ASSUME_O_DIRECTORY): Likewise.
73521 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73522 architecture but not kernel version.
73523 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73524 (__ASSUME_MMAP2_SYSCALL): Likewise.
73525 (__ASSUME_STAT64_SYSCALL): Likewise.
73526 (__ASSUME_IPC64): Likewise.
73527 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73528 <kernel-features.h>.
73529 [__ASSUME_32BITUIDS]: Make code unconditional.
73530 [!__ASSUME_32BITUIDS]: Remove conditional code.
73531 * sysdeps/unix/sysv/linux/opendir.c: Do not include
73532 <kernel-features.h>.
73533 [__ASSUME_O_DIRECTORY]: Make code unconditional.
73534 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73535 132096]: Remove conditional code.
73536 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73538 <kernel-features.h>.
73539 [__ASSUME_32BITUIDS]: Make code unconditional.
73540 [!__ASSUME_32BITUIDS]: Remove conditional code.
73541 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73542 <kernel-features.h>.
73543 [__ASSUME_32BITUIDS]: Make code unconditional.
73544 [!__ASSUME_32BITUIDS]: Remove conditional code.
73545 * sysdeps/unix/sysv/linux/setegid.c: Do not include
73546 <kernel-features.h>.
73547 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73548 unconditional.
73549 (__setresgid): Do not declare.
73550 [__ASSUME_32BITUIDS]: Make code unconditional.
73551 [!__ASSUME_32BITUIDS]: Remove conditional code.
73552 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73553 <kernel-features.h>.
73554 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73555 unconditional.
73556 (__setresuid): Do not declare.
73557 [__ASSUME_32BITUIDS]: Make code unconditional.
73558 [!__ASSUME_32BITUIDS]: Remove conditional code.
73559 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73560 <kernel-features.h>.
73561 [__ASSUME_32BITUIDS]: Make code unconditional.
73562 [!__ASSUME_32BITUIDS]: Remove conditional code.
73563 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73564 <kernel-features.h>.
73565 [__ASSUME_32BITUIDS]: Make code unconditional.
73566 [!__ASSUME_32BITUIDS]: Remove conditional code.
73567
73568 2012-05-25 Richard Henderson <rth@twiddle.net>
73569
73570 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73571 dl_hwcap to ifunc resolver.
73572 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73573 elf_ifunc_invoke.
73574 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73575 dl_hwcap to ifunc resolver.
73576 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73577
73578 2012-05-24 Joseph Myers <joseph@codesourcery.com>
73579
73580 [BZ #14153]
73581 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73582 for |x| <= 2**-26, not 2**-57.
73583 * math/libm-test.inc (acos_test): Do not allow spurious underflow
73584 exception.
73585
73586 2012-05-24 Jeff Law <law@redhat.com>
73587
73588 * stdio-common/Makefile (tests): Add bug25.
73589 * stdio-common/bug25.c: New test.
73590
73591 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
73592
73593 [BZ #13576]
73594 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73595 multiple of MALLOC_ALIGNMENT in size.
73596 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73597
73598 2012-05-24 Joseph Myers <joseph@codesourcery.com>
73599
73600 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73601 Require >= 256.
73602 (FILENAME_MAX): Use macro-int-constant.
73603 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
73604 (_IOFBF): Use macro-int-constant.
73605 (_IOLBF): Likewise.
73606 (_IONBF): Likewise.
73607 (SEEK_CUR): Likewise.
73608 (SEEK_END): Likewise.
73609 (SEEK_SET): Likewise.
73610 (TMP_MAX): Likewise.
73611 (EOF): Use macro-int-constant. Require < 0.
73612 (NULL): Use macro-constant. Require == 0.
73613 (stdin): Require type to be FILE *.
73614 (stdout): Likewise.
73615 (stderr): Likewise.
73616 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73617 macro-int-constant.
73618 (EXIT_SUCCESS): Likewise.
73619 (NULL): Use macro-constant. Require == 0.
73620 (RAND_MAX): Use macro-int-constant.
73621 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73622 [C99-based standards] (strtof): Require function.
73623 [C99-based standards] (strtold): Likewise.
73624 [C99-based standards] (strtoll): Likewise.
73625 [C99-based standards] (strtoull): Likewise.
73626 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73627 [ISO || ISO99 || ISO11] (limits.h): Likewise.
73628 [ISO || ISO99 || ISO11] (math.h): Likewise.
73629 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73630 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73632
73633 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
73634
73635 [BZ #14132]
73636 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73637 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73638 * intl/dgettext.c (DCGETTEXT): Likewise.
73639 * intl/gettext.c (DCGETTEXT): Likewise.
73640 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73641 * posix/regex_internal.h (gettext): Likewise.
73642 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73643 Remove declaration.
73644 * include/argz.h (__argz_count_internal)
73645 (__argz_stringify_internal): Remove declaration.
73646 (__argz_count, __argz_stringify): Declare hidden proto.
73647 * intl/dcgettext.c: Remove use of INTDEF.
73648 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73649 * string/argz-stringify.c: Likewise.
73650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73652 Declare hidden proto.
73653 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73654 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73655 Declare hidden proto.
73656 * include/stdio.h (__asprintf_internal): Don't declare.
73657 (__asprintf): Don't define as macro. Declare hidden proto.
73658 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73659 (__fsetlocking): Declare hidden proto.
73660 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73661 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73662 hidden proto.
73663 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73664 (_IO_setlinebuf): Remove use of INTUSE.
73665 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73666 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73667 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73668 Remove declaration.
73669 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73670 (_IO_do_flush): Remove use of INTUSE.
73671 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73672 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73673 (_IO_adjust_column, _IO_least_wmarker)
73674 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73675 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73676 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73677 (_IO_default_doallocate, _IO_wdefault_doallocate)
73678 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73679 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73680 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73681 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73682 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73683 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73684 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73685 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73686 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73687 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73688 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73689 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73690 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73691 proto.
73692 (_IO_flush_all_internal, _IO_adjust_column_internal)
73693 (_IO_default_uflow_internal, _IO_default_finish_internal)
73694 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73695 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73696 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73697 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73698 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73699 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73700 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73701 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73702 (_IO_file_close_internal, _IO_file_close_it_internal)
73703 (_IO_file_underflow_internal, _IO_file_overflow_internal)
73704 (_IO_file_init_internal, _IO_file_attach_internal)
73705 (_IO_file_fopen_internal, _IO_file_read_internal)
73706 (_IO_file_sync_internal, _IO_file_seek_internal)
73707 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73708 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73709 (_IO_str_underflow_internal, _IO_str_overflow_internal)
73710 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73711 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73712 (_IO_list_all_internal, _IO_link_in_internal)
73713 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73714 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73715 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73716 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73717 (_IO_do_write_internal, _IO_padn_internal)
73718 (_IO_getline_info_internal, _IO_getline_internal)
73719 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73720 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73721 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73722 (_IO_vfscanf_internal, _IO_vfprintf_internal)
73723 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73724 (_IO_init_internal, _IO_un_link_internal): Don't declare.
73725 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73726 with libc_hidden_ver, remove use of INTUSE.
73727 * libio/genops.c: Likewise.
73728 * libio/freopen.c: Likewise.
73729 * libio/freopen64.c: Likewise.
73730 * libio/iofclose.c: Likewise.
73731 * libio/iofdopen.c: Likewise.
73732 * libio/iofflush.c: Likewise.
73733 * libio/iofflush_u.c: Likewise.
73734 * libio/iofgets.c: Likewise.
73735 * libio/iofgets_u.c: Likewise.
73736 * libio/iofopen.c: Likewise.
73737 * libio/iofopncook.c: Likewise.
73738 * libio/iofread.c: Likewise.
73739 * libio/iofread_u.c: Likewise.
73740 * libio/ioftell.c: Likewise.
73741 * libio/iofwrite.c: Likewise.
73742 * libio/iogetline.c: Likewise.
73743 * libio/iogets.c: Likewise.
73744 * libio/iogetwline.c: Likewise.
73745 * libio/iopadn.c: Likewise.
73746 * libio/iopopen.c: Likewise.
73747 * libio/ioseekoff.c: Likewise.
73748 * libio/ioseekpos.c: Likewise.
73749 * libio/iosetbuffer.c: Likewise.
73750 * libio/iosetvbuf.c: Likewise.
73751 * libio/ioungetc.c: Likewise.
73752 * libio/ioungetwc.c: Likewise.
73753 * libio/iovdprintf.c: Likewise.
73754 * libio/iovsprintf.c: Likewise.
73755 * libio/iovsscanf.c: Likewise.
73756 * libio/memstream.c: Likewise.
73757 * libio/obprintf.c: Likewise.
73758 * libio/oldfileops.c: Likewise.
73759 * libio/oldiofclose.c: Likewise.
73760 * libio/oldiofdopen.c: Likewise.
73761 * libio/oldiofopen.c: Likewise.
73762 * libio/oldiopopen.c: Likewise.
73763 * libio/oldstdfiles.c: Likewise.
73764 * libio/putc.c: Likewise.
73765 * libio/setbuf.c: Likewise.
73766 * libio/setlinebuf.c: Likewise.
73767 * libio/stdfiles.c: Likewise.
73768 * libio/strops.c: Likewise.
73769 * libio/vasprintf.c: Likewise.
73770 * libio/vscanf.c: Likewise.
73771 * libio/vsnprintf.c: Likewise.
73772 * libio/vswprintf.c: Likewise.
73773 * libio/wfiledoalloc.c: Likewise.
73774 * libio/wfileops.c: Likewise.
73775 * libio/wgenops.c: Likewise.
73776 * libio/wmemstream.c: Likewise.
73777 * libio/wstrops.c: Likewise.
73778 * libio/__fpurge.c: Likewise.
73779 * libio/__fsetlocking.c: Likewise.
73780 * assert/assert.c: Likewise.
73781 * debug/fgets_chk.c: Likewise.
73782 * debug/fgets_u_chk.c: Likewise.
73783 * debug/fread_chk.c: Likewise.
73784 * debug/fread_u_chk.c: Likewise.
73785 * debug/gets_chk.c: Likewise.
73786 * debug/obprintf_chk.c: Likewise.
73787 * debug/vasprintf_chk.c: Likewise.
73788 * debug/vdprintf_chk.c: Likewise.
73789 * debug/vsnprintf_chk.c: Likewise.
73790 * debug/vsprintf_chk.c: Likewise.
73791 * malloc/mtrace.c: Likewise.
73792 * misc/error.c: Likewise.
73793 * misc/syslog.c: Likewise.
73794 * stdio-common/asprintf.c: Likewise.
73795 * stdio-common/fxprintf.c: Likewise.
73796 * stdio-common/getw.c: Likewise.
73797 * stdio-common/isoc99_fscanf.c: Likewise.
73798 * stdio-common/isoc99_scanf.c: Likewise.
73799 * stdio-common/isoc99_vfscanf.c: Likewise.
73800 * stdio-common/isoc99_vscanf.c: Likewise.
73801 * stdio-common/isoc99_vsscanf.c: Likewise.
73802 * stdio-common/printf-prs.c: Likewise.
73803 * stdio-common/printf_fp.c: Likewise.
73804 * stdio-common/printf_fphex.c: Likewise.
73805 * stdio-common/printf_size.c: Likewise.
73806 * stdio-common/putw.c: Likewise.
73807 * stdio-common/scanf.c: Likewise.
73808 * stdio-common/sprintf.c: Likewise.
73809 * stdio-common/tmpfile.c: Likewise.
73810 * stdio-common/vfprintf.c: Likewise.
73811 * stdio-common/vfscanf.c: Likewise.
73812 * stdlib/strfmon_l.c: Likewise.
73813 * sunrpc/openchild.c: Likewise.
73814 * sunrpc/xdr_stdio.c: Likewise.
73815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73816 * sysdeps/mach/hurd/tmpfile.c: Likewise.
73817
73818 2012-05-24 Roland McGrath <roland@hack.frob.com>
73819
73820 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73821
73822 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73823 in the third column, to generate for the shared library an IFUNC
73824 that uses _dl_vdso_vsym.
73825 * Makerules (COMPILE.c, compile-stdin.c): New variables.
73826 * Makeconfig (object-suffixes-noshared): New variable.
73827
73828 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73829 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73830 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73831 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73832
73833 [BZ #14132]
73834 * include/sys/time.h (__gettimeofday): Remove macro.
73835 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73836 * time/gettimeofday.c (__gettimeofday): Remove #undef.
73837 Remove INTDEF.
73838 (__gettimeofday): Add libc_hidden_def.
73839 (gettimeofday): Add libc_hidden_weak.
73840 * sysdeps/mach/gettimeofday.c: Likewise.
73841 * sysdeps/posix/gettimeofday.c: Likewise.
73842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73843 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73845 (__gettimeofday_internal): Remove strong_alias.
73846 (__gettimeofday): Add libc_hidden_def.
73847 (gettimeofday): Add libc_hidden_weak.
73848 * sysdeps/unix/syscalls.list (gettimeofday):
73849 Remove __gettimeofday_internal alias.
73850
73851 2012-05-24 Daniel Jacobowitz <drow@false.org>
73852 H.J. Lu <hongjiu.lu@intel.com>
73853
73854 [BZ #12495]
73855 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73856 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73857 (largebin_index_32_big): New.
73858 (largebin_index): Use it for 16-byte alignment.
73859 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
73860 correction with front_misalign.
73861
73862 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
73863
73864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73866 Likewise.
73867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73868 Likewise.
73869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73870 Likewise.
73871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73872 Likewise.
73873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73874 Likewise.
73875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73876 Likewise.
73877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73878 Likewise.
73879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73880 Likewise.
73881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73882 Likewise.
73883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73884 Likewise.
73885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73886 Likewise.
73887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73888 Likewise.
73889
73890 * scripts/data/c++-types-x32-linux-gnu.data: New file.
73891 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73892
73893 2012-05-24 Joseph Myers <joseph@codesourcery.com>
73894
73895 [BZ #10846]
73896 [BZ #14036]
73897 * math/libm-test.inc (exp_test): Add test from bug 14036.
73898 (pow_test): Add test from bug 10846.
73899
73900 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73901 and other flags.
73902 (special_function): Do not include flags in test name.
73903 (parse_args): Likewise.
73904 * sysdeps/i386/fpu/libm-test-ulps: Update.
73905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73909
73910 * math/gen-libm-test.pl (%beautify): Add entries for underflow
73911 exceptions.
73912 * math/libm-test.inc ("Philosophy"): Update comment about
73913 exception testing.
73914 (UNDERFLOW_EXCEPTION): New macro.
73915 (UNDERFLOW_EXCEPTION_OK): Likewise.
73916 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73917 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73918 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73919 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73920 (INVALID_EXCEPTION_OK): Update value.
73921 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73922 (OVERFLOW_EXCEPTION_OK): Likewise.
73923 (IGNORE_ZERO_INF_SIGN): Likewise.
73924 (test_exceptions): Handle underflow exceptions.
73925 (acos_test): Update for underflow exception expectations.
73926 (cexp_test): Likewise.
73927 (clog_test): Likewise.
73928 (clog10_test): Likewise.
73929 (csqrt_test): Likewise.
73930 (ctan_test): Likewise.
73931 (ctanh_test): Likewise.
73932 (exp_test): Likewise.
73933 (exp10_test): Likewise.
73934 (exp2_test): Likewise.
73935 (expm1_test): Likewise.
73936 (fma_test): Likewise.
73937 (j0_test): Likewise.
73938 (jn_test): Likewise.
73939 (nexttoward_test): Likewise.
73940 (pow_test): Likewise.
73941 (scalbn_test): Likewise.
73942 (scalbln_test): Likewise.
73943 (tan_test): Likewise.
73944 (y1_test): Likewise.
73945 * sysdeps/i386/fpu/libm-test-ulps: Update.
73946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73947
73948 2012-05-23 David S. Miller <davem@davemloft.net>
73949
73950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73951 (__libc_sigaction): Remove unused local variables.
73952
73953 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
73954
73955 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73956
73957 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
73958
73959 mktime: avoid signed integer overflow
73960 * time/mktime.c (__mktime_internal): Do not mishandle the case
73961 where diff == INT_MIN.
73962
73963 mktime: simplify computation of average
73964 * time/mktime.c (ranged_convert): Use new time_t_avg function
73965 instead of rolling our own (probably-slower) code.
73966
73967 mktime: do not assume signed right shift propagates sign bit
73968 * time/mktime.c (isdst_differ): New static function.
73969 (__mktime_internal): No need to normalize tm_isdst now.
73970 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73971 tm_isdst values.
73972
73973 mktime: merge another wrapv change from gnulib
73974 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73975 from some compilers.
73976
73977 mktime: remove incorrect attempt at unusual arithmetics
73978 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73979 The code didn't really work on such machines anyway.
73980 (TYPE_MINIMUM): Assume two's complement.
73981 (twos_complement_arithmetic): Verify that long_int and time_t
73982 are two's complement (or unsigned, in the latter case).
73983
73984 mktime: check signed shifts on long_int and time_t, too
73985 * time/mktime.c (SHR): Check that shifts work as desired
73986 on the types long_int and time_t too, as SHR is used on
73987 such types.
73988
73989 mktime: do not assume 'long' is wide enough
73990 * time/mktime.c (verify): Move decl up.
73991 (long_int): New type.
73992 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73993 to remove assumption in the code that 'long' is wide enough to
73994 store year values. This assumption is not true on x32 and on
73995 some non-glibc platforms.
73996
73997 mktime: merge wrapv change from gnulib
73998 * time/mktime.c (WRAPV): New macro.
73999 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74000 (guess_time_tm, __mktime_internal): Do not assume that signed
74001 integer overflow wraps around; modern compilers generate code
74002 where this assumption is no longer valid.
74003
74004 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
74005
74006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74007 Replace "jmp L(pseudo_end)" with "ret".
74008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74009 Likewise.
74010
74011 2012-05-23 Andreas Jaeger <aj@suse.de>
74012
74013 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74014 * sysdeps/unix/sysv/linux/poll.c: Remove file.
74015
74016 2012-05-23 Andreas Jaeger <aj@suse.de>
74017 Maximilian Attems <max@stro.at>
74018
74019 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74020 New macros.
74021
74022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
74023
74024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74025 code so that pseudo_end is just ret and the stack pointer is
74026 correct also for static library in error case.
74027
74028 2012-05-23 Joseph Myers <joseph@codesourcery.com>
74029
74030 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74031 move to syscalls.list.
74032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74036
74037 * manual/install.texi (Running make install): Do not mention Linux
74038 kernel version for which pt_chown is not needed.
74039 (Linux): Do not mention problems with nscd with 2.0 kernels.
74040 * INSTALL: Regenerated.
74041
74042 2012-05-23 Andreas Jaeger <aj@suse.de>
74043
74044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74045 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74046 macro.
74047 * sysdeps/unix/sysv/linux/s390/bits/mman.h
74048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74049 * sysdeps/unix/sysv/linux/sh/bits/mman.h
74050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74051 * sysdeps/unix/sysv/linux/i386/bits/mman.h
74052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74055 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74057 * sysdeps/unix/sysv/linux/bits/in.h
74058 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74059
74060 2012-05-22 Roland McGrath <roland@hack.frob.com>
74061
74062 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74063 (PREPARE_VERSION): Just use assert instead, it will be elided
74064 under [NDEBUG] anyway.
74065
74066 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
74067
74068 * sysdeps/unix/sysv/linux/Makefile: Include
74069 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74070 (sysdep_routines): Remove sysctl.
74071 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74072 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74073 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74074 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74075 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74076
74077 2012-05-22 Andreas Jaeger <aj@suse.de>
74078
74079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74080 that pseudo_end is just ret and the stack pointer is correct also
74081 for static library in error case.
74082
74083 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
74084
74085 [BZ #14122]
74086 * nss/nsswitch.c (defconfig_entries): New variable.
74087 (__nss_database_lookup): Don't leak defconfig entries.
74088 (nss_parse_service_list): Don't leak on error paths.
74089 (free_database_entries): New function.
74090 (free_defconfig): New function.
74091 (free_mem): Move common code to free_database_entries.
74092
74093 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
74094
74095 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74096 Add arch_prctl.
74097 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74098
74099 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74100 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74102 New macro.
74103 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74104 (INTERNAL_SYSCALL_TYPES): Likewise.
74105 (LOAD_ARGS_TYPES_[1-6]): Likewise.
74106 (LOAD_REGS_TYPES_[1-6]): Likewise.
74107 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74108 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74109
74110 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74111
74112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74113 copysignl for GLIBC_2_0.
74114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74115 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74117 logbl for GLIBC_2_0.
74118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74119 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74120
74121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
74122
74123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
74125
74126 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74127 Use "neg %eax".
74128
74129 * time/mktime.c: Update copyright years.
74130
74131 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
74132
74133 mktime: merge comment-quoting-style change from gnulib
74134 * time/mktime.c: Quote 'like this' in comments.
74135 The GNU coding standards suggest that we no longer quote `like this',
74136 as "`" and "'" are typically rendered asymmetrically nowadays.
74137 The typical gnulib style is to quote 'like this' when quoting
74138 code, and "like this" when quoting English.
74139
74140 * time/mktime.c (compile-command): Add "-I.".
74141
74142 mktime: merge mktime-internal.h change from gnulib
74143 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74144
74145 mktime: merge time_r change from gnulib
74146 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74147
74148 mktime: merge DEBUG change from gnulib
74149 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74150 case system <time.h> has a #define.
74151
74152 mktime: merge <sys/types.h> change from gnulib
74153 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74154 since <time.t> is now guaranteed to define time_t.
74155
74156 mktime: merge HAVE_CONFIG_H change from gnulib
74157 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74158
74159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
74160
74161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74162 Use "neg %eax".
74163
74164 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74165 __rlim_t cast.
74166 (struct rusage): Use anonymous union to pad each field to
74167 __syscall_slong_t.
74168
74169 2012-05-21 David S. Miller <davem@davemloft.net>
74170
74171 * Makefules (o-iterator): Remove .s cases.
74172 (compile-command.s): Delete.
74173 (COMPILE.s): Delete.
74174 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74175
74176 2012-05-21 Joseph Myers <joseph@codesourcery.com>
74177
74178 * configure.in (libc_cv_predef_stack_protector): Only consider
74179 "foobar" and "__stack_chk_fail" lines in libc_undefs.
74180 * configure: Regenerated.
74181
74182 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
74183
74184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74185 New macro. Use R*LP on int and pointer.
74186 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74187 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74188 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74189 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74190
74191 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74192 [__WORDSIZE_TIME64_COMPAT32] instead of
74193 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74194 (struct utmp): Likewise.
74195 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74196 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74197 Renamed to ...
74198 (__WORDSIZE_TIME64_COMPAT32): This.
74199 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74200 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74201 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74202 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74203 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74204 (__WORDSIZE_TIME64_COMPAT32): New macro.
74205
74206 2012-05-21 Andreas Jaeger <aj@suse.de>
74207
74208 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74209 only if [SHARED]. Add prototype for __wcschr_ia32.
74210
74211 2012-05-21 Roland McGrath <roland@hack.frob.com>
74212
74213 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74214 of %rbp unmolested in the jmp_buf while mangling the low bits.
74215 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74216 unmolested high bits of %rbp while demangling the low bits.
74217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74218
74219 2012-05-21 Andreas Jaeger <aj@suse.de>
74220
74221 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74222 * sunrpc/svc_simple.c: Use it for registerrpc.
74223 * sunrpc/xcrypt.c: Use it for passwd2des.
74224
74225 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74226
74227 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
74228
74229 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74230 Don't define if [__SYSCALL_WORDSIZE != 32].
74231 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74232 New macro.
74233
74234 2012-05-21 Bruno Haible <bruno@clisp.org>
74235 Andreas Jaeger <aj@suse.de>
74236
74237 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74238 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74239 inptr and inend for must_buffer_ch.
74240 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74241 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74242 * stdio-common/Makefile (tests): Remove bug15.
74243 (bug15-ENV): Remove macro.
74244 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74245 anymore.
74246
74247 2012-05-19 Andreas Jaeger <aj@suse.de>
74248 Roland McGrath <roland@hack.frob.com>
74249
74250 * manual/contrib.texi: Completely rewritten. It contains now an
74251 alphabetical list of contributors and their contributions.
74252
74253 2012-05-21 Richard Henderson <rth@twiddle.net>
74254
74255 * misc/getauxval.c (__getauxval): Use unsigned long int.
74256 * misc/sys/auxv.h: Include <sys/cdefs.h>.
74257 (getauxval): Use unsigned long int.
74258
74259 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
74260
74261 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74262
74263 2012-05-21 Roland McGrath <roland@hack.frob.com>
74264
74265 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74266 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74267 __alignof__ (long double).
74268
74269 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74270
74271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74272
74273 2012-05-20 Richard Henderson <rth@twiddle.net>
74274
74275 * misc/getauxval.c: New file.
74276 * misc/sys/auxv.h: New file.
74277 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74278 (routines): Add getauxval.
74279 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74280 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74281 * elf/dl-sysdep.c (_dl_auxv): Remove.
74282 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74283 * elf/dl-support.c (_dl_auxv): New variable.
74284 (_dl_aux_init): Initialize it.
74285 * manual/startup.texi (Auxiliary Vector): New node.
74286 * sysdeps/generic/bits/hwcap.h: New file.
74287 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74288 * sysdeps/powerpc/sysdep.h: ... here. Include it.
74289 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74290 * sysdeps/sparc/sysdep.h: ... here. Include it.
74291 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74294 Update.
74295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74303
74304 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74305
74306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74307
74308 2012-05-19 David S. Miller <davem@davemloft.net>
74309
74310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74311
74312 2012-05-19 Joseph Myers <joseph@codesourcery.com>
74313
74314 [BZ #14123]
74315 * math/s_ccosh.c: Include <float.h>
74316 (__ccosh): Avoid internal overflow calculating sinh and cosh
74317 values before multiplying by sin and cos values.
74318 * math/s_ccoshf.c: Likewise.
74319 * math/s_ccoshl.c: Likewise.
74320 * math/s_csin.c: Likewise.
74321 * math/s_csinf.c: Likewise.
74322 * math/s_csinl.c: Likewise.
74323 * math/s_csinh.c: Likewise.
74324 * math/s_csinhf.c: Likewise.
74325 * math/s_csinhl.c: Likewise.
74326 * math/libm-test.inc (ccos_test): Add more tests.
74327 (ccosh_test): Likewise.
74328 (csin_test): Likewise.
74329 (csinh_test): Likewise.
74330 * sysdeps/i386/fpu/libm-test-ulps: Update.
74331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74332
74333 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
74334
74335 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74336 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74337
74338 * sysdeps/x86_64/x32/_itoa.h: Add comment.
74339
74340 2012-05-19 Joseph Myers <joseph@codesourcery.com>
74341
74342 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74343 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74344 * sysdeps/powerpc/soft-fp/Versions: Likewise.
74345 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74346 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74347 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74348 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74349 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74350 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74351 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74352 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74353 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74354 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74355 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74356 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74357 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74358 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74359 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74360 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74361 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74362 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74363 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74364 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74365 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74366 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74367 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74368 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74369 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74370 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74371 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74372 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74373
74374 2012-05-18 Andreas Jaeger <aj@suse.de>
74375
74376 * csu/.gitignore: Delete.
74377
74378 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
74379
74380 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74381 (timex): Use __syscall_slong_t.
74382
74383 2012-05-18 Andreas Jaeger <aj@suse.de>
74384 Carlos O'Donell <carlos_odonell@mentor.com>
74385
74386 * manual/install.texi (Configuring and compiling): Update
74387 description about files modified in the source directory.
74388 * INSTALL: Regenerated.
74389
74390 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
74391
74392 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74393 value. Use "or" to set return value to -1.
74394 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74395 negate return value.
74396
74397 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74398
74399 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74400 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74401 failure if the compiler has Graphite support disabled.
74402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74403 Likewise.
74404 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74405 (CFLAGS-memmove.c): Likewise.
74406 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74407 Likewise.
74408
74409 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
74410
74411 * sysdeps/x86_64/x32/_itoa.h: New file.
74412
74413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74414 getdents system call only if kernel and user dirents have the
74415 same d_ino and d_off.
74416
74417 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74418 LLONG_MAX != LONG_MAX.
74419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74420 (_fitoa_word): Likewise.
74421
74422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74423 years.
74424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74425 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74427
74428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74429 include <bits/wordsize.h>. Check __x86_64__ instead of
74430 __WORDSIZE.
74431 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74432 if __x86_64__ is defined. Use anonymous union on fpstate.
74433
74434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74435 anonymous union.
74436
74437 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
74438
74439 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74440 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74442 Refer to _rtld_local_ro instead of _rtld_global_ro.
74443 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74444 Likewise.
74445 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74446 Likewise.
74447 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74448 Likewise.
74449 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74450 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74451 of _rtld_global, and rtld_progname instead of _dl_argv[0].
74452
74453 [BZ #10882]
74454 * sysdeps/powerpc/powerpc32/dl-machine.c
74455 (__elf_machine_runtime_setup) [PROF]: Don't reference
74456 _dl_prof_resolve.
74457
74458 2012-05-18 Andreas Jaeger <aj@suse.de>
74459
74460 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74461 function only available for GCCs before 3.4 since GCC 3.4
74462 introduced a builtin.
74463 (lrint): Likewise.
74464 (llrintf): Likewise.
74465 (llrint): Likewise.
74466 (fmaxf): Likewise.
74467 (fmax): Likewise.
74468 (fminf): Likewise.
74469 (fmin): Likewise.
74470 (rint): Likewise.
74471 (rintf): Likewise.
74472 (nearbyint): Likewise.
74473 (nearbyintf): Likewise.
74474 (ceil): Likewise.
74475 (ceilf): Likewise.
74476 (floor): Likewise.
74477 (floorf): Likewise.
74478
74479 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
74480
74481 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74482 on both fields and cast pointer to __syscall_ulong_t.
74483
74484 * bits/types.h (__fsword_t): New type.
74485 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74486 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74488 (__FSWORD_T_TYPE): Likewise.
74489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74490 (__FSWORD_T_TYPE): Likewise.
74491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74492 (__FSWORD_T_TYPE): Likewise.
74493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74494 (__FSWORD_T_TYPE): Likewise.
74495 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74496 __SWORD_TYPE with __fsword_t.
74497 (statfs64): Likewise.
74498
74499 2012-05-17 David S. Miller <davem@davemloft.net>
74500
74501 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74502
74503 2012-05-17 Andreas Jaeger <aj@suse.de>
74504
74505 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74506 warning.
74507
74508 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
74509
74510 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74511
74512 2012-05-17 Andreas Jaeger <aj@suse.de>
74513
74514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74515 when it is used.
74516
74517 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
74518
74519 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74520
74521 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
74522
74523 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74524 * sysdeps/x86_64/tst-mallocalign1.c: New file.
74525
74526 2012-05-17 Andreas Jaeger <aj@suse.de>
74527 Carlos O'Donell <carlos_odonell@mentor.com>
74528
74529 [BZ #14059]
74530 * sysdeps/x86_64/multiarch/init-arch.h
74531 (bit_YMM_Usable): Rename to...
74532 (bit_AVX_Usable): ... this.
74533 (bit_FMA4_Usable): New macro.
74534 (bit_XMM_state): New macro.
74535 (bit_YMM_state): New macro.
74536 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74537 [__ASSEMBLER__] (index_AVX_Usable): ... this.
74538 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74539 (CPUID_OSXSAVE): New macro.
74540 (CPUID_AVX): New macro.
74541 (CPUID_FMA4): New macro.
74542 (index_YMM_Usable): Rename to...
74543 (index_AVX_Usable): ... this.
74544 (HAS_AVX): Use HAS_ARCH_FEATURE.
74545 (HAS_FMA4): Likewise.
74546 (HAS_YMM_USABLE): Remove.
74547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74548 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74549 are present.
74550 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74551 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74552 * sysdeps/x86_64/multiarch/Makefile: Likewise.
74553 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74554 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74555
74556 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
74557
74558 * math/libm-test.c: Support platforms without multiple rounding modes.
74559 * math/bug-nextafter.c: Support platforms without FP exceptions.
74560 * math/bug-nexttoward.c: Likewise.
74561 * math/test-fenv.c: Likewise.
74562 * math/test-misc.c: Likewise.
74563 * stdlib/bug-getcontext.c: Likewise.
74564
74565 2012-05-17 Andreas Jaeger <aj@suse.de>
74566
74567 * manual/examples/search.c (critter_cmp): Change signature to
74568 avoid warnings.
74569 * manual/string.texi (Collation Functions): Likewise.
74570
74571 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74572
74573 * bits/types.h: Fold copyright years.
74574 * bits/typesizes.h: Likewise.
74575 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74579 * time/time.h: Likewise.
74580
74581 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
74582
74583 [BZ #208]
74584 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74585 in instead of returning them. Return void.
74586 (__libc_mallinfo): Accumulate over all arenas.
74587 (__malloc_stats): Adjust for change in int_mallinfo interface.
74588
74589 2012-05-16 Roland McGrath <roland@hack.frob.com>
74590
74591 [BZ #10375]
74592 * configure.in (NM): Add AC_CHECK_TOOL for it.
74593 (libc_extra_cflags): New substituted variable.
74594 Check for -fstack-protector being used implicitly.
74595 * configure: Regenerated.
74596 * config.make.in (config-extra-cflags): New variable,
74597 gets @libc_extra_cflags@.
74598 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74599
74600 [BZ #10375]
74601 * configure.in: Check for _FORTIFY_SOURCE being predefined.
74602 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74603 * configure: Regenerated.
74604 * config.make.in (CPPUNDEFS): New substituted variable.
74605 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74606 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74607 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74608
74609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74610
74611 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74612 (mq_attr): Use __syscall_slong_t.
74613
74614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74615
74616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74617 Check __x86_64__ instead of __WORDSIZE.
74618 (_STAT_VER_LINUX): Likewise.
74619 (stat): Check __x86_64__ instead of __WORDSIZE. Use
74620 __syscall_ulong_t and __syscall_slong_t.
74621 (stat64): Likewise.
74622
74623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74624
74625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74626
74627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74628
74629 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74630
74631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74632
74633 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74634 __syscall_ulong_t.
74635
74636 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74637 include <bits/wordsize.h>. Check __x86_64__ instead of
74638 __WORDSIZE.
74639 (greg_t): Use "__extension__ long long int" if __x86_64__ is
74640 defined.
74641 (mcontext_t): Replace "unsigned long" with "unsigned long long".
74642
74643 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74644 include <bits/wordsize.h>. Check __x86_64__ instead of
74645 __WORDSIZE.
74646 (user_regs_struct): Use "__extension__ unsigned long long"
74647 instead of "unsigned long" if __x86_64__ is defined.
74648 (user): Likewise. Pad after pointer field if __ILP32__ is
74649 defined.
74650
74651 2012-05-16 Joseph Myers <joseph@codesourcery.com>
74652
74653 * configure.in (makeinfo): Require version 4.5 or later. Allow
74654 versions 5 to 9.
74655 * configure: Regenerated.
74656 * manual/install.texi (texinfo): Increase version requirement to
74657 4.5 or later.
74658 * INSTALL: Regenerated.
74659
74660 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74661
74662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
74663
74664 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74665
74666 * sysdeps/x86_64/x32/ffs.c: New file.
74667
74668 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74669 __syscall_ulong_t.
74670 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74671 defined. Use __syscall_ulong_t.
74672 (shminfo): Use __syscall_ulong_t.
74673 (shm_info): Likewise.
74674
74675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74676 __syscall_ulong_t.
74677
74678 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74679 <bits/wordsize.h>.
74680 (msgqnum_t): Use __syscall_ulong_t.
74681 (msglen_t): Likewise.
74682 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
74683 __syscall_ulong_t.
74684
74685 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74686 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
74687
74688 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74689
74690 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74691 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74692
74693 * sysvipc/sys/msg.h (msgbuf): Replace long int with
74694 __syscall_slong_t.
74695
74696 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74697 include <bits/wordsize.h>. Check __x86_64__ instead of
74698 __WORDSIZE.
74699
74700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74701 "unsigned long long int" if __x86_64__ is defined.
74702 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74703
74704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74705 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
74706 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74707
74708 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74709 <stdint.h>.
74710 (GET_PC): Cast to uintptr_t first.
74711 (GET_FRAME): Likewise.
74712 (GET_STACK): Likewise.
74713
74714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74715 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74716 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74717 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74718 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74719 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74720 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74721 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74722 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74726 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74728 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74730 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74731 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74732 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74734 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74736 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74738 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74740 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74742 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74743
74744 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
74745
74746 * Makerules (+depfiles): Also collect depfiles from .oS in
74747 $(extra-objs).
74748 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74749 .oS, $(libnldbl-routines)).
74750
74751 * Makerules (native-compile-mkdep-flags): Define.
74752 * sunrpc/Makefile (extra-objs): Add $(addprefix
74753 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74754 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74755 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
74756 calling $(make-target-directory).
74757
74758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74759
74760 * bits/types.h (__snseconds_t): Removed.
74761 * time/time.h (struct timespec): Replace __snseconds_t with
74762 __syscall_slong_t.
74763 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74764 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74765 Likewise.
74766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74767 (__SNSECONDS_T_TYPE): Likewise.
74768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74769 (__SNSECONDS_T_TYPE): Likewise.
74770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74771 (__SNSECONDS_T_TYPE): Likewise.
74772
74773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74774
74775 * sysdeps/mach/hurd/bits/typesizes.h
74776 (__SYSCALL_SLONG_TYPE): New macro.
74777 (__SYSCALL_ULONG_TYPE): Likewise.
74778
74779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74780
74781 * bits/types.h (__syscall_slong_t): New type.
74782 (__syscall_ulong_t): Likewise.
74783
74784 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74785 (__SYSCALL_ULONG_TYPE): Likewise.
74786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74787 (__SYSCALL_SLONG_TYPE): Likewise.
74788 (__SYSCALL_ULONG_TYPE): Likewise.
74789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74790 (__SYSCALL_SLONG_TYPE): Likewise.
74791 (__SYSCALL_ULONG_TYPE): Likewise.
74792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74793 (__SYSCALL_SLONG_TYPE): Likewise.
74794 (__SYSCALL_ULONG_TYPE): Likewise.
74795
74796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74797
74798 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74799 Add sigaltstack-offsets.sym.
74800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74801 <sigaltstack-offsets.h>.
74802 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
74803 longjmp_msg pointer.
74804 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
74805 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74806 signal stack.
74807 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74808
74809 2012-05-15 Joseph Myers <joseph@codesourcery.com>
74810
74811 * elf/stackguard-macros.h: Remove file.
74812 * sysdeps/generic/stackguard-macros.h: New file.
74813 * sysdeps/i386/stackguard-macros.h: Likewise.
74814 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74815 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74816 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74817 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74818 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74819 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74820 * sysdeps/x86_64/stackguard-macros.h: Likewise.
74821 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74822 <elf/stackguard-macros.h>.
74823
74824 [BZ #14109]
74825 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74826 __aligned__ in attribute.
74827 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74828 (gregset_t): Likewise.
74829
74830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74831
74832 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74833 * sysdeps/x86_64/64/Implies-after: Here. New file.
74834 * sysdeps/x86_64/x32/Implies-after: New file.
74835
74836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74837
74838 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74839 and access return value for _dl_profile_fixup. Use R10_LP to
74840 load frame size.
74841
74842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74843
74844 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74845
74846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74847
74848 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74849 * sysdeps/x86_64/x32/sysdep.h: New file.
74850
74851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74852
74853 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74854 * sysdeps/x86_64/setjmp.S: Likewise.
74855
74856 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74857
74858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74859 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74860 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74861 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74862 remove unused global constant.
74863
74864 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
74865
74866 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74867 include of <not-cancel.h>.
74868
74869 2012-05-15 Roland McGrath <roland@hack.frob.com>
74870
74871 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74872
74873 2012-05-15 Jeff Law <law@redhat.com>
74874 Andreas Jaeger <aj@suse.de>
74875
74876 [BZ #13594]
74877 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74878 out from...
74879 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74880 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74881 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74882 code changing __hst_map_handle.map.
74883
74884 2012-05-15 Roland McGrath <roland@hack.frob.com>
74885
74886 * configure.in (sysnames): Look for Implies-before and Implies-after
74887 files.
74888 * configure: Regenerated.
74889
74890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74891
74892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74893 8-byte data alignment with LP_SIZE alignment.
74894
74895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74896
74897 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74898 into R10_LP.
74899
74900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74901
74902 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74903
74904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74905
74906 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74907 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74909 Likewise.
74910 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74911
74912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74913
74914 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74915 (stackinfo_sub_sp): Likewise.
74916
74917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74918
74919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74920 RAX_LP.
74921
74922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74923
74924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74925 into R*_LP.
74926
74927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74928
74929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74930 sizes into R*_LP.
74931
74932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74933
74934 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74935
74936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74937
74938 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74939 into R11_LP and load __x86_64_shared_cache_size_half into
74940 R8_LP.
74941
74942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74943
74944 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74945 R8_LP.
74946
74947 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74948
74949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74950 logb for POWER7.
74951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74952 logbf for POWER7.
74953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74954 logbl for POWER7.
74955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74956 powerpc32/power7/fpu/s_logb.c via #include.
74957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74958 powerpc32/power7/fpu/s_logbf.c via #include.
74959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74960 powerpc32/power7/fpu/s_logbl.c via #include.
74961
74962 2012-05-15 Joseph Myers <joseph@codesourcery.com>
74963
74964 * README.libm: Remove file.
74965
74966 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
74967
74968 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74969 count for x32. Use R*_LP and omit operand-size suffix.
74970
74971 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
74972
74973 * shlib-versions: Move x86_64-.*-linux.* entries to ...
74974 * sysdeps/x86_64/64/shlib-versions: Here. New file.
74975 * sysdeps/x86_64/x32/shlib-versions: New file.
74976
74977 2012-05-14 Roland McGrath <roland@hack.frob.com>
74978
74979 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74980 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74981 Use _dl_fatal_printf instead.
74982
74983 2012-05-14 Joseph Myers <joseph@codesourcery.com>
74984
74985 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74986 set if not set by the user. Do not allow for being unset.
74987 * sysdeps/unix/sysv/linux/configure: Regenerated.
74988
74989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
74990
74991 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74992 the `q' suffix from lea and replace .quad with ASM_ADDR.
74993
74994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
74995
74996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74997 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
74998 instead of $17.
74999 (PTR_DEMANGLE): Likewise.
75000
75001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
75002
75003 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75004 (LP_OP): Likewise.
75005 (ASM_ADDR): Likewise.
75006 (RAX_LP): Likewise.
75007 (RBP_LP): Likewise.
75008 (RBX_LP): Likewise.
75009 (RCX_LP): Likewise.
75010 (RDI_LP): Likewise.
75011 (RSI_LP): Likewise.
75012 (RSP_LP): Likewise.
75013 (R8_LP): Likewise.
75014 (R9_LP): Likewise.
75015 (R10_LP): Likewise.
75016 (R10_LP): Likewise.
75017 (R11_LP): Likewise.
75018 (R12_LP): Likewise.
75019 (R13_LP): Likewise.
75020 (R14_LP): Likewise.
75021 (R15_LP): Likewise.
75022
75023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
75024
75025 * sysdeps/x86_64/x32/dl-machine.h: New file.
75026
75027 2012-05-14 Andreas Jaeger <aj@suse.de>
75028
75029 * manual/Makefile (subdir): Remove export of subdir.
75030 (all): Remove target.
75031 (.PHONY): Remove all from list.
75032 (mkinstalldirs): Remove.
75033 (.PHONY): Remove installdirs from list.
75034 ($(inst_infodir)/libc.info): Use make-target-directory.
75035 (installdirs): Remove.
75036 (subdir_%): Remove.
75037 (glibc-targets): Remove.
75038 (lib): Remove.
75039 (stubs): Remove.
75040 ($(objpfx)stubs ../po/manual.pot): Remove.
75041 ($(objpfx)stamp%): Remove.
75042 (make-target-directory): Remove.
75043 (subdir_install): Remove.
75044 (routines): Remove.
75045 (aux): Remove.
75046 (sources): Remove.
75047 (objects): Remove.
75048 (headers): Remove.
75049
75050 [BZ #13750]
75051 * manual/.gitignore: Remove, it's not needed anymore.
75052 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75053 all files in it.
75054 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75055 directory.
75056 (texis): Renamed to $(objpfx)texis.
75057 (texis-path): New, contains path to generated files.
75058 (chapters.%): Use texis-path for complete path, add extra argument
75059 libc-texinfo.sh.
75060 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75061 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75062 (summary,texi, stamp-summary): Use complete path of
75063 files. Generate files in build dir.
75064 (dir-add.texi): Build in build dir.
75065 (libm-err.texi,stamp-libm-err): Likewise.
75066 (version.texi, stamp-version): Likewise.
75067 (.%c.texi): Likewise.
75068 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75069 (mostlyclean): Remove target.
75070 (realclean): Remove target.
75071 (generated): Add new variable with contents from mostlyclean and
75072 realclean, remove entries duplicated in common-mostlyclean, add
75073 stamp-libm-err and stamp-version.
75074 (generated-dirs): Add libc directory.
75075 ($(inst_infodir)/libc.info): Install files from build dir.
75076
75077 * manual/install.texi (Configuring and compiling): Adjust since
75078 the info files are not part of the tar ball anymore.
75079
75080 2012-05-14 Andreas Jaeger <aj@suse.de>
75081
75082 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75083 variable.
75084
75085 2012-05-14 Joseph Myers <joseph@codesourcery.com>
75086
75087 [BZ #13717]
75088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75089 to 2.2.0 where earlier.
75090 * sysdeps/unix/sysv/linux/configure: Regenerated.
75091 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75092 Remove conditional code.
75093 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75094 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75095 Remove conditional code.
75096 [!__NR_lchown]: Likewise.
75097 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75098 [__NR_lchown]: Likewise.
75099 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75100 comment referencing __ASSUME_LCHOWN_SYSCALL.
75101 * sysdeps/unix/sysv/linux/i386/sigaction.c
75102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75104 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75105 Remove conditional code.
75106 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75107 (__protocol_available): Remove #if 0 code.
75108 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75109 conditional code.
75110 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75111 * sysdeps/unix/sysv/linux/kernel-features.h
75112 (__ASSUME_GETCWD_SYSCALL): Don't define.
75113 (__ASSUME_REALTIME_SIGNALS): Likewise.
75114 (__ASSUME_PREAD_SYSCALL): Likewise.
75115 (__ASSUME_PWRITE_SYSCALL): Likewise.
75116 (__ASSUME_POLL_SYSCALL): Likewise.
75117 (__ASSUME_LCHOWN_SYSCALL): Likewise.
75118 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75119 non-SPARC.
75120 (__ASSUME_SIOCGIFNAME): Don't define.
75121 (__ASSUME_MSG_NOSIGNAL): Likewise.
75122 (__ASSUME_SENDFILE): Define unconditionally.
75123 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75124 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75125 conditional code.
75126 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75127 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75128 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75129 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75130 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75131 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75132 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75157 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75158 Remove conditional code.
75159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75160 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75161 Remove conditional code.
75162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75163 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75164 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75165 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75166 Remove conditional code.
75167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75168 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75169 Remove conditional code.
75170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75171 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75172 Remove conditional code.
75173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75174 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75175 Remove conditional code.
75176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75177 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75178 Remove conditional code.
75179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75180 * sysdeps/unix/sysv/linux/sh/pwrite64.c
75181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75183 * sysdeps/unix/sysv/linux/sigaction.c
75184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75186 * sysdeps/unix/sysv/linux/sigpending.c
75187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75189 * sysdeps/unix/sysv/linux/sigprocmask.c
75190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75192 * sysdeps/unix/sysv/linux/sigsuspend.c
75193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75196 (__libc_missing_rt_sigs): Remove.
75197 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75198 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75199 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75200 Remove conditional code.
75201 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75202 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75203 return 1.
75204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75205 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75206 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75207 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75208
75209 2012-05-14 Andreas Jaeger <aj@suse.de>
75210
75211 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75212 it's not used in glibc.
75213 (__coshm1): Likewise.
75214 (__acosh1p): Likewise.
75215 (__sgn): Likewise.
75216
75217 * manual/string.texi (Copying and Concatenation): Add missing
75218 variable in concat example.
75219 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75220
75221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
75222
75223 [BZ #14103]
75224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75225 __builtin_clzl with __builtin_clzll.
75226
75227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
75228
75229 [BZ #14104]
75230 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75231 libc_freeres_ptr.
75232
75233 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75234
75235 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75236 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75237 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75238 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75239
75240 2012-05-14 Mike Frysinger <vapier@gentoo.org>
75241
75242 * NEWS: Update ia64 info.
75243
75244 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
75245
75246 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75247 used as bcopy.
75248
75249 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
75250
75251 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75252 * sysdeps/unix/syscalls.list (dup3): Likewise.
75253 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75254 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75255
75256 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
75257
75258 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75259 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75260
75261 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
75262
75263 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75264 thread pointer.
75265 (TLS_IE): Use mov/add instead of movq/addq to load thread
75266 pointer.
75267 (TLS_GD_PREFIX): New.
75268 (TLS_GD): Use it.
75269
75270 2012-05-11 David S. Miller <davem@davemloft.net>
75271
75272 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75273 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75274 (_FPU_SETCW): Likewise.
75275
75276 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
75277
75278 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75279 is 32-byte aligned.
75280
75281 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
75282
75283 [BZ #11837]
75284 * iconvdata/gb18030.c: Update tables.
75285 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
75286 characters specially.
75287 (BODY for TO_LOOP): Add encoding of missing ranges.
75288
75289 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
75290
75291 [BZ #13673]
75292 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75293 * sysdeps/mach/hurd/dup3.c: Likewise.
75294 * sysdeps/mach/hurd/readlinkat.c: Likewise.
75295 * sysdeps/powerpc/memmove.c:: Likewise.
75296
75297 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
75298
75299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75300 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75301
75302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
75303
75304 * elf/elf.h (R_X86_64_RELATIVE64): New.
75305 (R_X86_64_NUM): Updated.
75306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75307 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
75308 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75309 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75310 tst-quad1pie tst-quad2pie
75311 (modules-names): Add tst-quadmod1 tst-quadmod2.
75312 ($(objpfx)tst-quad1): New dependency.
75313 ($(objpfx)tst-quad2): Likewise.
75314 ($(objpfx)tst-quad1pie): Likewise.
75315 ($(objpfx)tst-quad2pie): Likewise.
75316 * sysdeps/x86_64/tst-quad1.c: New file.
75317 * sysdeps/x86_64/tst-quad1pie.c: New file.
75318 * sysdeps/x86_64/tst-quad2.c: Likewise.
75319 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75320 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75321 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75322 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75323 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75324
75325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75326
75327 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75328 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75329 * streams/stropts.h (t_scalar_t): Define type.
75330
75331 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75332 (_PATH_PRESERVE): Set to "/var/lib".
75333 (_PATH_RWHODIR): Set to "/var/spool/rwho".
75334
75335 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75336 instead of int.
75337
75338 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75339 if __dir_mkfile succeeded.
75340
75341 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75342 checking for _hurd_dtablesize. Unlock it right after having
75343 finished _hurd_dtable allocation.
75344
75345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75346
75347 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75348 * sysdeps/mach/hurd/configure: Regenerated.
75349 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75350 special-casing to...
75351 * sysdeps/gnu/configure.in: ... this new file.
75352 * sysdeps/unix/sysv/linux/configure: Regenerated.
75353 * sysdeps/gnu/configure: New generated file.
75354
75355 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75356 for Linux: use nsec instead of usec, as well as:
75357 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75358 members of type struct timespec.
75359 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75360 New macros.
75361 (struct stat64): Likewise.
75362 (_STATBUF_ST_NSEC): New macro.
75363 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75364
75365 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75366 __strtoul_internal rather than strtoul.
75367
75368 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
75369
75370 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75371 and reject them.
75372
75373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75374
75375 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75376 which preserves existing values.
75377 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75378
75379 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
75380
75381 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75382 TIMEOUT values. Return EINVAL for NFDS values either negative or
75383 greater than FD_SETSIZE.
75384
75385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75386
75387 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75388 allocated, call __vm_protect to finish enabling the existing space, and
75389 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75390 allocate the remainder.
75391
75392 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
75393
75394 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75395 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
75396
75397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75398
75399 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75400 sysdeps/mach/hurd/readlink.c.
75401
75402 * posix/tst-sysconf.c (posix_options): Only use
75403 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75404 _POSIX_SYNCHRONIZED_IO when they are defined
75405 * sysdeps/mach/hurd/bits/posix_opt.h:
75406 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75407 (_XOPEN_REALTIME): Undefine macro.
75408 (_XOPEN_REALTIME_THREADS): Undefine macro.
75409 (_XOPEN_SHM): Undefine macro.
75410 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75411 macro to -1.
75412 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75413 macro to -1.
75414 (_POSIX_ASYNC_IO): Undefine macro.
75415 (_POSIX_PRIORITIZED_IO): Undefine macro.
75416 (_POSIX_SPIN_LOCKS): Define macro to -1.
75417
75418 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75419 SA_NODEFER, SA_RESETHAND.
75420 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75421 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75422 F_DUPFD_CLOEXEC.
75423
75424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75425
75426 * elf/Makefile (pldd-modules): Define unconditionally.
75427
75428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75429
75430 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75431
75432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75433
75434 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75435 Return ENOENT when name is empty.
75436 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75437
75438 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75439
75440 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75441
75442 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75443
75444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75445
75446 Fix mlock in all cases except non-readable pages.
75447 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75448 instead of VM_PROT_ALL as parameter to __vm_wire function.
75449
75450 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75451 (__mkdir): When path is `/', just fail with EEXIST.
75452 * sysdeps/mach/hurd/mkdirat.c: Likewise.
75453
75454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75455
75456 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75457 <sys/uio.h> (for writev).
75458 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75459 and <sys/param.h> (for MIN).
75460
75461 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
75462
75463 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75464 REQUESTED_TIME. Properly set the remaining time and return EINTR
75465 if interrupted.
75466
75467 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75468
75469 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75470 Depend on against $(link-rpcuserlibs).
75471
75472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75473
75474 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75475 (__libc_stack_end): Do not use attribute_relro.
75476 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75477 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75478 to libthread-provided value.
75479 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75480 attribute_relro.
75481
75482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75483
75484 [BZ #3748]
75485 * bits/libc-lock.h (__libc_once_get): New macro.
75486 * sysdeps/mach/bits/libc-lock.h: Likewise.
75487 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75489 instead of using implementation details.
75490
75491 * libio/fileops.c: Unconditionally include <kernel-features.h>.
75492 * libio/freopen.c: Likewise.
75493 * libio/freopen64.c: Likewise.
75494 * misc/syslog.c: Likewise.
75495 * nscd/connections.c: Likewise.
75496 * nscd/netgroupcache.c: Likewise.
75497 * sysdeps/posix/getcwd.c: Likewise.
75498
75499 2012-05-10 Roland McGrath <roland@hack.frob.com>
75500
75501 * math/w_ilogbf.c: Add #include <limits.h>.
75502
75503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75504
75505 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75506 path instead of returning without unlocking.
75507
75508 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75509 immediate-write ioctls.
75510 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75511
75512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75513
75514 * sysdeps/mach/hurd/i386/init-first.c (init): Use
75515 __builtin_frame_address instead of making assumptions about the
75516 location of the return address relative to DATA. Force early load of
75517 the return address.
75518 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75519 __builtin_frame_address.
75520
75521 dup3 for GNU Hurd.
75522 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75523 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
75524 implement dup3 and do some further code clean-ups.
75525 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75526 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75527
75528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75529
75530 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75531
75532 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75533 HURD_CRITICAL_END around holding _hurd_dtable_lock.
75534 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75535 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75536 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75537 d->port.lock.
75538
75539 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75540 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
75541 when handler == SIG_ERR, not when handler != SIG_ERR.
75542
75543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75544
75545 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75546 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75547 definitions.
75548
75549 accept4 for GNU Hurd.
75550 * include/sys/socket.h (__libc_accept4): New prototype.
75551 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
75552 to implement __libc_accept4.
75553 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75554 __libc_accept4.
75555 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75556
75557 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75558 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75559 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75560 signal-defines.sym.
75561
75562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75563
75564 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75565
75566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
75567
75568 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75569 assertion on O_CLOEXEC flag.
75570 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75571 * hurd/intern-fd.c: Likewise.
75572 * hurd/port2fd.c: Likewise.
75573
75574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
75575
75576 [BZ #3906]
75577 * bits/in.h (IPV6_PKTINFO): Define new macro.
75578 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75579
75580 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75581
75582 [BZ #13954]
75583 [BZ #13955]
75584 [BZ #13956]
75585 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75587 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75588 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75590 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75591 * math/libm-test.inc (logb_test) : Additional logb tests.
75592
75593 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
75594 Andreas Jaeger <aj@suse.de>
75595
75596 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75597 * configure: Regenerated.
75598 * config.h.in (LINK_OBSOLETE_RPC): New macro.
75599 * config.make.in (link-obsolete-rpc): New substituted variable.
75600 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75601 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75602 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75603 (shared-only-routines): Don't set it under [link-obsolete-rpc],
75604 so that libc.a contains the symbols.
75605 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75606 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75607 * sunrpc/auth_none.c: Likewise.
75608 * sunrpc/auth_unix.c: Likewise.
75609 * sunrpc/authdes_prot.c: Likewise.
75610 * sunrpc/authuxprot.c: Likewise.
75611 * sunrpc/clnt_gen.c: Likewise.
75612 * sunrpc/clnt_perr.c: Likewise.
75613 * sunrpc/clnt_raw.c: Likewise.
75614 * sunrpc/clnt_simp.c: Likewise.
75615 * sunrpc/clnt_tcp.c: Likewise.
75616 * sunrpc/clnt_udp.c: Likewise.
75617 * sunrpc/clnt_unix.c: Likewise.
75618 * sunrpc/des_crypt.c: Likewise.
75619 * sunrpc/des_soft.c: Likewise.
75620 * sunrpc/get_myaddr.c: Likewise.
75621 * sunrpc/key_call.c: Likewise.
75622 * sunrpc/key_prot.c: Likewise.
75623 * sunrpc/netname.c: Likewise.
75624 * sunrpc/pm_getmaps.c: Likewise.
75625 * sunrpc/pm_getport.c: Likewise.
75626 * sunrpc/pmap_clnt.c: Likewise.
75627 * sunrpc/pmap_prot.c: Likewise.
75628 * sunrpc/pmap_prot2.c: Likewise.
75629 * sunrpc/pmap_rmt.c: Likewise.
75630 * sunrpc/publickey.c: Likewise.
75631 * sunrpc/rpc_cmsg.c: Likewise.
75632 * sunrpc/rpc_common.c: Likewise.
75633 * sunrpc/rpc_dtable.c: Likewise.
75634 * sunrpc/rpc_prot.c: Likewise.
75635 * sunrpc/rpc_thread.c: Likewise.
75636 * sunrpc/rtime.c: Likewise.
75637 * sunrpc/svc.c: Likewise.
75638 * sunrpc/svc_auth.c: Likewise.
75639 * sunrpc/svc_raw.c: Likewise.
75640 * sunrpc/svc_run.c: Likewise.
75641 * sunrpc/svc_tcp.c: Likewise.
75642 * sunrpc/svc_udp.c: Likewise.
75643 * sunrpc/svc_unix.c: Likewise.
75644 * sunrpc/svcauth_des.c: Likewise.
75645 * sunrpc/xcrypt.c: Likewise.
75646 * sunrpc/xdr.c: Likewise.
75647 * sunrpc/xdr_array.c: Likewise.
75648 * sunrpc/xdr_float.c: Likewise.
75649 * sunrpc/xdr_intXX_t.c: Likewise.
75650 * sunrpc/xdr_mem.c: Likewise.
75651 * sunrpc/xdr_rec.c: Likewise.
75652 * sunrpc/xdr_ref.c: Likewise.
75653 * sunrpc/xdr_sizeof.c: Likewise.
75654 * sunrpc/xdr_stdio.c: Likewise.
75655
75656 2012-05-10 Roland McGrath <roland@hack.frob.com>
75657
75658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75659 change. Update copyright years.
75660
75661 2012-05-10 Joseph Myers <joseph@codesourcery.com>
75662
75663 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75664
75665 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
75666 Joseph Myers <joseph@codesourcery.com>
75667 Paul Pluzhnikov <ppluzhnikov@google.com>
75668
75669 [BZ #14012]
75670 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75671 requiring rpcgen.
75672 [cross-compiling] (extra-libs): Likewise.
75673 [cross-compiling] (extra-libs-others): Likewise.
75674 [cross-compiling] (librpcsvc-routines): Likewise.
75675 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75676 [cross-compiling] (omit-deps): Likewise.
75677 (sunrpc-CPPFLAGS): New variable.
75678 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75679 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75680 (cross-rpcgen-objs): New variable.
75681 (extra-objs): Append $(cross-rpcgen-objs).
75682 ($(cross-rpcgen-objs)): New rule.
75683 ($(objpfx)cross-rpcgen): Likewise.
75684 (rpcgen-cmd): Define to use $(built-program-file). Expand
75685 comment.
75686 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75687 ($(objpfx)x%.stmp): Likewise.
75688 * sunrpc/proto.h [IS_IN_build] (_): Define.
75689 [IS_IN_build] (_libc_intl_domainname): Likewise.
75690
75691 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
75692
75693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75694 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75695 and R_X86_64_TPOFF64.
75696
75697 2012-05-10 Joseph Myers <joseph@codesourcery.com>
75698
75699 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75700 sysdeps/unix/sysv/syscalls.list.
75701 (stime): Likewise.
75702 (utime): Likewise.
75703 * sysdeps/unix/sysv/syscalls.list: Remove file.
75704
75705 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
75706
75707 [BZ #3440]
75708 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75709 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75710 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75711 (__LC_IDENTIFICATION): Make these macros useful in #if
75712 expressions, as required by C99.
75713
75714 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
75715
75716 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75717 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
75718 after this.
75719
75720 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
75721
75722 * stdlib/longlong.h: Updated from GCC.
75723
75724 2012-05-09 Andreas Jaeger <aj@suse.de>
75725
75726 * nscd/nscd.c (run_modes): Make named enum, reorder so that
75727 default is first entry.
75728 (run_mode): Set type.
75729 (main): Remove informal message about syslog.
75730 (options): Fix typo.
75731
75732 [BZ #14053]
75733 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75734 to asm.
75735 (lrint): Likewise.
75736 (llrintf): Likewise.
75737 (llrint): Likewise.
75738 (rint): Likewise.
75739 (rintf): Likewise.
75740 (nearbyint): Likewise.
75741 (nearbyintf): Likewise.
75742
75743 2012-05-09 Andreas Jaeger <aj@suse.de>
75744 Pedro Alves <palves@redhat.com>
75745
75746 * nscd/nscd.c (run_mode): Use enum.
75747 (main): Cleanup coding style issue.
75748
75749 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
75750 Andreas Jaeger <aj@suse.de>
75751
75752 * nscd/nscd.c (go_background): Replaced with...
75753 (run_mode): ... this.
75754 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75755 (options): Add -F --foreground.
75756 (main): Implement it.
75757 (parse_opt): Parse it.
75758
75759 2012-05-09 Andreas Jaeger <aj@suse.de>
75760
75761 [BZ #14083]
75762 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75763 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75764 -Wconversion warning.
75765 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75766 Likewise.
75767
75768 2012-05-09 Joseph Myers <joseph@codesourcery.com>
75769
75770 * conform/data/locale.h-data (NULL): Use macro-constant. Require
75771 == 0.
75772 (LC_ALL): Use macro-int-constant.
75773 (LC_COLLATE): Likewise.
75774 (LC_CTYPE): Likewise.
75775 (LC_MESSAGES): Likewise.
75776 (LC_MONETARY): Likewise.
75777 (LC_NUMERIC): Likewise.
75778 (LC_TIME): Likewise.
75779 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75780 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
75782 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75783 Specify type.
75784 [C99-based standards] (float_t): Expect type.
75785 [C99-based standards] (double_t): Expect type.
75786 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
75787 type.
75788 [C99-based standards] (HUGE_VALL): Likewise.
75789 [C99-based standards] (INFINITY): Likewise.
75790 [C99-based standards] (NAN): Likewise.
75791 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75792 [C99-based standards] (FP_NAN): Likewise.
75793 [C99-based standards] (FP_NORMAL): Likewise.
75794 [C99-based standards] (FP_SUBNORMAL): Likewise.
75795 [C99-based standards] (FP_ZERO): Likewise.
75796 [C99-based standards] (FP_FAST_FMA): Use
75797 optional-macro-int-constant. Specify type. Require == 1.
75798 [C99-based standards] (FP_FAST_FMAF): Likewise.
75799 [C99-based standards] (FP_FAST_FMAL): Likewise.
75800 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75801 [C99-based standards] (FP_ILOGBNAN): Likewise.
75802 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75803 Specify type.
75804 [C99-based standards] (MATH_ERREXCEPT): Likewise.
75805 [C99-based standards] (math_errhandling): Specify type.
75806 [ISO99 || ISO11] (signgam): Do not allow.
75807 [non-C99-based standards] (copysignf): Do not allow.
75808 [non-C99-based standards] (exp2f): Likewise.
75809 [non-C99-based standards] (log2f): Likewise.
75810 [non-C99-based standards] (modff): Allow.
75811 [non-C99-based standards] (erff): Do not allow.
75812 [non-C99-based standards] (erfcf): Likewise.
75813 [non-C99-based standards] (gammaf): Likewise.
75814 [non-C99-based standards] (hypotf): Likewise.
75815 [non-C99-based standards] (j0f): Likewise.
75816 [non-C99-based standards] (j1f): Likewise.
75817 [non-C99-based standards] (jnf): Likewise.
75818 [non-C99-based standards] (lgammaf): Likewise.
75819 [non-C99-based standards] (tgammaf): Likewise.
75820 [non-C99-based standards] (y0f): Likewise.
75821 [non-C99-based standards] (y1f): Likewise.
75822 [non-C99-based standards] (ynf): Likewise.
75823 [non-C99-based standards] (isnanf): Likewise.
75824 [non-C99-based standards] (acoshf): Likewise.
75825 [non-C99-based standards] (asinhf): Likewise.
75826 [non-C99-based standards] (atanhf): Likewise.
75827 [non-C99-based standards] (cbrtf): Likewise.
75828 [non-C99-based standards] (expm1f): Likewise.
75829 [non-C99-based standards] (ilogbf): Likewise.
75830 [non-C99-based standards] (log1pf): Likewise.
75831 [non-C99-based standards] (logbf): Likewise.
75832 [non-C99-based standards] (nextafterf): Likewise.
75833 [non-C99-based standards] (remainderf): Likewise.
75834 [non-C99-based standards] (rintf): Likewise.
75835 [non-C99-based standards] (scalbf): Likewise.
75836 [non-C99-based standards] (copysignl): Likewise.
75837 [non-C99-based standards] (exp2l): Likewise.
75838 [non-C99-based standards] (log2l): Likewise.
75839 [non-C99-based standards] (modfl): Allow.
75840 [non-C99-based standards] (erfl): Do not allow.
75841 [non-C99-based standards] (erfcl): Likewise.
75842 [non-C99-based standards] (gammal): Likewise.
75843 [non-C99-based standards] (hypotl): Likewise.
75844 [non-C99-based standards] (j0l): Likewise.
75845 [non-C99-based standards] (j1l): Likewise.
75846 [non-C99-based standards] (jnl): Likewise.
75847 [non-C99-based standards] (lgammal): Likewise.
75848 [non-C99-based standards] (tgammal): Likewise.
75849 [non-C99-based standards] (y0l): Likewise.
75850 [non-C99-based standards] (y1l): Likewise.
75851 [non-C99-based standards] (ynl): Likewise.
75852 [non-C99-based standards] (isnanl): Likewise.
75853 [non-C99-based standards] (acoshl): Likewise.
75854 [non-C99-based standards] (asinhl): Likewise.
75855 [non-C99-based standards] (atanhl): Likewise.
75856 [non-C99-based standards] (cbrtl): Likewise.
75857 [non-C99-based standards] (expm1l): Likewise.
75858 [non-C99-based standards] (ilogbl): Likewise.
75859 [non-C99-based standards] (log1pl): Likewise.
75860 [non-C99-based standards] (logbl): Likewise.
75861 [non-C99-based standards] (nextafterl): Likewise.
75862 [non-C99-based standards] (remainderl): Likewise.
75863 [non-C99-based standards] (rintl): Likewise.
75864 [non-C99-based standards] (scalbl): Likewise.
75865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
75866 [non-C99-based standards] (FP_*): Do not allow.
75867 [C99-based standards] (FP_*): Change to
75868 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75869 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75870 allow.
75871 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75872 (SIG_ERR): Likewise.
75873 [X/Open-based standards] (SIG_HOLD): Likewise.
75874 (SIG_IGN): Likewise.
75875 (SIGABRT): Use macro-int-constant. Specify type. Require
75876 positive value.
75877 (SIGFPE): Likewise.
75878 (SIGILL): Likewise.
75879 (SIGINT): Likewise.
75880 (SIGSEGV): Likewise.
75881 (SIGTER): Likewise.
75882 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75883 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75884 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75885 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75886 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75887 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75888 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75889 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75890 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75891 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75892 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75893 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75894 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75895 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75896 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75897 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75898 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75899 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75900 [X/Open-based standards] (SIGTRAP): Likewise.
75901 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75902 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75903 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75904 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75905 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75906 allow.
75907
75908 2012-05-08 Ian Wienand <ianw@vmware.com>
75909
75910 [BZ #14080]
75911 * time/tzset.c (__tzset_parse_tz): Update default rules for
75912 daylight time changes in the Energy Policy Act of 2005.
75913
75914 2012-05-09 Andreas Jaeger <aj@suse.de>
75915
75916 [BZ #13983]
75917 * elf/ldconfig.c (parse_conf): Change string to make clear that
75918 ldconfig only issued a warning if ld.so.conf does not exist.
75919
75920 2012-05-08 David S. Miller <davem@davemloft.net>
75921
75922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75923 movxtod instead of popping the value on the stack.
75924
75925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75926
75927 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
75928
75929 * config.h.in: Add HAVE_ARM_PCS_VFP.
75930
75931 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
75932
75933 [BZ #13979]
75934 * include/features.h: Warn if user requests __FORTIFY_SOURCE
75935 checking but the checks are disabled for any reason.
75936
75937 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
75938
75939 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75940 and ELF64_R_TYPE with ELFW(R_TYPE).
75941
75942 2012-05-08 Joseph Myers <joseph@codesourcery.com>
75943
75944 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75945 (ulimit): Likewise.
75946
75947 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75948 (settimeofday): Likewise.
75949
75950 2012-05-08 Mike Frysinger <vapier@gentoo.org>
75951
75952 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
75953 a struct th_u2 inside the union, and move tu_block/tu_code into
75954 a new th_u3 union of tu_block/tu_code inside of that. Move
75955 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
75956 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
75957 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75958 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75959 (th_stuff): Change to th_u1.tu_stuff.
75960 (th_data): Define.
75961 (th_msg): Change to th_u1.th_u2.tu_data.
75962
75963 2012-05-07 David S. Miller <davem@davemloft.net>
75964
75965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75966
75967 [BZ #14074]
75968 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75969 (SETUP_PIC_REG): Use it.
75970 (SETUP_PIC_REG_LEAF): Use it.
75971
75972 2012-05-07 Joseph Myers <joseph@codesourcery.com>
75973
75974 [BZ #13885]
75975 [BZ #13923]
75976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75977 USE_AS_EXPM1L.
75978 (EXPL_FINITE): Likewise.
75979 (FLDLOG): Likewise.
75980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75981 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75982 e_expl.S.
75983 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75984 USE_AS_EXPM1L.
75985 (EXPL_FINITE): Likewise.
75986 (FLDLOG): Likewise.
75987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75988 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75989 e_expl.S.
75990 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
75991 test of -max_value argument for long double.
75992 * sysdeps/i386/fpu/libm-test-ulps: Update.
75993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75994
75995 2012-05-06 David S. Miller <davem@davemloft.net>
75996
75997 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75998 quad soft-float symbols whose references which are compiler
75999 generated.
76000 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76001
76002 2012-05-06 Joseph Myers <joseph@codesourcery.com>
76003
76004 [BZ #13884]
76005 [BZ #13914]
76006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76007 USE_AS_EXP10L.
76008 (EXPL_FINITE): Likewise.
76009 (FLDLOG): Likewise.
76010 (c0): Likewise.
76011 (c1): Likewise.
76012 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
76013 Adjust comments for base varying.
76014 (__expl_finite): Change alias to EXPL_FINITE.
76015 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76016 e_expl.S.
76017 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76018 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76019 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76020 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76022 USE_AS_EXP10L.
76023 (EXPL_FINITE): Likewise.
76024 (FLDLOG): Likewise.
76025 (c0): Likewise.
76026 (c1): Likewise.
76027 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
76028 Adjust comments for base varying.
76029 (__expl_finite): Change alias to EXPL_FINITE.
76030 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
76031 tests for bugs.
76032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76033
76034 [BZ #14064]
76035 * math/libm-test.inc (check_float_internal): Correct ulp
76036 calculation for subnormal expected results.
76037
76038 2012-05-06 Andreas Jaeger <aj@suse.de>
76039
76040 * Makeconfig (+math-flags): New, set to -frounding-math.
76041 (+cflags): Add +math-flags so that all of glibc gets compiled with
76042 it.
76043
76044 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76045
76046 2012-05-05 Joseph Myers <joseph@codesourcery.com>
76047
76048 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76049 Disable one test.
76050
76051 [BZ #13787]
76052 [BZ #13922]
76053 [BZ #14036]
76054 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76055 (__ieee754_expl): Allow for and saturate large arguments.
76056 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76057 (u_threshold): Likewise.
76058 (__exp): Call __ieee754_exp before checking for overflow and
76059 underflow.
76060 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76061 (u_threshold): Likewise.
76062 (__expf): Call __ieee754_expf before checking for overflow and
76063 underflow.
76064 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76065 (u_threshold): Likewise.
76066 (__expl): Call __ieee754_expl before checking for overflow and
76067 underflow.
76068 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76069 (__ieee754_expl): Allow for and saturate large arguments.
76070 * math/libm-test.inc (exp_test): Add another test. Do not allow
76071 missing overflow exception on overflow.
76072 (expm1_test): Do not allow missing overflow exception on overflow.
76073
76074 * sysdeps/i386/fpu/e_expl.c: Move to ...
76075 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
76076 rather than using inline asm.
76077 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76078 * sysdeps/x86_64/fpu/e_expl.S: Copy from
76079 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76080
76081 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76082 (nice): Likewise.
76083 (poll): Likewise.
76084 (signal): Likewise.
76085 (time): Likewise.
76086 (times): Likewise.
76087
76088 2012-05-04 Joseph Myers <joseph@codesourcery.com>
76089
76090 * sysdeps/unix/syscalls.list (adjtime): Add entry from
76091 sysdeps/unix/common/syscalls.list.
76092 (fchmod): Likewise.
76093 (fchown): Likewise.
76094 (ftruncate): Likewise.
76095 (getrusage): Likewise.
76096 (gettimeofday): Likewise.
76097 (setpgid): Likewise.
76098 (setregid): Likewise.
76099 (setreuid): Likewise.
76100 (sigaction): Likewise.
76101 (truncate): Likewise.
76102 (vhangup): Likewise.
76103 * sysdeps/unix/common/syscalls.list: Remove file.
76104 * sysdeps/unix/bsd/Implies: Don't include unix/common.
76105 * sysdeps/unix/sysv/linux/Implies: Likewise.
76106
76107 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
76108
76109 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76111 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76112 Moved to ...
76113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76114 Here.
76115 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76116 to ...
76117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76118 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76119 to ...
76120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76121 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76122 to ...
76123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76124 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76125 to ...
76126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76127 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76128 to ...
76129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76130 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76131 to ...
76132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76133 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76134 to ...
76135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76136 Here.
76137 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76138 to ...
76139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76140 Here.
76141 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76142 to ...
76143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76144 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76145 Moved to ...
76146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76147 Here.
76148 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76149 to ...
76150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76151
76152 2012-05-04 Joseph Myers <joseph@codesourcery.com>
76153
76154 * sysdeps/unix/common/bits/dirent.h: Remove file.
76155 * sysdeps/unix/common/bits/fcntl.h: Likewise.
76156
76157 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76158 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76159 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76160 * sysdeps/unix/bsd/isatty.c: Likewise.
76161 * sysdeps/unix/bsd/tcdrain.c: Likewise.
76162 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76163 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76164
76165 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76166
76167 [BZ #13563]
76168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76169 long double comparison inaccuracies.
76170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76172
76173 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
76174
76175 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76176 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76177
76178 2012-05-04 Joseph Myers <joseph@codesourcery.com>
76179
76180 [BZ #14049]
76181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76182 nonzero digits before rounding a hex value.
76183 * stdlib/tst-strtod.c (tests): Add another test.
76184
76185 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76186
76187 * sysdeps/s390/fpu/libm-test-ulps: Update.
76188
76189 2012-05-03 Andreas Jaeger <aj@suse.de>
76190
76191 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76192 does not get optimized out.
76193 (malloc_opt_barrier): New.
76194
76195 2012-05-03 Andreas Jaeger <aj@suse.de>
76196 Roland McGrath <roland@hack.frob.com>
76197
76198 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76199 intermediate file deletion.
76200 (generated): Add .symlist files.
76201
76202 2012-05-03 Joseph Myers <joseph@codesourcery.com>
76203
76204 [BZ #13775]
76205 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76206 Redirect under this condition.
76207 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76208 [__USE_GNU] (__dprintf_chk): Not under this condition.
76209 [__USE_GNU] (__vdprintf_chk): Likewise.
76210 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76211 under this condition.
76212 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76213 [__USE_XOPEN2K8] (dprintf): Define under this condition.
76214 [__USE_XOPEN2K8] (vdprintf): Likewise.
76215 [__USE_GNU] (__dprintf_chk): Not under this condition.
76216 [__USE_GNU] (__vdprintf_chk): Likewise.
76217 [__USE_GNU] (dprintf): Likewise.
76218 [__USE_GNU] (vdprintf): Likewise.
76219
76220 2012-05-03 Roland McGrath <roland@hack.frob.com>
76221
76222 * elf/Makefile (common-generated): Set this instead of generated for
76223 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
76224 $(all-built-dso)-derived lists.
76225
76226 2012-05-03 Andreas Jaeger <aj@suse.de>
76227
76228 * sysdeps/i386/fpu/libm-test-ulps: Update.
76229
76230 * FAQ: Removed.
76231 * FAQ.in: Likewise.
76232 * scripts/gen-FAQ.pl: Likewise.
76233 * manual/install.texi (Installation): Point to online location of
76234 FAQ.
76235 * Makefile (files-for-dist): Remove FAQ.
76236 (FAQ): Remove.
76237
76238 2012-05-02 Allan McRae <allan@archlinux.org>
76239
76240 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76241 (LDFLAGS-reldepmod5.so): Likewise.
76242 (LDFLAGS-reldep6mod1.so): Likewise.
76243 (LDFLAGS-reldep6mod4.so): Likewise.
76244 (LDFLAGS-reldep8mod3.so): Likewise.
76245 (LDFLAGS-unload4mod1.so): Likewise.
76246 (LDFLAGS-unload4mod2.so): Likewise.
76247 (LDFLAGS-tst-initorder): Likewise.
76248 (LDFLAGS-tst-initordera2.so): Likewise.
76249 (LDFLAGS-tst-initordera3.so): Likewise.
76250 (LDFLAGS-tst-initordera4.so): Likewise.
76251 (LDFLAGS-tst-initorderb2.so): Likewise.
76252 (LDFLAGS-noload): Likewise.
76253 (LDFLAGS-next): Likewise.
76254 (LDFLAGS-order2mod1.so): Likewise.
76255 (LDFLAGS-order2mod2.so): Likewise.
76256 (LDFLAGS-tst-initorder2): Likewise.
76257 (LDFLAGS-tst-initorder2a.so): Likewise.
76258 (LDFLAGS-tst-initorder2b.so): Likewise.
76259 (LDFLAGS-tst-initorder2c.so): Likewise.
76260 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76261
76262 2012-05-02 David S. Miller <davem@davemloft.net>
76263
76264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76265
76266 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
76267
76268 [BZ #14055]
76269 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76270
76271 2012-05-02 Andreas Jaeger <aj@suse.de>
76272
76273 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76274 since we manipulate rounding mode.
76275 (CPPFLAGS-test-idouble.c): Likewise.
76276 (CPPFLAGS-test-ifloat.c): Likewise.
76277 (CFLAGS-test-ldouble.c): Likewise.
76278 (CFLAGS-test-double.c): Likewise.
76279 (CFLAGS-test-float.c): Likewise.
76280 (CFLAGS-test-misc.c): Likewise.
76281 (CFLAGS-test-test-fenv.c): Likewise.
76282
76283 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76284
76285 [BZ #2550]
76286 [BZ #2570]
76287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76288 comparisons to determine direction to adjust input.
76289
76290 2012-05-01 Roland McGrath <roland@hack.frob.com>
76291
76292 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76293 output to the target.
76294
76295 * scripts/localplt.awk: New file.
76296 * elf/Makefile ($(objpfx)check-localplt): Target removed.
76297 (check-localplt-CFLAGS): Variable removed.
76298 ($(all-built-dso:=.jmprel)): New static pattern rule.
76299 (generated): Add those targets.
76300 (localplt-built-dso): New variable.
76301 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76302
76303 * elf/check-localplt.c: File removed.
76304
76305 * scripts/check-execstack.awk: New file.
76306 * elf/Makefile ($(objpfx)check-execstack): Target removed.
76307 (check-execstack-CFLAGS): Variable removed.
76308 ($(objpfx)check-execstack.h): Target removed.
76309 ($(objpfx)execstack-default): New target.
76310 (generated): Add that instead of check-execstack.h.
76311 ($(all-built-dso:=.phdr)): New static pattern rule.
76312 (generated): Add those targets.
76313 * elf/check-execstack.c: File removed.
76314
76315 * scripts/check-textrel.awk: New file.
76316 * elf/Makefile ($(objpfx)check-textrel): Target removed.
76317 (check-textrel-CFLAGS): Variable removed.
76318 (all-built-dso): Use := to define.o
76319 ($(all-built-dso:=.dyn)): New static pattern rule.
76320 (generated): Add those targets.
76321 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76322 * config.make.in (READELF): New substituted variable.
76323 * elf/check-textrel.c: File removed.
76324
76325 2012-05-01 Joseph Myers <joseph@codesourcery.com>
76326
76327 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76328 allow.
76329 * conform/data/ctype.h-data [C99-based standards] (isblank):
76330 Expect function.
76331 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76332 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
76334 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76335 Specify type. Require positive value.
76336 (EILSEQ): Likewise.
76337 (ERANGE): Likewise.
76338 [ISO || POSIX] (EILSEQ): Do not expect.
76339 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76340 Specify type. Require positive value.
76341 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76342 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76343 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76344 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76345 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76346 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76347 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76348 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76349 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76350 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76351 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76352 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76353 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76354 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76355 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76356 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76357 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76358 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76359 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76360 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76361 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76362 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76363 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76364 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76365 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76366 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76367 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76368 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76369 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76370 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76371 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76372 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76373 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76374 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76375 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76376 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76377 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76378 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76379 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76380 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76381 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76382 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76383 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76384 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76385 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76386 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76387 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76388 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76389 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76390 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76391 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76392 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76393 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76394 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76395 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76396 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76397 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76398 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76399 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76400 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76401 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76402 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76403 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76404 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76405 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76406 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76407 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76408 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76409 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76410 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76411 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76412 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76413 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76414 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76415 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76416 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76417 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76418 Require >= 2.
76419 (FLT_ROUNDS): Expect as macro, not constant.
76420 (FLT_MANT_DIG): Use macro-int-constant.
76421 (DBL_MANT_DIG): Likewise.
76422 (LDBL_MANT_DIG): Likewise.
76423 (FLT_DIG): Likewise.
76424 (DBL_DIG): Likewise.
76425 (LDBL_DIG): Likewise.
76426 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
76427 (DBL_MIN_EXP): Likewise.
76428 (LDBL_MIN_EXP): Likewise.
76429 (FLT_MAX_EXP): Use macro-int-constant.
76430 (DBL_MAX_EXP): Likewise.
76431 (LDBL_MAX_EXP): Likewise.
76432 (FLT_MAX_10_EXP): Likewise.
76433 (DBL_MAX_10_EXP): Likewise.
76434 (LDBL_MAX_10_EXP): Likewise.
76435 (FLT_MAX): Use macro-constant.
76436 (DBL_MAX): Likewise.
76437 (LDBL_MAX): Likewise.
76438 (FLT_EPSILON): Use macro-constant. Give upper bound.
76439 (DBL_EPSILON): Likewise.
76440 (LDBL_EPSILON): Likewise.
76441 (FLT_MIN): Likewise.
76442 (DBL_MIN): Likewise.
76443 (LDBL_MIN): Likewise.
76444 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76445 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76446 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76447 [ISO11] (FLT_HAS_SUBNORM): Likewise.
76448 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76449 [ISO11] (DBL_DECIMAL_DIG): Likewise.
76450 [ISO11] (FLT_DECIMAL_DIG): Likewise.
76451 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76452 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76453 [ISO11] (FLT_TRUE_MIN): Likewise.
76454 [ISO11] (LDBL_TRUE_MIN): Likewise.
76455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
76456 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76457 (SCHAR_MIN): Use macro-int-constant. Specify type.
76458 (SCHAR_MAX): Likewise.
76459 (UCHAR_MAX): Likewise.
76460 (CHAR_MIN): Likewise.
76461 (CHAR_MAX): Likewise.
76462 (MB_LEN_MAX): Use macro-int-constant.
76463 (SHRT_MIN): Use macro-int-constant. Specify type.
76464 (SHRT_MAX): Likewise.
76465 (USHRT_MAX): Likewise.
76466 (INT_MAX): Likewise.
76467 (INT_MIN): Use macro-int-constant. Specify type. Make upper
76468 bound negative.
76469 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
76470 bound with "U".
76471 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
76472 bound with "L".
76473 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
76474 bound negative. Suffix upper bound with "L".
76475 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
76476 bound with "UL".
76477 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76478 Specify type.
76479 [C99-based standards] (LLONG_MAX): Likewise.
76480 [C99-based standards] (ULLONG_MAX): Likewise.
76481 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
76482 == 0.
76483 [ISO11] (max_align_t): Require type.
76484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
76485
76486 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76487 from $CFLAGS, without defining away __attribute__ calls.
76488 (checknamespace): Use $CFLAGS_namespace.
76489
76490 * conform/conformtest.pl (@keywords): Only include C99 keywords
76491 for standards based on C99 or C11.
76492
76493 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76494 Disable tests.
76495 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76496 UNIX98]: Likewise.
76497
76498 * conform/conformtest.pl: Handle "macro-int-constant" and test for
76499 usability of symbols in #if.
76500
76501 * conform/conformtest.pl: If macro or constant types start
76502 "promoted:", expect the symbol to be of the following type
76503 promoted by the integer promotions.
76504
76505 * conform/conformtest.pl: Parse all "constant" and "macro" lines
76506 in one place. Also handle "macro-constant".
76507
76508 * conform/conformtest.pl: Only accept expected macro values with
76509 "==". Parse all "macro" lines in one place.
76510 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76511
76512 * conform/conformtest.pl: Handle braced types on "constant" lines
76513 instead of handling "typed-constant".
76514 * conform/data/signal.h-data: Use "constant" instead of
76515 "typed-constant".
76516
76517 * conform/conformtest.pl: Handle "optional-" at start of lines in
76518 one place rather than duplicating several cases. Handle each
76519 format of "macro" line with initial "optional-".
76520
76521 * conform/conformtest.pl: Only accept expected constant or
76522 optional-constant values with "==". Parse all "constant" lines in
76523 one place. Parse all "optional-constant" lines in one place.
76524 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76525 * conform/data/fmtmsg.h-data: Likewise.
76526 * conform/data/netinet/in.h-data: Likewise.
76527 * conform/data/tar.h-data: Likewise.
76528 * conform/data/limits.h-data: Use "==" form on "constant" and
76529 "optional-constant" lines.
76530
76531 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76532 Use -std=c99 for XOPEN2K.
76533 (@knownproblems): Remove.
76534 (newtoken): Don't check %isknown.
76535
76536 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76537 Do not expect macro.
76538 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76539 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76540 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76541 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76542 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76543 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76544 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76545 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76546 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76547 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76548 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76549 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76550 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76551 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76552 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76553 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76554 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76555 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76556 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76557 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76558 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76560 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76561 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76562 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76563 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76564 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76565 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76566 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76567 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76568 [XPG3] (acosh): Likewise.
76569 [XPG3] (asinh): Likewise.
76570 [XPG3] (atanh): Likewise.
76571 [XPG3] (cbrt): Likewise.
76572 [XPG3] (expm1): Likewise.
76573 [XPG3] (ilogb): Likewise.
76574 [XPG3] (log1p): Likewise.
76575 [XPG3] (logb): Likewise.
76576 [XPG3] (nextafter): Likewise.
76577 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76578 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76579 [XPG3] (remainder): Likewise.
76580 [XPG3] (rint): Likewise.
76581 [XPG3 || XPG4 || UNIX98] (round): Likewise.
76582 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76583 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76584 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76585 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76586 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76587 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76588 [UNIX98 || XOPEN2K] (scalb): Expect.
76589 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76590 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76591 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76592 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76593 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76594 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76595 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76596 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76597 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76598 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76599 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76600 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76601 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76602 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76603 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76604 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76605 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76606 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76607 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76608 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76609 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76610 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76611 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76612 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76613 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76614 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76615 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76616 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76617 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76618 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76619 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76620 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76621 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76622 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76623 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76624 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76625 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76626 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76627 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76628 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76629 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76630 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76631 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76632 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76633 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76634 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76635 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76636 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76637 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76638 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76639 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76640 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76641 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76642 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76643 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76644 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76645 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76646 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76647 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76648 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76649 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76650 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76651 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76652 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76653 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76654 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76655 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76656 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76657 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76658 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76659 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76660 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76661 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76662 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76663 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76664 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76665 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76666 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76667 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76668 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76669 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76670 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76671 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76672 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76673 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76674 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76675 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76676 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76677 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76678 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76679 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76680 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76681 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76682 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76683 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76684 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76685 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76686 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76687 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76688 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76689 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76690 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76691 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76692 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76693 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76694 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76695 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76696 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76697 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76698 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76699 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76700 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76701 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76702 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76703 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76704 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76705 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76706 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76707 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76708 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76709 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76710 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76711 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76712 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76713 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76714 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76715 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76716 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76717 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76718 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76719 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76720 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76721 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76722 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76723 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76724 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76725 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76726
76727 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76728 _XOPEN_SOURCE_EXTENDED for XPG4.
76729
76730 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76731
76732 * Makeconfig (localtime): Remove variable.
76733 (inst_localtime-file): Likewise.
76734
76735 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
76736
76737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76738 Update.
76739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76740 Update.
76741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76742 Update.
76743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76744 Update.
76745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76746 Update.
76747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76748 Update.
76749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76750 Update.
76751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76752 Update.
76753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76754 Update.
76755
76756 2012-05-01 Joseph Myers <joseph@codesourcery.com>
76757
76758 [BZ #2550]
76759 [BZ #2570]
76760 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76761 comparisons to determine direction to adjust input.
76762 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76763 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76765 Likewise.
76766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76767 Likewise.
76768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76769 Likewise.
76770 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76771 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76772 Likewise.
76773 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76774 Likewise.
76775 * math/libm-test.inc (nexttoward_test): Add more tests.
76776
76777 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
76778
76779 [BZ #14040]
76780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76781 in version GLIBC_2.1, not GLIBC_2.0.
76782 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76783 Likewise.
76784
76785 2012-04-30 Joseph Myers <joseph@codesourcery.com>
76786
76787 [BZ #13942]
76788 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76789 (1 - x) * (1 + x).
76790 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76791 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76792 * math/libm-test.inc (acos_test): Add more tests.
76793 (asin_test): Likewise.
76794 * sysdeps/i386/fpu/libm-test-ulps: Update.
76795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76796
76797 [BZ #14034]
76798 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76799 of square root.
76800 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76801 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76802 * math/libm-test.inc (acos_test_tonearest): New function.
76803 (acos_test_towardzero): Likewise.
76804 (acos_test_downward): Likewise.
76805 (acos_test_upward): Likewise.
76806 (asin_test_tonearest): Likewise.
76807 (asin_test_towardzero): Likewise.
76808 (asin_test_downward): Likewise.
76809 (asin_test_upward): Likewise.
76810 (main): Call the new functions.
76811 * sysdeps/i386/fpu/libm-test-ulps: Update.
76812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76813
76814 [BZ #13884]
76815 [BZ #13924]
76816 * math/e_exp10.c: Include <float.h>.
76817 (__ieee754_exp10): Handle underflow here rather than multiplying
76818 large negative argument by M_LN10.
76819 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76820 of __ieee754_expf.
76821 * math/e_exp10l.c: Include <float.h>.
76822 (__ieee754_exp10l): Handle underflow here rather than multiplying
76823 large negative argument by M_LN10l.
76824 * math/libm-test.inc (exp10_test): Add another test. Do not allow
76825 spurious overflow exception on underflow.
76826
76827 2012-04-29 Marek Polacek <polacek@redhat.com>
76828
76829 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76830 (__fortify_function): New macro.
76831 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76832 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76833 __extern_always_inline.
76834 * libio/bits/stdio2.h: Likewise.
76835 * libio/bits/stdio.h: Likewise.
76836 * string/string.h: Likewise.
76837 * string/bits/string3.h: Likewise.
76838 * include/stdio.h: Likewise.
76839 * stdlib/bits/stdlib.h: Likewise.
76840 * stdlib/stdlib.h: Likewise.
76841 * rt/bits/mqueue2.h: Likewise.
76842 * rt/mqueue.h: Likewise.
76843 * posix/bits/unistd.h: Likewise.
76844 * posix/unistd.h: Likewise.
76845 * io/bits/poll2.h: Likewise.
76846 * io/bits/fcntl2.h: Likewise.
76847 * io/fcntl.h: Likewise.
76848 * io/sys/poll.h: Likewise.
76849 * misc/bits/syslog.h: Likewise.
76850 * misc/bits/syslog-ldbl.h: Likewise.
76851 * misc/sys/syslog.h: Likewise.
76852 * socket/bits/socket2.h: Likewise.
76853 * socket/sys/socket.h: Likewise.
76854 * debug/tst-chk1.c: Likewise.
76855 * wcsmbs/bits/wchar2.h: Likewise.
76856 * wcsmbs/bits/wchar-ldbl.h: Likewise.
76857 * wcsmbs/wchar.h: Likewise.
76858
76859 2012-04-29 Andreas Jaeger <aj@suse.de>
76860
76861 * Makerules (tests): Remove enable-check-abi protection.
76862 (check-abi-warn): Remove.
76863 (check-abi-%): Remove check-abi-warn usage.
76864
76865 * configure.in: Remove check-abi configure option.
76866 * configure: Regenerated.
76867 * config.make.in (enable-check-abi): Remove.
76868
76869 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
76870
76871 [BZ #14033]
76872 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76873 double functions to double *_finite functions.
76874
76875 [BZ #13941]
76876 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76877 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76878 LDBL_MIN_EXP.
76879 * stdio-common/Makefile (tests): Add tst-sprintf3.
76880 * stdio-common/tst-sprintf3.c: New file.
76881
76882 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76883 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76884
76885 2012-04-28 Joseph Myers <joseph@codesourcery.com>
76886
76887 * conform/conformtest.pl: Remove duplicate typed-constant
76888 handling.
76889
76890 2012-04-28 David S. Miller <davem@davemloft.net>
76891
76892 * Makerules (%.abilist): Add vpath on sysdep_dirs.
76893 (check-abi-%): Remove AWK script prerequisite and explicit
76894 abilist directory.
76895 (check-abi): Rewrite to just diff the symlist with the abilist.
76896 (config-tls, config-abi-config): Delete, no longer used.
76897 (update-abi-%): Remove AWK script and explicit abilist directory.
76898 (update-abi): Rewrite to simply compare and conditionally copy the
76899 symlist and the sysdep abilist file. Remove update-abi-config
76900 checks.
76901 * abilist/ld.abilist: Remove.
76902 * abilist/libBrokenLocale.abilist: Remove.
76903 * abilist/libanl.abilist: Remove.
76904 * abilist/libcrypt.abilist: Remove.
76905 * abilist/libdl.abilist: Remove.
76906 * abilist/librt.abilist: Remove.
76907 * abilist/libthread_db.abilist: Remove.
76908 * abilist/libutil.abilist: Remove.
76909 * scripts/extract-abilist.awk: Remove.
76910 * scripts/merge-abilist.awk: Remove.
76911 * sysdeps/generic/libcidn.abilist: New file.
76912 * sysdeps/generic/libnss_compat.abilist: New file.
76913 * sysdeps/generic/libnss_db.abilist: New file.
76914 * sysdeps/generic/libnss_dns.abilist: New file.
76915 * sysdeps/generic/libnss_files.abilist: New file.
76916 * sysdeps/generic/libnss_hesiod.abilist: New file.
76917 * sysdeps/generic/libnss_nis.abilist: New file.
76918 * sysdeps/generic/libnss_nisplus.abilist: New file.
76919 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76920 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76921 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76922 file.
76923 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76924 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76925 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76926 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76927 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76928 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76929 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76930 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76931 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76932 file.
76933 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76934 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76935 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76936 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76937 file.
76938 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76939 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76940 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76941 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76942 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76943 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76944 file.
76945 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76946 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76947 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76948 file.
76949 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76951 New file.
76952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76953 New file.
76954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76955 New file.
76956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76957 New file.
76958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76959 New file.
76960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76961 New file.
76962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76963 New file.
76964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76965 New file.
76966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76967 New file.
76968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76969 New file.
76970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76971 New file.
76972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76973 New file.
76974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76975 New file.
76976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76977 file.
76978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76979 New file.
76980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76981 New file.
76982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76983 file.
76984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76985 New file.
76986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76987 New file.
76988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76989 file.
76990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76991 New file.
76992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76993 New file.
76994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76995 New file.
76996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76997 New file.
76998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76999 New file.
77000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77001 New file.
77002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77004 file.
77005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77006 New file.
77007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77008 file.
77009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77010 file.
77011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77012 file.
77013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77014 file.
77015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77016 file.
77017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77018 New file.
77019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77020 file.
77021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77022 file.
77023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77024 New file.
77025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77026 file.
77027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77029 file.
77030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77031 New file.
77032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77033 file.
77034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77035 file.
77036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77037 file.
77038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77039 file.
77040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77041 file.
77042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77043 New file.
77044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77045 file.
77046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77047 file.
77048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77049 New file.
77050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77051 file.
77052 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77053 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77054 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77055 file.
77056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77057 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77058 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77059 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77060 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77061 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77062 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77064 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77065 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77068 file.
77069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77070 New file.
77071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77072 file.
77073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77074 file.
77075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77076 file.
77077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77078 file.
77079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77080 file.
77081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77082 New file.
77083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77084 New file.
77085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77086 file.
77087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77088 New file.
77089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77090 file.
77091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77093 file.
77094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77095 New file.
77096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77097 file.
77098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77099 file.
77100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77101 file.
77102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77103 file.
77104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77105 file.
77106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77107 New file.
77108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77109 New file.
77110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77111 file.
77112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77113 New file.
77114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77115 file.
77116
77117 2012-04-28 Joseph Myers <joseph@codesourcery.com>
77118
77119 * conform/conformtest.pl: Fix typo in handling typed-constant from
77120 allow-header.
77121
77122 2012-04-27 Joseph Myers <joseph@codesourcery.com>
77123
77124 * README: Cut down references to pre-2.6 Linux kernels and
77125 Linuxthreads. Update lists of configurations in libc and ports
77126 and sort alphabetically. Say "or newer" with Linux kernel version
77127 requirements.
77128
77129 * config.h.in [IS_IN_build]: Allow compiling without optimization.
77130
77131 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
77132
77133 [BZ #887]
77134 * math/libm-test.inc (logb_test_downward): New test to expose
77135 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77136 rounding mode.
77137
77138 2012-04-27 Joseph Myers <joseph@codesourcery.com>
77139
77140 [BZ #14027]
77141 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77142 to be done.
77143 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77144 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77145
77146 2012-04-26 Joseph Myers <joseph@codesourcery.com>
77147
77148 * sysdeps/unix/i386/brk.S: Remove file.
77149 * sysdeps/unix/i386/dl-brk.S: Likewise.
77150 * sysdeps/unix/i386/pipe.S: Likewise.
77151 * sysdeps/unix/i386/sigreturn.S: Likewise.
77152 * sysdeps/unix/i386/syscall.S: Likewise.
77153 * sysdeps/unix/i386/vfork.S: Likewise.
77154 * sysdeps/unix/i386/wait.S: Likewise.
77155
77156 * sysdeps/unix/common/tcsendbrk.c: Move to ...
77157 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77158
77159 * configure.in (arm*-none*): Do not allow without
77160 --enable-hacker-mode.
77161 (netbsd*): Remove case setting base_os.
77162 (386bsd*): Likewise.
77163 (freebsd*): Likewise.
77164 (bsdi*): Likewise.
77165 (osf*): Likewise.
77166 (sunos*): Likewise.
77167 (ultrix*): Likewise.
77168 (newsos*): Likewise.
77169 (dynix*): Likewise.
77170 (*bsd*): Likewise.
77171 (sysv*): Likewise.
77172 (isc*): Likewise.
77173 (esix*): Likewise.
77174 (sco*): Likewise.
77175 (minix*): Likewise.
77176 (irix4*): Likewise.
77177 (irix6*): Likewise.
77178 (solaris[2-9]*): Likewise.
77179 (none): Likewise.
77180 * configure: Regenerated.
77181
77182 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77183
77184 [BZ #11521]
77185 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77186 overflow or cancellation in calculating denominator.
77187 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77189 down expression to avoid unexpected rounding in newer GCCs.
77190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77191
77192 2012-04-26 David S. Miller <davem@davemloft.net>
77193
77194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77195 long-double compat symbols.
77196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77209
77210 2012-04-25 David S. Miller <davem@davemloft.net>
77211
77212 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77213 HWCAP_* values only after the memory barriers have been defined.
77214 (atomic_full_barrier): Define.
77215 (atomic_read_barrier): Define.
77216 (atomic_write_barrier): Define.
77217
77218 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
77219
77220 * shlib-versions: Add libgcc_s version information.
77221 * sysdeps/generic/libgcc_s.h: Remove.
77222 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77223 libgcc_s.h.
77224 * sysdeps/gnu/unwind-resume.c: Likewise.
77225 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77226
77227 2012-04-25 David S. Miller <davem@davemloft.net>
77228
77229 * sysdeps/unix/sparc/brk.S: Delete.
77230 * sysdeps/unix/sparc/dl-brk.S: Delete.
77231 * sysdeps/unix/sparc/pipe.S: Delete.
77232 * sysdeps/unix/sparc/sysdep.S: Delete.
77233 * sysdeps/unix/sparc/sysdep.h: Delete.
77234 * sysdeps/unix/sparc/vfork.S: Delete.
77235 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77236 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77238 (ret_ERRVAL, r0, r1, MOVE): Define.
77239 (JUMPTARGET): Remove.
77240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77241 sysdeps/unix/sparc/sysdep.h
77242 (ENTRY, END): Remove.
77243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77244
77245 2012-04-25 Joseph Myers <joseph@codesourcery.com>
77246
77247 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77248 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77249 -DIS_IN_build.
77250
77251 * timezone/README: Update upstream location and email address for
77252 tzcode and tzdata.
77253 * timezone/zdump.c: Update from tzcode 2012b.
77254 * timezone/zic.c: Likewise.
77255
77256 * configure.in (libc_cv_as_needed): Remove test.
77257 * configure: Regenerated.
77258 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77259 conditional definition.
77260 [$(have-as-needed) != yes] (no-as-needed): Likewise.
77261 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77262 * config.make.in (have-as-needed): Remove variable.
77263
77264 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
77265 Paul Pluzhnikov <ppluzhnikov@google.com>
77266
77267 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77268 strings correctly.
77269
77270 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
77271
77272 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77273 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77274 * sysdeps/sh/strlen.S: Likewise.
77275
77276 2012-04-24 Joseph Myers <joseph@codesourcery.com>
77277
77278 * sysdeps/unix/fork.S: Remove file.
77279 * sysdeps/unix/i386/fork.S: Likewise.
77280 * sysdeps/unix/sparc/fork.S: Likewise.
77281
77282 * sysdeps/unix/system.c: Remove file.
77283 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77284
77285 * sysdeps/unix/getegid.S: Remove file.
77286 * sysdeps/unix/geteuid.S: Likewise.
77287
77288 2012-04-24 Roland McGrath <roland@hack.frob.com>
77289
77290 * scripts/check-localplt.awk: New file.
77291 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77292 of diff.
77293 * scripts/data/localplt-generic.data: Add a comment.
77294
77295 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77296 NODE when __dir_mkfile failed.
77297 * sysdeps/mach/hurd/symlinkat.c: Likewise.
77298 Reported by Ludovic Courtès <ludo@gnu.org>.
77299
77300 2012-04-24 Andreas Jaeger <aj@suse.de>
77301
77302 * Makerules (common-clean): Also remove gen-as-const-headers
77303 files.
77304
77305 2012-04-24 Joseph Myers <joseph@codesourcery.com>
77306
77307 * Makerules (native-compile): Do not change working directory for
77308 build. Use $(OUTPUT_OPTION) in command.
77309 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77310
77311 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77312
77313 [BZ #13886]
77314 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77315 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77316 * math/libm-test.inc (floor_test): Add more tests.
77317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77318
77319 2012-04-24 Joseph Myers <joseph@codesourcery.com>
77320
77321 * sysdeps/unix/getdents.c: Remove file.
77322 * sysdeps/unix/sysv/getdents.c: Likewise.
77323 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77324
77325 * sysdeps/unix/syscalls.list (madvise): Add syscall from
77326 sysdeps/unix/mman/syscalls.list.
77327 (mmap): Likewise.
77328 (mprotect): Likewise.
77329 (msync): Likewise.
77330 (munmap): Likewise.
77331 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77332 * sysdeps/unix/mman/syscalls.list: Remove.
77333 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77334
77335 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77336 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77337 * configure: Regenerated.
77338 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77339 $(libgcc_s_suffix).
77340 * config.make.in (libgcc_s_suffix): Remove variable.
77341
77342 2012-04-23 Joseph Myers <joseph@codesourcery.com>
77343
77344 * sysdeps/unix/sysv/gethostname.c: Move to ...
77345 * sysdeps/posix/gethostname.c: ... here.
77346
77347 * sysdeps/unix/execve.S: Remove file.
77348
77349 * sysdeps/unix/_exit.S: Remove file.
77350
77351 2012-04-23 Andreas Jaeger <aj@suse.de>
77352
77353 [BZ #13739]
77354 * manual/Makefile: Remove make dist support, there's no
77355 need for a stand-alone documentation tar ball.
77356 (TEXI2DVI): Define always, it's not in Makeconfig.
77357 (dist): Removed.
77358 (tar-it): Removed.
77359 (edition): Removed.
77360 (glibc-doc-$(edition).tar): Removed
77361 (%.Z): Removed.
77362 (%.gz): Removed.
77363 (%.uu): Removed.
77364 (ETAGS): Remove, it's in Makeconfig.
77365 (move-if-change): Remove, it's in Makeconfig.
77366
77367 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
77368
77369 [BZ #13970]
77370 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77371 (strtod, strtof, strtold, strtol, strtoul, strtoq)
77372 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77373 (strtod_l, strtof_l, strtold_l): Remove __wur.
77374 It is not necessarily an error to ignore strtol's return value.
77375 One can reliably look at the stored endptr to decide whether
77376 the number had valid syntax.
77377
77378 2012-04-21 Andreas Jaeger <aj@suse.de>
77379
77380 [BZ #13739]
77381 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77382
77383 2012-04-21 Joseph Myers <joseph@codesourcery.com>
77384
77385 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77386 * sysdeps/unix/sysv/Versions: Remove file.
77387
77388 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
77389
77390 [BZ #13927]
77391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77392
77393 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
77394
77395 [BZ #7064]
77396 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77397 version from __vm86.
77398
77399 2012-04-20 Joseph Myers <joseph@codesourcery.com>
77400
77401 * sysdeps/unix/common/lxstat.c: Remove file.
77402 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77403
77404 * sysdeps/unix/sysv/Makefile: Remove file.
77405
77406 * sysdeps/unix/sysv/direct.h: Remove file.
77407
77408 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77409 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77410 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77411 * sysdeps/unix/sysv/bits/signum.h: Likewise.
77412 * sysdeps/unix/sysv/bits/stat.h: Likewise.
77413 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77414 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77415
77416 * sysdeps/unix/sysv/setrlimit.c: Remove file.
77417
77418 * sysdeps/unix/xmknod.c: Remove file.
77419 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77420
77421 * sysdeps/unix/sysv/settimeofday.c: Remove file.
77422
77423 * sysdeps/unix/sysv/i386/time.S: Remove file.
77424
77425 * sysdeps/unix/fxstat.c: Remove file.
77426 * sysdeps/unix/xstat.c: Likewise.
77427 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77428
77429 * sysdeps/unix/sysv/sigaction.c: Remove file.
77430
77431 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77432 (sysdep_headers): Remove variable.
77433 [termio.h not in sysdep_headers] (generated): Likewise.
77434 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77435 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77436 * sysdeps/unix/sysv/tcdrain.c: Likewise.
77437 * sysdeps/unix/sysv/tcflow.c: Likewise.
77438 * sysdeps/unix/sysv/tcflush.c: Likewise.
77439 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77440 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77441 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77442 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77443 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77444
77445 * sysdeps/unix/siglist.c: Remove file.
77446
77447 * sysdeps/unix/getppid.S: Remove file.
77448
77449 * sysdeps/unix/mkdir.c: Remove file.
77450 * sysdeps/unix/rmdir.c: Likewise.
77451
77452 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
77453
77454 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77455 ERR_MAX value.
77456 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77457 errlist-compat value.
77458
77459 2012-04-18 David S. Miller <davem@davemloft.net>
77460
77461 * sysdeps/generic/memcopy.h (reg_char): Delete.
77462 * debug/strcat_chk.c: Use char, not reg_char.
77463 * debug/strcpy_chk.c: Likewise.
77464 * debug/strncat_chk.c: Likewise.
77465 * debug/strncpy_chk.c: Likewise.
77466 * string/memchr.c: Likewise.
77467 * string/memrchr.c: Likewise.
77468 * string/rawmemchr.c: Likewise.
77469 * string/strcat.c: Likewise.
77470 * string/strchr.c: Likewise.
77471 * string/strchrnul.c: Likewise.
77472 * string/strcmp.c: Likewise.
77473 * string/strcpy.c: Likewise.
77474 * string/strncat.c: Likewise.
77475 * string/strncmp.c: Likewise.
77476 * string/strncpy.c: Likewise.
77477
77478 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
77479
77480 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77481 __builtin_memcopy is called when src and dest ranges are known to not
77482 overlap.
77483
77484 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
77485
77486 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77487 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77488 fwd_align_merge macro call.
77489 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77490 bwd_align_merge macro call.
77491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77492
77493 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
77494
77495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77496 bwd_align_merge macros.
77497 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77498 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77500
77501 2012-04-18 David S. Miller <davem@davemloft.net>
77502
77503 * sysdeps/sparc/sparc64/memcopy.h: Delete.
77504
77505 2012-04-18 Andreas Jaeger <aj@suse.de>
77506
77507 [BZ# 6794]
77508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77509 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77511
77512 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77513 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77514 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77515
77516 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77517 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77518 Adjust for changed ldbl-128 files.
77519
77520 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77521 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77523
77524 2012-04-17 David S. Miller <davem@davemloft.net>
77525
77526 * sysdeps/sparc/sparc32/memcopy.h: Delete.
77527
77528 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
77529
77530 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77531 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77532 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77533 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77534 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77535 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77536
77537 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77538
77539 [BZ #6794]
77540 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77541 * math/libm-test.inc: Add ilogb errno and exception tests.
77542 * math/w_ilogb.c: New file: ilogb wrapper.
77543 * math/w_ilogbf.c: New file: ilogbf wrapper.
77544 * math/w_ilogbl.c: New file: ilogbl wrapper.
77545 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77546 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77547 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77548 exception being thrown with 0.0 as argument.
77549 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77550 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77551 exception being thrown with 0.0 as argument.
77552 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77553 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77554 exception being thrown with 0.0 as argument.
77555 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77556 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77557 exception being thrown with 0.0 as argument.
77558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77559 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77560 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77561 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77563 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77564 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77565 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77566 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77567
77568 2012-04-17 Petr Baudis <pasky@ucw.cz>
77569
77570 * include/sys/uio.h: Change __vector to __iovec to avoid clash
77571 with altivec.
77572
77573 2012-04-16 Marek Polacek <polacek@redhat.com>
77574
77575 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77576
77577 2012-04-16 Marek Polacek <polacek@redhat.com>
77578
77579 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77580 operands of fdivp instruction.
77581
77582 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
77583
77584 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77585 * elf/tst-auditmod3b.c: Likewise.
77586 * elf/tst-auditmod4b.c: Likewise.
77587 * elf/tst-auditmod5b.c: Likewise.
77588 * elf/tst-auditmod6b.c: Likewise.
77589 * elf/tst-auditmod6c.c: Likewise.
77590 * elf/tst-auditmod7b.c: Likewise.
77591 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77592 * sysdeps/x86_64/preconfigure.in: Likewise.
77593 * sysdeps/x86_64/preconfigure: Regenerated.
77594
77595 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
77596
77597 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77598 __ILP32__.
77599
77600 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
77601
77602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77603 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77604
77605 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
77606
77607 [BZ #13973]
77608 * locale/iso-639.def: Fix gl language name. Spotted by
77609 Yaron Shahrabani.
77610
77611 2012-04-12 Roland McGrath <roland@hack.frob.com>
77612
77613 [BZ #2074]
77614 * libio/libio.h (__io_write_fn): Update comment.
77615
77616 2012-04-12 Petr Baudis <pasky@ucw.cz>
77617
77618 [BZ #2074]
77619 * stdio.texi (Hook Functions): The user provided writer function
77620 is not allowed to return -1.
77621
77622 2012-04-11 David S. Miller <davem@davemloft.net>
77623
77624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77625
77626 2012-04-11 Mike Frysinger <vapier@gentoo.org>
77627
77628 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77629 Add a leading slash to rtkaio.
77630
77631 2012-04-11 Jim Meyering <meyering@redhat.com>
77632
77633 [BZ #11959]
77634 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77635 It is not necessarily an error to ignore fwrite's return
77636 value. One can reliably use ferror to test for errors after
77637 the fact.
77638
77639 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
77640
77641 * bits/types.h (__snseconds_t): New type.
77642 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77643
77644 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77646 (__SNSECONDS_T_TYPE): Likewise.
77647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77648 (__SNSECONDS_T_TYPE): Likewise.
77649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77650 (__SNSECONDS_T_TYPE): Likewise.
77651
77652 2012-04-10 Andreas Jaeger <aj@suse.de>
77653
77654 [BZ #2636]
77655 * manual/time.texi (Processor Time): Return type of times is
77656 elapsed real time since an arbitrary point in the past.
77657 (CPU Time): Move CLK_TCK from here...
77658 (Processor Time): ...to here. Correct description.
77659 * manual/conf.texi (Constants for Sysconf): Correct description of
77660 _SC_CLK_TCK.
77661
77662 2012-04-10 David S. Miller <davem@davemloft.net>
77663
77664 [BZ #13967]
77665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77666 where the is a gap between DT_REL(A) and DT_JMPREL.
77667
77668 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
77669
77670 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77671 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77672 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77673
77674 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
77675
77676 * elf/dl-support.c (_dl_inhibit_cache): New variable.
77677 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77678 (dl_main): Handle --inhibit-cache.
77679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77680 _dl_inhibit_cache.
77681 * elf/dl-load.c (_dl_map_object): Use it.
77682 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77683
77684 2012-04-09 Joseph Myers <joseph@codesourcery.com>
77685
77686 [BZ #13872]
77687 * sysdeps/i386/fpu/e_powl.S (p78): New object.
77688 (__ieee754_powl): Saturate large exponents rather than testing for
77689 overflow of y*log2(x).
77690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77691 * math/libm-test.inc (pow_test): Do not permit spurious overflow
77692 exceptions.
77693
77694 [BZ #11521]
77695 * math/s_ctan.c: Include <float.h>.
77696 (__ctan): Avoid internal overflow or cancellation in calculating
77697 denominator.
77698 * math/s_ctanf.c: Likewise.
77699 * math/s_ctanl.c: Likewise.
77700 * math/s_ctanh.c: Likewise.
77701 * math/s_ctanhf.c: Likewise.
77702 * math/s_ctanhl.c: Likewise.
77703 * math/libm-test.inc (ctan_test): Add more tests.
77704 (ctanh_test): Likewise.
77705 * sysdeps/i386/fpu/libm-test-ulps: Update.
77706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77707
77708 2012-04-09 Andreas Jaeger <aj@suse.de>
77709
77710 [BZ #6894]
77711 * manual/filesys.texi (Directory Entries): Mention that d_namlen
77712 is an optional BSD extension.
77713
77714 [BZ #10254]
77715 * manual/stdio.texi (Opening Streams): Document additional fopen
77716 parameters.
77717
77718 2012-04-09 Roland McGrath <roland@hack.frob.com>
77719
77720 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77721 %eax without telling the compiler.
77722
77723 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
77724
77725 [BZ # 13963]
77726 * manual/install.texi: Use sourceware.org.
77727
77728 2012-04-09 Joseph Myers <joseph@codesourcery.com>
77729
77730 [BZ #13873]
77731 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77732 (__ieee754_pow): Generate overflow and underflow using huge*huge
77733 and tiny*tiny rather than just returning constant infinity or zero
77734 for large exponents.
77735 * math/libm-test.inc (pow_test): Require overflow exceptions for
77736 applicable cases of large exponents.
77737
77738 [BZ #706]
77739 * sysdeps/i386/fpu/e_pow.S (p10): New object.
77740 (__ieee754_pow): Use iterative multiplication algorithm only for
77741 integer exponents with absolute value below 1024. Check for odd
77742 integer exponents when using algorithm for real exponents.
77743 * math/libm-test.inc (pow_test): Add more tests.
77744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77745
77746 2012-04-08 Joseph Myers <joseph@codesourcery.com>
77747
77748 [BZ #13705]
77749 * math/libm-test.inc (exp_test): Do not allow overflow exception
77750 on underflow test.
77751
77752 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
77753
77754 [BZ #13705]
77755 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77756 instead of __kernel_standard_f.
77757
77758 2012-04-08 Mike Frysinger <vapier@gentoo.org>
77759
77760 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77761 * sysdeps/x86_64/memset_chk.S: Likewise.
77762
77763 2012-04-08 Andreas Jaeger <aj@suse.de>
77764
77765 [BZ #10153]
77766 * manual/startup.texi (Environment Access): Describe return value
77767 for putenv and setenv.
77768
77769 [BZ #6895]
77770 * manual/filesys.texi (Directory Entries): Add description for
77771 DT_LNK.
77772
77773 [BZ #6890]
77774 * manual/filesys.texi (Directory Entries): Clarify that it's file
77775 system not operating system in the description of DT_UNKNOWN.
77776
77777 [BZ #6578]
77778 * manual/syslog.texi (closelog): Fix reference, it's openlog.
77779
77780 2012-04-08 Stephen Compall <s11@member.fsf.org>
77781
77782 [BZ #6649]
77783 * manual/llio.texi (Opening and Closing Files): Add cross
77784 reference to explain mode argument.
77785
77786 2012-04-07 Mike Frysinger <vapier@gentoo.org>
77787
77788 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77789 * sysdeps/x86_64/memset_chk.S: Likewise.
77790
77791 2012-04-07 David S. Miller <davem@davemloft.net>
77792
77793 * elf/elf.h (R_SPARC_WDISP10): Define.
77794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77795 R_SPARC_SIZE32.
77796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77797 R_SPARC_SIZE64 and R_SPARC_H34.
77798
77799 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
77800
77801 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77802 conditions and remove no longer applicable assertion.
77803
77804 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
77805
77806 * bits/byteswap.h: Include <features.h>.
77807 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77808 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77809
77810 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
77811
77812 * bits/byteswap.h (__bswap_16): Removed.
77813 Include <bits/byteswap-16.h> to get __bswap_16.
77814 * sysdeps/i386/bits/byteswap.h: Likewise.
77815 * sysdeps/s390/bits/byteswap.h: Likewise.
77816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
77817 * bits/byteswap-16.h: New file.
77818 * sysdeps/i386/bits/byteswap-16.h: Likewise.
77819 * sysdeps/s390/bits/byteswap-16.h: Likewise.
77820 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77821 * string/Makefile (headers): Add bits/byteswap-16.h.
77822
77823 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
77824
77825 [BZ #13895]
77826 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77827 extra indirection.
77828 * nss/Makefile (tests-static, tests): Add tst-nss-static.
77829 * nss/tst-nss-static.c: New.
77830
77831 2012-04-06 Robert Millan <rmh@gnu.org>
77832
77833 [BZ #6486]
77834 * manual/llio.texi (File Position Primitive): lseek
77835 refers to WHENCE when it really means OFFSET.
77836
77837 2012-04-06 Andreas Jaeger <aj@suse.de>
77838
77839 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77840 strncmp declarations.
77841
77842 * abilist/libc.abilist: Add __poll and __ppoll.
77843
77844 2012-04-05 David S. Miller <davem@davemloft.net>
77845
77846 * scripts/check-local-headers.sh: Accept a host triplet in the
77847 path matched by the exclude regexp.
77848
77849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77850 definition.
77851 * sysdeps/powerpc/powerpc32/dl-machine.h
77852 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77853 * sysdeps/s390/s390-32/dl-machine.h
77854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77855 * sysdeps/sparc/sparc32/dl-machine.h
77856 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77857 * sysdeps/sparc/sparc64/dl-machine.h
77858 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77859
77860 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77861 lazy binding.
77862 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77863 undefined symbol errors.
77864
77865 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77866 DT_NEEDED entries.
77867
77868 2012-04-05 Michael Matz <matz@suse.de>
77869
77870 [BZ #13592]
77871 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77872
77873 2012-04-05 Andreas Jaeger <aj@suse.de>
77874
77875 [BZ #13908]
77876 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77877 comment.
77878
77879 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77880
77881 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77882 which ROUND is no valid rounding mode.
77883
77884 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77885
77886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77887 read again.
77888 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77889
77890 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77891
77892 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77893 an exception using FPU order intentionally.
77894
77895 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77896
77897 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77898 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77899 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77900 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77901
77902 2012-04-05 Simon Josefsson <simon@josefsson.org>
77903
77904 [BZ #12340]
77905 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77906 EINVAL when BUFLEN is too smal.
77907
77908 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
77909
77910 [BZ #13553]
77911 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77912 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77913
77914 2012-04-03 Andreas Jaeger <aj@suse.de>
77915
77916 [BZ #13938]
77917 * manual/setjmp.texi (System V contexts): Fix sentence.
77918
77919 [BZ #13926]
77920 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77921 New macro for this case.
77922 [!__GNUC__] (__bswap_64): New inline function for this case.
77923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
77924 * bits/byteswap.h: Likewise.
77925 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77926 ull, guard with __GLIBC_HAVE_LONG_LONG.
77927
77928 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77929 __GLIBC_HAVE_LONG_LONG.
77930
77931 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77932 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77933
77934 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77935
77936 [BZ #13691]
77937 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77938 inptr and inend, rather than using last_ch.
77939
77940 2012-04-02 David S. Miller <davem@davemloft.net>
77941
77942 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77943 * stdio-common/printf-parse.h (read_int): Change return type to
77944 'int', return -1 on INT_MAX overflow.
77945 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77946 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
77947 overflows INT_MAX. Check for overflow of in-format-string precision
77948 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
77949 SIZE_MAX not INT_MAX for integer overflow test.
77950 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77951 skip the construct in the format string but do not record anything.
77952 * stdio-common/bug22.c: Adjust to test both width/prevision
77953 INT_MAX overflow as well as total length INT_MAX overflow. Check
77954 explicitly for proper errno values.
77955
77956 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
77957
77958 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77959 CHAR_MAX.
77960 * string/test-strcmp.c [! WIDE]: Likewise.
77961 * time/tst-mktime2.c: Likewise for INT_MAX.
77962 * string/test-string.h: #include <sys/param.h> for MIN.
77963
77964 * csu/init-first.c (__libc_init_first): Call __ctype_init.
77965 * sysdeps/i386/init-first.c (init): Likewise.
77966 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77967 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77968 * sysdeps/sh/init-first.c (init): Likewise.
77969
77970 2012-04-01 Ulrich Drepper <drepper@gmail.com>
77971
77972 * po/ru.po: Update from translation team.
77973 * po/vi.po: Likewise.
77974
77975 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
77976
77977 * resolv/nss_dns/dns-host.c: Merge copyright years.
77978
77979 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77980
77981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77982 Optimize memcpy with prefetch if
77983 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
77984 src, dst pointers have unequal 16 byte alignments.
77985
77986 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
77987
77988 [BZ #13928]
77989 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77990 from a CNAME entry and return the minimum ttl for the query.
77991 (gaih_getanswer_slice): Likewise.
77992
77993 2012-03-30 Jeff Law <law@redhat.com>
77994
77995 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77996 due to long keys.
77997 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77998 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77999
78000 * resolv/nss_dns/dns-host.c: Update copyright year.
78001
78002 2012-03-30 Ulrich Drepper <drepper@gmail.com>
78003
78004 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78005 requests to save a system call. Fix check that all bytes are sent.
78006
78007 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78008 comments for sendmmsg.
78009
78010 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78011
78012 [BZ #13691]
78013 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78014 with only 1 character between 0x0041 and 0x01b0.
78015 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78016 * wcsmbs/tst-mbsnrtowcs.c: New file.
78017
78018 2012-03-29 David S. Miller <davem@davemloft.net>
78019
78020 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78021 small copies by hand.
78022
78023 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
78024
78025 [BZ #13761]
78026 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78027 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78028 group memberships.
78029
78030 2012-03-28 David S. Miller <davem@davemloft.net>
78031
78032 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78033 that branches into memcpy.
78034 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78037 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78039 bits.
78040 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78041 implementation too.
78042 * sysdeps/sparc/mempcpy.S: New file.
78043
78044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78045 the IFUNC routine in the libc case.
78046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78047
78048 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78049 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78050 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78051 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78052 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78053 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78054 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78055 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78056
78057 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78058 loop to 256 bytes instead of 64 bytes and fix test signedness.
78059
78060 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78061 * sysdeps/sparc/sparc32/Makefile: rather than here...
78062 * sysdeps/sparc/sparc64/Makefile: and here.
78063
78064 2012-03-28 Ulrich Drepper <drepper@gmail.com>
78065
78066 * malloc/mallocbug.c: Avoid warnings about unused variables.
78067
78068 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
78069
78070 [BZ #13760]
78071 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78072 in the right place. Discard and retry query if response is
78073 larger than input buffer size.
78074
78075 2012-03-28 Joseph Myers <joseph@codesourcery.com>
78076
78077 [BZ #369]
78078 [BZ #2678]
78079 [BZ #3866]
78080 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78081 x for large integer exponent.
78082 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78083 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
78084 sign of result as needed afterwards.
78085 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78086 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78087 result for underflowing pow the same as for overflow.
78088 (__kernel_standard_l): Handle powl overflow and underflow here
78089 rather than calling __kernel_standard.
78090 * math/libm-test.inc (pow_test): Add more tests.
78091
78092 [BZ #3868]
78093 [BZ #13879]
78094 [BZ #13910]
78095 [BZ #13911]
78096 [BZ #13912]
78097 [BZ #13913]
78098 [BZ #13915]
78099 [BZ #13916]
78100 [BZ #13917]
78101 [BZ #13918]
78102 [BZ #13919]
78103 [BZ #13920]
78104 [BZ #13921]
78105 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78106 * sysdeps/ieee754/k_standard.c: Include <float.h>.
78107 (__kernel_standard_l): New function.
78108 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78109 __kernel_standard.
78110 * math/w_acosl.c (__acosl): Likewise.
78111 * math/w_asinl.c (__asinl): Likewise.
78112 * math/w_atan2l.c (__atan2l): Likewise.
78113 * math/w_atanhl.c (__atanhl): Likewise.
78114 * math/w_coshl.c (__coshl): Likewise.
78115 * math/w_exp10l.c (__exp10l): Likewise.
78116 * math/w_exp2l.c (__exp2l): Likewise.
78117 * math/w_fmodl.c (__fmodl): Likewise.
78118 * math/w_hypotl.c (__hypotl): Likewise.
78119 * math/w_j0l.c (__j0l, __y0l): Likewise.
78120 * math/w_j1l.c (__j1l, __y1l): Likewise.
78121 * math/w_jnl.c (__jnl, __ynl): Likewise.
78122 * math/w_lgammal.c (__lgammal): Likewise.
78123 * math/w_log10l.c (__log10l): Likewise.
78124 * math/w_log2l.c (__log2l): Likewise.
78125 * math/w_logl.c (__logl): Likewise.
78126 * math/w_powl.c (__powl): Likewise.
78127 * math/w_remainderl.c (__remainderl): Likewise.
78128 * math/w_scalbl.c (sysv_scalbl): Likewise.
78129 * math/w_sinhl.c (__sinhl): Likewise.
78130 * math/w_sqrtl.c (__sqrtl): Likewise.
78131 * math/w_tgammal.c (__tgammal): Likewise.
78132 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78133 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78134 * math/libm-test.inc (acos_test): Add more tests.
78135 (acosh_test): Likewise.
78136 (asin_test): Likewise.
78137 (atanh_test): Likewise.
78138 (exp_test): Likewise.
78139 (exp10_test): Likewise.
78140 (exp2_test): Likewise.
78141 (expm1_test): Likewise.
78142 (lgamma_test): Likewise.
78143 (log_test): Likewise.
78144 (log10_test): Likewise.
78145 (log1p_test): Likewise.
78146 (log2_test): Likewise.
78147 (pow_test): Do not allow some spurious overflow exceptions.
78148 (sqrt_test): Add more tests.
78149 (tgamma_test): Likewise.
78150 (y0_test): Likewise.
78151 (y1_test): Likewise.
78152 (yn_test): Likewise.
78153
78154 2012-03-27 Anton Blanchard <anton@samba.org>
78155
78156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78157 MAP_HUGETLB.
78158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78161
78162 2012-03-27 David S. Miller <davem@davemloft.net>
78163
78164 * conform/Makefile: Run run-conformtest.sh using $(BASH).
78165
78166 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78167 have-as-vis3 check.
78168
78169 2012-03-27 Andreas Jaeger <aj@suse.de>
78170
78171 * sysdeps/x86_64/elf/configure.in: Moved to ...
78172 * sysdeps/x86_64/configure.in: ... here.
78173 * sysdeps/x86_64/elf/start.S: Moved to ...
78174 * sysdeps/x86_64/start.S: ... here.
78175 * sysdeps/x86_64/elf/configure: Delete.
78176
78177 * sysdeps/x86_64/configure.in: Merge contents from
78178 sysdeps/i386/configure.in (without i686 check).
78179
78180 * sysdeps/i386/elf/Versions: Merge into ...
78181 * sysdeps/i386/Versions: ... this.
78182 * sysdeps/i386/elf/Versions: Delete file.
78183 * sysdeps/i386/elf/start.S: Moved to ...
78184 * sysdeps/i386/start.S: ...here.
78185 * sysdeps/i386/elf/configure.in: Merge into...
78186 * sysdeps/i386/configure.in: ...here.
78187 * sysdeps/i386/elf/configure.in: Delete file.
78188 * sysdeps/i386/elf/configure: Delete file.
78189
78190 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78191 * debug/backtracesyms.c: ... here.
78192 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78193 * debug/backtracesymsfd.c: ... here.
78194 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78195 * sysdeps/generic/ifunc-sel.h: ... here.
78196
78197 * sysdeps/unix/i386/start.c: Delete file.
78198 * sysdeps/unix/sparc/start.c: Delete file.
78199 * sysdeps/unix/start.c: Delete file.
78200
78201 * sysdeps/sh/elf/configure.in: Moved to ...
78202 * sysdeps/sh/configure.in: ... here.
78203 * sysdeps/sh/elf/start.S: Moved to ...
78204 * sysdeps/sh/start.S: ... here.
78205 * sysdeps/sh/elf/configure: Delete file.
78206
78207 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78208 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78209 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78210 * sysdeps/powerpc/powerpc64/entry.h: ... here.
78211 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78212 * sysdeps/powerpc/powerpc64/start.S: here.
78213 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78214 * sysdeps/powerpc/powerpc64/Makefile: ... this.
78215 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78216 * sysdeps/powerpc/powerpc64/configure.in: ... this.
78217 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78218
78219 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78220 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78221 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78222 * sysdeps/powerpc/powerpc32/start.S: ... here.
78223 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78224 * sysdeps/powerpc/powerpc32/configure.in: ... this.
78225 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78226
78227 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78228 * sysdeps/powerpc/ifunc-sel.h: ... here.
78229 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78230 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78231
78232 * sysdeps/sparc/elf/configure.in: Moved to ...
78233 * sysdeps/sparc/configure.in: ... here.
78234 * sysdeps/sparc/elf/configure: Delete file.
78235 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78236 * sysdeps/sparc/sparc32/start.S: ... here.
78237 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78238 * sysdeps/sparc/sparc64/start.S: ... here.
78239 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78240 * sysdeps/sparc/sparc32/Makefile: ... this.
78241 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78242 * sysdeps/sparc/sparc64/Makefile: ... this.
78243
78244 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78245 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78246 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78247 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78248 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78249 * sysdeps/s390/s390-32/setjmp.S: ... here.
78250 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78251 * sysdeps/s390/s390-32/configure.in: ... here.
78252 * sysdeps/s390/s390-32/elf/configure: Delete file.
78253 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78254 * sysdeps/s390/s390-32/start.S: ... here.
78255
78256 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78257 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78258 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78259 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78260 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78261 * sysdeps/s390/s390-64/setjmp.S: ... here.
78262 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78263 * sysdeps/s390/s390-64/configure.in: ... here
78264 * sysdeps/s390/s390-64/elf/configure: Delete file.
78265 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78266 * sysdeps/s390/s390-64/start.S: ... here.
78267 * sysdeps/s390/s390-64/elf/configure: Delete.
78268
78269 * configure.in: Remove support for elf directories in sysdeps.
78270
78271 * configure: Regenerated.
78272 * sysdeps/i386/configure: Regenerated.
78273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
78274 * sysdeps/powerpc/powerpc64/configure: Regenerated.
78275 * sysdeps/s390/s390-32/configure: Regenerated.
78276 * sysdeps/s390/s390-64/configure: Regenerated.
78277 * sysdeps/sh/configure: Regenerated.
78278 * sysdeps/sparc/configure: Regenerated.
78279 * sysdeps/x86_64/configure: Regenerated.
78280
78281 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
78282
78283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78284
78285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78286 denormal result into account.
78287
78288 2012-03-25 Roland McGrath <roland@hack.frob.com>
78289
78290 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78291 Reported by Allan McRae <allan@archlinux.org>.
78292
78293 2012-03-23 Jeff Law <law@redhat.com>
78294
78295 * nss/getnssent.c (__nss_getent): Fix typo.
78296
78297 2012-03-23 David S. Miller <davem@davemloft.net>
78298
78299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78300
78301 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
78302
78303 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78304 to pad to uint64_t for each field.
78305 (dl_tls_index): Replace unsigned long with uint64_t.
78306
78307 2012-03-23 Daniel Jacobowitz <dmj@google.com>
78308 Paul Pluzhnikov <ppluzhnikov@google.com>
78309
78310 [BZ #6528]
78311 * grp/Makefile (otherlibs): Don't set it.
78312 * inet/Makefile (otherlibs): Likewise.
78313 * login/Makefile (otherlibs): Likewise.
78314 * nscd/Makefile (otherlibs): Likewise.
78315 * posix/Makefile (otherlibs): Likewise.
78316 * pwd/Makefile (otherlibs): Likewise.
78317 * rt/Makefile (otherlibs): Likewise.
78318 * sunrpc/Makefile (otherlibs): Likewise.
78319 * nss/Makefile (otherlibs): Likewise.
78320 Add libnss_files to routines and static-only-routines.
78321 ($(objpfx)getent): Remove rule.
78322 * resolv/Makefile: Add libnss_dns and libresolv to routines and
78323 static-only-routines.
78324
78325 2012-03-22 Joseph Myers <joseph@codesourcery.com>
78326
78327 [BZ #13892]
78328 * math/s_cexp.c: Include <float.h>.
78329 (__cexp): Handle exp result overflowing not necessarily
78330 overflowing both real and imaginary parts of result.
78331 * math/s_cexpf.c: Likewise.
78332 * math/s_cexpl.c: Likewise.
78333 * math/libm-test.inc (cexp_test): Add more tests.
78334 * sysdeps/i386/fpu/libm-test-ulps: Update.
78335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78336
78337 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
78338
78339 * include/link.h (ELFW): New macro.
78340 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78341 Replace ELF64_R_TYPE with ELFW(R_TYPE).
78342
78343 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
78344
78345 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78346 with uint64_t.
78347
78348 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
78349
78350 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78351 declaration.
78352 (struct La_x32_retval): Likewise.
78353
78354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
78355
78356 * sysdeps/x86_64/preconfigure.in: New file.
78357 * sysdeps/x86_64/preconfigure: New generated file.
78358
78359 2012-03-22 Joseph Myers <joseph@codesourcery.com>
78360
78361 [BZ #13824]
78362 * math/e_exp2l.c: Include <float.h>.
78363 (__ieee754_exp2l): Handle overflow and underflow cases
78364 separately. Only pass fractional part of argument to
78365 __ieee754_expl.
78366 * math/libm-test.inc (exp2_test): Add more tests.
78367
78368 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78369 negating x to take absolute value.
78370 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78371 Likewise.
78372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78374 Likewise.
78375 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78376 computing low part if x was negated.
78377 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78378
78379 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
78380
78381 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78382 la_x32_gnu_pltexit.
78383 (pltexit): Cast int_retval to ptrdiff_t.
78384 * elf/tst-auditmod3b.c: Likewise.
78385 * elf/tst-auditmod4b.c: Likewise.
78386 * elf/tst-auditmod5b.c: Likewise.
78387 * elf/tst-auditmod6b.c: Likewise.
78388 * elf/tst-auditmod6c.c: Likewise.
78389 * elf/tst-auditmod7b.c: Likewise.
78390
78391 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78392 and x32_gnu_pltexit.
78393
78394 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78395 __ELF_NATIVE_CLASS.
78396 (La_x32_regs): New macro.
78397 (La_x32_retval): Likewise.
78398 (la_x32_gnu_pltenter): New function prototype.
78399 (la_x32_gnu_pltexit): Likewise.
78400
78401 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
78402
78403 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78404 exponent.
78405
78406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78407
78408 * configure.in (libc_cv_cc_nofma): Check for option to disable
78409 generation of FMA instructions.
78410 * configure: Regenerate.
78411 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78412 * sysdeps/ieee754/dbl-64/Makefile: New file.
78413 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78414 Remove brandred-fma4.
78415 (CFLAGS-brandred-fma4.c): Remove.
78416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78418 define.
78419 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78420 define.
78421
78422 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
78423
78424 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78425 LLONG_MAX != LONG_MAX.
78426 (_itoa_word): Use _ITOA_WORD_TYPE on value.
78427 (_fitoa_word): Likewise.
78428 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78429 LLONG_MAX != LONG_MAX.
78430 * stdio-common/_itowa.h: Include <_itoa.h>.
78431 (_itowa_word): Use _ITOA_WORD_TYPE on value.
78432 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
78433 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
78434 only if not defined.
78435 (_ITOA_WORD_TYPE): Likewise.
78436 (_itoa_word): Use _ITOA_WORD_TYPE on value.
78437 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78438
78439 2012-03-21 David S. Miller <davem@davemloft.net>
78440
78441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78442
78443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
78444
78445 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78446 of x86_64 when setting libc_cv_slibdir, libdir and
78447 libc_cv_localedir.
78448 * sysdeps/unix/sysv/linux/configure: Regenerated.
78449
78450 2012-03-21 Joseph Myers <joseph@codesourcery.com>
78451
78452 * manual/lang.texi (Old Varargs): Remove section.
78453 (How Variadic): Update menu.
78454 (va_start): Do not mention varargs.h.
78455
78456 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
78457 Joseph Myers <joseph@codesourcery.com>
78458
78459 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78460 link test.
78461 * configure: Regenerated.
78462
78463 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
78464
78465 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78466 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78467 conformtest.pl
78468
78469 2012-03-21 Joseph Myers <joseph@codesourcery.com>
78470
78471 * NOTES: Remove.
78472 * Makefile (files-for-dist): Remove NOTES.
78473 (NOTES): Remove rule.
78474 * README: Don't refer to NOTES.
78475 * manual/creature.texi: Don't include macros.texi.
78476 * manual/intro.texi (creature.texi): Remove comment referring to
78477 NOTES.
78478
78479 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78480 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78481 * configure: Regenerated.
78482 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78483 LIBC_TRY_CC_OPTION.
78484 (libc_cv_as_i686): Likewise.
78485 (libc_cv_cc_avx): Likewise.
78486 (libc_cv_cc_sse2avx): Likewise.
78487 (libc_cv_cc_fma4): Likewise.
78488 (libc_cv_cc_novzeroupper): Likewise.
78489 * sysdeps/i386/configure: Regenerated.
78490
78491 [BZ #13883]
78492 * sysdeps/i386/fpu/s_cexp.S: Remove.
78493 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78494 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78495 * math/libm-test.inc (cexp_test): Add more tests.
78496 * sysdeps/i386/fpu/libm-test-ulps: Update.
78497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78498
78499 2012-03-21 Allan McRae <allan@archlinux.org>
78500
78501 * timezone/Makefile: Do not install iso3166.tab and zone.tab
78502
78503 2012-03-21 Joseph Myers <joseph@codesourcery.com>
78504
78505 [BZ #13871]
78506 * math/w_exp2.c: Do not include <float.h>.
78507 (o_threshold, u_threshold): Remove.
78508 (__exp2): Calculate result before checking finiteness and calling
78509 __kernel_standard.
78510 * math/w_exp2f.c: Likewise.
78511 * math/w_exp2l.c: Likewise.
78512 * math/libm-test.inc (exp2_test): Require overflow exception for
78513 1e6 input.
78514
78515 [BZ #3866]
78516 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78517 range of signed 64-bit integers before using fistpll. Remove
78518 checks for whether integers fit in mantissa bits.
78519 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78520 the range of signed 32-bit integers before using fistpl. Remove
78521 checks for whether integers fit in mantissa bits.
78522 * sysdeps/i386/fpu/e_powl.S (p64): New object.
78523 (__ieee754_powl): Test for y outside the range of signed 64-bit
78524 integers before using fistpll. Reduce 64-bit values to 63-bit
78525 ones as needed.
78526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78527 divide-by-zero is raised for zero to large negative powers.
78528 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78529 (__ieee754_powl): Test for y outside the range of signed 64-bit
78530 integers before using fistpll. Reduce 64-bit values to 63-bit
78531 ones as needed.
78532 * math/libm-test.inc (pow_test): Add more tests.
78533
78534 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
78535
78536 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78537 <stdio-common/_itoa.h>.
78538 * debug/segfault.c: Likewise.
78539 * elf/dl-cache.c: Likewise.
78540 * elf/dl-minimal.c: Likewise.
78541 * elf/dl-misc.c: Likewise.
78542 * elf/dl-sysdep.c: Likewise.
78543 * elf/dl-version.c: Likewise.
78544 * elf/rtld.c: Likewise.
78545 * hurd/hurdsock.c: Likewise.
78546 * hurd/lookup-retry.c: Likewise.
78547 * malloc/malloc.c: Likewise.
78548 * malloc/mtrace.c: Likewise.
78549 * nscd/nscd_getgr_r.c: Likewise.
78550 * nscd/nscd_getpw_r.c: Likewise.
78551 * nscd/nscd_getserv_r.c: Likewise.
78552 * posix/getopt_init.c: Likewise.
78553 * posix/wordexp.c: Likewise.
78554 * stdio-common/_itoa.c: Likewise.
78555 * stdio-common/printf_fphex.c: Likewise.
78556 * stdio-common/vfprintf.c: Likewise.
78557 * string/_strerror.c: Likewise.
78558 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78559 * sysdeps/i386/i686/hp-timing.h: Likewise.
78560 * sysdeps/mach/_strerror.c: Likewise.
78561 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78562 * sysdeps/mach/hurd/sethostid.c: Likewise.
78563 * sysdeps/mach/hurd/xmknodat.c: Likewise.
78564 * sysdeps/mach/xpg-strerror.c: Likewise.
78565 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78567 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78568 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78569 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78570 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78571 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78572 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78573 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78574 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78575 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78576 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78577 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78578 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78579 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78580 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78581 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78582 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78583 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78584 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78585 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78586
78587 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78588
78589 * stdio-common/_itoa.h: Moved to ...
78590 * sysdeps/generic/_itoa.h: Here.
78591
78592 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78593
78594 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78595 instead of "_itoa.h" and "_itowa.h".
78596 * stdio-common/vfprintf.: Likewise.
78597
78598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
78599
78600 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78601 <bits/wordsize.h>.
78602 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78603 (__signbit): Likewise.
78604 (llrintf): Likewise.
78605 (llrint): Likewise.
78606
78607 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
78608
78609 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78610 __WORDSIZE != 64.
78611
78612 2012-03-20 Joseph Myers <joseph@codesourcery.com>
78613
78614 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78615 OVERFLOW_EXCEPTION_OK.
78616 * math/libm-test.inc ("Philosophy"): Update comment about
78617 exception testing.
78618 (OVERFLOW_EXCEPTION): Define.
78619 (OVERFLOW_EXCEPTION_OK): Likewise.
78620 (INVALID_EXCEPTION_OK): Renumber.
78621 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78622 (IGNORE_ZERO_INF_SIGN): Likewise.
78623 (test_exceptions): Handle FE_OVERFLOW.
78624 (exp10_test): Expect overflow exceptions.
78625 (exp2_test): Likewise.
78626 (expm1_test): Likewise.
78627 (nextafter_test): Likewise.
78628 (pow_test): Likewise.
78629 (scalbn_test): Likewise.
78630 (scalbln_test): Likewise.
78631
78632 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78633
78634 * sysdeps/x86_64/bits/atomic.h
78635 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78636 64bit integer.
78637 (atomic_exchange_acq): Likewise.
78638 (__arch_exchange_and_add_body): Likewise.
78639 (__arch_add_body): Likewise.
78640 (atomic_add_negative): Likewise.
78641 (atomic_add_zero): Likewise.
78642
78643 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78644
78645 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78646 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78647
78648 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78649
78650 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78651 Check __x86_64__ instead of __WORDSIZE.
78652
78653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78654
78655 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78656
78657 2012-03-19 David S. Miller <davem@davemloft.net>
78658
78659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78660
78661 * sysdeps/sparc/fpu/fenv_private.h: New file.
78662 * sysdeps/sparc/fpu/math_private.h: Use it.
78663 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78664 Remove.
78665 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78666 (libc_feholdexcept_setroundl): Remove.
78667 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78668 Remove.
78669 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78670 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78671
78672 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78673
78674 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78675 int64_t instead of long int.
78676 (INSERT_WORDS64): Likewise.
78677
78678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
78679
78680 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78681 _Unwind_GetCFA return to _Unwind_Ptr first.
78682
78683 2012-03-19 Joseph Myers <joseph@codesourcery.com>
78684
78685 [BZ #13629]
78686 * math/s_clog.c: Include <float.h>.
78687 (__clog): Scale large or subnormal inputs.
78688 * math/s_clogf.c: Likewise.
78689 * math/s_clogl.c: Likewise.
78690 * math/s_clog10.c: Include <float.h>.
78691 (M_LOG10_2): Define.
78692 (__clog10): Scale large or subnormal inputs.
78693 * math/s_clog10f.c: Likewise.
78694 * math/s_clog10l.c: Likewise.
78695 * math/libm-test.inc (clog_test): Add more tests.
78696 (clog10_test): Likewise.
78697 * sysdeps/i386/fpu/libm-test-ulps: Update.
78698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78699
78700 [BZ #11451]
78701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78702 x and y.
78703 * math/libm-test.inc (atan2_test): Add another test.
78704
78705 * Makerules (common-objdir-compile): Remove.
78706 * sysdeps/unix/Makefile (config-generated): Do not add
78707 $(unix-generated) to variable.
78708 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78709 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78710 Remove rule.
78711 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78712 Likewise.
78713 [generic bits/local_lim.h] (before-compile): Do not append to
78714 variable.
78715 [generic bits/local_lim.h] (common-generated): Likewise.
78716 [generic sys/param.h] (before-compile): Do not append to variable.
78717 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78718 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78719 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78720 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78721 include.
78722 [generic sys/param.h] (sys/param.h-includes): Remove variable.
78723 [generic sys/param.h] (sys/param.h-includes): Remove rule.
78724 [generic sys/param.h] ($(addprefix
78725 $(common-objpfx),$(sys/param.h-includes))): Likewise.
78726 [generic sys/param.h] (common-generated): Do not append to
78727 variable.
78728 [generic sys/param.h] (sysdep_headers): Likewise.
78729 [generic bits/errno.h] (before-compile): Do not append to
78730 variable.
78731 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78732 rule.
78733 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78734 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78735 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78736 [generic bits/errno.h] (common-generated): Do not append to
78737 variable.
78738 [generic bits/ioctls.h] (before-compile): Do not append to
78739 variable.
78740 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78741 rule.
78742 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78743 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78744 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78745 rule.
78746 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78747 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78748 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78749 [generic bits/ioctls.h] (common-generated): Do not append to
78750 variable.
78751 [generic sys/syscall.h] (syscall.h): Remove variable.
78752 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78753 rule.
78754 [generic sys/syscall.h] (before-compile): Do not append to
78755 variable.
78756 [generic sys/syscall.h] (common-generated): Likewise.
78757 * sysdeps/unix/errnos-tmpl.c: Remove file.
78758 * sysdeps/unix/errnos.awk: Likewise.
78759 * sysdeps/unix/ioctls-tmpl.c: Likewise.
78760 * sysdeps/unix/ioctls.awk: Likewise.
78761 * sysdeps/unix/mk-local_lim.c: Likewise.
78762 * sysdeps/unix/snarf-ioctls: Likewise.
78763
78764 2012-03-19 Richard Henderson <rth@twiddle.net>
78765
78766 * sysdeps/i386/fpu/fenv_private.h: New file.
78767 * sysdeps/i386/fpu/math_private.h: Use it.
78768 (math_opt_barrier, math_force_eval): Remove.
78769 (libc_feholdexcept_setround_53bit): Remove.
78770 (libc_feupdateenv_53bit): Remove.
78771 * sysdeps/x86_64/fpu/math_private.h: Likewise.
78772 (math_opt_barrier, math_force_eval): Remove.
78773 (libc_feholdexcept): Remove.
78774 (libc_feholdexcept_setround): Remove.
78775 (libc_fetestexcept, libc_fesetenv): Remove.
78776 (libc_feupdateenv_test): Remove.
78777 (libc_feupdateenv, libc_feholdsetround): Remove.
78778 (libc_feresetround): Remove.
78779
78780 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78781 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78782
78783 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78784 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78785 (libc_feupdateenv_testl): New.
78786 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78787 (libc_feupdateenv_testf): New.
78788 (libc_feupdateenv): Use libc_feupdateenv_test.
78789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78790 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78791
78792 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78793 (libc_feholdsetroundf, libc_feholdsetroundl): New.
78794 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78795 (libc_feresetround_noex): New.
78796 (libc_feresetround_noexf): New.
78797 (libc_feresetround_noexl): New.
78798 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78799 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78800 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78802 SET_RESTORE_ROUND.
78803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78805 (__cos): Likewise.
78806 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78807 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78808 SET_RESTORE_ROUND_NOEX.
78809 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78810 SET_RESTORE_ROUND_NOEXF.
78811 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78812 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78813 (libc_feholdsetroundf): New.
78814 (libc_feresetround, libc_feresetroundf): New.
78815
78816 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78817 (libc_feholdexcept_setround_53bit): Convert from macro to function.
78818 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
78819
78820 * sysdeps/generic/math_private.h: Include <fenv.h>.
78821 (default_libc_feholdexcept): New.
78822 (default_libc_feholdexcept_setround): New.
78823 (default_libc_fesetenv, default_libc_feupdateenv): New.
78824 (libc_feholdexcept): Only define if undefined.
78825 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78826 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78827 (libc_feholdexcept_setroundl): Likewise.
78828 (libc_feholdexcept_setround_53bit): Likewise.
78829 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78830 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78831 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78832 (libc_feupdateenv_53bit): Likewise.
78833 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78834 (libc_feholdexcept): Convert from macro to inline function.
78835 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78836 (libc_fesetenv, libc_feupdateenv): Likewise.
78837
78838 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78839 not previously defined.
78840 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78841 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78842 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78844 * sysdeps/ieee754/flt-32/math_private.h: New file.
78845 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78846 math_private.h below SET_FLOAT_WORD.
78847 (__isnan, __isinf_ns, __finite): Remove.
78848 (__isnanf, __isinf_nsf, __finitef): Remove.
78849
78850 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
78851
78852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78853
78854 2012-03-17 David S. Miller <davem@davemloft.net>
78855
78856 [BZ #6471]
78857 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78858 for 2.16.
78859
78860 2012-03-16 David S. Miller <davem@davemloft.net>
78861
78862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78863 warnings.
78864
78865 [BZ #6471]
78866 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78867 properly.
78868 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78869 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78870 sysdep_routines when subdir is sysvipc.
78871 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78872 __getshmlba helper.
78873
78874 * sysdeps/sparc/fpu/libm-test/ulps: Update.
78875
78876 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78877
78878 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78879 [__LP64__].
78880
78881 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78882
78883 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78884 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78885 (__lround): Renamed to ...
78886 (__llround): This. Replace long int with long long int.
78887 Define lround functions as aliases of llround functions.
78888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78889
78890 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78891
78892 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78893 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
78894 adresses to uintptr_t. Replace "long int" and "unsigned long
78895 int" with "greg_t" on va_arg.
78896
78897 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78898
78899 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78900 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78901
78902 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78903 Move e_machine check before EI_CLASS check. Handle x32
78904 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78905 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78906 SKIP_EM_IA_64 and include
78907 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78908
78909 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78910 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78911 (add_system_dir): New macro.
78912
78913 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78914 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78915
78916 2012-03-16 Joseph Myers <joseph@codesourcery.com>
78917
78918 [BZ #2551]
78919 [BZ #2552]
78920 [BZ #2553]
78921 [BZ #2554]
78922 [BZ #2562]
78923 [BZ #2563]
78924 [BZ #2565]
78925 [BZ #2566]
78926 [BZ #2576]
78927 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78928 (y0): Likewise.
78929 * math/w_j0f.c (j0f): Likewise.
78930 (y0f): Likewise.
78931 * math/w_j0l.c (__j0l): Likewise.
78932 (__y0l): Likewise.
78933 * math/w_j1.c (j1): Likewise.
78934 (y1): Likewise.
78935 * math/w_j1f.c (j1f): Likewise.
78936 (y1f): Likewise.
78937 * math/w_j1l.c (__j1l): Likewise.
78938 (__y1l): Likewise.
78939 * math/w_jn.c (jn): Likewise.
78940 (yn): Likewise.
78941 * math/w_jnf.c (jnf): Likewise.
78942 (ynf): Likewise.
78943 * math/w_jnl.c (__jnl): Likewise.
78944 (__ynl): Likewise.
78945 * math/libm-test.inc (j0_test): Add more tests.
78946 (j1_test): Likewise.
78947 (jn_test): Likewise. Add trailing semicolon to existing test.
78948 (y0_test): Likewise.
78949 (y1_test): Likewise.
78950 * sysdeps/i386/fpu/libm-test-ulps: Update.
78951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78952
78953 [BZ #13851]
78954 [BZ #13854]
78955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78956 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78957 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78958 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78959 (__tanl): Set errno for infinite argument.
78960 * sysdeps/i386/fpu/mptan.c: Remove.
78961 * sysdeps/i386/fpu/s_tan.S: Likewise.
78962 * sysdeps/i386/fpu/s_tanl.S: Likewise.
78963 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78964 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78965 * math/libm-test.inc (tan_test): Add more tests and enable more
78966 tests for double and long double.
78967 * sysdeps/i386/fpu/libm-test-ulps: Update.
78968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78969
78970 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
78971
78972 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78973 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78974
78975 2012-03-16 Roland McGrath <roland@hack.frob.com>
78976
78977 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78978 * configure.in: Use it for both main tree and add-ons.
78979 * configure: Regenerated.
78980
78981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78982
78983 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78984
78985 2012-03-16 Joseph Myers <joseph@codesourcery.com>
78986
78987 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78988 in comment.
78989
78990 [BZ #13851]
78991 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78992 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78993 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78994 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78995 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78996 infinite argument.
78997 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78999 != 0 for prec == 2.
79000 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79001 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79002 * sysdeps/i386/fpu/s_cosl.S: Likewise.
79003 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79004 * sysdeps/i386/fpu/s_sinl.S: Likewise.
79005 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79006 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79007 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79008 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79009 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79010 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79011 * math/libm-test.inc (cos_test): Add more tests and enable more
79012 tests for long double.
79013 (sin_test): Likewise.
79014 (sincos_test): Likewise.
79015 * sysdeps/i386/fpu/libm-test-ulps: Update.
79016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79017
79018 2012-03-16 David S. Miller <davem@davemloft.net>
79019
79020 * sysdeps/sparc/fpu/math_private.h: New file.
79021
79022 2012-03-15 David S. Miller <davem@davemloft.net>
79023
79024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79025 file.
79026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79028 file.
79029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79035 sysdep routines.
79036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79037
79038 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79039 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79040
79041 * sysdeps/sparc/sparc-ifunc.h: New file.
79042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79043 sparc-ifunc.h
79044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79046 Likewise.
79047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79048 Likewise.
79049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79053 Likewise.
79054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79059 Likewise.
79060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79061 Likewise.
79062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79086
79087 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
79088
79089 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79090 scaling.
79091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79092
79093 2012-03-15 Andreas Jaeger <aj@suse.de>
79094
79095 [BZ #13852]
79096 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79097 ieee754/flt-32 implementation for sin, cos and sincos.
79098 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79099 * sysdeps/i386/fpu/s_cosf.S: Likewise.
79100 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79101 * sysdeps/i386/fpu/s_sinf.S: Likewise.
79102 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79103 ieee754/flt-32 implementation for tan.
79104
79105 * math/libm-test.inc (cos_test): Enable some large input tests for
79106 float as well
79107 (sin_test): Likewise.
79108 (sincos_test): Likewise.
79109 (tan_test): Add tests for large input.
79110
79111 * sysdeps/i386/fpu/libm-test-ulps: Update.
79112
79113 2012-03-15 Andreas Jaeger <aj@suse.de>
79114
79115 [BZ #13658]
79116 * math/libm-test.inc (cos_test): Add more test cases.
79117 (sin_test): Likewise.
79118 (sincos_test): Likewise.
79119
79120 2012-03-15 Andreas Jaeger <aj@suse.de>
79121
79122 [BZ #13837]
79123 * math/libm-test.inc (cos_test): Add a test case for large input
79124 value.
79125 (sin_test): Likewise.
79126 (sincos_test): Likewise.
79127
79128 2012-03-15 Andreas Jaeger <aj@suse.de>
79129 Joseph Myers <joseph@codesourcery.com>
79130
79131 [BZ #13658]
79132 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79133 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79134 * sysdeps/i386/fpu/branred.c: Likewise.
79135 * sysdeps/i386/fpu/dosincos.c: Likewise.
79136 * sysdeps/i386/fpu/mpa.c: Likewise.
79137 * sysdeps/i386/fpu/s_cos.S: Likewise.
79138 * sysdeps/i386/fpu/s_sin.S: Likewise.
79139 * sysdeps/i386/fpu/s_sincos.S: Likewise.
79140 * sysdeps/i386/fpu/sincos32.c: Likewise.
79141
79142 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79143 Define.
79144 (libc_feupdateenv_53bit): Define.
79145 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79146 Define.
79147 (libc_feupdateenv_53bit): Define.
79148
79149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79150 53 bit (without extend i386 double precision).
79151
79152 * math/libm-test.inc (sincos_test): Add tests for large input.
79153 (sin): Likewise.
79154 (cos): Likewise.
79155
79156 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79157
79158 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
79159
79160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79161
79162 2012-03-15 David S. Miller <davem@davemloft.net>
79163
79164 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79165 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79166 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79167 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79180 file.
79181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79183 file.
79184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79186 file.
79187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79189 file.
79190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79192 fmin/fmax sysdep routines.
79193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79194
79195 2012-03-14 David S. Miller <davem@davemloft.net>
79196
79197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79226 routines.
79227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79228 file.
79229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79231 file.
79232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79234 file.
79235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79237 file.
79238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79240 file.
79241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79243 file.
79244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79245 file.
79246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79247 file.
79248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79249 file.
79250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79251 New file.
79252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79253 file.
79254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79255 file.
79256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79258 file.
79259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79261 file.
79262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79264 file.
79265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79267 VIS3 routines.
79268
79269 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79270 New file.
79271
79272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79273
79274 * sysdeps/sparc/configure.in: New file.
79275 * sysdeps/sparc/configure: Generate.
79276 * configure.in (libc_cv_sparc_as_vis3): Substitute.
79277 * configure: Regenerate.
79278 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79279 * config.make.in (have-as-vis3): New.
79280 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79281 available use -Av9d instead of -Av9a.
79282 * sysdeps/sparc/sparc64/Makefile: Likewise.
79283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79285 New file.
79286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79287 file.
79288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79289 New file.
79290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79291 file.
79292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79297
79298 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79299 fzeros/fnegs to load 0x80000000 into a float register instead of
79300 using the stack.
79301 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79302
79303 2012-03-14 Joseph Myers <joseph@codesourcery.com>
79304
79305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79306 bits/syscall.h.
79307 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79308 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79309 ($(inst_includedir)/bits/syscall.h): Remove rule.
79310 ($(objpfx)bits/syscall.d): Include instead of
79311 $(objpfx)syscall-list.d.
79312 (generated): Change syscall-list.h and syscall-list.d to
79313 bits/syscall.h and bits/syscall.d.
79314
79315 2012-03-14 Roland McGrath <roland@hack.frob.com>
79316
79317 [BZ #13846]
79318 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79319
79320 2012-03-14 Joseph Myers <joseph@codesourcery.com>
79321
79322 [BZ #13841]
79323 * math/s_csqrt.c: Include <float.h>.
79324 (__csqrt): Scale large or subnormal inputs.
79325 * math/s_csqrtf.c: Likewise.
79326 * math/s_csqrtl.c: Likewise.
79327 * math/libm-test.inc (csqrt_test): Add more tests.
79328 * sysdeps/i386/fpu/libm-test-ulps: Update.
79329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79330
79331 [BZ #13840]
79332 * math/libm-test.inc (hypot_test): Add more tests.
79333
79334 2012-03-13 David S. Miller <davem@davemloft.net>
79335
79336 [BZ #13840]
79337 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79338 double-precision for the calculation instead of scaling.
79339
79340 2012-03-13 Joseph Myers <joseph@codesourcery.com>
79341
79342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79343 manipulate bits before adding and subtracting TWO52[sx].
79344 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79346 Likewise.
79347 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79348
79349 2012-03-13 David S. Miller <davem@davemloft.net>
79350
79351 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79352 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79354 rtld-global-offsets.h
79355 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79356
79357 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79358 large parameters.
79359
79360 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79361
79362 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79363 'err' in the ifdef scope in which it is actually used.
79364
79365 * nss/nss_db/db-init.c: Include string.h
79366
79367 2012-03-12 David S. Miller <davem@davemloft.net>
79368
79369 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79370 masking out of the most significant byte of random value used.
79371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79372 Fix coding style in previous change.
79373
79374 * sysdeps/unix/sysv/linux/kernel-features.h
79375 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79376 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79377 expression.
79378 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79379 later.
79380
79381 2012-03-11 David S. Miller <davem@davemloft.net>
79382
79383 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79384 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79385 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79386 for 'resultvar' otherwise things get truncated on 64-bit.
79387
79388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79389 Fix masking out of the most significant byte of random value used.
79390
79391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79392
79393 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
79394
79395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79396
79397 2012-03-09 David S. Miller <davem@davemloft.net>
79398
79399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79400 variables with appropriate CPP guards.
79401 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79402 from the frame pointer, not the stack pointer. Correct layout
79403 comments. Fix test on resulting framesize and the management of
79404 the outregs buffer for pltexit. Preserve floating point return
79405 values across _dl_call_pltexit call.
79406 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79407 framesize and the management of the outregs buffer for pltexit.
79408 Preserve floating point return values across _dl_call_pltexit
79409 call.
79410 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79411 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79412 (la_sparc64_gnu_pltexit): New functions.
79413 (print_exit): Fix format string for return register value.
79414
79415 2012-03-10 Joseph Myers <joseph@codesourcery.com>
79416
79417 * sunrpc/Makefile (others): Add rpcgen.
79418 ($(objpfx)rpcgen): Remove special build rule and dependency on
79419 libc.
79420 * sunrpc/rpcgen.c: New file.
79421
79422 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
79423
79424 [BZ #13673]
79425 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79426 * stdio-common/bug-vfprintf-nargs.c: Likewise.
79427 * sysdeps/i386/crti.S: Likewise.
79428 * sysdeps/i386/crtn.S: Likewise.
79429 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79430 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79431 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79432 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79433 * sysdeps/sh/crti.S: Likewise.
79434 * sysdeps/sh/crtn.S: Likewise.
79435 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79436
79437 [BZ #13673]
79438 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79439 with URL.
79440 * locale/programs/locfile-kw.gperf: Likewise.
79441 * locale/programs/charmap-kw.h: Regenerated.
79442 * locale/programs/locfile-kw.h: Likewise.
79443
79444 [BZ #13673]
79445 * intl/plural.y: Replace FSF snail mail address with URL.
79446 * intl/plural.c: Regenerated.
79447
79448 2012-03-09 Richard Henderson <rth@twiddle.net>
79449
79450 * include/math_private.h: Remove file.
79451 * math/math_private.h: Move file ...
79452 * sysdeps/generic/math_private.h: ... here.
79453
79454 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79455 * sysdeps/powerpc/fpu/math_private.h: Likewise.
79456 * sysdeps/x86_64/fpu/math_private.h: Likewise.
79457
79458 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79459 and <math_private.h>.
79460 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79461 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79462 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79463 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79464 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79465 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79466 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79471 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79473 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79474 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79485 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79486 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79490 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79492 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79493 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79494 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79495 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79496 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79497 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79498 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79500 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79501 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79502 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79503 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79504 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79505 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79506 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79507 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79509 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79510 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79511 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79512 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79514 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79515 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79516 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79517 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79518 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79519 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79521 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79523 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79524 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79525 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79526 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79527 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79528 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79529 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79531 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79534 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79537 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79538 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79540 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79541 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79542 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79547 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79548 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79549 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79550 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79551 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79553 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79554 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79555 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79556 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79557 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79559 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79560 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79561 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79562 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79563 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79564 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79565 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79566 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79567 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79568 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79570 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79571 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79572 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79573 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79574 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79575 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79576 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79577 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79578 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79579 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79580 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79581 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79582 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79583 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79584 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79586 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79587 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79588 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79589 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79590 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79591 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79593 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79594 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79595 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79596 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79597 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79598 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79599 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79600 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79601 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79602 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79603 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79604 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79605 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79606 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79607 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79608 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79609 * sysdeps/ieee754/k_standard.c: Likewise.
79610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79626 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79629 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79630 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79631 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79634 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79635 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79637 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79638 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79640 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79641 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79642 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79643 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79644 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79645 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79646 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79647 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79648 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79649 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79650 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79651 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79652 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79653 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79654 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79655 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79656 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79658 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79659 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79661 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79662 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79663 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79666 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79667 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79668 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79670 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79671 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79672 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79673 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79676 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79677 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79678 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79679 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79682 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79683 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79684 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79689 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79690 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79691 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79692 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79693 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79695 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79696 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79698 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79701 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79702 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79703 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79704 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79705 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79706 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79707 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79708 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79709 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79714 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79717 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79718 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79719 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79721 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79723 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79724 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79725 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79726 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79728 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79730 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79731 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79732 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79733 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79735 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79736 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79737 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79738 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79739 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79740 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79741 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79742 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79743 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79744 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79746 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79747 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79748 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79749 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79750 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79751 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79752 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79753 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79754 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79755 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79756 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79757 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79758 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79759 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79760 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79761 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79763 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79764 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79765 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79766 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79768 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79769 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79770 * sysdeps/ieee754/s_lib_version.c: Likewise.
79771 * sysdeps/ieee754/s_matherr.c: Likewise.
79772 * sysdeps/ieee754/s_signgam.c: Likewise.
79773 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79774 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79775 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79776 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79777 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79778 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79779 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79780 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79781 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79782 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79783 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79784 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79785 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79786 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79787 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79788 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79789 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79790 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79794
79795 2012-03-09 Joseph Myers <joseph@codesourcery.com>
79796
79797 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79798 * sunrpc/rpc_main.c: Likewise.
79799 * sunrpc/rpc_svcout.c: Likewise.
79800
79801 2012-03-09 David S. Miller <davem@davemloft.net>
79802
79803 * include/math_private.h: New file.
79804
79805 2012-03-09 Joseph Myers <joseph@codesourcery.com>
79806
79807 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79808 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79809 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79810 from <bits/socket_type.h>.
79811 (enum __socket_type): Don't define here.
79812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79814 bits/socket_type.h.
79815
79816 [BZ #13566]
79817 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79818 checking __USE_GNU.
79819
79820 * Makerules ($(inst_includedir)/%.h): New rule.
79821 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79822 (install-others): Remove variable setting.
79823 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79824
79825 2012-03-08 Richard Henderson <rth@twiddle.net>
79826
79827 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79828 from macro to inline function; merge with the
79829 !__LIBC_INTERNAL_MATH_INLINES version.
79830 (__ieee754_sqrtf): Likewise.
79831
79832 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79833 to inline function.
79834 (__rintf, __floor, __floorf): Likewise.
79835
79836 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79837 macro to inline function.
79838 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79839
79840 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79841 not <math/math_private.h>.
79842
79843 2012-03-08 David S. Miller <davem@davemloft.net>
79844
79845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79846 copyright year.
79847 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79848
79849 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
79850
79851 * resolv/gai_misc.c (handle_requests): Fix struct timespec
79852 normalization.
79853 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79854 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79855
79856 2012-03-08 Ulrich Drepper <drepper@gmail.com>
79857
79858 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
79859 be defined individually, they must be defined as a block. Define
79860 S for printing a string instead of hidint the different by using a
79861 macro for adding the 'l'.
79862 * stdio-common/tst-fphex-wide.c: Adjust.
79863
79864 2012-03-07 Marek Polacek <polacek@redhat.com>
79865
79866 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79867
79868 2012-03-08 Marek Polacek <polacek@redhat.com>
79869
79870 [BZ #13806]
79871 * stdio-common/Makefile (tests): Add tst-fphex-wide.
79872 * stdio-common/tst-fphex.c: Define a few macros to make the
79873 test reusable. Use them.
79874 * stdio-common/tst-fphex-wide.c: New file.
79875
79876 2012-03-08 Joseph Myers <joseph@codesourcery.com>
79877
79878 [BZ #6911]
79879 * manual/macros.texi (gnusystems): New macro.
79880 (nongnusystems): Likewise.
79881 (gnulinuxhurdsystems): Likewise.
79882 (gnuhurdsystems): Likewise..
79883 (gnulinuxsystems): Likewise.
79884 * manual/charset.texi: Use new macros or @theglibc{} to refer to
79885 variants of the GNU system, not "GNU system".
79886 * manual/conf.texi: Likewise.
79887 * manual/errno.texi: Likewise. Update example of errno macro
79888 expansion.
79889 * manual/filesys.texi: Likewise.
79890 (getumask): Document as specific to GNU/Hurd.
79891 * manual/install.texi: Likewise. Reword some references to
79892 GNU/Linux.
79893 * manual/intro.texi: Likewise.
79894 * manual/io.texi: Likewise.
79895 (File Name Portability): Detail which constraints are inapplicable
79896 to all GNU systems and which are only inapplicable to GNU/Hurd.
79897 * manual/job.texi: Likewise.
79898 * manual/llio.texi: Likewise.
79899 (O_NOCTTY): Document as present on GNU/Linux.
79900 * manual/maint.texi: Likewise.
79901 * manual/memory.texi: Likewise.
79902 * manual/pattern.texi: Likewise.
79903 * manual/pipe.texi: Likewise.
79904 * manual/process.texi: Likewise.
79905 * manual/resource.texi: Likewise.
79906 (RUSAGE_CHILDREN): Remove statement about specifying a particular
79907 child on GNU/Hurd.
79908 * manual/setjmp.texi: Likewise.
79909 * manual/signal.texi: Likewise.
79910 * manual/startup.texi: Likewise.
79911 * manual/stdio.texi: Likewise.
79912 * manual/terminal.texi: Likewise.
79913 (ONLCR): Document as POSIX.
79914 (OXTABS): Document availability on GNU/Linux as XTABS.
79915 (ONOEOT): Document availability separately from other bits.
79916 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79917 * manual/time.texi: Likewise.
79918 * manual/users.texi: Likewise.
79919 * INSTALL: Regenerated.
79920 * sysdeps/gnu/errlist.c: Regenerated.
79921
79922 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79923 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79924 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
79925 puts.
79926 * configure: Regenerated.
79927
79928 2012-03-07 Joseph Myers <joseph@codesourcery.com>
79929
79930 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79931 default includes instead of AC_HEADER_CHECK.
79932 * sysdeps/i386/configure: Regenerated.
79933
79934 [BZ #10716]
79935 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79936 * math/s_cacoshf.c (__cacoshf): Likewise.
79937 * math/s_cacoshl.c (__cacoshl): Likewise.
79938 * math/s_casinh.c (__casinh): Set signs of result from argument.
79939 * math/s_casinhf.c (__casinhf): Likewise.
79940 * math/s_casinhl.c (__casinhl): Likewise.
79941 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79942 (casinh_test): Add more tests.
79943 * sysdeps/i386/fpu/libm-test-ulps: Update.
79944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79945
79946 2012-03-07 Ulrich Drepper <drepper@gmail.com>
79947
79948 * po/zh_TW.po: Update from translation team.
79949
79950 * login/Makefile (distribute): Remove variable.
79951 * catgets/Makefile: Likewise.
79952 * mach/Makefile: Likewise.
79953 * malloc/Makefile: Likewise.
79954 * misc/Makefile: Likewise.
79955 * iconv/Makefile: Likewise.
79956 * nscd/Makefile: Likewise.
79957 * hurd/Makefile: Likewise.
79958 * manual/Makefile: Likewise.
79959 * locale/Makefile: Likewise.
79960 * intl/Makefile: Likewise.
79961 * conform/Makefile: Likewise.
79962 * nss/Makefile: Likewise.
79963 * time/Makefile: Likewise.
79964 * soft-fp/Makefile: Likewise.
79965 * dirent/Makefile: Likewise.
79966 * gmon/Makefile: Likewise.
79967 * po/Makefile: Likewise.
79968 * rt/Makefile: Likewise.
79969 * socket/Makefile: Likewise.
79970 * math/Makefile: Likewise.
79971 * signal/Makefile: Likewise.
79972 * debug/Makefile: Likewise.
79973 * elf/Makefile: Likewise.
79974 * timezone/Makefile: Likewise.
79975 * stdlib/Makefile: Likewise.
79976 * iconvdata/Makefile: Likewise.
79977 * sunrpc/Makefile: Likewise.
79978 * io/Makefile: Likewise.
79979 * argp/Makefile: Likewise.
79980 * inet/Makefile: Likewise.
79981 * hesiod/Makefile: Likewise.
79982 * grp/Makefile: Likewise.
79983 * csu/Makefile: Likewise.
79984 * wctype/Makefile: Likewise.
79985 * crypt/Makefile: Likewise.
79986 * libio/Makefile: Likewise.
79987 * string/Makefile: Likewise.
79988 * nis/Makefile: Likewise.
79989 * resolv/Makefile: Likewise.
79990 * stdio-common/Makefile: Likewise.
79991 * wcsmbs/Makefile: Likewise.
79992 * dlfcn/Makefile: Likewise.
79993 * posix/Makefile: Likewise.
79994
79995 [BZ #6959]
79996 * timezone/Makefile: Don't install timezone files, just the programs
79997 and scripts.
79998
79999 2012-03-06 Ulrich Drepper <drepper@gmail.com>
80000
80001 * nss/databases.def: Add missing gshadow entry.
80002
80003 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
80004
80005 2012-03-06 Marek Polacek <polacek@redhat.com>
80006
80007 [BZ #13726]
80008 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80009 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80010 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80011 * stdio-common/tst-long-dbl-fphex.c: New file.
80012
80013 2012-03-06 David S. Miller <davem@davemloft.net>
80014
80015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80016 (set_obp_int): New function.
80017 (get_obp_int): New function.
80018 (__get_clockfreq_via_dev_openprom): Likewise.
80019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80020 Avoid unused variable warnings on 'val' and use builtin_expect.
80021 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80022 __builtin_expect.
80023 (INLINE_CLONE_SYSCALL): Likewise.
80024
80025 2012-03-05 David S. Miller <davem@davemloft.net>
80026
80027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80028
80029 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
80030
80031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80032
80033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80034 only for |x| >= 40.
80035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80036
80037 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
80038
80039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80040 Replace gettimeofday with __vdso_gettimeofday.
80041
80042 * sysdeps/unix/sysv/linux/x86_64/init-first.c
80043 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80044 __vdso_clock_gettime and __vdso_getcpu.
80045
80046 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80047 time with __vdso_time.
80048
80049 2012-03-05 Joseph Myers <joseph@codesourcery.com>
80050
80051 * manual/lang.texi (size_t): Note types to which size_t may be
80052 equivalent with the GNU C Library, but do not describe when
80053 differences between them are significant.
80054
80055 2012-03-05 Andreas Jaeger <aj@suse.de>
80056
80057 * sysdeps/i386/fpu/libm-test-ulps: Update.
80058
80059 2012-03-05 Joseph Myers <joseph@codesourcery.com>
80060
80061 [BZ #3976]
80062 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80063 (__ieee754_pow): Save and restore rounding mode and use
80064 round-to-nearest for main computations.
80065 * math/libm-test.inc (pow_test_tonearest): New function.
80066 (pow_test_towardzero): Likewise.
80067 (pow_test_downward): Likewise.
80068 (pow_test_upward): Likewise.
80069 (main): Call the new functions.
80070 * sysdeps/i386/fpu/libm-test-ulps: Update.
80071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80072
80073 [BZ #3976]
80074 * math/libm-test.inc (cosh_test_tonearest): New function.
80075 (cosh_test_towardzero): Likewise.
80076 (cosh_test_downward): Likewise.
80077 (cosh_test_upward): Likewise.
80078 (sinh_test_tonearest): Likewise.
80079 (sinh_test_towardzero): Likewise.
80080 (sinh_test_downward): Likewise.
80081 (sinh_test_upward): Likewise.
80082 (main): Call the new functions.
80083 * sysdeps/i386/fpu/libm-test-ulps: Update.
80084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80085
80086 2012-03-05 Tom de Vries <tom@codesourcery.com>
80087
80088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80089 default stack guard is set in last bytes.
80090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80091
80092 2012-03-05 Kees Cook <keescook@chromium.org>
80093
80094 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80095
80096 [BZ #13656]
80097 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80098 possibly allocate from heap instead of stack.
80099 * stdio-common/bug-vfprintf-nargs.c: New file.
80100 * stdio-common/Makefile (tests): Add nargs overflow test.
80101
80102 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
80103
80104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80105
80106 2012-03-03 Marek Polacek <polacek@redhat.com>
80107
80108 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80109 * math/math_private.h: Likewise.
80110 * stdlib/tst-strtod.c: Likewise.
80111 * sysdeps/i386/i486/bits/atomic.h: Likewise.
80112 * sysdeps/x86_64/bits/atomic.h: Likewise.
80113
80114 2012-03-02 David S. Miller <davem@davemloft.net>
80115
80116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80120 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80121 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80122 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80123 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80124
80125 2012-03-02 Roland McGrath <roland@hack.frob.com>
80126
80127 [BZ #13792]
80128 * manual/examples/README: New file, says the example source files
80129 can be used under GPL>=2.
80130 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80131 line containing just "*/".
80132 * manual/examples/add.c: Add copyright header (GPL>=2).
80133 * manual/examples/argp-ex1.c: Likewise.
80134 * manual/examples/argp-ex2.c: Likewise.
80135 * manual/examples/argp-ex3.c: Likewise.
80136 * manual/examples/argp-ex4.c: Likewise.
80137 * manual/examples/atexit.c: Likewise.
80138 * manual/examples/db.c: Likewise.
80139 * manual/examples/dir.c: Likewise.
80140 * manual/examples/dir2.c: Likewise.
80141 * manual/examples/execinfo.c: Likewise.
80142 * manual/examples/filecli.c: Likewise.
80143 * manual/examples/filesrv.c: Likewise.
80144 * manual/examples/fmtmsgexpl.c: Likewise.
80145 * manual/examples/genpass.c: Likewise.
80146 * manual/examples/inetcli.c: Likewise.
80147 * manual/examples/inetsrv.c: Likewise.
80148 * manual/examples/isockad.c: Likewise.
80149 * manual/examples/longopt.c: Likewise.
80150 * manual/examples/memopen.c: Likewise.
80151 * manual/examples/memstrm.c: Likewise.
80152 * manual/examples/mkfsock.c: Likewise.
80153 * manual/examples/mkisock.c: Likewise.
80154 * manual/examples/mygetpass.c: Likewise.
80155 * manual/examples/pipe.c: Likewise.
80156 * manual/examples/popen.c: Likewise.
80157 * manual/examples/rprintf.c: Likewise.
80158 * manual/examples/search.c: Likewise.
80159 * manual/examples/select.c: Likewise.
80160 * manual/examples/setjmp.c: Likewise.
80161 * manual/examples/sigh1.c: Likewise.
80162 * manual/examples/sigusr.c: Likewise.
80163 * manual/examples/stpcpy.c: Likewise.
80164 * manual/examples/strdupa.c: Likewise.
80165 * manual/examples/strftim.c: Likewise.
80166 * manual/examples/strncat.c: Likewise.
80167 * manual/examples/subopt.c: Likewise.
80168 * manual/examples/swapcontext.c: Likewise.
80169 * manual/examples/termios.c: Likewise.
80170 * manual/examples/testopt.c: Likewise.
80171 * manual/examples/testpass.c: Likewise.
80172 * manual/examples/timeval_subtract.c: Likewise.
80173
80174 [BZ #13792]
80175 * manual/time.texi (Elapsed Time): Move timeval_subtract example
80176 function to ...
80177 * manual/timeval_subtract.c.texi: ... here, new file.
80178
80179 2012-03-02 David S. Miller <davem@davemloft.net>
80180
80181 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80182
80183 2012-03-02 Joseph Myers <joseph@codesourcery.com>
80184
80185 [BZ #3976]
80186 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80187 (__sin): Save and restore rounding mode and use round-to-nearest
80188 for all computations.
80189 (__cos): Save and restore rounding mode and use round-to-nearest
80190 for all computations.
80191 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80192 <fenv.h>.
80193 (tan): Save and restore rounding mode and use round-to-nearest for
80194 all computations.
80195 * math/libm-test.inc (cos_test_tonearest): New function.
80196 (cos_test_towardzero): Likewise.
80197 (cos_test_downward): Likewise.
80198 (cos_test_upward): Likewise.
80199 (sin_test_tonearest): Likewise.
80200 (sin_test_towardzero): Likewise.
80201 (sin_test_downward): Likewise.
80202 (sin_test_upward): Likewise.
80203 (tan_test_tonearest): Likewise.
80204 (tan_test_towardzero): Likewise.
80205 (tan_test_downward): Likewise.
80206 (tan_test_upward): Likewise.
80207 (main): Call the new functions.
80208 * sysdeps/i386/fpu/libm-test-ulps: Update.
80209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80210
80211 [BZ #10135]
80212 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80213 small n, then large n, before computing and testing k+n.
80214 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80216 Likewise.
80217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80218 Likewise.
80219 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80220 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80227 * math/libm-test.inc (scalbn_test): Add more tests.
80228 (scalbln_test): Likewise.
80229
80230 * manual/filesys.texi (mode_t): Describe constraints on size and
80231 signedness, not exact equivalence to a particular type.
80232 (ino_t): Likewise.
80233 (ino64_t): Likewise.
80234 (dev_t): Likewise.
80235 (nlink_t): Likewise.
80236 (blkcnt_t): Likewise.
80237 (blkcnt64_t): Likewise.
80238 * manual/llio.texi (off_t): Likewise.
80239
80240 [BZ #3976]
80241 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80242 (__ieee754_exp): Save and restore rounding mode and use
80243 round-to-nearest for all computations.
80244 * math/libm-test.inc (exp_test_tonearest): New function.
80245 (exp_test_towardzero): Likewise.
80246 (exp_test_downward): Likewise.
80247 (exp_test_upward): Likewise.
80248 (main): Call the new functions.
80249 * sysdeps/i386/fpu/libm-test-ulps: Update.
80250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80251
80252 2012-03-01 Chris Demetriou <cgd@google.com>
80253
80254 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80255 have predictable order.
80256
80257 2012-03-01 David S. Miller <davem@davemloft.net>
80258
80259 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80260
80261 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80262 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80263 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80264 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80265
80266 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80267 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80268 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80270 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80271 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80272 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80273 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80274 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80275
80276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80277
80278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80279 * sysdeps/sparc/fpu/libm-test-ulps: to here.
80280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80281
80282 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80284 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80285 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80286 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80290 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80291 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80292 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80296 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80298 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80299 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80300 * sysdeps/sparc/elf/configure: Regenerated.
80301
80302 2012-03-01 Joseph Myers <joseph@codesourcery.com>
80303
80304 * configure.in (AS, LD): Require binutils 2.20 or later.
80305 * configure: Regenerated.
80306 * manual/install.texi (Tools for Compilation): Give binutils 2.20
80307 as required minimum version.
80308 * INSTALL: Regenerated.
80309
80310 [BZ #2541]
80311 [BZ #4108]
80312 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80313 before squaring exponent.
80314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80315 bottom long double and 27 bits of top long double before squaring
80316 exponent.
80317 * math/libm-test.inc (erfc_test): Add more tests.
80318 * sysdeps/i386/fpu/libm-test-ulps: Update.
80319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80321
80322 2012-03-01 Kai Tietz <ktietz@redhat.com>
80323
80324 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80325 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80326 containing bit-fields.
80327 * soft-fp/extended.h (_FP_UNION_E): Likewise.
80328 * soft-fp/single.h (_FP_UNION_S): Likewise.
80329 * soft-fp/double.h (_FP_UNION_D): Likewise.
80330
80331 2012-02-29 Joseph Myers <joseph@codesourcery.com>
80332
80333 [BZ #13786]
80334 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80335 not include ../strcmp.S.
80336 [USE_AS_STRNCASECMP_L]: Likewise.
80337 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80338 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80339 * sysdeps/i386/i686/multiarch/strncase_l-c.c
80340 (__strncasecmp_l_ia32): Define as alias to
80341 __strncasecmp_l_nonascii.
80342
80343 [BZ #5794]
80344 * math/libm-test.inc (expm1_test): Add test for bug 5794.
80345 * sysdeps/i386/fpu/libm-test-ulps: Update.
80346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80347
80348 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80350
80351 2012-02-29 Jeff Law <law@redhat.com>
80352
80353 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80354 out of bounds read.
80355
80356 2012-02-29 Marek Polacek <polacek@redhat.com>
80357
80358 [BZ #13706]
80359 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80360 * elf/Makefile: Add rules to run tst-unused-dep.out.
80361
80362 2012-02-28 David S. Miller <davem@davemloft.net>
80363
80364 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80365 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80370
80371 2012-02-29 Joseph Myers <joseph@codesourcery.com>
80372
80373 * math/libm-test.inc (llround_test): Move one test from
80374 lround_test. Use TEST_f_L in moved test.
80375 (lround_test): Move misplaced test to llround_test. Add testcase
80376 from bug 2561.
80377
80378 2012-02-28 Ulrich Drepper <drepper@gmail.com>
80379
80380 * sysdeps/x86_64/fpu/e_expf.S: New file.
80381 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80382
80383 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
80384
80385 [BZ #13637]
80386 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80387 of remain_len that may cause incomplete multi-byte character and
80388 false match.
80389 * posix/bug-regex33.c: New file.
80390 * posix/Makefile (tests): Add bug-regex33.
80391
80392 2012-02-28 Joseph Myers <joseph@codesourcery.com>
80393
80394 * manual/macros.texi: New file.
80395 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80396 * manual/libc.texinfo: Include macros.texi.
80397 * manual/creatute.texi: Likewise.
80398 * manual/install.texi: Likewise.
80399 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80400 @glibcadj{} in references to the GNU C Library.
80401 * manual/charset.texi: Likewise.
80402 * manual/conf.texi: Likewise.
80403 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
80404 when not using those macros.
80405 * manual/creature.texi: Likewise.
80406 * manual/crypt.texi: Likewise.
80407 * manual/errno.texi: Likewise.
80408 * manual/filesys.texi: Likewise.
80409 * manual/header.texi: Likewise.
80410 * manual/install.texi: Likewise.
80411 * manual/intro.texi: Likewise.
80412 * manual/io.texi: Likewise.
80413 * manual/job.texi: Likewise.
80414 * manual/lang.texi: Likewise.
80415 * manual/libc.texiinfo: Likewise.
80416 * manual/llio.texi: Likewise.
80417 * manual/locale.texi: Likewise.
80418 * manual/maint.texi: Likewise.
80419 * manual/math.texi: Likewise.
80420 * manual/memory.texi: Likewise.
80421 * manual/message.texi: Likewise.
80422 * manual/nss.texi: Likewise.
80423 * manual/pattern.texi: Likewise.
80424 * manual/process.texi: Likewise.
80425 * manual/resource.texi: Likewise.
80426 * manual/search.texi: Likewise.
80427 * manual/setjmp.texi: Likewise.
80428 * manual/signal.texi: Likewise.
80429 * manual/socket.texi: Likewise.
80430 * manual/startup.texi: Likewise.
80431 * manual/stdio.texi: Likewise.
80432 * manual/string.texi: Likewise.
80433 * manual/sysinfo.texi: Likewise.
80434 * manual/syslog.texi: Likewise.
80435 * manual/terminal.texi: Likewise.
80436 * manual/time.texi: Likewise.
80437 * manual/users.texi: Likewise.
80438 * INSTALL: Regenerated.
80439 * NOTES: Regenerated.
80440 * sysdeps/gnu/errlist.c: Regenerated.
80441
80442 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
80443
80444 * include/dirent.h: Include <dirstream.h> before
80445 <dirent/dirent.h>.
80446
80447 2012-02-28 David S. Miller <davem@davemloft.net>
80448
80449 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80450 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80451 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80452 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80453
80454 2012-02-27 David S. Miller <davem@davemloft.net>
80455
80456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80458 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80459 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80460
80461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80462 frame pointer instead of stack pointer relative arg slot.
80463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80464 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80465 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80466
80467 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
80468
80469 [BZ #3992]
80470 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80471
80472 2012-02-27 David S. Miller <davem@davemloft.net>
80473
80474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80478 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80479 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80480 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80482
80483 2012-02-27 Joseph Myers <joseph@codesourcery.com>
80484
80485 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80486 later. Allow versions 5-9.
80487 * configure: Regenerated.
80488 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80489 required minimum version and 4.6 as recommended version. Do not
80490 mention bugs in GCC 2.7 and 2.8.
80491 * INSTALL: Regenerated.
80492
80493 2012-02-27 David S. Miller <davem@davemloft.net>
80494
80495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80499 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80500 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80501 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80502 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80503
80504 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80505 manipulate bits before adding and subtracting TWO112[sx].
80506 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80507
80508 2012-02-27 Roland McGrath <roland@hack.frob.com>
80509
80510 [BZ #13775]
80511 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80512 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80513 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80514 being in POSIX, because they are in 1003.1-2008.
80515
80516 * rt/tst-aio.c: Include <fcntl.h>.
80517 * rt/tst-aio7.c: Likewise.
80518 * rt/tst-aio64.c: Likewise.
80519
80520 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80521
80522 2012-02-27 Joseph Myers <joseph@codesourcery.com>
80523
80524 * manual/install.texi (--with-headers): Describe headers as
80525 interface headers, not private headers.
80526 (Specific advice for GNU/Linux systems): Describe use of headers
80527 from "make headers_install", not private headers from older
80528 kernels.
80529 * INSTALL: Regenerated.
80530 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80531 Change to 2.6.19.
80532 * sysdeps/unix/sysv/linux/configure: Regenerated.
80533
80534 * manual/llio.texi (fclean): Remove documentation.
80535
80536 * manual/Makefile (libc-texi-generated): New variable. Include
80537 version.texi.
80538 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80539 $(libc-texi-generated), not duplicated list of files.
80540 (version.texi, stamp-version): New rules.
80541 (realclean): Remove $(libc-texi-generated), not individual files
80542 from that list. Do not remove dir-add.texinfo.
80543 * manual/libc.texinfo: Comment out uses of edition numbers and
80544 references to printed manual. Remove last-updated dates.
80545 (EDITION): Comment out.
80546 (ISBN): Likewise.
80547 (VERSION, UPDATED): Remove.
80548 (version.texi): Include.
80549
80550 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
80551
80552 * sysdeps/posix/spawni.c: Include <signal.h>.
80553 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80554 * sysdeps/pthread/aio_fsync.c: Likewise.
80555
80556 2012-02-26 Ulrich Drepper <drepper@gmail.com>
80557
80558 * conform/Makefile (tests): Run only when not cross-compiling and
80559 when fast-check is not defined.
80560
80561 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80562 * conform/data/limits.h-data: Fixes for POSIX2008.
80563 * conform/run-conformtest.sh: Run all tests.
80564 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80565 headers.
80566 * include/bits/dlfcn.h: Likewise.
80567 * include/langinfo.h: Likewise.
80568 * include/monetary.h: Likewise.
80569 * include/sys/poll.h: Likewise.
80570
80571 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80572 for __USE_GNU.
80573 * posix/spawn.h: Define __need_sigset_t.
80574 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80575 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80576 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
80577 to get sigevent_t only.
80578 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80579 only for __USE_GNU.
80580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80581 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80582 process_vm_writev only for __USE_GNU.
80583 * termios/termios.h: Declare tcgetsid also for POSIX2008.
80584
80585 * conform/Makefile: For now ignore errors from run-conformtest.
80586 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
80587 POSIX to avoid namespace pollution. Don't prepend headers.
80588 * conform/data/aio.h-data: Fixes for POSIX testing.
80589 * conform/data/fcntl.h-data: Likewise.
80590 * conform/data/glob.h-data: Likewise.
80591 * conform/data/grp.h-data: Likewise.
80592 * conform/data/pthread.h-data: Likewise.
80593 * conform/data/pwd.h-data: Likewise.
80594 * conform/data/signal.h-data: Likewise.
80595 * conform/data/spawn.h-data: Likewise.
80596 * conform/data/stdio.h-data: Likewise.
80597 * conform/data/stdlib.h-data: Likewise.
80598 * conform/data/stropts.h-data: Likewise.
80599 * conform/data/sys/mman.h-data: Likewise.
80600 * conform/data/sys/stat.h-data: Likewise.
80601 * conform/data/sys/types.h-data: Likewise.
80602 * conform/data/sys/wait.h-data: Likewise.
80603 * conform/data/time.h-data: Likewise.
80604 * conform/data/unistd.h-data: Likewise.
80605 * conform/data/utime.h-data: Likewise.
80606
80607 * io/sys/stat.h: fchmod was always in POSIX.
80608 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80609 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80610 * rt/aio.h: Define __need_timespec before including <time.h>.
80611 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80612 struct. Add forward declaration of pthread_attr_t and use it in
80613 sigevent.
80614 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80615 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80616 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80617 always remove CLK_TCK definition.
80618
80619 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
80620
80621 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80622
80623 2012-02-25 Ulrich Drepper <drepper@gmail.com>
80624
80625 * conform/run-conformtest.sh: New file.
80626 * conform/Makefile: Run run-conformtest for tests.
80627 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
80628 support.
80629
80630 * conform/data/uchar.h-data: New file.
80631 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80632 * conform/data/arpa/inet.h-data: Likewise.
80633 * conform/data/assert.h-data: Likewise.
80634 * conform/data/complex.h-data: Likewise.
80635 * conform/data/cpio.h-data: Likewise.
80636 * conform/data/ctype.h-data: Likewise.
80637 * conform/data/dirent.h-data: Likewise.
80638 * conform/data/dlfcn.h-data: Likewise.
80639 * conform/data/errno.h-data: Likewise.
80640 * conform/data/fcntl.h-data: Likewise.
80641 * conform/data/float.h-data: Likewise.
80642 * conform/data/fmtmsg.h-data: Likewise.
80643 * conform/data/fnmatch.h-data: Likewise.
80644 * conform/data/ftw.h-data: Likewise.
80645 * conform/data/glob.h-data: Likewise.
80646 * conform/data/grp.h-data: Likewise.
80647 * conform/data/iconv.h-data: Likewise.
80648 * conform/data/inttypes.h-data: Likewise.
80649 * conform/data/langinfo.h-data: Likewise.
80650 * conform/data/libgen.h-data: Likewise.
80651 * conform/data/limits.h-data: Likewise.
80652 * conform/data/locale.h-data: Likewise.
80653 * conform/data/math.h-data: Likewise.
80654 * conform/data/monetary.h-data: Likewise.
80655 * conform/data/mqueue.h-data: Likewise.
80656 * conform/data/ndbm.h-data: Likewise.
80657 * conform/data/net/if.h-data: Likewise.
80658 * conform/data/netdb.h-data: Likewise.
80659 * conform/data/netinet/in.h-data: Likewise.
80660 * conform/data/nl_types.h-data: Likewise.
80661 * conform/data/poll.h-data: Likewise.
80662 * conform/data/pthread.h-data: Likewise.
80663 * conform/data/pwd.h-data: Likewise.
80664 * conform/data/regex.h-data: Likewise.
80665 * conform/data/sched.h-data: Likewise.
80666 * conform/data/search.h-data: Likewise.
80667 * conform/data/semaphore.h-data: Likewise.
80668 * conform/data/setjmp.h-data: Likewise.
80669 * conform/data/signal.h-data: Likewise.
80670 * conform/data/spawn.h-data: Likewise.
80671 * conform/data/stdarg.h-data: Likewise.
80672 * conform/data/stdio.h-data: Likewise.
80673 * conform/data/stdlib.h-data: Likewise.
80674 * conform/data/string.h-data: Likewise.
80675 * conform/data/strings.h-data: Likewise.
80676 * conform/data/stropts.h-data: Likewise.
80677 * conform/data/sys/ipc.h-data: Likewise.
80678 * conform/data/sys/mman.h-data: Likewise.
80679 * conform/data/sys/msg.h-data: Likewise.
80680 * conform/data/sys/resource.h-data: Likewise.
80681 * conform/data/sys/select.h-data: Likewise.
80682 * conform/data/sys/sem.h-data: Likewise.
80683 * conform/data/sys/shm.h-data: Likewise.
80684 * conform/data/sys/socket.h-data: Likewise.
80685 * conform/data/sys/stat.h-data: Likewise.
80686 * conform/data/sys/statvfs.h-data: Likewise.
80687 * conform/data/sys/time.h-data: Likewise.
80688 * conform/data/sys/timeb.h-data: Likewise.
80689 * conform/data/sys/times.h-data: Likewise.
80690 * conform/data/sys/types.h-data: Likewise.
80691 * conform/data/sys/uio.h-data: Likewise.
80692 * conform/data/sys/un.h-data: Likewise.
80693 * conform/data/sys/utsname.h-data: Likewise.
80694 * conform/data/sys/wait.h-data: Likewise.
80695 * conform/data/syslog.h-data: Likewise.
80696 * conform/data/tar.h-data: Likewise.
80697 * conform/data/termios.h-data: Likewise.
80698 * conform/data/utime.h-data: Likewise.
80699 * conform/data/utmpx.h-data: Likewise.
80700 * conform/data/varargs.h-data: Likewise.
80701 * conform/data/wchar.h-data: Likewise.
80702 * conform/data/wctype.h-data: Likewise.
80703 * conform/data/wordexp.h-data: Likewise.
80704
80705 * include/stropts.h: New file.
80706 * include/uchar.h: New file.
80707 * include/aio.h: Changes to allow conformtest.pl to use the headers.
80708 * include/assert.h: Likewise.
80709 * include/ctype.h: Likewise.
80710 * include/dirent.h: Likewise.
80711 * include/dlfcn.h: Likewise.
80712 * include/fcntl.h: Likewise.
80713 * include/fnmatch.h: Likewise.
80714 * include/glob.h: Likewise.
80715 * include/grp.h: Likewise.
80716 * include/libio.h: Likewise.
80717 * include/locale.h: Likewise.
80718 * include/math.h: Likewise.
80719 * include/net/if.h: Likewise.
80720 * include/netdb.h: Likewise.
80721 * include/netinet/in.h: Likewise.
80722 * include/pthread.h: Likewise.
80723 * include/pwd.h: Likewise.
80724 * include/regex.h: Likewise.
80725 * include/sched.h: Likewise.
80726 * include/search.h: Likewise.
80727 * include/setjmp.h: Likewise.
80728 * include/signal.h: Likewise.
80729 * include/stdio.h: Likewise.
80730 * include/stdlib.h: Likewise.
80731 * include/string.h: Likewise.
80732 * include/sys/cdefs.h: Likewise.
80733 * include/sys/mman.h: Likewise.
80734 * include/sys/msg.h: Likewise.
80735 * include/sys/resource.h: Likewise.
80736 * include/sys/select.h: Likewise.
80737 * include/sys/socket.h: Likewise.
80738 * include/sys/stat.h: Likewise.
80739 * include/sys/statvfs.h: Likewise.
80740 * include/sys/time.h: Likewise.
80741 * include/sys/times.h: Likewise.
80742 * include/sys/uio.h: Likewise.
80743 * include/sys/utsname.h: Likewise.
80744 * include/sys/wait.h: Likewise.
80745 * include/termios.h: Likewise.
80746 * include/time.h: Likewise.
80747 * include/ulimit.h: Likewise.
80748 * include/unistd.h: Likewise.
80749 * include/utime.h: Likewise.
80750 * include/wchar.h: Likewise.
80751 * include/wctype.h: Likewise.
80752 * include/wordexp.h: Likewise.
80753
80754 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80755
80756 * time/time.h: TIME_UTC must be a macro.
80757 Make timespec_get available for ISO C11 only as well.
80758
80759 2012-02-24 Ulrich Drepper <drepper@gmail.com>
80760
80761 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80762 Reported by Peng Haitao <penght@cn.fujitsu.com>.
80763
80764 2012-02-24 Joseph Myers <joseph@codesourcery.com>
80765
80766 * configure.in: Use -o not -a in test for unsupported multi-arch.
80767
80768 2012-02-24 Joseph Myers <joseph@codesourcery.com>
80769
80770 * manual/texinfo.tex: Update to version 2012-01-19.16.
80771
80772 2012-02-24 Joseph Myers <joseph@codesourcery.com>
80773
80774 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80775
80776 2012-02-24 Roland McGrath <roland@hack.frob.com>
80777
80778 [BZ #13738]
80779 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80780 * manual/fdl-1.3.texi: New file.
80781 * manual/fdl-1.1.texi: File removed.
80782
80783 [BZ #13738]
80784 * manual/libc.texinfo (FDL_VERSION): New @set.
80785 Use it for mention of FDL in cover text.
80786 (Documentation License): Use it in @include file name.
80787
80788 2012-02-22 Joseph Myers <joseph@codesourcery.com>
80789 Roland McGrath <roland@hack.frob.com>
80790
80791 [BZ #5461]
80792 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80793 (not LONG_LONG_MAX and LONG_LONG_MIN.
80794 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80795 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
80796 name.
80797 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80798
80799 2012-02-22 Joseph Myers <joseph@codesourcery.com>
80800
80801 [BZ #2547]
80802 [BZ #11365]
80803 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80804 manipulate bits before adding and subtracting TWO23[sx].
80805 * math/libm-test.inc (nearbyint_test): Add more tests.
80806
80807 2012-02-22 Joseph Myers <joseph@codesourcery.com>
80808
80809 [BZ #2548]
80810 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80811 bits before adding and subtracting TWO23[sx].
80812 * math/libm-test.inc (rint_test): Add more tests.
80813 (rint_test_tonearest): Likewise.
80814 (rint_test_towardzero): Likewise.
80815 (rint_test_downward): Likewise.
80816 (rint_test_upward: Likewise.
80817
80818 2012-02-22 Joseph Myers <joseph@codesourcery.com>
80819
80820 [BZ #10110]
80821 * include/stdc-predef.h: New file. Extracted from features.h.
80822 * include/features.h: Include stdc-predef.h.
80823 * Makefile (headers): Add stdc-predef.h.
80824 * CONFORMANCE (Compiler limitations): Update.
80825
80826 2012-02-22 Joseph Myers <joseph@codesourcery.com>
80827
80828 * manual/libc.texinfo (VERSION, UPDATED): Revert.
80829
80830 2012-02-21 David S. Miller <davem@davemloft.net>
80831
80832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80834
80835 2012-02-20 David S. Miller <davem@davemloft.net>
80836
80837 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80838 using a normal save/restore sequence, rather than allocating a
80839 dummy stack frame just to store a frame pointer and restore.
80840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80841
80842 2012-02-21 Joseph Myers <joseph@codesourcery.com>
80843
80844 * manual/install.texi: Fix stray word in line-wrapped comment.
80845
80846 2012-02-20 David S. Miller <davem@davemloft.net>
80847
80848 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80849 both binutils and gcc support GOTDATA.
80850
80851 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80852 "rd %pc" in the PIC register setup sequences.
80853
80854 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80855 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80856 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80857 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80858 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80863 (SYSCALL_ERROR_HANDLER): Likewise.
80864 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80865 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80867 (SYSCALL_ERROR_HANDLER): Likewise.
80868
80869 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80870 (HAVE_GCC_GOTDATA): New.
80871 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80872 relocation support in both binutils and gcc.
80873 * sysdeps/sparc/elf/configure: Regenerate.
80874
80875 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80876 * sysdeps/sparc/sparc32/elf/configure: Delete.
80877 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80878 * sysdeps/sparc/sparc64/elf/configure: Delete.
80879 * sysdeps/sparc/elf/configure.in: New file.
80880 * sysdeps/sparc/elf/configure: Generate.
80881
80882 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80883 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80884 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80885 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80886 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80887
80888 2012-02-21 Joseph Myers <joseph@codesourcery.com>
80889
80890 * manual/install.texi: Do not mention specific glibc version
80891 numbers.
80892 * manual/libc.texinfo (VERSION, UPDATED): Update.
80893 (@copying): Use @copyright{} and range of years.
80894
80895 2012-02-21 Joseph Myers <joseph@codesourcery.com>
80896
80897 [BZ #13695]
80898 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80899 [crti.S not in sysdirs] (generated): Do not append.
80900 [crti.S not in sysdirs] (omit-deps): Likewise.
80901 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80902 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80903 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80904 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80905 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80906 Likewise.
80907 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80908 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80909 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80910 * csu/defs.awk: Remove file.
80911 * sysdeps/generic/initfini.c: Likewise.
80912 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80913 variable.
80914 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80915 Likewise.
80916
80917 2012-02-20 Joseph Myers <joseph@codesourcery.com>
80918
80919 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80920 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80921 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80924 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80925 <bits/epoll.h>.
80926 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80927 (__EPOLL_PACKED): Define to empty if not defined by
80928 <bits/epoll.h>.
80929 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80931 bits/epoll.h.
80932
80933 2012-02-20 Joseph Myers <joseph@codesourcery.com>
80934
80935 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80936 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80937 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80938 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80939 <bits/timerfd.h>.
80940 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80942 bits/timerfd.h.
80943
80944 2012-02-20 Joseph Myers <joseph@codesourcery.com>
80945
80946 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80947 in C locale.
80948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80952
80953 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
80954
80955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80956 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80957
80958 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
80959
80960 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80961 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80962 defined.
80963 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80964 Likewise.
80965 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80966 entry for 2.16.
80967
80968 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
80969
80970 * math/w_acos.c: Use non-signaling floating-point comparisons.
80971 * math/w_acosf.c: Likewise.
80972 * math/w_acosh.c: Likewise.
80973 * math/w_acoshf.c: Likewise.
80974 * math/w_acoshl.c: Likewise.
80975 * math/w_acosl.c: Likewise.
80976 * math/w_asin.c: Likewise.
80977 * math/w_asinf.c: Likewise.
80978 * math/w_asinl.c: Likewise.
80979 * math/w_atanh.c: Likewise.
80980 * math/w_atanhf.c: Likewise.
80981 * math/w_atanhl.c: Likewise.
80982 * math/w_exp2.c: Likewise.
80983 * math/w_exp2f.c: Likewise.
80984 * math/w_exp2l.c: Likewise.
80985 * math/w_j0.c: Likewise.
80986 * math/w_j0f.c: Likewise.
80987 * math/w_j0l.c: Likewise.
80988 * math/w_j1.c: Likewise.
80989 * math/w_j1f.c: Likewise.
80990 * math/w_j1l.c: Likewise.
80991 * math/w_jn.c: Likewise.
80992 * math/w_jnf.c: Likewise.
80993 * math/w_log.c: Likewise.
80994 * math/w_log10.c: Likewise.
80995 * math/w_log10f.c: Likewise.
80996 * math/w_log10l.c: Likewise.
80997 * math/w_log2.c: Likewise.
80998 * math/w_log2f.c: Likewise.
80999 * math/w_log2l.c: Likewise.
81000 * math/w_logf.c: Likewise.
81001 * math/w_logl.c: Likewise.
81002 * math/w_sqrt.c: Likewise.
81003 * math/w_sqrtf.c: Likewise.
81004 * math/w_sqrtl.c: Likewise.
81005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81006 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81008 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81009 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81010
81011 2012-02-19 Joseph Myers <joseph@codesourcery.com>
81012
81013 [BZ #9739]
81014 * manual/string.texi (strnlen): Use correct parameter name in
81015 equivalent expression.
81016
81017 2012-02-19 Joseph Myers <joseph@codesourcery.com>
81018
81019 [BZ #11174]
81020 * manual/users.texi (seteuid): Consistently use neweuid for
81021 argument name.
81022
81023 2012-02-19 Joseph Myers <joseph@codesourcery.com>
81024
81025 [BZ #13704]
81026 * manual/nss.texi (Services in the NSS configuration): Correct
81027 list of services in example configuration file.
81028
81029 2012-02-19 Nick Bowler <nbowler@draconx.ca>
81030
81031 [BZ #11322]
81032 * manual/arith.texi: Remove statements about negative zero
81033 behaving identically to zero.
81034
81035 2012-02-18 Joseph Myers <joseph@codesourcery.com>
81036
81037 [BZ #5993]
81038 * manual/install.texi: Do not document upgrading from libc5.
81039
81040 2012-02-18 Joseph Myers <joseph@codesourcery.com>
81041
81042 [BZ #4596]
81043 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81044
81045 2012-02-18 David S. Miller <davem@davemloft.net>
81046
81047 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81048 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81049 %o7 across the call.
81050 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81051 instead.
81052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81053 SETUP_PIC_REG_LEAF.
81054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81055 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81056 * sysdeps/sparc/crtn.S: Likewise.
81057
81058 2012-02-17 Ulrich Drepper <drepper@gmail.com>
81059
81060 * aout/Makefile: Remove.
81061
81062 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
81063
81064 [BZ #13058]
81065 * manual/examples/argp-ex1.c (main): Format definition in GNU
81066 style.
81067 * manual/examples/argp-ex2.c (main): Likewise.
81068 * manual/examples/argp-ex3.c (main): Likewise.
81069 * manual/examples/argp-ex4.c (main): Likewise.
81070 * manual/examples/longopt.c (main): Use new-style prototype
81071 definition.
81072 * manual/examples/strncat.c (main): Specify return type and use
81073 (void) for arguments.
81074 * manual/examples/subopt.c (main): Use char **argv argument.
81075
81076 2012-02-17 Joseph Myers <joseph@codesourcery.com>
81077
81078 [BZ #5077]
81079 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81080 rounding modes.
81081
81082 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
81083
81084 [BZ #6907]
81085 * manual/string.texi (strchr): Change when strchrnul is
81086 recommended.
81087
81088 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
81089
81090 [BZ #174]
81091 * manual/locale.texi (setlocale): Document LOCPATH.
81092
81093 2012-02-17 Joseph Myers <joseph@codesourcery.com>
81094
81095 [BZ #10210]
81096 * manual/process.texi (execle): Move @dots{} before last argument.
81097
81098 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
81099
81100 [BZ #12047]
81101 * manual/charset.texi (Generic Charset Conversion): Fix typo
81102 (LC_TYPE -> LC_CTYPE).
81103
81104 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
81105
81106 [BZ #5805]
81107 * manual/arith.texi (scalbn): Use @var{} on parameter names.
81108 (scalbnf): Likewise.
81109 (scalbnl): Likewise.
81110 (scalbln): Likewise.
81111 (scalblnf): Likewise.
81112 (scalblnl): Likewise.
81113 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81114 (vwarnx): Likewise.
81115 (verr): Likewise.
81116 (verrx): Likewise.
81117 * manual/filesys.texi (telldir): Use braces around return type.
81118 * manual/llio.texi (mmap): Add space after comma.
81119 (mmap64): Likewise.
81120 * manual/math.texi (jn): Use @var{} on parameter names.
81121 (jnf): Likewise.
81122 (jnl): Likewise.
81123 (yn): Likewise.
81124 (ynf): Likewise.
81125 (ynl): Likewise.
81126 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81127 line.
81128 * manual/resource.texi (ulimit): Use @dots{} instead of literal
81129 "...".
81130 (sched_get_priority_min): Remove semicolon on @deftypefun line.
81131 (sched_get_priority_max): Likewise.
81132 * manual/signal.texi (sigvec): Add space after comma.
81133 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81134 names.
81135 (if_indextoname): Likewise.
81136 (if_freenameindex): Likewise.
81137 (sendto): Use ',' instead of '.' in prototype.
81138 * manual/startup.texi (syscall): Use @dots{} instead of literal
81139 "...".
81140 * manual/stdio.texi (__fpending): Separate initial words of
81141 paragraph from @deftypefun line.
81142 * manual/syslog.texi (syslog): Use @dots{} instead of literal
81143 "...".
81144 (vsyslog): Use @var{} on parameter names.
81145 * manual/terminal.texi (stty): Use @var{} on parameter names.
81146 * manual/users.texi (getutmp): Use @var{} on parameter names.
81147 (getutmpx): Likewise.
81148
81149 2012-02-17 Joseph Myers <joseph@codesourcery.com>
81150
81151 [BZ #6884]
81152 * manual/stdio.texi (fopen): Fix typos in description of
81153 ",ccs=STRING".
81154
81155 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
81156
81157 [BZ #4026]
81158 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81159 get clock_id definition.
81160
81161 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
81162
81163 [BZ #4822]
81164 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81165 (madvise): Cast every argument to void on its own.
81166
81167 2012-02-17 Joseph Myers <joseph@codesourcery.com>
81168
81169 [BZ #9902]
81170 * manual/startup.texi (Exit Status): Fix typo.
81171
81172 2012-02-17 Joseph Myers <joseph@codesourcery.com>
81173
81174 [BZ #10140]
81175 * manual/examples/argp-ex1.c: Include <stdlib.h>.
81176 * manual/examples/argp-ex2.c: Likewise.
81177 * manual/examples/argp-ex3.c: Likewise.
81178
81179 2012-02-16 Richard Henderson <rth@redhat.com>
81180
81181 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81182 * sysdeps/s390/s390-32/initfini.c: Remove.
81183 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81184 * sysdeps/s390/s390-64/initfini.c: Remove.
81185
81186 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
81187
81188 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81189 compiler output for sysdeps/generic/initfini.c.
81190 * sysdeps/sh/elf/initfini.c: Remove file.
81191
81192 2012-02-16 David S. Miller <davem@davemloft.net>
81193
81194 [BZ #11494]
81195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81196
81197 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81198 * sysdeps/sparc/crti.S: New file.
81199 * sysdeps/sparc/crtn.S: New file.
81200 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81201 * sysdeps/sparc/sparc64/Makefile: Likewise.
81202
81203 2012-02-15 Mike Frysinger <vapier@gentoo.org>
81204
81205 [BZ #3335]
81206 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81207
81208 2012-02-15 Roland McGrath <roland@hack.frob.com>
81209
81210 [BZ #4822]
81211 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81212
81213 * mach/devstream.c (cookie_io_functions_t): Macro removed.
81214 (write, read, close): Likewise.
81215 Patch by Aurelien Jarno <aurelien@aurel32.net>.
81216
81217 2012-02-15 Joseph Myers <joseph@codesourcery.com>
81218
81219 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81220 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81221 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81222 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81223 <bits/signalfd.h>.
81224 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81226 bits/signalfd.h.
81227
81228 2012-02-14 Marek Polacek <polacek@redhat.com>
81229
81230 * sysdeps/x86_64/crti.S: New file.
81231 * sysdeps/x86_64/crtn.S: New file.
81232 * sysdeps/x86_64/elf/initfini.c: Remove file.
81233
81234 2012-02-13 Joseph Myers <joseph@codesourcery.com>
81235
81236 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81237 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81238 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81239 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81240 <bits/inotify.h>.
81241 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81243 bits/inotify.h.
81244
81245 2012-02-13 Joseph Myers <joseph@codesourcery.com>
81246
81247 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81248 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81249 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81250 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81251 <bits/eventfd.h>.
81252 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81254 bits/eventfd.h.
81255
81256 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
81257
81258 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81259 __feraiseexcept instead of feraiseexcept.
81260
81261 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81262 nanosleep invocations.
81263 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81264 strings, and add error checking for a nanosleep invocations.
81265
81266 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
81267
81268 Replace FSF snail mail address with URLs, as per GNU coding standards.
81269 Most of the snail mail addresses were wrong anyway, and omitting
81270 them makes the source code easier to maintain. Almost all of the
81271 changes are to license notices and to locale LC_IDENTIFICATION
81272 addresses, except for this one:
81273 * manual/libc.texinfo: In "Published by", give the FSF's URL,
81274 not its snail mail address.
81275
81276 2012-02-09 Richard Henderson <rth@twiddle.net>
81277
81278 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81279 of kernel-features.h.
81280
81281 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81282
81283 2012-02-08 Marek Polacek <polacek@redhat.com>
81284
81285 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81286 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81287 * sysdeps/gnu/_G_config.h: Likewise.
81288 * sysdeps/generic/_G_config.h: Likewise.
81289
81290 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
81291
81292 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81293 tests.
81294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81295
81296 * sysdeps/powerpc/powerpc32/crti.S: New file.
81297 * sysdeps/powerpc/powerpc32/crtn.S: New file.
81298 * sysdeps/powerpc/powerpc64/crti.S: New file.
81299 * sysdeps/powerpc/powerpc64/crtn.S: New file.
81300
81301 * Makeconfig (have-initfini): Don't set.
81302 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81303 * configure.in (nopic_initfini): Don't substitute.
81304 * config.h.in (HAVE_INITFINI): Don't #undef.
81305 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81306 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81307
81308 2012-02-08 Joseph Myers <joseph@codesourcery.com>
81309
81310 Support crti.S and crtn.S provided directly by architectures.
81311 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81312 [crti.S in sysdirs] (omit-deps): Likewise.
81313 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81314 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81315 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81316 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81317 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81318 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81319 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81320 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81321 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81322 compiler output for sysdeps/generic/initfini.c.
81323 * sysdeps/i386/elf/Makefile: Remove file.
81324 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81325
81326 2012-02-07 Marek Polacek <polacek@redhat.com>
81327
81328 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81329 * sysdeps/gnu/_G_config.h: Likewise.
81330 * sysdeps/mach/hurd/_G_config.h: Likewise.
81331
81332 2012-02-07 Marek Polacek <polacek@redhat.com>
81333
81334 * math/Makefile (tests): Add tst-CMPLX2.
81335 * math/tst-CMPLX2.c: New file.
81336
81337 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
81338
81339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81340
81341 * math/libm-test.inc (jn_test): Add missing L suffix.
81342
81343 2012-02-06 Marek Polacek <polacek@redhat.com>
81344
81345 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81346 * sysdeps/i386/fpu/e_powf.S: Likewise.
81347 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81348 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81349 * sysdeps/i386/fpu/e_acosh.S: Likewise.
81350 * sysdeps/i386/fpu/e_pow.S: Likewise.
81351 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81352 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81353 * sysdeps/i386/fpu/s_expm1.S: Likewise.
81354 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81355 * sysdeps/i386/fpu/e_log2.S: Likewise.
81356 * sysdeps/i386/fpu/e_log2l.S: Likewise.
81357 * sysdeps/i386/fpu/e_scalb.S: Likewise.
81358 * sysdeps/i386/fpu/e_powl.S: Likewise.
81359 * sysdeps/i386/fpu/s_log1p.S: Likewise.
81360 * sysdeps/i386/fpu/e_log10f.S: Likewise.
81361 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81362 * sysdeps/i386/fpu/e_logl.S: Likewise.
81363 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81364 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81365 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81366 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81367 * sysdeps/i386/fpu/e_log2f.S: Likewise.
81368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81369 * sysdeps/i386/fpu/e_log.S: Likewise.
81370 * sysdeps/i386/fpu/s_cexp.S: Likewise.
81371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81372 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81373 * sysdeps/i386/fpu/e_logf.S: Likewise.
81374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
81375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
81376 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81377 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81378 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81379 * sysdeps/i386/fpu/e_log10.S: Likewise.
81380 * sysdeps/i386/fpu/s_frexp.S: Likewise.
81381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81382 * sysdeps/i386/fpu/s_asinh.S: Likewise.
81383 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81384 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81385 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81386 * sysdeps/i386/asm-syntax.h: Likewise.
81387 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81389 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81390 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81391 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81396 * sysdeps/powerpc/sysdep.h: Likewise.
81397 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81398 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81399
81400 2012-02-06 Joseph Myers <joseph@codesourcery.com>
81401
81402 [BZ #411]
81403 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81404
81405 2012-02-06 Joseph Myers <joseph@codesourcery.com>
81406
81407 * sysdeps/i386/sysdep.h: Include <features.h>.
81408 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81409 version.
81410
81411 2012-02-05 Joseph Myers <joseph@codesourcery.com>
81412
81413 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81414 Define.
81415 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81416 LOAD_PIC_REG_STR.
81417
81418 2012-02-03 Joseph Myers <joseph@codesourcery.com>
81419
81420 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81421 (SETUP_PIC_REG): Use GET_PC_THUNK.
81422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81423 macro.
81424
81425 2012-02-03 Joseph Myers <joseph@codesourcery.com>
81426
81427 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81428 for non-PIC compilation.
81429 (SETUP_PIC_REG): Add .p2align directive.
81430 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81431 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81432 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81433 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81435 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81438 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81439 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81440 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81441 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81442 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81443 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81444 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81445 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81446 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81447 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81448 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81449 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81450 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81451 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81452 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81453 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81454 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81457 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81458 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81459 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81460 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81462 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81463 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81464 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81465 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81466 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81467 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81468 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81469 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81470 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81471
81472 2012-02-03 Joseph Myers <joseph@codesourcery.com>
81473
81474 * math/tst-CMPLX.c: Include <stdio.h>.
81475
81476 2012-01-31 Joseph Myers <joseph@codesourcery.com>
81477
81478 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81479 float.
81480 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81481 * sysdeps/sparc/bits/mathdef.h: Likewise.
81482
81483 2012-01-31 Marek Polacek <polacek@redhat.com>
81484
81485 * libio/libio.h: Don't define _PARAMS.
81486 * locale/programs/config.h: Don't define PARAMS.
81487 * stdlib/strtol_l.c: Likewise.
81488 (__strtol_l): Remove PARAMS from the prototype.
81489
81490 2012-01-31 Ulrich Drepper <drepper@gmail.com>
81491
81492 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
81493 names. Just use the correct names. Remove unnecessary wrapper
81494 functions.
81495 * malloc/arena.c: Likewise.
81496 * malloc/hooks.c: Likewise.
81497
81498 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81499 ARENA_TEST says not to. Simplify test for creation of a new arena.
81500 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81501
81502 2012-01-30 Ulrich Drepper <drepper@gmail.com>
81503
81504 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81505 into tail calls.
81506 (update_get_addr): New function.
81507 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81508 GET_ADDR_MODULE parameter.
81509
81510 2012-01-30 Joseph Myers <joseph@codesourcery.com>
81511
81512 * crypt/cert.c: Remove __STDC__ conditionals.
81513 * crypt/crypt-entry.c: Likewise.
81514 * crypt/crypt_util.c: Likewise.
81515 * libio/filedoalloc.c: Likewise.
81516 * libio/fileops.c: Likewise.
81517 * libio/genops.c: Likewise.
81518 * libio/iofclose.c: Likewise.
81519 * libio/iofdopen.c: Likewise.
81520 * libio/iofopen.c: Likewise.
81521 * libio/iofopen64.c: Likewise.
81522 * libio/iogetdelim.c: Likewise.
81523 * libio/iopopen.c: Likewise.
81524 * libio/obprintf.c: Likewise.
81525 * libio/oldfileops.c: Likewise.
81526 * libio/oldiofclose.c: Likewise.
81527 * libio/oldiofdopen.c: Likewise.
81528 * libio/oldiofopen.c: Likewise.
81529 * libio/oldiopopen.c: Likewise.
81530 * libio/wfiledoalloc.c: Likewise.
81531 * libio/wgenops.c: Likewise.
81532 * locale/programs/xmalloc.c: Likewise.
81533 * misc/syslog.c: Likewise.
81534 * stdio-common/xbug.c: Likewise.
81535 * string/memchr.c: Likewise.
81536 * string/memcmp.c: Likewise.
81537 * string/memrchr.c: Likewise.
81538 * string/rawmemchr.c: Likewise.
81539 * sysdeps/posix/getcwd.c: Likewise.
81540 * time/strftime_l.c: Likewise.
81541
81542 2012-01-30 Joseph Myers <joseph@codesourcery.com>
81543
81544 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81545 * config.make.in (config-cflags-sse2avx): Define.
81546 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81547 Fix typo.
81548
81549 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
81550
81551 * scripts/config.guess: Update from upstream config git repository.
81552 * scripts/config.sub: Likewise.
81553
81554 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
81555
81556 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81557 (EM_NUM): Update.
81558 (R_TILEPRO_*, R_TILEGX_*): New macros.
81559
81560 * scripts/firstversions.awk: Fix bug in version range handling.
81561
81562 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81563
81564 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81565
81566 * include/sys/epoll.h: New file.
81567 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81568 libc_hidden_def.
81569
81570 2012-01-28 Ulrich Drepper <drepper@gmail.com>
81571
81572 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81573 Avoid unnecessary __WORDSIZE == 64 test.
81574 (fmaxf): Use VEX format if possible.
81575 (fmax): Likewise.
81576 (fminf): Likewise.
81577 (fmin): Likewise.
81578
81579 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81580 * math/math_private.h: Remove libc_fegetround* and
81581 libc_fesetround*.
81582 * sysdeps/i386/configure.in: Check for -msse2avx.
81583 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81584 also if SSE2AVX is defined.
81585 Remove libc_fegetround* and libc_fesetround*.
81586 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81587 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
81588 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81589 of HAS_YMM_USABLE.
81590 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81591 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81592 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81593 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81594 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81595
81596 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81597
81598 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81599
81600 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81601 size is not set.
81602 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81603
81604 2012-01-27 Ulrich Drepper <drepper@gmail.com>
81605
81606 [BZ #13618]
81607 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81608 relocation.
81609 * Makeconfig (libm): Define.
81610 * elf/Makefile: Add rules to build and run tst-relsort1.
81611 * elf/tst-relsort1.c: New file.
81612 * elf/tst-relsort1mod1.c: New file.
81613 * elf/tst-relsort1mod2.c: New file.
81614
81615 2012-01-27 Joseph Myers <joseph@codesourcery.com>
81616
81617 * math/s_ldexp.c: Remove __STDC__ conditionals.
81618 * math/s_ldexpf.c: Likewise.
81619 * math/s_ldexpl.c: Likewise.
81620 * math/s_nextafter.c: Likewise.
81621 * math/s_nexttowardf.c: Likewise.
81622 * math/s_significand.c: Likewise.
81623 * math/s_significandf.c: Likewise.
81624 * math/s_significandl.c: Likewise.
81625 * math/w_jnl.c: Likewise.
81626 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81627 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81628 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81629 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81630 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81632 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81633 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81635 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81636 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81637 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81638 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81639 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81641 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81642 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81648 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81649 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81650 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81651 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81652 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81656 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81657 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81658 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81659 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81661 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81662 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81663 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81664 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81665 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81666 * sysdeps/ieee754/k_standard.c: Likewise.
81667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81668 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81669 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81674 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81675 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81676 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81677 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81678 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81679 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81680 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81681 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81686 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81689 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81690 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81691 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81692 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81696 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81697 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81698 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81699 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81700 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81702 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81703 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81704 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81705 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81707 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81709 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81710 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81712 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81716 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81717 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81720 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81722 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81723 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81726 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81729 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81734 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81736 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81737 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81738 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81739 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81740 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81741 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81742 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81743 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81744 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81746 * sysdeps/ieee754/s_matherr.c: Likewise.
81747 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81748 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81751
81752 2012-01-26 Joseph Myers <joseph@codesourcery.com>
81753
81754 * crypt/md5.h: Remove __STDC__ conditionals.
81755 * libio/libioP.h: Likewise.
81756 * locale/programs/config.h: Likewise.
81757 * sysdeps/generic/sysdep.h: Likewise.
81758 * sysdeps/i386/asm-syntax.h: Likewise.
81759 * sysdeps/s390/asm-syntax.h: Likewise.
81760 * sysdeps/unix/sysdep.h: Likewise.
81761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81763
81764 2012-01-26 Joseph Myers <joseph@codesourcery.com>
81765
81766 * libio/libio.h: Remove __STDC__ conditionals.
81767 * malloc/obstack.h: Likewise.
81768 * math/complex.h: Likewise.
81769 * math/math.h: Likewise.
81770 * sysdeps/generic/_G_config.h: Likewise.
81771 * sysdeps/gnu/_G_config.h: Likewise.
81772 * sysdeps/mach/hurd/_G_config.h: Likewise.
81773 * sysdeps/powerpc/bits/mathdef.h: Likewise.
81774 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81775 * sysdeps/sparc/bits/mathdef.h: Likewise.
81776
81777 2012-01-26 Ulrich Drepper <drepper@gmail.com>
81778
81779 [BZ #13583]
81780 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81781 Clean up HAS_* macros.
81782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81783 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81784 possible.
81785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81786 HAS_AVX.
81787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81788 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81790 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81791 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81792
81793 2012-01-25 Joseph Myers <joseph@codesourcery.com>
81794
81795 * elf/tst-unique3.cc (gets): Remove declaration.
81796 * elf/tst-unique3lib.cc (gets): Likewise.
81797 * elf/tst-unique3lib2.cc (gets): Likewise.
81798 * elf/tst-unique4.cc (gets): Likewise.
81799
81800 2012-01-24 Ulrich Drepper <drepper@gmail.com>
81801
81802 * include/stdio.h: Add C++ protection. Add gets declarations and
81803 definitions.
81804 * debug/tst-chk1.c: Don't declare gets here.
81805 * stdio-common/tst-gets.c: Likewise.
81806
81807 2012-01-24 Joseph Myers <joseph@codesourcery.com>
81808
81809 * posix/glob: Remove directory.
81810
81811 2012-01-24 Joseph Myers <joseph@codesourcery.com>
81812
81813 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81814
81815 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
81816
81817 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81818 of the non-standard EPFNOSUPPORT.
81819
81820 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
81821
81822 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81823 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81824 ANYWHERE set to 1 only on KERN_NO_SPACE error.
81825
81826 2012-01-21 Ulrich Drepper <drepper@gmail.com>
81827
81828 * wcsmbs/uchar.h: Test __STDC_VERSION__.
81829
81830 2012-01-20 Ulrich Drepper <drepper@gmail.com>
81831
81832 * nscd/aicache.c (addhstaiX): Do not cache negative results of
81833 transient errors.
81834 * nscd/grpcache.c (cache_addgr): Likewise.
81835 * nscd/hstcache.c (cache_addhst): Likewise.
81836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81837 * nscd/pwdcache.c (cache_addpw): Likewise.
81838 * nscd/servicescache.c (cache_addserv): Likewise.
81839
81840 2012-01-16 Ulrich Drepper <drepper@gmail.com>
81841
81842 * malloc/malloc.c: Various cleanups.
81843 * malloc/hooks.c: Likewise.
81844
81845 * stdlib/Makefile (tests): Add bug-fmtmsg1.
81846 * stdlib/bug-fmtmsg1.c: New file.
81847
81848 * stdlib/fmtmsg.c (init): Add missing unlock.
81849 Patch by Peng Haitao <penght@cn.fujitsu.com>.
81850
81851 2012-01-12 Marek Polacek <polacek@redhat.com>
81852
81853 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81854 and _GNU_SOURCE.
81855
81856 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81857
81858 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81859 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81860 macro to ensure uniqueness of label name.
81861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81863
81864 2012-01-11 Ulrich Drepper <drepper@gmail.com>
81865
81866 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81867
81868 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81869 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81870 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81872
81873 2012-01-10 Ulrich Drepper <drepper@gmail.com>
81874
81875 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81876
81877 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81878 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81879 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81880
81881 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81882
81883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81884 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81885 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81887
81888 * math/bits/math-finite.h: Add ldexp support.
81889
81890 2012-01-10 Marek Polacek <polacek@redhat.com>
81891
81892 * locale/programs/localedef.h (show_archive_content): Add noreturn
81893 attribute.
81894
81895 2012-01-09 Ulrich Drepper <drepper@gmail.com>
81896
81897 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81898
81899 2012-01-08 Ulrich Drepper <drepper@gmail.com>
81900
81901 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81902
81903 * io/Makefile (headers): Add bits/poll2.h.
81904
81905 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
81906
81907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81908 typo #include statement.
81909
81910 2012-01-08 Ulrich Drepper <drepper@gmail.com>
81911
81912 * include/sys/cdefs.h: Define __attribute_alloc_size.
81913 * catgets/gencat.c: Add alloc_size attribute and apply consistently
81914 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81915 * elf/pldd.c: Likewise.
81916 * iconv/iconv_charmap.c: Likewise.
81917 * iconv/iconvconfig.c: Likewise.
81918 * iconv/strtab.c: Likewise.
81919 * locale/programs/locale.c: Likewise.
81920 * locale/programs/localedef.h: Likewise.
81921 * locale/programs/simple-hash.c: Likewise.
81922 * nscd/nscd.h: Likewise.
81923 * nss/makedb.c: Likewise.
81924 * sysdeps/generic/ldconfig.h: Likewise.
81925 * locale/programs/localedef.c: Remove xmalloc prototype.
81926 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81927
81928 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
81929
81930 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81931 appropriate.
81932
81933 2012-01-08 Ulrich Drepper <drepper@gmail.com>
81934
81935 * math/Makefile (tests): Add tst-CMPLX.
81936 * math/tst-CMPLX.c: New file.
81937
81938 * math/complex.h (CMPLXL): Fix typo.
81939
81940 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81941 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81942 GLIBC_2.16.
81943 * debug/tst-chk1.c: Add poll and ppoll tests.
81944 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81945 * include/sys/poll.h: Add hidden proto for ppoll.
81946 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81947 * sysdeps/mach/hurd/ppoll.c: Likewise.
81948 * io/ppoll.c: Likewise.
81949 * debug/poll_chk.c: New file.
81950 * debug/ppoll_chk.c: New file.
81951 * include/bits/poll2.h: New file.
81952 * io/bits/poll2.h: New file.
81953
81954 [BZ #1350]
81955 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81956
81957 * configure.in: static is always set to yes. Remove.
81958 * config.make.in: Don't set build-static.
81959 * Makeconfig: Remove use of build-static.
81960 * dlfcn/Makefile: Likewise.
81961 * elf/Makefile: Likewise.
81962 * math/Makefile: Likewise.
81963 * misc/Makefile: Likewise.
81964 * nptl/Makefile: Likewise.
81965 * sysdeps/mach/hurd/Makefile: Likewise.
81966
81967 * configure.in: PWD_P is not used anymore.
81968 * config.make.in: Remove PWD_P entry.
81969
81970 * configure.in: Remove last remnants of RANLIB.
81971 No need to check for signed size_t anymore.
81972 Don't set libc_commonpagesize and libc_relro_required here for Alpha
81973 and IA-64.
81974 Remove __builtin_expect test because we require at least gcc 3.4.
81975 * aclocal.m4: Likewise.
81976
81977 * wcsmbs/mbrtoc16.c: Implement using towc function.
81978 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81979 * wcsmbs/wcsmbsload.c: Likewise.
81980 * iconv/gconv_simple.c: Likewise.
81981 * iconv/gconv_int.h: Likewise.
81982 * iconv/gconv_builtin.h: Likewise.
81983 * iconv/iconv_prog.c: Remove CHAR16 handling.
81984
81985 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81986
81987 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81988
81989 * configure.in: Remove --with-elf and --enable-bounded options.
81990 Dont set base_machine for ia64. More non-ELF conditions removed.
81991 Remove testing and setting of leading underscore information.
81992 * config.make.in (build-bounded): Set to no.
81993 * config.h.in: Remove NO_UNDERSCORES entry.
81994 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
81995 them.
81996 * csu/start.c: Remove !NO_UNDERSCORE code.
81997 * locale/localeinfo.h: Likewise.
81998 * sysdeps/generic/machine-gmon.h: Likewise.
81999 * sysdeps/generic/sysdep.h: Likewise.
82000 * sysdeps/i386/sysdep.h: Likewise.
82001 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82002 * sysdeps/mach/sysdep.h: Likewise.
82003 * sysdeps/s390/s390-32/sysdep.h: Likewise.
82004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
82005 * sysdeps/sh/sysdep.h: Likewise.
82006 * sysdeps/sparc/sparc32/alloca.S: Likewise.
82007 * sysdeps/unix/i386/sysdep.S: Likewise.
82008 * sysdeps/unix/sparc/start.c: Likewise.
82009 * sysdeps/unix/sparc/sysdep.S: Likewise.
82010 * sysdeps/unix/sparc/sysdep.h: Likewise.
82011 * sysdeps/unix/start.c: Likewise.
82012 * sysdeps/unix/x86_64/sysdep.S: Likewise.
82013 * sysdeps/x86_64/sysdep.h: Likewise.
82014
82015 2012-01-07 Ulrich Drepper <drepper@gmail.com>
82016
82017 [BZ #13553]
82018 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82019 for non-gcc.
82020 * argp/argp-fmtstream.h: Use const instead __const.
82021 * argp/argp.h: Likewise.
82022 * assert/assert.h: Likewise.
82023 * bits/fenv.h: Likewise.
82024 * bits/sched.h: Likewise.
82025 * bits/sigset.h: Likewise.
82026 * bits/sigthread.h: Likewise.
82027 * catgets/nl_types.h: Likewise.
82028 * conform/data/pthread.h-data: Likewise.
82029 * crypt/crypt-private.h: Likewise.
82030 * crypt/crypt.h: Likewise.
82031 * crypt/crypt_util.c: Likewise.
82032 * ctype/ctype.h: Likewise.
82033 * debug/execinfo.h: Likewise.
82034 * debug/mbsnrtowcs_chk.c: Likewise.
82035 * debug/mbsrtowcs_chk.c: Likewise.
82036 * debug/wcsnrtombs_chk.c: Likewise.
82037 * debug/wcsrtombs_chk.c: Likewise.
82038 * debug/wcstombs_chk.c: Likewise.
82039 * dirent/dirent.h: Likewise.
82040 * dlfcn/dlfcn.h: Likewise.
82041 * elf/neededtest4.c: Likewise.
82042 * grp/grp.h: Likewise.
82043 * gshadow/gshadow.h: Likewise.
82044 * iconv/gconv.h: Likewise.
82045 * iconv/gconv_int.h: Likewise.
82046 * iconv/gconv_simple.c: Likewise.
82047 * iconv/iconv.h: Likewise.
82048 * iconv/loop.c: Likewise.
82049 * iconv/skeleton.c: Likewise.
82050 * include/aio.h: Likewise.
82051 * include/aliases.h: Likewise.
82052 * include/argz.h: Likewise.
82053 * include/arpa/inet.h: Likewise.
82054 * include/assert.h: Likewise.
82055 * include/dirent.h: Likewise.
82056 * include/dlfcn.h: Likewise.
82057 * include/execinfo.h: Likewise.
82058 * include/fcntl.h: Likewise.
82059 * include/fenv.h: Likewise.
82060 * include/glob.h: Likewise.
82061 * include/grp.h: Likewise.
82062 * include/libintl.h: Likewise.
82063 * include/mntent.h: Likewise.
82064 * include/netdb.h: Likewise.
82065 * include/pwd.h: Likewise.
82066 * include/rpc/netdb.h: Likewise.
82067 * include/sched.h: Likewise.
82068 * include/search.h: Likewise.
82069 * include/shadow.h: Likewise.
82070 * include/signal.h: Likewise.
82071 * include/stdio.h: Likewise.
82072 * include/stdlib.h: Likewise.
82073 * include/string.h: Likewise.
82074 * include/sys/socket.h: Likewise.
82075 * include/sys/stat.h: Likewise.
82076 * include/sys/statfs.h: Likewise.
82077 * include/sys/statvfs.h: Likewise.
82078 * include/sys/syslog.h: Likewise.
82079 * include/sys/time.h: Likewise.
82080 * include/sys/uio.h: Likewise.
82081 * include/time.h: Likewise.
82082 * include/unistd.h: Likewise.
82083 * include/utmp.h: Likewise.
82084 * include/wchar.h: Likewise.
82085 * include/wctype.h: Likewise.
82086 * inet/aliases.h: Likewise.
82087 * inet/arpa/inet.h: Likewise.
82088 * inet/netinet/ether.h: Likewise.
82089 * inet/netinet/in.h: Likewise.
82090 * intl/libintl.h: Likewise.
82091 * io/bits/fcntl2.h: Likewise.
82092 * io/fcntl.h: Likewise.
82093 * io/ftw.h: Likewise.
82094 * io/sys/poll.h: Likewise.
82095 * io/sys/stat.h: Likewise.
82096 * io/sys/statfs.h: Likewise.
82097 * io/sys/statvfs.h: Likewise.
82098 * io/utime.h: Likewise.
82099 * libio/bits/stdio.h: Likewise.
82100 * libio/bits/stdio2.h: Likewise.
82101 * libio/libio.h: Likewise.
82102 * libio/libioP.h: Likewise.
82103 * libio/stdio.h: Likewise.
82104 * locale/lc-ctype.c: Likewise.
82105 * locale/locale.h: Likewise.
82106 * login/utmp.h: Likewise.
82107 * malloc/arena.c: Likewise.
82108 * malloc/malloc.c: Likewise.
82109 * malloc/malloc.h: Likewise.
82110 * malloc/mcheck.c: Likewise.
82111 * malloc/mtrace.c: Likewise.
82112 * math/bits/mathcalls.h: Likewise.
82113 * math/fenv.h: Likewise.
82114 * math/math_private.h: Likewise.
82115 * misc/bits/error.h: Likewise.
82116 * misc/bits/syslog.h: Likewise.
82117 * misc/err.h: Likewise.
82118 * misc/error.h: Likewise.
82119 * misc/fstab.h: Likewise.
82120 * misc/mntent.h: Likewise.
82121 * misc/regexp.h: Likewise.
82122 * misc/search.h: Likewise.
82123 * misc/sgtty.h: Likewise.
82124 * misc/sys/mman.h: Likewise.
82125 * misc/sys/syslog.h: Likewise.
82126 * misc/sys/uio.h: Likewise.
82127 * misc/sys/xattr.h: Likewise.
82128 * misc/ttyent.h: Likewise.
82129 * nis/rpcsvc/ypclnt.h: Likewise.
82130 * nss/nss.h: Likewise.
82131 * posix/bits/unistd.h: Likewise.
82132 * posix/fnmatch.h: Likewise.
82133 * posix/glob.h: Likewise.
82134 * posix/sched.h: Likewise.
82135 * posix/spawn.h: Likewise.
82136 * posix/sys/wait.h: Likewise.
82137 * posix/unistd.h: Likewise.
82138 * posix/wordexp.h: Likewise.
82139 * pwd/pwd.h: Likewise.
82140 * resolv/netdb.h: Likewise.
82141 * resource/sys/resource.h: Likewise.
82142 * rt/aio.h: Likewise.
82143 * rt/bits/mqueue2.h: Likewise.
82144 * rt/mqueue.h: Likewise.
82145 * shadow/shadow.h: Likewise.
82146 * signal/signal.h: Likewise.
82147 * socket/send.c: Likewise.
82148 * socket/sendto.c: Likewise.
82149 * socket/sys/socket.h: Likewise.
82150 * stdio-common/printf.h: Likewise.
82151 * stdlib/bits/stdlib.h: Likewise.
82152 * stdlib/fmtmsg.h: Likewise.
82153 * stdlib/monetary.h: Likewise.
82154 * stdlib/stdlib.h: Likewise.
82155 * stdlib/ucontext.h: Likewise.
82156 * streams/stropts.h: Likewise.
82157 * string/argz.h: Likewise.
82158 * string/bits/string2.h: Likewise.
82159 * string/string.h: Likewise.
82160 * string/strings.h: Likewise.
82161 * sunrpc/rpc/auth.h: Likewise.
82162 * sunrpc/rpc/auth_des.h: Likewise.
82163 * sunrpc/rpc/clnt.h: Likewise.
82164 * sunrpc/rpc/netdb.h: Likewise.
82165 * sunrpc/rpc/pmap_clnt.h: Likewise.
82166 * sunrpc/rpc/xdr.h: Likewise.
82167 * sysdeps/generic/inttypes.h: Likewise.
82168 * sysdeps/generic/net/if.h: Likewise.
82169 * sysdeps/generic/sys/swap.h: Likewise.
82170 * sysdeps/gnu/net/if.h: Likewise.
82171 * sysdeps/gnu/utmpx.h: Likewise.
82172 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82173 * sysdeps/i386/i486/bits/string.h: Likewise.
82174 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82175 * sysdeps/s390/bits/string.h: Likewise.
82176 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82177 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82178 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82179 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82180 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82181 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82182 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82183 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82184 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82185 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82186 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82187 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82188 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82189 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82190 * sysdeps/unix/sysv/linux/readv.c: Likewise.
82191 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82192 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82195 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82197 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82198 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82199 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82200 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82201 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82202 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82204 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82205 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82206 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82207 * sysvipc/sys/ipc.h: Likewise.
82208 * sysvipc/sys/msg.h: Likewise.
82209 * sysvipc/sys/sem.h: Likewise.
82210 * sysvipc/sys/shm.h: Likewise.
82211 * termios/termios.h: Likewise.
82212 * time/sys/time.h: Likewise.
82213 * time/time.h: Likewise.
82214 * wcsmbs/bits/wchar2.h: Likewise.
82215 * wcsmbs/uchar.h: Likewise.
82216 * wcsmbs/wchar.h: Likewise.
82217 * wctype/wctype.h: Likewise.
82218
82219 [BZ #13551]
82220 * Makeconfig: Remove all but ELF support including AIX support.
82221 * Makerules: Likewise.
82222 * config.h.in: Likewise.
82223 * config.make.in: Likewise.
82224 * configure: Likewise.
82225 * configure.in: Likewise.
82226 * csu/Makefile: Likewise.
82227 * csu/version.c: Likewise.
82228 * debug/Makefile: Likewise.
82229 * dlfcn/Makefile: Likewise.
82230 * elf/Makefile: Likewise.
82231 * extra-lib.mk: Likewise.
82232 * iconv/Makefile: Likewise.
82233 * include/libc-symbols.h: Likewise.
82234 * include/shlib-compat.h: Likewise.
82235 * resolv/Makefile: Likewise.
82236 * resolv/res_libc.c: Likewise.
82237 * rt/Makefile: Likewise.
82238 * sysdeps/i386/asm-syntax.h: Likewise.
82239 * sysdeps/i386/sysdep.h: Likewise.
82240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82241 * sysdeps/mach/sysdep.h: Likewise.
82242 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82243 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82244 * sysdeps/s390/asm-syntax.h: Likewise.
82245 * sysdeps/s390/s390-32/sysdep.h: Likewise.
82246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
82247 * sysdeps/sh/sysdep.h: Likewise.
82248 * sysdeps/unix/sparc/sysdep.h: Likewise.
82249 * sysdeps/wordsize-32/divdi3.c: Likewise.
82250 * sysdeps/x86_64/sysdep.h: Likewise.
82251
82252 * argp/Versions: Remove _argp_unlock_xxx.
82253
82254 [BZ #13559]
82255 * abilist/ld.abilist: Update. Adjust for removal of tls option.
82256 * abilist/libBrokenLocale.abilist: Likewise.
82257 * abilist/libanl.abilist: Likewise.
82258 * abilist/libc.abilist: Likewise.
82259 * abilist/libcrypt.abilist: Likewise.
82260 * abilist/libdl.abilist: Likewise.
82261 * abilist/libm.abilist: Likewise.
82262 * abilist/libnsl.abilist: Likewise.
82263 * abilist/libpthread.abilist: Likewise.
82264 * abilist/libresolv.abilist: Likewise.
82265 * abilist/librt.abilist: Likewise.
82266 * abilist/libthread_db.abilist: Likewise.
82267 * abilist/libutil.abilist: Likewise.
82268 * abilist/libnss_db.abilist: New file.
82269
82270 * scripts/abilist.awk: Add support for indirect functions.
82271
82272 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82273
82274 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82275
82276 * shlib-versions: Remove entries for ports architectures.
82277
82278 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
82279 files in ports.
82280 * elf/stackguard-macros.h: Remove support for IA-64.
82281 * elf/tst-auditmod1.c: Likewise.
82282 * sysdeps/generic/ldsodefs.h: Likewise.
82283
82284 * sysdeps/unix/sysv/linux/configure.in: Ports should define
82285 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82286 configure files.
82287
82288 [BZ #13552]
82289 * configure.in: Remove --enable-omitfp support.
82290 * FAQ.in: Adjust.
82291 * config.make.in: Likewise.
82292 * Makeconfig: Likewise.
82293 * manual/install.texi: Likewise.
82294
82295 In case anyone cares, the IA-64 architecture could move to ports.
82296 * sysdeps/ia64/*: Removed.
82297 * sysdeps/unix/sysv/linux/ia64/*: Removed.
82298 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82299
82300 [BZ #13555]
82301 * configure.in: Remove entries for unsupported architectures.
82302
82303 [BZ #13533]
82304 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82305 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
82306 routines.
82307 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82308 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82309 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
82310 fall back to using wcrtomb.
82311 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82312 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
82313 renaming.
82314 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82315 * wcsmbs/tst-c16c32-1.c: New file.
82316
82317 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82318 local variable.
82319
82320 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82321
82322 * elf/tst-unique3.cc: Add explicit declaration of gets.
82323 * elf/tst-unique3lib.cc: Likewise.
82324 * elf/tst-unique3lib2.cc: Likewise.
82325 * elf/tst-unique4.cc: Likewise.
82326
82327 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82328
82329 2012-01-06 Joseph Myers <joseph@codesourcery.com>
82330
82331 [BZ #13566]
82332 * assert/assert.h (static_assert): Don't define for C++.
82333 * libio/stdio.h (gets): Do declare for C++ <= C++11.
82334 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82335
82336 2012-01-03 Ulrich Drepper <drepper@gmail.com>
82337
82338 * iconv/loop.c (single loop): Fix assertion in storing of
82339 remaining bytes.
82340
82341 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82342
82343 2012-01-01 Ulrich Drepper <drepper@gmail.com>
82344
82345 * posix/getconf.c: Update copyright year.
82346 * nss/getent.c: Likewise.
82347 * nss/makedb.c: Likewise.
82348 * iconv/iconvconfig.c: Likewise.
82349 * iconv/iconv_prog.c: Likewise.
82350 * elf/ldconfig.c: Likewise.
82351 * elf/pldd.c: Likewise.
82352 * elf/sotruss.ksh: Likewise.
82353 * catgets/gencat.c: Likewise.
82354 * csu/version.c: Likewise.
82355 * elf/ldd.bash.in: Likewise.
82356 * elf/sprof.c (print_version): Likewise.
82357 * locale/programs/locale.c: Likewise.
82358 * locale/programs/localedef.c: Likewise.
82359 * login/programs/pt_chown.c: Likewise.
82360 * nscd/nscd.c (print_version): Likewise.
82361 * debug/xtrace.sh: Likewise.
82362 * malloc/memusage.sh: Likewise.
82363 * malloc/mtrace.pl: Likewise.
82364 * debug/catchsegv.sh: Likewise.
82365
82366 2011-12-30 Jakub Jelinek <jakub@redhat.com>
82367
82368 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82369 pure attribute.
82370
82371 2011-12-24 Ulrich Drepper <drepper@gmail.com>
82372
82373 [BZ #13533]
82374 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82375 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82376 transformations.
82377 * iconv/gconv_int.h: Likewise.
82378 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82379 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82380 from libc for GLIBC_2.16.
82381 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82382 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82383 * wcsmbs/uchar.h: Really define mbstate_t.
82384 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82385 * wcsmbs/c16rtomb.c: New file.
82386 * wcsmbs/mbrtoc16.c: New file.
82387 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82388 for C/POSIX locale.
82389 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82390 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82391
82392 * wcsmbs/wchar.h: Add missing __restrict.
82393
82394 2011-12-23 Ulrich Drepper <drepper@gmail.com>
82395
82396 [BZ #13532]
82397 * time/Makefile (routines): Add timespec_get.
82398 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82399 * time/time.h: Define TIME_UTC and declare timespec_get. Define
82400 timespec for ISO C11.
82401 * time/timespec_get.c: New file.
82402 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82403 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82404
82405 [BZ #13531]
82406 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82407 * stdlib/stdlib.h: Declare aligned_alloc.
82408 * Versions.def: Add GLIBC_2.16 for libc.
82409 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82410
82411 [BZ 13527]
82412 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82413 ISO C11.
82414
82415 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82416 code.
82417
82418 [BZ #13528]
82419 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82420
82421 [BZ #13529]
82422 * assert/assert.h (static_assert): Define.
82423
82424 * version.h: Update for 2.16 development version.
82425
82426 [BZ #13526]
82427 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82428 _ISOC11_SOURCE.
82429
82430 * version.h (RELEASE): Bump for 2.15 release.
82431 * include/features.h (__GLIBC_MINOR__): Bump to 15.
82432
82433 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82434 Patch by Marek Polacek <mpolacek@redhat.com>.
82435
82436 * bits/byteswap.h: Protect long long constants with __extension__.
82437 * sysdeps/i386/bits/byteswap.h: Likewise.
82438 * sysdeps/ia64/bits/byteswap.h: Likewise.
82439 * sysdeps/s390/bits/byteswap.h: Likewise.
82440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
82441
82442 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82443
82444 [BZ #13540]
82445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82446 destination buffer.
82447 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82448
82449 2011-12-23 Marek Polacek <polacek@redhat.com>
82450
82451 * elf/dl-addr.c (determine_info): Add inline keyword.
82452 * elf/tst-auditmod4b.c (check_avx): Likewise.
82453 * elf/tst-auditmod6b.c (check_avx): Likewise.
82454 * elf/tst-auditmod6c.c (check_avx): Likewise.
82455 * elf/tst-auditmod7b.c (check_avx): Likewise.
82456
82457 2011-12-23 Ulrich Drepper <drepper@gmail.com>
82458
82459 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82460 !__SSE_MATH__.
82461
82462 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82463
82464 [BZ #13540]
82465 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82466 processing for last bytes.
82467
82468 2011-08-06 Bruno Haible <bruno@clisp.org>
82469
82470 [BZ #13061]
82471 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82472 U+0385, not to U+1FEE.
82473
82474 [BZ #13062]
82475 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82476 entry for U+00A5 U+0301.
82477
82478 2011-12-22 Ulrich Drepper <drepper@gmail.com>
82479
82480 [BZ #13166]
82481 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82482 buffer for the output is too small.
82483
82484 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82485 optimization.
82486
82487 [BZ #13185]
82488 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82489 SSE flags if possible.
82490
82491 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82492
82493 [BZ #13540]
82494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82495 processing for last bytes.
82496
82497 2011-12-22 Joseph Myers <joseph@codesourcery.com>
82498
82499 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82500 (syscall-list-default-options, syscall-list-default-condition)
82501 (syscall-list-includes): Define.
82502 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82503 list of ABIs and options and #if conditions for each ABI. Do not
82504 handle common syscalls between ABIs specially.
82505 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82506 Remove.
82507 (syscall-list-variants, syscall-list-32bit-options)
82508 (syscall-list-32bit-condition, syscall-list-64bit-options)
82509 (syscall-list-64bit-condition): Define.
82510 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82511 (syscall-list-variants, syscall-list-32bit-options)
82512 (syscall-list-32bit-condition, syscall-list-64bit-options)
82513 (syscall-list-64bit-condition): Define.
82514 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82515 Remove.
82516 (syscall-list-variants, syscall-list-32bit-options)
82517 (syscall-list-32bit-condition, syscall-list-64bit-options)
82518 (syscall-list-64bit-condition): Define.
82519 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82520 Remove.
82521 (syscall-list-variants, syscall-list-32bit-options)
82522 (syscall-list-32bit-condition, syscall-list-64bit-options)
82523 (syscall-list-64bit-condition): Define.
82524
82525 2011-12-22 Ulrich Drepper <drepper@gmail.com>
82526
82527 * locale/iso-639.def: Add brx entry.
82528
82529 [BZ #13328]
82530 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82531 Proposed by Mariusz_Cukr <marcukr@op.pl>.
82532
82533 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82534 __feraiseexcept_renamed.
82535
82536 2011-12-21 Ulrich Drepper <drepper@gmail.com>
82537
82538 [BZ #13538]
82539 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82540 EPOLLET with unsigned values.
82541 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82543
82544 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82545 to large cancellation.
82546 * math/s_cacoshf.c: Likewise.
82547 * math/s_cacoshl.c: Likewise.
82548
82549 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
82550
82551 [BZ #13305]
82552 [BZ #12786]
82553 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82554 * math/s_cacoshf.c: Likewise.
82555 * math/s_cacoshl.c: Likewise.
82556
82557 2011-12-21 Ulrich Drepper <drepper@gmail.com>
82558
82559 [BZ #13439]
82560 * iconv/gconv.h: Define __GCONV_SWAP.
82561 * iconvdata/unicode.c: The swap bit must be stored in __flags.
82562 * iconvdata/utf-16.c: Likewise.
82563 * iconvdata/utf-32.c: Likewise.
82564
82565 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
82566
82567 [BZ #13524]
82568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82569 numerator after shifting it by one limb.
82570
82571 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
82572
82573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82574 under [__USE_EXTERN_INLINES].
82575
82576 2011-12-17 Ulrich Drepper <drepper@gmail.com>
82577
82578 [BZ #13446]
82579 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82580
82581 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82582
82583 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82584 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82585 optimized code.
82586 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82587 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82588 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82589 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82590 for strncasecmp/strncasecmp_l compilation.
82591 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82592 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82593
82594 2011-12-08 Marek Polacek <mpolacek@redhat.com>
82595
82596 [BZ #13484]
82597 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82598 of __asm__.
82599
82600 2011-12-17 Ulrich Drepper <drepper@gmail.com>
82601
82602 [BZ #13506]
82603 * time/tzfile.c (__tzfile_read): Check values from file header.
82604
82605 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
82606
82607 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82608 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82609 * powerpc/powerpc32/dl-start.S: Likewise.
82610 * powerpc/powerpc32/elf/start.S: Likewise.
82611 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82612 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82613 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82614 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82615 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82616 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82617 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82618 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82619 * powerpc/powerpc32/fpu/s_round.S: Likewise.
82620 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82621 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82622 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82623 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82624 * powerpc/powerpc32/memset.S: Likewise.
82625 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82626 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82627 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82628 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82629 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82630 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82631 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82632 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82633 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82634 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82635 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82636 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82637 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82638
82639 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82640
82641 * math/libm-test.inc: Added more nearbyint tests.
82642 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82646
82647 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
82648
82649 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82650 FD_CLOEXEC.
82651
82652 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82653
82654 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82655 Add wcscpy-ssse3 wcscpy-c.
82656 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82657 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82658 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82659 * sysdeps/x86_64/wcschr.S: New file.
82660 * sysdeps/x86_64/wcsrchr.S: New file.
82661 * string/test-strcmp.c: Remove checking of wcscmp function for
82662 wrong alignments.
82663 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82664 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82665 wcsrchr-sse2 wcsrchr-c.
82666 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82667 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82668 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82669 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82670 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82671 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82672 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82673 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82674 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82675 * wcsmbc/wcschr.c (WCSCHR): New macro.
82676
82677 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82678
82679 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82680 * wcsmbs/test-wcsrchr.c: New file.
82681 * string/test-strrchr.c: Add wcsrchr support.
82682 (WIDE): New macro.
82683 * wcsmbs/test-wcscpy.c: New file.
82684 * string/test-strcpy.c: Add wcscpy support.
82685 (WIDE): New macro.
82686
82687 2011-12-10 Ulrich Drepper <drepper@gmail.com>
82688
82689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82690 the inner loop.
82691
82692 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
82693
82694 [BZ #13472]
82695 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82696
82697 2011-12-04 Ulrich Drepper <drepper@gmail.com>
82698
82699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82700 Minor optimizations.
82701
82702 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82703 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82704 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82705
82706 2011-12-03 Ulrich Drepper <drepper@gmail.com>
82707
82708 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82709 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82710 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82711 for gcc to avoid warnings.
82712 * inet/Makefile (tests): Add tst-checks.
82713 * inet/tst-checks.c: New file.
82714
82715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82716 warning.
82717
82718 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82719 __wmemcmp_sse2.
82720
82721 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82722 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82723
82724 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82725
82726 2011-12-02 Ulrich Drepper <drepper@gmail.com>
82727
82728 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82729 problem.
82730
82731 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82732
82733 2011-11-29 Joseph Myers <joseph@codesourcery.com>
82734
82735 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82736 conditional on GCC version.
82737 (__arch_compare_and_exchange_val_8_acq)
82738 (__arch_compare_and_exchange_val_16_acq)
82739 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82740 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82741 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82742
82743 2011-12-02 Joseph Myers <joseph@codesourcery.com>
82744
82745 * sysdeps/sh/backtrace.c: New file.
82746
82747 2011-12-02 Andreas Schwab <schwab@redhat.com>
82748
82749 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
82750 parenthesis.
82751
82752 2011-12-01 Andreas Schwab <schwab@redhat.com>
82753
82754 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82755 falling back to utime.
82756
82757 2011-11-30 Andreas Schwab <schwab@redhat.com>
82758
82759 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82760 expectations for float.
82761
82762 2011-11-29 Andreas Schwab <schwab@redhat.com>
82763
82764 * locale/weight.h (findidx): Add parameter len.
82765 * locale/weightwc.h (findidx): Likewise.
82766 * posix/fnmatch_loop.c (FCT): Adjust caller.
82767 * posix/regcomp.c (build_equiv_class): Likewise.
82768 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82769 * posix/regexec.c (check_node_accept_bytes): Likewise.
82770 * string/strcoll_l.c (STRCOLL): Likewise.
82771 * string/strxfrm_l.c (STRXFRM): Likewise.
82772
82773 2011-11-17 Ulrich Drepper <drepper@gmail.com>
82774
82775 * Makefile.in: Remove CVSOPT handling.
82776 * configure.in: Remove use of AC_REVISION.
82777 * iconvdata/Makefile (distribute): No need to filter out CVS.
82778 * scripts/list-sources.sh: Remove CVS, subversion and monotone
82779 handling.
82780
82781 2011-11-16 Andreas Schwab <schwab@redhat.com>
82782
82783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82784 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82785 [USE_AS_STRNCASECMP_L]: Likewise.
82786 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82787 NO_TLS_DIRECT_SEG_REFS.
82788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82789 Fix argument offsets for non-PIC.
82790 [USE_AS_STRNCASECMP_L]: Likewise.
82791 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82792 NO_TLS_DIRECT_SEG_REFS.
82793
82794 2011-11-15 Ulrich Drepper <drepper@gmail.com>
82795
82796 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82797 O_CLOEXEC.
82798 * locale/loadlocale.c (_nl_load_locale): Likewise.
82799
82800 2011-11-15 Andreas Schwab <schwab@redhat.com>
82801
82802 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82803 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82805 (SYSCALL_GETTIME): Set errno on error.
82806
82807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82808 count references to noai6ai_cached.
82809
82810 2011-11-15 Ulrich Drepper <drepper@gmail.com>
82811
82812 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82813
82814 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82815 FD_CLOEXEC for /proc/self/maps.
82816
82817 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82818 FD_CLOEXEC for /proc/meminfo.
82819
82820 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82821 gai.conf.
82822
82823 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
82824 FD_CLOEXEC for given file.
82825
82826 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82827
82828 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82829 FD_CLOEXEC for /etc/hosts.
82830 (_gethtent): Likewise.
82831
82832 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82833
82834 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82835 cancellation and set FD_CLOEXEC for /etc/netgroup.
82836
82837 * nss/nss_files/files-key.c (search): Don't allow cancellation when
82838 reading /etc/publickey.
82839
82840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82841 allow cancellation when reading /etc/group.
82842
82843 * nss/nss_files/files-alias.c (internal_setent): Don't allow
82844 cancellation.
82845 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
82846
82847 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82848 when using data file.
82849
82850 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82851
82852 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82853 (write_nis_obj): Use "c" and "e" in fopen.
82854
82855 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82856
82857 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82858
82859 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82860
82861 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82862
82863 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82864 locale.alias.
82865
82866 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82867
82868 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82869
82870 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82871
82872 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82873 file parsing and set FD_CLOEXEC.
82874
82875 2011-11-14 Ulrich Drepper <drepper@gmail.com>
82876
82877 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82878
82879 2011-11-14 Andreas Schwab <schwab@redhat.com>
82880
82881 * malloc/arena.c (arena_get2): Don't call reused_arena when
82882 _int_new_arena failed.
82883
82884 2011-11-14 Ulrich Drepper <drepper@gmail.com>
82885
82886 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82887 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82889 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82890 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82892 to compile strcasecmp and strncasecmp.
82893 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82894 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82895
82896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82897
82898 2011-11-13 Ulrich Drepper <drepper@gmail.com>
82899
82900 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82901 locale-defines.sym to gen-as-const-headers.
82902 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82903 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82905 to compile strcasecmp and strncasecmp.
82906 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82907 strcasecmp_l and strncasecmp_l.
82908 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82909 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82910 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82911 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82912 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82913 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82914 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82915 * sysdeps/i386/i686/multiarch/strncase.S: New file.
82916 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82917 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82918 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82919
82920 2011-11-12 Ulrich Drepper <drepper@gmail.com>
82921
82922 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82923 result of SYSDEP_GETTIME_CPU to retval.
82924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82925 parameter list to macro. Remove trailing semicolon. Adjust users.
82926
82927 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82928 variable.
82929
82930 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82931 mantissa words.
82932 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82933
82934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82935 from unused variable.
82936
82937 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82938 DWARF definitions.
82939 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82940 for assembling.
82941
82942 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82943 over namespaces.
82944
82945 * sunrpc/rpc_prot.c (rejected): Fix case value.
82946
82947 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82948 unsigned long long int to avoid warnings in shift.
82949
82950 * posix/regex_internal.c (re_string_reconstruct): Actually use result
82951 of use of trans.
82952 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82953 variable tmp.
82954
82955 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82956 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82957 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82958
82959 * nis/nis_table.c (nis_list): Use variable of correct type for
82960 result of __follow_path call.
82961
82962 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82963
82964 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82965 of math functions ceil, trunc, floor, round, and sqrt, when
82966 avaliable on the platform.
82967 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82968 name clash.
82969 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82970 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82971 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82972
82973 2011-10-30 Marek Polacek <mpolacek@redhat.com>
82974
82975 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82976 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82977
82978 2011-11-11 Roland McGrath <roland@hack.frob.com>
82979
82980 * include/unistd.h: Fix __readlink return type.
82981 Reported by Chris Metcalf <cmetcalf@tilera.com>.
82982
82983 2011-11-11 Ulrich Drepper <drepper@gmail.com>
82984
82985 * stdlib/ucontext.h: Undo last change for makecontext.
82986
82987 2011-11-11 Andreas Schwab <schwab@redhat.com>
82988
82989 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82990
82991 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82992 * setjmp/setjmp.h: Mark functions as non-leaf.
82993 * setjmp/bits/setjmp2.h: Likewise.
82994 * stdlib/ucontext.h: Likewise.
82995
82996 2011-11-10 Andreas Schwab <schwab@redhat.com>
82997
82998 * malloc/arena.c (_int_new_arena): Don't increment narenas.
82999 (reused_arena): Don't check arena limit.
83000 (arena_get2): Atomically check arena limit.
83001
83002 2011-11-08 Ulrich Drepper <drepper@gmail.com>
83003
83004 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83005 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83006
83007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83008 instructions.
83009
83010 2011-11-07 Andreas Schwab <schwab@redhat.com>
83011
83012 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83013 handler when locking.
83014
83015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83016 Fix size of allocated buffer.
83017
83018 2011-11-04 Andreas Schwab <schwab@redhat.com>
83019
83020 [BZ #10103]
83021 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83022 declarations for long double functions.
83023 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83024
83025 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83026
83027 2011-11-03 Andreas Schwab <schwab@redhat.com>
83028
83029 * nscd/nscd.c (main): Don't start AVC thread until credentials are
83030 installed.
83031
83032 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83033 is disabled.
83034
83035 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
83036
83037 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83038
83039 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
83040
83041 * include/alloca.h (stackinfo_alloca_round): Define.
83042 (extend_alloca): Use it.
83043 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83044 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83045 here.
83046
83047 * scripts/check-local-headers.sh: Ignore libaudit.h.
83048
83049 * nscd/Makefile (extra-objs): Make recursively expanded.
83050
83051 2011-11-01 Ulrich Drepper <drepper@gmail.com>
83052
83053 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83054 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83055
83056 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83057 * posix/tst-rfc3484-2.c: Likewise.
83058 * posix/tst-rfc3484-3.c: Likewise.
83059
83060 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83061 process_vm_writev.
83062 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83063 process_vm_writev.
83064 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83065 process_vm_writev from libc using GLIBC_2.15 version.
83066
83067 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83068
83069 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
83070
83071 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83072 stack usage.
83073
83074 2011-10-31 Ulrich Drepper <drepper@gmail.com>
83075
83076 [BZ #13367]
83077 * nss/getent.c (initgroups_keys): Show error message in case no group
83078 names are given.
83079
83080 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83081 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83082 __bump_nl_timestamp.
83083 * nscd/connections (nscd_init): When host database is served open
83084 netlink socket and request notification about configuration changes.
83085 (main_loop_poll): Track netlink file descriptor and bump timestamp
83086 in case data becomes available.
83087 (main_loop_epoll): Likewise.
83088 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83089 (database_pers_head): Add extra_data fileds.
83090 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83091 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83092 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83093 Adjust caller.
83094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83095 in6ai data, call __free_in6ai.
83096 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83097 Add -DHAVE_NETLINK.
83098 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
83099 interface information. Reuse previous data if netlink timestamp
83100 is not changed.
83101 (__bump_nl_timestamp): New function.
83102 (__free_in6ai): New function.
83103
83104 2011-10-30 Ulrich Drepper <drepper@gmail.com>
83105
83106 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83107 close_not_cancel_no_status here.
83108 (__check_pf): Reorganize code a bit to not call close twice if OOM.
83109
83110 2011-10-29 Ulrich Drepper <drepper@gmail.com>
83111
83112 [BZ #13276]
83113 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83114 return value.
83115
83116 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83117 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83118 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83119
83120 2011-07-03 Andreas Jaeger <aj@suse.de>
83121
83122 [BZ #10709]
83123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83124 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83125 * math/libm-test.inc (sin_test): Add test case.
83126
83127 2011-10-29 Ulrich Drepper <drepper@gmail.com>
83128
83129 [BZ #13337]
83130 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83131 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83132
83133 * elf/chroot_canon.c (chroot_canon): Cleanups.
83134
83135 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83136
83137 [BZ #13335]
83138 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83139 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83140
83141 * string/test-strchr.c: Make usable for strchrnul testing.
83142 * string/test-strchrnul.c: New file.
83143 * string/Makefile (strop-tests): Add strchrnul.
83144
83145 * po/it.po: Update from translation team.
83146 * po/es.po: Likewise.
83147
83148 2011-10-28 Ulrich Drepper <drepper@gmail.com>
83149
83150 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83151 the three constants needed as parameters. Drop the others.
83152 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83153 __m128i_strloadu_tolower.
83154 Create and initialize variable zero and use it in all the places
83155 where _mm_setzero_si128 was used.
83156
83157 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83158 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83159 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83161 anymore.
83162 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83163 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83164 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83165 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83166 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83167 __mpranred, __mptan.
83168 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83169 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83170 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83171 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83172 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83173 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83175 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83177
83178 2011-10-28 Andreas Schwab <schwab@redhat.com>
83179
83180 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83181 redefine if SHARED.
83182 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83183
83184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83185 wide char related routines to wcsmbs subdir.
83186
83187 2011-10-27 Andreas Schwab <schwab@redhat.com>
83188
83189 [BZ #13344]
83190 * misc/sys/cdefs.h (__THROWNL): Define.
83191 * posix/unistd.h: Use __THREADNL instead of __THREAD
83192 for memory synchronization functions.
83193
83194 2011-10-26 Roland McGrath <roland@hack.frob.com>
83195
83196 [BZ #13349]
83197 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83198 doesn't exist.
83199 * manual/stdio.texi (Obstack Streams): Node removed.
83200
83201 2011-10-26 Andreas Schwab <schwab@redhat.com>
83202
83203 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83204 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83205 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83206
83207 * math/math_private.h (math_force_eval): Allow non-addressable
83208 arguments.
83209 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83210
83211 2011-10-25 Ulrich Drepper <drepper@gmail.com>
83212
83213 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83214 file is not needed.
83215
83216 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83217 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83219 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83220 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83223 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83224 Add AVX variants.
83225 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83226 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83227 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83228 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83229 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83230 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83231 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83232 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83233 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83234 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83235 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83236 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83238 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83239 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83240 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83241 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83242 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83243 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83244
83245 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83246 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
83247
83248 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83249 place. Use VEX encoding when compiling for AVX.
83250
83251 2011-10-25 Andreas Schwab <schwab@redhat.com>
83252
83253 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83254 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83255
83256 * string/test-strchr.c (do_test): Don't generate NUL bytes.
83257
83258 2011-10-25 Ulrich Drepper <drepper@gmail.com>
83259
83260 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83261 useless if() expression.
83262 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83263 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83264 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83266 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83267 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83270 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83272 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83274 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83275 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83276 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83278 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83279 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83280 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83281
83282 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83283
83284 2011-10-25 Andreas Schwab <schwab@redhat.com>
83285
83286 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83287 condition.
83288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
83289
83290 2011-10-25 Ulrich Drepper <drepper@gmail.com>
83291
83292 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83293 .text section. Avoid duplicate constants.
83294 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83302 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83303 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83304 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83305 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83306 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83307 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83308 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83309 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83310 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83311 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83312 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83317 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83318 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83319 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83320 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83321 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83322 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83323 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83324 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83325 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83327 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83328 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83329 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83330 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83332 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83333 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83334 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83335 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83336 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83337 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83338 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83339
83340 2011-10-24 Ulrich Drepper <drepper@gmail.com>
83341
83342 * sysdeps/x86_64/dla.h: Move to ...
83343 * sysdeps/x86_64/fpu/dla.h: ...here.
83344 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83345 situations. Use __builtin_fma only for gcc 4.6 and up.
83346
83347 * config.make.in: Add have-mfma4 entry.
83348 * configure.in: Substitute libc_cv_cc_fma4.
83349 * math/Makefile (dbl-only-routines): Add sincostab.
83350 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83351 Use __sincostab not sincos.
83352 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83353 name is a macro.
83354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
83358 using __copysign.
83359 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
83360 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
83361 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83362 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83363 and __inv.
83364 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83365 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83366 __copysign.
83367 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
83368 define aliases when function name is a macro.
83369 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83370 sysdeps/ieee754/dbl-64/sincos.tbl.
83371 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83372 fma4-enabled routines.
83373 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83374 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83375 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83376 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83378 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83380 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83382 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83383 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83384 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83385 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83386 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83387 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83388 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83389 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83390 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83391 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83392 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83393 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83394 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83398 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83399 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83400 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83401 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83402 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83403
83404 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83405 rename.
83406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83414
83415 2011-10-24 Andreas Schwab <schwab@redhat.com>
83416
83417 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83418
83419 2011-10-23 Ulrich Drepper <drepper@gmail.com>
83420
83421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83422
83423 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83424 prediction.
83425 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83426
83427 * string/strnlen.c: Don't define STRNLEN, reverse logic.
83428 Remove unused variable magic_bits.
83429 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83430
83431 * string/strnlen.c: Define and use STRNLEN macro.
83432 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83433 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83435 * wcsmbs/wcslen.c: Define and use WCSLEN.
83436 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83437 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83438 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83439 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83440 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83441 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83442 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83443
83444 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83445
83446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83447 strnlen-sse2-no-bsf.
83448 Rename strlen-no-bsf to strlen-sse2-no-bsf.
83449 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83450 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83451 Add strnlen support.
83452 (USE_AS_STRNLEN): New macro.
83453 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83454 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83455 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83456 * sysdeps/x86_64/wcslen.S: New file.
83457
83458 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
83459
83460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83461 XMM-moves are used for copying on small sizes.
83462
83463 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83464
83465 * wcsmbs/Makefile (strop-tests): Add wcschr.
83466 * wcsmbs/test-wcschr.c: New file.
83467 * string/test-strchr.c: Update.
83468 Add wcschr support.
83469 (WIDE): New macro.
83470
83471 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83472
83473 * wcsmbs/Makefile (strop-tests): Add wcslen.
83474 * wcsmbs/test-wcslen.c: New file.
83475 * string/test-strlen.c: Update.
83476 Add wcslen support.
83477 (WIDE): New macro.
83478
83479 2011-10-23 Ulrich Drepper <drepper@gmail.com>
83480
83481 * po/it.po: Update from translation team.
83482
83483 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83484
83485 * sysdeps/x86_64/wcscmp.S: Update.
83486 Fix wrong comparison semantics.
83487 wcscmp shall use signed comparison not unsigned.
83488 Don't use substraction to avoid overflow bug.
83489 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83490 * wcsmbc/wcscmp.c: Likewise.
83491 * string/test-strcmp.c: Likewise.
83492 Add new tests to check cases with negative values.
83493
83494 2011-10-23 Ulrich Drepper <drepper@gmail.com>
83495
83496 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83497 * sysdeps/x86_64/dla.h: ...here. New file.
83498 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83503 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83507
83508 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
83509
83510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83511 __ynl_finite aliases.
83512
83513 2011-10-22 Ulrich Drepper <drepper@gmail.com>
83514
83515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83516
83517 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83518 define DLA_FMA.
83519 [DLA_FMA] (EMULV): Use DLA_FMA.
83520 [DLA_FMA] (MUL12): Use EMULV.
83521 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83522 that are not needed.
83523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83530
83531 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
83532
83533 * math/s_nan.c: Undef __nan.
83534 * math/s_nanf.c: Undef __nanf.
83535 * math/s_nanl.c: Undef __nanl.
83536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83537 "math_private.h".
83538
83539 2011-10-22 Ulrich Drepper <drepper@gmail.com>
83540
83541 * math/s_catan.c: Add branch predictions.
83542 * math/s_catanf.c: Likewise.
83543 * math/s_catanh.c: Likewise.
83544 * math/s_catanhf.c: Likewise.
83545 * math/s_catanhl.c: Likewise.
83546 * math/s_catanl.c: Likewise.
83547 * math/s_cexp.c: Likewise.
83548 * math/s_cexpf.c: Likewise.
83549 * math/s_cexpl.c: Likewise.
83550 * math/s_clog.c: Likewise.
83551 * math/s_clog10.c: Likewise.
83552 * math/s_clog10f.c: Likewise.
83553 * math/s_clog10l.c: Likewise.
83554 * math/s_clogf.c: Likewise.
83555 * math/s_clogl.c: Likewise.
83556 * math/s_csqrt.c: Likewise.
83557 * math/s_csqrtf.c: Likewise.
83558 * math/s_csqrtl.c: Likewise.
83559 * math/s_ctanf.c: Likewise.
83560 * math/s_ctanh.c: Likewise.
83561 * math/s_ctanhf.c: Likewise.
83562 * math/s_ctanhl.c: Likewise.
83563 * math/s_ctanl.c: Likewise.
83564
83565 * math/math_private.h: Define __nan, __nanf, __nanl.
83566 * math/s_cacosh.c: Include <math_private.h>.
83567 * math/s_cacoshl.c: Likewise.
83568 * math/s_casinh.c: Likewise.
83569 * math/s_casinhf.c: Likewise.
83570 * math/s_casinhl.c: Likewise.
83571 * math/s_ccos.c: Rely entire on ccosh.
83572 * math/s_ccosf.c: Rely entire on ccoshf.
83573 * math/s_ccosl.c: Rely entirely on ccoshl.
83574 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
83575 Remove tests for FE_INVALID.
83576 * math/s_ccoshf.c: Likewise.
83577 * math/s_ccoshl.c: Likewise.
83578 * math/s_csin.c: Likewise.
83579 * math/s_csinf.c: Likewise.
83580 * math/s_csinh.c Likewise.
83581 * math/s_csinhf.c: Likewise.
83582 * math/s_csinhl.c: Likewise.
83583 * math/s_csinl.c: Likewise.
83584 * math/s_ctan.c: Likewise.
83585 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83586 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83587 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83588
83589 2011-10-21 Ulrich Drepper <drepper@gmail.com>
83590
83591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83592 compilation problems.
83593
83594 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83595 __builtin_expect.
83596
83597 2011-10-20 Ulrich Drepper <drepper@gmail.com>
83598
83599 * sysdeps/i386/configure.in: Test for -mfma4 option.
83600 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83601 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83602 COMMON_CPUID_INDEX_80000001.
83603 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83604 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83605 use it if FMA3 is not supported.
83606 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83607
83608 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83609 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83610
83611 2011-10-20 Andreas Schwab <schwab@redhat.com>
83612
83613 [BZ #12892]
83614 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83615 it would create a cycle with a link time dependency.
83616
83617 2011-10-19 Ulrich Drepper <drepper@gmail.com>
83618
83619 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83620 instruction.
83621 * string/Makefile (strop-tests): Add rawmemchr.
83622 * string/test-rawmemchr.c: New file.
83623
83624 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
83626 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
83627 when compiling str{,n}casecmp and when AVX is available. Hook up
83628 new optimized code in initializers.
83629
83630 2011-10-19 Andreas Schwab <schwab@redhat.com>
83631
83632 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83633 __feraiseexcept instead of feraiseexcept.
83634
83635 2011-10-18 Ulrich Drepper <drepper@gmail.com>
83636
83637 * math/math_private.h: Define defaults for libc_fetestexcept and
83638 libc_feupdateenv.
83639 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83640 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83641 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83642 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83643 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83644 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83645 libc_fetestexcept and libc_feupdateenv.
83646
83647 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83648 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83649 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83650 * sysdeps/x86_64/fpu/math_private.h: Define special version of
83651 libc_feholdexcept_setround.
83652
83653 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83654 Add s_nearbyint-c and s_nearbyintf-c.
83655 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83656 nearbyintf inlines.
83657 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83658 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83660 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83661
83662 * math/math_private.h: Define defaults for libc_fegetround,
83663 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83664 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83665 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83666 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83667 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83668 standard functions.
83669 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83670 Remove comments and hacks for old compiler versions.
83671 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83672 libc_fegetround, libc_fesetround, libc_feholdexcept, and
83673 libc_feholdexceptl.
83674
83675 2011-10-18 Andreas Schwab <schwab@redhat.com>
83676
83677 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83678 (__feraiseexcept_renamed): Add __NTH.
83679 (feraiseexcept): Add __NTH. Rename local variables to fix
83680 namespace violations.
83681
83682 2011-10-17 Ulrich Drepper <drepper@gmail.com>
83683
83684 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83685
83686 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83687
83688 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83689 recently added interfaces.
83690 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83691
83692 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83693 about macro parameter expansion.
83694
83695 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83696 __NO_MATH_INLINES is defined. Cleanups.
83697
83698 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83699 and __floorf is target has SSE4.1.
83700 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83701 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83702 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83703 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83704
83705 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83706 name.
83707 (floorf): Likewise.
83708
83709 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83710
83711 2011-10-17 Andreas Schwab <schwab@redhat.com>
83712
83713 * misc/sys/cdefs.h: Fix last change.
83714
83715 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83716 database lookup.
83717
83718 2011-10-16 Ulrich Drepper <drepper@gmail.com>
83719
83720 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83721
83722 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83725 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83727 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83729 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83730 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83731 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83732 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83733 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83734 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83735 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83736 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83737 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83739 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83740 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83741 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83742 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83743 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83744
83745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83746 ceil, ceilf, floor, floorf.
83747
83748 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83749 Perform IRELATIVE relocations last.
83750
83751 * elf/do-rel.h: Add another parameter nrelative, replacing the
83752 local variable with the same name. Change name of the function
83753 to end in Rel or Rela (uppercase).
83754 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83755 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
83756 elf_dynamic_do_##reloc function.
83757
83758 2011-10-15 Ulrich Drepper <drepper@gmail.com>
83759
83760 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83761 is sufficient, at least on modern CPUs.
83762
83763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83764
83765 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83766 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83767
83768 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83769 __expl_finite.
83770 * math/bits/math-finite.h: Add entries for exp.
83771 * math/e_expl.c: Add __*_finite alias.
83772 * sysdeps/i386/fpu/e_exp.S: Likewise.
83773 * sysdeps/i386/fpu/e_expf.S: Likewise.
83774 * sysdeps/i386/fpu/e_expl.c: Likewise.
83775 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83776 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83779 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83780 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83781 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83782
83783 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83784 is sufficient, at least on modern CPUs.
83785
83786 * ctype/ctype-info.c (__ctype_init): Define.
83787 * include/ctype.h (__ctype_init): Declare.
83788 (__ctype_b_loc): The variable is always initialized.
83789 (__ctype_toupper_loc): Likewise.
83790 (__ctype_tolower_loc): Likewise.
83791 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83792 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83793
83794 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
83795
83796 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83797
83798 * configure.in: Also look in $cxxmachine/include for C++ system
83799 headers.
83800
83801 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83802
83803 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83804 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83805 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83806 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
83807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83808 (USE_AS_WMEMCMP): New macro.
83809 Fixing indents.
83810 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83811 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83812 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83813 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83815 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83816 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83817 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83818 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83819 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83820 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83821 (USE_AS_WMEMCMP): New macro.
83822 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83823 * sysdeps/string/test-memcmp.c: Update.
83824 Fix simple_wmemcmp.
83825 Add new tests.
83826 * wcsmbs/wmemcmp.c: Update.
83827 (WMEMCMP): New macro.
83828 Fix overflow bug.
83829
83830 2011-10-12 Andreas Jaeger <aj@suse.de>
83831
83832 [BZ #13268]
83833 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83834
83835 2011-10-15 Ulrich Drepper <drepper@gmail.com>
83836
83837 * libio/iofwide.c (do_length): Avoid warning.
83838
83839 * ctype/ctype.h (__isctype_f): Add missing __THROW.
83840
83841 2011-10-14 Ulrich Drepper <drepper@gmail.com>
83842
83843 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83844
83845 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83846 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83847 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83848 * sysdeps/i386/i686/fpu/e_log.S: New file.
83849 * sysdeps/i386/i686/fpu/e_logf.S: New file.
83850 * sysdeps/i386/i686/fpu/e_logl.S: New file.
83851
83852 * ctype/ctype.h: Add support for inlined isXXX functions when
83853 compiling C++ code.
83854
83855 2011-10-14 Andreas Schwab <schwab@redhat.com>
83856
83857 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83858
83859 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83860
83861 2011-10-13 Roland McGrath <roland@hack.frob.com>
83862
83863 [BZ #13291]
83864 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83865
83866 2011-10-13 Andreas Schwab <schwab@redhat.com>
83867
83868 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83869 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83870 feraiseexcept.
83871
83872 * sysdeps/x86_64/memrchr.S: Check for zero size.
83873
83874 * string/stratcliff.c: Add memrchr tests.
83875
83876 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
83877
83878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83879 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83880 rawmemchr-sse2 rawmemchr-sse2-bsf.
83881 * sysdeps/i386/i686/multiarch/memchr.S: New file.
83882 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83883 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83884 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83885 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83886 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83887 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83888 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83889 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83890 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83891 * string/memrchr.c (MEMRCHR): New macro.
83892
83893 2011-10-12 Ulrich Drepper <drepper@gmail.com>
83894
83895 Add integration with gcc's -ffinite-math-only and optimize wrapper
83896 functions in libm.
83897 * Versions.def: Define GLIBC_2.15 version for libm.
83898 * math/Makefile (headers): Add bits/math-finite.h.
83899 * math/bits/math-finite.h: New file.
83900 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83901 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83902 * math/e_acoshl.c: Add __*_finite alias.
83903 * math/e_acosl.c: Likewise.
83904 * math/e_asinl.c: Likewise.
83905 * math/e_atan2l.c: Likewise.
83906 * math/e_atanhl.c: Likewise.
83907 * math/e_coshl.c: Likewise.
83908 * math/e_exp10.c: Likewise.
83909 * math/e_exp10f.c: Likewise.
83910 * math/e_exp10l.c: Likewise.
83911 * math/e_exp2l.c: Likewise.
83912 * math/e_fmodl.c: Likewise.
83913 * math/e_gammal_r.c: Likewise.
83914 * math/e_hypotl.c: Likewise.
83915 * math/e_j0l.c: Likewise.
83916 * math/e_j1l.c: Likewise.
83917 * math/e_jnl.c: Likewise.
83918 * math/e_lgammal_r.c: Likewise.
83919 * math/e_log10l.c: Likewise.
83920 * math/e_log2l.c: Likewise.
83921 * math/e_logl.c: Likewise.
83922 * math/e_powl.c: Likewise.
83923 * math/e_sinhl.c: Likewise.
83924 * math/e_sqrtl.c: Likewise.
83925 * math/e_scalb.c: Completely rewritten and optimized.
83926 * math/e_scalbf.c: Likewise.
83927 * math/e_scalbl.c: Likewise.
83928 * math/w_acos.c: Likewise.
83929 * math/w_acosf.c: Likewise.
83930 * math/w_acosl.c: Likewise.
83931 * math/w_acosh.c: Likewise.
83932 * math/w_acoshf.c: Likewise.
83933 * math/w_acoshl.c: Likewise.
83934 * math/w_asin.c: Likewise.
83935 * math/w_asinf.c: Likewise.
83936 * math/w_asinl.c: Likewise.
83937 * math/w_atan2.c: Likewise.
83938 * math/w_atan2f.c: Likewise.
83939 * math/w_atan2l.c: Likewise.
83940 * math/w_atanh.c: Likewise.
83941 * math/w_atanhf.c: Likewise.
83942 * math/w_atanhl.c: Likewise.
83943 * math/w_exp10.c: Likewise.
83944 * math/w_exp10f.c: Likewise.
83945 * math/w_exp10l.c: Likewise.
83946 * math/w_fmod.c: Likewise.
83947 * math/w_fmodf.c: Likewise.
83948 * math/w_fmodl.c: Likewise.
83949 * math/w_j0.c: Likewise.
83950 * math/w_j0f.c: Likewise.
83951 * math/w_j0l.c: Likewise.
83952 * math/w_j1.c: Likewise.
83953 * math/w_j1f.c: Likewise.
83954 * math/w_j1l.c: Likewise.
83955 * math/w_jn.c: Likewise.
83956 * math/w_jnf.c: Likewise.
83957 * math/w_log.c: Likewise.
83958 * math/w_logf.c: Likewise.
83959 * math/w_logl.c: Likewise.
83960 * math/w_log10.c: Likewise.
83961 * math/w_log10f.c: Likewise.
83962 * math/w_log10l.c: Likewise.
83963 * math/w_log2.c: Likewise.
83964 * math/w_log2f.c: Likewise.
83965 * math/w_log2l.c: Likewise.
83966 * math/w_pow.c: Likewise.
83967 * math/w_powf.c: Likewise.
83968 * math/w_powl.c: Likewise.
83969 * math/w_remainder.c: Likewise.
83970 * math/w_remainderf.c: Likewise.
83971 * math/w_remainderl.c: Likewise.
83972 * math/w_scalb.c: Likewise.
83973 * math/w_scalbf.c: Likewise.
83974 * math/w_scalbl.c: Likewise.
83975 * math/w_sqrt.c: Likewise.
83976 * math/w_sqrtf.c: Likewise.
83977 * math/w_sqrtl.c: Likewise.
83978 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83979 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
83980 used.
83981 * math/math_private.h: Declare __kernel_standard_f.
83982 * math/w_cosh.c: Remove cruft and optimize a bit.
83983 * math/w_coshf.c: Likewise.
83984 * math/w_coshl.c: Likewise.
83985 * math/w_exp2.c: Likewise.
83986 * math/w_exp2f.c: Likewise.
83987 * math/w_exp2l.c: Likewise.
83988 * math/w_hypot.c: Likewise.
83989 * math/w_hypotf.c: Likewise.
83990 * math/w_hypotl.c: Likewise.
83991 * math/w_lgamma.c: Likewise.
83992 * math/w_lgamma_r.c: Likewise.
83993 * math/w_lgammaf.c: Likewise.
83994 * math/w_lgammaf_r.c: Likewise.
83995 * math/w_lgammal.c: Likewise.
83996 * math/w_lgammal_r.c: Likewise.
83997 * math/w_sinh.c: Likewise.
83998 * math/w_sinhf.c: Likewise.
83999 * math/w_sinhl.c: Likewise.
84000 * math/w_tgamma.c: Likewise.
84001 * math/w_tgammaf.c: Likewise.
84002 * math/w_tgammal.c: Likewise.
84003 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84005 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84006 Minor optimizations. Pretty printing. Remove cruft.
84007 * sysdeps/i386/fpu/e_acosf.S: Likewise.
84008 * sysdeps/i386/fpu/e_acosh.S: Likewise.
84009 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84010 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84011 * sysdeps/i386/fpu/e_acosl.c: Likewise.
84012 * sysdeps/i386/fpu/e_asin.S: Likewise.
84013 * sysdeps/i386/fpu/e_asinf.S: Likewise.
84014 * sysdeps/i386/fpu/e_atan2.S: Likewise.
84015 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84016 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84017 * sysdeps/i386/fpu/e_atanh.S: Likewise.
84018 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84019 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84020 * sysdeps/i386/fpu/e_exp10.S: Likewise.
84021 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84022 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84023 * sysdeps/i386/fpu/e_exp2.S: Likewise.
84024 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84025 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84026 * sysdeps/i386/fpu/e_fmod.S: Likewise.
84027 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84028 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84029 * sysdeps/i386/fpu/e_hypot.S: Likewise.
84030 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84031 * sysdeps/i386/fpu/e_log.S: Likewise.
84032 * sysdeps/i386/fpu/e_log10.S: Likewise.
84033 * sysdeps/i386/fpu/e_log10f.S: Likewise.
84034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
84035 * sysdeps/i386/fpu/e_log2.S: Likewise.
84036 * sysdeps/i386/fpu/e_log2f.S: Likewise.
84037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
84038 * sysdeps/i386/fpu/e_logf.S: Likewise.
84039 * sysdeps/i386/fpu/e_logl.S: Likewise.
84040 * sysdeps/i386/fpu/e_pow.S: Likewise.
84041 * sysdeps/i386/fpu/e_powf.S: Likewise.
84042 * sysdeps/i386/fpu/e_powl.S: Likewise.
84043 * sysdeps/i386/fpu/e_remainder.S: Likewise.
84044 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84045 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84046 * sysdeps/i386/fpu/e_scalb.S: Likewise.
84047 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84048 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84049 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84050 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84051 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84052 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84055 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84057 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84058 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84059 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84060 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84061 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84062 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84063 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84065 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84066 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84068 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84069 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84072 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84073 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84074 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84075 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84076 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84077 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84078 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84079 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84080 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84081 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84083 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84086 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84087 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84088 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84089 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84090 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84091 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84092 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84093 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84094 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84095 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84096 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84097 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84098 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84099 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84100 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84101 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84102 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84103 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84104 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84105 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84106 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84107 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84108 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84109 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84110 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84111 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84112 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84115 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84116 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84118 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84119 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84120 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84121 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84122 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84123 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84125 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84126 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84129 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84131 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84132 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84133 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84135 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84137 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84138 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84139 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84140 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84141 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84143 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84144 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84145 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84146 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84147 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84148 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84149 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84150 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84151 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84152 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84153 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84154 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84155 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84156 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84157 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84158 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84160 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84161 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84162 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
84163 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84164 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84165 (__isnanf): Likewise.
84166 (__isinf_ns): Likewise.
84167 (__isinf_nsf): Likewise.
84168 (__finite): Likewise.
84169 (__finitef): Likewise.
84170 (__ieee754_sqrt): Define as macro.
84171 (__ieee754_sqrtf): Define as macro.
84172 (__ieee754_sqrtl): Define as macro.
84173 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84174 inlined copy.
84175 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84176 __FINITE_MATH_ONLY__ consistent.
84177 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84178
84179 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
84180
84181 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84182 of rawmemchr.
84183
84184 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84185
84186 2011-10-09 Ulrich Drepper <drepper@gmail.com>
84187
84188 * po/ja.po: Update from translation team.
84189
84190 2011-10-08 Roland McGrath <roland@hack.frob.com>
84191
84192 * locale/programs/locarchive.c (prepare_address_space): New function.
84193 (create_archive, enlarge_archive, open_archive): Use it.
84194
84195 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84196 inside [SHARED], where it is used.
84197
84198 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84199
84200 * nss/getent.c (netgroup_keys): Remove unused variable.
84201 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84202
84203 2011-10-08 Ulrich Drepper <drepper@gmail.com>
84204
84205 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84209 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84210 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84211 * math/Makefile (libm-calls): Add s_isinf_ns.
84212 * math/divtc3.c: Use __isinf_nsl instead of isinf.
84213 * math/multc3.c: Likewise.
84214 * math/s_casin.c: Likewise.
84215 * math/s_casinf.c: Likewise.
84216 * math/s_casinl.c: Likewise.
84217 * math/s_ccos.c: Likewise.
84218 * math/s_ccosf.c: Likewise.
84219 * math/s_ccosl.c: Likewise.
84220 * math/s_ctan.c: Likewise.
84221 * math/s_ctanf.c: Likewise.
84222 * math/s_ctanh.c: Likewise.
84223 * math/s_ctanhf.c: Likewise.
84224 * math/s_ctanhl.c: Likewise.
84225 * math/s_ctanl.c: Likewise.
84226 * math/w_fmod.c: Likewise.
84227 * math/w_fmodf.c: Likewise.
84228 * math/w_fmodl.c: Likewise.
84229 * math/w_remainder.c: Likewise.
84230 * math/w_remainderf.c: Likewise.
84231 * math/w_remainderl.c: Likewise.
84232 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84233 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84236 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84237 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84238 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84239 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84240
84241 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84242 of the number.
84243 * stdio-common/printf_fphex.c: Likewise.
84244 * stdio-common/printf_size.c: Likewise.
84245
84246 * math/e_exp10.c: Include math_private.h using <...> not "...".
84247 * math/e_exp10f.c: Likewise.
84248 * math/e_exp10l.c: Likewise.
84249 * math/e_exp2l.c: Likewise.
84250 * math/e_j0l.c: Likewise.
84251 * math/e_j1l.c: Likewise.
84252 * math/e_jnl.c: Likewise.
84253 * math/e_lgammal_r.c: Likewise.
84254 * math/e_rem_pio2l.c: Likewise.
84255 * math/e_scalb.c: Likewise.
84256 * math/e_scalbf.c: Likewise.
84257 * math/e_scalbl.c: Likewise.
84258 * math/k_cosl.c: Likewise.
84259 * math/k_sinl.c: Likewise.
84260 * math/k_tanl.c: Likewise.
84261 * math/s_cacoshf.c: Likewise.
84262 * math/s_catan.c: Likewise.
84263 * math/s_catanf.c: Likewise.
84264 * math/s_catanh.c: Likewise.
84265 * math/s_catanhf.c: Likewise.
84266 * math/s_catanhl.c: Likewise.
84267 * math/s_catanl.c: Likewise.
84268 * math/s_ccosh.c: Likewise.
84269 * math/s_ccoshf.c: Likewise.
84270 * math/s_ccoshl.c: Likewise.
84271 * math/s_cexp.c: Likewise.
84272 * math/s_cexpf.c: Likewise.
84273 * math/s_cexpl.c: Likewise.
84274 * math/s_clog.c: Likewise.
84275 * math/s_clog10.c: Likewise.
84276 * math/s_clog10f.c: Likewise.
84277 * math/s_clog10l.c: Likewise.
84278 * math/s_clogf.c: Likewise.
84279 * math/s_clogl.c: Likewise.
84280 * math/s_csin.c: Likewise.
84281 * math/s_csinf.c: Likewise.
84282 * math/s_csinh.c: Likewise.
84283 * math/s_csinhf.c: Likewise.
84284 * math/s_csinhl.c: Likewise.
84285 * math/s_csinl.c: Likewise.
84286 * math/s_csqrt.c: Likewise.
84287 * math/s_csqrtf.c: Likewise.
84288 * math/s_csqrtl.c: Likewise.
84289 * math/s_ctan.c: Likewise.
84290 * math/s_ctanf.c: Likewise.
84291 * math/s_ctanh.c: Likewise.
84292 * math/s_ctanhf.c: Likewise.
84293 * math/s_ctanhl.c: Likewise.
84294 * math/s_ctanl.c: Likewise.
84295 * math/s_ldexp.c: Likewise.
84296 * math/s_ldexpf.c: Likewise.
84297 * math/s_ldexpl.c: Likewise.
84298 * math/s_significand.c: Likewise.
84299 * math/s_significandf.c: Likewise.
84300 * math/s_significandl.c: Likewise.
84301 * math/w_acos.c: Likewise.
84302 * math/w_acosf.c: Likewise.
84303 * math/w_acosh.c: Likewise.
84304 * math/w_acoshf.c: Likewise.
84305 * math/w_acoshl.c: Likewise.
84306 * math/w_acosl.c: Likewise.
84307 * math/w_asin.c: Likewise.
84308 * math/w_asinf.c: Likewise.
84309 * math/w_asinl.c: Likewise.
84310 * math/w_atan2.c: Likewise.
84311 * math/w_atan2f.c: Likewise.
84312 * math/w_atan2l.c: Likewise.
84313 * math/w_atanh.c: Likewise.
84314 * math/w_atanhf.c: Likewise.
84315 * math/w_atanhl.c: Likewise.
84316 * math/w_cosh.c: Likewise.
84317 * math/w_coshf.c: Likewise.
84318 * math/w_coshl.c: Likewise.
84319 * math/w_dremf.c: Likewise.
84320 * math/w_exp10.c: Likewise.
84321 * math/w_exp10f.c: Likewise.
84322 * math/w_exp10l.c: Likewise.
84323 * math/w_exp2.c: Likewise.
84324 * math/w_exp2f.c: Likewise.
84325 * math/w_fmod.c: Likewise.
84326 * math/w_fmodf.c: Likewise.
84327 * math/w_fmodl.c: Likewise.
84328 * math/w_hypot.c: Likewise.
84329 * math/w_hypotf.c: Likewise.
84330 * math/w_hypotl.c: Likewise.
84331 * math/w_j0.c: Likewise.
84332 * math/w_j0f.c: Likewise.
84333 * math/w_j0l.c: Likewise.
84334 * math/w_j1.c: Likewise.
84335 * math/w_j1f.c: Likewise.
84336 * math/w_j1l.c: Likewise.
84337 * math/w_jn.c: Likewise.
84338 * math/w_jnf.c: Likewise.
84339 * math/w_jnl.c: Likewise.
84340 * math/w_lgamma.c: Likewise.
84341 * math/w_lgamma_r.c: Likewise.
84342 * math/w_lgammaf.c: Likewise.
84343 * math/w_lgammaf_r.c: Likewise.
84344 * math/w_lgammal.c: Likewise.
84345 * math/w_lgammal_r.c: Likewise.
84346 * math/w_log.c: Likewise.
84347 * math/w_log10.c: Likewise.
84348 * math/w_log10f.c: Likewise.
84349 * math/w_log10l.c: Likewise.
84350 * math/w_log2.c: Likewise.
84351 * math/w_log2f.c: Likewise.
84352 * math/w_log2l.c: Likewise.
84353 * math/w_logf.c: Likewise.
84354 * math/w_logl.c: Likewise.
84355 * math/w_pow.c: Likewise.
84356 * math/w_powf.c: Likewise.
84357 * math/w_powl.c: Likewise.
84358 * math/w_remainder.c: Likewise.
84359 * math/w_remainderf.c: Likewise.
84360 * math/w_remainderl.c: Likewise.
84361 * math/w_scalb.c: Likewise.
84362 * math/w_scalbf.c: Likewise.
84363 * math/w_scalbl.c: Likewise.
84364 * math/w_sinh.c: Likewise.
84365 * math/w_sinhf.c: Likewise.
84366 * math/w_sinhl.c: Likewise.
84367 * math/w_sqrt.c: Likewise.
84368 * math/w_sqrtf.c: Likewise.
84369 * math/w_sqrtl.c: Likewise.
84370 * math/w_tgamma.c: Likewise.
84371 * math/w_tgammaf.c: Likewise.
84372 * math/w_tgammal.c: Likewise.
84373
84374 * po/ja.po: Update from translation team.
84375
84376 2011-09-29 Andreas Jaeger <aj@suse.de>
84377
84378 [BZ #13179]
84379 * sunrpc/netname.c (netname2host): Fix logic.
84380
84381 [BZ #6779]
84382 [BZ #6783]
84383 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84384 correctly.
84385 * math/w_remainder.c (__remainder): Likewise.
84386 * math/w_remainderf.c (__remainderf): Likewise.
84387 * math/libm-test.inc (remainder_test): Add test cases.
84388
84389 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84390
84391 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
84392 sdiv_qrnnd.
84393
84394 2011-10-07 Ulrich Drepper <drepper@gmail.com>
84395
84396 * string/test-memcmp.c: Avoid unncessary #defines.
84397 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84398
84399 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84400
84401 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84402 Use new sse2 version for core i3 - i7 as it's faster
84403 than sse42 version.
84404 (bit_Prefer_PMINUB_for_stringop): New.
84405 * sysdeps/x86_64/rawmemchr.S: Update.
84406 Replace with faster SSE2 version.
84407 * sysdeps/x86_64/memrchr.S: New file.
84408 * sysdeps/x86_64/memchr.S: Update.
84409 Replace with faster SSE2 version.
84410
84411 2011-09-12 Marek Polacek <mpolacek@redhat.com>
84412
84413 * elf/dl-load.c (lose): Add cast to avoid warning.
84414
84415 2011-10-07 Ulrich Drepper <drepper@gmail.com>
84416
84417 * po/ca.po: Update from translation team.
84418
84419 * inet/getnetgrent_r.c: Hook up nscd.
84420 * nscd/Makefile (routines): Add nscd_netgroup.
84421 (nscd-modules): Add netgroupcache.
84422 (CFLAGS-netgroupcache.c): Define.
84423 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84424 (cache_search): Add const to second parameter.
84425 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84426 INNETGR.
84427 (dbs): Add netgrdb entry.
84428 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84429 (verify_persistent_db): Handle netgrdb.
84430 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84431 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84432 GETFDNETGR.
84433 (netgroup_response_header): Define.
84434 (innetgroup_response_header): Define.
84435 (datahead): Add netgroup_response_header and innetgroup_response_header
84436 elements.
84437 * nscd/nscd.conf: Add entries for netgroup cache.
84438 * nscd/nscd.h (dbtype): Add netgrdb.
84439 (_PATH_NSCD_NETGROUP_DB): Define.
84440 (netgroup_iov_disabled): Declare.
84441 (xmalloc, xcalloc, xrealloc): Move declarations here.
84442 (cache_search): Adjust prototype.
84443 Add netgroup-related prototypes.
84444 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84445 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84446 (__nscd_innetgr): Declare.
84447 * nscd/selinux.c (perms): Use access_vector_t as element type and
84448 add netgroup-related initializers.
84449 * nscd/netgroupcache.c: New file.
84450 * nscd/nscd_netgroup.c: New file.
84451 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84452 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84453 For four parameters use innetgr.
84454 * nss/nss_files/files-init.c: Add definition and callback for netgr.
84455 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84456 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84457 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84458
84459 * nscd/connections.c (register_traced_file): Don't register file
84460 for disabled databases.
84461
84462 2011-10-06 Ulrich Drepper <drepper@gmail.com>
84463
84464 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84465
84466 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84467 from tree and freeing node.
84468
84469 2011-09-25 Jiri Olsa <jolsa@redhat.com>
84470
84471 * nss/nsswitch.c (__nss_database_lookup): Handle
84472 nss_parse_service_list out of memory case.
84473
84474 2011-09-15 Jiri Olsa <jolsa@redhat.com>
84475
84476 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84477 out of memory case.
84478
84479 2011-10-04 Andreas Schwab <schwab@redhat.com>
84480
84481 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84482 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84483 pass it down.
84484 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84485 elf_machine_rela, elf_machine_lazy_rel.
84486 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84487 (ELF_DYNAMIC_DO_REL): Likewise.
84488 (ELF_DYNAMIC_DO_RELA): Likewise.
84489 (ELF_DYNAMIC_RELOCATE): Likewise.
84490 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84491 to ELF_DYNAMIC_DO_REL.
84492 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84493 (dl_main): In trace mode always set __RTLD_NOIFUNC.
84494 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84495 elf_machine_rela.
84496 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84497 skip_ifunc, don't call ifunc function if non-zero.
84498 (elf_machine_rela): Likewise.
84499 (elf_machine_lazy_rel): Likewise.
84500 (elf_machine_lazy_rela): Likewise.
84501 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84502 (elf_machine_lazy_rel): Likewise.
84503 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84504 Likewise.
84505 (elf_machine_lazy_rel): Likewise.
84506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84507 Likewise.
84508 (elf_machine_lazy_rel): Likewise.
84509 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84510 (elf_machine_lazy_rel): Likewise.
84511 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84512 (elf_machine_lazy_rel): Likewise.
84513 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84514 (elf_machine_lazy_rel): Likewise.
84515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84516 (elf_machine_lazy_rel): Likewise.
84517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84518 (elf_machine_lazy_rel): Likewise.
84519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84520 (elf_machine_lazy_rel): Likewise.
84521
84522 2011-09-28 Ulrich Drepper <drepper@gmail.com>
84523
84524 * nss/nss_files/files-init.c (_nss_files_init): Use static
84525 initialization for all the *_traced_file variables.
84526
84527 2011-09-28 Andreas Schwab <schwab@redhat.com>
84528
84529 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84530
84531 2011-09-27 Roland McGrath <roland@hack.frob.com>
84532
84533 [BZ #13226]
84534 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84535
84536 2011-09-27 Andreas Schwab <schwab@redhat.com>
84537
84538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84539 Reread the line before reparsing it.
84540
84541 2011-09-26 Andreas Schwab <schwab@redhat.com>
84542
84543 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84544
84545 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
84546 Maxim Kuvyrkov <maxim@codesourcery.com>
84547 Joseph Myers <joseph@codesourcery.com>
84548
84549 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84550 if needed for __stack_chk_guard.
84551
84552 2011-09-19 Roland McGrath <roland@hack.frob.com>
84553
84554 * sysdeps/posix/spawni.c (script_execute): Always define it.
84555 It will be optimized away if unused.
84556 (maybe_script_execute): New function.
84557 (__spawni): Call it.
84558
84559 * Makerules: Don't include tls.make.
84560 (config-tls): Always set to thread.
84561 * tls.make.c: File removed.
84562
84563 2011-09-19 Mike Frysinger <vapier@gentoo.org>
84564
84565 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84566 * config.make.in (CPPFLAGS-config): New substituted variable.
84567
84568 2011-09-15 Ulrich Drepper <drepper@gmail.com>
84569
84570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84571
84572 [BZ #13192]
84573 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84574 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84575
84576 2011-09-15 Roland McGrath <roland@hack.frob.com>
84577
84578 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84579 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84581 (CALL_FAIL): Likewise.
84582 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84583 (CALL_FAIL): Macro removed.
84584 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84585
84586 2011-09-15 Ulrich Drepper <drepper@gmail.com>
84587
84588 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84589 for __FINITE_MATH_ONLY__ == 1.
84590
84591 2011-09-15 Andreas Schwab <schwab@redhat.com>
84592
84593 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84594 __ieee754_sqrt instead of sqrt.
84595 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84596 __ieee754_sqrtf instead of sqrtf.
84597 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84598 __floorf instead of floorf.
84599 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84600 __floorf, __truncf instead of floorf, truncf.
84601
84602 2011-09-14 Ulrich Drepper <drepper@gmail.com>
84603
84604 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84605
84606 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84607 __extern_always_inline.
84608 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84609 32-bit.
84610
84611 2011-09-14 Andreas Schwab <schwab@redhat.com>
84612
84613 * elf/rtld.c (dl_main): Also relocate in dependency order when
84614 doing symbol dependency testing.
84615
84616 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
84617
84618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84619 Always define `refsym'.
84620
84621 2011-09-13 Andreas Schwab <schwab@redhat.com>
84622
84623 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84624 (__FD_ELT): Renamed from __FDELT.
84625 * misc/bits/select2.h (__FD_ELT): Likewise.
84626 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84627 __FD_MASK instead of __FDELT, __FDMASK.
84628 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84629 Likewise.
84630 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84631 Likewise.
84632
84633 * elf/Makefile (gen-ldd): Fix pattern.
84634
84635 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84636 (init_tls): Likewise.
84637
84638 2011-09-12 Ulrich Drepper <drepper@gmail.com>
84639
84640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84641
84642 2011-09-12 Andreas Schwab <schwab@redhat.com>
84643
84644 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84645 `struct cmsghdr *' instead of `void *'.
84646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84647 Likewise.
84648
84649 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
84650
84651 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84652 if non-absolute.
84653 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84654 ldd_rewrite_script.
84655
84656 2011-09-11 Ulrich Drepper <drepper@gmail.com>
84657
84658 * configure.in: Remove --with-tls option.
84659 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84660 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84661 out in case it is missing.
84662 * sysdeps/ia64/elf/configure.in: Likewise.
84663 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84664 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84665 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84666 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84667 * sysdeps/sh/elf/configure.in: Likewise.
84668 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84669 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84670 * sysdeps/x86_64/elf/configure.in: Likewise.
84671 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84672 * sysdeps/mach/hurd/tls.h: Likewise.
84673
84674 [BZ #13067]
84675 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84676
84677 [BZ #13090]
84678 * configure.in: Fix use of AC_INIT.
84679
84680 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84681
84682 2011-09-10 Ulrich Drepper <drepper@gmail.com>
84683
84684 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84685 __set_errno.
84686 * malloc/hooks.c: Likewise.
84687
84688 [BZ #11929]
84689 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
84690 variables statically.
84691 (narenas): Initialize.
84692 (list_lock): Initialize.
84693 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
84694 initializtion of main_arena and list_lock. Small cleanups.
84695 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84696 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
84697 Add initializers to main_arena and mp_.
84698 (malloc_state): Remove pagesize member. Change all users to use
84699 GLRO(dl_pagesize).
84700
84701 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84702 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
84703 is always initialized.
84704
84705 * malloc/malloc.c: Removed unused configurations and dead code.
84706 * malloc/arena.c: Likewise.
84707 * malloc/hooks.c: Likewise.
84708 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84709
84710 * include/tls.h: Removed. USE___THREAD must always be defined.
84711 * bits/libc-tsd.h: Don't handle !USE___THREAD.
84712 * elf/dl-libc.c: Likewise.
84713 * elf/dl-tsd.c: Likewise.
84714 * include/errno.h: Likewise.
84715 * include/netdb.h: Likewise.
84716 * include/resolv.h: Likewise.
84717 * inet/herrno-loc.c: Likewise.
84718 * inet/herrno.c: Likewise.
84719 * malloc/arena.c: Likewise.
84720 * malloc/hooks.c: Likewise.
84721 * malloc/malloc.c: Likewise.
84722 * resolv/res-state.c: Likewise.
84723 * resolv/res_libc.c: Likewise.
84724 * sysdeps/i386/dl-machine.h: Likewise.
84725 * sysdeps/ia64/dl-machine.h: Likewise.
84726 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84727 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84728 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84729 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84730 * sysdeps/sh/dl-machine.h: Likewise.
84731 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84732 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84733 * sysdeps/unix/i386/sysdep.S: Likewise.
84734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84735 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84739 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84740 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84741 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84744 * sysdeps/unix/x86_64/sysdep.S: Likewise.
84745 * sysdeps/x86_64/dl-machine.h: Likewise.
84746 * tls.make.c: Likewise.
84747
84748 * configure.in: Remove --with-__thread option. Make tests for
84749 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84750 tls_model attribute fail if no support is available. Remove
84751 USE_IN_LIBIO.
84752 * Makeconfig: Adjust for dropped configure option. All features are
84753 now mandatory.
84754 * Makerules: Likewise.
84755 * Versions.def: Likewise.
84756 * argp/argp-fmtstream.c: Likewise.
84757 * argp/argp-fmtstream.h: Likewise.
84758 * argp/argp-help.c: Likewise.
84759 * assert/assert.c: Likewise.
84760 * config.h.in: Likewise.
84761 * config.make.in: Likewise.
84762 * configure: Likewise.
84763 * configure.in: Likewise.
84764 * csu/Versions: Likewise.
84765 * csu/init.c: Likewise.
84766 * elf/tst-audit2.c: Likewise.
84767 * elf/tst-tls10.c: Likewise.
84768 * elf/tst-tls10.h: Likewise.
84769 * elf/tst-tls11.c: Likewise.
84770 * elf/tst-tls12.c: Likewise.
84771 * elf/tst-tls14.c: Likewise.
84772 * elf/tst-tlsmod11.c: Likewise.
84773 * elf/tst-tlsmod12.c: Likewise.
84774 * elf/tst-tlsmod13.c: Likewise.
84775 * elf/tst-tlsmod13a.c: Likewise.
84776 * elf/tst-tlsmod14a.c: Likewise.
84777 * elf/tst-tlsmod15b.c: Likewise.
84778 * elf/tst-tlsmod16a.c: Likewise.
84779 * elf/tst-tlsmod16b.c: Likewise.
84780 * elf/tst-tlsmod7.c: Likewise.
84781 * elf/tst-tlsmod8.c: Likewise.
84782 * elf/tst-tlsmod9.c: Likewise.
84783 * gmon/gmon.c: Likewise.
84784 * grp/fgetgrent_r.c: Likewise.
84785 * grp/putgrent.c: Likewise.
84786 * hurd/fopenport.c: Likewise.
84787 * include/libc-symbols.h: Likewise.
84788 * include/tls.h: Likewise.
84789 * intl/gettextP.h: Likewise.
84790 * intl/loadinfo.h: Likewise.
84791 * locale/global-locale.c: Likewise.
84792 * locale/localeinfo.h: Likewise.
84793 * mach/devstream.c: Likewise.
84794 * malloc/arena.c: Likewise.
84795 * malloc/set-freeres.c: Likewise.
84796 * misc/err.c: Likewise.
84797 * misc/getttyent.c: Likewise.
84798 * misc/mntent_r.c: Likewise.
84799 * posix/getopt.c: Likewise.
84800 * posix/wordexp.c: Likewise.
84801 * pwd/fgetpwent_r.c: Likewise.
84802 * resolv/Versions: Likewise.
84803 * resolv/res_hconf.c: Likewise.
84804 * shadow/fgetspent_r.c: Likewise.
84805 * shadow/putspent.c: Likewise.
84806 * stdio-common/printf_fphex.c: Likewise.
84807 * stdio-common/tmpfile.c: Likewise.
84808 * stdlib/abort.c: Likewise.
84809 * stdlib/fmtmsg.c: Likewise.
84810 * sunrpc/auth_unix.c: Likewise.
84811 * sunrpc/clnt_perr.c: Likewise.
84812 * sunrpc/clnt_tcp.c: Likewise.
84813 * sunrpc/clnt_udp.c: Likewise.
84814 * sunrpc/clnt_unix.c: Likewise.
84815 * sunrpc/openchild.c: Likewise.
84816 * sunrpc/svc_simple.c: Likewise.
84817 * sunrpc/svc_tcp.c: Likewise.
84818 * sunrpc/svc_udp.c: Likewise.
84819 * sunrpc/svc_unix.c: Likewise.
84820 * sunrpc/xdr.c: Likewise.
84821 * sunrpc/xdr_array.c: Likewise.
84822 * sunrpc/xdr_rec.c: Likewise.
84823 * sunrpc/xdr_ref.c: Likewise.
84824 * sunrpc/xdr_stdio.c: Likewise.
84825
84826 2011-09-09 Ulrich Drepper <drepper@gmail.com>
84827
84828 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84829
84830 2011-07-03 Andreas Jaeger <aj@suse.de>
84831
84832 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84833 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84834 regenerate with gen-libm-tests.pl.
84835
84836 2010-05-12 Petr Baudis <pasky@suse.cz>
84837
84838 [BZ #11589]
84839 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84840 around j0() zero points by switching to j1().
84841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84842 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84844 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84845
84846 2011-09-09 Ulrich Drepper <drepper@gmail.com>
84847
84848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84849 instead of 0.
84850 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84851 instead of 0.
84852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84853 Patch in part by Pavel Roskin <proski@gnu.org>.
84854
84855 [BZ #13138]
84856 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84857 realloc.
84858 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
84859 Free memory block if necessary.
84860
84861 [BZ #12847]
84862 * libio/genops.c (INTDEF): For string streams the _lock pointer can
84863 be NULL. Don't lock in this case.
84864
84865 2011-09-09 Roland McGrath <roland@hack.frob.com>
84866
84867 * elf/elf.h (ELFOSABI_GNU): New macro.
84868 (ELFOSABI_LINUX): Define to that.
84869
84870 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
84871
84872 * string/strncat.c (strncat): Undef the symbol in case it has been
84873 defined in bits/string.h.
84874
84875 2011-09-09 Ulrich Drepper <drepper@gmail.com>
84876
84877 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84878
84879 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84880 link map.
84881
84882 2011-08-17 Andreas Jaeger <aj@suse.de>
84883
84884 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84885
84886 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
84887 Ian Lance Taylor <iant@google.com>
84888
84889 * math/libm-test.inc (lround_test): New testcase.
84890 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84891
84892 2011-09-08 Ulrich Drepper <drepper@gmail.com>
84893
84894 * Makefile: Remove support for automatic cvs check-ins.
84895 * Makerules: Likewise.
84896 * config.make.in: Likewise.
84897 * configure.in: Likewise.
84898 * intl/Makefile: Likewise.
84899 * locale/Makefile: Likewise.
84900 * po/Makefile: Likewise.
84901 * posix/Makefile: Likewise.
84902 * sysdeps/gnu/Makefile: Likewise.
84903 * sysdeps/mach/hurd/Makefile: Likewise.
84904 * sysdeps/sparc/sparc32/Makefile: Likewise.
84905
84906 [BZ #13118]
84907 * posix/Makefile (bug-regex32-ENV): Define.
84908 Patch by John Stanley <jpsinthemix@verizon.net>.
84909
84910 * misc/Makefile (headers): Add bits/select2.h.
84911 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84912 * misc/bits/select2.h: New file.
84913 * include/bits/select2.h: New file.
84914 * debug/Makefile (routines): Add fdelt_chk.
84915 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84916 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84917 FD_ISSET.
84918 * debug/fdelt_chk.c: New file.
84919
84920 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
84921 * wcsmbs/test-wmemcmp.c: Likewise.
84922 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84923 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84924
84925 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84926
84927 * string/Makefile (strop-tests): Add memcmp.
84928 * string/test-wmemcmp.c: New file.
84929 * string/test-memcmp.c: Add wmemcmp support.
84930
84931 2011-09-08 Roland McGrath <roland@hack.frob.com>
84932
84933 [BZ #13153]
84934 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84935 2011-07-19 change.
84936
84937 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84938 garbage value in a __mach_port_mod_refs call in the cases of the
84939 task-self and thread-self ports.
84940
84941 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84942
84943 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84944
84945 2011-09-08 Andreas Schwab <schwab@redhat.com>
84946
84947 * elf/dl-load.c (lose): Check for non-null L.
84948
84949 2011-09-07 Ulrich Drepper <drepper@gmail.com>
84950
84951 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84952
84953 * elf/dl-libc.c (dlerror_run): Pass back error code from
84954 dl_catch_error.
84955
84956 [BZ #13123]
84957 * elf/dl-load.c (lose): Free l_origin if it is valid.
84958
84959 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84960 names.
84961 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84962 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84963 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84965 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84966 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84967
84968 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84969
84970 * sysdeps/powerpc/fpu/e_hypot.c: New file.
84971 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84972 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84973 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84974 * sysdeps/powerpc/fpu/k_cosf.c: New file.
84975 * sysdeps/powerpc/fpu/k_sinf.c: New file.
84976 * sysdeps/powerpc/fpu/s_cosf.c: New file.
84977 * sysdeps/powerpc/fpu/s_sinf.c: New file.
84978 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84979 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84980
84981 2011-08-15 Alan Modra <amodra@gmail.com>
84982
84983 [BZ #13092]
84984 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84985 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84986 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
84987 ppc_mcount to static-only-routines.
84988 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84989 __mcount_internal.
84990 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84991 __mcount_internal with usual JUMPTARGET. Remove useless nop.
84992
84993 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
84994
84995 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84996 for finite and infinity parameters.
84997
84998 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
84999
85000 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85001 and add nop instructions for throughput optimization.
85002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85003
85004 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
85005
85006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85007 aligned copy for power7 with vector-scalar instructions.
85008 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85009
85010 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
85011
85012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85013 AVX check.
85014
85015 2011-09-07 Andreas Schwab <schwab@redhat.com>
85016
85017 [BZ #13144]
85018 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85019 last change.
85020
85021 2011-09-07 Ulrich Drepper <drepper@gmail.com>
85022
85023 * sysdeps/unix/sysv/linux/x86_64/init-first.c
85024 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85025 syscall wrapper around clock_gettime in __vdso_clock_gettime.
85026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85027 clock_gettime.
85028
85029 2011-09-06 Ulrich Drepper <drepper@gmail.com>
85030
85031 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85032 Forgot to demangle the pointer.
85033
85034 * sysdeps/i386/sysdep.h: Define atom_text_section.
85035 * sysdeps/x86_64/sysdep.h: Likewise.
85036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85037 section with atom_text_section.
85038 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85040 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85042 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85043
85044 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85046 already be defined. Change to take two parameters and don't assign
85047 result to variable. Adjust all users.
85048 Define INTERNAL_GETTIME if not already defined.
85049 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85050 call.
85051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85052 HAVE_CLOCK_GETTIME_VSYSCALL.
85053 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85054
85055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85056 gettimeofday vsyscall, just use time.
85057
85058 2011-09-06 Andreas Schwab <schwab@redhat.com>
85059
85060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85061 <errno.h>.
85062
85063 2011-09-06 Ulrich Drepper <drepper@gmail.com>
85064
85065 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85066 syscall on x86-64.
85067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85068 syscall.
85069 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85071 syscall if possible.
85072
85073 2011-09-05 Ulrich Drepper <drepper@gmail.com>
85074
85075 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85076 e_ident. Don't pass to find_mapsXX.
85077 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85078
85079 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
85080
85081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85082 strchr-sse2-no-bsf strrchr-sse2-no-bsf
85083 * sysdeps/x86_64/multiarch/strchr.S: Update.
85084 Check bit_slow_BSF bit.
85085 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85086 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85088
85089 2011-09-05 Ulrich Drepper <drepper@gmail.com>
85090
85091 [BZ #13134]
85092 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85093 before glibc 2.15.
85094 (tryshell): Define.
85095 (__spawni): Change last parameter to be flag. Test
85096 SPAWN_XFLAGS_USE_PATH flag to use path or not.
85097 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85098 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85099 * posix/spawni.c: Likewise.
85100 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85101 * posix/spawnp.c: Likewise. Change normal version to use
85102 SPAWN_XFLAGS_USE_PATH.
85103 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85104 SPAWN_XFLAGS_TRY_SHELL.
85105
85106 [BZ #13150]
85107 * posix/glob.h: Remove gcc 1.x support.
85108
85109 [BZ #13068]
85110 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85111
85112 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
85113
85114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85115 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85116 strrchr-sse2-bsf
85117 * sysdeps/i386/i686/multiarch/strchr.S: New file.
85118 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85119 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85121 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85123
85124 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85125
85126 * sysdeps/x86_64/wcscmp.S: New file.
85127
85128 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85129 wcscmp-c wcscmp-sse2
85130 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85131 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85132 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85133 * wcsmbs/wcscmp.c: Allow renaming.
85134
85135 2011-09-05 David S. Miller <davem@davemloft.net>
85136
85137 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85138 stack slot, rather than the struct return pointer slot.
85139 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85140 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85142 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85143
85144 2011-09-05 Ulrich Drepper <drepper@gmail.com>
85145
85146 * po/ja.po: Update from translation team.
85147
85148 [BZ #13144]
85149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85150 kernel in 64-bit binaries.
85151
85152 2011-09-01 David S. Miller <davem@davemloft.net>
85153
85154 * elf/elf.h (HWCAP_SPARC_*): Move to..
85155 * sysdeps/sparc/sysdep.h: this new file and add new values.
85156 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85157 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85158 _DL_HWCAP_COUNT to 24.
85159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85160 entries.
85161 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85162 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85163 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85165 instead of magic constants.
85166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85167
85168 2011-08-31 David S. Miller <davem@davemloft.net>
85169
85170 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85172 Reimplement to do errno handling inline.
85173 (SYSCALL_ERROR_HANDLER): New macro.
85174 (__SYSCALL_STRING): Do not do errno handling in asm.
85175 (__CLONE_SYSCALL_STRING): Delete.
85176 (__INTERNAL_SYSCALL_STRING): Delete.
85177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85178 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85179 (PSEUDO): Reimplement to do errno handling inline.
85180 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85181 (SYSCALL_ERROR_HANDLER): New macro.
85182 (__SYSCALL_STRING): Do not do errno handling in asm.
85183 (__CLONE_SYSCALL_STRING): Delete.
85184 (__INTERNAL_SYSCALL_STRING): Delete.
85185 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85186 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85187 i386.
85188 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85189 (inline_syscall*): Add 'err' argument.
85190 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85191 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85192 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85193 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85194
85195 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85196 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85197
85198 2011-08-30 Andreas Schwab <schwab@redhat.com>
85199
85200 * elf/rtld.c (dl_main): Relocate objects in dependency order.
85201
85202 2011-08-29 Jiri Olsa <jolsa@redhat.com>
85203
85204 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85205 directive.
85206
85207 2011-08-24 David S. Miller <davem@davemloft.net>
85208
85209 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85210
85211 2011-08-24 Andreas Schwab <schwab@redhat.com>
85212
85213 * elf/Makefile: Add rules to build and run unload8 test.
85214 * elf/unload8.c: New file.
85215 * elf/unload8mod1.c: New file.
85216 * elf/unload8mod1x.c: New file.
85217 * elf/unload8mod2.c: New file.
85218 * elf/unload8mod3.c: New file.
85219
85220 * elf/dl-close.c (_dl_close_worker): Reset private search list if
85221 it wasn't used.
85222
85223 2011-08-23 David S. Miller <davem@davemloft.net>
85224
85225 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85226 subtract stack bias.
85227 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85228 %sp not %fp in calculations.
85229 (_JMPBUF_UNWINDS_ADJ): Likewise.
85230
85231 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85232 (aio_suspend): Call it to force an exception region around the
85233 AIO_MISC_WAIT() invocation.
85234
85235 2011-08-23 Andreas Schwab <schwab@redhat.com>
85236
85237 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85238 backslash.
85239
85240 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
85241
85242 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85243 protection macro.
85244 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85245 and <dl-machine.h>.
85246 (Elf64_FuncDesc): Remove.
85247
85248 2011-08-22 David S. Miller <davem@davemloft.net>
85249
85250 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85251 sigaltstack check, add missing cfi directives.
85252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85253 missing cfi directives, and sigaltstack handling.
85254
85255 2011-08-16 Andreas Schwab <schwab@redhat.com>
85256
85257 [BZ #11724]
85258 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85259 object is seen twice.
85260 * elf/dl-fini.c (_dl_sort_fini): Likewise.
85261
85262 * elf/Makefile (distribute): Add tst-initorder2.c.
85263 (tests): Add tst-initorder2.
85264 (modules-names): Add tst-initorder2a tst-initorder2b
85265 tst-initorder2c tst-initorder2d. Add rules to build them.
85266 ($(objpfx)tst-initorder2.out): New rule.
85267 * elf/tst-initorder2.c: New file.
85268 * elf/tst-initorder2.exp: New file.
85269
85270 2011-08-22 Andreas Schwab <schwab@redhat.com>
85271
85272 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85273
85274 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85275 dependencies back to end of function.
85276
85277 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85278 $(elfobjdir)/ld.so.
85279
85280 2011-08-21 Ulrich Drepper <drepper@gmail.com>
85281
85282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85283 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85285 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85286 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85287 of __vdso_gettimeofday.
85288 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85289 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
85290 attribute_hidden.
85291 (_libc_vdso_platform_setup): Remove initialization of
85292 __vdso_gettimeofday and __vdso_time.
85293
85294 2011-08-20 Ulrich Drepper <drepper@gmail.com>
85295
85296 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85297 and fgetc_unlocked.
85298 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85299 getc_unlocked.
85300
85301 * elf/dl-open.c (add_to_global): Report additions to the global scope
85302 for LD_DEBUG=scopes.
85303 (dl_open_worker): Also print scope of newly loaded dependencies.
85304 (_dl_show_scope): Indicate if there is no scope.
85305
85306 [BZ #13114]
85307 * stdio-common/Makefile (tests): Add bug24.
85308 * stdio-common/bug24.c: New file.
85309
85310 2011-08-19 Andreas Jaeger <aj@suse.de>
85311
85312 [BZ #13114]
85313 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85314 non-existant file when using close-on-exec mode.
85315
85316 2011-08-20 Ulrich Drepper <drepper@gmail.com>
85317
85318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85319 the very first instruction.
85320
85321 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85322 the CFI state in the end.
85323 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85324 inclusion of dl-trampoline.h.
85325 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85326
85327 2011-08-19 Andreas Schwab <schwab@redhat.com>
85328
85329 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85330 expectations for long double.
85331
85332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85333 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85334
85335 2011-08-14 David S. Miller <davem@davemloft.net>
85336
85337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85338 artificual limit depends upon the system page size.
85339
85340 2011-08-17 Ulrich Drepper <drepper@gmail.com>
85341
85342 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85343 * resolv/Makefile: Define CFLAGS-libresolv.
85344
85345 2011-08-17 Andreas Schwab <schwab@redhat.com>
85346
85347 * nss/makedb.c (compute_tables): Make variables used in nested
85348 function static.
85349
85350 2011-08-17 Ulrich Drepper <drepper@gmail.com>
85351
85352 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85353 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85354 if buffer was too small.
85355
85356 * elf/pldd.c (main): Attach to all threads in the process.
85357 Rewrite /proc handling to use *at functions.
85358
85359 2011-08-16 Ulrich Drepper <drepper@gmail.com>
85360
85361 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85362 specifies first scope to show.
85363 (dl_open_worker): Update callers. Move printing scope of new
85364 object to before the relocation.
85365 * elf/rtld.c (dl_main): Update _dl_show_scope call.
85366 * sysdeps/generic/ldsodefs.h: Update declaration.
85367
85368 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85369 string for the scope number.
85370
85371 2011-08-14 Ulrich Drepper <drepper@gmail.com>
85372
85373 * nscd/servicescache.c (cache_addserv): Make sure written is always
85374 initialized.
85375
85376 2011-08-14 Roland McGrath <roland@hack.frob.com>
85377
85378 * sysdeps/i386/i486/bits/atomic.h
85379 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85380 statement expression, so as to suppress "set but not used" warning.
85381 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85382
85383 * string/strncat.c (STRNCAT): Use prototype definition.
85384
85385 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85386 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85387 -Iprograms here.
85388 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85389 (localedef-modules): Add localedef.
85390 (locale-modules): Add locale.
85391
85392 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85393 * elf/rtld.c (dl_main): Invert order of assignment in last change,
85394 to avoid a warning.
85395
85396 2011-08-14 David S. Miller <davem@davemloft.net>
85397
85398 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85399 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85400
85401 2011-08-13 Ulrich Drepper <drepper@gmail.com>
85402
85403 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85404 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85405 * elf/rtld.c (dl_main): Set l_name of vDSO.
85406 Call _dl_show_scope when DL_DEBUG_SCOPES.
85407 (process_dl_debug): Recognize scopes flag and also set it for all.
85408 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85409 Declare _dl_show_scope.
85410
85411 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85412 (do_dlopen): Pass caller_dlopen to dl_open.
85413 (__libc_dlopen_mode): Initialize caller_dlopen.
85414
85415 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85416 of libc. Make tolower call locale-independent. Optimize a bit by
85417 using isdigit instead of isalnum.
85418 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85419
85420 2011-08-12 Ulrich Drepper <drepper@gmail.com>
85421
85422 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85423 was a dependency or dynamically loaded.
85424
85425 2011-08-11 Ulrich Drepper <drepper@gmail.com>
85426
85427 * intl/l10nflist.c: Allow architecture-specific pop function.
85428 * sysdeps/x86_64/l10nflist.c: New file.
85429
85430 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85431 classification.
85432
85433 2011-08-10 Andreas Schwab <schwab@redhat.com>
85434
85435 * include/dirent.h: Add libc_hidden_proto for scandirat and
85436 scandirat64. Don't declare __scandirat64.
85437 * dirent/scandirat.c: Add libc_hidden_def.
85438 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85439 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85440
85441 2011-08-10 David S. Miller <davem@davemloft.net>
85442
85443 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85444 enum.
85445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85448
85449 2011-08-09 Ulrich Drepper <drepper@gmail.com>
85450
85451 * Versions.def [libc]: Add GLIBC_2.15.
85452 * dirent/Makefile (routines): Add scandirat and scandirat64.
85453 * dirent/Versions [libc]: Export scandirat and scandirat64 for
85454 GLIBC_2.15.
85455 * dirent/dirent.h: Declare scandirat and scandirat64.
85456 * dirent/scandirat.c: New file.
85457 * dirent/scandirat64.c: New file.
85458 * sysdeps/wordsize-64/scandirat.c: New file.
85459 * sysdeps/wordsize-64/scandirat64.c: New file.
85460 * dirent/opendir.c: Define opendirat.
85461 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
85462 using scandirat.
85463 * dirent/scandir64.c: Adjust for scandir.c change.
85464 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
85465 __scandirat64, and __scandir_cancel_handler.
85466 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
85467 additional parameter and use openat instead of open (outside of ld.so).
85468 Add new __opendir as wrapper around __opendirat.
85469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85470 here without requiring old scandirat implementation.
85471
85472 2011-08-08 Ulrich Drepper <drepper@gmail.com>
85473
85474 * dirent/scandir.c (cancel_handler): Renamed to
85475 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
85476 defined. Adjust users.
85477 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85478 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85479
85480 2011-08-04 Ulrich Drepper <drepper@gmail.com>
85481
85482 * string/test-string.h (IMPL): Use __STRING to expand name and then
85483 stringify it.
85484
85485 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
85486 of cleanups.
85487
85488 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85489
85490 * string/Makefile: Update.
85491 (strop-tests): Append strncat.
85492 * string/test-wcscmp.c: New file.
85493 New comprehensive test for wcscmp.
85494 * string/test-strcmp.c: Update.
85495 (WIDE): New define.
85496
85497 2011-07-22 Andreas Schwab <schwab@redhat.com>
85498
85499 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85500 line.
85501
85502 2011-07-26 Andreas Schwab <schwab@redhat.com>
85503
85504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85505 encoding to ACE if AI_IDN.
85506
85507 2011-08-01 Jakub Jelinek <jakub@redhat.com>
85508
85509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85510 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85511
85512 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
85513
85514 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85515 Fix overflow bug in strncat.
85516 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85517
85518 * string/test-strncat.c: Update.
85519 Add new tests for checking overflow bugs.
85520
85521 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
85522
85523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85524 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85525 * sysdeps/i386/i686/multiarch/strcat.S: New file.
85526 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85527 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85528 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85529 * sysdeps/i386/i686/multiarch/strncat.S: New file.
85530 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85531 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85532
85533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85534 (USE_AS_STRCAT): Define.
85535 Add strcat and strncat support.
85536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85537
85538 2011-07-25 Andreas Schwab <schwab@redhat.com>
85539
85540 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85541 __n bigger than INT_MAX+1.
85542 (__strncmp_g): Likewise.
85543
85544 2011-07-23 Ulrich Drepper <drepper@gmail.com>
85545
85546 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85547 * libio/stido.h: Likewise.
85548
85549 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85550 (AF_NFC): Define.
85551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85552 (AF_NFC): Define.
85553
85554 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85555 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85557 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85559
85560 [BZ #13021]
85561 * scripts/test-installation.pl: Don't expect libnss_test1 to be
85562 installed.
85563
85564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85565 typo.
85566 (_dl_x86_64_save_sse): Likewise.
85567
85568 2011-07-22 Ulrich Drepper <drepper@gmail.com>
85569
85570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85571 OSXSAVE.
85572 (_dl_x86_64_save_sse): Likewise.
85573
85574 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85575
85576 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85577
85578 2011-07-21 Andreas Schwab <schwab@redhat.com>
85579
85580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85581 change.
85582 (_dl_x86_64_save_sse): Use correct AVX check.
85583
85584 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
85585
85586 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85587 bug in strncpy/strncat.
85588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85589
85590 2011-07-21 Ulrich Drepper <drepper@gmail.com>
85591
85592 * string/tester.c (test_strcat): Add tests for different alignments
85593 of source and destination.
85594 (test_strncat): Likewise.
85595
85596 2011-07-20 Ulrich Drepper <drepper@gmail.com>
85597
85598 [BZ #12852]
85599 * posix/glob.c (glob): Check passed in values before using them in
85600 expressions to avoid some overflows.
85601 (glob_in_dir): Likewise.
85602
85603 [BZ #13007]
85604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85605 check for AVX enablement so that we don't crash with old kernels and
85606 new hardware.
85607 * elf/tst-audit4.c: Add same checks here.
85608 * elf/tst-audit6.c: Likewise.
85609
85610 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85611
85612 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
85613
85614 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85615
85616 2011-07-20 Ulrich Drepper <drepper@gmail.com>
85617
85618 * po/cs.po: Update from translation team.
85619 * po/bg.po: Likewise.
85620
85621 2011-07-12 Marek Polacek <mpolacek@redhat.com>
85622
85623 * misc/sys/cdefs.h: Add support for const attribute.
85624 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85625 to gnu_dev_{major,minor,makedev} functions.
85626
85627 2011-07-20 Marek Polacek <mpolacek@redhat.com>
85628
85629 * intl/dcigettext.c (get_output_charset): Add missing bracket.
85630
85631 2011-07-20 Andreas Schwab <schwab@redhat.com>
85632
85633 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85634 strlen results.
85635
85636 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85637
85638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85639 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85640 register in order to avoid conflicts with the soft frame pointer
85641 being held in r11 when necessary.
85642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85643 (INTERNAL_VSYSCALL_NCS): Likewise.
85644
85645 2011-07-14 Marek Polacek <mpolacek@redhat.com>
85646
85647 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85648 * elf/dl-fini.c (_dl_fini): Adjust caller.
85649 * elf/dl-close.c (_dl_close_worker): Likewise.
85650 * sysdeps/generic/ldsodefs.h: Adjust declaration.
85651
85652 2011-07-15 Marek Polacek <mpolacek@redhat.com>
85653
85654 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85655 "aux_cache->nlibs < 0".
85656
85657 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85658 in the reload-count case.
85659
85660 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
85661
85662 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85663 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85664 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85665 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85666 * sysdeps/x86_64/multiarch/strcat.S: New file.
85667 * sysdeps/x86_64/multiarch/strncat.S: New file.
85668 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85669 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85670 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85671 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85673 (USE_AS_STRCAT): Define.
85674 Add strcat and strncat support.
85675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85677 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85678 * string/strncat.c: Update.
85679 (USE_AS_STRNCAT): Define.
85680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85681 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85682 and i7.
85683 * sysdeps/x86_64/multiarch/init-arch.h
85684 (bit_Prefer_PMINUB_for_stringop): New.
85685 (index_Prefer_PMINUB_for_stringop): Likewise.
85686 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85687 bit_Prefer_PMINUB_for_stringop.
85688
85689 2011-07-19 Ulrich Drepper <drepper@gmail.com>
85690
85691 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85692 buffer64.
85693 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85694 of casting of buffer.
85695 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85696 buffer32 and buffer64.
85697 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85698 writes instead of casting of buffer.
85699 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85700 buffer32.
85701 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85702 casting of buffer.
85703
85704 2011-07-19 Andreas Schwab <schwab@redhat.com>
85705
85706 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85707
85708 2011-07-19 Ulrich Drepper <drepper@gmail.com>
85709
85710 * nscd/nscd.c (termination_handler): Don't do anything for a database
85711 if it has not yet been initialized.
85712
85713 2011-07-18 Ulrich Drepper <drepper@gmail.com>
85714
85715 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85716
85717 2011-07-15 Marek Polacek <mpolacek@redhat.com>
85718
85719 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85720
85721 2011-07-18 Ulrich Drepper <drepper@gmail.com>
85722
85723 * po/nl.po: Update from translation team.
85724 * po/sv.po: Likewise.
85725
85726 2011-07-16 Roland McGrath <roland@hack.frob.com>
85727
85728 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85729 now disallowed by GCC.
85730
85731 * configure.in (use-default-link): Default to yes if a test -shared
85732 link meets our qualifications.
85733 * configure: Regenerated.
85734
85735 * config.make.in (output-format): New variable.
85736 * configure.in: Check for ld --print-output-format support.
85737 * configure: Regenerated.
85738 * Makerules ($(common-objpfx)format.lds)
85739 [$(output-format) != unknown]: Just use $(output-format),
85740 instead of the linker-script munging.
85741
85742 2011-07-14 Roland McGrath <roland@hack.frob.com>
85743
85744 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85745 of $(common-objpfx)shlib.lds.
85746 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85747
85748 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85749 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85750
85751 * configure.in (-z relro check): Adjust test code to add a large
85752 writable data section after it.
85753 * configure: Regenerated.
85754
85755 2011-07-11 Roland McGrath <roland@hack.frob.com>
85756
85757 * configure.in (-z relro check): Fix test code to make the variable
85758 truly const.
85759 * configure: Regenerated.
85760
85761 2011-07-11 Ulrich Drepper <drepper@gmail.com>
85762
85763 * nscd/nscd.h (struct traced_file): Define.
85764 (struct database_dyn): Remove inotify_descr, reset_res, and filename
85765 elements. Add traced_files.
85766 (inotify_fd): Declare.
85767 (register_traced_file): Declare.
85768 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85769 (inotify_fd): Export.
85770 (resolv_conf_descr): Remove.
85771 (nscd_init): Move inotify descriptor creation to main.
85772 Don't register files for notification here.
85773 (register_traced_file): New function.
85774 (invalidate_cache): Don't use reset_res to determine whether to call
85775 res_init, go through the list of registered files.
85776 (main_loop_poll): The inotify descriptors are now stored in the
85777 structures for the traced files.
85778 (main_loop_epoll): Likewise.
85779 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
85780 to __nss_disable_nscd.
85781 * nscd/cache.c (prune_cache): There is no single inotify descriptor
85782 for a database anymore. Check the records for all the registered
85783 files instead.
85784 * nss/Makefile (libnss_files-routines): Add files-init.
85785 (libnss_db-routines): Add db-init.
85786 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85787 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85788 * nss/nss_db/db-init.c: New file.
85789 * nss/nss_files/files-init.c: New file.
85790 * nss/nsswitch.c (nss_load_library): New function. Broken out of
85791 __nss_lookup_function.
85792 (__nss_lookup_function): Call nss_load_library.
85793 (nss_load_all_libraries): New function.
85794 (__nss_disable_nscd): Take parameter with callback function for files
85795 to register. Set is_nscd. Load all the DSOs for the NSS modules
85796 used for the cached services.
85797 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85798 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85799 options for features to all the files in nscd.
85800
85801 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85802
85803 2011-07-10 Roland McGrath <roland@hack.frob.com>
85804
85805 * csu/elf-init.c (__libc_csu_init): Comment typo.
85806
85807 2011-07-09 Ulrich Drepper <drepper@gmail.com>
85808
85809 * po/pl.po: Update from translation team.
85810 * po/ja.po: Likewise.
85811 * po/ru.po: Likewise.
85812 * po/ko.po: Likewise.
85813 * po/fr.po: Likewise.
85814
85815 2011-07-09 Roland McGrath <roland@hack.frob.com>
85816
85817 * configure.in (.ctors/.dtors header and trailer check):
85818 Use an empirical test on a built program.
85819 * configure: Regenerated.
85820
85821 * configure.in (-z relro check): Use an empirical test on a built DSO.
85822 Detect, but do not require, on ia64.
85823 * configure: Regenerated.
85824
85825 * configure.in (READELF): Find it with AC_CHECK_TOOL.
85826 Update tests that use readelf to use $READELF instead.
85827 * configure: Regenerated.
85828
85829 2011-07-08 Ulrich Drepper <drepper@gmail.com>
85830
85831 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85832 if the result is not used.
85833
85834 2011-07-05 Andreas Jaeger <aj@suse.de>
85835
85836 [BZ#9696]
85837 * stdlib/tst-strtod.c: Add testcase.
85838
85839 2011-07-07 Ulrich Drepper <drepper@gmail.com>
85840
85841 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85842 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85843 The latter has a higher limit. Take additional parameter to pass to
85844 the new function.
85845 (__pathconf): Pass file to __statfs_link_max.
85846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85847 __statfs_link_max.
85848 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85849 __statfs_link_max.
85850
85851 [BZ #12868]
85852 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85854 Handle Lustre.
85855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85856 (__statfs_filesize_max): Likewise.
85857 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85858
85859 2011-07-05 Andreas Jaeger <aj@suse.de>
85860
85861 * resolv/res_comp.c (dn_skipname): Remove unused variable.
85862
85863 2011-07-06 Marek Polacek <mpolacek@redhat.com>
85864
85865 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85866 `status' variable.
85867 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85868 Likewise.
85869
85870 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
85871
85872 * Makefile (strop-tests): Add strncat.
85873 * string/test-strncat.c: New file.
85874
85875 2011-06-30 Marek Polacek <mpolacek@redhat.com>
85876
85877 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85878
85879 2011-06-21 Andreas Jaeger <aj@suse.de>
85880
85881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85882 Copy rule from iconvdata/Makefile.
85883
85884 2011-07-06 Ulrich Drepper <drepper@gmail.com>
85885
85886 [BZ #12922]
85887 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85888 but no long options are defined, just return 'W'.
85889
85890 2011-06-22 Marek Polacek <mpolacek@redhat.com>
85891
85892 [BZ #9696]
85893 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85894
85895 2011-07-06 Ulrich Drepper <drepper@gmail.com>
85896
85897 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85898 netgroups to read.
85899 (innetgr): Likewise.
85900
85901 2011-07-05 Roland McGrath <roland@hack.frob.com>
85902
85903 * config.make.in (install_root): Default to $(DESTDIR).
85904
85905 2011-07-05 Ulrich Drepper <drepper@gmail.com>
85906
85907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85908
85909 2011-07-02 Roland McGrath <roland@hack.frob.com>
85910
85911 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85912
85913 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85914 containing directory rather than embedding absolute directory names.
85915
85916 * scripts/check-local-headers.sh: Rewritten using awk.
85917 Match by word, not by line. Print error messages for matches.
85918 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85919
85920 * Makerules [shlib-lds-flags empty]:
85921 ($(common-objpfx)libc_pic.opts): New target.
85922 ($(common-objpfx)libc_pic.os.clean): New target.
85923 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85924
85925 * config.make.in (OBJCOPY): New variable.
85926 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85927 * configure: Regenerated.
85928
85929 * config.make.in (use-default-link): New variable.
85930 * configure.in (use_default_link): Grok --with-default-link to set it.
85931 * configure: Regenerated.
85932 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85933 (shlib-lds, shlib-lds-flags): Define to empty.
85934
85935 * Makerules (shlib-lds): New variable.
85936 (shlib-lds-flags): New variable.
85937 (build-shlib, build-moduile, build-module-asneeded): Use it.
85938 ($(common-objpfx)libc.so): Use $(shlib-lds).
85939 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85940 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85941
85942 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85943 DT_FLAGS/DT_FLAGS_1 with zero flags.
85944
85945 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85946 linker script munging.
85947
85948 2011-07-02 Ulrich Drepper <drepper@gmail.com>
85949
85950 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85951 as 128-bit value.
85952 * crypt/sha512.c (sha512_process_block): Perform total addition using
85953 128-bit if possible.
85954 (__sha512_finish_ctx): Likewise.
85955 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85956 as 64-bit value.
85957 * crypt/sha256.c (SWAP64): Define.
85958 (sha256_process_block): Perform total addition using 64-bit if
85959 possible.
85960 (__sha256_finish_ctx): Likewise.
85961
85962 2011-07-01 Ulrich Drepper <drepper@gmail.com>
85963
85964 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
85965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
85966 * nscd/hstcache.c (cache_addhst): Likewise.
85967 * nscd/grpcache.c (cache_addgr): Likewise.
85968 * nscd/aicache.c (addhstaiX): Likewise.
85969 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85970
85971 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
85972
85973 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85974 * nscd/initgrcache.c (addinitgroupsX): Likewise.
85975 * nscd/hstcache.c (cache_addhst): Likewise.
85976 * nscd/grpcache.c (cache_addgr): Likewise.
85977 * nscd/aicache.c (addhstaiX): Likewise.
85978
85979 2011-07-01 Andreas Schwab <schwab@redhat.com>
85980
85981 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85982 domain only when needed.
85983
85984 2011-06-30 Andreas Schwab <schwab@redhat.com>
85985
85986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85987 is always restored.
85988
85989 2011-06-29 Ulrich Drepper <drepper@gmail.com>
85990
85991 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85992 are re-adding the entry.
85993 * nscd/servicescache.c (cache_addserv): Likewise.
85994
85995 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
85996
85997 * sysdeps/generic/dl-irel.h: fix protection against multiple
85998 inclusions.
85999 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86000
86001 2011-06-28 Ulrich Drepper <drepper@gmail.com>
86002
86003 [BZ #12935]
86004 * malloc/memusage.sh: Fix quoting in message.
86005 * debug/xtrace.sh: Likewise.
86006
86007 * configure.in: Remove support for --experimental-malloc option, make
86008 it the default.
86009 * config.make.in: Likewise.
86010 * malloc/Makefile: Likewise.
86011
86012 2011-06-27 Andreas Schwab <schwab@redhat.com>
86013
86014 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86015 two-byte characters.
86016
86017 2011-06-27 Roland McGrath <roland@hack.frob.com>
86018
86019 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86020 AC_CACHE_CHECK invocation.
86021 * configure: Regenerated.
86022
86023 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86024
86025 2011-06-27 Ulrich Drepper <drepper@gmail.com>
86026
86027 [BZ #12350]
86028 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
86029 bit from old_res_options.
86030
86031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86032
86033 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86034 value type for setfct.
86035
86036 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
86037
86038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86039 __gettimeofday instead of gettimeofday.
86040
86041 2011-06-26 Ulrich Drepper <drepper@gmail.com>
86042
86043 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86044
86045 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
86046
86047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86048
86049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86050 info.
86051
86052 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
86053
86054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86055 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86056 strcpy-sse2-unaligned strncpy-sse2-unaligned
86057 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86058 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86059 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86060 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86061 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86063 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86064 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86065 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86066 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86067 (STRCPY): Support SSE2 and SSSE3 versions.
86068
86069 2011-06-24 Ulrich Drepper <drepper@gmail.com>
86070
86071 [BZ #12874]
86072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86073 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86074 kernels which artificially limit size of requests.
86075
86076 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
86077
86078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86079 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86080 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86081 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86082 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86083 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86084 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86085 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86086 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86088 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86089 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86090 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86091 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86092 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86094 Enable unaligned load optimization for Intel Core i3, i5 and i7
86095 processors.
86096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86097 Define.
86098 (index_Fast_Unaligned_Load): Define.
86099 (HAS_FAST_UNALIGNED_LOAD): Define.
86100
86101 2011-06-23 Marek Polacek <mpolacek@redhat.com>
86102
86103 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86104
86105 2011-06-22 Ulrich Drepper <drepper@gmail.com>
86106
86107 [BZ #12907]
86108 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86109 until it is clear that the information is realy needed.
86110 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86111
86112 2011-06-22 Andreas Schwab <schwab@redhat.com>
86113
86114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86115
86116 2011-06-22 Ulrich Drepper <drepper@gmail.com>
86117
86118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86119 /sys/devices/system/cpu/online if it is usable.
86120
86121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86122 reading the information from the /proc filesystem to once a second.
86123
86124 2011-06-21 Andreas Jaeger <aj@suse.de>
86125
86126 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86127 NULL after inclusion of kernel headers.
86128
86129 2011-06-21 Ulrich Drepper <drepper@gmail.com>
86130
86131 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86132 calls to internal_setent.
86133
86134 [BZ #12885]
86135 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86136 addresses using gethostbyname4_r ignore IPv4 addresses.
86137
86138 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86139 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
86140
86141 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86142
86143 2011-06-20 David S. Miller <davem@davemloft.net>
86144
86145 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86146 inclusions.
86147 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86148
86149 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86150 (elf_irel): Use it.
86151 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86152 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86153 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86154 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86155 * sysdeps/x86_64/dl-irel.h: Likewise.
86156
86157 * elf/dl-runtime.c: Use elf_ifunc_invoke.
86158 * elf/dl-sym.c: Likewise.
86159
86160 2011-06-15 Ulrich Drepper <drepper@gmail.com>
86161
86162 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
86163 need to dereference resplen2.
86164
86165 2011-06-14 Andreas Schwab <schwab@redhat.com>
86166
86167 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86168
86169 2011-06-15 Ulrich Drepper <drepper@gmail.com>
86170
86171 * Makeconfig: Define vardbdir and inst_vardbdir.
86172 * nss/Makefile: Add rules to install db-Makefile.
86173
86174 * nss/nss_db/db-XXX.c: Cleanup.
86175
86176 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86177 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86178 GLIBC_PRIVATE.
86179 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86180 * nss/makedb.c: Implement -g option to specify that value strings
86181 are generated and should not be added to table iterated over for
86182 get*ent calls.
86183 * nss/nss_db/db-initgroups.c: New file.
86184
86185 * nss/getent.c: Add support for initgroups lookups through getgrouplist
86186 interface.
86187
86188 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86189 (internal_getgrouplist): Adjust to name change.
86190 Update use_initgroups_entry if this is not the first call.
86191 * nss/databases.def: Add initgroups entry.
86192
86193 * nss/makedb.c (compute_tables): Check result of multiple hash table
86194 sizes to minimize maximum chain length.
86195
86196 2011-06-14 Ulrich Drepper <drepper@gmail.com>
86197
86198 * Versions.def: Add entry for libnss_db.
86199 * shlib-versions: Likewise.
86200 * nss/Makefile: Add rules to build libnss_db.
86201 * nss/Versions: Add libnss_db information. Organize libnss_files
86202 entries better.
86203 * nss/db-Makefile: Add gshadow support. Change rules for the new
86204 makedb progra. Some minor improvements to generate smaller files.
86205 * nss/nss_db/nss_db.h: Move NSS database header data structures to
86206 here from...
86207 * nss/makedb.c: ...here.
86208 Improve database format to be smaller and require less memory at
86209 runtime.
86210 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
86211 db anymore.
86212 * nss/nss_db/db-netgrp.c: Likewise.
86213 * nss/nss_db/db-open.c: Likewise.
86214 * nss/nss_files/flies-XXX.x: Adjust comments.
86215 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86216 * nss/nss_files/files-grp.c: Likewise.
86217 * nss/nss_files/files-hosts.c: Likewise.
86218 * nss/nss_files/files-network.c: Likewise.
86219 * nss/nss_files/files-proto.c: Likewise.
86220 * nss/nss_files/files-pwd.c: Likewise.
86221 * nss/nss_files/files-rpc.c: Likewise.
86222 * nss/nss_files/files-service.c: Likewise.
86223 * nss/nss_files/files-sgrp.c: Likewise.
86224 * nss/nss_files/files-spwd.c: Likewise.
86225 * nss/nss_db/db-alias.c: Removed.
86226 * nss/nss_db/dummy-db.h: Removed.
86227
86228 2011-06-02 Ulrich Drepper <drepper@gmail.com>
86229
86230 * nss/makedb.c: Rewritten to not use database library.
86231 * nss/Makefile: Update to build new makedb program.
86232
86233 2011-06-14 Andreas Jaeger <aj@suse.de>
86234
86235 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86236 memset declaration.
86237
86238 2011-06-10 Andreas Schwab <schwab@redhat.com>
86239
86240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86241 tmpbuf.
86242
86243 2011-06-10 Roland McGrath <roland@hack.frob.com>
86244
86245 * Makerules (shlib.lds): Fail if the linker script comes out empty.
86246 * elf/Makefile ($(objpfx)ld.so): Likewise.
86247
86248 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86249 Don't list ld.so twice in dependencies.
86250
86251 * posix/bug-regex31.c: Include <stdlib.h>.
86252
86253 * nscd/hstcache.c (cache_addhst): Remove unused variable.
86254
86255 * nis/nss_compat/compat-spwd.c
86256 (getspent_next_nss_netgr): Remove unused variable.
86257 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86258
86259 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86260 nonmembers" output to use the right array.
86261
86262 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86263
86264 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86265
86266 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86267 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86268 * catgets/gencat.c (read_input_file): Likewise.
86269 * locale/programs/locarchive.c (enlarge_archive): Likewise.
86270
86271 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86272 variable definition inside #if's controlling its use.
86273
86274 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86275
86276 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86277
86278 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86279
86280 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86281 unreachable code.
86282
86283 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86284
86285 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86286 * configure: Regenerated.
86287
86288 * Makerules: Revert last change.
86289 * elf/Makefile: Likewise.
86290
86291 2011-06-09 Roland McGrath <roland@hack.frob.com>
86292
86293 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86294 * elf/Makefile ($(objpfx)librtld.os): Likewise.
86295 (reloc-link): Likewise.
86296
86297 2011-06-09 Ulrich Drepper <drepper@gmail.com>
86298
86299 * elf/Makefile: Add rules to build pldd.
86300 * elf/pldd.c: New file.
86301 * elf/pldd-xx.c: New file.
86302
86303 2011-06-07 Ulrich Drepper <drepper@gmail.com>
86304
86305 * version.h: Update for 2.15 development version.
86306
86307 2011-06-07 David S. Miller <davem@davemloft.net>
86308
86309 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86310 ifuncs.
86311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86312 elf_machine_lazy_rel): Likewise.
86313 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86315 elf_machine_lazy_rel): Likewise.
86316 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86317 dl_hwcap via passed in argument.
86318 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86319 Likewise.
86320
86321 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
86322
86323 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
86324
86325 2011-06-06 Roland McGrath <roland@hack.frob.com>
86326
86327 [BZ #12849]
86328 * manual/fdl-1.1.texi: New file, verbatim from:
86329 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86330 * manual/lgpl-2.1.texi: New file, verbatim from:
86331 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86332 * manual/Makefile (licenses): New variable, list those new file names.
86333 (texis): Use it.
86334 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86335
86336 * manual/fdl.texi: File removed.
86337 * manual/lesser.texi: File removed.
86338 * manual/libc.texinfo (Copying, Documentation License):
86339 Use new @include file names, put @appendix directive before @include.
86340
86341 2011-06-04 Jakub Jelinek <jakub@redhat.com>
86342
86343 [BZ #12841]
86344 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86345 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86346 (mq_open): Add __NTH.
86347
86348 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
86349
86350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86351 Assume Intel Core i3/i5/i7 processor if AVX is available.
86352
86353 2011-05-31 Ulrich Drepper <drepper@gmail.com>
86354
86355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86356 typo.
86357
86358 2011-05-31 Andreas Schwab <schwab@redhat.com>
86359
86360 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86361 memory. Use alloca_account. Fix memory leak when retrying.
86362
86363 2011-05-31 Ulrich Drepper <drepper@gmail.com>
86364
86365 * version.h (RELEASE): Bump for 2.14 release.
86366 * include/features.h (__GLIBC_MINOR__): Bump to 14.
86367
86368 * config.make.in (RANLIB): Remove entry.
86369
86370 2011-05-30 Ulrich Drepper <drepper@gmail.com>
86371
86372 * po/Makefile (po-sed-cmd): Add ksh to extensions.
86373 (libc.pot): Work around missing support for .ksh extension in xgettext.
86374
86375 [BZ #12684]
86376 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86377 if both request failed.
86378 (send_dg): In case of server errors clear resplen or *resplen2.
86379
86380 [BZ #12454]
86381 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86382 when there are multiple maps.
86383 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86384 (_dl_fini): Remove test here.
86385
86386 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86387
86388 2011-05-29 Ulrich Drepper <drepper@gmail.com>
86389
86390 [BZ #12350]
86391 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86392 bit from old_res_options.
86393 (gaih_inet): Likewise.
86394
86395 [BZ #11099]
86396 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86397 as signed.
86398
86399 * resolv/res_init.c (res_setoptions): Make the code more compact.
86400
86401 [BZ #11558]
86402 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86403 set RES_USEVC.
86404
86405 [BZ #11634]
86406 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86407
86408 * malloc/malloc.h: Mark malloc hook variables as deprecated.
86409
86410 [BZ #11781]
86411 * malloc/malloc.h: Declare malloc hook variables as volatile.
86412
86413 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86414 in last patch.
86415
86416 [BZ #11799]
86417 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86418 raise in the comment.
86419 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86421 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86422
86423 2011-05-28 Ulrich Drepper <drepper@gmail.com>
86424
86425 [BZ #12811]
86426 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86427 grow the buffers more if it already has to be sufficient.
86428 (build_wcs_upper_buffer): Likewise.
86429 * posix/regexec.c (check_matching): Likewise.
86430 (clean_state_log_if_needed): Likewise.
86431 (extend_buffers): Don't enlarge buffers beyond size of the input
86432 buffer.
86433 Patches mostly by Emil Wojak <emil@wojak.eu>.
86434 * posix/bug-regex32.c: New file.
86435 * posix/Makefile (tests): Add bug-regex32.
86436
86437 * locale/findlocale.c (_nl_find_locale): Return right away if
86438 _nl_explode_name failed.
86439 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86440
86441 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86442
86443 * debug/xtrace.sh: Unify messages.
86444 * malloc/memusage.sh: Likewise.
86445
86446 [BZ #12813]
86447 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86448 time symbol from vDSO. Substitute with vsyscall if not available.
86449 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86450 __vdso_time.
86451
86452 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86453 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86454 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86455 Add sendmmsg and internal_sendmmsg.
86456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86457 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86458 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86459
86460 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86461 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86463
86464 2011-05-27 Ulrich Drepper <drepper@gmail.com>
86465
86466 [BZ #12813]
86467 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86468 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
86469 available.
86470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86471 __vdso_getcpu.
86472
86473 [BZ #12814]
86474 * iconvdata/Makefile (tests): Add bug-iconv9.
86475 * iconvdata/bug-iconv9.c: New file.
86476
86477 2011-05-27 Andreas Schwab <schwab@redhat.com>
86478
86479 [BZ #12814]
86480 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86481
86482 2011-05-25 Jakub Jelinek <jakub@redhat.com>
86483
86484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86485 (struct user_regs_struct): Change intcs field back to cs.
86486
86487 2011-05-25 Ulrich Drepper <drepper@gmail.com>
86488
86489 * po/ja.po: Update from translation team.
86490
86491 2011-05-23 Ulrich Drepper <drepper@gmail.com>
86492
86493 [BZ #12795]
86494 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86495 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86496
86497 2011-05-20 Andreas Schwab <schwab@redhat.com>
86498
86499 * stdlib/longlong.h: Update from GCC.
86500
86501 2011-05-23 Andreas Schwab <schwab@redhat.com>
86502
86503 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86504 parameter name.
86505 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86506 Add parameter name.
86507 (__sysconf): Pass it down.
86508
86509 2011-05-22 Ulrich Drepper <drepper@gmail.com>
86510
86511 [BZ #12671]
86512 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86513 some situations.
86514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86515 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86516 add in in __libc_use_alloca calls. Adjust callers.
86517 (glob): Use malloc in some situations.
86518
86519 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86520 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86521 pltexit.
86522
86523 2011-05-21 Ulrich Drepper <drepper@gmail.com>
86524
86525 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86526 and CLOCK_BOOTTIME_ALARM.
86527
86528 [BZ #12782]
86529 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86530 is returned.
86531
86532 * string/_strerror.c (__strerror_r): Print negative errors as signed
86533 numbers.
86534
86535 [BZ #12777]
86536 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86537 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86538 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86539
86540 * configure.in: Fix typo in redirection and correct removal of test
86541 files in two cases.
86542
86543 [BZ #12788]
86544 * locale/setlocale.c (new_composite_name): Fix test to check for
86545 identical name of all categories.
86546
86547 [BZ #12792]
86548 * libio/filedoalloc.c (local_isatty): New function.
86549 (_IO_file_doallocate): Use local_isatty.
86550 * stdio-common/perror.c (perror): In case a new stream is used
86551 forward the stream error.
86552 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86553 error flag.
86554
86555 2011-05-20 Ulrich Drepper <drepper@gmail.com>
86556
86557 [BZ #11884]
86558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86559 alloca.
86560 * include/alloca.h (extend_alloca_account): Define.
86561
86562 [BZ #11857]
86563 * posix/regex.h: Fix comments with documentation of user-accessible
86564 fields after compilation and describe correct free'ing of pattern
86565 after re_compile_pattern.
86566 Patch by Reuben Thomas <rrt@sc3d.org>.
86567
86568 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
86569
86570 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86571 and -mno-altivec to prevent the compiler from using Altivec and/or
86572 VSX instructions when the corresponding registers are not available.
86573
86574 2011-05-19 Andreas Schwab <schwab@redhat.com>
86575
86576 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86577
86578 2011-05-19 Ulrich Drepper <drepper@gmail.com>
86579
86580 * libio/freopen.c (freopen): Use __dup2, not dup2.
86581 * libio/freopen64.c (freopen64): Likewise.
86582
86583 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
86584
86585 [BZ #12775]
86586 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86587 * math/Makefile (tests): Add test-powl.
86588 (CFLAGS-test-powl.c): Define.
86589 * math/test-powl.c: New file.
86590
86591 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
86592
86593 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86594
86595 2011-05-17 Ulrich Drepper <drepper@gmail.com>
86596
86597 [BZ #11837]
86598 * iconvdata/gb18030.c: Update to GB18020-2005.
86599
86600 2011-05-16 Ulrich Drepper <drepper@gmail.com>
86601
86602 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86603 RE_SYNTAX_POSIX_AWK): Update to match recent development.
86604 Patch by Aharon Robbins <arnold@skeeve.com>.
86605
86606 [BZ #11892]
86607 * stdlib/putenv.c (putenv): Don't always create copy of the variable
86608 on the stack.
86609
86610 [BZ #11895]
86611 * misc/pselect.c (__pselect): Handle timeout value errors hidden
86612 through underflows.
86613
86614 [BZ #12766]
86615 * misc/error.c (error_at_line): Ensure file_name and old_file_name
86616 point to strings before performing equality test for error_one_per_line
86617 mode.
86618
86619 [BZ #11697]
86620 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86621
86622 [BZ #11820]
86623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86624 (struct user_fpregs_struct): Avoid __uint*_t types.
86625
86626 [BZ #6420]
86627 * malloc/mtrace.c (tr_where): Add additional parameter to point to
86628 symbol info. Use it instead of calling _dl_addr locally.
86629 (lock_and_info): New function.
86630 (tr_freehook): Call lock_and_info and pass symbol info as additional
86631 parameter to tr_where.
86632 (tr_mallochook): Likewise.
86633 (tr_reallochook): Likewise.
86634 (tr_memalignhook): Likewise.
86635
86636 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
86637 used and couldn't be at all thread-safe.
86638
86639 2011-05-15 Ulrich Drepper <drepper@gmail.com>
86640
86641 * libio/freopen.c (freopen): Don't close old file descriptor
86642 before the new one is opened. Instead dup the new file descriptor
86643 to the old one after the new stream is created.
86644 * libio/freopen64.c (freopen64): Likewise.
86645 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86646 * libio/fileops.c (_IO_new_file_close_it): Handle new
86647 _IO_FLAGS2_NOCLOSE flag.
86648 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86649 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86650 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86651 _IO_FLAGS2_NOCLOSE flag.
86652 * include/unistd.h: Add hidden_proto for dup3.
86653 Define __have_dup3.
86654 * io/dup3.c: Define hidden symbol.
86655 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86656
86657 [BZ #7101]
86658 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86659 when an incomplete long option is used.
86660 * posix/tst-getopt_long1.c: New file.
86661 * posix/Makefile (tests): Add tst-getopt_long1.
86662
86663 [BZ #10138]
86664 * scripts/config.guess: Update from autoconf-2.68.
86665 * scripts/config.sub: Likewise.
86666
86667 [BZ #10157]
86668 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86669 tests into ...
86670 (has_cpuclock): ...this. New function.
86671 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86672 macro here based on has_cpuclock code.
86673
86674 [BZ #10149]
86675 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86676 First byte (not low byte) is now always NUL.
86677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86678
86679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86680 Use non-cancelable interfaces.
86681
86682 [BZ #9809]
86683 * locale/iso-639.def: Add entry for Sorani.
86684
86685 [BZ #11901]
86686 * include/stdlib.h: Move include protection to the right place.
86687 Define abort_msg_s. Declare __abort_msg with it.
86688 * stdlib/abort.c (__abort_msg): Adjust type.
86689 * assert/assert.c (__assert_fail_base): New function. Majority
86690 of code from __assert_fail. Allocate memory for __abort_msg with
86691 mmap.
86692 (__assert_fail): Now call __assert_fail_base.
86693 * assert/assert-perr.c: Remove bulk of implementation. Use
86694 __assert_fail_base.
86695 * include/assert.hL Declare __assert_fail_base.
86696 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86697 mmap.
86698 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86699
86700 2011-05-14 Ulrich Drepper <drepper@gmail.com>
86701
86702 [BZ #11952]
86703 [BZ #12453]
86704 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86705 until all modules are registered in the DTV.
86706 * elf/Makefile: Add rules to build and run tst-tls19.
86707 * elf/tst-tls19.c: New file.
86708 * elf/tst-tls19mod1.c: New file.
86709 * elf/tst-tls19mod2.c: New file.
86710 * elf/tst-tls19mod3.c: New file.
86711 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86712
86713 [BZ #12083]
86714 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86715 correctly.
86716
86717 [BZ #12601]
86718 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86719 two-byte sequence errors.
86720 * iconvdata/Makefile (tests): Add bug-iconv8.
86721 * iconvdata/bug-iconv8.c: New file.
86722
86723 [BZ #12626]
86724 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86725 buf2 definition.
86726
86727 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86728
86729 [BZ #12432]
86730 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86731 (dummy_getcfa): New function.
86732 (init): Get _Unwind_GetCFA address, use dummy if not found.
86733 (backtrace_helper): In recursion check, also check whether CFA changes.
86734 (__backtrace): Completely initialize arg.
86735
86736 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86737 storing incomplete byte sequence in state object. Avoid testing for
86738 guaranteed too small input if we know there is enough data available.
86739
86740 2011-05-11 Andreas Schwab <schwab@redhat.com>
86741
86742 * Makeconfig (+link-pie): Indent.
86743 * Rules (binaries-pie): Define if $(have-fpie) and
86744 $(build-shared).
86745 (binaries-shared): Also filter out $(binaries-pie).
86746 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86747 * nscd/Makefile (others-pie): Add nscd.
86748 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86749 ($(objpfx)nscd): Remove command override.
86750 * login/Makefile (others-pie): Add pt_chown.
86751 ($(objpfx)pt_chown): Remove command override.
86752 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86753 remove command overrides.
86754
86755 2011-05-13 Ulrich Drepper <drepper@gmail.com>
86756
86757 * libio/tst_putwc.c: Fix error messages.
86758
86759 [BZ #12724]
86760 * libio/fileops.c (_IO_new_file_close_it): Always flush when
86761 currently writing and seek to current position when not.
86762 * libio/Makefile (tests): Add bug-fclose1.
86763 * libio/bug-fclose1.c: New file.
86764
86765 2011-05-12 Ulrich Drepper <drepper@gmail.com>
86766
86767 [BZ #12511]
86768 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86769 don't set DF_1_NODELETE here.
86770 (do_lookup_x): When entering new entry test for copy relocation
86771 and if necessary set DF_1_NODELETE flag.
86772 * elf/tst-unique4.cc: New file.
86773 * elf/tst-unique4.h: New file.
86774 * elf/tst-unique4lib.cc: New file.
86775 * elf/Makefile: Add rules to build and run tst-unique4.
86776 Patch by Piotr Bury <pbury@goahead.com>.
86777
86778 2011-05-11 Ulrich Drepper <drepper@gmail.com>
86779
86780 [BZ #12052]
86781 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86782
86783 [BZ #12625]
86784 * misc/mntent_r.c (addmntent): Flush the stream after the output
86785
86786 [BZ #12393]
86787 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86788 (is_trusted_path_normalize): Skip initial colon. Append slash
86789 to empty buffer. Duplicate is_trusted_path code but allow
86790 constructed patch to be prefix.
86791 (is_dst): Allow $ORIGIN followed by /.
86792 (_dl_dst_substitute): Correct clearing of check_for_trusted.
86793 Correct testing of result of is_trusted_path_normalize
86794 (decompose_rpath): Fix warning.
86795
86796 2011-05-10 Ulrich Drepper <drepper@gmail.com>
86797
86798 [BZ #11257]
86799 * grp/initgroups.c (internal_getgrouplist): When we found the service
86800 list through the initgroups entry in nsswitch.conf do not always
86801 continue on a successful lookup. Don't always use the
86802 __nss_group_database value if it is set.
86803 * nss/nsswitch.conf (initgroups): Change action for successful db
86804 lookup to continue for compatibility.
86805
86806 2011-05-09 Ulrich Drepper <drepper@gmail.com>
86807
86808 [BZ #11532]
86809 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86810 and CP774 modules.
86811 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86812 and CP774 modules.
86813 * iconvdata/tst-tables.sh: Likewise.
86814 * iconvdata/cp770.c: New file.
86815 * iconvdata/cp771.c: New file.
86816 * iconvdata/cp772.c: New file.
86817 * iconvdata/cp773.c: New file.
86818 * iconvdata/cp774.c: New file.
86819 * iconvdata/testdata/CP770: New file.
86820 * iconvdata/testdata/CP770..UTF8: New file.
86821 * iconvdata/testdata/CP771: New file.
86822 * iconvdata/testdata/CP771..UTF8: New file.
86823 * iconvdata/testdata/CP772: New file.
86824 * iconvdata/testdata/CP772..UTF8: New file.
86825 * iconvdata/testdata/CP773: New file.
86826 * iconvdata/testdata/CP773..UTF8: New file.
86827 * iconvdata/testdata/CP774: New file.
86828 * iconvdata/testdata/CP774..UTF8: New file.
86829
86830 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86831 END CHARMAP line.
86832 * iconvdata/gen-8bit-gap.sh: Likewise.
86833 * iconvdata/gen-8bit.sh: Likewise.
86834
86835 * locale/iso-639.def: Add ary entry.
86836
86837 [BZ #11258]
86838 * locale/C-translit.h.in: Add U20A1 transliteration.
86839
86840 [BZ #12178]
86841 * locale/iso-639.def: Add wae entry.
86842 Patch by Kevin Bortis <bortis@translate-wae.ch>.
86843
86844 [BZ #12545]
86845 * locale/programs/localedef.c (construct_output_path): Use ssize_t
86846 for n.
86847
86848 [BZ #12711]
86849 * locale/C-translit.h.in: Add entry for U20B9.
86850 Patch by pravin.d.s@gmail.com.
86851
86852 2011-05-08 Ulrich Drepper <drepper@gmail.com>
86853
86854 [BZ #12713]
86855 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86856 ENAMETOOLONG use generic getcwd.
86857 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
86858 in rtld. Use *stat64.
86859 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86860 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86861 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86862 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86863 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86864 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86865 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86866 __fstatat64 macros.
86867 * include/dirent.h: Add libc_hidden_proto for rewinddir.
86868 * dirent/rewinddir.c: Add libc_hidden_def.
86869 * sysdeps/mach/hurd/rewinddir.c: Likewise.
86870 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
86871
86872 * include/dirent.h (__alloc_dir): Add flags parameter.
86873 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86874 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86875 __alloc_dir.
86876 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
86877 from fdopendir if O_CLOEXEC is already set.
86878
86879 2011-03-15 Alan Modra <amodra@gmail.com>
86880
86881 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86882 l_tls_firstbyte_offset non-zero. Save padding offset in
86883 l_tls_firstbyte_offset for later use.
86884 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86885 freeing static tls block.
86886
86887 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
86888
86889 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86890 where #ifdef was intended. The intent is to prevent ARG_MAX from
86891 being defined by the kernel headers.
86892
86893 2011-05-07 Ulrich Drepper <drepper@gmail.com>
86894
86895 [BZ #12734]
86896 * resolv/resolv.h: Define RES_NOTLDQUERY.
86897 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86898 no-tld-query and set RES_NOTLDQUERY.
86899 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86900 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86901 modern BIND to search name as TLD unless forbidden.
86902
86903 2011-05-07 Petr Baudis <pasky@suse.cz>
86904 Ulrich Drepper <drepper@gmail.com>
86905
86906 [BZ #12393]
86907 * elf/dl-load.c (fillin_rpath): Move trusted path check...
86908 (is_trusted_path): ...to here.
86909 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86910 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86911 using is_trusted_path_normalize() in setuid scripts.
86912
86913 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
86914
86915 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86916 __BEGIN/__END_DECLS.
86917
86918 2011-05-06 Ulrich Drepper <drepper@gmail.com>
86919
86920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86921 NSS_STATUS_NOTFOUND if no record was found.
86922
86923 2011-05-05 Andreas Schwab <schwab@redhat.com>
86924
86925 * sunrpc/Makefile (headers): Add rpc/netdb.h.
86926 (headers-not-in-tirpc): Remove rpc/netdb.h
86927 * resolv/netdb.h: Revert last change.
86928
86929 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
86930
86931 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86932 circular dependency between libgcc.a and libc.a.
86933
86934 2011-05-05 Andreas Schwab <schwab@redhat.com>
86935
86936 * resolv/netdb.h: Don't include <rpc/netdb.h>.
86937 * nis/Makefile: Don't install rpcsvc/*.
86938 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86939 instead of <rpc/types.h>.
86940 (MAXHOSTNAMELEN): Define.
86941
86942 2011-05-03 Andreas Schwab <schwab@redhat.com>
86943
86944 * elf/ldconfig.c (add_dir): Don't crash on empty path.
86945
86946 2011-04-28 Maciej Babinski <mbabinski@google.com>
86947
86948 [BZ #12714]
86949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86950 gethostbyname4_r when IPv6 results are possible.
86951
86952 2011-05-02 Ulrich Drepper <drepper@gmail.com>
86953
86954 [BZ #12723]
86955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86956 _PC_PIPE_BUF handling.
86957
86958 2011-04-30 Bruno Haible <bruno@clisp.org>
86959
86960 [BZ #12717]
86961 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86962 * resolv/netdb.h (getnameinfo): Change type of flags parameter
86963 to 'int'.
86964 * inet/getnameinfo.c (getnameinfo): Likewise.
86965
86966 2011-04-29 Ulrich Drepper <drepper@gmail.com>
86967
86968 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86969 to groups setting in database lookup.
86970 * nss/nsswitch.conf: Add initgroups entry.
86971
86972 2011-04-22 Ulrich Drepper <drepper@gmail.com>
86973
86974 [BZ #12685]
86975 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86976 mode string.
86977 Patch by Eric Blake <eblake@redhat.com>.
86978
86979 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
86980
86981 * sunrpc/Makefile (need-export-routines): Add svc_run.
86982 (routines): Remove svc_run.
86983 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86984 * sunrpc/clnt_perr.c (clnt_perrno): Export.
86985 * sunrpc/svc_run.c (svc_run): Likewise.
86986 * sunrpc/svc_udp.c (svcudp_create): Likewise.
86987
86988 2011-04-21 Ulrich Drepper <drepper@gmail.com>
86989
86990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86991 problem in reallocation in last patch.
86992
86993 2011-04-20 Ulrich Drepper <drepper@gmail.com>
86994
86995 * sunrpc/Makefile: Move inclusion of Rules.
86996
86997 2011-04-19 Ulrich Drepper <drepper@gmail.com>
86998
86999 * nss/nss_files/files-initgroups.c: New file.
87000 * nss/Makefile (libnss_files-routines): Add files-initgroups.
87001 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87002 _nss_files_initgroups_dyn.
87003
87004 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
87005
87006 * elf/elf.h (R_ARM_IRELATIVE): Define.
87007
87008 2011-04-19 Ulrich Drepper <drepper@gmail.com>
87009
87010 * po/ru.po: Update from translation team.
87011
87012 2011-04-17 Ulrich Drepper <drepper@gmail.com>
87013
87014 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87015 dependencies.
87016
87017 2011-02-06 Mike Frysinger <vapier@gentoo.org>
87018
87019 [BZ #12653]
87020 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87021 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87022 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87025
87026 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
87027
87028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87029 differing bytes.
87030 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87033
87034 2011-04-17 Ulrich Drepper <drepper@gmail.com>
87035
87036 [BZ #12420]
87037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87038 storing it.
87039 * stdlib/bug-getcontext.c: New file.
87040 * stdlib/Makefile: Add rules to build and run bug-getcontext.
87041
87042 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
87043
87044 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87045 instructions into .machine "z9-109".
87046 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87047 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87048
87049 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
87050
87051 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87052 between environment variables and auxiliary vector.
87053
87054 2011-04-16 Ulrich Drepper <drepper@gmail.com>
87055
87056 * Makefile: Add rules to build linkobj/libc.so.
87057 * include/libc-symbols.h: Define libc_hidden_nolink.
87058 * include/rpc/auth.h: Mark functions which are to be hidden.
87059 * include/rpc/auth_des.h: Likewise.
87060 * include/rpc/auth_unix.h: Likewise.
87061 * include/rpc/clnt.h: Likewise.
87062 * include/rpc/des_crypt.h: Likewise.
87063 * include/rpc/key_prot.h: Likewise.
87064 * include/rpc/pmap_clnt.h: Likewise.
87065 * include/rpc/pmap_prot.h: Likewise.
87066 * include/rpc/pmap_rmt.h: Likewise.
87067 * include/rpc/rpc_msg.h: Likewise.
87068 * include/rpc/svc.h: Likewise.
87069 * include/rpc/svc_auth.h: Likewise.
87070 * include/rpc/xdr.h: Likewise.
87071 * nis/Makefile: Link all DSOs against linkobj/libc.so.
87072 * nss/Makefile: Likewise.
87073 * sunrpc/Makefile: Don't install headers. Build library with normal
87074 entry points. Don't build rpcinfo. Link RPC tests appropriately.
87075 * sunrpc/auth_des.c: Hide exported symbols by default, export some
87076 for the compat linking library. Remove use of INTDEF/INTUSE.
87077 * sunrpc/auth_none.c: Likewise.
87078 * sunrpc/auth_unix.c: Likewise.
87079 * sunrpc/authdes_prot.c: Likewise.
87080 * sunrpc/authuxprot.c: Likewise.
87081 * sunrpc/clnt_gen.c: Likewise.
87082 * sunrpc/clnt_perr.c: Likewise.
87083 * sunrpc/clnt_raw.c: Likewise.
87084 * sunrpc/clnt_simp.c: Likewise.
87085 * sunrpc/clnt_tcp.c: Likewise.
87086 * sunrpc/clnt_udp.c: Likewise.
87087 * sunrpc/clnt_unix.c: Likewise.
87088 * sunrpc/des_crypt.c: Likewise.
87089 * sunrpc/des_soft.c: Likewise.
87090 * sunrpc/get_myaddr.c: Likewise.
87091 * sunrpc/key_call.c: Likewise.
87092 * sunrpc/key_prot.c: Likewise.
87093 * sunrpc/netname.c: Likewise.
87094 * sunrpc/pm_getmaps.c: Likewise.
87095 * sunrpc/pm_getport.c: Likewise.
87096 * sunrpc/pmap_clnt.c: Likewise.
87097 * sunrpc/pmap_prot.c: Likewise.
87098 * sunrpc/pmap_prot2.c: Likewise.
87099 * sunrpc/pmap_rmt.c: Likewise.
87100 * sunrpc/publickey.c: Likewise.
87101 * sunrpc/rpc_cmsg.c: Likewise.
87102 * sunrpc/rpc_common.c: Likewise.
87103 * sunrpc/rpc_dtable.c: Likewise.
87104 * sunrpc/rpc_prot.c: Likewise.
87105 * sunrpc/rpc_thread.c: Likewise.
87106 * sunrpc/rtime.c: Likewise.
87107 * sunrpc/svc.c: Likewise.
87108 * sunrpc/svc_auth.c: Likewise.
87109 * sunrpc/svc_authux.c: Likewise.
87110 * sunrpc/svc_raw.c: Likewise.
87111 * sunrpc/svc_run.c: Likewise.
87112 * sunrpc/svc_simple.c: Likewise.
87113 * sunrpc/svc_tcp.c: Likewise.
87114 * sunrpc/svc_udp.c: Likewise.
87115 * sunrpc/svc_unix.c: Likewise.
87116 * sunrpc/svcauth_des.c: Likewise.
87117 * sunrpc/xcrypt.c: Likewise.
87118 * sunrpc/xdr.c: Likewise.
87119 * sunrpc/xdr_array.c: Likewise.
87120 * sunrpc/xdr_float.c: Likewise.
87121 * sunrpc/xdr_intXX_t.c: Likewise.
87122 * sunrpc/xdr_mem.c: Likewise.
87123 * sunrpc/xdr_rec.c: Likewise.
87124 * sunrpc/xdr_ref.c: Likewise.
87125 * sunrpc/xdr_sizeof.c: Likewise.
87126 * sunrpc/xdr_stdio.c: Likewise.
87127
87128 2011-04-10 Ulrich Drepper <drepper@gmail.com>
87129
87130 [BZ #12650]
87131 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87132 * sysdeps/ia64/dl-tls.h: Likewise.
87133 * sysdeps/powerpc/dl-tls.h: Likewise.
87134 * sysdeps/s390/dl-tls.h: Likewise.
87135 * sysdeps/sh/dl-tls.h: Likewise.
87136 * sysdeps/sparc/dl-tls.h: Likewise.
87137 * sysdeps/x86_64/dl-tls.h: Likewise.
87138 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87139
87140 2011-03-14 Andreas Schwab <schwab@redhat.com>
87141
87142 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87143 rpath element also skip the following colon.
87144 (expand_dynamic_string_token): Add is_path parameter and pass
87145 down to DL_DST_REQUIRED and _dl_dst_substitute.
87146 (decompose_rpath): Call expand_dynamic_string_token with
87147 non-zero is_path. Ignore empty rpaths.
87148 (_dl_map_object_from_fd): Call expand_dynamic_string_token
87149 with zero is_path.
87150
87151 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
87152
87153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87154 Make cancelable.
87155
87156 2011-04-09 Ulrich Drepper <drepper@gmail.com>
87157
87158 [BZ #12655]
87159 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87160 Patch by Filipe David Manana <fdmanana@apache.org>.
87161
87162 2011-04-07 Andreas Schwab <schwab@redhat.com>
87163
87164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87165 Maintain aligned stack.
87166 (CHECK_RSP): Remove unused macro.
87167
87168 2011-04-03 Ulrich Drepper <drepper@gmail.com>
87169
87170 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87171 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87172
87173 2011-04-02 Ulrich Drepper <drepper@gmail.com>
87174
87175 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87176
87177 * include/features.h: Mention __USE_XOPEN2K8 in comment.
87178
87179 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
87180
87181 [BZ #12518]
87182 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87183 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87184 * sysdeps/x86_64/memmove.c: New file.
87185 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87186 (memcpy): Renamed to ...
87187 (__new_memcpy): This.
87188 (memcpy): Provide GLIBC_2_14 memcpy.
87189 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87190 (memcpy): Provide GLIBC_2_2_5 memcpy.
87191
87192 2011-04-01 Ulrich Drepper <drepper@gmail.com>
87193
87194 [BZ #12631]
87195 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87196
87197 2011-03-30 Andreas Schwab <schwab@redhat.com>
87198
87199 * misc/syncfs.c: New file.
87200 * misc/Makefile (routines): Add syncfs.
87201 * posix/unistd.h: Declare syncfs.
87202 * sysdeps/unix/syscalls.list: Add syncfs.
87203
87204 2011-04-01 Andreas Schwab <schwab@redhat.com>
87205
87206 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87207 open_by_handle_at.
87208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87210 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87213 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87215
87216 2011-04-01 Ulrich Drepper <drepper@gmail.com>
87217
87218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87220 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87222 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87225
87226 * io/Makefile: Compile fallocate.c, fallocate64.c, and
87227 sync_file_range.c with -fexceptions.
87228 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87229 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87230 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87231 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87232 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87233 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87235 sync_file_range as cancellation point
87236 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
87237 now a wrapper around __call_sync_file_range with cancellation handling.
87238 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87239 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
87240 function name to __call_sync_file_range.
87241 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87242 Add call_sync_file_range.
87243
87244 2011-04-01 Andreas Schwab <schwab@redhat.com>
87245
87246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87247 bits/timex.h.
87248
87249 2011-04-01 Ulrich Drepper <drepper@gmail.com>
87250
87251 * iconv/iconv.h: Fix typo in comment.
87252 * io/fcntl.h: Likewise.
87253 * libio/stdio.h: Likewise.
87254 * posix/spawn.h: Likewise.
87255 * posix/unistd.h: Likewise.
87256 * stdlib/stdlib.h: Likewise.
87257 * time/time.h: Likewise.
87258 * wcsmbs/wchar.h: Likewise.
87259
87260 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87261 open_by_handle): Add.
87262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87263 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
87264 Augment a few comments.
87265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87270 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87271 open_by_handle.
87272
87273 * io/fcntl.h (AT_EMPTY_PATH): Define.
87274
87275 2011-03-30 Ulrich Drepper <drepper@gmail.com>
87276
87277 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87278 * sysdeps/unix/sysv/linux/bits/time.h: New file.
87279 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87280 to...
87281 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
87282 * Versions.def: Add GLIBC_2.14.
87283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87284 Export.
87285
87286 2011-03-22 Ulrich Drepper <drepper@gmail.com>
87287
87288 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87289 round counter.
87290 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87291
87292 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
87293
87294 [BZ #12597]
87295 * string/test-strncmp.c (do_page_test): New function.
87296 (check2): Likewise.
87297 (test_main): Call check2.
87298 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87299
87300 2011-03-20 Ulrich Drepper <drepper@gmail.com>
87301
87302 [BZ #12587]
87303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87304 Handle cache information in CPU leaf 4.
87305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87306
87307 2011-03-18 Ulrich Drepper <drepper@gmail.com>
87308
87309 [BZ #12583]
87310 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87311 character representation.
87312 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87313
87314 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
87315
87316 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87317 END(__isnan) to END(__isnanf) to match function entry point/label
87318 EALIGN(__isnanf,...).
87319
87320 2011-03-10 Jakub Jelinek <jakub@redhat.com>
87321
87322 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87323
87324 2011-03-10 Ulrich Drepper <drepper@gmail.com>
87325
87326 [BZ #12510]
87327 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87328 copy from the symbol referenced in the relocation to initialize the
87329 used variable.
87330 Patch by Piotr Bury <pbury@goahead.com>.
87331 * elf/Makefile: Add rules to build and tst-unique3.
87332 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87333 * elf/tst-unique3.cc: New file.
87334 * elf/tst-unique3.h: New file.
87335 * elf/tst-unique3lib.cc: New file.
87336 * elf/tst-unique3lib2.cc: New file.
87337
87338 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87339
87340 2011-03-10 Mike Frysinger <vapier@gentoo.org>
87341
87342 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87343 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
87344 to _start.
87345
87346 2011-03-06 Ulrich Drepper <drepper@gmail.com>
87347
87348 * elf/dl-load.c (_dl_map_object): If we are looking for the first
87349 to-be-loaded object along a path to loader is ld.so.
87350
87351 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
87352 Ulrich Drepper <drepper@gmail.com>
87353
87354 * sysdeps/x86_64/memset.S: After aligning destination, code
87355 branches to different locations depending on the value of
87356 misalignment, when multiarch is enabled. Fix this.
87357
87358 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
87359
87360 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87361 Set _x86_64_preferred_memory_instruction for AMD processsors.
87362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87363 Set bit_Prefer_SSE_for_memop for AMD processors.
87364
87365 2011-03-04 Ulrich Drepper <drepper@gmail.com>
87366
87367 * libio/fmemopen.c (fmemopen): Optimize a bit.
87368
87369 2011-03-03 Andreas Schwab <schwab@redhat.com>
87370
87371 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87372
87373 2011-03-03 Roland McGrath <roland@redhat.com>
87374
87375 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87376
87377 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
87378
87379 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87380 __bzero_ultra1 instead of __memset_ultra1.
87381
87382 2011-02-23 Andreas Schwab <schwab@redhat.com>
87383 Ulrich Drepper <drepper@gmail.com>
87384
87385 [BZ #12509]
87386 * include/link.h (struct link_map): Add l_orig_initfini.
87387 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87388 returning unsuccessfully.
87389 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87390 close of a file loaded at startup, restore the original l_initfini
87391 list.
87392 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87393 list, store the pointer.
87394 * elf/Makefile ($(objpfx)noload-mem): New rule.
87395 (noload-ENV): Define.
87396 (tests): Add $(objpfx)noload-mem.
87397 * elf/noload.c: Include <memcheck.h>.
87398 (main): Call mtrace. Close all opened handles.
87399
87400 2011-02-17 Andreas Schwab <schwab@redhat.com>
87401
87402 [BZ #12454]
87403 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87404 dependencies are missing.
87405
87406 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
87407
87408 Fix __if_freereq crash: Unlike the generic version which uses free,
87409 Hurd needs munmap.
87410 * sysdeps/mach/hurd/ifreq.h: New file.
87411
87412 2011-01-27 Petr Baudis <pasky@suse.cz>
87413 Ulrich Drepper <drepper@gmail.com>
87414
87415 [BZ 12445]#
87416 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87417 to extend_alloca().
87418 * stdio-common/bug23.c: New file.
87419 * stdio-common/Makefile (tests): Add bug23.
87420
87421 2010-09-28 Andreas Schwab <schwab@redhat.com>
87422 Ulrich Drepper <drepper@gmail.com>
87423
87424 [BZ #12489]
87425 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87426 before performing relro protection. At old place add assertion
87427 to make sure nothing changed.
87428
87429 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
87430 Glauber de Oliveira Costa <glommer@gmail.com>
87431
87432 * elf/elf.h: Add new ARM TLS relocs.
87433
87434 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
87435
87436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87437 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87438 cast from r3.
87439 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
87440 'tests' variable.
87441 * sysdeps/wordsize-64/tst-writev.c: New file.
87442
87443 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
87444
87445 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87446 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87447 insns in _dl_start to prevent a TOC reference before relocs are
87448 resolved.
87449
87450 2011-02-15 Ulrich Drepper <drepper@gmail.com>
87451
87452 [BZ #12469]
87453 * Makeconfig: Remove RANLIB definition.
87454 * Makerules: Don't use RANLIB.
87455 * aclocal.m4: Remove ranlib test.
87456 * configure.in: No need to check for ranlib.
87457 * elf/rtld-Rules: Don't use RANLIB.
87458
87459 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
87460
87461 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87462 protection macro.
87463 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87464 inclusion protection macro.
87465
87466 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87467 SIGRTMIN and SIGRTMAX and print information in that case only when
87468 SIGRTMIN is defined.
87469
87470 2011-02-11 Jakub Jelinek <jakub@redhat.com>
87471
87472 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87473 arginfo fn returning -1.
87474
87475 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87476 and thousands string is zero terminated.
87477
87478 2011-02-03 Andreas Schwab <schwab@redhat.com>
87479
87480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87481 sysdeps/unix/sysv/linux/bits/socket.h.
87482
87483 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
87484
87485 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87486 (__CPU_COUNT): Remove old macros.
87487 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87488 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87489 (__CPU_ALLOC, __CPU_FREE): Add macros.
87490 (__sched_cpualloc, __sched_cpufree): Add declarations.
87491
87492 2011-02-05 Ulrich Drepper <drepper@gmail.com>
87493
87494 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87495 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87496 * nscd/aicache.c (addhstaiX): Return timeout of added value.
87497 (readdhstai): Return value of addhstaiX call.
87498 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87499 (addgrbyX): Return value returned by cache_addgr.
87500 (readdgrbyname): Return value returned by addgrbyX.
87501 (readdgrbygid): Likewise.
87502 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87503 (addpwbyX): Return value returned by cache_addpw.
87504 (readdpwbyname): Return value returned by addhstbyX.
87505 (readdpwbyuid): Likewise.
87506 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87507 (addservbyX): Return value returned by cache_addserv.
87508 (readdservbyname): Return value returned by addservbyX:
87509 (readdservbyport): Likewise.
87510 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87511 (addhstbyX): Return value returned by cache_addhst.
87512 (readdhstbyname): Return value returned by addhstbyX.
87513 (readdhstbyaddr): Likewise.
87514 (readdhstbynamev6): Likewise.
87515 (readdhstbyaddrv6): Likewise.
87516 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87517 (readdinitgroups): Return value returned by addinitgroupsX.
87518 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87519 (prune_cache): Keep track of timeout value of re-added entries.
87520 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87521 * nscd/nscd.h: Adjust prototypes of readd* functions.
87522
87523 2011-02-04 Roland McGrath <roland@redhat.com>
87524
87525 * nis/nis_server.c (nis_servstate): Use the right name for 0.
87526 (nis_stats): Likewise.
87527 * nis/nis_modify.c (nis_modify): Likewise.
87528 * nis/nis_remove.c (nis_remove): Likewise.
87529 * nis/nis_add.c (nis_add): Likewise.
87530
87531 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87532
87533 * posix/fnmatch_loop.c: Add some consts.
87534
87535 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87536
87537 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
87538
87539 [BZ #12460]
87540 * config.make.in (config-cflags-novzeroupper): Define.
87541 * configure.in: Substitute libc_cv_cc_novzeroupper.
87542 * elf/Makefile (AVX-CFLAGS): Define.
87543 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87544 (CFLAGS-tst-auditmod4a.c): Likewise.
87545 (CFLAGS-tst-auditmod4b.c): Likewise.
87546 (CFLAGS-tst-auditmod6b.c): Likewise.
87547 (CFLAGS-tst-auditmod6c.c): Likewise.
87548 (CFLAGS-tst-auditmod7b.c): Likewise.
87549 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87550
87551 2011-02-02 Ulrich Drepper <drepper@gmail.com>
87552
87553 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87554 function to the callback.
87555 Patch partly by Jiri Olsa <jolsa@redhat.com>.
87556
87557 2011-02-02 Andreas Schwab <schwab@redhat.com>
87558
87559 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87560 of errno.
87561
87562 2011-01-19 Ulrich Drepper <drepper@gmail.com>
87563
87564 [BZ #11724]
87565 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87566 of constructors.
87567 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87568 of destructors.
87569 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87570
87571 [BZ #11724]
87572 * elf/Makefile: Add rules to build and run new test.
87573 * elf/tst-initorder.c: New file.
87574 * elf/tst-initorder.exp: New file.
87575 * elf/tst-initordera1.c: New file.
87576 * elf/tst-initordera2.c: New file.
87577 * elf/tst-initordera3.c: New file.
87578 * elf/tst-initordera4.c: New file.
87579 * elf/tst-initorderb1.c: New file.
87580 * elf/tst-initorderb2.c: New file.
87581 * elf/tst-order-a1.c: New file.
87582 * elf/tst-order-a2.c: New file.
87583 * elf/tst-order-a3.c: New file.
87584 * elf/tst-order-a4.c: New file.
87585 * elf/tst-order-b1.c: New file.
87586 * elf/tst-order-b2.c: New file.
87587 * elf/tst-order-main.c: New file.
87588 New test case by George Gensure <werkt0@gmail.com>.
87589
87590 2010-10-01 Andreas Schwab <schwab@redhat.com>
87591
87592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87593 decoding ACE if AI_CANONIDN.
87594
87595 2011-01-18 Ulrich Drepper <drepper@gmail.com>
87596
87597 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87598
87599 2011-01-17 Ulrich Drepper <drepper@gmail.com>
87600
87601 * version.h (RELEASE): Bump for 2.13 release.
87602 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87603
87604 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87605
87606 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87607 MADV_NOHUGEPAGE.
87608 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87613 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87614
87615 * posix/getconf.c: Update copyright year.
87616 * catgets/gencat.c: Likewise.
87617 * csu/version.c: Likewise.
87618 * debug/catchsegv.sh: Likewise.
87619 * debug/xtrace.sh: Likewise.
87620 * elf/ldconfig.c: Likewise.
87621 * elf/ldd.bash.in: Likewise.
87622 * elf/sprof.c (print_version): Likewise.
87623 * iconv/iconv_prog.c: Likewise.
87624 * iconv/iconvconfig.c: Likewise.
87625 * locale/programs/locale.c: Likewise.
87626 * locale/programs/localedef.c: Likewise.
87627 * malloc/memusage.sh: Likewise.
87628 * malloc/mtrace.pl: Likewise.
87629 * nscd/nscd.c (print_version): Likewise.
87630 * nss/getent.c: Likewise.
87631
87632 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87633 PF_CAIF, and PF_ALG.
87634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87635
87636 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
87637
87638 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87639 (modules-names): Use them.
87640 (ifunc-test-modules, ifunc-pie-tests): Define.
87641 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87642 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87643 (test-extras): Likewise.
87644 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87645 $(compile-command.c).
87646 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87647 (all-built-dso): Define.
87648 (check-textrel.out, check-execstack.out): Depend on it.
87649
87650 * configure.in: Don't override --enable-multi-arch.
87651
87652 2011-01-15 Ulrich Drepper <drepper@gmail.com>
87653
87654 [BZ #6812]
87655 * nscd/hstcache.c (tryagain): Define.
87656 (cache_addhst): Return tryagain not notfound for temporary errors.
87657 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87658 failed.
87659
87660 2011-01-14 Ulrich Drepper <drepper@gmail.com>
87661
87662 [BZ #10563]
87663 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87664 to make the syscall.
87665 * sysdeps/unix/sysv/linux/setgroups.c: New file.
87666
87667 [BZ #12378]
87668 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87669 and fall back to matching as normal character if the string ends before
87670 the matching ']' is found. This is what POSIX requires.
87671 * posix/testfnm.c: Adjust test result.
87672 * posix/globtest.sh: Adjust test result. Add new test.
87673 * posix/tst-fnmatch.input: Likewise.
87674 * posix/tst-fnmatch2.c: Add new test.
87675
87676 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
87677
87678 * elf/Makefile (check-execstack): Revert last change. Depend on
87679 check-execstack.h.
87680 (check-execstack.h): New target.
87681 (generated): Add check-execstack.h.
87682 * elf/check-execstack.c: Include "check-execstack.h".
87683 (main): Revert last change.
87684 (handle_file): Return zero if GNU_STACK is absent and
87685 DEFAULT_STACK_PERMS doesn't include PF_X.
87686
87687 2011-01-13 Ulrich Drepper <drepper@gmail.com>
87688
87689 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87690 in child fails because the descriptor is already closed.
87691 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87692 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87693 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87694
87695 [BZ #12397]
87696 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87697 syscall.
87698
87699 [BZ #10484]
87700 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87701 temporary buffer used to handle multi lookups locally.
87702 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87703
87704 2011-01-12 Ulrich Drepper <drepper@gmail.com>
87705
87706 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87707 loader is ld.so.
87708
87709 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
87710
87711 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87712 alignment for SSE2.
87713
87714 2011-01-12 Ulrich Drepper <drepper@gmail.com>
87715
87716 [BZ #12394]
87717 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87718 characters. When rounding increased number of integer digits recompute
87719 number of groups.
87720 * stdio-common/tst-grouping.c: New file.
87721 * stdio-common/Makefile: Add rules to build and run tst-grouping.
87722
87723 2011-01-09 Ulrich Drepper <drepper@gmail.com>
87724
87725 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87726 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
87727
87728 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87729 void.
87730 * bits/select.h: Likewise.
87731
87732 2011-01-08 Ulrich Drepper <drepper@gmail.com>
87733
87734 * po/ja.po: Update from translation team.
87735
87736 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
87737
87738 [BZ #11155]
87739 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87740 implementation just like for lxstat, fxstatat, et al.
87741
87742 2010-12-27 Jim Meyering <meyering@redhat.com>
87743
87744 [BZ #12348]
87745 * posix/regexec.c (build_trtable): Return failure indication upon
87746 calloc failure. Otherwise, re_search_internal could infloop on OOM.
87747
87748 2010-12-25 Ulrich Drepper <drepper@gmail.com>
87749
87750 [BZ #12201]
87751 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87752 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87753 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87755
87756 [BZ #12207]
87757 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87758
87759 [BZ #12204]
87760 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87761 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87762
87763 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
87764
87765 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87766 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87767 script has SORT_BY_INIT_PRIORITY.
87768 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87769 NO_CTORS_DTORS_SECTIONS is defined.
87770 * elf/soinit.c: Likewise.
87771 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87772 NO_CTORS_DTORS_SECTIONS is defined.
87773 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87774 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87775 * sysdeps/sh/init-first.c: Likewise.
87776 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87777
87778 2010-12-24 Ulrich Drepper <drepper@gmail.com>
87779
87780 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87781 always use the slow path.
87782
87783 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
87784
87785 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87786 similar rule which adds the sysdep directories to the header search in
87787 order to pick up the correct platform stackinfo.h.
87788 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87789 perform test if it is, otherwise return successfully without testing.
87790 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87791 DEFAULT_STACK_PERMS define in stackinfo.h.
87792 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87793 defined in stackinfo.h.
87794 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87795 DEFAULT_STACK_PERMS defined in stackinfo.h.
87796 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87797 * sysdeps/ia64/stackinfo.h: Likewise.
87798 * sysdeps/s390/stackinfo.h: Likewise.
87799 * sysdeps/sh/stackinfo.h: Likewise.
87800 * sysdeps/sparc/stackinfo.h: Likewise.
87801 * sysdeps/x86_64/stackinfo.h: Likewise.
87802 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87803 PF_X for powerpc64. Retain PF_X for powerpc32.
87804
87805 2010-12-19 Ulrich Drepper <drepper@gmail.com>
87806
87807 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87808 accurately.
87809 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87810 GETDENTS_64BIT_ALIGNED.
87811
87812 2010-12-14 Ulrich Drepper <dreper@gmail.com>
87813
87814 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87815
87816 2010-12-10 Andreas Schwab <schwab@redhat.com>
87817
87818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87819 _GNU_SOURCE.
87820
87821 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87822 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87823 Remove __restrict.
87824 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87825 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87826
87827 2010-12-09 Ulrich Drepper <drepper@gmail.com>
87828
87829 [BZ #11655]
87830 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87831 are initialized.
87832
87833 2010-12-09 Jakub Jelinek <jakub@redhat.com>
87834
87835 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87836
87837 2010-12-03 Ulrich Drepper <drepper@gmail.com>
87838
87839 * po/it.po: Update from translation team.
87840
87841 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
87842
87843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87844 unused codes.
87845
87846 2010-11-30 Ulrich Drepper <drepper@gmail.com>
87847
87848 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87849
87850 2010-11-24 Andreas Schwab <schwab@redhat.com>
87851
87852 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87853 specially.
87854 (gaih_getanswer_slice): Likewise.
87855
87856 2010-10-20 Jakub Jelinek <jakub@redhat.com>
87857
87858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87859
87860 2010-05-31 Petr Baudis <pasky@suse.cz>
87861
87862 [BZ #11149]
87863 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87864 silently even in the chroot mode.
87865
87866 2010-11-22 Ulrich Drepper <drepper@gmail.com>
87867
87868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87869 last patch a bit. Pretty printing
87870
87871 2010-05-31 Petr Baudis <pasky@suse.cz>
87872
87873 [BZ #10085]
87874 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87875 initialization of skip_initgroups_dyn.
87876
87877 2010-11-19 Ulrich Drepper <drepper@gmail.com>
87878
87879 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87881
87882 2010-11-16 Ulrich Drepper <drepper@gmail.com>
87883
87884 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87885
87886 2010-11-11 Andreas Schwab <schwab@redhat.com>
87887
87888 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87889 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87890 (tst-fnmatch-ENV): Set MALLOC_TRACE.
87891 ($(objpfx)tst-fnmatch-mem): New rule.
87892 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87893 * posix/tst-fnmatch.c (main): Call mtrace.
87894
87895 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
87896
87897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87898 Support Intel processor model 6 and model 0x2c.
87899
87900 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
87901
87902 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87903 signed comparison.
87904
87905 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
87906
87907 [BZ #12205]
87908 * string/test-strncasecmp.c (check_result): New function.
87909 (do_one_test): Use it.
87910 (check1): New function.
87911 (test_main): Use it.
87912 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87913 Support strcasecmp and strncasecmp.
87914
87915 2010-11-08 Ulrich Drepper <drepper@gmail.com>
87916
87917 [BZ #12194]
87918 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
87920
87921 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
87922
87923 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87924 IFUNC support.
87925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87926 memset-x86-64.
87927 * sysdeps/x86_64/multiarch/bzero.S: New file.
87928 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87929 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87930 * sysdeps/x86_64/multiarch/memset.S: New file.
87931 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87933 Set bit_Prefer_SSE_for_memop for Intel processors.
87934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87935 Define.
87936 (index_Prefer_SSE_for_memop): Define.
87937 (HAS_PREFER_SSE_FOR_MEMOP): Define.
87938
87939 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
87940
87941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87942 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87943
87944 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
87945
87946 [BZ #12191]
87947 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87948 (__x86_64_raw_data_cache_size_half): Likewise.
87949 (__x86_64_raw_shared_cache_size): Likewise.
87950 (__x86_64_raw_shared_cache_size_half): Likewise.
87951
87952 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87953 (__x86_64_raw_data_cache_size_half): Likewise.
87954 (__x86_64_raw_shared_cache_size): Likewise.
87955 (__x86_64_raw_shared_cache_size_half): Likewise.
87956 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87957 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87958 and __x86_64_raw_shared_cache_size_half. Round
87959 __x86_64_data_cache_size_half, __x86_64_data_cache_size
87960 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87961 to multiple of 256 bytes.
87962
87963 2010-11-03 Ulrich Drepper <drepper@gmail.com>
87964
87965 [BZ #12167]
87966 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87967 of inacessible symlinks. Verify result of symlink before returning it.
87968 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87969 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87970
87971 2010-10-28 Erich Ritz <erichritz@gmail.com>
87972
87973 * math/math.h (isinf): Fix typo in comment.
87974
87975 2010-11-01 Ulrich Drepper <drepper@gmail.com>
87976
87977 * po/da.po: Update from translation team.
87978
87979 2010-10-26 Ulrich Drepper <drepper@gmail.com>
87980
87981 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87982 is added to the list.
87983
87984 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
87985 Ulrich Drepper <drepper@gmail.com>
87986
87987 * elf/dl-object.c (_dl_new_object): Don't append the new object to
87988 the global list here. Move code to...
87989 (_dl_add_to_namespace_list): ...here. New function.
87990 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87991 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87992 * elf/dl-load.c (lose): Don't remove the element from the list.
87993 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87994 (_dl_map_object): Likewise.
87995
87996 2010-10-25 Ulrich Drepper <drepper@gmail.com>
87997
87998 [BZ #12159]
87999 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88000 into all bytes of SSE register.
88001 Patch by Richard Li <richardpku@gmail.com>.
88002
88003 2010-10-24 Ulrich Drepper <drepper@gmail.com>
88004
88005 [BZ #12140]
88006 * malloc/malloc.c (_int_free): Fill correct number of bytes when
88007 perturbing.
88008
88009 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
88010
88011 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88012 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88013 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88016 submachine.
88017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88018
88019 2010-10-22 Andreas Schwab <schwab@redhat.com>
88020
88021 * include/dlfcn.h (__RTLD_SECURE): Define.
88022 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
88023 mode & __RTLD_SECURE instead.
88024 (open_path): Rename preloaded parameter to secure.
88025 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88026 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88027 * elf/dl-deps.c (openaux): Likewise.
88028 * elf/rtld.c (struct map_args): Remove is_preloaded.
88029 (map_doit): Don't use it.
88030 (dl_main): Likewise.
88031 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88032 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88033
88034 2010-09-09 Andreas Schwab <schwab@redhat.com>
88035
88036 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88037 (sysd-rules-targets): Remove duplicates.
88038 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88039 rtld-%.$o dependency.
88040
88041 2010-10-18 Andreas Schwab <schwab@redhat.com>
88042
88043 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88044 _dl_map_object do it.
88045
88046 2010-10-19 Ulrich Drepper <drepper@gmail.com>
88047
88048 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88049 fast fma builtins, define the macros in the C99 standard.
88050 (FP_FAST_FMAF): Likewise.
88051 (FP_FAST_FMAL): Likewise.
88052 * sysdeps/x86_64/bits/mathdef.h: Likewise.
88053
88054 * bits/mathdef.h: Update copyright year.
88055 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88056
88057 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
88058
88059 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88060 builtins, define the macros in the C99 standard.
88061 (FP_FAST_FMAF): Likewise.
88062 (FP_FAST_FMAL): Likewise.
88063 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88064 multiply/add.
88065 (FP_FAST_FMAF): Likewise.
88066
88067 2010-10-15 Jakub Jelinek <jakub@redhat.com>
88068
88069 [BZ #3268]
88070 * math/libm-test.inc (fma_test): Some new testcases.
88071 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88073 y and infinite z. Do multiplication by C already in long double.
88074 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88076 y and infinite z. Do bitwise or of inexact bit into u.d.
88077 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88078 * sysdeps/i386/fpu/s_fmaf.S: Removed.
88079 * sysdeps/i386/fpu/s_fma.S: Removed.
88080 * sysdeps/i386/fpu/s_fmal.S: Removed.
88081
88082 2010-10-16 Jakub Jelinek <jakub@redhat.com>
88083
88084 [BZ #3268]
88085 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88087 computation is not scheduled after fetestexcept. Fix value
88088 of minimum denormal long double.
88089
88090 2010-10-14 Jakub Jelinek <jakub@redhat.com>
88091
88092 [BZ #3268]
88093 * math/libm-test.inc (fma_test): Add some more tests.
88094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88095 correctly.
88096
88097 2010-10-15 Andreas Schwab <schwab@redhat.com>
88098
88099 * scripts/data/localplt-s390-linux-gnu.data: New file.
88100 * scripts/data/localplt-s390x-linux-gnu.data: New file.
88101
88102 2010-10-13 Jakub Jelinek <jakub@redhat.com>
88103
88104 [BZ #3268]
88105 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88106 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88107 instead of dbl-64.
88108 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88109 inlines.
88110 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88112 if one of x and y is very large and the other is subnormal.
88113 * sysdeps/s390/fpu/s_fmaf.c: New file.
88114 * sysdeps/s390/fpu/s_fma.c: New file.
88115 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88116 * sysdeps/powerpc/fpu/s_fma.S: New file.
88117 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88118 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88119 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88120
88121 2010-10-12 Jakub Jelinek <jakub@redhat.com>
88122
88123 [BZ #3268]
88124 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88125 fma tests.
88126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88127 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88128 * sysdeps/i386/i686/multiarch/s_fma.c: Include
88129 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88130 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88131 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88132 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88133
88134 2010-10-12 Ulrich Drepper <drepper@redhat.com>
88135
88136 [BZ #12078]
88137 * posix/regcomp.c (parse_branch): One more memory leak plugged.
88138 * posix/bug-regex31.input: Add test case.
88139
88140 2010-10-11 Ulrich Drepper <drepper@gmail.com>
88141
88142 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88143 * posix/bug-regex31.input: New file.
88144
88145 [BZ #12078]
88146 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88147 (parse_sub_exp): Fix last change, use postorder.
88148
88149 * posix/bug-regex31.c: New file.
88150 * posix/Makefile: Add rules to build and run bug-regex31.
88151
88152 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88153
88154 [BZ #12078]
88155 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88156
88157 [BZ #12108]
88158 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88159 to have entries in sys_siglist.
88160
88161 [BZ #12093]
88162 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88163 be NULL.
88164
88165 2010-10-07 Jakub Jelinek <jakub@redhat.com>
88166
88167 [BZ #3268]
88168 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88169 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88170 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88171 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88172 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88173 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88174 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88175 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88176 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88177 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88178 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88179 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88180 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88181 * math/ftestexcept.c (fetestexcept): Likewise.
88182 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88183 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88184 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88185 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88186 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88187 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88188 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88189
88190 2010-10-11 Ulrich Drepper <drepper@gmail.com>
88191
88192 [BZ #12107]
88193 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88194 newline.
88195
88196 2010-10-06 Ulrich Drepper <drepper@gmail.com>
88197
88198 * string/bug-strstr1.c: New file.
88199 * string/Makefile: Add rules to build and run bug-strstr1.
88200
88201 2010-10-05 Eric Blake <eblake@redhat.com>
88202
88203 [BZ #12092]
88204 * string/str-two-way.h (two_way_long_needle): Always clear memory
88205 when skipping input due to the shift table.
88206
88207 2010-10-03 Ulrich Drepper <drepper@gmail.com>
88208
88209 [BZ #12005]
88210 * malloc/mcheck.c: Handle large requests.
88211
88212 [BZ #12077]
88213 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88214 for strncmp and strncasecmp.
88215 * string/stratcliff.c: Add tests for strcmp and strncmp.
88216 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88217
88218 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
88219
88220 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88221 __set_fpscr.
88222
88223 2010-09-30 Andreas Jaeger <aj@suse.de>
88224
88225 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88226 (CGROUP_SUPER_MAGIC): Define.
88227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88228 Handle btrfs and cgroup file systems.
88229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88230 Likewise.
88231
88232 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
88233
88234 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88235 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88236
88237 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
88238
88239 [BZ #12067]
88240 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88241 trying to locate the ELF header.
88242
88243 2010-09-27 Andreas Schwab <schwab@redhat.com>
88244
88245 [BZ #11611]
88246 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88247 Mask out sign-bit copies when constructing f_fsid.
88248
88249 2010-09-24 Petr Baudis <pasky@suse.cz>
88250
88251 * debug/stack_chk_fail_local.c: Add missing licence exception.
88252 * debug/warning-nop.c: Likewise.
88253
88254 2010-09-15 Joseph Myers <joseph@codesourcery.com>
88255
88256 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88257 implementing getdents64 using getdents syscall, set d_type if
88258 __ASSUME_GETDENTS32_D_TYPE.
88259
88260 2010-09-16 Andreas Schwab <schwab@redhat.com>
88261
88262 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88263 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88264
88265 2010-09-21 Ulrich Drepper <drepper@redhat.com>
88266
88267 [BZ #12037]
88268 * posix/unistd.h: Undo change of feature selection for ftruncate from
88269 2010-01-11.
88270
88271 2010-09-20 Ulrich Drepper <drepper@redhat.com>
88272
88273 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88274 detection.
88275
88276 2010-09-20 Andreas Schwab <schwab@redhat.com>
88277
88278 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88279 fanotify_mark.
88280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88281
88282 2010-09-14 Andreas Schwab <schwab@redhat.com>
88283
88284 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88285 variables after CHECK_SP call.
88286 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88287
88288 2010-09-13 Andreas Schwab <schwab@redhat.com>
88289 Ulrich Drepper <drepper@redhat.com>
88290
88291 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88292 re-relocationg ld.so.
88293 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88294 _dl_init_paths call.
88295 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
88296 here anymore.
88297
88298 2010-09-14 Ulrich Drepper <drepper@redhat.com>
88299
88300 * resolv/res_init.c (__res_vinit): Count the default server we added.
88301
88302 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
88303 Ulrich Drepper <drepper@redhat.com>
88304
88305 [BZ #11968]
88306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88307 (____longjmp_chk): Use %ebx for saving value across system call.
88308 Add unwind info.
88309
88310 2010-09-06 Andreas Schwab <schwab@redhat.com>
88311
88312 * manual/Makefile: Don't mix pattern rules with normal rules.
88313
88314 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
88315
88316 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88317 operation.
88318 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88319 * libio/iofopncook.c (_IO_cookie_init): Likewise.
88320 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88321 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88323 Likewise.
88324
88325 2010-09-04 Ulrich Drepper <drepper@redhat.com>
88326
88327 [BZ #11979]
88328 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88329 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88330
88331 2010-09-02 Ulrich Drepper <drepper@redhat.com>
88332
88333 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88334 * sysdeps/x86_64/addmul_1.S: Likewise.
88335 * sysdeps/x86_64/lshift.S: Likewise.
88336 * sysdeps/x86_64/mul_1.S: Likewise.
88337 * sysdeps/x86_64/rshift.S: Likewise.
88338 * sysdeps/x86_64/sub_n.S: Likewise.
88339 * sysdeps/x86_64/submul_1.S: Likewise.
88340
88341 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
88342
88343 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88344 Define __sched_param instead of SCHED_* and sched_param when
88345 <bits/sched.h> is included with __need_schedparam defined.
88346 * bits/sched.h [__need_schedparam]
88347 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88348 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88349 (__defined_schedparam): Define to 1.
88350 (__sched_param): New structure, identical to sched_param.
88351 (__need_schedparam): Undefine.
88352
88353 2010-08-31 Mike Frysinger <vapier@gentoo.org>
88354
88355 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88356 (epoll_create1): Declare.
88357
88358 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88359
88360 2010-08-31 Andreas Schwab <schwab@redhat.com>
88361
88362 [BZ #7066]
88363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88364 shifting retval into place.
88365
88366 2010-09-01 Ulrich Drepper <drepper@redhat.com>
88367
88368 * nis/rpcsvc/nis.h: Update copyright notice.
88369 * nis/rpcsvc/nis.x: Likewise.
88370 * nis/rpcsvc/nis_callback.h: Likewise.
88371 * nis/rpcsvc/nis_callback.x: Likewise.
88372 * nis/rpcsvc/nis_object.x: Likewise.
88373 * nis/rpcsvc/nis_tags.h: Likewise.
88374 * nis/rpcsvc/yp.h: Likewise.
88375 * nis/rpcsvc/yp.x: Likewise.
88376 * nis/rpcsvc/ypupd.h: Likewise.
88377 * nis/yp_xdr.c: Likewise.
88378 * nis/ypupdate_xdr.c: Likewise.
88379
88380 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
88381 mainly the body of pmap_getport. Add parameters to specify timeouts.
88382 (pmap_getport): Use __libc_rpc_getport.
88383 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88384 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88385 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88386
88387 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
88388
88389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88390 fanotify_mark.
88391
88392 2010-08-27 Roland McGrath <roland@redhat.com>
88393
88394 * sysdeps/i386/i686/multiarch/Makefile
88395 (CFLAGS-varshift.c): New variable.
88396
88397 2010-08-27 Ulrich Drepper <drepper@redhat.com>
88398
88399 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88400 * sysdeps/i386/i686/multiarch/varshift.c: New file.
88401
88402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88403
88404 * sysdeps/x86_64/strlen.S: Minimal code improvement.
88405
88406 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
88407
88408 * sysdeps/x86_64/strlen.S: Unroll the loop.
88409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88410 strlen-sse2 strlen-sse2-bsf.
88411 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88412 __strlen_no_bsf if bit_Slow_BSF is set.
88413 (__strlen_sse42): Removed.
88414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88415 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88416
88417 2010-08-25 Roland McGrath <roland@redhat.com>
88418
88419 * sysdeps/x86_64/multiarch/varshift.S: File removed.
88420 * sysdeps/x86_64/multiarch/varshift.c: New file.
88421 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88422 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88423 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88425
88426 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
88427
88428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88429 strlen-sse2 strlen-sse2-bsf.
88430 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88431 __strlen_sse2_bsf if bit_Slow_BSF is unset.
88432 (__strlen_sse2): Removed.
88433 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88436 bit_Slow_BSF for Atom.
88437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88438 (index_Slow_BSF): Define.
88439 (HAS_SLOW_BSF): Define.
88440
88441 2010-08-25 Ulrich Drepper <drepper@redhat.com>
88442
88443 [BZ #10851]
88444 * resolv/res_init.c (__res_vinit): When no server address at all
88445 is given default to loopback.
88446
88447 2010-08-24 Roland McGrath <roland@redhat.com>
88448
88449 * configure.in: Remove config-name.h generation.
88450 * configure: Regenerated.
88451 * config-name.in: File removed.
88452 * scripts/config-uname.sh: New file.
88453 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88454 ($(objdir)config-name.h): New target.
88455
88456 * sunrpc/rpc_parse.h: Avoid nested comment.
88457
88458 2010-08-24 Richard Henderson <rth@redhat.com>
88459 Ulrich Drepper <drepper@redhat.com>
88460 H.J. Lu <hongjiu.lu@intel.com>
88461
88462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88464 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88465 Replace _mm_srli_si128 with __m128i_shift_right. Replace
88466 _mm_alignr_epi8 with _mm_loadu_si128.
88467 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88468 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88469 (__m128i_shift_right): Removed.
88470 * sysdeps/i386/i686/multiarch/varshift.h: New file.
88471 * sysdeps/i386/i686/multiarch/varshift.S: New file.
88472 * sysdeps/x86_64/multiarch/varshift.h: New file.
88473 * sysdeps/x86_64/multiarch/varshift.S: New file.
88474
88475 2010-08-21 Mike Frysinger <vapier@gentoo.org>
88476
88477 * configure.in: Move assembler checks to before sysdep dir checking.
88478
88479 2010-08-20 Petr Baudis <pasky@suse.cz>
88480
88481 * LICENSES: Sync the sunrpc license.
88482
88483 2010-08-19 Ulrich Drepper <drepper@redhat.com>
88484
88485 * sunrpc/auth_des.c: Update copyright notice once again.
88486 * sunrpc/auth_none.c: Likewise.
88487 * sunrpc/auth_unix.c: Likewise.
88488 * sunrpc/authdes_prot.c: Likewise.
88489 * sunrpc/authuxprot.c: Likewise.
88490 * sunrpc/bindrsvprt.c: Likewise.
88491 * sunrpc/clnt_gen.c: Likewise.
88492 * sunrpc/clnt_perr.c: Likewise.
88493 * sunrpc/clnt_raw.c: Likewise.
88494 * sunrpc/clnt_simp.c: Likewise.
88495 * sunrpc/clnt_tcp.c: Likewise.
88496 * sunrpc/clnt_udp.c: Likewise.
88497 * sunrpc/clnt_unix.c: Likewise.
88498 * sunrpc/des_crypt.c: Likewise.
88499 * sunrpc/des_soft.c: Likewise.
88500 * sunrpc/get_myaddr.c: Likewise.
88501 * sunrpc/getrpcport.c: Likewise.
88502 * sunrpc/key_call.c: Likewise.
88503 * sunrpc/key_prot.c: Likewise.
88504 * sunrpc/openchild.c: Likewise.
88505 * sunrpc/pm_getmaps.c: Likewise.
88506 * sunrpc/pm_getport.c: Likewise.
88507 * sunrpc/pmap_clnt.c: Likewise.
88508 * sunrpc/pmap_prot.c: Likewise.
88509 * sunrpc/pmap_prot2.c: Likewise.
88510 * sunrpc/pmap_rmt.c: Likewise.
88511 * sunrpc/rpc/auth.h: Likewise.
88512 * sunrpc/rpc/auth_unix.h: Likewise.
88513 * sunrpc/rpc/clnt.h: Likewise.
88514 * sunrpc/rpc/des_crypt.h: Likewise.
88515 * sunrpc/rpc/key_prot.h: Likewise.
88516 * sunrpc/rpc/netdb.h: Likewise.
88517 * sunrpc/rpc/pmap_clnt.h: Likewise.
88518 * sunrpc/rpc/pmap_prot.h: Likewise.
88519 * sunrpc/rpc/pmap_rmt.h: Likewise.
88520 * sunrpc/rpc/rpc.h: Likewise.
88521 * sunrpc/rpc/rpc_des.h: Likewise.
88522 * sunrpc/rpc/rpc_msg.h: Likewise.
88523 * sunrpc/rpc/svc.h: Likewise.
88524 * sunrpc/rpc/svc_auth.h: Likewise.
88525 * sunrpc/rpc/types.h: Likewise.
88526 * sunrpc/rpc/xdr.h: Likewise.
88527 * sunrpc/rpc_clntout.c: Likewise.
88528 * sunrpc/rpc_cmsg.c: Likewise.
88529 * sunrpc/rpc_common.c: Likewise.
88530 * sunrpc/rpc_cout.c: Likewise.
88531 * sunrpc/rpc_dtable.c: Likewise.
88532 * sunrpc/rpc_hout.c: Likewise.
88533 * sunrpc/rpc_main.c: Likewise.
88534 * sunrpc/rpc_parse.c: Likewise.
88535 * sunrpc/rpc_parse.h: Likewise.
88536 * sunrpc/rpc_prot.c: Likewise.
88537 * sunrpc/rpc_sample.c: Likewise.
88538 * sunrpc/rpc_scan.c: Likewise.
88539 * sunrpc/rpc_scan.h: Likewise.
88540 * sunrpc/rpc_svcout.c: Likewise.
88541 * sunrpc/rpc_tblout.c: Likewise.
88542 * sunrpc/rpc_util.c: Likewise.
88543 * sunrpc/rpc_util.h: Likewise.
88544 * sunrpc/rpcinfo.c: Likewise.
88545 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88546 * sunrpc/rpcsvc/key_prot.x: Likewise.
88547 * sunrpc/rpcsvc/klm_prot.x: Likewise.
88548 * sunrpc/rpcsvc/mount.x: Likewise.
88549 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88550 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88551 * sunrpc/rpcsvc/rex.x: Likewise.
88552 * sunrpc/rpcsvc/rstat.x: Likewise.
88553 * sunrpc/rpcsvc/rusers.x: Likewise.
88554 * sunrpc/rpcsvc/sm_inter.x: Likewise.
88555 * sunrpc/rpcsvc/spray.x: Likewise.
88556 * sunrpc/rpcsvc/yppasswd.x: Likewise.
88557 * sunrpc/rtime.c: Likewise.
88558 * sunrpc/svc.c: Likewise.
88559 * sunrpc/svc_auth.c: Likewise.
88560 * sunrpc/svc_authux.c: Likewise.
88561 * sunrpc/svc_raw.c: Likewise.
88562 * sunrpc/svc_run.c: Likewise.
88563 * sunrpc/svc_simple.c: Likewise.
88564 * sunrpc/svc_tcp.c: Likewise.
88565 * sunrpc/svc_udp.c: Likewise.
88566 * sunrpc/svc_unix.c: Likewise.
88567 * sunrpc/svcauth_des.c: Likewise.
88568 * sunrpc/xcrypt.c: Likewise.
88569 * sunrpc/xdr.c: Likewise.
88570 * sunrpc/xdr_array.c: Likewise.
88571 * sunrpc/xdr_float.c: Likewise.
88572 * sunrpc/xdr_mem.c: Likewise.
88573 * sunrpc/xdr_rec.c: Likewise.
88574 * sunrpc/xdr_ref.c: Likewise.
88575 * sunrpc/xdr_sizeof.c: Likewise.
88576 * sunrpc/xdr_stdio.c: Likewise.
88577
88578 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88579 handling.
88580
88581 2010-08-19 Andreas Schwab <schwab@redhat.com>
88582
88583 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88584
88585 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
88586
88587 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88588 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88589 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88590 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88591 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88592 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88593 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88594 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88597 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88599 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88600 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88601
88602 2010-07-26 Anton Blanchard <anton@samba.org>
88603
88604 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88605 * malloc/arena.c (heap_trim): Likewise.
88606
88607 2010-08-16 Ulrich Drepper <drepper@redhat.com>
88608
88609 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88610 here. Not...
88611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88612 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88613
88614 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
88615
88616 * sysdeps/i386/elf/Makefile: New file.
88617
88618 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
88619
88620 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88621 from fanotify_init.
88622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88624
88625 2010-08-15 Ulrich Drepper <drepper@redhat.com>
88626
88627 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88628 of strncasecmp_l.
88629 * sysdeps/multiarch/strcmp.S: Likewise.
88630
88631 2010-08-14 Ulrich Drepper <drepper@redhat.com>
88632
88633 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88634 strncase_l-nonascii.
88635 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88636 Add strncase_l-ssse3.
88637 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88638 * sysdeps/x86_64/strcmp.S: Likewise.
88639 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88640 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88641 * sysdeps/x86_64/strncase.S: New file.
88642 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88643 * sysdeps/x86_64/strncase_l.S: New file.
88644 * string/Makefile (strop-tests): Add strncasecmp.
88645 * string/test-strncasecmp.c: New file.
88646
88647 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88648 warning.
88649
88650 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88651 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88652
88653 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
88654
88655 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88656
88657 2010-08-12 Ulrich Drepper <drepper@redhat.com>
88658
88659 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88660 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88662
88663 2010-05-01 Alan Modra <amodra@gmail.com>
88664
88665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88666 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88667 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88668 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88669 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88670 tidying. Don't tail-call __sigjmp_save for static lib.
88671 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88672 save location.
88673 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88674 (CALL_MCOUNT): Add eh info, and nop after bl.
88675 (TAIL_CALL_SYSCALL_ERROR): New macro.
88676 (PSEUDO_RET): Use it.
88677 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88678 Correct save location of integer regs and cr.
88679 (_dl_profile_resolve): Correct cr save location. Delete nops
88680 after bl when SHARED. Reduce cfi size a little by better
88681 placement of cfi directives.
88682 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88683 make a stack frame. Instead use parm save area as a temp.
88684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88685 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
88686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88687 Don't make a stack frame for parent, use parm save area.
88688 Increase child stack frame to 112 bytes. Don't save unused reg,
88689 and adjust reg usage. Set up cfi on error recovery and
88690 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88692 (__makecontext): Add dummy nop after jump to exit.
88693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88694 Use correct parm save area and cr save, reduce stack frame.
88695 Correct cfi for possible PSEUDO_RET frame setup.
88696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88697 Branch to local label emitted by PSEUDO_RET rather than
88698 __syscall_error.
88699
88700 2010-08-12 Andreas Schwab <schwab@redhat.com>
88701
88702 [BZ #11904]
88703 * locale/programs/locale.c (print_assignment): New function.
88704 (show_locale_vars): Use it.
88705
88706 2010-08-11 Ulrich Drepper <drepper@redhat.com>
88707
88708 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88709 field.
88710 (struct statfs64): Likewise.
88711 (_STATFS_F_FLAGS): Define.
88712 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88713 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88714 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88715 (ST_VALID): Define locally.
88716 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88717 __statvfs_getflags, use the provided value.
88718 * sysdeps/unix/sysv/linux/kernel-features.h: Define
88719 __ASSUME_STATFS_F_FLAGS.
88720
88721 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88722
88723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88724 Add sys/fanotify.h.
88725 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88726 fanotify_mask for GLIBC_2.13.
88727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88728 fanotify_init and fanotify_mark.
88729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88730 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88731
88732 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88733 Add prlimit.
88734 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88735 prlimit64 for GLIBC_2.13.
88736 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88737 prlimit64.
88738 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88739 syscall.
88740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88742 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
88745 add prlimit alias.
88746 * sysdeps/unix/sysv/linux/prlimit.c: New file.
88747
88748 [BZ #11903]
88749 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88750 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88751
88752 * nss/Makefile: Add rules to build and run tst-nss-test1.
88753 * shlib-versions: Add entry for libnss_test1.
88754 * nss/nss_test1.c: New file.
88755 * nss/tst-nss-test1.c: New file.
88756
88757 * nss/nsswitch.c (__nss_database_custom): Define new variable.
88758 (__nss_configure_lookup): Set appropriate entry in
88759 __nss_configure_lookup to true.
88760 * nss/nsswitch.h: Define enum with indeces of databases in
88761 databases and __nss_database_custom arrays. Declare
88762 __nss_database_custom.
88763 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88764 to avoid using nscd when custom rules are installed.
88765 * nss/getXXbyYY_r.c: Likewise.
88766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88767
88768 * nss/nss_files/files-parse.c: Whitespace fixes.
88769
88770 2010-08-09 Ulrich Drepper <drepper@redhat.com>
88771
88772 [BZ #11883]
88773 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88774 * posix/fnmatch_loop.c: Likewise.
88775
88776 2010-07-17 Andi Kleen <ak@linux.intel.com>
88777
88778 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88779 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88780 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88781 * Versions.def [GLIBC_2.13]: Add.
88782
88783 2010-08-06 Ulrich Drepper <drepper@redhat.com>
88784
88785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88786 Also fail if tpwd after pwuid call is NULL.
88787
88788 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
88789
88790 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88791 when converting to ms.
88792
88793 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
88794
88795 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88796 EOPNOTSUPP errors with ENOTTY.
88797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88798 EOPNOTSUPP errors with ENOTTY.
88799
88800 2010-07-31 Ulrich Drepper <drepper@redhat.com>
88801
88802 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88803 Add strcasecmp_l-ssse3.
88804 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88805 strcasecmp.
88806 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88807 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88809
88810 2010-07-30 Ulrich Drepper <drepper@redhat.com>
88811
88812 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88813
88814 * string/Makefile (strop-tests): Add strcasecmp.
88815 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88816 strcasecmp_l-nonascii.
88817 (gen-as-const-headers): Add locale-defines.sym.
88818 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88819 * sysdeps/x86_64/strcasecmp.S: New file.
88820 * sysdeps/x86_64/strcasecmp_l.S: New file.
88821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88822 * sysdeps/x86_64/locale-defines.sym: New file.
88823 * string/test-strcasecmp.c: New file.
88824
88825 * string/test-strcasestr.c: Test both ends of the range of characters.
88826 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88827
88828 2010-07-29 Roland McGrath <roland@redhat.com>
88829
88830 [BZ #11856]
88831 * manual/locale.texi (Yes-or-No Questions): Fix example code.
88832
88833 2010-07-27 Ulrich Drepper <drepper@redhat.com>
88834
88835 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88836 for ld.so.
88837
88838 2010-07-27 Andreas Schwab <schwab@redhat.com>
88839
88840 * manual/memory.texi (Malloc Tunable Parameters): Document
88841 M_PERTURB.
88842
88843 2010-07-26 Roland McGrath <roland@redhat.com>
88844
88845 [BZ #11840]
88846 * configure.in (-fgnu89-inline check): Set and substitute
88847 gnu89_inline, not libc_cv_gnu89_inline.
88848 * configure: Regenerated.
88849 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88850
88851 2010-07-26 Ulrich Drepper <drepper@redhat.com>
88852
88853 * string/test-strnlen.c: New file.
88854 * string/Makefile (strop-tests): Add strnlen.
88855 * string/tester.c (test_strnlen): Add a few more test cases.
88856 * string/tst-strlen.c: Better error reporting.
88857
88858 * sysdeps/x86_64/strnlen.S: New file.
88859
88860 2010-07-24 Ulrich Drepper <drepper@redhat.com>
88861
88862 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88863 lower-latency instructions.
88864
88865 2010-07-23 Ulrich Drepper <drepper@redhat.com>
88866
88867 * string/test-strcasestr.c: New file.
88868 * string/test-strstr.c: New file.
88869 * string/Makefile (strop-tests): Add strstr and strcasestr.
88870 * string/str-two-way.h: Don't undefine MAX.
88871 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88872
88873 2010-07-21 Andreas Schwab <schwab@redhat.com>
88874
88875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88876 strcasestr-nonascii.
88877 (CFLAGS-strcasestr-nonascii.c): Define.
88878 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88880 Remove unused attribute.
88881
88882 2010-07-20 Roland McGrath <roland@redhat.com>
88883
88884 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88885 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
88886 ld.so.cache was broken. With it, there is no way to disable dsocaps
88887 like LD_HWCAP_MASK can disable hwcaps.
88888
88889 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
88890
88891 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88892
88893 2010-07-16 Ulrich Drepper <drepper@redhat.com>
88894
88895 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88896 call in strcasestr.
88897 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88898 __strcasestr_sse42_nonascii.
88899 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88900 strcasestr-nonascii.c.
88901 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88902
88903 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
88904
88905 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88906 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88908 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88909
88910 2010-07-09 Ulrich Drepper <drepper@redhat.com>
88911
88912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88913 fcntl.
88914
88915 2010-07-06 Andreas Schwab <schwab@redhat.com>
88916
88917 [BZ #11577]
88918 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88919 dl_signal_cerror.
88920
88921 2010-07-06 Ulrich Drepper <drepper@redhat.com>
88922
88923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88924 _PC_PIPE_BUF using F_GETPIPE_SZ.
88925
88926 2010-07-05 Roland McGrath <roland@redhat.com>
88927
88928 * manual/arith.texi (Rounding Functions): Fix rint description
88929 implicit in round description.
88930
88931 2010-07-02 Ulrich Drepper <drepper@redhat.com>
88932
88933 * elf/Makefile: Fix linking for a few tests to make recent linker
88934 happy.
88935
88936 2010-06-30 Andreas Schwab <schwab@redhat.com>
88937
88938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88939 $(common-objpfx)libc_nonshared.a.
88940
88941 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
88942
88943 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88944 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88945 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88946 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88947 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88948 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88949 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88950 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88965 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88966 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88967 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88968 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88969 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88970 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88971 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88972 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88973 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88974 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88975 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88976 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88991
88992 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
88993
88994 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88995 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
88996 * string/memmove.c (memmove): Renamed to ...
88997 (MEMMOVE): ...this. Default to memmove.
88998 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88999 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89000 (END_CHK): Define.
89001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89002 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89003 mempcpy-ssse3-back memmove-ssse3-back.
89004 * sysdeps/x86_64/multiarch/bcopy.S: New file .
89005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89007 * sysdeps/x86_64/multiarch/memcpy.S: New file.
89008 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89009 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89010 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89011 * sysdeps/x86_64/multiarch/memmove.c: New file.
89012 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89013 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89014 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89015 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89016 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89018 Define.
89019 (index_Fast_Copy_Backward): Define.
89020 (HAS_ARCH_FEATURE): Define.
89021 (HAS_FAST_REP_STRING): Define.
89022 (HAS_FAST_COPY_BACKWARD): Define.
89023
89024 2010-06-21 Andreas Schwab <schwab@redhat.com>
89025
89026 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89027 Restore proper fallback handling.
89028
89029 2010-06-19 Ulrich Drepper <drepper@redhat.com>
89030
89031 [BZ #11701]
89032 * posix/group_member.c (__group_member): Correct checking loop.
89033
89034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89035 OOM in getpwuid_r correctly. Return error number when the caller
89036 should return, otherwise -1.
89037 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89038 call returning > 0 value.
89039 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89040
89041 2010-06-07 Andreas Schwab <schwab@redhat.com>
89042
89043 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89044 libc_nonshared.a from targets in modules-names.
89045
89046 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
89047
89048 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89049 requires it.
89050
89051 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
89052
89053 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89054 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89056 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89057
89058 2010-06-02 Andreas Schwab <schwab@redhat.com>
89059
89060 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89061
89062 2010-06-14 Ulrich Drepper <drepper@redhat.com>
89063
89064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89065 and F_GETPIPE_SZ.
89066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89070 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89072
89073 2010-06-14 Roland McGrath <roland@redhat.com>
89074
89075 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89076
89077 2010-06-07 Jakub Jelinek <jakub@redhat.com>
89078
89079 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89080 __REDIRECT followed by __THROW.
89081 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89082 * posix/getopt.h (getopt): Likewise.
89083
89084 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
89085
89086 * hurd/lookup-at.c (__file_name_lookup_at): Accept
89087 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
89088 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89089 in AT_FLAGS.
89090 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89091 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89092
89093 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
89094
89095 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89096
89097 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
89098
89099 [BZ #11640]
89100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89101 Properly check family and model.
89102
89103 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
89104
89105 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89106
89107 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
89108
89109 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89110
89111 2010-05-21 Ulrich Drepper <drepper@redhat.com>
89112
89113 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89114 symbol reference.
89115
89116 2010-05-19 Andreas Schwab <schwab@redhat.com>
89117
89118 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89119 symbol reference.
89120
89121 2010-05-21 Andreas Schwab <schwab@redhat.com>
89122
89123 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89124 and internal_recvmmsg.
89125 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89126 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89127 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89128 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89129
89130 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89131 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89132 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89133
89134 2010-05-20 Andreas Schwab <schwab@redhat.com>
89135
89136 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89137
89138 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
89139
89140 POWER7 optimizations.
89141 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89142 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89143
89144 2010-05-19 Ulrich Drepper <drepper@redhat.com>
89145
89146 * version.h: Update for 2.13 development version.
89147
89148 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
89149
89150 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89151 exceptions. Return 0.
89152
89153 2010-05-07 Roland McGrath <roland@redhat.com>
89154
89155 * elf/ldconfig.c (main): Add a const.
89156
89157 2010-05-06 Ulrich Drepper <drepper@redhat.com>
89158
89159 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89160 (args_options): Add no-idn option.
89161 (ahosts_keys_int): Add idn_flags to ai_flags.
89162 (parse_option): Handle 'i' option to clear idn_flags.
89163
89164 * malloc/malloc.c (_int_free): Possible race in the most recently
89165 added check. Only act on the data if no current modification
89166 happened.
89167
89168 See ChangeLog.17 for earlier changes.