1 2014-01-03 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5 * math/auto-libm-test-in: Mark various tests with
6 xfail-rounding:ldbl-128ibm.
7 * math/auto-libm-test-out: Regenerated.
9 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13 numbers with subnormal high part when calculating exponent.
16 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22 (__ieee754_acoshl): Use __log1pl not __log1p.
24 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
26 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
27 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
28 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
29 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
31 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
32 mem2mem_check, mem2chunk_check, top_check, realloc_check,
33 memalign_check, __malloc_set_state): Likewise.
34 * malloc/mallocbug.c (main): Likewise.
35 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
36 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
37 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
38 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
39 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
40 * malloc/malloc.h: Likewise.
41 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
42 memalignhook, reallochook, mabort): Likewise.
43 * malloc/mcheck.h: Likewise.
44 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
45 mmap64, mremap, munmap, dest): Likewise.
46 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47 * malloc/morecore.c (__default_morecore): Likewise.
48 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
50 _obstack_allocated_p, obstack_free, _obstack_memory_used,
51 print_and_abort): Likewise.
52 * malloc/obstack.h: Likewise.
53 * malloc/set-freeres.c (__libc_freeres): Likewise.
54 * malloc/tst-mallocstate.c (main): Likewise.
55 * malloc/tst-mtrace.c (main): Likewise.
56 * malloc/tst-realloc.c (do_test): Likewise.
58 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61 * nscd/netgroupcache.c (do_notfound): New function.
62 (addgetnetgrentX): Use it.
65 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
68 2014-01-01 Joseph Myers <joseph@codesourcery.com>
70 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
71 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73 2014-01-01 Allan McRae <allan@archlinux.org>
75 * scripts/update-copyrights: Update configure input file suffix.
77 * NEWS: Update copyright year.
78 * catgets/gencat.c: Likewise.
79 * csu/version.c: Likewise.
80 * debug/catchsegv.sh: Likewise.
81 * debug/pcprofiledump.c: Likewise.
82 * debug/xtrace.sh: Likewise.
83 * elf/ldconfig.c: Likewise.
84 * elf/ldd.bash.in: Likewise.
85 * elf/pldd.c: Likewise.
86 * elf/sotruss.ksh: Likewise.
87 * elf/sprof.c: Likewise.
88 * iconv/iconv_prog.c: Likewise.
89 * iconv/iconvconfig.c: Likewise.
90 * locale/programs/locale.c: Likewise.
91 * locale/programs/localedef.c: Likewise.
92 * login/programs/pt_chown.c: Likewise.
93 * malloc/memusage.sh: Likewise.
94 * malloc/memusagestat.c: Likewise.
95 * malloc/mtrace.pl: Likewise.
96 * manual/libc.texinfo: Likewise.
97 * nscd/nscd.c: Likewise.
98 * nss/getent.c: Likewise.
99 * nss/makedb.c: Likewise.
100 * posix/getconf.c: Likewise.
101 * scripts/test-installation.pl: Likewise.
103 * All files with FSF copyright notices: Update copyright dates
104 using scripts/update-copyrights.
105 * intl/plural.c: Regenerated.
106 * locale/programs/charmap-kw.h: Likewise.
107 * locale/programs/locfile-kw.h: Likewise.
109 2013-12-31 Mike Frysinger <vapier@gentoo.org>
111 * sysdeps/unix/sysv/linux/configure: Regenerated.
112 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
113 the linux/fanotify.h header.
114 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
115 HAVE_LINUX_FANOTIFY_H is defined.
117 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
119 * benchtests/cos-inputs: New inputs.
120 * benchtests/sin-inputs: Likewise.
122 * benchtests/atan-inputs: New inputs. Fix name of multiple
123 precision fallback inputs.
125 * benchtests/atanh-inputs: New inputs.
126 * benchtests/tanh-inputs: Likewise.
128 * benchtests/acosh-inputs: New inputs.
129 * benchtests/asinh-inputs: Likewise.
131 * benchtests/cosh-inputs: New inputs.
132 * benchtests/sinh-inputs: Likewise.
134 * benchtests/acos-inputs: Add more inputs.
135 * benchtests/asin-inputs: Likewise.
137 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
140 * manual/arith.texi: Fix spelling.
141 * manual/charset.texi: Likewise.
142 * manual/errno.texi: Likewise.
143 * manual/filesys.texi: Likewise.
144 * manual/lang.texi: Likewise.
145 * manual/llio.texi: Likewise.
146 * manual/locale.texi: Likewise.
147 * manual/message.texi: Likewise.
148 * manual/resource.texi: Likewise.
149 * manual/search.texi: Likewise.
150 * manual/setjmp.texi: Likewise.
151 * manual/stdio.texi: Likewise.
152 * manual/string.texi: Likewise.
153 * manual/sysinfo.texi: Likewise.
154 * manual/time.texi: Likewise.
156 2013-12-27 Carlos O'Donell <carlos@redhat.com>
158 * po/sl.po: New file.
160 2013-12-27 Mike Frysinger <vapier@gentoo.org>
162 * .gitignore: Add core/.gdbinit/.gdb_history.
164 2013-12-27 Allan McRae <allan@archlinux.org>
167 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
168 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
170 2013-12-24 Brooks Moses <bmoses@google.com>
172 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
173 all compilers that claim C++98 compliance, not just GCC.
174 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
177 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
179 * NEWS: Restore accidentally deleted bug-fix entries.
181 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
182 Ondřej Bílka <neleai@seznam.cz>
185 * malloc/malloc.c (_int_free): Perform sanity check only if we
188 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
191 * manual/stdio.texi (String Input Conversions): Clarify that character
192 classes are not supported.
194 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
198 2013-12-22 Joseph Myers <joseph@codesourcery.com>
201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
202 Calculate results for small negative arguments directly rather
203 than using reflection formula with special underflow handling.
205 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
206 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
207 sysdeps/unix/bsd/bsd4.4/syscalls.list.
208 (fchflags): Likewise.
210 (setlogin): Likewise.
211 (sigaltstack): Likewise.
214 (sigsetmask): Likewise.
217 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
218 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
220 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
221 * sysdeps/unix/bsd/Makefile: ... here.
222 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
223 * sysdeps/unix/bsd/Versions: ... here.
224 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
225 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
226 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
227 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
228 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
229 * sysdeps/unix/bsd/sigblock.c: ... here.
230 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
231 * sysdeps/unix/bsd/sigsetmask.c: ... here.
232 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
233 * sysdeps/unix/bsd/sigvec.c: ... here.
234 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
235 * sysdeps/unix/bsd/tcdrain.c: ... here.
236 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
237 * sysdeps/unix/bsd/tcgetattr.c: ... here.
238 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
239 * sysdeps/unix/bsd/tcsetattr.c: ... here.
240 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
241 * sysdeps/unix/bsd/wait.c: ... here.
242 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
243 * sysdeps/unix/bsd/wait3.c: ... here.
244 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
245 * sysdeps/unix/bsd/waitpid.c: ... here.
247 2013-12-21 Joseph Myers <joseph@codesourcery.com>
250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
251 round-to-nearest for [!USE_AS_EXPM1L].
252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
253 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
254 more tests of exp and exp10. Expect some exp10 tests to miss
255 exceptions or fail in directed rounding modes.
256 * math/auto-libm-test-out: Regenerated.
257 * math/libm-test.inc (exp10_tonearest_test_data): New array.
258 (exp10_test_tonearest): New function.
259 (exp10_towardzero_test_data): New array.
260 (exp10_test_towardzero): New function.
261 (exp10_downward_test_data): New array.
262 (exp10_test_downward): New function.
263 (exp10_upward_test_data): New array.
264 (exp10_test_upward): New function.
265 (main): Call the new functions.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
269 2013-12-20 Joseph Myers <joseph@codesourcery.com>
271 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
272 asinh, atan, atan2, atanh, cbrt, cos and cosh.
273 * math/auto-libm-test-out: Regenerated.
274 * math/libm-test.inc (acosh_test_data): Add more tests.
275 (atanh_test_data): Likewise.
276 (ceil_test_data): Likewise.
277 (copysign_test_data): Likewise.
278 * sysdeps/i386/fpu/libm-test-ulps: Update.
279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281 * timezone/checktab.awk: Update from tzcode 2013i.
282 * timezone/private.h: Likewise.
283 * timezone/scheck.c: Likewise.
284 * timezone/tzfile.h: Likewise.
285 * timezone/tzselect.ksh: Likewise.
286 * timezone/zdump.c: Likewise.
287 * timezone/zic.c: Likewise.
289 * math/auto-libm-test-in: Add tests of cpow.
290 * math/auto-libm-test-out: Regenerated.
291 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
292 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
294 (func_calc_desc): Add mpc_cc_c union field.
295 (test_functions): Add cpow.
296 (special_fill_2pi): New function.
297 (special_real_inputs): Add 2pi.
298 (calc_generic_results): Handle mpc_cc_c.
299 * sysdeps/i386/fpu/libm-test-ulps: Update.
300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
302 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
303 csqrt, ctan and ctanh.
304 * math/auto-libm-test-out: Regenerated.
305 * math/libm-test.inc (TEST_COND_x86_64): New macro.
306 (TEST_COND_x86): Likewise.
307 (ccos_test_data): Use AUTO_TESTS_c_c.
308 (ccosh_test_data): Likewise.
309 (cexp_test_data): Likewise.
310 (clog_test_data): Likewise.
311 (csqrt_test_data): Likewise.
312 (ctan_test_data): Likewise.
313 (ctan_tonearest_test_data): Likewise.
314 (ctan_towardzero_test_data): Likewise.
315 (ctan_downward_test_data): Likewise.
316 (ctan_upward_test_data): Likewise.
317 (ctanh_test_data): Likewise.
318 (ctanh_tonearest_test_data): Likewise.
319 (ctanh_towardzero_test_data): Likewise.
320 (ctanh_downward_test_data): Likewise.
321 (ctanh_upward_test_data): Likewise.
322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
324 (func_calc_desc): Add mpc_c_c union field.
325 (FUNC_mpc_c_c): New macro.
326 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
327 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
329 (special_fill_min_subnorm_p120): New function.
330 (special_real_inputs): Add min_subnorm_p120.
331 (calc_generic_results): Handle mpc_c_c.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
335 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
337 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
338 do_sin_slow): New functions.
339 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
340 cslow2, csloww1, csloww2): Use the new functions.
342 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
343 Use M to change sign of result instead of X. Assume X is
349 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
356 (sloww1): Don't adjust sign of DX.
358 (sloww2): Use X directly and don't adjust sign of DX.
361 2013-12-19 Joseph Myers <joseph@codesourcery.com>
363 * math/auto-libm-test-in: Add tests of cabs and carg.
364 * math/auto-libm-test-out: Regenerated.
365 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
366 (carg_test_data): Likewise.
367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
369 (func_calc_desc): Add mpc_c_f union field.
370 (test_functions): Add cabs and carg.
371 (calc_generic_results): Handle mpc_c_f.
373 * sysdeps/powerpc/powerpc32/libgcc-compat.S
374 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
375 as a macro and a compat symbol.
376 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
377 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
378 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
379 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
380 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
385 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
387 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
389 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
393 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
394 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
397 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
401 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
403 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
404 (__signal_safe_memalign, __signal_safe_free): Use it.
405 (__signal_safe_realloc): Likewise.
407 2013-12-19 Joseph Myers <joseph@codesourcery.com>
409 * manual/texinfo.tex: Update to version 2013-11-26.10 with
410 trailing whitespace removed.
411 * scripts/config.guess: Update to version 2013-11-29.
412 * scripts/config.sub: Update to version 2013-10-01.
414 * math/auto-libm-test-in: Add tests of sincos.
415 * math/auto-libm-test-out: Regenerated.
416 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
419 (func_calc_desc): Add mpfr_f_11 union field.
420 (test_functions): Add sincos.
421 (calc_generic_results): Handle mpfr_f_11.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425 2013-12-19 Andreas Schwab <schwab@suse.de>
427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
431 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
433 2013-12-19 Joseph Myers <joseph@codesourcery.com>
435 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
436 * sysdeps/i386/fpu/libm-test-ulps: Update.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
441 round-to-nearest mode when using frndint.
442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
443 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
446 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
448 * math/auto-libm-test-out: Regenerated.
449 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
450 (TEST_COND_x86): Likewise.
451 (expm1_tonearest_test_data): New array.
452 (expm1_test_tonearest): New function.
453 (expm1_towardzero_test_data): New array.
454 (expm1_test_towardzero): New function.
455 (expm1_downward_test_data): New array.
456 (expm1_test_downward): New function.
457 (expm1_upward_test_data): New array.
458 (expm1_test_upward): New function.
459 (main): Run the new test functions.
460 * sysdeps/i386/fpu/libm-test-ulps: Update.
461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463 * include/features.h: Update comment documenting feature test
464 macros. Mention _DEFAULT_SOURCE in comment.
465 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
466 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
467 _BSD_SOURCE and _SVID_SOURCE.
468 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
469 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
470 !_SVID_SOURCE]: Likewise.
471 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
472 (__USE_POSIX_IMPLICITLY): Define.
473 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
474 (_POSIX_SOURCE): Undefine and redefine.
475 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
476 (_POSIX_C_SOURCE): Likewise.
477 * manual/creature.texi (_DEFAULT_SOURCE): Document.
478 (Feature Test Macros): Update documentation of default features.
480 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
482 * benchtests/Makefile: Add bench-strtok.
483 * benchtests/bench-strtok.c: New file: strtok benchtest.
485 2013-12-19 Allan McRae <allan@archlinux.org>
487 * manual/install.texi: Suppress menu for plain text output.
488 * INSTALL: Regenerated.
490 2013-12-18 Andrew Hunter <ahh@google.com>
492 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
493 (__signal_safe_malloc, __signal_safe_free): Likewise.
494 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
495 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
496 (__signal_safe_memalign, __signal_safe_malloc): New function.
497 (__signal_safe_free, __signal_safe_realloc): Likewise.
498 (__signal_safe_calloc): Likewise.
499 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
501 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
503 2013-12-18 Andrew Hunter <ahh@google.com>
505 * elf/Versions (ld): Add _dl_clear_dtv.
506 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
507 * elf/dl-tls.c (_dl_clear_dtv): New function.
508 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
510 2013-12-18 Andrew Hunter <ahh@google.com>
512 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
513 (_dl_unmask_signals): Likewise.
514 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
515 (_dl_unmask_all_signals): Likewise.
516 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
517 (_dl_unmask_all_signals): Likewise.
518 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
519 (_dl_unmask_signals): Likewise.
521 2013-12-18 Brooks Moses <bmoses@google.com>
524 * misc/getauxval.c: Include errno.h.
525 (__getauxval): Set errno to ENOENT if the requested type is not
527 * misc/sys/auxv.h (getauxval): Document that it may set errno;
528 don't declare with __attribute_const__.
529 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
530 * manual/startup.texi: Document that getauxval sets errno.
532 2013-12-18 Joseph Myers <joseph@codesourcery.com>
534 * math/auto-libm-test-in: Add tests of jn and yn.
535 * math/auto-libm-test-out: Regenerated.
536 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
537 (yn_test_data): Likewise.
538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
540 (func_calc_desc): Add mpfr_if_f union field.
541 (FUNC_mpfr_if_f): New macro.
542 (test_functions): Add jn and yn.
543 (calc_generic_results): Assert type of second input for
544 mpfr_ff_f. Handle mpfr_if_f.
545 (output_for_one_input_case): Disable all checking for arguments
546 fitting floating-point types in case of an integer argument.
547 * sysdeps/i386/fpu/libm-test-ulps: Update.
548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
551 Don't expect fegetround reference in libm.so.
553 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
555 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
556 $(config-cflags-nofma).
558 2013-12-18 Joseph Myers <joseph@codesourcery.com>
560 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
561 * math/auto-libm-test-out: Regenerated.
564 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
565 to determine exponent and adjust argument to have exponent of -1.
566 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
568 * math/auto-libm-test-out: Regenerated.
569 * sysdeps/i386/fpu/libm-test-ulps: Update.
570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
572 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
574 * manual/probes.texi: Remove cases when per-thread arenas are
577 2013-12-18 Andreas Schwab <schwab@suse.de>
579 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
580 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
581 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
582 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
583 * sysdeps/i386/i686/multiarch/Makefile: Update.
584 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
586 2013-12-17 Joseph Myers <joseph@codesourcery.com>
588 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
589 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
591 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
593 Support TZ transition times < 00:00:00.
594 This is needed for version-3 tz-format files; it supports time
595 stamps past 2037 for America/Godthab (the only entry in the tz
596 database for which this change is relevant).
597 * manual/time.texi (TZ Variable): Document transition times
598 from -167:59:59 through -00:00:01.
599 * time/tzset.c (tz_rule): Time of day is now signed.
600 (__tzset_parse_tz): Parse negative time of day.
602 Document TZ transition times >= 25:00:00.
603 * manual/time.texi (TZ Variable): Document transition times from
604 25:00:00 through 167:59:59. These are already supported, and this
605 support will help with version-3 tz-format files.
607 * manual/time.texi (TZ Variable): Modernize North America example
608 to reflect current (i.e., 2007-and-later) daylight saving rules.
610 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
612 2013-12-17 Joseph Myers <joseph@codesourcery.com>
614 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
615 * sysdeps/unix/bsd/bits/stat.h: Likewise.
616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
618 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
619 * sysdeps/unix/bsd/bsdstat.h: Likewise.
620 * sysdeps/unix/bsd/clock.c: Likewise.
621 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
622 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
623 * sysdeps/unix/bsd/init-posix.c: Likewise.
624 * sysdeps/unix/bsd/poll.c: Likewise.
625 * sysdeps/unix/bsd/ptsname.c: Likewise.
626 * sysdeps/unix/bsd/seekdir.c: Likewise.
627 * sysdeps/unix/bsd/setegid.c: Likewise.
628 * sysdeps/unix/bsd/seteuid.c: Likewise.
629 * sysdeps/unix/bsd/setgid.c: Likewise.
630 * sysdeps/unix/bsd/setrgid.c: Likewise.
631 * sysdeps/unix/bsd/setruid.c: Likewise.
632 * sysdeps/unix/bsd/setsid.c: Likewise.
633 * sysdeps/unix/bsd/setuid.c: Likewise.
634 * sysdeps/unix/bsd/sigaction.c: Likewise.
635 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
636 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
637 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
638 * sysdeps/unix/bsd/telldir.c: Likewise.
639 * sysdeps/unix/bsd/times.c: Likewise.
640 * sysdeps/unix/bsd/usleep.c: Likewise.
642 * misc/Makefile (install-lib): Remove libbsd-compat.a.
643 ($(objpfx)libbsd-compat.a): Remove rule.
645 * include/features.h (__FAVOR_BSD): Do not define.
646 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
647 features conflicting with POSIX.
648 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
649 (_BSD_SOURCE): Remove description of not being a subset of other
651 * manual/job.texi (getpgrp): Do not document BSD version.
652 (getpgid): Do not document by reference to BSD getpgrp.
653 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
654 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
655 * signal/signal.h [__FAVOR_BSD]: Likewise.
656 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
657 instead of making contents conditional on [__FAVOR_BSD].
658 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
660 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
664 2013-12-17 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
668 values below 2**-450, not 2**-500.
669 * math/auto-libm-test-in: Don't allow spurious underflow from
671 * math/auto-libm-test-out: Regenerated.
675 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
676 values of ha and hb and sort them after adjusting subnormal
678 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
680 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
681 values of ea and eb and sort them after adjusting subnormal
683 * math/auto-libm-test-in: Do not expect some hypot tests of
684 subnormals to fail. Add more hypot tests.
685 * math/auto-libm-test-out: Regenerated.
687 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
690 * sysdeps/sh/s_fma.c: New file.
691 * sysdeps/sh/s_fmaf.c: New file.
692 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
694 * sysdeps/sh/Implies: Add sh/soft-fp.
696 2013-12-16 Roland McGrath <roland@hack.frob.com>
698 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
699 level of indirection to members `objname', `errstring', `malloced'.
700 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
701 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
702 it as the __longjmp argument (just pass 1 instead).
703 (_dl_catch_error): Initialize C with argument pointers and address of
704 volatile local ERRCODE rather than copying values out of C at return.
706 2013-12-16 Joseph Myers <joseph@codesourcery.com>
708 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
709 * math/auto-libm-test-out: Regenerated.
710 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
711 (hypot_test_data): Likewise.
712 (pow_test_data): Likewise.
713 (pow_tonearest_test_data): Likewise.
714 * math/gen-auto-libm-tests.c (func_calc_method): Add value
716 (func_calc_desc): Add mpfr_ff_f union field.
717 (FUNC_mpfr_ff_f): New macro.
718 (test_functions): Add atan2, hypot and pow.
719 (special_fill_min): New function.
720 (special_fill_minus_min): Likewise.
721 (special_fill_min_subnorm): Likewise.
722 (special_fill_minus_min_subnorm): Likewise.
723 (special_real_inputs): Add min, -min, min_subnorm and
725 (calc_generic_results): Handle mpfr_ff_f.
726 * sysdeps/i386/fpu/libm-test-ulps: Update.
727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729 2013-12-16 Will Newton <will.newton@linaro.org>
731 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
732 (Aligned Memory Blocks): Add documentation for aligned_alloc
733 and suggest it as an alternative to posix_memalign.
734 (Hooks for Malloc): Document __memalign_hook is also called
735 for aligned_alloc. (Summary of Malloc): Add summary for
736 aligned alloc. Document __memalign_hook is also called
739 2013-12-16 Will Newton <will.newton@linaro.org>
741 * manual/memory.texi (Malloc Examples): Clarify default
742 alignment documentation. Suggest posix_memalign rather
743 than memalign or valloc.
744 (Aligned Memory Blocks): Remove suggestion to use memalign
745 or valloc. Remove obsolete comment about BSD.
746 Document memalign errno values and mark the function obsolete.
747 Document posix_memalign returned error codes. Mark valloc
748 as obsolete. (Hooks for Malloc): __memalign_hook is also
749 called for posix_memalign and valloc.
750 (Summary of Malloc): Add posix_memalign to function summary.
751 __memalign_hook is also called for posix_memalign and valloc.
753 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
755 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
759 (sloww): Use mynumber union. Expand ternary operator into
761 (cslow): use mynumber union.
763 2013-12-16 Allan McRae <allan@archlinux.org>
765 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
766 * configure: Regenerated.
768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
771 * configure.ac: Added --enable-maintainer-mode. Check for
772 autoconf when enabled.
773 * configure: Regenerated.
775 * nscd/nscd.service: New file.
776 * nscd/nscd.tmpfiles: New file.
778 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
781 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
782 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
783 * sysdeps/x86_64/multiarch/strstr.c: ... here.
784 (strstr): Add __strstr_sse2_unaligned ifunc.
785 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
786 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
787 (strcasestr): Remove __strcasestr_sse42 ifunc.
788 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
792 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
794 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
795 * sysdeps/sh/bits/fenv.h: ... here.
796 * sysdeps/sh/sh4/fpu/bits: Remove directory.
798 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
805 hypotf multiarch implementations.
806 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
807 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
809 multiarch hypot for PPC64.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
813 multiarch hypotf for PPC64.
815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
818 modff multiarch implementations.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
822 multiarch modf for PPC64.
823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
826 multiarch modff for PPC64.
828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
831 and logl multiarch implementations.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
835 multiarch logb for PPC64.
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
839 multiarch logb for PPC64.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
843 multiarch logb for PPC64.
845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
848 isinff multiarch implementation.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
853 multiarch isinf for PPC64.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
857 multiarch isinff for PPC64.
859 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
862 finitef multiarch implementation.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
867 multiarch finite for PPC64.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
871 multiarch finitef for PPC64.
873 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
876 lrint multiarch implementation.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
881 multiarch llrint for PPC64.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
883 multiarch lrint for PPC64.
885 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
888 copysignf multiarch implementation.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
894 multiarch copysign for PPC64.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
896 multiarch copysignf for PPC64.
898 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
901 multiarch implementation.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
910 multiarch llround for PPC64.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
912 multiarch trunc for PPC64.
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
914 multiarch truncf for PPC64.
916 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
919 multiarch implementation.
920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
928 multiarch llround for PPC64.
929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
930 multiarch round for PPC64.
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
932 multiarch roundf for PPC64.
934 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
937 multiarch implementation.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
946 multiarch llround for PPC64.
947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
948 multiarch floor for PPC64.
949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
950 multiarch floorf for PPC64.
952 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
955 multiarch implementation.
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
964 multiarch llround for PPC64.
965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
966 multiarch ceil for PPC64.
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
968 multiarch ceilf for PPC64.
970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
973 multiarch implementation.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
981 multiarch llround for PPC64.
982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
983 multiarch lround for PPC64.
985 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
988 multiarch implementation.
989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
996 multiarch isnan for PPC64.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
998 multiarch isnanf for PPC64.
1000 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1003 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1004 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1005 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1006 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1009 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1019 multiarch implementations.
1020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1021 (__libc_ifunc_impl_list): Likewise.
1022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1023 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1024 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1025 multiarch stpcpy for PPC64.
1027 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1030 multiarch implementations.
1031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1032 (__libc_ifunc_impl_list): Likewise.
1033 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1034 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1036 multiarch strcpy for PPC64.
1038 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1041 redefine function name.
1042 (_wordcopy_fwd_dest_aligned): Likewise.
1043 (_wordcopy_bwd_aligned): Likewise.
1044 (_wordcopy_bwd_dest_aligned): Likewise.
1045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1046 multiarch implementations.
1047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1048 (__libc_ifunc_impl_list): Likewise.
1049 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1050 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1053 multiarch wcscpy for PPC64.
1055 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1058 multiarch implementations.
1059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1060 (__libc_ifunc_impl_list): Likewise.
1061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1065 multiarch wcscpy for PPC64.
1067 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1070 multiarch implementations.
1071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1072 (__libc_ifunc_impl_list): Likewise.
1073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1076 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1077 multiarch wcsrchr for PPC64.
1079 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1082 multiarch implementations.
1083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1084 (__libc_ifunc_impl_list): Likewise.
1085 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1086 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1087 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1088 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1089 multiarch wcschr for PPC64.
1091 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1094 multiarch implementations.
1095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1096 (__libc_ifunc_impl_list): Likewise.
1097 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1098 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1100 multiarch strchrnul for PPC64.
1102 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1107 (__libc_ifunc_impl_list): Likewise.
1108 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1110 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1114 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1119 (__libc_ifunc_impl_list): Likewise.
1120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1122 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1123 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1129 multiarch implementations.
1130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1131 (__libc_ifunc_impl_list): Likewise.
1132 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1134 strncasecmp for PPC64.
1135 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1136 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1137 multiarch strncasecmp_l for PPC64.
1139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1142 multiarch implementations.
1143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1144 (__libc_ifunc_impl_list): Likewise.
1145 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1147 multiarch strcasecmp for PPC64.
1148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1150 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1151 multiarch strcasecmp_l for PPC64.
1153 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1158 (__libc_ifunc_impl_list): Likewise.
1159 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1160 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1161 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1164 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1169 (__libc_ifunc_impl_list): Likewise.
1170 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1171 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1172 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1175 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1180 (__libc_ifunc_impl_list): Likewise.
1181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1182 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1183 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1184 rawmemrchr for PPC64.
1186 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1191 (__libc_ifunc_impl_list): Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1193 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1197 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1202 (__libc_ifunc_impl_list): Likewise.
1203 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1204 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1205 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1208 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1213 (__libc_ifunc_impl_list): Likewise.
1214 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1215 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1216 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1221 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1222 avoid cretion of __bzero symbol.
1223 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1225 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1227 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1230 multiarch implementations.
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1232 (__libc_ifunc_impl_list): Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1234 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1235 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1236 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1238 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1239 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1240 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1241 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1242 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1244 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1246 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1248 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1252 (__libc_ifunc_impl_list): Likewise.
1253 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1254 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1255 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1256 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1259 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1262 multiarch for POWER/PPC64.
1263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1270 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1271 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1274 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1277 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1278 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1279 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1280 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1281 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1283 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1284 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1285 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1286 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1287 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1288 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1289 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1290 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1299 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1301 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1303 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1305 * benchtests/Makefile (bench): Add exp2 and log2.
1306 (LDLIBS-bench-exp2): Add -lm.
1307 (LDLIBS-bench-log2): Likewise.
1308 * benchtests/exp2-inputs: New inputs file.
1309 * benchtests/log2-inputs: New inputs file.
1310 * benchtests/log-inputs: Add new inputs.
1311 * benchtests/tan-inputs: Likewise.
1313 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1315 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1317 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1318 csloww1, csloww2): ... from here.
1320 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1321 instead of structures.
1322 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1323 (POLYNOMIAL): Likewise.
1324 (TAYLOR_SLOW): Likewise.
1332 (bsloww1): Likewise.
1333 (bsloww2): Likewise.
1336 (csloww1): Likewise.
1337 (csloww2): Likewise.
1339 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1341 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1342 (__malloc_assert, __libc_realloc, __libc_calloc,
1343 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1345 * malloc/hooks.c (realloc_check): Likewise.
1347 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1349 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1350 * malloc/arena.c: Remove PER_THREAD conditional.
1351 [!PER_THREAD]: Remove code.
1352 (ptmalloc_unlock_all2): Likewise.
1353 (ptmalloc_init): Likewise.
1354 (_int_new_arena): Likewise.
1355 (arena_get2): Likewise.
1356 * malloc/hooks.c (__malloc_get_state): Likewise.
1357 (__malloc_set_state): Likewise.
1358 * malloc/malloc.c: Likewise.
1359 (struct malloc_state): Likewise.
1360 (struct malloc_par): Likewise.
1361 (__libc_realloc): Likewise.
1362 (__libc_mallopt): Likewise.
1364 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1368 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1370 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1371 macro to a function. Check for zero perturb_byte.
1372 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1374 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1376 * malloc/malloc.c: (force_reg): Remove.
1377 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1378 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1379 force_reg by atomic_forced_read.
1380 * malloc/arena.c (ptmalloc_init): Likewise.
1381 * malloc/hooks.c (top_check): Likewise.
1383 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1387 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1391 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1393 * math/auto-libm-test-in: Add tests of lgamma.
1394 * math/auto-libm-test-out: Regenerated.
1395 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1396 (M_LOG_2_SQRT_PIl): Likewise.
1397 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1400 (func_calc_desc): Add mpfr_f_f1 union field.
1409 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1410 (test_functions): Add lgamma.
1411 (calc_generic_results): Handle mpfr_f_f1.
1412 * sysdeps/i386/fpu/libm-test-ulps: Update.
1413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1418 __mpn_add_n for PowerPC64/POWER7.
1419 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1420 __mpn_sub_n for PowerPC64/POWER7.
1422 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1424 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1425 __mpn_addmul_1 for PowerPC64.
1426 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1427 __mpn_submul_1 for PowerPC64.
1428 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1430 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1433 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1436 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1438 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1440 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1442 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1445 add multiarch folders.
1446 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1447 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1448 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1449 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1450 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1451 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1452 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1453 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1454 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1455 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1456 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1464 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1467 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1473 multiarch __ieee754_hypot for PowerPC32.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1479 multiarch __ieee754_hypotf for PowerPC32.
1481 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1484 long_double_symbol only if __logbl is defined.
1485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1486 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1488 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1490 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1492 path for implementation.
1493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1496 logb, and logbl multiarch implementations for PowerPC32.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1502 multiarch logb for PowerPC32.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1508 multiarch logbf for PowerPC32.
1509 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1513 multiarch logbl implementation for PowerPC32.
1515 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1518 and modff multiarch implementations.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1524 multiarch modf for PowerPC32.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1530 multiarch modff for PowerPC32.
1532 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1535 and lrintf multiarch implementations.
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1541 multiarch lrint for PowerPC32.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1543 file: multiarch lrintf for PowerPC32.
1545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1548 and lroundf multiarch implementations.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1556 multiarch lround for PowerPC32.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1558 file: multiarch lroundf for PowerPC32.
1560 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1563 copysign and copysignf multiarch implementations.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1569 file: multiarch copysign for PowerPC32.
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1571 file: multiarch copysignf for PowerPC32.
1573 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1576 and truncf multiarch implementations.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1582 multiarch trunc for PowerPC32.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1588 multiarch truncf for PowerPC32.
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1593 and roundf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1599 multiarch round for PowerPC32.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1605 multiarch roundf for PowerPC32.
1607 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1610 and floorf multiarch implementations.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1616 multiarch floor for PowerPC32.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1622 multiarch floorf for PowerPC32.
1624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1627 and ceilf multiarch implementations.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1633 multiarch ceil for PowerPC32.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1639 multiarch ceilf for PowerPC32.
1641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1645 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1648 and finitef multiarch implementations.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1654 multiarch finite for PowerPC32.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1658 file: multiarch finitef for PowerPC32.
1660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1663 and isinff multiarch implementations.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1669 multiarch isinf for PowerPC32.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1673 multiarch isinff for PowerPC32.
1675 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1678 alias when __isnan is defined.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1680 and isnanf multiarch implementations.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1690 multiarch isnan for PowerPC32.
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1696 multiarch isnanf for PowerPC32.
1698 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1701 and sqrtf multiarch implementations.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1707 multiarch sqrt for PowerPC32.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1713 multiarch sqrtf for PowerPC32.
1715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1718 and llroundf multiarch implementations.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1726 file: multiarch llround for PowerPC32.
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1728 file: multiarch llroundf for PowerPC32.
1730 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1733 multiarch PowerPC32 fpu implementations.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1739 multiarch llrint for PowerPC32.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1751 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1760 multiarch wordcopy for PPC32.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1764 (__libc_ifunc_impl_list): Likewise.
1765 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1766 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1768 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1770 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1782 multiarch wcscpy for PPC32.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1786 (__libc_ifunc_impl_list): Likewise.
1787 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1788 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1789 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1790 sysdeps/powerpc/power6/wcscpy.c.
1792 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1802 multiarch wcsrchr for PPC32.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1806 (__libc_ifunc_impl_list): Likewise.
1807 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1808 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1809 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1810 sysdeps/powerpc/power6/wcsrchr.c.
1812 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1820 multiarch wcschr for PPc32.
1821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1824 (__libc_ifunc_impl_list): Likewise.
1825 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1826 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1827 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1828 sysdeps/powerpc/power6/wcschr.c.
1830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1836 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1837 file: multiarch strchr for PPC32.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1841 (__libc_ifunc_impl_list): Likewise.
1843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1845 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1847 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1852 multiarch strchrnul for PPC32.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1856 (__libc_ifunc_impl_list): Likewise.
1858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1863 multiarch strncasecmp for PPC32.
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1867 multiarch strncasecmp_l for PPC32.
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1869 strncasecmp multiarch objects.
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1871 (__libc_ifunc_impl_list): Likewise.
1873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1878 multiarch strncasecmp for PPC32.
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1882 multiarch strcasecmp_l for PPC32.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1886 (__libc_ifunc_impl_list): Likewise.
1888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1895 multiarch strncmp for PPC32.
1896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1899 (__libc_ifunc_impl_list): Likewise.
1901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1904 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1911 (__libc_ifunc_impl_list): Likewise.
1913 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1923 (__libc_ifunc_impl_list): Likewise.
1925 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1932 multiarch rawmemchr for PPC32.
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1936 (__libc_ifunc_impl_list): Likewise.
1938 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1944 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1945 file: memrchr multiarch for PPC32.
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1949 (__libc_ifunc_impl_list): Likewise.
1951 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1958 multiarch memchr for PPC32.
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1962 (__libc_ifunc_impl_list): Likewise.
1964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1969 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1971 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1972 file: multiarch mempcpy for PPC32.
1973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1976 (__libc_ifunc_impl_list): Likewise.
1978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1983 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1984 multiarch bzero for PPC32.
1985 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1990 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1991 file: multiarch memset for PPC32.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1994 memset multiarch objects.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1996 (__libc_ifunc_impl_list): Likewise.
1998 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2009 (__libc_ifunc_impl_list): Likewise.
2011 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2022 multiarch memcpy for PPC32.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Likewise.
2028 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2031 support multiarch for POWER/PPC32.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2036 Implies file to make multiarch folder appers before the fpu and
2037 default folder for power4 configuration.
2039 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2041 * scripts/bench.pl: Append volatile keyword to type.
2043 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2045 * sysdeps/sh/sotruss-lib.c: New file.
2046 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2048 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2052 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2055 * math/w_tgamma.c: Include <errno.h>.
2056 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2057 * math/w_tgammaf.c: Include <errno.h>.
2058 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2059 * math/w_tgammal.c: Include <errno.h>.
2060 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2061 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2062 underflow. Add more tgamma tests.
2063 * math/auto-libm-test-out: Regenerated.
2064 * sysdeps/i386/fpu/libm-test-ulps: Update.
2065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2067 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2068 sin, sinh, tan, tanh, tgamma, y0 and y1.
2069 * math/auto-libm-test-out: Regenerated.
2070 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2071 (TEST_COND_x86): Likewise.
2072 (M_E2l): Remove macro.
2074 (M_2_SQRT_PIl): Likewise.
2075 (M_SQRT_PIl): Likewise.
2076 (M_1_DIV_El): Likewise.
2077 (log_test_data): Use AUTO_TESTS_f_f.
2078 (log10_test_data): Likewise.
2079 (log1p_test_data): Likewise.
2080 (log2_test_data): Likewise.
2081 (sin_test_data): Likewise.
2082 (sin_tonearest_test_data): Likewise.
2083 (sin_towardzero_test_data): Likewise.
2084 (sin_downward_test_data): Likewise.
2085 (sin_upward_test_data): Likewise.
2086 (sinh_test_data): Likewise.
2087 (sinh_tonearest_test_data): Likewise.
2088 (sinh_towardzero_test_data): Likewise.
2089 (sinh_downward_test_data): Likewise.
2090 (sinh_upward_test_data): Likewise.
2091 (tan_test_data): Likewise.
2092 (tan_tonearest_test_data): Likewise.
2093 (tan_towardzero_test_data): Likewise.
2094 (tan_downward_test_data): Likewise.
2095 (tan_upward_test_data): Likewise.
2096 (tanh_test_data): Likewise.
2097 (tgamma_test_data): Likewise.
2098 (y0_test_data): Likewise.
2099 (y1_test_data): Likewise.
2100 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2101 (special_real_inputs): Add pi/4.
2102 * sysdeps/i386/fpu/libm-test-ulps: Update.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2105 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2108 "longjmp_target" static probes.
2109 (__longjmp): Rename to __longjmp_symbol.
2110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2111 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2112 on which longjmp to generate.
2113 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2114 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2116 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2117 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2118 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2119 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2120 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2121 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2123 __longjmp_symbol based on which __longjmp to generate.
2124 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2126 (setjmp): Rename to setjmp_symbol.
2127 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2128 (_setjmp): Rename to _setjmp_symbol.
2129 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2130 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2131 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2132 which setjmp to generate.
2133 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2134 "longjmp_target" static probes.
2136 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2138 * benchtests/README: Add note about output arguments.
2139 * benchtests/bench-sincos.c: Remove file.
2140 * benchtests/sincos-inputs: New file.
2141 * scripts/bench.pl: Identify output arguments and define
2142 static variables for them.
2144 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2147 * Makefile (INSTALL): Add install-plain.texi as the primary
2149 * manual/install-plain.texi: New file.
2150 * manual/install.texi: Include node directive only for
2151 non-plaintext output.
2153 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2155 * stdlib/longlong.h: Update from GCC.
2159 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2160 * math/w_j0f.c (y0f): Likewise.
2161 * math/w_j0l.c (__y0l): Likewise.
2162 * math/w_j1.c (y1): Likewise.
2163 * math/w_j1f.c (y1f): Likewise.
2164 * math/w_j1l.c (__y1l): Likewise
2165 * math/w_jn.c (yn): Likewise.
2166 * math/w_jnf.c (ynf): Likewise.
2167 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2168 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2169 value for Bessel function domain errors outside _SVID_ mode.
2170 Adjust sign of return value for yn (negative integer, 0).
2171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2172 by zero in return for negative x and set sign appropriately for
2174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2176 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2177 expectations in error cases.
2178 (y1_test_data): Likewise.
2179 (yn_test_data): Likewise.
2180 * sysdeps/i386/fpu/libm-test-ulps: Update.
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2185 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2186 "64" to "64-v1". Add "64-v2".
2187 (abi-64-options): Rename to ...
2188 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2189 (abi-64-condition): Rename to ...
2190 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2191 (abi-64-ld-soname): Rename to ...
2192 (abi-64-v1-ld-soname): ... this.
2193 (abi-64-v2-options): Define.
2194 (abi-64-v2-condition): Likewise.
2195 (abi-64-v2-ld-soname): Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2197 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2202 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2203 Alan Modra <amodra@gmail.com>
2205 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2206 New versions for use with the ELFv2 ABI.
2207 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2208 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2210 (struct La_ppc64v2_retval): Likewise.
2211 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2212 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2213 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2214 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2215 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2217 Do not save or restore CR.
2218 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2219 (_dl_profile_resolve): Do no save or restore CR. Support extended
2220 return values for ELFv2 ABI. Fix location of FPR return registers.
2221 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2222 updated values for _CALL_ELF == 2.
2223 (La_regs, La_retval, int_retval): Likewise.
2225 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2227 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2228 (FRAME_MIN_SIZE_PARM): Likewise.
2229 (FRAME_BACKCHAIN): Likewise.
2230 (FRAME_CR_SAVE): Likewise.
2231 (FRAME_LR_SAVE): Likewise.
2232 (FRAME_TOC_SAVE): Likewise.
2233 (FRAME_PARM_SAVE): Likewise.
2234 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2235 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2236 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2237 (call_mcount_parm_offset): New macro.
2238 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2239 (PROF): Use symbolic stack frame offsets.
2240 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2241 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2242 Redefine in terms of FRAME_MIN_SIZE.
2243 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2244 (_dl_profile_resolve): Likewise. Update comment.
2245 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2246 symbols stack frame offsets.
2247 (__sigsetjmp): Likewise.
2248 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2249 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2250 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2251 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2254 (FRAME_BACKCHAIN): Remove.
2255 (FRAME_CR_SAVE): Likewise.
2256 (FRAME_LR_SAVE): Likewise.
2257 (FRAME_COMPILER_DW): Likewise.
2258 (FRAME_LINKER_DW): Likewise.
2259 (FRAME_TOC_SAVE): Likewise.
2260 (FRAME_PARM_SAVE): Likewise.
2261 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2262 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2263 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2265 (CHECK_SP): Use symbolic stack frame offsets.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2267 zone" instead of caller's parameter save area for temp storage.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2269 Likewise. Also, use symbolic stack frame offsets.
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2271 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2272 our own stack frame instead of the caller's.
2273 (__socket): Use symbolic stack frame offsets.
2275 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2276 Alan Modra <amodra@gmail.com>
2278 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2280 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2281 PPC64_LOCAL_ENTRY_OFFSET): Define.
2282 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2284 (elf_machine_fixup_plt): Call it.
2285 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2287 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2289 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2290 r2 before calling target.
2292 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2293 Alan Modra <amodra@gmail.com>
2295 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2296 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2297 versions of macros to support ELFv2 ABI.
2298 (LOCALENTRY): New macro.
2299 (ENTRY, EALIGN): Use it.
2300 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2301 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2302 fall through into ENTRY entry point.
2303 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2304 Only define if _CALL_ELF != 2.
2306 (elf_machine_matches_host): Verify ABI version matches.
2307 (RTLD_START): Use LOCALENTRY.
2308 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2309 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2310 (PLT_ENTRY_WORDS): New macro.
2311 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2312 (elf_machine_runtime_setup): Support ELFv2 ABI.
2313 (elf_machine_fixup_plt): Likewise.
2314 (elf_machine_plt_conflict): Likewise.
2315 (resolve_ifunc): Likewise.
2316 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2320 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2322 (makecontext): Support ELFv2 ABI.
2323 * elf/elf.h (EF_PPC64_ABI): Define.
2325 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2327 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2328 New assembler macro.
2329 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2330 [ASSEMBLER] (ENTRY): ... but instead here ...
2331 [ASSEMBLER] (EALIGN): ... and here.
2332 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2333 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2334 [!ASSEMBLER] (ENTRY_2): Use it.
2335 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2336 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2338 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2339 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2341 Use PPC64_LOAD_FUNCPTR.
2343 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2345 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2347 2013-12-04 Alan Modra <amodra@gmail.com>
2349 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2350 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2351 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2352 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2355 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2356 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2357 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2358 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2359 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2361 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2364 (__makecontext): Fix incorrect CFI when backtracing out of
2365 context created via makecontext.
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2367 (__setcontext): Fix incorrect CFI during switch to new context.
2368 (__novec_setcontext): Likewise.
2370 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2373 * time/strptime_l.c (__strptime_internal): Allow modifiers
2375 * time/tst-strptime.c (day_tests): Add testcase.
2378 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2380 * scripts/bench.pl: Skip over blank lines.
2382 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2385 * manual/time.texi (Calendar Time): Clarify what timezone functions
2388 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2392 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2394 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2396 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2397 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2398 * debug/memset_chk.c (__memset_chk): Likewise.
2399 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2400 * debug/strncpy_chk.c: Likewise.
2402 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2406 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2407 (__ieee754_exp): For possibly underflowing results, check size of
2408 result and force underflow exception if required.
2409 * math/auto-libm-test-in: Add more tests of exp.
2410 * math/auto-libm-test-out: Regenerated.
2411 * sysdeps/i386/fpu/libm-test-ulps: Update.
2412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2415 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2416 * math/w_exp2f.c (__exp2f): Likewise.
2417 * math/w_exp2l.c (__exp2l): Likewise.
2418 * math/auto-libm-test-in: Do not allow missing errno on exp2
2420 * math/auto-libm-test-out: Regenerated.
2422 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2425 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2426 handle filename validation.
2427 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2430 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2433 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2434 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2435 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2437 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2438 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2439 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2443 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2444 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2445 Add more erfc tests.
2446 * math/auto-libm-test-out: Regenerated.
2447 * sysdeps/i386/fpu/libm-test-ulps: Update.
2448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2450 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2451 exp2, expm1, j0 and j1.
2452 * math/auto-libm-test-out: Regenerated.
2453 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2454 (erfc_test_data): Likewise.
2455 (exp_test_data): Likewise.
2456 (exp_tonearest_test_data): Likewise.
2457 (exp_towardzero_test_data): Likewise.
2458 (exp_downward_test_data): Likewise.
2459 (exp_upward_test_data): Likewise.
2460 (exp10_test_data): Likewise.
2461 (exp2_test_data): Likewise.
2462 (expm1_test_data): Likewise.
2463 (j0_test_data): Likewise.
2464 (j1_test_data): Likewise.
2465 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2466 (input_flag_type): Add flag_xfail_rounding.
2467 (input_flags): Add xfail-rounding.
2468 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2469 (output_for_one_input_case): Handle flag_xfail_rounding.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2473 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2476 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2479 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2482 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2483 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2484 (STAP_PROBE0): New macro.
2485 (STAP_PROBE1): Likewise.
2486 (STAP_PROBE2): Likewise.
2487 (STAP_PROBE3): Likewise.
2488 (STAP_PROBE4): Likewise.
2490 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2492 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2494 2013-12-02 Steve Ellcey <sellcey@mips.com>
2496 * benchtests/Makefile (bench): Add sqrt.
2497 (LDLIBS-bench-sqrt): New.
2498 * benchtests/sqrt-input: New.
2500 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2502 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2503 (GAIH_EAI): Likewise.
2504 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2505 (gaih_inet): Likewise.
2506 (getaddrinfo): Don't use GAIH_EAI.
2508 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2509 (struct gaih): Remove definition.
2511 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2513 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2514 Use HERRNOP directly.
2516 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2520 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2522 * math/gen-auto-libm-tests.c (test_functions): Add more
2523 single-argument functions.
2524 (special_fill_pi_2): New function.
2525 (special_fill_minus_pi_2): Likewise.
2526 (special_fill_pi_6): Likewise.
2527 (special_fill_minus_pi_6): Likewise.
2528 (special_fill_pi_3): Likewise.
2529 (special_fill_2pi_3): Likewise.
2530 (special_fill_e): Likewise.
2531 (special_fill_1_e): Likewise.
2532 (special_fill_e_minus_1): Likewise.
2533 (special_real_inputs): Add more special inputs.
2534 (output_for_one_input_case): Do not require ERANGE on underflow to
2535 zero if round-to-nearest result does not underflow to zero, unless
2536 exact results required.
2537 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2538 atan, atanh, cbrt, cos and cosh.
2539 * math/auto-libm-test-out: Regenerated.
2540 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2541 (acos_tonearest_test_data): Likewise.
2542 (acos_towardzero_test_data): Likewise.
2543 (acos_downward_test_data): Likewise.
2544 (acos_upward_test_data): Likewise.
2545 (acosh_test_data): Likewise.
2546 (asin_test_data): Likewise.
2547 (asin_tonearest_test_data): Likewise.
2548 (asin_towardzero_test_data): Likewise.
2549 (asin_upward_test_data): Likewise.
2550 (asinh_test_data): Likewise.
2551 (atan_test_data): Likewise.
2552 (atanh_test_data): Likewise.
2553 (cbrt_test_data): Likewise.
2554 (cos_test_data): Likewise.
2555 (cos_tonearest_test_data): Likewise.
2556 (cos_towardzero_test_data): Likewise.
2557 (cos_downward_test_data): Likewise.
2558 (cos_upward_test_data): Likewise.
2559 (cosh_test_data): Likewise.
2560 (cosh_tonearest_test_data): Likewise.
2561 (cosh_towardzero_test_data): Likewise.
2562 (cosh_downward_test_data): Likewise.
2563 (cosh_upward_test_data): Likewise.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2570 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2571 * math/w_exp10f.c (__exp10f): Likewise.
2572 * math/w_exp10l.c (__exp10l): Likewise.
2573 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2574 errno settings in existing tests.
2577 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2578 precision control set to double precision.
2579 * sysdeps/i386/fpu/w_sqrt.c: New file.
2580 * math/auto-libm-test-in: Add more tests.
2581 * math/auto-libm-test-out: Update.
2583 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2584 (sqrt_test_tonearest): New function.
2585 (sqrt_towardzero_test_data): New variable.
2586 (sqrt_test_towardzero): New function.
2587 (sqrt_downward_test_data): New variable.
2588 (sqrt_test_downward): New function.
2589 (sqrt_upward_test_data): New variable.
2590 (sqrt_test_upward): New function.
2591 (main): Call the new functions.
2593 * math/gen-auto-libm-tests.c: New file.
2594 * math/auto-libm-test-in: Likewise.
2595 * math/auto-libm-test-out: New generated file.
2596 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2598 (%beautify): Add generated representations of zero.
2599 (top level): Set $auto_input and call parse_auto_input.
2600 (beautify): Remove trailing "f" from hex float constants.
2601 (parse_args): Handle XFAIL_TEST.
2602 (convert_condition): New function.
2603 (or_value): Likewise.
2604 (or_cond_value): Likewise.
2605 (generate_testfile): Handle AUTO_TESTS_* lines.
2606 (parse_auto_input): New function.
2607 * math/libm-test.inc (XFAIL_TEST): New macro.
2608 (ERRNO_UNCHANGED): Update value.
2609 (ERRNO_EDOM): Likewise.
2610 (ERRNO_ERANGE): Likewise.
2611 (IGNORE_RESULT): Likewise.
2612 (TEST_COND_flt_32): New macro.
2613 (TEST_COND_dbl_64): Likewise.
2614 (TEST_COND_ldbl_96_intel): Likewise.
2615 (TEST_COND_ldbl_96_m68k): Likewise.
2616 (TEST_COND_ldbl_128): Likewise.
2617 (TEST_COND_ldbl_128ibm): Likewise.
2618 (TEST_COND_long32): Likewise.
2619 (TEST_COND_long64): Likewise.
2620 (TEST_COND_before_rounding): Likewise.
2621 (TEST_COND_after_rounding): Likewise.
2622 (enable_test): Handle XFAIL_TEST flag.
2623 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2624 with finite results.
2625 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2628 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2629 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2632 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2633 __tls_get_addr_internal instead of __tls_get_offset in order to
2634 avoid GOT pointer dependency. Make rtld export
2635 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2636 __tls_get_addr since we are a __tls_get_offset platform.
2637 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2638 GOT pointer being set up before.
2639 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2641 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2643 * manual/math.texi (Errors in Math Functions): Document accuracy
2647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2648 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2651 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2653 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2655 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2659 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2662 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2664 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2665 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2666 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2667 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2668 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2672 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2674 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2676 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2677 atomic-feupdateenv and flt-rounds.
2678 * sysdeps/powerpc/nofpu/Versions (libc): Add
2679 __atomic_feholdexcept, __atomic_feclearexcept,
2680 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2681 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2682 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2683 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2684 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2689 * manual/arith.texi (FP Exceptions): Document that exceptions may
2690 not be raised when matherr is used.
2691 (Math Error Reporting): Document overflow in directed rounding
2692 modes. Document that errno may not be set when finite values are
2693 returned on overflow. Document intent to set errno on underflow
2694 only for underflow to zero.
2697 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2698 round-to-nearest then adjust result for other rounding modes.
2699 * include/fenv.h (fegetround): Use libm_hidden_proto.
2700 * math/fegetround.c (fegetround): Use libm_hidden_def.
2701 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2702 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2703 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2706 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2707 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2708 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2709 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2711 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2714 * nss/Versions (libnss_files): Add
2715 _nss_files_gethostbyname3_r.
2716 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2718 (HOST_DB_LOOKUP): Remove macro.
2719 (_nss_files_gethostbyname_r): Implement function without the
2720 HOST_DB_LOOKUP macro.
2721 (_nss_files_gethostbyname2_r): Likewise.
2723 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2725 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2727 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2729 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2730 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2733 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2736 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2737 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2738 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2739 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2740 __fe_nomask_env_priv and attribute_hidden.
2741 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2742 (libc_feupdateenv_test_ppc): Likewise.
2743 (libc_feresetround_ppc): Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2745 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2746 compat_symbol macro.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2748 (__fe_nomask_env): Likewise.
2749 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2751 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2753 * string/Makefile: Remove ifunc tests.
2754 * string/test-string.h: Define TEST_IFUNC.
2755 * string/test-bcopy-ifunc.c: Remove.
2756 * string/test-bzero-ifunc.c: Likewise.
2757 * string/test-memccpy-ifunc.c: Likewise.
2758 * string/test-memchr-ifunc.c: Likewise.
2759 * string/test-memcmp-ifunc.c: Likewise.
2760 * string/test-memcpy-ifunc.c: Likewise.
2761 * string/test-memmem-ifunc.c: Likewise.
2762 * string/test-memmove-ifunc.c: Likewise.
2763 * string/test-mempcpy-ifunc.c: Likewise.
2764 * string/test-memrchr-ifunc.c: Likewise.
2765 * string/test-memset-ifunc.c: Likewise.
2766 * string/test-rawmemchr-ifunc.c: Likewise.
2767 * string/test-stpcpy-ifunc.c: Likewise.
2768 * string/test-stpncpy-ifunc.c: Likewise.
2769 * string/test-strcasecmp-ifunc.c: Likewise.
2770 * string/test-strcasestr-ifunc.c: Likewise.
2771 * string/test-strcat-ifunc.c: Likewise.
2772 * string/test-strchr-ifunc.c: Likewise.
2773 * string/test-strchrnul-ifunc.c: Likewise.
2774 * string/test-strcmp-ifunc.c: Likewise.
2775 * string/test-strcpy-ifunc.c: Likewise.
2776 * string/test-strcspn-ifunc.c: Likewise.
2777 * string/test-strlen-ifunc.c: Likewise.
2778 * string/test-strncasecmp-ifunc.c: Likewise.
2779 * string/test-strncat-ifunc.c: Likewise.
2780 * string/test-strncmp-ifunc.c: Likewise.
2781 * string/test-strncpy-ifunc.c: Likewise.
2782 * string/test-strnlen-ifunc.c: Likewise.
2783 * string/test-strpbrk-ifunc.c: Likewise.
2784 * string/test-strrchr-ifunc.c: Likewise.
2785 * string/test-strspn-ifunc.c: Likewise.
2786 * string/test-strstr-ifunc.c: Likewise.
2788 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2790 * benchtests/Makefile: Remove ifunc tests.
2791 * benchtests/bench-string.h: Define TEST_IFUNC.
2792 * benchtests/bench-bcopy-ifunc.c: Remove.
2793 * benchtests/bench-bzero-ifunc.c: Likewise.
2794 * benchtests/bench-memccpy-ifunc.c: Likewise.
2795 * benchtests/bench-memchr-ifunc.c: Likewise.
2796 * benchtests/bench-memcmp-ifunc.c: Likewise.
2797 * benchtests/bench-memcpy-ifunc.c: Likewise.
2798 * benchtests/bench-memmem-ifunc.c: Likewise.
2799 * benchtests/bench-memmove-ifunc.c: Likewise.
2800 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2801 * benchtests/bench-memrchr-ifunc.c: Likewise.
2802 * benchtests/bench-memset-ifunc.c: Likewise.
2803 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2804 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2805 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2806 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2807 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2808 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2809 * benchtests/bench-strcat-ifunc.c: Likewise.
2810 * benchtests/bench-strchr-ifunc.c: Likewise.
2811 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2812 * benchtests/bench-strcmp-ifunc.c: Likewise.
2813 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2814 * benchtests/bench-strcpy-ifunc.c: Likewise.
2815 * benchtests/bench-strcspn-ifunc.c: Likewise.
2816 * benchtests/bench-strlen-ifunc.c: Likewise.
2817 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2818 * benchtests/bench-strncat-ifunc.c: Likewise.
2819 * benchtests/bench-strncmp-ifunc.c: Likewise.
2820 * benchtests/bench-strncpy-ifunc.c: Likewise.
2821 * benchtests/bench-strnlen-ifunc.c: Likewise.
2822 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2823 * benchtests/bench-strrchr-ifunc.c: Likewise.
2824 * benchtests/bench-strsep-ifunc.c: Likewise.
2825 * benchtests/bench-strspn-ifunc.c: Likewise.
2826 * benchtests/bench-strstr-ifunc.c: Likewise.
2828 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2830 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2832 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2834 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2835 * rt/aio.h: Likewise.
2836 * sysdeps/gnu/bits/utmp.h: Likewise.
2837 * sysdeps/gnu/bits/utmpx.h: Likewise.
2838 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2839 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2840 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2841 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2842 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2843 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2844 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2845 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2847 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2854 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2855 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2856 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2859 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2860 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2862 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2866 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2868 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2873 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2875 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2876 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2877 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2878 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2879 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2881 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2884 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2885 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2887 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2889 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2890 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2893 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2896 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2897 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2898 (__fesetround): Remove define.
2899 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2900 rounding and exceptions handling.
2901 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2902 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2903 (__fe_nomask_env): Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2905 __fegetround instead of fegetround.
2906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2909 2013-11-21 Roland McGrath <roland@hack.frob.com>
2911 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2914 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2916 2013-11-21 Meador Inge <meadori@codesourcery.com>
2919 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2920 (encrypt_r): Likewise.
2921 * malloc/obstack.h (obstack_free): Likewise.
2922 * posix/unistd.h (encrypt): Likewise.
2924 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2926 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2927 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2928 DL_CALL_DT_FINI() that call the functions directly.
2929 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2930 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2931 * elf/dl-fini.c: Likewise.
2933 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2935 * malloc/hooks.c (memalign_check): Add alignment rounding.
2936 * malloc/malloc.c (_mid_memalign): New function.
2937 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2938 Implement by calling _mid_memalign.
2939 * manual/probes.texi (Memory Allocation Probes): Remove
2940 memory_valloc_retry and memory_pvalloc_retry.
2942 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2944 * locale/programs/locarchive.c (open_archive): Add const
2945 qualifier to ARCHIVEFNAME and copy default fname to
2949 * libio/tst-widetext.input: Rename Oriya to Odia.
2950 * locale/iso-639.def: Likewise.
2952 * manual/probes.texi (Mathematical Function Probes): Add
2953 documentation for sin, cos, asin and acos probes.
2954 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2955 (__sin32): Add slowasin probe.
2956 (__cos32): Add slowacos probe.
2957 (__mpsin): Add slowsin probe.
2958 (__mpcos): Add slowcos probe.
2960 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2963 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2964 thread-local __sim_exceptions_thread and global
2965 __sim_exceptions_global.
2966 (__sim_disabled_exceptions): Change to thread-local
2967 __sim_disabled_exceptions_thread and global
2968 __sim_disabled_exceptions_global.
2969 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2970 and global __sim_round_mode_global.
2971 (__simulate_exceptions): Use thread-local floating-point state and
2972 set global state from it as needed.
2973 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2974 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2975 __sim_round_mode_thread.
2976 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2977 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2978 and global __sim_exceptions_global.
2979 (__sim_disabled_exceptions): Change to thread-local
2980 __sim_disabled_exceptions_thread and global
2981 __sim_disabled_exceptions_global.
2982 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2983 and global __sim_round_mode_global.
2984 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2985 (SIM_SET_GLOBAL): Likewise.
2986 * sysdeps/powerpc/soft-fp/sfp-machine.h
2987 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2988 __sim_round_mode_thread.
2989 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2990 __sim_disabled_exceptions_thread.
2991 (__sim_exceptions): Change to __sim_exceptions_thread.
2992 (__sim_disabled_exceptions): Change to
2993 __sim_disabled_exceptions_thread.
2994 (__sim_round_mode): Change to __sim_round_mode_thread.
2995 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2996 thread-local floating-point state and set global state from it as
2998 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2999 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3000 (__sim_disabled_exceptions): Remove extern declaration.
3001 (feenableexcept): Use thread-local floating-point state and set
3002 global state from it as needed.
3003 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3005 (__sim_disabled_exceptions): Likewise.
3006 (__sim_round_mode): Likewise.
3007 (__fegetenv): Use thread-local floating-point state.
3008 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3009 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3010 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3011 floating-point state and set global state from it as needed.
3012 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3013 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3014 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3016 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3017 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3019 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3020 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3021 Use __sim_round_mode_thread.
3022 * math/test-fenv-tls.c: New file.
3023 * math/Makefile (tests): Add test-fenv-tls.
3024 ($(objpfx)test-fenv-tls): Depend on
3025 $(common-objpfx)nptl/libpthread.so.
3027 2013-11-19 Andreas Schwab <schwab@suse.de>
3029 * locale/programs/locale.c (show_info): Decode wordarray elements.
3030 * locale/categories.def (LC_MONETARY): Add element for
3031 _NL_MONETARY_CRNCYSTR.
3032 * locale/C-monetary.c (conversion_rate): New variable.
3033 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3036 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3038 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3039 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3041 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3043 * elf/Makefile (tst-auxv): New test.
3044 * elf/tst-auxv.c: New
3045 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3047 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3049 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3050 (hidden_proto): Caller changed.
3051 (hidden_tls_proto): New macro.
3052 (libc_hidden_tls_proto): Likewise.
3053 (rtld_hidden_tls_proto): Likewise.
3054 (libm_hidden_tls_proto): Likewise.
3055 (libresolv_hidden_tls_proto): Likewise.
3056 (librt_hidden_tls_proto): Likewise.
3057 (libdl_hidden_tls_proto): Likewise.
3058 (libnss_files_hidden_tls_proto): Likewise.
3059 (libnsl_hidden_tls_proto): Likewise.
3060 (libnss_nisplus_hidden_tls_proto): Likewise.
3061 (libutil_hidden_tls_proto): Likewise.
3063 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3066 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3067 (decompose_rpath): Defer expansion to fillin_rpath.
3068 (_dl_init_paths): Pass linkmap to fillin_rpath.
3070 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3072 * benchtests/Makefile: Add strsep.
3073 * benchtests/bench-strsep.c: New file: strsep benchtest.
3074 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3076 2013-11-18 Andreas Schwab <schwab@suse.de>
3078 * locale/programs/locale.c (show_info) [case byte]: Check for
3079 '\377' instead of '\177'.
3080 * locale/C-monetary.c (not_available): Always use "\377".
3081 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3082 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3083 detect unavailable sign_posn locale elements.
3084 * locale/localeconv.c (__localeconv): For grouping and
3085 mon_grouping handle "\177" and "\377" like no grouping.
3086 (INT_ELEM): New macro. Use it to set all numeric members.
3087 * locale/programs/ld-monetary.c (monetary_read)
3088 <tok_mon_grouping>: Normalize single -1 to the empty string.
3089 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3092 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3095 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3096 when we match (nil).
3097 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3099 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3101 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3102 (NO_TEST_INLINE): Update value.
3103 (ERRNO_UNCHANGED): Likewise.
3104 (ERRNO_EDOM): Likewise.
3105 (ERRNO_ERANGE): Likewise.
3106 (IGNORE_RESULT): Likewise.
3107 (check_float_internal): Check signs of NaN results if
3109 (check_complex): Pass TEST_NAN_SIGN flag through to second
3110 check_float_internal call.
3111 (copysign_test_data): Add tests with quiet NaNs as second
3112 argument. Use TEST_NAN_SIGN.
3113 (fabs_test_data): Add test of negative quiet NaN argument. Use
3115 (signbit_test_data): Add tests of quiet NaN argument.
3116 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3118 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3120 (parse_args): Handle function results specified as IGNORE.
3121 * math/libm-test.inc (IGNORE_RESULT): New macro.
3122 (check_float_internal): Do not check numerical result if flag
3124 (check_complex): Pass through IGNORE_RESULT to second
3125 check_float_internal call.
3126 (check_int): Do not check numerical result if flag IGNORE_RESULT
3128 (check_long): Likewise.
3129 (check_bool): Likewise.
3130 (check_longlong): Likewise.
3131 (lrint_test_data): Add tests of infinite and NaN arguments.
3132 (lrint_tonearest_test_data): Likewise.
3133 (lrint_towardzero_test_data): Likewise.
3134 (lrint_downward_test_data): Likewise.
3135 (lrint_upward_test_data): Likewise.
3136 (llrint_test_data): Likewise.
3137 (llrint_tonearest_test_data): Likewise.
3138 (llrint_towardzero_test_data): Likewise.
3139 (llrint_downward_test_data): Likewise.
3140 (llrint_upward_test_data): Likewise.
3141 (lround_test_data): Likewise.
3142 (llround_test_data): Likewise.
3144 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3145 (ERRNO_UNCHANGED): Update value.
3146 (ERRNO_EDOM): Likewise.
3147 (ERRNO_ERANGE): Likewise.
3148 (NO_TEST_INLINE_FLOAT): New macro.
3149 (NO_TEST_INLINE_DOUBLE): Likewise.
3150 (enable_test): New function.
3151 (RUN_TEST_f_f): Check enable_test before running test.
3152 (RUN_TEST_2_f): Likewise.
3153 (RUN_TEST_fff_f): Likewise.
3154 (RUN_TEST_c_f): Likewise.
3155 (RUN_TEST_f_f1): Likewise.
3156 (RUN_TEST_fF_f1): Likewise.
3157 (RUN_TEST_fI_f1): Likewise.
3158 (RUN_TEST_ffI_f1): Likewise.
3159 (RUN_TEST_c_c): Likewise.
3160 (RUN_TEST_cc_c): Likewise.
3161 (RUN_TEST_f_i): Likewise.
3162 (RUN_TEST_f_i_tg): Likewise.
3163 (RUN_TEST_ff_i_tg): Likewise.
3164 (RUN_TEST_f_b): Likewise.
3165 (RUN_TEST_f_b_tg): Likewise.
3166 (RUN_TEST_f_l): Likewise.
3167 (RUN_TEST_f_L): Likewise.
3168 (RUN_TEST_fFF_11): Likewise.
3169 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3171 (cosh_test_data): Likewise.
3172 (exp_test_data): Likewise.
3173 (expm1_test_data): Likewise.
3174 (hypot_test_data): Likewise.
3175 (pow_test_data): Likewise.
3176 (sinh_test_data): Likewise.
3177 (tanh_test_data): Likewise.
3178 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3181 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3182 tests with quiet NaN input and output.
3183 (acosh_test_data): Likewise.
3184 (asin_test_data): Likewise.
3185 (asinh_test_data): Likewise.
3186 (atan_test_data): Likewise.
3187 (atanh_test_data): Likewise.
3188 (atan2_test_data): Likewise.
3189 (cbrt_test_data): Likewise.
3190 (cos_test_data): Likewise.
3191 (cosh_test_data): Likewise.
3192 (erf_test_data): Likewise.
3193 (erfc_test_data): Likewise.
3194 (exp_test_data): Likewise.
3195 (exp10_test_data): Likewise.
3196 (exp2_test_data): Likewise.
3197 (expm1_test_data): Likewise.
3198 (hypot_test_data): Likewise.
3199 (j0_test_data): Likewise.
3200 (j1_test_data): Likewise.
3201 (jn_test_data): Likewise.
3202 (lgamma_test_data): Likewise.
3203 (log_test_data): Likewise.
3204 (log10_test_data): Likewise.
3205 (log1p_test_data): Likewise.
3206 (log2_test_data): Likewise.
3207 (pow_test_data): Likewise.
3208 (scalb_test_data): Likewise.
3209 (sin_test_data): Likewise.
3210 (sincos_test_data): Likewise.
3211 (sinh_test_data): Likewise.
3212 (tan_test_data): Likewise.
3213 (tanh_test_data): Likewise.
3214 (tgamma_test_data): Likewise.
3215 (y0_test_data): Likewise.
3216 (y1_test_data): Likewise.
3217 (yn_test_data): Likewise.
3220 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3221 argument being NaN and avoid computations with second argument in
3223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3225 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3227 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3229 * locale/iso-639.def: Add Chitwani Tharu (the).
3231 2013-11-14 Andreas Schwab <schwab@suse.de>
3233 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3234 word instead of empty string.
3236 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3239 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3241 (__fe_nomask_env): Likewise.
3243 2013-11-13 Steve Ellcey <sellcey@mips.com>
3245 * benchtests/bench-timing.h: Include time.h.
3247 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3250 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3252 * sysdeps/unix/sysv/linux/configure: Regenerated.
3254 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3257 * stdlib/strtod_l.c (round_and_return): Do not consider
3258 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3259 exponent one less than half the least subnormal exponent.
3260 * stdlib/test-strtod-round-data: Add more tests.
3261 * stdlib/tst-strtod-round.c (tests): Regenerated.
3263 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3267 (__fe_mask_env): Likewise.
3268 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3269 libm_hidden_proto and add function prototype.
3270 (__fe_mask_env): Add function prototype.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3272 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3274 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3276 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3278 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3280 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3281 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3283 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3285 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3286 of htab_find_slot().
3288 2013-11-11 David S. Miller <davem@davemloft.net>
3291 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3292 symbol in the non-vis3 case in static builds.
3293 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3294 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3295 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3298 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3301 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3304 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3306 * benchtests/Makefile: Add bench-strtod.
3307 * benchtests/bench-strtod.c: New file: strtod benchtest
3309 2013-11-11 Andreas Schwab <schwab@suse.de>
3312 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3313 terminating NUL in key length.
3315 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3318 Add artificial ODP entry for vDSO symbol for PPC64.
3319 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3320 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3322 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3325 * nss/getent.c (services_keys): Recognize services starting with digit.
3327 2013-11-06 David S. Miller <davem@davemloft.net>
3330 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3331 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3333 2013-11-06 Will Newton <will.newton@linaro.org>
3335 * manual/memory.texi (Malloc Examples): Remove register
3336 keyword from examples.
3338 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3340 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3342 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3344 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3345 depending on [__GCC_IEC_559 > 0].
3346 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3347 depending on [__GCC_IEC_559_COMPLEX > 0].
3349 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3351 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3354 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3356 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3358 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3361 * malloc/malloc (malloc_info): Do not handle first bin as
3364 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3366 * locale/iso-639.def: Add Central Nahuatl (nhn).
3368 2013-11-01 Bruno Haible <bruno@clisp.org>
3371 * manual/math.texi (BSD Random): Specify range upper bound as
3374 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3376 * locale/iso-639.def: Add Meadow Mari (mhr).
3378 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3380 [BZ #14752], [BZ #15763]
3381 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3383 * rt/tst_shm.c: Add test for escaping directory.
3385 2013-10-31 Andreas Schwab <schwab@suse.de>
3388 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3389 followed by 'x' as part of digit sequence.
3390 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3392 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3395 * configure.ac: allow GNU Make 4.0 and greater.
3396 * configure: Regenerated.
3398 2013-10-30 Will Newton <will.newton@linaro.org>
3401 * malloc/hooks.c (memalign_check): Limit alignment to the
3402 maximum representable power of two.
3403 * malloc/malloc.c (__libc_memalign): Likewise.
3404 * malloc/tst-memalign.c (do_test): Add test for very
3405 large alignment values.
3406 * malloc/tst-posix_memalign.c (do_test): Likewise.
3408 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3411 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3412 (munmap_chunk): Likewise.
3413 (mremap_chunk): Likewise.
3415 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3418 * stdlib/div.c (div): Remove obsolete code.
3419 * stdlib/ldiv.c (ldiv): Likewise.
3420 * stdlib/lldiv.c (lldiv): Likewise.
3422 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3425 * nss/nss_files/files-XXX.c (get_contents_ret): New
3427 (get_contents): New function.
3428 (internal_getent): Use it. Expand size of LINEBUFLEN.
3430 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3432 * configure.in: Moved to ...
3433 * configure.ac: ... here. Change reference to configure.in
3435 * sysdeps/arm/preconfigure.ac: ... here.
3436 configure.in to configure.ac.
3437 * sysdeps/gnu/configure.in: Moved to ...
3438 * sysdeps/gnu/configure.ac: ... here.
3439 * sysdeps/i386/configure.in: Moved to ...
3440 * sysdeps/i386/configure.ac: ... here.
3441 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3442 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3443 * sysdeps/mach/configure.in: Moved to ...
3444 * sysdeps/mach/configure.ac: ... here.
3445 * sysdeps/mach/hurd/configure.in: Moved to ...
3446 * sysdeps/mach/hurd/configure.ac: ... here.
3447 * sysdeps/powerpc/configure.in: Moved to ...
3448 * sysdeps/powerpc/configure.ac: ... here.
3449 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3450 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3451 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3452 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3453 * sysdeps/s390/s390-32/configure.in: Moved to ...
3454 * sysdeps/s390/s390-32/configure.ac: ... here.
3455 * sysdeps/s390/s390-64/configure.in: Moved to ...
3456 * sysdeps/s390/s390-64/configure.ac: ... here.
3457 * sysdeps/sh/configure.in: Moved to ...
3458 * sysdeps/sh/configure.ac: ... here.
3459 * sysdeps/sparc/configure.in: Moved to ...
3460 * sysdeps/sparc/configure.ac: ... here.
3461 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3462 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3463 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3464 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3465 * sysdeps/x86_64/configure.in: Moved to ...
3466 * sysdeps/x86_64/configure.ac: ... here.
3467 * sysdeps/x86_64/preconfigure.in: Moved to ...
3468 * sysdeps/x86_64/preconfigure.ac: ... here.
3469 * aclocal.m4: Change reference to configure.in to configure.ac.
3470 * config.h.in: Likewise.
3471 * manual/install.texi: Likewise.
3472 * manual/maint.texi: Likewise.
3473 * Makefile: Likewise.
3474 * malloc/Makefile: Likewise.
3475 * nscd/Makefile: Likewise.
3476 * Makeconfig: Change reference to configure.in and
3477 preconfigure.in to configure.ac and preconfigure.ac
3479 * INSTALL: Regenerated.
3480 * configure: Likewise.
3481 * sysdeps/gnu/configure: Likewise.
3482 * sysdeps/i386/configure: Likewise.
3483 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3484 * sysdeps/mach/configure: Likewise.
3485 * sysdeps/mach/hurd/configure: Likewise.
3486 * sysdeps/powerpc/configure: Likewise.
3487 * sysdeps/powerpc/powerpc32/configure: Likewise.
3488 * sysdeps/powerpc/powerpc64/configure: Likewise.
3489 * sysdeps/s390/s390-32/configure: Likewise.
3490 * sysdeps/s390/s390-64/configure: Likewise.
3491 * sysdeps/sh/configure: Likewise.
3492 * sysdeps/sparc/configure: Likewise.
3493 * sysdeps/unix/sysv/linux/configure: Likewise.
3494 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3495 * sysdeps/x86_64/configure: Likewise.
3496 * sysdeps/x86_64/preconfigure: Likewise.
3498 2013-10-29 Andreas Schwab <schwab@suse.de>
3500 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3502 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3504 * benchtests/pow-inputs: Add new inputs.
3506 * benchtests/exp-inputs: Add new inputs.
3508 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3509 conditional check for return value.
3510 (__cos32): Likewise.
3512 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3515 to provide a boost for large inputs with word alignment.
3516 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3517 implementation based on optimized PPC64 strcpy.
3518 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3519 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3520 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3521 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3523 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3526 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3528 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3531 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3532 * time/tst-strptime.c (day_tests): Add testcase.
3534 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3537 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3539 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3542 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3543 MAP_FAILED on error.
3545 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3549 heap for large requests.
3551 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3554 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3555 result if the result has no associated interface.
3556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3557 interface for all 127.X.Y.Z addresses.
3559 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3561 * locale/iso-639.def: Add Ligurian (lij)
3563 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3566 * sunrpc/rpc_main.c: Document rpcgen -5.
3568 2013-10-19 Michael Stahl <mstahl@redhat.com>
3570 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3572 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3575 * posix/glob.c: Match only directories when trailing slash is present.
3576 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3577 (main): Add testcase.
3579 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3582 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3584 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3586 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3587 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3588 AUTH_DES and cindex for FIPS 140-2.
3589 (DES Encryption): Add cindex FIPS 46-3.
3591 * locale/locarchive.h (struct locarhandle): Add fname.
3592 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3593 if an optional argument was specified to --list-archive,
3595 * locale/programs/locarchive.c (show_archive_content): Take new
3596 argument fname and pass it via ah.fname to open_archive.
3597 * locale/programs/localedef.h: Update decl.
3598 (open_archive): If AH->fname is non-null, open that file
3599 rather than the default file name, and don't ignore ENOENT.
3600 (create_archive): Set AH.fname to NULL.
3601 (delete_locales_from_archive): Likewise.
3602 (add_locales_to_archive): Likewise.
3603 * locale/programs/locfile.c (write_all_categories): Likewise.
3605 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3606 Aldy Hernandez <aldyh@redhat.com>
3608 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3609 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3611 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3616 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3618 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3619 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3620 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3621 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3622 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3624 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3630 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3631 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3636 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3640 * sysdeps/powerpc/preconfigure: Likewise.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3643 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3644 Replace contents of file by #include of <fenv_libc.h>.
3645 * sysdeps/powerpc/soft-fp/sfp-machine.h
3646 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3648 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3661 Allow copysignl PLT reference to be missing.
3663 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3664 Joseph Myers <joseph@codesourcery.com
3667 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3669 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3671 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3673 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3674 * elf/tst-tls1.c: Likewise.
3675 * elf/tst-tls10.h: Likewise.
3676 * elf/tst-tls14.c: Likewise.
3677 * elf/tst-tls2.c: Likewise.
3678 * elf/tst-tls3.c: Likewise.
3679 * elf/tst-tls4.c: Likewise.
3680 * elf/tst-tls5.c: Likewise.
3681 * elf/tst-tls6.c: Likewise.
3682 * elf/tst-tls7.c: Likewise.
3683 * elf/tst-tls8.c: Likewise.
3684 * elf/tst-tls9.c: Likewise.
3685 * elf/tst-tlsmod1.c: Likewise.
3686 * elf/tst-tlsmod13.c: Likewise.
3687 * elf/tst-tlsmod13a.c: Likewise.
3688 * elf/tst-tlsmod14a.c: Likewise.
3689 * elf/tst-tlsmod16a.c: Likewise.
3690 * elf/tst-tlsmod16b.c: Likewise.
3691 * elf/tst-tlsmod2.c: Likewise.
3692 * elf/tst-tlsmod3.c: Likewise.
3693 * elf/tst-tlsmod4.c: Likewise.
3694 * elf/tst-tlsmod5.c: Likewise.
3695 * elf/tst-tlsmod6.c: Likewise.
3697 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3700 * malloc/malloc.c: remove checks for statistics.
3702 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3705 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3706 * inet/tst-network.c: Add testcase.
3708 2013-10-17 Andreas Schwab <schwab@suse.de>
3711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3712 to determine canonical name.
3714 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3716 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3717 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3740 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3775 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3778 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3779 make result into a quiet NaN.
3781 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3783 * soft-fp/adddf3.c: Fix horizontal whitespace.
3784 * soft-fp/addsf3.c: Likewise.
3785 * soft-fp/addtf3.c: Likewise.
3786 * soft-fp/divdf3.c: Likewise.
3787 * soft-fp/divsf3.c: Likewise.
3788 * soft-fp/divtf3.c: Likewise.
3789 * soft-fp/double.h: Likewise.
3790 * soft-fp/eqdf2.c: Likewise.
3791 * soft-fp/eqsf2.c: Likewise.
3792 * soft-fp/eqtf2.c: Likewise.
3793 * soft-fp/extenddftf2.c: Likewise.
3794 * soft-fp/extended.h: Likewise.
3795 * soft-fp/extendsfdf2.c: Likewise.
3796 * soft-fp/extendsftf2.c: Likewise.
3797 * soft-fp/extendxftf2.c: Likewise.
3798 * soft-fp/fixdfdi.c: Likewise.
3799 * soft-fp/fixdfsi.c: Likewise.
3800 * soft-fp/fixdfti.c: Likewise.
3801 * soft-fp/fixsfdi.c: Likewise.
3802 * soft-fp/fixsfsi.c: Likewise.
3803 * soft-fp/fixsfti.c: Likewise.
3804 * soft-fp/fixtfdi.c: Likewise.
3805 * soft-fp/fixtfsi.c: Likewise.
3806 * soft-fp/fixtfti.c: Likewise.
3807 * soft-fp/fixunsdfdi.c: Likewise.
3808 * soft-fp/fixunsdfsi.c: Likewise.
3809 * soft-fp/fixunsdfti.c: Likewise.
3810 * soft-fp/fixunssfdi.c: Likewise.
3811 * soft-fp/fixunssfsi.c: Likewise.
3812 * soft-fp/fixunssfti.c: Likewise.
3813 * soft-fp/fixunstfdi.c: Likewise.
3814 * soft-fp/fixunstfsi.c: Likewise.
3815 * soft-fp/fixunstfti.c: Likewise.
3816 * soft-fp/floatdidf.c: Likewise.
3817 * soft-fp/floatdisf.c: Likewise.
3818 * soft-fp/floatditf.c: Likewise.
3819 * soft-fp/floatsidf.c: Likewise.
3820 * soft-fp/floatsisf.c: Likewise.
3821 * soft-fp/floatsitf.c: Likewise.
3822 * soft-fp/floattidf.c: Likewise.
3823 * soft-fp/floattisf.c: Likewise.
3824 * soft-fp/floattitf.c: Likewise.
3825 * soft-fp/floatundidf.c: Likewise.
3826 * soft-fp/floatundisf.c: Likewise.
3827 * soft-fp/floatunditf.c: Likewise.
3828 * soft-fp/floatunsidf.c: Likewise.
3829 * soft-fp/floatunsisf.c: Likewise.
3830 * soft-fp/floatunsitf.c: Likewise.
3831 * soft-fp/floatuntidf.c: Likewise.
3832 * soft-fp/floatuntisf.c: Likewise.
3833 * soft-fp/floatuntitf.c: Likewise.
3834 * soft-fp/fmadf4.c: Likewise.
3835 * soft-fp/fmasf4.c: Likewise.
3836 * soft-fp/fmatf4.c: Likewise.
3837 * soft-fp/gedf2.c: Likewise.
3838 * soft-fp/gesf2.c: Likewise.
3839 * soft-fp/getf2.c: Likewise.
3840 * soft-fp/ledf2.c: Likewise.
3841 * soft-fp/lesf2.c: Likewise.
3842 * soft-fp/letf2.c: Likewise.
3843 * soft-fp/muldf3.c: Likewise.
3844 * soft-fp/mulsf3.c: Likewise.
3845 * soft-fp/multf3.c: Likewise.
3846 * soft-fp/negdf2.c: Likewise.
3847 * soft-fp/negsf2.c: Likewise.
3848 * soft-fp/negtf2.c: Likewise.
3849 * soft-fp/op-1.h: Likewise.
3850 * soft-fp/op-2.h: Likewise.
3851 * soft-fp/op-4.h: Likewise.
3852 * soft-fp/op-8.h: Likewise.
3853 * soft-fp/op-common.h: Likewise.
3854 * soft-fp/quad.h: Likewise.
3855 * soft-fp/single.h: Likewise.
3856 * soft-fp/soft-fp.h: Likewise.
3857 * soft-fp/sqrtdf2.c: Likewise.
3858 * soft-fp/sqrtsf2.c: Likewise.
3859 * soft-fp/sqrttf2.c: Likewise.
3860 * soft-fp/subdf3.c: Likewise.
3861 * soft-fp/subsf3.c: Likewise.
3862 * soft-fp/subtf3.c: Likewise.
3863 * soft-fp/truncdfsf2.c: Likewise.
3864 * soft-fp/trunctfdf2.c: Likewise.
3865 * soft-fp/trunctfsf2.c: Likewise.
3866 * soft-fp/trunctfxf2.c: Likewise.
3867 * soft-fp/unorddf2.c: Likewise.
3868 * soft-fp/unordsf2.c: Likewise.
3869 * soft-fp/unordtf2.c: Likewise.
3871 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3873 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3874 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3876 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3878 * elf/dl-libc.c: Clear initfini list after freeing.
3880 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3882 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3883 * soft-fp/addsf3.c: Likewise.
3884 * soft-fp/addtf3.c: Likewise.
3885 * soft-fp/divdf3.c: Likewise.
3886 * soft-fp/divsf3.c: Likewise.
3887 * soft-fp/divtf3.c: Likewise.
3888 * soft-fp/double.h: Likewise.
3889 * soft-fp/eqdf2.c: Likewise.
3890 * soft-fp/eqsf2.c: Likewise.
3891 * soft-fp/eqtf2.c: Likewise.
3892 * soft-fp/extenddftf2.c: Likewise.
3893 * soft-fp/extended.h: Likewise.
3894 * soft-fp/extendsfdf2.c: Likewise.
3895 * soft-fp/extendsftf2.c: Likewise.
3896 * soft-fp/extendxftf2.c: Likewise.
3897 * soft-fp/fixdfdi.c: Likewise.
3898 * soft-fp/fixdfsi.c: Likewise.
3899 * soft-fp/fixdfti.c: Likewise.
3900 * soft-fp/fixsfdi.c: Likewise.
3901 * soft-fp/fixsfsi.c: Likewise.
3902 * soft-fp/fixsfti.c: Likewise.
3903 * soft-fp/fixtfdi.c: Likewise.
3904 * soft-fp/fixtfsi.c: Likewise.
3905 * soft-fp/fixtfti.c: Likewise.
3906 * soft-fp/fixunsdfdi.c: Likewise.
3907 * soft-fp/fixunsdfsi.c: Likewise.
3908 * soft-fp/fixunsdfti.c: Likewise.
3909 * soft-fp/fixunssfdi.c: Likewise.
3910 * soft-fp/fixunssfsi.c: Likewise.
3911 * soft-fp/fixunssfti.c: Likewise.
3912 * soft-fp/fixunstfdi.c: Likewise.
3913 * soft-fp/fixunstfsi.c: Likewise.
3914 * soft-fp/fixunstfti.c: Likewise.
3915 * soft-fp/floatdidf.c: Likewise.
3916 * soft-fp/floatdisf.c: Likewise.
3917 * soft-fp/floatditf.c: Likewise.
3918 * soft-fp/floatsidf.c: Likewise.
3919 * soft-fp/floatsisf.c: Likewise.
3920 * soft-fp/floatsitf.c: Likewise.
3921 * soft-fp/floattidf.c: Likewise.
3922 * soft-fp/floattisf.c: Likewise.
3923 * soft-fp/floattitf.c: Likewise.
3924 * soft-fp/floatundidf.c: Likewise.
3925 * soft-fp/floatundisf.c: Likewise.
3926 * soft-fp/floatunsidf.c: Likewise.
3927 * soft-fp/floatunsisf.c: Likewise.
3928 * soft-fp/floatuntidf.c: Likewise.
3929 * soft-fp/floatuntisf.c: Likewise.
3930 * soft-fp/floatuntitf.c: Likewise.
3931 * soft-fp/fmadf4.c: Likewise.
3932 * soft-fp/fmasf4.c: Likewise.
3933 * soft-fp/fmatf4.c: Likewise.
3934 * soft-fp/gedf2.c: Likewise.
3935 * soft-fp/gesf2.c: Likewise.
3936 * soft-fp/getf2.c: Likewise.
3937 * soft-fp/ledf2.c: Likewise.
3938 * soft-fp/lesf2.c: Likewise.
3939 * soft-fp/letf2.c: Likewise.
3940 * soft-fp/muldf3.c: Likewise.
3941 * soft-fp/mulsf3.c: Likewise.
3942 * soft-fp/multf3.c: Likewise.
3943 * soft-fp/negdf2.c: Likewise.
3944 * soft-fp/negsf2.c: Likewise.
3945 * soft-fp/negtf2.c: Likewise.
3946 * soft-fp/op-1.h: Likewise.
3947 * soft-fp/op-2.h: Likewise.
3948 * soft-fp/op-4.h: Likewise.
3949 * soft-fp/op-8.h: Likewise.
3950 * soft-fp/op-common.h: Likewise.
3951 * soft-fp/quad.h: Likewise.
3952 * soft-fp/single.h: Likewise.
3953 * soft-fp/soft-fp.h: Likewise.
3954 * soft-fp/sqrtdf2.c: Likewise.
3955 * soft-fp/sqrtsf2.c: Likewise.
3956 * soft-fp/sqrttf2.c: Likewise.
3957 * soft-fp/subdf3.c: Likewise.
3958 * soft-fp/subsf3.c: Likewise.
3959 * soft-fp/subtf3.c: Likewise.
3960 * soft-fp/truncdfsf2.c: Likewise.
3961 * soft-fp/trunctfdf2.c: Likewise.
3962 * soft-fp/trunctfsf2.c: Likewise.
3963 * soft-fp/trunctfxf2.c: Likewise.
3964 * soft-fp/unorddf2.c: Likewise.
3965 * soft-fp/unordsf2.c: Likewise.
3966 * soft-fp/unordtf2.c: Likewise.
3968 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3971 * misc/error.c (error_tail): Fix possible buffer overflow.
3973 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3976 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3979 2013-10-14 P. J. McDermott <pj@pehjota.net>
3982 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3983 testing pipefail option.
3985 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3987 * soft-fp/double.h: Indent preprocessor directives inside #if.
3988 * soft-fp/extended.h: Likewise.
3989 * soft-fp/op-2.h: Likewise.
3990 * soft-fp/op-4.h: Likewise.
3991 * soft-fp/op-common.h: Likewise.
3992 * soft-fp/quad.h: Likewise.
3993 * soft-fp/single.h: Likewise.
3994 * soft-fp/soft-fp.h: Likewise.
3996 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3998 * iconv/iconv_prog.c: Fix typos.
3999 * stdio-common/psiginfo-data.h: Likewise.
4001 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4004 * locale/setlocale.c: Fix typo.
4006 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4009 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4010 signaling NaN arguments.
4011 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4012 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4015 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4017 * soft-fp/gesf2.c (__gesf2): Likewise.
4018 * soft-fp/getf2.c (__getf2): Likewise.
4019 * soft-fp/ledf2.c (__ledf2): Likewise.
4020 * soft-fp/lesf2.c (__lesf2): Likewise.
4021 * soft-fp/letf2.c (__letf2): Likewise.
4023 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4024 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4025 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4026 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4027 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4028 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4029 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4030 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4031 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4032 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4033 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4034 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4035 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4036 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4037 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4038 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4039 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4040 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4041 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4042 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4043 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4044 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4045 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4046 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4047 * soft-fp/floattidf.c (__floattidf): Likewise.
4048 * soft-fp/floattisf.c (__floattisf): Likewise.
4049 * soft-fp/floattitf.c (__floattitf): Likewise.
4050 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4051 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4052 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4053 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4054 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4055 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4056 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4057 * soft-fp/gesf2.c (__gesf2): Likewise.
4058 * soft-fp/getf2.c (__getf2): Likewise.
4059 * soft-fp/ledf2.c (__ledf2): Likewise.
4060 * soft-fp/lesf2.c (__lesf2): Likewise.
4061 * soft-fp/letf2.c (__letf2): Likewise.
4063 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4064 Undefine and redefine.
4065 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4066 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4067 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4068 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4069 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4070 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4071 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4072 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4073 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4074 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4075 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4076 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4077 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4078 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4079 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4082 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4083 without decrementing exponent if mantissa >= that for the
4085 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4086 denominator, not >. Decrement exponent in < case instead of
4087 incrementing in >= case.
4088 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4089 without decrementing exponent if mantissa >= that for the
4092 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4093 computing saturated result for unsigned overflow.
4095 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4096 Jeff Law <law@redhat.com>
4098 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4099 (atan2Mp): Add systemtap probe marker.
4100 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4101 (__ieee754_log): Add systemtap probe marker.
4102 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4103 (atanMp): Add systemtap probe marker.
4104 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4105 (tanMp): Add systemtap probe marker.
4106 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4107 (__slowexp): Add systemtap probe marker.
4108 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4109 (__slowpow): Add systemtap probe marker.
4110 * manual/probes.texi: Document probes.
4112 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4115 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4117 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4119 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4120 written to buffer but not flushed.
4121 * libio/iofwrite_u.c: Likewise.
4122 * libio/iopadn.c: Return bytes returned even if EOF was
4124 * libio/iowpadn.c: Likewise.
4125 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4126 if _IO_padn does not write the whole buffer.
4127 [!COMPILE_WPRINTF] (PAD): Likewise.
4129 2013-10-10 David S. Miller <davem@davemloft.net>
4131 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4134 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4136 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4137 instead of FSF address.
4138 * soft-fp/fixdfti.c: Likewise.
4139 * soft-fp/fixsfti.c: Likewise.
4140 * soft-fp/fixtfti.c: Likewise.
4141 * soft-fp/fixunsdfti.c: Likewise.
4142 * soft-fp/fixunssfti.c: Likewise.
4143 * soft-fp/fixunstfti.c: Likewise.
4144 * soft-fp/floattidf.c: Likewise.
4145 * soft-fp/floattisf.c: Likewise.
4146 * soft-fp/floattitf.c: Likewise.
4147 * soft-fp/floatuntidf.c: Likewise.
4148 * soft-fp/floatuntisf.c: Likewise.
4149 * soft-fp/floatuntitf.c: Likewise.
4150 * soft-fp/trunctfxf2.c: Likewise.
4152 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4153 * soft-fp/fixdfti.c: Likewise.
4154 * soft-fp/fixsfti.c: Likewise.
4155 * soft-fp/fixtfti.c: Likewise.
4156 * soft-fp/fixunsdfti.c: Likewise.
4157 * soft-fp/fixunssfti.c: Likewise.
4158 * soft-fp/fixunstfti.c: Likewise.
4159 * soft-fp/floattidf.c: Likewise.
4160 * soft-fp/floattisf.c: Likewise.
4161 * soft-fp/floattitf.c: Likewise.
4162 * soft-fp/floatuntidf.c: Likewise.
4163 * soft-fp/floatuntisf.c: Likewise.
4164 * soft-fp/floatuntitf.c: Likewise.
4165 * soft-fp/trunctfxf2.c: Likewise.
4167 2013-10-10 David S. Miller <davem@davemloft.net>
4169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4171 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4174 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4175 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4176 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4177 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4178 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4179 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4182 for NaNs before doing comparisons on argument.
4183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4186 2013-10-10 Will Newton <will.newton@linaro.org>
4188 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4189 passed to _int_memalign does not overflow.
4191 2013-10-10 Torvald Riegel <triegel@redhat.com>
4193 * scripts/bench.pl: Add include-sources directive.
4194 * benchtests/README: Update documentation.
4196 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4198 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4199 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4200 instead of FP_INIT_ROUNDMODE.
4201 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4202 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4205 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4206 copy class of input value.
4207 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4208 not handle exceptions.
4209 * soft-fp/negsf2.c (__negsf2): Likewise.
4210 * soft-fp/negtf2.c (__negtf2): Likewise.
4211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4213 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4215 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4216 semicolon. From Linux kernel.
4218 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4220 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4222 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4225 * manual/socket.texi: Added statement about buffer
4226 for gethostbyname2_r.
4228 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4230 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4231 Use .p2align directive instead, throughout.
4232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4237 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4238 * sysdeps/x86_64/strchr.S: Likewise.
4239 * sysdeps/x86_64/strrchr.S: Likewise.
4241 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4243 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4245 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4247 * sysdeps/generic/math_private.h (__mpsin1): Remove
4249 (__mpcos1): Likewise.
4250 (__mpsin): New argument __range_reduce.
4251 (__mpcos): Likewise.
4252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4253 (slow): Use __mpsin and __mpcos.
4260 (bsloww1): Likewise.
4261 (bsloww2): Likewise.
4264 (csloww1): Likewise.
4265 (csloww2): Likewise.
4266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4267 range_reduce. Merge in __mpsin1.
4268 (__mpcos): Likewise.
4270 (__mpcos1): Likewise.
4272 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4274 * locale/loadlocale.c (_nl_intern_locale_data): Use
4276 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4277 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4278 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4279 obstack data is appropriately aligned.
4280 (obstack_int32_grow_fast): Likewise.
4281 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4282 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4283 (add_locale_uint32_array): Likewise.
4285 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4287 * benchtests/Makefile: Remove ARGLIST and RET variables.
4288 ($(objpfx)bench-%.c): Pass only function name to the script.
4289 * benchtests/README: Update documentation.
4290 * benchtests/acos-inputs: Add new directives.
4291 * benchtests/acosh-inputs: Likewise.
4292 * benchtests/asin-inputs: Likewise.
4293 * benchtests/asinh-inputs: Likewise.
4294 * benchtests/atan-inputs: Likewise.
4295 * benchtests/atanh-inputs: Likewise.
4296 * benchtests/cos-inputs: Likewise.
4297 * benchtests/cosh-inputs: Likewise.
4298 * benchtests/exp-inputs: Likewise.
4299 * benchtests/log-inputs: Likewise.
4300 * benchtests/pow-inputs: Likewise.
4301 * benchtests/rint-inputs: Likewise.
4302 * benchtests/sin-inputs: Likewise.
4303 * benchtests/sinh-inputs: Likewise.
4304 * benchtests/tan-inputs: Likewise.
4305 * benchtests/tanh-inputs: Likewise.
4306 * scripts/bench.pl: Add support for new directives.
4308 2013-10-07 Alan Modra <amodra@gmail.com>
4310 * README: Fix careless merge.
4312 2013-10-05 Alan Modra <amodra@gmail.com>
4314 * NEWS: Mention powerpc64le support and bugs fixed.
4315 * README: Both big-endian and little-endian powerpc64 supported.
4317 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4319 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4320 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4321 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4322 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4324 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4326 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4329 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4331 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4332 Move -mhard-float appending from
4333 ports/sysdeps/powerpc/powerpc32/Makefile.
4334 [$(with-fp) = yes] (ASFLAGS): Likewise.
4335 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4336 * sysdeps/powerpc/nofpu: Move directory from
4337 ports/sysdeps/powerpc/nofpu.
4338 * sysdeps/powerpc/soft-fp: Move directory from
4339 ports/sysdeps/powerpc/soft-fp.
4340 * sysdeps/powerpc/powerpc32/405: Move directory from
4341 ports/sysdeps/powerpc/powerpc32/405.
4342 * sysdeps/powerpc/powerpc32/440: Move directory from
4343 ports/sysdeps/powerpc/powerpc32/440.
4344 * sysdeps/powerpc/powerpc32/464: Move directory from
4345 ports/sysdeps/powerpc/powerpc32/464.
4346 * sysdeps/powerpc/powerpc32/476: Move directory from
4347 ports/sysdeps/powerpc/powerpc32/476.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4349 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4351 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4358 * README: Update for powerpc-*-linux-gnu software floating point
4361 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4362 case to powerpc/powerpc32*.
4363 * sysdeps/unix/sysv/linux/configure: Regenerated.
4365 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4366 (_FPU_MASK_OM): Define as 0x04.
4367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4375 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4378 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4382 and setcontext_e500.
4384 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4386 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4388 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4390 * manual/threads.texi (Default Thread Attributes): Fix typo.
4392 2013-10-04 Will Newton <will.newton@linaro.org>
4394 * malloc/Makefile: Add tst-memalign.
4395 * malloc/tst-memalign.c: New file.
4397 * malloc/tst-posix_memalign.c: Add comments.
4398 (do_test): Add comments and call free on all potentially
4399 allocated pointers. Add space after cast.
4401 * malloc/tst-pvalloc.c: Add comments.
4402 (do_test): Add comments and call free on all potentially
4403 allocated pointers. Remove duplicate check for NULL pointer.
4404 Add space after cast.
4406 * malloc/tst-valloc.c: Add comments.
4407 (do_test): Add comments and call free on all potentially
4408 allocated pointers. Remove duplicate check for NULL pointer.
4409 Add space after cast.
4411 2013-10-04 Alan Modra <amodra@gmail.com>
4413 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4414 Use stdint types in rather than __attribute__((mode())).
4415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4417 2013-10-04 Alan Modra <amodra@gmail.com>
4419 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4420 Correct handling of unaligned relocs for little-endian.
4421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4423 2013-10-04 Alan Modra <amodra@gmail.com>
4425 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4426 * configure: Regenerate.
4427 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4428 * shlib-versions: Likewise.
4430 2013-10-04 Alan Modra <amodra@gmail.com>
4432 * string/tester.c (test_memrchr): Increment reported test cycle.
4434 2013-10-04 Alan Modra <amodra@gmail.com>
4436 * string/test-memcpy.c (do_one_test): When reporting errors, print
4437 string address and don't overrun end of string.
4439 2013-10-04 Alan Modra <amodra@gmail.com>
4441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4442 insrdi. Make better use of reg selection to speed exit slightly.
4443 Schedule entry path a little better. Remove useless "are we done"
4444 checks on entry to main loop. Handle wrapping around zero address.
4445 Correct main loop count. Handle single left-over word from main
4446 loop inline rather than by using loop_small. Remove extra word
4447 case in loop_small caused by wrong loop count. Add little-endian
4449 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4454 support. Avoid rlwimi.
4455 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4457 2013-10-04 Alan Modra <amodra@gmail.com>
4459 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4461 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4464 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4465 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4466 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4468 2013-10-04 Alan Modra <amodra@gmail.com>
4470 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4471 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4473 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4474 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4477 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4479 use of regs. Use power7 mtocrf. Tidy function tails.
4481 2013-10-04 Alan Modra <amodra@gmail.com>
4483 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4484 Formatting. Consistently use rXXX register defines or rN defines.
4485 Use early exit labels that avoid restoring unused non-volatile regs.
4486 Make cr field use more consistent with rWORDn compares. Rename
4487 regs used as shift registers for unaligned loop, using rN defines
4488 for short lifetime/multiple use regs.
4489 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4491 addi 1,1,64 to pop stack frame. Simplify return value code.
4492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4494 2013-10-04 Alan Modra <amodra@gmail.com>
4496 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4497 support. Correct typos, formatting. Optimize tail. Use insrdi
4499 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4501 little-endian support. Correct typos.
4502 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4504 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4505 in loop and entry code to keep "and." results.
4506 (strchr): Add little-endian support. Comment. Move cntlzd
4508 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4510 2013-10-04 Alan Modra <amodra@gmail.com>
4512 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4513 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4514 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4515 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4517 2013-10-04 Alan Modra <amodra@gmail.com>
4519 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4520 (rTMP): Define as r11.
4521 (strcmp): Add little-endian support. Optimise tail.
4522 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4523 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4530 2013-10-04 Alan Modra <amodra@gmail.com>
4532 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4533 little-endian support. Remove unnecessary "are we done" tests.
4534 Handle "s" wrapping around zero and extremely large "size".
4535 Correct main loop count. Handle single left-over word from main
4536 loop inline rather than by using small_loop. Correct comments.
4537 Delete "zero" tail, use "end_max" instead.
4538 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4540 2013-10-04 Alan Modra <amodra@gmail.com>
4542 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4543 support. Don't branch over align.
4544 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4545 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4546 support. Rearrange tmp reg use to suit. Comment.
4547 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4549 2013-10-04 Alan Modra <amodra@gmail.com>
4551 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4553 2013-10-04 Alan Modra <amodra@gmail.com>
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4556 conditional form of branch and link when obtaining pc.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4559 2013-10-04 Alan Modra <amodra@gmail.com>
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4566 2013-10-04 Alan Modra <amodra@gmail.com>
4568 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4569 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4570 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4571 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4573 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4574 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4575 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4576 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4577 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4579 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4580 Alistair Popple <alistair@ozlabs.au.ibm.com>
4581 Alan Modra <amodra@gmail.com>
4584 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4585 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4586 _dl_hwcap access for little-endian.
4587 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4588 destroy vmx regs when saving unaligned.
4589 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4591 destroy vmx regs when saving unaligned.
4593 2013-10-04 Alan Modra <amodra@gmail.com>
4595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4596 Don't use a union to pack hi/low value.
4598 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4600 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4602 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4604 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4605 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4608 2013-10-04 Alan Modra <amodra@gmail.com>
4610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4611 constants to usual value for .cst8 section, and remove redundant
4613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4614 constant for 0x1p52. Load little-endian words of double from
4615 correct stack offsets.
4617 2013-10-04 Alan Modra <amodra@gmail.com>
4619 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4620 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4621 words of double from correct stack offsets.
4622 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4623 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4629 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4630 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4634 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4635 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4636 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4638 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4640 2013-10-04 Alan Modra <amodra@gmail.com>
4642 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4643 64-bit int/double union.
4644 (_FPU_SETCW): Likewise.
4645 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4646 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4648 2013-10-04 Alan Modra <amodra@gmail.com>
4650 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4651 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4653 2013-10-04 Alan Modra <amodra@gmail.com>
4655 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4656 use vector int constants.
4657 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4659 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4661 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4662 array with long long.
4663 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4664 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4665 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4666 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4667 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4668 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4669 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4670 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4671 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4672 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4673 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4674 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4675 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4677 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4679 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4680 (__signbit): Likewise. Correct for little-endian.
4681 (__signbitl): Call __signbit.
4682 (lrint): Correct for little-endian.
4683 (lrintf): Call lrint.
4685 2013-10-04 Alan Modra <amodra@gmail.com>
4687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4688 union 32-bit int array member with 64-bit int array.
4689 (t515, tm256): Double rather than long double.
4690 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4692 2013-10-04 Alan Modra <amodra@gmail.com>
4694 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4696 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4698 version of math_ldbl.h.
4700 2013-10-04 Alan Modra <amodra@gmail.com>
4702 [BZ #15734], [BZ #15735]
4703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4704 all uses of ieee875 long double macros and unions. Simplify test
4705 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4706 ldbl_extract_mantissa value for ix,iy exponents. Properly
4707 normalize after ldbl_extract_mantissa, and don't add hidden bit
4708 already handled. Don't treat low word of ieee854 mantissa like
4709 low word of IBM long double and mask off bit when testing for
4711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4712 all uses of ieee875 long double macros and unions. Simplify tests
4713 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4714 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4715 two1022, instead use their values. Recognise that tests for large
4716 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4718 Rewrite all uses of ieee875 long double macros and unions. Simplify
4719 test for 0.0L and nan. Correct negation.
4720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4721 ieee875 long double macros and unions. Correct output for large
4722 magnitude x. Correct absolute value calculation.
4723 (__erfcl): Likewise.
4724 * math/libm-test.inc: Add tests for errors discovered in IBM long
4725 double versions of fmodl, remainderl, erfl and erfcl.
4727 2013-10-04 Alan Modra <amodra@gmail.com>
4729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4730 all uses of ieee854 long double macros and unions. Simplify tests
4731 for long doubles that are fully specified by the high double.
4732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4734 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4735 Remove dead code too.
4736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4737 (__ieee754_ynl): Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4739 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4741 Remove dead code too.
4742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4747 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4752 Comment on variable precision.
4753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4756 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4762 2013-10-04 Alan Modra <amodra@gmail.com>
4764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4766 all uses of ieee854 long double macros and unions.
4767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4780 Simplify sign and nan test too.
4781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4796 2013-10-04 Alan Modra <amodra@gmail.com>
4798 * stdio-common/printf_size.c (__printf_size): Don't use
4799 union ieee854_long_double in fpnum union.
4800 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4801 signbit macro to retrieve sign from long double.
4802 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4803 retrieve sign from long double.
4804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4805 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4806 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4807 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4808 * math/test-misc.c (main): Don't use union ieee854_long_double.
4810 2013-10-04 Alan Modra <amodra@gmail.com>
4813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4814 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4815 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4816 calculation. Remove unnecessary test for denormal exponent.
4817 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4818 Correct handling of denormals. Avoid undefined shift behaviour.
4819 Correct normalisation of low mantissa when low double is denormal.
4820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4821 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4822 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4823 Correct normalisation of low mantissa. Test for overflow of high
4824 mantissa and normalise.
4825 (ldbl_nearbyint): Use more readable constant for two52.
4826 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4827 (__mpn_construct_long_double): Fix test for overflow of high
4828 mantissa and correct normalisation. Avoid undefined shift.
4830 2013-10-04 Alan Modra <amodra@gmail.com>
4832 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4833 (union ibm_extended_long_double): Define as an array of ieee754_double.
4834 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4835 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4836 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4846 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4848 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4849 page size instead of calling getpagesize.
4851 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4852 (LOCFILE_ALIGN_MASK): Likewise.
4853 (LOCFILE_ALIGN_UP): Likewise.
4854 (LOCFILE_ALIGNED_P): Likewise.
4855 * locale/programs/ld-collate.c (collate_output): Use the new
4856 macros instead of __alignof__ (int32_t).
4857 * locale/weight.h (findidx): Likewise.
4859 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4862 * manual/string.texi: Fix strncat and wcsncat.
4864 2013-10-03 Brooks Moses <bmoses@google.com>
4867 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4868 * Makerules: ...here, and adjust associated comments.
4870 2013-10-02 Will Newton <will.newton@linaro.org>
4872 * malloc/Makefile: Add tst-pvalloc.
4873 * malloc/tst-pvalloc.c: New file.
4875 2013-10-02 Will Newton <will.newton@linaro.org>
4877 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4878 improve test coverage.
4880 2013-10-02 Will Newton <will.newton@linaro.org>
4882 * malloc/Makefile: Add tst-posix_memalign.
4883 * malloc/tst-posix_memalign.c: New file.
4885 2013-10-01 Eric Blake <eblake@redhat.com>
4887 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4888 Use __THROWNL rather than __THROW on static functions.
4890 2013-09-30 Petr Machata <pmachata@redhat.com>
4892 * elf/elf.h (R_AARCH64_ABS16): New macro.
4893 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4894 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4895 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4896 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4897 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4898 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4899 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4900 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4901 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4902 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4903 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4904 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4905 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4906 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4907 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4908 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4909 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4910 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4911 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4912 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4913 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4914 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4915 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4916 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4917 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4918 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4919 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4920 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4921 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4922 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4923 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4924 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4925 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4926 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4927 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4928 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4929 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4930 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4931 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4932 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4933 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4934 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4935 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4936 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4937 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4938 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4939 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4940 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4941 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4942 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4943 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4944 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4945 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4946 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4947 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4948 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4949 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4950 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4951 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4952 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4953 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4954 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4955 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4956 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4957 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4958 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4959 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4960 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4961 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4962 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4963 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4964 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4965 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4966 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4967 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4968 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4969 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4970 (R_AARCH64_TLSDESC_LDR): Likewise.
4971 (R_AARCH64_TLSDESC_ADD): Likewise.
4972 (R_AARCH64_TLSDESC_CALL): Likewise.
4974 2013-09-30 Andreas Schwab <schwab@suse.de>
4977 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4978 the nss database lookup.
4979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4982 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4984 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4986 2013-09-28 P. J. McDermott <pj@pehjota.net>
4988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4989 ${Bash-specific parameter/pattern/string} parameter expansion.
4990 * sysdeps/unix/make-syscalls.sh: Likewise.
4992 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4994 * sysdeps/sh/stackguard-macros.h: New file.
4996 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5000 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5003 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5005 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5007 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5008 Fix thread ID register.
5010 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5012 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5013 [POSIX || UNIX98]: Require rather than permitting all symbols from
5015 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5016 element of struct sched_param.
5017 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5018 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5019 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5020 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5023 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5025 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5026 argument calculation.
5028 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5030 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5032 [POSIX] (pthread_attr_t): Do not require type.
5033 [POSIX] (pthread_cond_t): Likewise.
5034 [POSIX] (pthread_condattr_t): Likewise.
5035 [POSIX] (pthread_key_t): Likewise.
5036 [POSIX] (pthread_mutex_t): Likewise.
5037 [POSIX] (pthread_mutexattr_t): Likewise.
5038 [POSIX] (pthread_once_t): Likewise.
5039 [POSIX] (pthread_t): Likewise.
5040 [POSIX-based standards] (pthread_atfork): Expect function.
5042 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5043 Richard Sandiford <richard@codesourcery.com>
5045 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5046 (swap_endianness_p): New extern variable.
5047 (set_big_endian): New inline function.
5048 (maybe_swap_uint32): Likewise.
5049 (maybe_swap_uint32_array): Likewise.
5050 (maybe_swap_uint32_obstack): Likewise.
5051 * locale/programs/locfile.c: Include <stdbool.h>.
5052 (swap_endianness_p): New variable.
5053 (add_locale_uint32): Call maybe_swap_uint32.
5054 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5055 (write_locale_data): Call maybe_swap_uint32_array.
5056 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5058 (obstack_int32_grow_fast): Likewise.
5059 (output_weightwc): Call maybe_swap_uint32_obstack.
5060 (collate_output): Likewise.
5061 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5062 (OPT_LITTLE_ENDIAN): Likewise.
5063 (options): Add --little-endian and --big-endian options.
5064 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5065 * locale/programs/locarchive.c: Include "locfile.h".
5069 (create_archive): Use the new macros to access fields of
5070 structures directly mapped from or written to locale archives.
5071 (oldlocrecentcmp): Likewise.
5072 (enlarge_archive): Likewise.
5073 (insert_name): Likewise.
5074 (add_alias): Likewise.
5075 (add_locale): Likewise.
5076 (delete_locales_from_archive): Likewise.
5077 (show_archive_content): Likewise.
5078 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5081 2013-09-24 Roland McGrath <roland@hack.frob.com>
5083 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5084 http://www.gnu.org/doc/freemanuals.texi.
5085 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5087 2013-09-24 Will Newton <will.newton@linaro.org>
5089 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5092 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5094 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5097 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5099 * manual/threads.texi (POSIX Threads): Fix a typo.
5101 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5104 * string/tst-strcoll-overflow.c: New test case.
5105 * string/Makefile (xtests): Add tst-strcoll-overflow.
5106 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5107 cache if string sizes may cause integer overflow.
5110 * string/strcoll_l.c (coll_seq): New members rule, idx,
5111 save_idx and back_us.
5112 (get_next_seq_nocache): New function.
5113 (do_compare_nocache): New function.
5114 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5117 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5120 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5121 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5122 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5125 * elf/Makefile (tests): Add tst-ptrguard1.
5126 (tests-static): Add tst-ptrguard1-static.
5127 (tst-ptrguard1-ARGS): Define.
5128 (tst-ptrguard1-static-ARGS): Define.
5129 * elf/tst-ptrguard1.c: New file.
5130 * elf/tst-ptrguard1-static.c: New file.
5131 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5132 * sysdeps/i386/stackguard-macros.h: Likewise.
5133 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5134 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5135 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5136 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5137 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5138 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5140 2013-09-23 Hector Marco <hecmargi@upv.es>
5141 Ismael Ripoll <iripoll@disca.upv.es>
5142 Carlos O'Donell <carlos@redhat.com>
5145 * sysdeps/generic/stackguard-macros.h: Define
5146 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5147 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5148 Define __pointer_chk_guard_local.
5149 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5150 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5152 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5155 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5157 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5159 * include/string.h (__ffs): Declare as hidden.
5160 * string/ffs.c (__ffs): Define as hidden.
5161 * sysdeps/i386/ffs.c (__ffs): Likewise.
5162 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5163 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5164 * sysdeps/s390/ffs.c (__ffs): Likewise.
5165 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5167 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5169 * NEWS: Mention malloc probes.
5171 * malloc/arena.c (new_heap): New memory_heap_new probe.
5172 (grow_heap): New memory_heap_more probe.
5173 (shrink_heap): New memory_heap_less probe.
5174 (heap_trim): New memory_heap_free probe.
5175 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5176 (systrim): New memory_sbrk_less probe.
5177 * manual/probes.texi: Document them.
5179 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5180 * manual/probes.texi: Document it.
5182 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5183 (__libc_realloc): Add memory_realloc_retry probe.
5184 (__libc_memalign): Add memory_memalign_retry probe.
5185 (__libc_valloc): Add memory_valloc_retry probe.
5186 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5187 (__libc_calloc): Add memory_calloc_retry probe.
5188 * manual/probes.texi: Document them.
5190 * malloc/arena.c (get_free_list): Add probe
5191 memory_arena_reuse_free_list.
5192 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5193 and memory_arena_reuse.
5194 (arena_get2) [!PER_THREAD]: Likewise.
5195 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5196 memory_arena_reuse_realloc.
5197 * manual/probes.texi: Document them.
5199 * malloc/malloc.c (__libc_free): Add
5200 memory_mallopt_free_dyn_thresholds probe.
5201 (__libc_mallopt): Add multiple memory_mallopt probes.
5202 * manual/probes.texi: Document them.
5204 * malloc/malloc.c: Include stap-probe.h.
5205 (__libc_mallopt): Add memory_mallopt probe.
5206 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5207 * manual/probes.texi: New.
5208 * manual/Makefile (chapters): Add probes.
5209 * manual/threads.texi: Set next node.
5211 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5214 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5215 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5216 Add `Chinese' to `nan' entry name.
5218 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5220 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5221 (POLYNOMIAL): Likewise.
5222 (TAYLOR_SINCOS): Likewise.
5223 (TAYLOR_SLOW): Likewise.
5224 (__sin): Use TAYLOR_SINCOS.
5226 (slow): Use TAYLOR_SLOW.
5231 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5233 * stdlib/strtod_l.c: Fix buffer overrun.
5235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5237 * benchtests/Makefile (bench): Add sincos.
5238 * benchtests/bench-sincos.c: New file.
5240 * math/libm-test.inc (cos_test_data): New test inputs.
5241 (sin_test_data): Likewise.
5243 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5251 (bsloww1): Likewise.
5252 (bsloww2): Likewise.
5254 (csloww1): Likewise.
5255 (csloww2): Likewise.
5257 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5266 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5268 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5269 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5270 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5271 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5272 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5273 * elf/cache.c (print_entry): Handle the new cache flags.
5275 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5276 Aldy Hernandez <aldyh@redhat.com>
5278 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5279 Change condition to [_SOFT_FLOAT].
5280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5292 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5295 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5298 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5300 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5301 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5302 (__longjmp): Use LOAD_GP to load saved GPRs.
5303 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5304 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5305 (__sigsetjmp): Use SAVE_GP to save GPRs.
5307 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5308 Do not append -msoft-float.
5309 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5311 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5313 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5315 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5318 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5319 (_FPU_GETCW): Use initial "__" on variable and field names but not
5320 on macro parameter name.
5321 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5322 parentheses around reference to macro parameter.
5324 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5326 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5328 (ctype_startup): Use uint32_t in cast and sizeof for
5331 2013-09-11 Jia Liu <proljc@gmail.com>
5333 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5335 [__FreeBSD__]: Likewise.
5337 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5340 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5341 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5342 (strchr): Remove __strchr_sse42 ifunc selection.
5343 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5344 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5346 2013-09-11 Will Newton <will.newton@linaro.org>
5348 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5349 parameter to RES. Remove hardcoded 1000 value.
5350 * benchtests/bench-skeleton.c (main): Pass RES parameter
5351 to TIMING_INIT and multiply result by 1000.
5353 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5357 2013-09-11 Andreas Schwab <schwab@suse.de>
5359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5361 (O_TMPFILE) [__USE_GNU]: Define.
5362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5365 2013-09-11 Will Newton <will.newton@linaro.org>
5368 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5371 2013-09-11 Will Newton <will.newton@linaro.org>
5374 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5377 2013-09-11 Will Newton <will.newton@linaro.org>
5380 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5383 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5385 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5391 2013-09-10 Allan McRae <allan@archlinux.org>
5394 * manual/arith.texi (Parsing of Floats): Clarify
5398 * manual/install.texi (Running make install): Mention
5400 * INSTALL: Regenerated.
5402 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5404 * csu/init-first.c (_init): Remove the !SHARED condition around
5405 FPU control word initialization.
5406 * elf/dl-support.c (_dl_fpu_control): New variable.
5407 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5408 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5409 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5410 * math/test-fpucw-static.c: New file.
5411 * math/test-fpucw-ieee.c: New file.
5412 * math/test-fpucw-ieee-static.c: New file.
5413 * math/Makefile (tests): Add `test-fpucw-ieee' and
5415 (tests-static): New variable.
5416 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5418 [($(build-shared),yes)]
5419 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5421 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5424 2013-09-09 Allan McRae <allan@archlinux.org>
5427 * manual/string.texi (Collation Functions): Fix typo in
5429 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5432 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5435 * libio/memstream.c (open_memstream): Fix memory leak.
5436 * libio/wmemstream.c (open_wmemstream): Likewise.
5439 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5441 2013-09-09 Will Newton <will.newton@linaro.org>
5443 * malloc/Makefile: Add tst-realloc to tests.
5444 * malloc/tst-realloc.c: New file.
5446 2013-09-09 Allan McRae <allan@archlinux.org>
5449 * COPYING: Update from GNU website to fix FSF address.
5450 * COPYING.LIB: Likewise.
5452 2013-09-06 David S. Miller <davem@davemloft.net>
5454 * po/zh_TW.po: Update Chinese (traditional) translation from
5455 translation project.
5457 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5458 Joseph Myers <joseph@codesourcery.com>
5460 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5462 (obstack_chunk_alloc): New macro.
5463 (obstack_chunk_free): Likewise.
5464 (record_offset): New function.
5465 (init_locale_data): Likewise.
5466 (align_locale_data): Likewise.
5467 (add_locale_empty): Likewise.
5468 (add_locale_raw_data): Likewise.
5469 (add_locale_raw_obstack): Likewise.
5470 (add_locale_string): Likewise.
5471 (add_locale_wstring): Likewise.
5472 (add_locale_uint32): Likewise.
5473 (add_locale_uint32_array): Likewise.
5474 (add_locale_char): Likewise.
5475 (start_locale_structure): Likewise.
5476 (end_locale_structure): Likewise.
5477 (start_locale_prelude): Likewise.
5478 (end_locale_prelude): Likewise.
5479 (write_locale_data): Take locale_file structure rather than an
5481 * locale/programs/locfile.h: Include "obstack.h".
5482 (struct locale_file): Change to store locale file contents instead
5484 (init_locale_data): New prototype.
5485 (align_locale_data): Likewise.
5486 (add_locale_empty): Likewise.
5487 (add_locale_raw_data): Likewise.
5488 (add_locale_raw_obstack): Likewise.
5489 (add_locale_string): Likewise.
5490 (add_locale_wstring): Likewise.
5491 (add_locale_uint32): Likewise.
5492 (add_locale_uint32_array): Likewise.
5493 (add_locale_char): Likewise.
5494 (start_locale_structure): Likewise.
5495 (end_locale_structure): Likewise.
5496 (start_locale_prelude): Likewise.
5497 (end_locale_prelude): Likewise.
5498 (write_locale_data): Update prototype.
5499 * locale/programs/3level.h (struct TABLE): Remove result field.
5500 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5501 Use new locale_file interface.
5502 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5503 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5504 * locale/programs/ld-address.c (address_output): Use new
5505 locale_file interface.
5506 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5508 (collate_finish): Don't call collseq_table_finalize.
5509 (collate_output): Use new locale_file interface.
5510 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5512 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5513 (TABLE): Move defines earlier in file.
5514 (ELEMENT): Likewise.
5515 (DEFAULT): Likewise.
5516 (wctrans_table_add): Move macro and inline function earlier in
5518 (struct wctype_table): Move type earlier in file.
5519 (add_locale_wctype_table): New static prototype.
5520 (struct locale_ctype_t): Use logical types instead of struct iovec
5521 pointers for members.
5522 (ctype_output): Use new locale_file interface.
5523 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5524 new locale_file interface.
5525 (allocate_arrays): Update for use of new locale_file interface.
5526 * locale/programs/ld-identification.c (identification_output): Use
5527 new locale_file interface.
5528 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5529 * locale/programs/ld-messages.c (messages_output): Likewise.
5530 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5531 * locale/programs/ld-name.c (name_output): Likewise.
5532 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5533 * locale/programs/ld-paper.c (paper_output): Likewise.
5534 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5535 * locale/programs/ld-time.c (time_output): Likewise.
5537 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5539 * benchtests/Makefile: Add memrchr benchmark.
5540 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5541 benchmark as memrchr.
5542 * benchtests/bench-memrchr-ifunc.c: New file.
5543 * benchtests/bench-memrchr.c: New file.
5545 2013-09-06 Will Newton <will.newton@linaro.org>
5547 * benchtests/Makefile (string-bench): Add memcpy.
5549 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5550 Cong Wang <amwang@redhat.com>
5552 * sysdeps/unix/sysv/linux/bits/in.h
5553 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5554 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5555 before __USE_KERNEL_IPV6_DEFS uses.
5556 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5558 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5559 sockaddr_in6, or ipv6_mreq.
5561 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5564 memory access for final bytes in some large inputs.
5565 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5567 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569 * string/test-memrchr.c: New file.
5570 * string/test-memrchr-ifunc.c: New file.
5571 * string/Makefile: Add new memrchr testcase.
5573 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5575 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5576 fanotify_init returns EPERM.
5578 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5580 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5582 (top level): Treat second token from macro or constant entries for
5583 allowed headers as allowed.
5584 * include/complex.h: Condition internal declarations on
5586 * include/fenv.h: Condition include of <stdbool.h> and internal
5587 declarations on [!_ISOMAC].
5589 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5592 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5594 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5596 * configure.in (--enable-versioning): Remove configure option.
5597 (libc_cv_asm_symver_directive): Remove configure test.
5598 (libc_cv_ld_version_script_option): Likewise.
5599 (VERSIONING): Remove variable and AC_SUBST.
5600 (DO_VERSIONING): Remove AC_DEFINE.
5601 * configure: Regenerated.
5602 * config.h.in (DO_VERSIONING): Remove macro.
5603 * Makerules [$(versioning) = yes]: Change conditionals to
5604 [$(build-shared) = yes].
5605 * config.make.in (versioning): Remove variable.
5606 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5607 [$(build-shared) = yes].
5608 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5609 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5610 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5611 [$(build-shared) = yes].
5612 * extra-lib.mk [$(versioning) = yes]: Likewise.
5613 * hurd/Makefile [$(versioning) = yes]: Likewise.
5614 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5616 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5618 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5619 [SHARED && !NO_HIDDEN].
5620 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5622 [SHARED && DO_VERSIONING]: Likewise..
5623 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5624 [$(build-shared) = yes].
5625 * manual/install.texi (--disable-versioning): Remove
5627 * INSTALL: Regenerated.
5628 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5630 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5631 [$(build-shared) = yes].
5632 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5633 * sysdeps/i386/i686/multiarch/strstr-c.c
5634 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5635 [SHARED && !NO_HIDDEN].
5636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5637 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5638 * sysdeps/powerpc/powerpc32/dl-machine.c
5639 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5640 * sysdeps/powerpc/powerpc32/sysdep.h
5641 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5642 to [SHARED && PIC && !NO_HIDDEN].
5643 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5644 conditional to [SHARED].
5646 2013-09-04 Will Newton <will.newton@linaro.org>
5648 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5649 * benchtests/bench-string.h: Include bench-timing.h instead
5650 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5651 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5652 call to HP_TIMING_DIFF_INIT.
5653 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5654 instead of hp-timing.h macros.
5655 * benchtests/bench-memchr.c: Likewise.
5656 * benchtests/bench-memcmp.c: Likewise.
5657 * benchtests/bench-memcpy.c: Likewise.
5658 * benchtests/bench-memmem.c: Likewise.
5659 * benchtests/bench-memmove.c: Likewise.
5660 * benchtests/bench-memset.c: Likewise.
5661 * benchtests/bench-rawmemchr.c: Likewise.
5662 * benchtests/bench-strcasecmp.c: Likewise.
5663 * benchtests/bench-strcasestr.c: Likewise.
5664 * benchtests/bench-strcat.c: Likewise.
5665 * benchtests/bench-strchr.c: Likewise.
5666 * benchtests/bench-strcmp.c: Likewise.
5667 * benchtests/bench-strcpy.c: Likewise.
5668 * benchtests/bench-strcpy_chk.c: Likewise.
5669 * benchtests/bench-strlen.c: Likewise.
5670 * benchtests/bench-strncasecmp.c: Likewise.
5671 * benchtests/bench-strncat.c: Likewise.
5672 * benchtests/bench-strncmp.c: Likewise.
5673 * benchtests/bench-strncpy.c: Likewise.
5674 * benchtests/bench-strnlen.c: Likewise.
5675 * benchtests/bench-strpbrk.c: Likewise.
5676 * benchtests/bench-strrchr.c: Likewise.
5677 * benchtests/bench-strspn.c: Likewise.
5678 * benchtests/bench-strstr.c: Likewise.
5680 2013-09-04 Will Newton <will.newton@linaro.org>
5682 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5684 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5688 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5689 * math/libm-test.inc (lgamma_test_data): Add more tests.
5690 * sysdeps/i386/fpu/libm-test-ulps: Update.
5691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5693 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5695 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5699 Add strcmp-sse2-unaligned
5700 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5702 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5704 * Versions.def (libc): Add GLIBC_2.19.
5706 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5708 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5709 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5711 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5715 intermediate calculations in recurrence.
5716 (__ieee754_ynf): Likewise.
5717 * math/libm-test.inc (jn_test_data): Do not allow spurious
5718 underflow exception. Add more tests.
5719 (yn_test_data): Add more tests.
5720 * sysdeps/i386/fpu/libm-test-ulps: Update.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5723 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5727 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5729 * csu/init-first.c: Fix then/than typos.
5730 * locale/programs/ld-collate.c: Likewise.
5731 * locale/programs/linereader.h: Likewise.
5732 * manual/charset.texi: Likewise.
5733 * manual/filesys.texi: Likewise.
5734 * manual/stdio.texi: Likewise.
5735 * manual/string.texi: Likewise.
5736 * stdlib/fmtmsg.c: Likewise.
5737 * sysdeps/i386/stpncpy.S: Likewise.
5738 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5739 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5741 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5743 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5745 * elf/dl-open.c: Fix typos.
5746 * iconvdata/gbbig5.c: Likewise.
5747 * iconvdata/iso-2022-jp.c: Likewise.
5748 * iconv/gconv_int.h: Likewise.
5749 * iconv/loop.c: Likewise.
5750 * nis/rpcsvc/nis.h: Likewise.
5751 * resolv/ns_name.c: Likewise.
5752 * stdio-common/vfscanf.c: Likewise.
5753 * streams/stropts.h: Likewise.
5754 * sunrpc/rpc_thread.c: Likewise.
5755 * sysdeps/i386/strpbrk.S: Likewise.
5756 * sysdeps/ieee754/k_standard.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5759 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5760 * sysdeps/mach/hurd/profil.c: Likewise.
5761 * sysdeps/s390/dl-procinfo.h: Likewise.
5762 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5764 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5765 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5768 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5770 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5773 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5775 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5777 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5780 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5781 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5782 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5783 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5784 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5786 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5787 Roland McGrath <roland@hack.frob.com>
5789 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5790 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5792 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5794 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5795 __executable_start symbol instead of _start.
5797 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5799 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5800 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5802 * sysdeps/gnu/ldsodefs.h: ... this new file.
5804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5805 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5806 instead of ELFOSABI_LINUX.
5808 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5809 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5810 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5811 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5813 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5814 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5817 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5818 (ibm_extended_long_double): Add ieee_nan member.
5819 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5820 (do_test): New function.
5822 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5824 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5825 functions, renamed from truncdfsf_test, trunctfsf_test,
5827 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5829 (do_test): Run all these.
5831 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5833 * argp/argp-help.c: Fix typos.
5834 * argp/argp-parse.c: Likewise.
5835 * debug/backtracesyms.c: Likewise.
5836 * elf/elf.h: Likewise.
5837 * malloc/malloc.c: Likewise.
5838 * nis/nis_print.c: Likewise.
5839 * resolv/res_comp.c: Likewise.
5840 * stdlib/stdlib.h: Likewise.
5841 * sunrpc/clnt_tcp.c: Likewise.
5842 * sunrpc/clnt_udp.c: Likewise.
5843 * sunrpc/clnt_unix.c: Likewise.
5844 * sysdeps/unix/bsd/ptsname.c: Likewise.
5845 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5855 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5857 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5860 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5863 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5864 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5865 ($(objpfx)bug-dl-leaf): New rule.
5866 ($(objpfx)bug-dl-leaf.so): Likewise.
5867 ($(objpfx)bug-dl-leaf.out): Likewise.
5868 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5869 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5870 * dlfcn/bug-dl-leaf.c: New test.
5871 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5872 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5873 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5874 (dlclose): Likewise.
5875 (dlmopen): Likewise.
5877 2013-08-27 Roland McGrath <roland@hack.frob.com>
5879 * include/netdb.h [!_ISOMAC]:
5880 Don't include <tls.h>.
5881 (h_errno, __libc_h_errno): Move declaration and macros out of
5884 * include/resolv.h [_RESOLV_H_]:
5885 Don't include <tls.h>.
5886 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5887 * resolv/res_libc.c: Don't include <tls.h>.
5888 (_res): Use __attribute__ ((nocommon)) in place of
5889 __attribute__ ((section (".bss"))).
5891 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5892 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5894 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5896 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5897 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5899 * resolv/res_mkquery.c: Include <sys/time.h>.
5901 * inet/ifreq.c: Moved to ...
5902 * sysdeps/unix/ifreq.c: ... here.
5903 * inet/ifreq.c: New file, true stub version.
5905 * socket/sa_len.c: New file.
5906 * socket/Makefile (aux): Add it.
5907 * sysdeps/unix/sysv/linux/Makefile
5908 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5909 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5910 and #include <socket/sa_len.c>.
5911 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5912 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5914 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5915 * bits/socket.h: ... here.
5917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5918 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5919 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5921 2013-08-27 Andreas Schwab <schwab@suse.de>
5924 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5925 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5926 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5927 * string/test-strcasecmp.c (test_main): Run tests in several
5929 * string/test-strncasecmp.c (test_main): Likewise.
5931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5932 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5933 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5935 (__strncasecmp_ssse3) [PIC]: Likewise.
5937 2013-08-26 Roland McGrath <roland@hack.frob.com>
5939 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5941 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5942 instead of explicitly declaring xdecrypt.
5943 * nis/nss_nis/nis-publickey.c: Likewise.
5945 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5948 * nscd/aicache.c: Include res_hconf.h.
5949 (addhstaiX): Initialize res_hconf.
5951 2013-08-26 Andreas Schwab <schwab@suse.de>
5953 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5954 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5956 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5958 * nscd/aicache.c (addhstaiX): Fix indentation.
5960 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5962 * configure.ac: Quote $build_pt_chown test.
5963 * configure: Regenerated.
5965 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5968 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5969 * math/s_cexpf.c (__cexpf): Likewise.
5970 * math/s_cexpl.c (__cexpl): Likewise.
5971 * math/libm-test.inc (cexp_test_data): Correct expected return
5972 value for NaN + i0. Add another test.
5974 2013-08-22 David S. Miller <davem@davemloft.net>
5976 * po/ca.po: Update Catalan translation from translation project.
5977 * po/uk.po: Add Ukrainian translations from translation project.
5979 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5982 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5983 is infinite, not alongside NaN test.
5984 * math/s_fdimf.c (__fdimf): Likewise.
5985 * math/s_fdiml.c (__fdiml): Likewise.
5986 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5989 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5991 * argp/argp-help.c: Fix typos.
5992 * crypt/speeds.c: Likewise.
5993 * csu/check_fds.c: Likewise.
5994 * elf/dl-load.c: Likewise.
5995 * elf/dl-open.c: Likewise.
5996 * elf/reldep3.c: Likewise.
5997 * elf/reldep.c: Likewise.
5998 * elf/sprof.c: Likewise.
5999 * iconv/iconv_charmap.c: Likewise.
6000 * iconv/skeleton.c: Likewise.
6001 * iconv/strtab.c: Likewise.
6002 * io/lockf64.c: Likewise.
6003 * libio/libioP.h: Likewise.
6004 * resolv/gai_notify.c: Likewise.
6005 * resolv/ns_name.c: Likewise.
6006 * resolv/ns_samedomain.c: Likewise.
6007 * resolv/res_send.c: Likewise.
6008 * stdlib/random.c: Likewise.
6009 * sunrpc/rpc/xdr.h: Likewise.
6010 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6018 * sysdeps/mach/hurd/check_fds.c: Likewise.
6019 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6020 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6021 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6023 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6024 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6025 * sysdeps/pthread/aio_notify.c: Likewise.
6026 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6027 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6028 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6030 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6032 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6034 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6035 version if bit_Slow_SSE4_2 is set.
6036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6039 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6043 trampoline stack frame information.
6044 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6046 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6047 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6048 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6049 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6050 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6051 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6053 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6054 interrupting a syscall and set with option SA_SIGINFO.
6056 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6059 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6060 argument is infinite.
6061 * math/s_cprojf.c (__cprojf): Likewise.
6062 * math/s_cprojl.c (__cprojl): Likewise.
6063 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6064 * math/libm-test.inc (cproj_test_data): Add more tests.
6066 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6068 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6069 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6070 size. Use __ffs to determine corresponding shift.
6072 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6073 Roland McGrath <roland@hack.frob.com>
6075 * Makefile (INSTALL): Remove trailing blank lines from output of
6078 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6080 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6081 Align 32 bit compat elf_greg to 8 bytes.
6083 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6085 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6087 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * string/strcoll_l.c (coll_seq): New structure.
6090 (get_next_seq_cached): New function.
6091 (get_next_seq): New function.
6092 (do_compare): New function.
6093 (STRCOLL): Use GNU style definition. Simplify implementation
6094 by using get_next_seq, get_next_seq_cached and do_compare.
6096 2013-08-16 Florian Weimer <fweimer@redhat.com>
6100 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6102 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6104 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6105 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6106 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6108 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6109 GETDENTS_64BIT_ALIGNED.
6110 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6111 * manual/filesys.texi (Reading/Closing Directory): Document
6112 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6114 * manual/conf.texi (Limits for Files): Add portability note to
6116 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6118 2013-08-13 Andreas Schwab <schwab@suse.de>
6121 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6123 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6124 LDBL_MAX_EXP >= 16384]: Add tests for it.
6126 2013-08-12 David S. Miller <davem@davemloft.net>
6128 * version.h (RELEASE): Set to "development".
6129 (VERSION): Set to "2.18.90".
6130 * NEWS: Add 2.19 section.
6132 2013-08-03 David S. Miller <davem@davemloft.net>
6134 * po/ko.po: Update Korean translation from translation project.
6136 2013-08-01 David S. Miller <davem@davemloft.net>
6138 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6139 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6142 2013-07-30 David S. Miller <davem@davemloft.net>
6144 * po/fr.po: Update French translation from translation project.
6146 2013-07-28 David S. Miller <davem@davemloft.net>
6148 * po/cs.po: Update Czech translation from translation project.
6150 * po/sv.po: Update Swedish translation from translation project.
6152 2013-07-27 David S. Miller <davem@davemloft.net>
6154 * po/eo.po: Update Esperanto translation from translation project.
6156 * po/vi.po: Update Vietnamese translation from translation project.
6158 * po/de.po: Update German translation from translation project.
6160 2013-07-26 David S. Miller <davem@davemloft.net>
6162 * po/bg.po: Update Bulgarian translation from translation project.
6164 * po/nl.po: Update Dutch translation from translation project.
6165 * po/pl.po: Update Polish translation from translation project.
6166 * po/ru.po: Update Russian translation from translation project.
6168 2013-07-24 David S. Miller <davem@davemloft.net>
6170 * po/libc.pot: Update.
6172 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6176 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6178 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6180 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6182 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6184 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6185 Andreas Schwab <schwab@suse.de>
6186 Roland McGrath <roland@hack.frob.com>
6187 Joseph Myers <joseph@codesourcery.com>
6188 Carlos O'Donell <carlos@redhat.com>
6191 * config.h.in: Define HAVE_PT_CHOWN.
6192 * config.make.in (build-pt-chown): New variable.
6193 * configure.in (--enable-pt_chown): New configure option.
6194 * configure: Regenerate.
6195 * login/Makefile: Include Makeconfig. Build pt_chown only if
6196 build-pt-chown is enabled.
6197 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6198 pt_chown to fix pty ownership.
6199 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6201 * manual/install.texi (Configuring and compiling): Mention
6202 --enable-pt_chown. Add @findex for grantpt.
6203 * INSTALL: Regenerate.
6205 2013-07-20 David S. Miller <davem@davemloft.net>
6207 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6208 difference between 32-bit and 64-bit.
6210 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6213 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6214 Avoid system header dependency with -ffreestanding.
6215 ($(objpfx)bits/syscall%d): Likewise.
6217 2013-07-13 David S. Miller <davem@davemloft.net>
6219 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6220 underflows from atanl/atan2l due to bug 15319.
6221 (casinh_test_data): Likewise.
6223 2013-07-07 David S. Miller <davem@davemloft.net>
6225 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6227 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6234 * configure.in (--enable-lock-elision): Fix message text.
6235 * INSTALL: Regenerate.
6236 * configure: Regenerate.
6238 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6242 2013-07-03 Andreas Jaeger <aj@suse.de>
6244 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6246 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6247 (ptrace_peeksiginfo_args): Add.
6248 (__ptrace_peeksiginfo_flags): Add.
6249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6253 2013-07-03 Allan McRae <allan@archlinux.org>
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6257 2013-07-02 David S. Miller <davem@davemloft.net>
6259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6261 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6265 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6267 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6270 2013-07-02 Andi Kleen <ak@linux.intel.com>
6272 * config.h.in (ENABLE_LOCK_ELISION): Add.
6273 * configure.in (--enable-lock-elision): Add option.
6274 * manual/install.texi: Document --enable lock elision.
6275 * configure: Regenerate
6276 * INSTALL: Regenerate.
6278 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6280 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6281 SSE4.2 strcasecmp for libc.a.
6282 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6284 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6287 * soft-fp/op-common.h (_FP_FMA): New macro.
6288 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6289 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6290 (_FP_MUL_MEAT_1_imm): ... here.
6291 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6292 (_FP_MUL_MEAT_1_wide): ... here.
6293 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6294 (_FP_MUL_MEAT_1_hard): ... here.
6295 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6296 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6297 (_FP_MUL_MEAT_2_wide): ... here.
6298 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6299 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6300 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6301 (_FP_MUL_MEAT_2_gmp): ... here.
6302 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6303 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6304 (_FP_MUL_MEAT_4_wide): ... here.
6305 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6306 (_FP_MUL_MEAT_4_gmp): ... here.
6307 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6308 (_FP_WFRACBITS_DW_S): Likewise.
6309 (_FP_WFRACXBITS_DW_S): Likewise.
6310 (_FP_HIGHBIT_DW_S): Likewise.
6311 (FP_FMA_S): Likewise.
6312 (_FP_FRAC_HIGH_DW_S): Likewise.
6313 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6314 (_FP_WFRACBITS_DW_D): Likewise.
6315 (_FP_WFRACXBITS_DW_D): Likewise.
6316 (_FP_HIGHBIT_DW_D): Likewise.
6317 (FP_FMA_D): Likewise.
6318 (_FP_FRAC_HIGH_DW_D): Likewise.
6319 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6320 (_FP_WFRACBITS_DW_E): Likewise.
6321 (_FP_WFRACXBITS_DW_E): Likewise.
6322 (_FP_HIGHBIT_DW_E): Likewise.
6323 (FP_FMA_E): Likewise.
6324 (_FP_FRAC_HIGH_DW_E): Likewise.
6325 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6326 (_FP_WFRACBITS_DW_Q): Likewise.
6327 (_FP_WFRACXBITS_DW_Q): Likewise.
6328 (_FP_HIGHBIT_DW_Q): Likewise.
6329 (FP_FMA_Q): Likewise.
6330 (_FP_FRAC_HIGH_DW_Q): Likewise.
6331 * soft-fp/fmasf4.c: New file.
6332 * soft-fp/fmadf4.c: Likewise.
6333 * soft-fp/fmatf4.c: Likewise.
6335 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6338 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6342 (index_Slow_SSE4_2): Likewise.
6343 (index_Prefer_PMINUB_for_stringop): Likewise.
6344 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6345 bit_Slow_SSE4_2 is set.
6346 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6349 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6351 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6352 rtld_global._dl_hwcap2.
6353 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6355 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6356 POWER8 feature descriptions defined in _dl_hwcap2.
6357 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6358 string handling for POWER8 feature bits.
6359 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6360 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6361 _dl_powerpc_cap_flags.
6362 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6363 * sysdeps/powerpc/rtld-global-offsets.sym
6364 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6365 _dl_hwcap2 in the rtld_global_ro structure.
6367 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6369 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6370 hardware capabilities in support of AT_HWCAP2.
6371 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6372 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6374 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6375 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6376 explicitly the unknown a_type display mechanism is used.
6377 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6378 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6380 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6381 to macro prototype for AT_HWCAP2 support.
6382 * sysdeps/i386/dl-procinfo.h: Likewise.
6383 * sysdeps/s390/dl-procinfo.h: Likewise.
6384 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6385 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6386 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6387 return -1 for unknown a_type display fallback.
6388 * sysdeps/sparc/dl-procinfo.h: Likewise.
6389 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6390 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6392 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6395 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6397 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6400 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6401 mprotect making __stack_prot writable.
6403 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6404 Joseph Myers <joseph@codesourcery.com>
6406 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6407 as being properly aligned.
6409 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6411 * dlfcn/modstatic5.c: New file.
6412 * dlfcn/tststatic5.c: New file.
6413 * dlfcn/Makefile (tests): Add tststatic5.
6414 (tests-static): Likewise.
6415 (modules-names): Add modstatic5.
6416 (tststatic5-ENV): New variable.
6417 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6420 * elf/dl-support.c (_dl_main_map): New variable.
6421 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6422 (_dl_nns, _dl_load_adds): Set to 1.
6423 (_dl_initial_searchlist): Refer to _dl_main_map.
6424 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6425 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6426 call to _dl_get_origin.
6427 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6429 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6430 * dlfcn/modstatic3.c: New file.
6431 * dlfcn/tststatic3.c: New file.
6432 * dlfcn/tststatic4.c: New file.
6433 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6434 (tests-static): Likewise.
6435 (modules-names): Add modstatic3.
6436 (tststatic3-ENV, tststatic4-ENV): New variables.
6437 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6438 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6440 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6442 * configure.in (CC): Require GCC version 4.4 or later.
6443 * configure: Regenerated.
6444 * manual/install.texi (Tools for Compilation): Update GCC version
6446 * INSTALL: Regenerated.
6448 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6451 * string/test-memcmp.c (check2): New.
6452 (main): Call check2.
6454 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6456 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6459 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6461 (dl_open_worker) [!SHARED]: ... here.
6463 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6465 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6467 2013-06-25 Richard Henderson <rth@redhat.com>
6469 * locale/programs/locarchive.c: Include <libc-internal.h>
6471 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6473 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6474 trailing whitespace removed.
6476 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6479 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6480 * locale/programs/locarchive.c: Include libc-mmap.h.
6481 (prepare_address_space): Take two new outputs (the mmap base and len).
6482 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6484 (create_archive): Declare new mmap base and len values for
6485 prepare_address_space, and store the result in ah.
6486 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6487 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6488 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6489 Declare new mmap base and len values for
6490 prepare_address_space, and store the result in new_ah.
6491 (open_archive): Declare new mmap base and len values for
6492 prepare_address_space, and store the result in ah.
6493 (close_archive): If ah->mmap_base is not NULL, use that and
6494 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6495 * sysdeps/generic/libc-mmap.h: New file.
6497 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6499 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6500 (ALIGN_UP): Likewise.
6501 (PTR_ALIGN_DOWN): Likewise.
6502 (PTR_ALIGN_UP): Likewise.
6504 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6507 entry mapped to PPC_PLATFORM_POWER8.
6508 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6510 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6511 (_dl_string_platform): Add case for exporting platform position for
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6514 search path to sysdeps/powerpc/powerpc32/power8 directory.
6515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6516 search path to sysdeps/powerpc/powerpc64/power8 directory.
6517 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6519 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6522 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6524 * INSTALL: Regenerate.
6526 * nscd/connections.c (nscd_init): Fix comment.
6528 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6530 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6533 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6534 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6536 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6538 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6540 (DL_DST_REQ_STATIC): Remove macro.
6542 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6545 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6546 with a shift of 0 bits.
6548 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6550 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6553 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6556 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6558 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6561 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6562 accepts -fno-tree-loop-distribute-patterns.
6563 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6564 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6566 * string/memset.c (memset): Likewise.
6567 * string/test-memmove.c (simple_memmove): Disable loop transformation
6569 * string/test-memset.c (simple_memset): Likewise.
6570 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6571 * benchtests/bench-memset.c (simple_memset): Likewise.
6572 * configure: Regenerated.
6574 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6576 * math/test-misc.c (main): Ignore fesetround failure when failures
6577 of subsequent rounding tests would be ignored.
6580 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6581 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6582 * math/fegetenv.c (__fegetenv): Return 0.
6583 * math/fegetexcept.c (fegetexcept): Return 0.
6584 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6586 * math/feholdexcpt.c (feholdexcept): Return 0.
6587 * math/fesetenv.c (__fesetenv): Return 0.
6588 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6589 argument FE_TONEAREST.
6590 * math/feupdateenv.c (__feupdateenv): Return 0.
6591 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6593 2013-06-18 Roland McGrath <roland@hack.frob.com>
6595 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6596 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6597 ($(objpfx)rtld-%.os rules): Use them.
6599 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6604 2013-06-17 Roland McGrath <roland@hack.frob.com>
6606 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6607 length of target pattern, then descending length of dependency pattern.
6608 * configure.in (AWK): Require gawk 3.1.2 or newer.
6609 * manual/install.texi (Tools for Compilation): Say that we do.
6610 * configure: Regenerated.
6612 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6613 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6614 * scripts/sysd-rules.awk: ... this new script.
6615 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6616 than a glob-style pattern.
6618 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6620 * math/test-misc.c (main): Do not treat incorrectly rounded
6621 conversions as failure unless ROUNDING_TESTS passes.
6623 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6626 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6627 restore exception state around main square root computation, then
6628 check for inexactness explicitly.
6630 * math/libm-test.inc (fma_test_data): Add another test.
6632 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6634 * manual/threads.texi (Non-POSIX Extensions): New document
6635 node. Document pthread_getattr_default_np and
6636 pthread_setattr_default_np.
6638 * Versions.def (libpthread): Add GLIBC_2.18.
6639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6659 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6662 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6664 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 H.J. Lu <hjl.tools@gmail.com>
6668 * sysdeps/x86_64/rtld-memset.c: Remove file.
6669 * sysdeps/x86_64/rtld-memset.S: New file.
6671 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6673 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6674 (test_in_one_mode): Take arguments for whether the rounding mode
6675 is supported for each floating-point type.
6676 (do_test): Pass new arguments to test_in_one_mode using
6679 2013-06-13 Roland McGrath <roland@hack.frob.com>
6681 * posix/tst-waitid.c (do_test): Distinguish different instances of
6682 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6683 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6684 before entering the kernel for waitpid.
6686 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 * NEWS: Fix note on clock function precision. Text by Roland
6691 2013-06-13 Roland McGrath <roland@hack.frob.com>
6693 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6694 it into place only when and if the sanity check passes.
6696 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6698 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6699 output for whether conversion result is exact. Take argument
6700 indicating whether type is IBM long double.
6701 (round_for_all): Change need_exact field to ibm_ld.
6702 * stdlib/tst-strtod-round.c (struct exactness): New type.
6703 (struct test): Change bool ld_ok field to struct exactness exact.
6704 (TEST): Update all definitions for change to field.
6705 (tests): Regenerate array contents.
6706 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6707 field value. Check for IBM long double here.
6708 (do_test): Update calls to test_in_one_mode.
6710 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6713 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6714 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6716 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6720 generated by the compiler on loop optimizations.
6721 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6722 general definitions.
6724 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6726 * math/bug-nextafter.c: Include <math-tests.h>.
6727 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6729 * math/bug-nexttoward.c: Include <math-tests.h>.
6730 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6732 * math/test-misc.c: Include <math-tests.h>.
6733 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6736 2013-06-12 Andreas Jaeger <aj@suse.de>
6738 * po/ia.po: Update Interlingua translation from translation
6741 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6743 * include/fenv.h: Include stdbool.h.
6744 (struct rm_ctx): New structure.
6745 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6747 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6748 (SET_RESTORE_ROUNDF): Likewise.
6749 (SET_RESTORE_ROUNDL): Likewise.
6750 (SET_RESTORE_ROUND_NOEX): Likewise.
6751 (SET_RESTORE_ROUND_NOEXF): Likewise.
6752 (SET_RESTORE_ROUND_NOEXL): Likewise.
6753 (SET_RESTORE_ROUND_53BIT): Likewise.
6754 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6755 (libc_feresetround_noexf_ctx): Likewise.
6756 (libc_feresetround_noexl_ctx): Likewise.
6757 (libc_feholdsetround_53bit_ctx): Likewise.
6758 (libc_feresetround_53bit_ctx): Likewise.
6759 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6760 (libc_feholdexcept_setround_sse_ctx): New function.
6761 (libc_fesetenv_sse_ctx): Likewise.
6762 (libc_feupdateenv_sse_ctx): Likewise.
6763 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6764 (libc_feholdexcept_setround_387_ctx): Likewise.
6765 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6766 (libc_feholdsetround_387_prec_ctx): Likewise.
6767 (libc_feholdsetround_387_ctx): Likewise.
6768 (libc_feholdsetround_387_53bit_ctx): Likewise.
6769 (libc_feholdsetround_sse_ctx): Likewise.
6770 (libc_feresetround_sse_ctx): Likewise.
6771 (libc_feresetround_387_ctx): Likewise.
6772 (libc_feupdateenv_387_ctx): Likewise.
6773 (libc_feholdexcept_setroundf_ctx): Define macro.
6774 (libc_fesetenvf_ctx): Likewise.
6775 (libc_feupdateenvf_ctx): Likewise.
6776 (libc_feholdsetroundf_ctx): Likewise.
6777 (libc_feresetroundf_ctx): Likewise.
6778 (libc_feholdexcept_setround_ctx): Likewise.
6779 (libc_fesetenv_ctx): Likewise.
6780 (libc_feupdateenv_ctx): Likewise.
6781 (libc_feholdsetround_ctx): Likewise.
6782 (libc_feresetround_ctx): Likewise.
6783 (libc_feholdexcept_setroundl_ctx): Likewise.
6784 (libc_feupdateenvl_ctx): Likewise.
6785 (libc_feholdsetroundl_ctx): Likewise.
6786 (libc_feresetroundl_ctx): Likewise.
6787 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6788 (libc_feresetround_53bit_ctx): Likewise.
6790 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6792 * locale/iso-639.def: Convert to UTF-8.
6794 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6796 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6797 (EXCEPTION_TESTS_double): Likewise.
6798 (EXCEPTION_TESTS_long_double): Likewise.
6799 (EXCEPTION_TESTS): Likewise.
6800 * math/libm-test.inc (test_exceptions): Only test exceptions if
6801 EXCEPTION_TESTS (FLOAT).
6803 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6805 * benchtests/Makefile (string-bench): Add strcpy_chk and
6807 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6808 * benchtests/bench-stpcpy_chk.c: New file.
6809 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6810 * benchtests/bench-strcpy_chk.c: New file.
6811 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6813 (do_test): Likewise.
6815 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6817 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6818 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6819 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6820 with tabs where appropriate.
6821 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6823 [PPC_PLATFORM_PPC440]: Likewise.
6824 [PPC_PLATFORM_PPC464]: Likewise.
6825 [PPC_PLATFORM_PPC476]: Likewise.
6826 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6827 ppc464, and ppc476 platform strings merging from ports/
6830 2013-06-11 Andreas Schwab <schwab@suse.de>
6833 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6834 (from_ucs4_idx): Regenerate.
6835 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6836 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6837 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6838 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6839 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6840 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6841 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6842 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6843 from FROM_LOOP and TO_LOOP specific macros.
6844 (BODY): Handle combining characters.
6845 * iconvdata/BIG5HKSCS.irreversible: Update.
6846 * iconvdata/BIG5HKSCS.precomposed: New file.
6847 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6849 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6851 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6853 * include/sys/time.h: Fix indentation and add copyright header.
6855 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6856 (do_test): Likewise.
6857 * string/test-memchr.c (do_one_test): Likewise.
6858 (do_test): Likewise.
6859 * string/test-memcmp.c (do_one_test): Likewise.
6860 (do_test): Likewise.
6861 * string/test-memcpy.c (do_one_test): Likewise.
6862 (do_test): Likewise.
6863 * string/test-memmem.c (do_one_test): Likewise.
6864 (do_test): Likewise.
6865 (do_random_tests): Likewise.
6866 * string/test-memmove.c (do_one_test): Likewise.
6867 (do_test): Likewise.
6868 * string/test-memset.c (do_one_test): Likewise.
6869 (do_test): Likewise.
6870 * string/test-rawmemchr.c (do_one_test): Likewise.
6871 (do_test): Likewise.
6872 * string/test-strcasecmp.c (do_one_test): Likewise.
6873 (do_test): Likewise.
6874 * string/test-strcasestr.c (do_one_test): Likewise.
6875 (do_test): Likewise.
6876 * string/test-strcat.c (do_one_test): Likewise.
6877 (do_test): Likewise.
6878 * string/test-strchr.c (do_one_test): Likewise.
6879 (do_test): Likewise.
6880 * string/test-strcmp.c (do_one_test): Likewise.
6881 (do_test): Likewise.
6882 * string/test-strcpy.c (do_one_test): Likewise.
6883 (do_test): Likewise.
6884 * string/test-string.h: Likewise.
6885 (test_init): Likewise.
6886 * string/test-strlen.c (do_one_test): Likewise.
6887 (do_test): Likewise.
6888 * string/test-strncasecmp.c (do_one_test): Likewise.
6889 (do_test): Likewise.
6890 * string/test-strncat.c (do_one_test): Likewise.
6891 (do_test): Likewise.
6892 * string/test-strncmp.c (do_one_test): Likewise.
6893 (do_test_limit): Likewise.
6894 (do_test): Likewise.
6895 * string/test-strncpy.c (do_one_test): Likewise.
6896 (do_test): Likewise.
6897 * string/test-strnlen.c (do_one_test): Likewise.
6898 (do_test): Likewise.
6899 * string/test-strpbrk.c (do_one_test): Likewise.
6900 (do_test): Likewise.
6901 * string/test-strrchr.c (do_one_test): Likewise.
6902 (do_test): Likewise.
6903 * string/test-strspn.c (do_one_test): Likewise.
6904 (do_test): Likewise.
6905 * string/test-strstr.c (do_one_test): Likewise.
6906 (do_test): Likewise.
6908 * benchtests/Makefile (string-bench): Add string benchmarks.
6909 * benchtests/bench-bcopy-ifunc.c: New file.
6910 * benchtests/bench-bcopy.c: New file.
6911 * benchtests/bench-bzero-ifunc.c: New file.
6912 * benchtests/bench-bzero.c: New file.
6913 * benchtests/bench-memccpy-ifunc.c: New file.
6914 * benchtests/bench-memccpy.c: New file.
6915 * benchtests/bench-memchr-ifunc.c: New file.
6916 * benchtests/bench-memchr.c: New file.
6917 * benchtests/bench-memcmp-ifunc.c: New file.
6918 * benchtests/bench-memcmp.c: New file.
6919 * benchtests/bench-memmem-ifunc.c: New file.
6920 * benchtests/bench-memmem.c: New file.
6921 * benchtests/bench-memmove-ifunc.c: New file.
6922 * benchtests/bench-memmove.c: New file.
6923 * benchtests/bench-mempcpy-ifunc.c: New file.
6924 * benchtests/bench-mempcpy.c: New file.
6925 * benchtests/bench-memset-ifunc.c: New file.
6926 * benchtests/bench-memset.c: New file.
6927 * benchtests/bench-rawmemchr-ifunc.c: New file.
6928 * benchtests/bench-rawmemchr.c: New file.
6929 * benchtests/bench-stpcpy-ifunc.c: New file.
6930 * benchtests/bench-stpcpy.c: New file.
6931 * benchtests/bench-stpncpy-ifunc.c: New file.
6932 * benchtests/bench-stpncpy.c: New file.
6933 * benchtests/bench-strcasecmp-ifunc.c: New file.
6934 * benchtests/bench-strcasecmp.c: New file.
6935 * benchtests/bench-strcasestr-ifunc.c: New file.
6936 * benchtests/bench-strcasestr.c: New file.
6937 * benchtests/bench-strcat-ifunc.c: New file.
6938 * benchtests/bench-strcat.c: New file.
6939 * benchtests/bench-strchr-ifunc.c: New file.
6940 * benchtests/bench-strchr.c: New file.
6941 * benchtests/bench-strchrnul-ifunc.c: New file.
6942 * benchtests/bench-strchrnul.c: New file.
6943 * benchtests/bench-strcmp-ifunc.c: New file.
6944 * benchtests/bench-strcmp.c: New file.
6945 * benchtests/bench-strcpy-ifunc.c: New file.
6946 * benchtests/bench-strcpy.c: New file.
6947 * benchtests/bench-strcspn-ifunc.c: New file.
6948 * benchtests/bench-strcspn.c: New file.
6949 * benchtests/bench-strlen-ifunc.c: New file.
6950 * benchtests/bench-strlen.c: New file.
6951 * benchtests/bench-strncasecmp-ifunc.c: New file.
6952 * benchtests/bench-strncasecmp.c: New file.
6953 * benchtests/bench-strncat-ifunc.c: New file.
6954 * benchtests/bench-strncat.c: New file.
6955 * benchtests/bench-strncmp-ifunc.c: New file.
6956 * benchtests/bench-strncmp.c: New file.
6957 * benchtests/bench-strncpy-ifunc.c: New file.
6958 * benchtests/bench-strncpy.c: New file.
6959 * benchtests/bench-strnlen-ifunc.c: New file.
6960 * benchtests/bench-strnlen.c: New file.
6961 * benchtests/bench-strpbrk-ifunc.c: New file.
6962 * benchtests/bench-strpbrk.c: New file.
6963 * benchtests/bench-strrchr-ifunc.c: New file.
6964 * benchtests/bench-strrchr.c: New file.
6965 * benchtests/bench-strspn-ifunc.c: New file.
6966 * benchtests/bench-strspn.c: New file.
6967 * benchtests/bench-strstr-ifunc.c: New file.
6968 * benchtests/bench-strstr.c: New file.
6970 * benchtests/Makefile: Disable parallel execution of targets.
6971 (string-bench): Add memcpy.
6972 (benchset): New variable to store a list of benchmark sets.
6973 (bench-func): Renamed from bench.
6974 (bench-set): New target.
6975 (bench): Depend on bench-func and bench-set.
6976 * benchtests/README: Add section on benchmark sets.
6977 * benchtests/bench-memcpy-ifunc.c: New file.
6978 * benchtests/bench-memcpy.c: New file.
6979 * benchtests/bench-string.h: New file.
6981 2013-06-11 Andreas Schwab <schwab@suse.de>
6984 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6985 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6986 values in the triple.
6987 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6988 terminator in the group key.
6990 2013-06-11 Andreas Jaeger <aj@suse.de>
6992 * po/zh_TW.po: Update Chinese (traditional) translation from
6993 translation project.
6995 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6997 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6998 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6999 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7001 (clock_getcpuclockid): Likewise.
7002 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7003 Add weak_alias and libc_hidden_def.
7004 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7005 * rt/clock_gettime.c (clock_gettime): Rename to
7006 __clock_gettime. Add weak_alias and libc_hidden_def.
7007 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7008 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7009 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7010 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7011 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7013 * rt/clock_settime.c (clock_settime): Rename to
7014 __clock_settime. Add weak_alias and libc_hidden_def.
7015 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7017 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7019 * mach/err_boot.sub: Remove trailing whitespace.
7020 * mach/err_ipc.sub: Likewise.
7021 * mach/err_mach.sub: Likewise.
7023 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7024 (ROUNDING_TESTS_double): Likewise.
7025 (ROUNDING_TESTS_long_double): Likewise.
7026 (ROUNDING_TESTS): Likewise.
7027 * math/libm-test.inc: Include <math-tests.h>.
7028 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7029 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7033 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7035 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7038 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7040 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7041 otherwise empty TRANS lines.
7042 * sysdeps/gnu/errlist.c: Regenerated.
7044 * catgets/gencat.c (error_print): Use (void) in function
7046 * crypt/crypt_util.c (__init_des): Likewise.
7047 * crypt/speeds.c (Stop): Likewise.
7049 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7050 * inet/ruserpass.c (token): Likewise.
7051 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7052 * intl/localealias.c (extend_alias_table): Likewise.
7053 * intl/plural-exp.c (init_germanic_plural): Likewise.
7054 * libio/fcloseall.c (__fcloseall): Likewise.
7055 * libio/genops.c (_IO_flush_all): Likewise.
7056 (_IO_flush_all_linebuffered): Likewise.
7057 (_IO_cleanup): Likewise.
7058 (_IO_iter_begin): Likewise.
7059 (_IO_iter_end): Likewise.
7060 (_IO_list_lock): Likewise.
7061 (_IO_list_unlock): Likewise.
7062 (_IO_list_resetlock): Likewise.
7063 * libio/getchar.c (getchar): Likewise.
7064 * libio/getchar_u.c (getchar_unlocked): Likewise.
7065 * libio/getwchar.c (getwchar): Likewise.
7066 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7067 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7068 * login/getpt.c (__getpt): Likewise.
7069 * login/tst-utmp.c (main): Likewise.
7070 * malloc/hooks.c (__malloc_check_init): Likewise.
7071 * malloc/malloc.c (__malloc_stats): Likewise.
7072 * malloc/mtrace.c (tr_break): Likewise.
7074 (muntrace): Likewise.
7075 * misc/fstab.c (endfsent): Likewise.
7076 * misc/getclktck.c (__getclktck): Likewise.
7077 * misc/getdtsz.c (__getdtablesize): Likewise.
7078 * misc/gethostid.c (gethostid): Likewise.
7079 * misc/getpagesize.c (__getpagesize): Likewise.
7080 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7081 (__get_nprocs): Likewise.
7082 (__get_phys_pages): Likewise.
7083 (__get_avphys_pages): Likewise.
7084 * misc/getttyent.c (getttyent): Likewise.
7085 (setttyent): Likewise.
7086 (endttyent): Likewise.
7087 * misc/getusershell.c (getusershell): Likewise.
7088 (endusershell): Likewise.
7089 (setusershell): Likewise.
7090 (initshells): Likewise.
7091 * misc/hsearch.c (__hdestroy): Likewise.
7092 * misc/sync.c (sync): Likewise.
7093 * misc/syslog.c (closelog_internal): Likewise.
7094 (closelog): Likewise.
7095 * misc/ttyslot.c (ttyslot): Likewise.
7096 * misc/vhangup.c (vhangup): Likewise.
7097 * posix/fork.c (__fork): Likewise.
7098 * posix/getegid.c (__getegid): Likewise.
7099 * posix/geteuid.c (__geteuid): Likewise.
7100 * posix/getgid.c (__getgid): Likewise.
7101 * posix/getpid.c (__getpid): Likewise.
7102 * posix/getppid.c (__getppid): Likewise.
7103 * posix/getuid.c (__getuid): Likewise.
7104 * posix/pause.c (pause): Likewise.
7105 * posix/setpgrp.c (setpgrp): Likewise.
7106 * posix/setsid.c (__setsid): Likewise.
7107 * posix/test-vfork.c (noop): Likewise.
7108 * resolv/gethnamaddr.c (_endhtent): Likewise.
7109 (_gethtent): Likewise.
7110 (ht_endhostent): Likewise.
7111 (gethostent): Likewise.
7112 (dns_service): Likewise.
7113 * stdlib/drand48.c (drand48): Likewise.
7114 * stdlib/lrand48.c (lrand48): Likewise.
7115 * stdlib/mrand48.c (mrand48): Likewise.
7116 * stdlib/rand.c (rand): Likewise.
7117 * stdlib/random.c (__random): Likewise.
7118 * stdlib/setenv.c (clearenv): Likewise.
7119 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7120 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7121 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7122 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7123 (__get_nprocs): Likewise.
7124 (__get_phys_pages): Likewise.
7125 (__get_avphys_pages): Likewise.
7126 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7127 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7128 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7129 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7130 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7131 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7132 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7133 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7134 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7135 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7136 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7137 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7138 * sysdeps/posix/clock.c (clock): Likewise.
7139 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7140 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7141 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7142 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7143 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7145 (__get_nprocs_conf): Likewise.
7146 (__get_phys_pages): Likewise.
7147 (__get_avphys_pages): Likewise.
7148 * time/clock.c (clock): Likewise.
7149 * time/tzset.c (__tzname_max): Likewise.
7151 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7153 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7154 (__bswap_32): Do not use "register".
7155 * crypt/crypt.c (_ufc_doit_r): Likewise.
7156 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7157 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7158 * gmon/gmon.c (__monstartup): Likewise.
7159 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7160 * hurd/hurdmalloc.c (more_memory): Likewise.
7163 (realloc): Likewise.
7164 (malloc_fork_prepare): Likewise.
7165 (malloc_fork_parent): Likewise.
7166 (malloc_fork_child): Likewise.
7167 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7168 (_svcauth_des): Likewise.
7169 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7170 * inet/inet_net.c (inet_network): Likewise.
7171 * inet/inet_netof.c (inet_netof): Likewise.
7172 * inet/rcmd.c (__validuser2_sa): Likewise.
7173 * io/fts.c (fts_open): Likewise.
7174 (fts_load): Likewise.
7175 (fts_close): Likewise.
7176 (fts_read): Likewise.
7177 (fts_children): Likewise.
7178 (fts_build): Likewise.
7179 (fts_stat): Likewise.
7180 (fts_sort): Likewise.
7181 (fts_alloc): Likewise.
7182 (fts_lfree): Likewise.
7183 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7184 (_IO_file_xsgetn): Likewise.
7185 (_IO_file_xsgetn_mmap): Likewise.
7186 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7187 (_IO_cookie_write): Likewise.
7188 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7189 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7190 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7191 * malloc/obstack.c (_obstack_begin): Likewise.
7192 (_obstack_begin_1): Likewise.
7193 (_obstack_newchunk): Likewise.
7194 (_obstack_allocated_p): Likewise.
7195 (obstack_free): Likewise.
7196 (_obstack_memory_used): Likewise.
7197 * misc/getttyent.c (getttynam): Likewise.
7198 (getttyent): Likewise.
7201 * misc/getusershell.c (initshells): Likewise.
7202 * misc/syslog.c (__vsyslog_chk): Likewise.
7203 * misc/ttyslot.c (ttyslot): Likewise.
7204 * nis/nis_hash.c (__nis_hash): Likewise.
7205 * posix/fnmatch_loop.c (FCT): Likewise.
7206 * posix/getconf.c (print_all): Likewise.
7208 * posix/getopt.c (exchange): Likewise.
7209 * posix/glob.c (globfree): Likewise.
7210 (prefix_array): Likewise.
7211 (__glob_pattern_type): Likewise.
7212 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7213 (NS_GET32): Likewise.
7214 (NS_PUT16): Likewise.
7215 (NS_PUT32): Likewise.
7216 * resolv/gethnamaddr.c (getanswer): Likewise.
7217 (gethostbyname2): Likewise.
7218 (gethostbyaddr): Likewise.
7219 (_gethtent): Likewise.
7220 (_gethtbyname2): Likewise.
7221 (_gethtbyaddr): Likewise.
7222 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7223 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7224 * resolv/res_init.c (__res_vinit): Likewise.
7225 (net_mask): Likewise.
7226 * resolv/res_mkquery.c (outchar): Likewise.
7228 * stdio-common/printf_fp.c (outchar): Likewise.
7230 * stdio-common/printf_fphex.c (outchar): Likewise.
7232 * stdio-common/printf_size.c (outchar): Likewise.
7234 * stdio-common/test_rdwr.c (main): Likewise.
7235 * stdio-common/tfformat.c (matches): Likewise.
7236 * stdio-common/vfprintf.c (outchar): Likewise.
7237 (printf_unknown): Likewise.
7238 (buffered_vfprintf): Likewise.
7239 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7240 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7241 (ReadFile): Likewise.
7242 * stdlib/qsort.c (SWAP): Likewise.
7243 (_quicksort): Likewise.
7244 * stdlib/setenv.c (__add_to_environ): Likewise.
7245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7246 * stdlib/strtol_l.c (__strtol_l): Likewise.
7247 * stdlib/tst-strtod.c (main): Likewise.
7248 * stdlib/tst-strtol.c (main): Likewise.
7249 * stdlib/tst-strtoll.c (main): Likewise.
7250 * string/bits/string2.h (__strcmp_cc): Likewise.
7251 (__strcmp_cg): Likewise.
7252 (__strcspn_c1): Likewise.
7253 (__strcspn_c2): Likewise.
7254 (__strcspn_c3): Likewise.
7255 (__strspn_c1): Likewise.
7256 (__strspn_c2): Likewise.
7257 (__strspn_c3): Likewise.
7258 (__strsep_1c): Likewise.
7259 (__strsep_2c): Likewise.
7260 (__strsep_3c): Likewise.
7261 * string/memccpy.c (__memccpy): Likewise.
7262 * string/stpcpy.c (__stpcpy): Likewise.
7263 * string/strcmp.c (strcmp): Likewise.
7264 * string/strrchr.c (strrchr): Likewise.
7265 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7267 * sysdeps/mach/hurd/getcwd.c
7268 (_hurd_canonicalize_directory_name_internal): Likewise.
7269 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7270 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7272 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7273 Likewise, in both definitions.
7274 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7276 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7277 64] (__bswap_64): Likewise.
7278 * time/test_time.c (main): Likewise.
7279 * time/tzfile.c (__tzfile_read): Likewise.
7280 (__tzfile_compute): Likewise.
7281 * time/tzset.c (__tzset_parse_tz): Likewise.
7282 (tzset_internal): Likewise.
7283 (compute_change): Likewise.
7284 * wcsmbs/wcscat.c (__wcscat): Likewise.
7285 * wcsmbs/wcschr.c (wcschr): Likewise.
7286 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7287 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7288 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7289 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7290 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7291 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7292 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7294 * wcsmbs/wmemset.c (wmemset): Likewise.
7296 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7298 * scripts/config.guess: Update to version 2013-05-16.
7299 * scripts/config.sub: Update to version 2013-04-24.
7300 * scripts/install-sh: Update to version 2011-11-20.07.
7301 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7302 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7304 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7306 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7307 * elf/sln.c: Likewise.
7308 * hurd/hurd/ioctl.h: Likewise.
7309 * hurd/hurdmalloc.c: Likewise.
7310 * hurd/xattr.c: Likewise.
7311 * include/shlib-compat.h: Likewise.
7312 * inet/ruserpass.c: Likewise.
7313 * libio/iofgets_u.c: Likewise.
7314 * libio/iofgetws_u.c: Likewise.
7315 * locale/programs/ld-identification.c: Likewise.
7316 * locale/programs/ld-time.c: Likewise.
7317 * mach/msg-destroy.c: Likewise.
7318 * nss/nss_files/files-netgrp.c: Likewise.
7319 * resolv/res_data.c: Likewise.
7320 * soft-fp/op-1.h: Likewise.
7321 * soft-fp/op-2.h: Likewise.
7322 * soft-fp/op-4.h: Likewise.
7323 * soft-fp/op-common.h: Likewise.
7324 * stdio-common/printf_fphex.c: Likewise.
7325 * stdlib/strtod_l.c: Likewise.
7326 * sunrpc/rpc/clnt.h: Likewise.
7327 * sysdeps/generic/framestate.c: Likewise.
7328 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7329 * sysdeps/i386/bsd-setjmp.S: Likewise.
7330 * sysdeps/i386/__longjmp.S: Likewise.
7331 * sysdeps/i386/setjmp.S: Likewise.
7332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7333 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7334 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7350 * sysdeps/ieee754/support.c: Likewise.
7351 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7352 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7353 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7354 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7355 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7356 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7357 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7358 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7359 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7360 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7361 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7362 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7363 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7366 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7367 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7370 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7372 * posix/transbug.c: Remove executable mode.
7374 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7376 * crypt/speeds.c: Remove trailing whitespace.
7377 * dlfcn/default.c: Likewise.
7378 * elf/ifuncdep2.c: Likewise.
7379 * elf/ifuncmain1.c: Likewise.
7380 * elf/ifuncmain1vis.c: Likewise.
7381 * elf/testobj.h: Likewise.
7382 * elf/tst-stackguard1.c: Likewise.
7383 * gmon/sys/gmon.h: Likewise.
7384 * hurd/hurdmsg.c: Likewise.
7385 * hurd/new-fd.c: Likewise.
7386 * hurd/ports-get.c: Likewise.
7387 * iconvdata/ibm1008_420.c: Likewise.
7388 * inet/tst-getni1.c: Likewise.
7389 * inet/tst-getni2.c: Likewise.
7390 * libio/ioungetc.c: Likewise.
7391 * libio/wfiledoalloc.c: Likewise.
7392 * manual/libm-err-tab.pl: Likewise.
7393 * math/w_dremf.c: Likewise.
7394 * misc/ftruncate.c: Likewise.
7395 * posix/bug-glob2.c: Likewise.
7396 * posix/tst-pcre.c: Likewise.
7397 * posix/wait4.c: Likewise.
7398 * resolv/README: Likewise.
7399 * resolv/res_debug.h: Likewise.
7400 * resolv/tst-inet_ntop.c: Likewise.
7401 * setjmp/bug269-setjmp.c: Likewise.
7402 * soft-fp/extended.h: Likewise.
7403 * soft-fp/op-1.h: Likewise.
7404 * soft-fp/op-2.h: Likewise.
7405 * soft-fp/op-4.h: Likewise.
7406 * soft-fp/op-8.h: Likewise.
7407 * soft-fp/testit.c: Likewise.
7408 * stdio-common/bug16.c: Likewise.
7409 * stdlib/random.c: Likewise.
7410 * sunrpc/rpcsvc/rquota.x: Likewise.
7411 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7412 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7414 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7417 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7440 * sysdeps/ieee754/s_lib_version.c: Likewise.
7441 * sysdeps/mach/hurd/check_fds.c: Likewise.
7442 * sysdeps/mach/hurd/getsockname.c: Likewise.
7443 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7444 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7445 * sysdeps/powerpc/bits/link.h: Likewise.
7446 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7447 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7448 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7449 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7450 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7452 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7453 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7454 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7455 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7456 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7457 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7458 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7459 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7460 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7461 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7467 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7469 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7480 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7481 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7482 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7484 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7486 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7487 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7488 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7489 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7490 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7498 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7502 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7505 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7509 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7510 * sysdeps/powerpc/sysdep.h: Likewise.
7511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7512 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7513 * sysdeps/sh/dl-trampoline.S: Likewise.
7514 * sysdeps/sh/memset.S: Likewise.
7515 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7516 * sysdeps/sh/strlen.S: Likewise.
7517 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7518 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7519 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7520 * sysdeps/sparc/sparc32/rem.S: Likewise.
7521 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7522 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7523 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7524 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7525 * sysdeps/sparc/sparc32/urem.S: Likewise.
7526 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7527 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7528 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7529 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7531 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7532 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7533 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7534 * sysdeps/unix/bsd/times.c: Likewise.
7535 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7536 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7541 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7542 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7544 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7547 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7549 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7551 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7553 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7554 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7555 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7556 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7558 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7559 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7560 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7561 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7563 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7564 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7565 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7566 * sysdeps/x86_64/strcspn.S: Likewise.
7568 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7570 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7571 generated file. Regenerate properly from gen-translit.pl.
7572 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7573 locale/C-translit.h.
7575 2013-06-05 Andreas Schwab <schwab@suse.de>
7578 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7579 week as 6 instead of -1.
7580 * time/tst-strptime.c (day_tests): Add test case.
7582 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 * sysdeps/generic/math_private.h
7585 (libc_feholdexcept_setround_53bit): Replace with
7586 libc_feholdsetround_53bit.
7587 (libc_feupdateenv_53bit): Replace with
7588 libc_feresetround_53bit.
7589 (SET_RESTORE_ROUND_53BIT): Adjust.
7591 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7593 * string/test-strchrnul.c: Add copyright header.
7595 * posix/tst-getaddrinfo4.c: Increase test timeout.
7597 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7600 * math/libm-test.inc (MAX_EXP): Remove
7602 (ulp): Use MIN_EXP - MANT_DIG.
7603 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7605 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7607 * po/be.po: Revert last change.
7608 * po/zh_CN.po: Likewise.
7609 * po/header.pot: Likewise.
7611 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7613 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7614 link-libc-deps to empty as target-specific variable.
7615 * Makerules (link-libc-args): New variable.
7616 (libc-for-link): Likewise.
7617 (link-libc-deps): Likewise.
7618 (lib%.so): Depend on $(link-libc-deps). Link with
7620 (build-module): Link with $(link-libc-args).
7621 (build-module-asneeded): Likewise.
7622 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7624 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7625 target-specific variable.
7626 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7627 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7628 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7630 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7632 ($(objpfx)libpcprofile.so): Likewise.
7633 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7635 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7636 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7639 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7640 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7641 * login/Makefile ($(objpfx)libutil.so): Likewise.
7642 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7643 * math/Makefile ($(objpfx)libm.so): Likewise.
7644 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7645 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7646 variable instead of depending directly on libc.
7647 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7648 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7650 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7652 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7653 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7654 ($(objpfx)libanl.so): Likewise.
7655 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7657 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7659 * sysdeps/i386/fpu/Makefile: Remove file.
7660 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7661 ($(objpfx)libm.so): Remove dependency on ld.so.
7663 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7666 * nis/yp_xdr.c (XDRMAXNAME): Define.
7667 (XDRMAXRECORD): Define.
7668 (xdr_domainname): Use XDRMAXNAME.
7669 (xdr_mapname): Likewise.
7670 (xdr_peername): Likewise.
7671 (xdr_keydat): Use XDRMAXRECORD.
7672 (xdr_valdat): Likewise.
7674 2013-05-30 Jeff Law <law@redhat.com>
7677 * manual/errno.texi (ESTALE): Update to account for more than
7678 just NFS file systems.
7679 * sysdeps/gnu/errlist.c: Regenerated.
7681 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7684 * elf/Makefile (tests): Add tst-null-argv.
7685 (modules-names): Add tst-null-argv-lib.
7686 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7687 (tst-null-argv-ENV): Set environment for tst-null-argv.
7688 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7689 (RTLD_PROGNAME): New macro.
7690 * elf/tst-null-argv.c: New test case.
7691 * elf/tst-null-argv-lib.c: Library for test case.
7692 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7693 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7694 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7695 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7696 * elf/dl-init.c (call_init): Likewise.
7697 (_dl_init): Likewise.
7698 * elf/dl-load.c (print_search_path): Likewise.
7699 (_dl_map_object): Likewise.
7700 * elf/dl-lookup.c (do_lookup_x): Likewise.
7701 (add_dependency): Likewise.
7702 (_dl_lookup_symbol_x): Likewise.
7703 (_dl_debug_bindings): Likewise.
7704 * elf/dl-open.c (_dl_show_scope): Likewise.
7705 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7706 * elf/dl-version.c (match_symbol): Likewise.
7707 (_dl_check_map_versions): Likewise.
7708 * elf/rtld.c (dl_main): Likewise.
7709 (print_unresolved): Use RTLD_PROGNAME.
7710 (print_missing_version): Likewise.
7711 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7712 (elf_machine_rela): Likewise.
7713 * sysdeps/powerpc/powerpc32/dl-machine.c
7714 (__process_machine_rela): Likewise.
7715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7728 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7730 * po/be.po: Add descriptive title.
7731 * po/zh_CN.po: Likewise.
7732 * po/header.pot: Likewise.
7734 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7736 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7738 (enlarge_archive): Likewise.
7740 2013-05-28 Ben North <ben@redfrontdoor.org>
7742 * manual/arith.texi (frexp): It is the magnitude of the return
7743 value which lies in [0.5, 1), not the return value itself.
7745 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7749 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7751 * stdio-common/bug26.c (main): Correct fscanf template.
7753 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7754 declare _dl_skip_args.
7756 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7759 * manual/platform.texi: Add missing @end deftypefun.
7761 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7764 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7765 bit of mantissa of 2^16382.
7766 * math/libm-test.inc (hypot_test_data): Add more tests.
7768 * math/libm-test.inc: Add drem and pow10 to list of tested
7770 (pow10_test): New function.
7771 (drem_test): Likewise.
7772 (drem_test_tonearest): Likewise.
7773 (drem_test_towardzero): Likewise.
7774 (drem_test_downward): Likewise.
7775 (drem_test_upward): Likewise.
7776 (main): Call the new functions.
7778 * math/libm-test.inc (finite_test_data): Remove.
7779 (finite_test): Run tests from isfinite_test_data.
7780 (gamma_test_data): Remove.
7781 (gamma_test): Run tests from lgamma_test_data.
7782 * sysdeps/i386/fpu/libm-test-ulps: Update.
7783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7785 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7787 * manual/platform.texi: Add PowerPC PPR function set documentation.
7788 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7791 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7793 * math/libm-test.inc (MAX_EXP): Define.
7795 (ulp): New function.
7796 (check_float_internal): Use ULPDIFF.
7797 (cpow_test): Disable failing test.
7798 (check_ulp): Test ulp() implemetnation.
7799 (main): Call check_ulp before starting tests.
7801 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7803 * math/gen-libm-test.pl (generate_testfile): Do not handle
7804 START_DATA and END_DATA.
7805 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7807 (acos_tonearest_test_data): Likewise.
7808 (acos_towardzero_test_data): Likewise.
7809 (acos_downward_test_data): Likewise.
7810 (acos_upward_test_data): Likewise.
7811 (acosh_test_data): Likewise.
7812 (asin_test_data): Likewise.
7813 (asin_tonearest_test_data): Likewise.
7814 (asin_towardzero_test_data): Likewise.
7815 (asin_downward_test_data): Likewise.
7816 (asin_upward_test_data): Likewise.
7817 (asinh_test_data): Likewise.
7818 (atan_test_data): Likewise.
7819 (atanh_test_data): Likewise.
7820 (atan2_test_data): Likewise.
7821 (cabs_test_data): Likewise.
7822 (cacos_test_data): Likewise.
7823 (cacosh_test_data): Likewise.
7824 (carg_test_data): Likewise.
7825 (casin_test_data): Likewise.
7826 (casinh_test_data): Likewise.
7827 (catan_test_data): Likewise.
7828 (catanh_test_data): Likewise.
7829 (cbrt_test_data): Likewise.
7830 (ccos_test_data): Likewise.
7831 (ccosh_test_data): Likewise.
7832 (ceil_test_data): Likewise.
7833 (cexp_test_data): Likewise.
7834 (cimag_test_data): Likewise.
7835 (clog_test_data): Likewise.
7836 (clog10_test_data): Likewise.
7837 (conj_test_data): Likewise.
7838 (copysign_test_data): Likewise.
7839 (cos_test_data): Likewise.
7840 (cos_tonearest_test_data): Likewise.
7841 (cos_towardzero_test_data): Likewise.
7842 (cos_downward_test_data): Likewise.
7843 (cos_upward_test_data): Likewise.
7844 (cosh_test_data): Likewise.
7845 (cosh_tonearest_test_data): Likewise.
7846 (cosh_towardzero_test_data): Likewise.
7847 (cosh_downward_test_data): Likewise.
7848 (cosh_upward_test_data): Likewise.
7849 (cpow_test_data): Likewise.
7850 (cproj_test_data): Likewise.
7851 (creal_test_data): Likewise.
7852 (csin_test_data): Likewise.
7853 (csinh_test_data): Likewise.
7854 (csqrt_test_data): Likewise.
7855 (ctan_test_data): Likewise.
7856 (ctan_tonearest_test_data): Likewise.
7857 (ctan_towardzero_test_data): Likewise.
7858 (ctan_downward_test_data): Likewise.
7859 (ctan_upward_test_data): Likewise.
7860 (ctanh_test_data): Likewise.
7861 (ctanh_tonearest_test_data): Likewise.
7862 (ctanh_towardzero_test_data): Likewise.
7863 (ctanh_downward_test_data): Likewise.
7864 (ctanh_upward_test_data): Likewise.
7865 (erf_test_data): Likewise.
7866 (erfc_test_data): Likewise.
7867 (exp_test_data): Likewise.
7868 (exp_tonearest_test_data): Likewise.
7869 (exp_towardzero_test_data): Likewise.
7870 (exp_downward_test_data): Likewise.
7871 (exp_upward_test_data): Likewise.
7872 (exp10_test_data): Likewise.
7873 (exp2_test_data): Likewise.
7874 (expm1_test_data): Likewise.
7875 (fabs_test_data): Likewise.
7876 (fdim_test_data): Likewise.
7877 (finite_test_data): Likewise.
7878 (floor_test_data): Likewise.
7879 (fma_test_data): Likewise.
7880 (fma_towardzero_test_data): Likewise.
7881 (fma_downward_test_data): Likewise.
7882 (fma_upward_test_data): Likewise.
7883 (fmax_test_data): Likewise.
7884 (fmin_test_data): Likewise.
7885 (fmod_test_data): Likewise.
7886 (fpclassify_test_data): Likewise.
7887 (frexp_test_data): Likewise.
7888 (gamma_test_data): Likewise.
7889 (hypot_test_data): Likewise.
7890 (ilogb_test_data): Likewise.
7891 (isfinite_test_data): Likewise.
7892 (isgreater_test_data): Likewise.
7893 (isgreaterequal_test_data): Likewise.
7894 (isinf_test_data): Likewise.
7895 (isless_test_data): Likewise.
7896 (islessequal_test_data): Likewise.
7897 (islessgreater_test_data): Likewise.
7898 (isnan_test_data): Likewise.
7899 (isnormal_test_data): Likewise.
7900 (issignaling_test_data): Likewise.
7901 (isunordered_test_data): Likewise.
7902 (j0_test_data): Likewise.
7903 (j1_test_data): Likewise.
7904 (jn_test_data): Likewise.
7905 (ldexp_test_data): Likewise.
7906 (lgamma_test_data): Likewise.
7907 (lrint_test_data): Likewise.
7908 (lrint_tonearest_test_data): Likewise.
7909 (lrint_towardzero_test_data): Likewise.
7910 (lrint_downward_test_data): Likewise.
7911 (lrint_upward_test_data): Likewise.
7912 (llrint_test_data): Likewise.
7913 (llrint_tonearest_test_data): Likewise.
7914 (llrint_towardzero_test_data): Likewise.
7915 (llrint_downward_test_data): Likewise.
7916 (llrint_upward_test_data): Likewise.
7917 (log_test_data): Likewise.
7918 (log10_test_data): Likewise.
7919 (log1p_test_data): Likewise.
7920 (log2_test_data): Likewise.
7921 (logb_test_data): Likewise.
7922 (logb_downward_test_data): Likewise.
7923 (lround_test_data): Likewise.
7924 (llround_test_data): Likewise.
7925 (modf_test_data): Likewise.
7926 (nearbyint_test_data): Likewise.
7927 (nextafter_test_data): Likewise.
7928 (nexttoward_test_data): Likewise.
7929 (pow_test_data): Likewise.
7930 (pow_tonearest_test_data): Likewise.
7931 (pow_towardzero_test_data): Likewise.
7932 (pow_downward_test_data): Likewise.
7933 (pow_upward_test_data): Likewise.
7934 (remainder_test_data): Likewise.
7935 (remainder_tonearest_test_data): Likewise.
7936 (remainder_towardzero_test_data): Likewise.
7937 (remainder_downward_test_data): Likewise.
7938 (remainder_upward_test_data): Likewise.
7939 (remquo_test_data): Likewise.
7940 (rint_test_data): Likewise.
7941 (rint_tonearest_test_data): Likewise.
7942 (rint_towardzero_test_data): Likewise.
7943 (rint_downward_test_data): Likewise.
7944 (rint_upward_test_data): Likewise.
7945 (round_test_data): Likewise.
7946 (scalb_test_data): Likewise.
7947 (scalbn_test_data): Likewise.
7948 (scalbln_test_data): Likewise.
7949 (signbit_test_data): Likewise.
7950 (sin_test_data): Likewise.
7951 (sin_tonearest_test_data): Likewise.
7952 (sin_towardzero_test_data): Likewise.
7953 (sin_downward_test_data): Likewise.
7954 (sin_upward_test_data): Likewise.
7955 (sincos_test_data): Likewise.
7956 (sinh_test_data): Likewise.
7957 (sinh_tonearest_test_data): Likewise.
7958 (sinh_towardzero_test_data): Likewise.
7959 (sinh_downward_test_data): Likewise.
7960 (sinh_upward_test_data): Likewise.
7961 (sqrt_test_data): Likewise.
7962 (tan_test_data): Likewise.
7963 (tan_tonearest_test_data): Likewise.
7964 (tan_towardzero_test_data): Likewise.
7965 (tan_downward_test_data): Likewise.
7966 (tan_upward_test_data): Likewise.
7967 (tanh_test_data): Likewise.
7968 (tgamma_test_data): Likewise.
7969 (trunc_test_data): Likewise.
7970 (y0_test_data): Likewise.
7971 (y1_test_data): Likewise.
7972 (yn_test_data): Likewise.
7973 (significand_test_data): Likewise.
7975 * math/gen-libm-test.pl (@functions): Remove variable.
7976 (generate_testfile): Don't handle START and END lines.
7977 * math/libm-test.inc (START): New macro.
7979 (END_COMPLEX): Likewise.
7980 (acos_test): Use END macro without arguments.
7981 (acos_test_tonearest): Likewise.
7982 (acos_test_towardzero): Likewise.
7983 (acos_test_downward): Likewise.
7984 (acos_test_upward): Likewise.
7985 (acosh_test): Likewise.
7986 (asin_test): Likewise.
7987 (asin_test_tonearest): Likewise.
7988 (asin_test_towardzero): Likewise.
7989 (asin_test_downward): Likewise.
7990 (asin_test_upward): Likewise.
7991 (asinh_test): Likewise.
7992 (atan_test): Likewise.
7993 (atanh_test): Likewise.
7994 (atan2_test): Likewise.
7995 (cabs_test): Likewise.
7996 (cacos_test): Use END_COMPLEX macro without arguments.
7997 (cacosh_test): Likewise.
7998 (carg_test): Use END macro without arguments.
7999 (casin_test): Use END_COMPLEX macro without arguments.
8000 (casinh_test): Likewise.
8001 (catan_test): Likewise.
8002 (catanh_test): Likewise.
8003 (cbrt_test): Use END macro without arguments.
8004 (ccos_test): Use END_COMPLEX macro without arguments.
8005 (ccosh_test): Likewise.
8006 (ceil_test): Use END macro without arguments.
8007 (cexp_test): Use END_COMPLEX macro without arguments.
8008 (cimag_test): Use END macro without arguments.
8009 (clog_test): Use END_COMPLEX macro without arguments.
8010 (clog10_test): Likewise.
8011 (conj_test): Likewise.
8012 (copysign_test): Use END macro without arguments.
8013 (cos_test): Likewise.
8014 (cos_test_tonearest): Likewise.
8015 (cos_test_towardzero): Likewise.
8016 (cos_test_downward): Likewise.
8017 (cos_test_upward): Likewise.
8018 (cosh_test): Likewise.
8019 (cosh_test_tonearest): Likewise.
8020 (cosh_test_towardzero): Likewise.
8021 (cosh_test_downward): Likewise.
8022 (cosh_test_upward): Likewise.
8023 (cpow_test): Use END_COMPLEX macro without arguments.
8024 (cproj_test): Likewise.
8025 (creal_test): Use END macro without arguments.
8026 (csin_test): Use END_COMPLEX macro without arguments.
8027 (csinh_test): Likewise.
8028 (csqrt_test): Likewise.
8029 (ctan_test): Likewise.
8030 (ctan_test_tonearest): Likewise.
8031 (ctan_test_towardzero): Likewise.
8032 (ctan_test_downward): Likewise.
8033 (ctan_test_upward): Likewise.
8034 (ctanh_test): Likewise.
8035 (ctanh_test_tonearest): Likewise.
8036 (ctanh_test_towardzero): Likewise.
8037 (ctanh_test_downward): Likewise.
8038 (ctanh_test_upward): Likewise.
8039 (erf_test): Use END macro without arguments.
8040 (erfc_test): Likewise.
8041 (exp_test): Likewise.
8042 (exp_test_tonearest): Likewise.
8043 (exp_test_towardzero): Likewise.
8044 (exp_test_downward): Likewise.
8045 (exp_test_upward): Likewise.
8046 (exp10_test): Likewise.
8047 (exp2_test): Likewise.
8048 (expm1_test): Likewise.
8049 (fabs_test): Likewise.
8050 (fdim_test): Likewise.
8051 (finite_test): Likewise.
8052 (floor_test): Likewise.
8053 (fma_test): Likewise.
8054 (fma_test_towardzero): Likewise.
8055 (fma_test_downward): Likewise.
8056 (fma_test_upward): Likewise.
8057 (fmax_test): Likewise.
8058 (fmin_test): Likewise.
8059 (fmod_test): Likewise.
8060 (fpclassify_test): Likewise.
8061 (frexp_test): Likewise.
8062 (gamma_test): Likewise.
8063 (hypot_test): Likewise.
8064 (ilogb_test): Likewise.
8065 (isfinite_test): Likewise.
8066 (isgreater_test): Likewise.
8067 (isgreaterequal_test): Likewise.
8068 (isinf_test): Likewise.
8069 (isless_test): Likewise.
8070 (islessequal_test): Likewise.
8071 (islessgreater_test): Likewise.
8072 (isnan_test): Likewise.
8073 (isnormal_test): Likewise.
8074 (issignaling_test): Likewise.
8075 (isunordered_test): Likewise.
8076 (j0_test): Likewise.
8077 (j1_test): Likewise.
8078 (jn_test): Likewise.
8079 (ldexp_test): Likewise.
8080 (lgamma_test): Likewise.
8081 (lrint_test): Likewise.
8082 (lrint_test_tonearest): Likewise.
8083 (lrint_test_towardzero): Likewise.
8084 (lrint_test_downward): Likewise.
8085 (lrint_test_upward): Likewise.
8086 (llrint_test): Likewise.
8087 (llrint_test_tonearest): Likewise.
8088 (llrint_test_towardzero): Likewise.
8089 (llrint_test_downward): Likewise.
8090 (llrint_test_upward): Likewise.
8091 (log_test): Likewise.
8092 (log10_test): Likewise.
8093 (log1p_test): Likewise.
8094 (log2_test): Likewise.
8095 (logb_test): Likewise.
8096 (logb_test_downward): Likewise.
8097 (lround_test): Likewise.
8098 (llround_test): Likewise.
8099 (modf_test): Likewise.
8100 (nearbyint_test): Likewise.
8101 (nextafter_test): Likewise.
8102 (nexttoward_test): Likewise.
8103 (pow_test): Likewise.
8104 (pow_test_tonearest): Likewise.
8105 (pow_test_towardzero): Likewise.
8106 (pow_test_downward): Likewise.
8107 (pow_test_upward): Likewise.
8108 (remainder_test): Likewise.
8109 (remainder_test_tonearest): Likewise.
8110 (remainder_test_towardzero): Likewise.
8111 (remainder_test_downward): Likewise.
8112 (remainder_test_upward): Likewise.
8113 (remquo_test): Likewise.
8114 (rint_test): Likewise.
8115 (rint_test_tonearest): Likewise.
8116 (rint_test_towardzero): Likewise.
8117 (rint_test_downward): Likewise.
8118 (rint_test_upward): Likewise.
8119 (round_test): Likewise.
8120 (scalb_test): Likewise.
8121 (scalbn_test): Likewise.
8122 (scalbln_test): Likewise.
8123 (signbit_test): Likewise.
8124 (sin_test): Likewise.
8125 (sin_test_tonearest): Likewise.
8126 (sin_test_towardzero): Likewise.
8127 (sin_test_downward): Likewise.
8128 (sin_test_upward): Likewise.
8129 (sincos_test): Likewise.
8130 (sinh_test): Likewise.
8131 (sinh_test_tonearest): Likewise.
8132 (sinh_test_towardzero): Likewise.
8133 (sinh_test_downward): Likewise.
8134 (sinh_test_upward): Likewise.
8135 (sqrt_test): Likewise.
8136 (tan_test): Likewise.
8137 (tan_test_tonearest): Likewise.
8138 (tan_test_towardzero): Likewise.
8139 (tan_test_downward): Likewise.
8140 (tan_test_upward): Likewise.
8141 (tanh_test): Likewise.
8142 (tgamma_test): Likewise.
8143 (trunc_test): Likewise.
8144 (y0_test): Likewise.
8145 (y1_test): Likewise.
8146 (yn_test): Likewise.
8147 (significand_test): Likewise.
8149 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8152 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8154 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8157 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8158 __ppc_mdoio and __ppc_mdoom.
8159 * manual/platform.texi: Document new functions __ppc_yield,
8160 __ppc_mdoio and __ppc_mdoom.
8162 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8164 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8165 (main): Mention "tls" pseudo-hwcap is legacy.
8166 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8168 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8170 * math/gen-libm-test.pl (parse_args): Output only string of
8171 arguments as text for test name, not full call or descriptions of
8172 tests for extra outputs.
8173 (generate_testfile): Do not pass function name to parse_args.
8174 Generate this_func variable from START.
8175 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8177 (struct test_ff_f_data): Likewise.
8178 (test_ff_f_data_nexttoward): Likewise.
8179 (struct test_fi_f_data): Likewise.
8180 (struct test_fl_f_data): Likewise.
8181 (struct test_if_f_data): Likewise.
8182 (struct test_fff_f_data): Likewise.
8183 (struct test_c_f_data): Likewise.
8184 (struct test_f_f1_data): Likewise. Remove field extra_name.
8185 (struct test_fF_f1_data): Likewise.
8186 (struct test_ffI_f1_data): Likewise.
8187 (struct test_c_c_data): Rename test_name field to arg_str.
8188 (struct test_cc_c_data): Likewise.
8189 (struct test_f_i_data): Likewise.
8190 (struct test_ff_i_data): Likewise.
8191 (struct test_f_l_data): Likewise.
8192 (struct test_f_L_data): Likewise.
8193 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8195 (COMMON_TEST_SETUP): New macro.
8196 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8197 (COMMON_TEST_CLEANUP): Likewise.
8198 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8199 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8201 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8202 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8204 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8205 (RUN_TEST_fff_f): Take argument string. Call new setup and
8207 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8208 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8210 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8211 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8213 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8214 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8216 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8217 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8219 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8220 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8222 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8223 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8225 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8226 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8228 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8229 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8231 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8232 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8234 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8235 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8237 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8238 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8240 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8241 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8243 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8244 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8246 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8247 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8249 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8250 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8252 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8254 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8256 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8257 to _sifields.sigfault.
8258 (si_addr_lsb): Define new macro.
8259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8263 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8266 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8268 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8270 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8273 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8275 * math/gen-libm-test.pl (parse_args): Do not include expected
8276 result in test name.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8284 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8286 * benchtests/Makefile: Sort function entries.
8288 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8289 tanh, asinh, acosh, atanh.
8290 * benchtests/acos-inputs: New file.
8291 * benchtests/acosh-inputs: New file.
8292 * benchtests/asin-inputs: New file.
8293 * benchtests/asinh-inputs: New file.
8294 * benchtests/atanh-inputs: New file.
8295 * benchtests/cosh-inputs: New file.
8296 * benchtests/log-inputs: New file.
8297 * benchtests/sinh-inputs: New file.
8298 * benchtests/tanh-inputs: New file.
8300 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8303 * posix/tst-getaddrinfo4.c: New test.
8304 * posix/Makefile (tests): Add it.
8306 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8309 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8310 when no services were used.
8311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8312 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8314 2013-05-21 Andreas Schwab <schwab@suse.de>
8317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8318 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8320 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8321 redundant variable declarations and reallocation of buffer when
8322 parsing as IPv6 address. Always set NSS status when called from
8323 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8324 buffer too small. Correct computation of needed size.
8325 * nss/Makefile (tests): Add test-digits-dots.
8326 * nss/test-digits-dots.c: New test.
8328 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8330 * benchtests/Makefile: Remove instructions for adding
8332 * benchtests/README: New file to explain how to execute and
8333 enhance the benchmark tests.
8335 2013-05-21 Andreas Schwab <schwab@suse.de>
8338 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8339 * setjmp/tst-sigsetjmp.c: New test.
8341 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8343 * sysdeps/x86_64/memset.S (memset): New implementation.
8344 (__bzero): Likewise.
8345 (__memset_tail): New function.
8347 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8349 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8350 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8351 __memcpy_sse2_unaligned ifunc selection.
8352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8353 Add memcpy-sse2-unaligned.S.
8354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8355 Add: __memcpy_sse2_unaligned.
8357 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8361 math_force_eval before restoring floating-point envrionment.
8362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8365 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8367 (__nearbyintl): Use math_force_eval before restoring
8368 floating-point environment.
8369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8371 * math/gen-libm-test.pl (special_functions): Remove.
8372 (parse_args): Don't handle TEST_extra. Handle functions with no
8374 * math/libm-test.inc (struct test_sincos_data): Replace with
8375 struct test_fFF_11_data.
8376 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8377 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8378 (sincos_test_data): Change element type to struct
8379 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8380 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8381 RUN_TEST_LOOP_sincos.
8382 * math/README.libm-test: Don't mention special handling of
8383 individual functions.
8384 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8386 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8387 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8388 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8391 * math/gen-libm-test.pl (get_variable): Remove function.
8392 (parse_args): Don't show pointer parameters to call in test
8393 names. Use "extra output N" in test names for extra outputs
8394 rather than naming variables.
8396 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8399 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8400 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8401 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8403 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8405 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8408 * math/gen-libm-test.pl (@tests): Remove variable.
8410 (new_test): Remove function.
8411 (show_exceptions): New function.
8412 (special_functions): Use show_exceptions instead of new_test.
8413 (parse_args): Likewise.
8414 (generate_testfile): Pass only function name in generated call to
8415 print_max_error or print_complex_max_error.
8416 (get_ulps): Do not handle complex tests specially.
8417 (output_test): Rename to ...
8418 (get_all_ulps_for_test): ... this. Return a string rather than
8419 printing to a file. Require ulps to be present.
8420 (output_ulps): Generate arrays rather than #defines.
8421 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8422 (struct ulp_data): New type.
8423 (BUILD_COMPLEX_ULP): Remove macro.
8424 (compare_ulp_data): New function.
8425 (find_ulps): Likewise.
8426 (find_test_ulps): Likewise.
8427 (find_function_ulps): Likewise.
8428 (find_complex_function_ulps): Likewise.
8429 (print_max_error): Determine allowed ulps using
8431 (print_complex_max_error): Determine allowed ulps using
8432 find_complex_function_ulps.
8433 (check_float_internal): Determine max ulps using find_test_ulps.
8434 (check_float): Do not take max_ulp parameter. Update call to
8435 check_float_internal.
8436 (check_complex): Likewise.
8437 (check_int): Do not take max_ulp parameter.
8438 (check_long): Likewise.
8439 (check_bool): Likewise.
8440 (check_longlong): Likewise.
8441 (struct test_f_f_data): Remove max_ulp field.
8442 (struct test_ff_f_data): Likewise.
8443 (struct test_ff_f_data_nexttoward): Likewise.
8444 (struct test_fi_f_data): Likewise.
8445 (struct test_fl_f_data): Likewise.
8446 (struct test_if_f_data): Likewise.
8447 (struct test_fff_f_data): Likewise.
8448 (struct test_c_f_data): Likewise.
8449 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8450 (struct test_fF_f1_data): Likewise.
8451 (struct test_ffI_f1_data): Likewise.
8452 (struct test_c_c_data): Remove max_ulp field.
8453 (struct test_cc_c_data): Likewise.
8454 (struct test_f_i_data): Likewise.
8455 (struct test_ff_i_data): Likewise.
8456 (struct test_f_l_data): Likewise.
8457 (struct test_f_L_data): Likewise.
8458 (struct test_sincos_data): Likewise.
8459 (RUN_TEST_f_f): Do not handle ulps.
8460 (RUN_TEST_LOOP_f_f): Likewise.
8461 (RUN_TEST_2_f): Likewise.
8462 (RUN_TEST_LOOP_2_f): Likewise.
8463 (RUN_TEST_fff_f): Likewise.
8464 (RUN_TEST_LOOP_fff_f): Likewise.
8465 (RUN_TEST_c_f): Likewise.
8466 (RUN_TEST_LOOP_c_f): Likewise.
8467 (RUN_TEST_f_f1): Likewise.
8468 (RUN_TEST_LOOP_f_f1): Likewise.
8469 (RUN_TEST_fF_f1): Likewise.
8470 (RUN_TEST_LOOP_fF_f1): Likewise.
8471 (RUN_TEST_fI_f1): Likewise.
8472 (RUN_TEST_LOOP_fI_f1): Likewise.
8473 (RUN_TEST_ffI_f1): Likewise.
8474 (RUN_TEST_LOOP_ffI_f1): Likewise.
8475 (RUN_TEST_c_c): Likewise.
8476 (RUN_TEST_LOOP_c_c): Likewise.
8477 (RUN_TEST_cc_c): Likewise.
8478 (RUN_TEST_LOOP_cc_c): Likewise.
8479 (RUN_TEST_f_i): Likewise.
8480 (RUN_TEST_LOOP_f_i): Likewise.
8481 (RUN_TEST_f_i_tg): Likewise.
8482 (RUN_TEST_LOOP_f_i_tg): Likewise.
8483 (RUN_TEST_ff_i_tg): Likewise.
8484 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8485 (RUN_TEST_f_b): Likewise.
8486 (RUN_TEST_LOOP_f_b): Likewise.
8487 (RUN_TEST_f_b_tg): Likewise.
8488 (RUN_TEST_LOOP_f_b_tg): Likewise.
8489 (RUN_TEST_f_l): Likewise.
8490 (RUN_TEST_LOOP_f_l): Likewise.
8491 (RUN_TEST_f_L): Likewise.
8492 (RUN_TEST_LOOP_f_L): Likewise.
8493 (RUN_TEST_sincos): Likewise.
8494 (RUN_TEST_LOOP_sincos): Likewise.
8496 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8500 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8501 main case of finite arguments, set rounding mode to FE_TONEAREST
8502 and discard exceptions.
8503 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8505 (remainder_tonearest_test_data): New variable.
8506 (remainder_test_tonearest): New function.
8507 (remainder_towardzero_test_data): New variable.
8508 (remainder_test_towardzero): New function.
8509 (remainder_downward_test_data): New variable.
8510 (remainder_test_downward): New function.
8511 (remainder_upward_test_data): New variable.
8512 (remainder_test_upward): New function.
8513 (main): Call the new test functions.
8515 * math/libm-test.inc (struct test_f_f1_data): Remove field
8517 (struct test_fF_f1_data): Likewise.
8518 (struct test_ffI_f1_data): Likewise.
8519 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8520 based on value of EXTRA_EXPECTED.
8521 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8522 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8523 EXTRA_VAR based on value of EXTRA_EXPECTED.
8524 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8525 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8526 EXTRA_VAR based on value of EXTRA_EXPECTED.
8527 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8528 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8529 EXTRA_VAR based on value of EXTRA_EXPECTED.
8530 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8531 * math/gen-libm-test.pl (parse_args): Don't output initializers
8532 for extra output values.
8534 * math/libm-test.inc (check_int): Expect result to be exactly
8535 equal to expected value and do not handle ulps.
8536 (check_long): Likewise.
8537 (check_longlong): Likewise.
8539 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8541 (cimag_test_data): Likewise.
8542 (conj_test_data): Likewise.
8543 (copysign_test_data): Likewise.
8544 (cproj_test_data): Likewise.
8545 (creal_test_data): Likewise.
8546 (fabs_test_data): Likewise.
8547 (fdim_test_data): Likewise.
8548 (finite_test_data): Likewise.
8549 (floor_test_data): Likewise.
8550 (fmax_test_data): Likewise.
8551 (fmin_test_data): Likewise.
8552 (fmod_test_data): Likewise.
8553 (fpclassify_test_data): Likewise.
8554 (frexp_test_data): Likewise.
8555 (ilogb_test_data): Likewise.
8556 (isfinite_test_data): Likewise.
8557 (isgreater_test_data): Likewise.
8558 (isgreaterequal_test_data): Likewise.
8559 (isinf_test_data): Likewise.
8560 (isless_test_data): Likewise.
8561 (islessequal_test_data): Likewise.
8562 (islessgreater_test_data): Likewise.
8563 (isnan_test_data): Likewise.
8564 (isnormal_test_data): Likewise.
8565 (issignaling_test_data): Likewise.
8566 (isunordered_test_data): Likewise.
8567 (ldexp_test_data): Likewise.
8568 (lrint_test_data): Likewise.
8569 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8570 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8571 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8572 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8573 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8574 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8576 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8577 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8578 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8579 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8581 (lrint_downward_test_data): Test for "inexact" exceptions.
8582 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8583 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8584 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8586 (lrint_upward_test_data): Test for "inexact" exceptions.
8587 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8589 (llrint_test_data): Test for "inexact" exceptions.
8590 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8591 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8592 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8593 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8594 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8595 (llrint_downward_test_data): Test for "inexact" exceptions.
8596 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8597 (llrint_upward_test_data): Test for "inexact" exceptions.
8598 (logb_test_data): Likewise.
8599 (logb_downward_test_data): Likewise.
8600 (nextafter_test_data): Likewise.
8601 (nexttoward_test_data): Likewise.
8602 (remainder_test_data): Likewise.
8603 (remquo_test_data): Likewise.
8604 (scalbn_test_data): Likewise.
8605 (scalbln_test_data): Likewise.
8606 (signbit_test_data): Likewise.
8607 (sqrt_test_data): Likewise.
8608 (significand_test_data): Likewise.
8610 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8613 * benchtests/bench-modf.c (struct args): Mark arg0 as
8615 * scripts/bench.pl: Mark members of struct args as volatile.
8617 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8620 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8621 negative infinity on POWER6 or lower.
8622 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8624 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8627 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8628 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8629 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8630 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8631 (_FP_SETQNAN): New macro.
8632 (_FP_SETQNAN_SEMIRAW): Likewise.
8633 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8634 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8635 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8636 (FP_EXTEND): Use _FP_FRAC_SNANP.
8637 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8638 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8640 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8642 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8645 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8647 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8648 with DIVIDE_BY_ZERO_EXCEPTION.
8649 (gamma_test_data): Likewise.
8650 (lgamma_test_data): Likewise.
8651 (log_test_data): Likewise.
8652 (log10_test_data): Likewise.
8653 (log2_test_data): Likewise.
8654 (tgamma_test_data): Likewise.
8656 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8657 (acos_test_tonearest): Likewise.
8658 (acos_test_towardzero): Likewise.
8659 (acos_test_downward): Likewise.
8660 (acos_test_upward): Likewise.
8661 (acosh_test): Likewise.
8662 (asin_test): Likewise.
8663 (asin_test_tonearest): Likewise.
8664 (asin_test_towardzero): Likewise.
8665 (asin_test_downward): Likewise.
8666 (asin_test_upward): Likewise.
8667 (asinh_test): Likewise.
8668 (atan_test): Likewise.
8669 (atanh_test): Likewise.
8670 (atan2_test): Likewise.
8671 (cabs_test): Likewise.
8672 (cacos_test): Likewise.
8673 (cacosh_test): Likewise.
8674 (casin_test): Likewise.
8675 (casinh_test): Likewise.
8676 (catan_test): Likewise.
8677 (catanh_test): Likewise.
8678 (cbrt_test): Likewise.
8679 (ccos_test): Likewise.
8680 (ccosh_test): Likewise.
8681 (cexp_test): Likewise.
8682 (clog_test): Likewise.
8683 (clog10_test): Likewise.
8684 (cos_test): Likewise.
8685 (cos_test_tonearest): Likewise.
8686 (cos_test_towardzero): Likewise.
8687 (cos_test_downward): Likewise.
8688 (cos_test_upward): Likewise.
8689 (cosh_test): Likewise.
8690 (cosh_test_tonearest): Likewise.
8691 (cosh_test_towardzero): Likewise.
8692 (cosh_test_downward): Likewise.
8693 (cosh_test_upward): Likewise.
8694 (cpow_test): Likewise.
8695 (csin_test): Likewise.
8696 (csinh_test): Likewise.
8697 (csqrt_test): Likewise.
8698 (ctan_test): Likewise.
8699 (ctan_test_tonearest): Likewise.
8700 (ctan_test_towardzero): Likewise.
8701 (ctan_test_downward): Likewise.
8702 (ctan_test_upward): Likewise.
8703 (ctanh_test): Likewise.
8704 (ctanh_test_tonearest): Likewise.
8705 (ctanh_test_towardzero): Likewise.
8706 (ctanh_test_downward): Likewise.
8707 (ctanh_test_upward): Likewise.
8708 (erf_test): Likewise.
8709 (erfc_test): Likewise.
8710 (exp_test): Likewise.
8711 (exp_test_tonearest): Likewise.
8712 (exp_test_towardzero): Likewise.
8713 (exp_test_downward): Likewise.
8714 (exp_test_upward): Likewise.
8715 (exp10_test): Likewise.
8716 (exp2_test): Likewise.
8717 (expm1_test): Likewise.
8718 (fmod_test): Likewise.
8719 (gamma_test): Likewise.
8720 (hypot_test): Likewise.
8721 (j0_test): Likewise.
8722 (j1_test): Likewise.
8723 (jn_test): Likewise.
8724 (lgamma_test): Likewise.
8725 (log_test): Likewise.
8726 (log10_test): Likewise.
8727 (log1p_test): Likewise.
8728 (log2_test): Likewise.
8729 (logb_test_downward): Likewise.
8730 (pow_test): Likewise.
8731 (pow_test_tonearest): Likewise.
8732 (pow_test_towardzero): Likewise.
8733 (pow_test_downward): Likewise.
8734 (pow_test_upward): Likewise.
8735 (remainder_test): Likewise.
8736 (remquo_test): Likewise.
8737 (sin_test): Likewise.
8738 (sin_test_tonearest): Likewise.
8739 (sin_test_towardzero): Likewise.
8740 (sin_test_downward): Likewise.
8741 (sin_test_upward): Likewise.
8742 (sincos_test): Likewise.
8743 (sinh_test): Likewise.
8744 (sinh_test_tonearest): Likewise.
8745 (sinh_test_towardzero): Likewise.
8746 (sinh_test_downward): Likewise.
8747 (sinh_test_upward): Likewise.
8748 (sqrt_test): Likewise.
8749 (tan_test): Likewise.
8750 (tan_test_tonearest): Likewise.
8751 (tan_test_towardzero): Likewise.
8752 (tan_test_downward): Likewise.
8753 (tan_test_upward): Likewise.
8754 (tanh_test): Likewise.
8755 (tgamma_test): Likewise.
8756 (y0_test): Likewise.
8757 (y1_test): Likewise.
8758 (yn_test): Likewise.
8760 * math/gen-libm-test.pl (adjust_arg): Remove function.
8761 (special_function): Remove argument $in_func. Only handle
8762 generating output for tables of tests, not inside functions.
8763 (parse_args): Likewise.
8764 (generate_testfile): Remove variable $in_func. Update call to
8766 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8767 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8768 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8769 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8770 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8771 (MAX_VALUE_INIT): Rename macro to max_value.
8772 (MIN_VALUE_INIT): Rename macro to min_value.
8773 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8774 (plus_zero): Remove variable.
8775 (minus_zero): Likewise.
8776 (plus_infty): Likewise.
8777 (minus_infty): Likewise.
8778 (qnan_value): Likewise.
8779 (max_value): Likewise.
8780 (min_value): Likewise.
8781 (min_subnorm_value): Likewise.
8783 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8785 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8786 uint64_t or uint32_t usage.
8787 * crypt/sha256-block.c: Likewise.
8788 * crypt/sha256-crypt.c: Likewise.
8789 * crypt/sha256.c: Likewise.
8790 * crypt/sha512-block.c: Likewise.
8791 * crypt/sha512-crypt.c: Likewise.
8792 * crypt/sha512.c: Likewise.
8793 * debug/backtrace-tst.c: Likewise.
8794 * debug/pcprofiledump.c: Likewise.
8795 * elf/cache.c: Likewise.
8796 * elf/dl-cache.c: Likewise.
8797 * elf/dl-misc.c: Likewise.
8798 * elf/dl-profile.c: Likewise.
8799 * elf/dl-support.c: Likewise.
8800 * elf/ldconfig.c: Likewise.
8801 * elf/sprof.c: Likewise.
8802 * iconv/dummy-repertoire.c: Likewise.
8803 * iconv/iconv_charmap.c: Likewise.
8804 * iconv/skeleton.c: Likewise.
8805 * iconvdata/8bit-generic.c: Likewise.
8806 * iconvdata/cp737.h: Likewise.
8807 * iconvdata/cp775.h: Likewise.
8808 * iconvdata/ibm1008.h: Likewise.
8809 * iconvdata/ibm1025.h: Likewise.
8810 * iconvdata/ibm1046.h: Likewise.
8811 * iconvdata/ibm1097.h: Likewise.
8812 * iconvdata/ibm1112.h: Likewise.
8813 * iconvdata/ibm1122.h: Likewise.
8814 * iconvdata/ibm1123.h: Likewise.
8815 * iconvdata/ibm1124.h: Likewise.
8816 * iconvdata/ibm1129.h: Likewise.
8817 * iconvdata/ibm1130.h: Likewise.
8818 * iconvdata/ibm1132.h: Likewise.
8819 * iconvdata/ibm1133.h: Likewise.
8820 * iconvdata/ibm1137.h: Likewise.
8821 * iconvdata/ibm1140.h: Likewise.
8822 * iconvdata/ibm1141.h: Likewise.
8823 * iconvdata/ibm1142.h: Likewise.
8824 * iconvdata/ibm1143.h: Likewise.
8825 * iconvdata/ibm1144.h: Likewise.
8826 * iconvdata/ibm1145.h: Likewise.
8827 * iconvdata/ibm1146.h: Likewise.
8828 * iconvdata/ibm1147.h: Likewise.
8829 * iconvdata/ibm1148.h: Likewise.
8830 * iconvdata/ibm1149.h: Likewise.
8831 * iconvdata/ibm1153.h: Likewise.
8832 * iconvdata/ibm1154.h: Likewise.
8833 * iconvdata/ibm1155.h: Likewise.
8834 * iconvdata/ibm1156.h: Likewise.
8835 * iconvdata/ibm1157.h: Likewise.
8836 * iconvdata/ibm1158.h: Likewise.
8837 * iconvdata/ibm1160.h: Likewise.
8838 * iconvdata/ibm1161.h: Likewise.
8839 * iconvdata/ibm1162.h: Likewise.
8840 * iconvdata/ibm1163.h: Likewise.
8841 * iconvdata/ibm1164.h: Likewise.
8842 * iconvdata/ibm1166.h: Likewise.
8843 * iconvdata/ibm1167.h: Likewise.
8844 * iconvdata/ibm12712.h: Likewise.
8845 * iconvdata/ibm1390.h: Likewise.
8846 * iconvdata/ibm1399.h: Likewise.
8847 * iconvdata/ibm16804.h: Likewise.
8848 * iconvdata/ibm4517.h: Likewise.
8849 * iconvdata/ibm4899.h: Likewise.
8850 * iconvdata/ibm4909.h: Likewise.
8851 * iconvdata/ibm4971.h: Likewise.
8852 * iconvdata/ibm5347.h: Likewise.
8853 * iconvdata/ibm803.h: Likewise.
8854 * iconvdata/ibm856.h: Likewise.
8855 * iconvdata/ibm901.h: Likewise.
8856 * iconvdata/ibm902.h: Likewise.
8857 * iconvdata/ibm9030.h: Likewise.
8858 * iconvdata/ibm9066.h: Likewise.
8859 * iconvdata/ibm921.h: Likewise.
8860 * iconvdata/ibm922.h: Likewise.
8861 * iconvdata/ibm9448.h: Likewise.
8862 * iconvdata/isiri-3342.h: Likewise.
8863 * iconvdata/jis0201.h: Likewise.
8864 * include/link.h: Likewise.
8865 * include/netdb.h: Likewise.
8866 * inet/check_native.c: Likewise.
8867 * inet/check_pf.c: Likewise.
8868 * inet/getipv4sourcefilter.c: Likewise.
8869 * inet/getnameinfo.c: Likewise.
8870 * inet/getsourcefilter.c: Likewise.
8871 * inet/htonl.c: Likewise.
8872 * inet/setipv4sourcefilter.c: Likewise.
8873 * inet/setsourcefilter.c: Likewise.
8874 * inet/test-inet6_opt.c: Likewise.
8875 * inet/tst-network.c: Likewise.
8876 * locale/C-collate.c: Likewise.
8877 * locale/C-ctype.c: Likewise.
8878 * locale/C-time.c: Likewise.
8879 * locale/C-translit.h: Likewise.
8880 * locale/loadarchive.c: Likewise.
8881 * locale/programs/3level.h: Likewise.
8882 * locale/programs/charmap.c: Likewise.
8883 * locale/programs/charmap.h: Likewise.
8884 * locale/programs/ld-address.c: Likewise.
8885 * locale/programs/ld-collate.c: Likewise.
8886 * locale/programs/ld-ctype.c: Likewise.
8887 * locale/programs/ld-identification.c: Likewise.
8888 * locale/programs/ld-measurement.c: Likewise.
8889 * locale/programs/ld-messages.c: Likewise.
8890 * locale/programs/ld-monetary.c: Likewise.
8891 * locale/programs/ld-name.c: Likewise.
8892 * locale/programs/ld-numeric.c: Likewise.
8893 * locale/programs/ld-paper.c: Likewise.
8894 * locale/programs/ld-telephone.c: Likewise.
8895 * locale/programs/ld-time.c: Likewise.
8896 * locale/programs/linereader.c: Likewise.
8897 * locale/programs/locale.c: Likewise.
8898 * locale/programs/locarchive.c: Likewise.
8899 * locale/programs/locfile.h: Likewise.
8900 * locale/programs/repertoire.c: Likewise.
8901 * locale/programs/simple-hash.c: Likewise.
8902 * locale/programs/simple-hash.h: Likewise.
8903 * malloc/memusage.c: Likewise.
8904 * malloc/memusagestat.c: Likewise.
8905 * nis/nis_defaults.c: Likewise.
8906 * nis/nis_hash.c: Likewise.
8907 * nis/nis_print.c: Likewise.
8908 * nis/nis_xdr.c: Likewise.
8909 * nscd/connections.c: Likewise.
8910 * nscd/hstcache.c: Likewise.
8911 * nscd/nscd_gethst_r.c: Likewise.
8912 * nscd/nscd_getserv_r.c: Likewise.
8913 * nscd/nscd_helper.c: Likewise.
8914 * nscd/servicescache.c: Likewise.
8915 * nss/makedb.c: Likewise.
8916 * nss/nss_db/db-XXX.c: Likewise.
8917 * nss/nss_db/db-initgroups.c: Likewise.
8918 * nss/nss_db/db-netgrp.c: Likewise.
8919 * nss/nss_files/files-network.c: Likewise.
8920 * nss/nss_files/files-parse.c: Likewise.
8921 * posix/bug-regex5.c: Likewise.
8922 * posix/fnmatch_loop.c: Likewise.
8923 * posix/regcomp.c: Likewise.
8924 * posix/regexec.c: Likewise.
8925 * posix/tst-rfc3484-2.c: Likewise.
8926 * posix/tst-rfc3484-3.c: Likewise.
8927 * posix/tst-rfc3484.c: Likewise.
8928 * resolv/nss_dns/dns-canon.c: Likewise.
8929 * resolv/nss_dns/dns-network.c: Likewise.
8930 * resolv/res_init.c: Likewise.
8931 * resolv/res_mkquery.c: Likewise.
8932 * resolv/tst-aton.c: Likewise.
8933 * stdlib/cxa_atexit.c: Likewise.
8934 * stdlib/cxa_finalize.c: Likewise.
8935 * stdlib/gen-fpioconst.c: Likewise.
8936 * stdlib/strtol_l.c: Likewise.
8937 * string/tst-endian.c: Likewise.
8938 * sunrpc/auth_des.c: Likewise.
8939 * sunrpc/clnt_udp.c: Likewise.
8940 * sunrpc/rtime.c: Likewise.
8941 * sunrpc/svcauth_des.c: Likewise.
8942 * sunrpc/xdr.c: Likewise.
8943 * sunrpc/xdr_intXX_t.c: Likewise.
8944 * sunrpc/xdr_rec.c: Likewise.
8945 * sysdeps/generic/ldconfig.h: Likewise.
8946 * sysdeps/generic/ldsodefs.h: Likewise.
8947 * sysdeps/generic/memusage.h: Likewise.
8948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8958 * sysdeps/posix/getaddrinfo.c: Likewise.
8959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8963 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8964 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8965 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8966 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8967 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8970 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8971 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8972 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8973 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8974 * sysdeps/x86_64/dl-tls.h: Likewise.
8975 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8976 * time/alt_digit.c: Likewise.
8977 * time/era.c: Likewise.
8978 * wcsmbs/tst-c16c32-1.c: Likewise.
8980 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8982 * math/libm-test.inc (struct test_sincos_data): New type.
8983 (RUN_TEST_LOOP_sincos): New macro.
8984 (sincos_test_data): New variable.
8985 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8987 2013-05-16 Richard Henderson <rth@redhat.com>
8989 * math/atest-exp2.c (LIMB64): New macro.
8990 (CONSTSZ): New macro.
8991 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8993 (print_mpn_fp): ... to function scope.
8994 (read_mpn_hex): Remove.
8996 (exp2_mpn): Use mp_log2.
8997 (main): Use mp_exp1.
8999 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9001 * math/libm-test.inc: Remove comment about not testing "inexact"
9003 (INEXACT_EXCEPTION): New macro.
9004 (NO_INEXACT_EXCEPTION): Likewise.
9005 (INVALID_EXCEPTION_OK): Update value.
9006 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9007 (OVERFLOW_EXCEPTION_OK): Likewise.
9008 (UNDERFLOW_EXCEPTION_OK): Likewise.
9009 (IGNORE_ZERO_INF_SIGN): Likewise.
9010 (ERRNO_UNCHANGED): Likewise.
9011 (ERRNO_EDOM): Likewise.
9012 (ERRNO_ERANGE): Likewise.
9013 (test_exceptions): Handle testing "inexact" exceptions.
9014 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9015 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9016 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9017 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9019 (rint_towardzero_test_data): Likewise.
9020 (rint_downward_test_data): Likewise.
9021 (rint_upward_test_data): Likewise.
9023 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9024 with OVERFLOW_EXCEPTION.
9025 (exp10_test_data): Likewise.
9026 (exp2_test_data): Likewise.
9027 (expm1_test_data): Likewise.
9028 (lgamma_test_data): Likewise.
9029 (pow_test_data): Likewise.
9030 (tgamma_test_data): Likewise.
9031 (yn_test_data): Remove duplicate test of overflow.
9033 * math/libm-test.inc (struct test_cc_c_data): New type.
9034 (RUN_TEST_LOOP_cc_c): New macro.
9035 (cpow_test_data): New variable.
9036 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9038 * math/libm-test.inc (struct test_f_L_data): New type.
9039 (RUN_TEST_LOOP_f_L): New macro.
9040 (llrint_test_data): New variable.
9041 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9042 (llrint_tonearest_test_data): New variable.
9043 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9044 (llrint_towardzero_test_data): New variable.
9045 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9046 (llrint_downward_test_data): New variable.
9047 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9048 (llrint_upward_test_data): New variable.
9049 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9050 (llround_test_data): New variable.
9051 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9053 2013-05-13 Peter Collingbourne <pcc@google.com>
9055 * math/atest-exp2.c (get_log2): Remove const attribute.
9057 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9059 * math/libm-test.inc (struct test_f_l_data): New type.
9060 (RUN_TEST_LOOP_f_l): New macro.
9061 (lrint_test_data): New variable.
9062 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9063 (lrint_tonearest_test_data): New variable.
9064 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9065 (lrint_towardzero_test_data): New variable.
9066 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9067 (lrint_downward_test_data): New variable.
9068 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9069 (lrint_upward_test_data): New variable.
9070 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9071 (lround_test_data): New variable.
9072 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9074 2013-05-15 Peter Collingbourne <pcc@google.com>
9076 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9077 (EXTRACT_WORDS64) Use where appropriate.
9078 (INSERT_WORDS64) Likewise.
9080 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9081 constraints with x constraints.
9082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9084 * malloc/obstack.c (_obstack_compat): Add initializer.
9086 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9089 si_trapno and add si_addr_lsb to _sifields.sigfault.
9090 (si_trapno): Remove macro.
9091 (si_addr_lsb): Define new macro.
9092 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9094 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9096 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9097 instead of TEST_f_l.
9098 (llrint_test_tonearest): Likewise.
9099 (llrint_test_towardzero): Likewise.
9100 (llrint_test_downward): Likewise.
9101 (llrint_test_upward): Likewise.
9102 (llround_test): Likewise.
9104 * math/libm-test.inc (struct test_f_i_data): Add comment.
9105 (RUN_TEST_LOOP_f_b): New macro.
9106 (RUN_TEST_LOOP_f_b_tg): Likewise.
9107 (finite_test_data): New variable.
9108 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9109 (isfinite_test_data): New variable.
9110 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9111 (isinf_test_data): New variable.
9112 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9113 (isnan_test_data): New variable.
9114 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9115 (isnormal_test_data): New variable.
9116 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9117 (issignaling_test_data): New variable.
9118 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9119 (signbit_test_data): New variable.
9120 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9122 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9123 with INVALID_EXCEPTION.
9124 (acosh_test_data): Likewise.
9125 (asin_test_data): Likewise.
9126 (atanh_test_data): Likewise.
9127 (fmod_test_data): Likewise.
9128 (log_test_data): Likewise.
9129 (log10_test_data): Likewise.
9130 (log2_test_data): Likewise.
9131 (pow_test_data): Likewise.
9132 (sqrt_test_data): Likewise.
9133 (y0_test_data): Likewise.
9134 (y1_test_data): Likewise.
9135 (yn_test_data): Likewise.
9137 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9140 * math/libm-test.inc (struct test_ff_i_data): New type.
9141 (RUN_TEST_LOOP_ff_i_tg): New macro.
9142 (isgreater_test_data): New variable.
9143 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9144 (isgreaterequal_test_data): New variable.
9145 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9146 (isless_test_data): New variable.
9147 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9148 (islessequal_test_data): New variable.
9149 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9150 (islessgreater_test_data): New variable.
9151 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9152 (isunordered_test_data): New variable.
9153 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9155 2013-05-14 David S. Miller <davem@davemloft.net>
9157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9159 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9161 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9163 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9165 (struct test_f_i_data): Change type of max_ulp to int.
9167 * math/libm-test.inc (test_ffI_f1_data): New type.
9168 (RUN_TEST_LOOP_ffI_f1): New macro.
9169 (remquo_test_data): New variable.
9170 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9172 * setjmp/tst-setjmp-fp.c: New file.
9173 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9174 (link-libm): New variable.
9175 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9177 * math/libm-test.inc (struct test_f_i_data): New type.
9178 (RUN_TEST_LOOP_f_i): New macro.
9179 (RUN_TEST_LOOP_f_i_tg): Likewise.
9180 (fpclassify_test_data): New variable.
9181 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9182 (ilogb_test_data): New variable.
9183 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9185 * math/libm-test.inc (scalbln_test): Correct function name in END
9188 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9189 (RUN_TEST_LOOP_fI_f1): New macro.
9190 (frexp_test_data): New variable.
9191 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9193 * math/libm-test.inc (struct test_fF_f1_data): New type.
9194 (RUN_TEST_LOOP_fF_f1): New macro.
9195 (modf_test_data): New variable.
9196 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9198 * math/libm-test.inc (struct test_f_f1_data): New type.
9199 (RUN_TEST_LOOP_f_f1): New macro.
9200 (gamma_test_data): New variable.
9201 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9202 (lgamma_test_data): New variable.
9203 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9205 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9208 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9209 (main): Comment "tls" pseudo-hwcap.
9211 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9213 * math/libm-test.inc (struct test_fl_f_data): New type.
9214 (RUN_TEST_LOOP_fl_f): New variable.
9215 (scalbln_test_data): New variable.
9216 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9218 * math/libm-test.inc (struct test_fi_f_data): New type.
9219 (RUN_TEST_LOOP_fi_f): New macro.
9220 (ldexp_test_data): New variable.
9221 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9222 (scalbn_test_data): New variable.
9223 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9225 * math/libm-test.inc (struct test_c_f_data): New type.
9226 (RUN_TEST_LOOP_c_f): New macro.
9227 (cabs_test_data): New variable.
9228 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9229 (carg_test_data): New variable.
9230 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9231 (cimag_test_data): New variable.
9232 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9233 (creal_test_data): New variable.
9234 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9236 * math/libm-test.inc (struct test_if_f_data): New type.
9237 (RUN_TEST_LOOP_if_f): New macro.
9238 (jn_test_data): New variable.
9239 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9240 (yn_test_data): New variable.
9241 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9243 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9245 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9247 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9248 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9250 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9252 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9253 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9254 (bench-deps): Add bench-timing.h.
9255 * benchtests-bench-skeleton.c: Include bench-timing.h.
9256 (main): Use TIMING_* macros instead of clock_gettime.
9257 * benchtests/bench-timing.h: New file.
9260 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9261 Renamed from _LIB_VERSION.
9262 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9264 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9266 * math/libm-test.inc (struct test_fff_f_data): New type.
9267 (RUN_TEST_LOOP_fff_f): New macro.
9268 (fma_test_data): New variable.
9269 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9270 (fma_towardzero_test_data): New variable.
9271 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9272 (fma_downward_test_data): New variable.
9273 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9274 (fma_upward_test_data): New variable.
9275 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9277 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9278 (struct test_c_c_data): New type.
9279 (RUN_TEST_LOOP_c_c): New macro.
9280 (cacos_test_data): New variable.
9281 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9282 (cacosh_test_data): New variable.
9283 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9284 (casin_test_data): New variable.
9285 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9286 (casinh_test_data): New variable.
9287 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9288 (catan_test_data): New variable.
9289 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9290 (catanh_test_data): New variable.
9291 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9292 (ccos_test_data): New variable.
9293 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9294 (ccosh_test_data): New variable.
9295 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9296 (cexp_test_data): New variable.
9297 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9298 (clog_test_data): New variable.
9299 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9300 (clog10_test_data): New variable.
9301 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9302 (conj_test_data): New variable.
9303 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9304 (cproj_test_data): New variable.
9305 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9306 (csin_test_data): New variable.
9307 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9308 (csinh_test_data): New variable.
9309 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9310 (csqrt_test_data): New variable.
9311 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9312 (ctan_test_data): New variable.
9313 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9314 (ctan_tonearest_test_data): New variable.
9315 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9316 (ctan_towardzero_test_data): New variable.
9317 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9318 (ctan_downward_test_data): New variable.
9319 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9320 (ctan_upward_test_data): New variable.
9321 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9322 (ctanh_test_data): New variable.
9323 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9324 (ctanh_tonearest_test_data): New variable.
9325 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9326 (ctanh_towardzero_test_data): New variable.
9327 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9328 (ctanh_downward_test_data): New variable.
9329 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9330 (ctanh_upward_test_data): New variable.
9331 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9332 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9335 * math/libm-test.inc (struct test_ff_f_data): New type.
9336 (struct test_ff_f_data_nexttoward): Likewise.
9337 (RUN_TEST_LOOP_2_f): New macro.
9338 (RUN_TEST_LOOP_ff_f): Likewise.
9339 (atan2_test_data): New variable.
9340 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9341 (copysign_test_data): New variable.
9342 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9343 (fdim_test_data): New variable.
9344 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9345 (fmax_test_data): New variable.
9346 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9347 (fmin_test_data): New variable.
9348 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9349 (fmod_test_data): New variable.
9350 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9351 (hypot_test_data): New variable.
9352 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9353 (nextafter_test_data): New variable.
9354 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9355 (nexttoward_test_data): New variable.
9356 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9357 (pow_test_data): New variable.
9358 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9359 (pow_tonearest_test_data): New variable.
9360 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9361 (pow_towardzero_test_data): New variable.
9362 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9363 (pow_downward_test_data): New variable.
9364 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9365 (pow_upward_test_data): New variable.
9366 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9367 (remainder_test_data): New variable.
9368 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9369 (scalb_test_data): New variable.
9370 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9371 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9375 * math/libm-test.inc (fma_test): Use max_value instead of local
9377 (nextafter_test): Likewise.
9379 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9380 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9381 (acos_downward_test_data): New variable.
9382 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9383 (acos_upward_test_data): New variable.
9384 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9385 (acosh_test_data): New variable.
9386 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (asin_test_data): New variable.
9388 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9389 (asin_tonearest_test_data): New variable.
9390 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9391 (asin_towardzero_test_data): New variable.
9392 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9393 (asin_downward_test_data): New variable.
9394 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9395 (asin_upward_test_data): New variable.
9396 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9397 (asinh_test_data): New variable.
9398 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9399 (atan_test_data): New variable.
9400 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9401 (atanh_test_data): New variable.
9402 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9403 (cbrt_test_data): New variable.
9404 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9405 (ceil_test_data): New variable.
9406 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9407 (cos_test_data): New variable.
9408 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9409 (cos_tonearest_test_data): New variable.
9410 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9411 (cos_towardzero_test_data): New variable.
9412 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9413 (cos_downward_test_data): New variable.
9414 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9415 (cos_upward_test_data): New variable.
9416 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9417 (cosh_test_data): New variable.
9418 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9419 (cosh_tonearest_test_data): New variable.
9420 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9421 (cosh_towardzero_test_data): New variable.
9422 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9423 (cosh_downward_test_data): New variable.
9424 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9425 (cosh_upward_test_data): New variable.
9426 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9427 (erf_test_data): New variable.
9428 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9429 (erfc_test_data): New variable.
9430 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9431 (exp_test_data): New variable.
9432 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9433 (exp_tonearest_test_data): New variable.
9434 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9435 (exp_towardzero_test_data): New variable.
9436 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9437 (exp_downward_test_data): New variable.
9438 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9439 (exp_upward_test_data): New variable.
9440 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9441 (exp10_test_data): New variable.
9442 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9443 (exp2_test_data): New variable.
9444 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9445 (expm1_test_data): New variable.
9446 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (fabs_test_data): New variable.
9448 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (floor_test_data): New variable.
9450 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9451 (j0_test_data): New variable.
9452 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9453 (j1_test_data): New variable.
9454 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9455 (log_test_data): New variable.
9456 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9457 (log10_test_data): New variable.
9458 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9459 (log1p_test_data): New variable.
9460 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9461 (log2_test_data): New variable.
9462 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9463 (logb_test_data): New variable.
9464 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9465 (logb_downward_test_data): New variable.
9466 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9467 (nearbyint_test_data): New variable.
9468 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9469 (rint_test_data): New variable.
9470 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9471 (rint_tonearest_test_data): New variable.
9472 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9473 (rint_towardzero_test_data): New variable.
9474 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9475 (rint_downward_test_data): New variable.
9476 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9477 (rint_upward_test_data): New variable.
9478 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9479 (round_test_data): New variable.
9480 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9481 (sin_test_data): New variable.
9482 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9483 (sin_tonearest_test_data): New variable.
9484 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9485 (sin_towardzero_test_data): New variable.
9486 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9487 (sin_downward_test_data): New variable.
9488 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9489 (sin_upward_test_data): New variable.
9490 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9491 (sinh_test_data): New variable.
9492 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9493 (sinh_tonearest_test_data): New variable.
9494 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9495 (sinh_towardzero_test_data): New variable.
9496 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9497 (sinh_downward_test_data): New variable.
9498 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9499 (sinh_upward_test_data): New variable.
9500 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9501 (sqrt_test_data): New variable.
9502 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9503 (tan_test_data): New variable.
9504 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9505 (tan_tonearest_test_data): New variable.
9506 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9507 (tan_towardzero_test_data): New variable.
9508 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9509 (tan_downward_test_data): New variable.
9510 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9511 (tan_upward_test_data): New variable.
9512 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9513 (tanh_test_data): New variable.
9514 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9515 (tgamma_test_data): New variable.
9516 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9517 (trunc_test_data): New variable.
9518 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9519 (y0_test_data): New variable.
9520 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9521 (y1_test_data): New variable.
9522 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9523 (significand_test_data): New variable.
9524 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9526 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9529 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9531 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9533 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9535 2013-05-10 Andreas Jaeger <aj@suse.de>
9538 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9539 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9541 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9543 * math/gen-libm-test.pl (adjust_arg): New function.
9544 (special_functions): Handle generating output in both functions
9546 (parse_args): Likewise.
9547 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9548 $in_func argument to parse_args.
9549 * math/libm-test.inc (struct test_f_f_data): New type.
9550 (IF_ROUND_INIT_): New macro.
9551 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9552 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9553 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9554 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9555 (ROUND_RESTORE_): Likewise.
9556 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9557 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9558 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9559 (ROUND_RESTORE_FE_UPWARD): Likewise.
9560 (RUN_TEST_LOOP_f_f): New macro.
9561 (acos_test_data): New variable.
9562 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9563 (acos_tonearest_test_data): New variable.
9564 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9566 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9568 * benchtests/bench-skeleton.c (startup): Fix coding style.
9570 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9573 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9574 negative infinity argument.
9575 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9576 negative infinity argument.
9577 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9578 negative infinity argument.
9579 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9582 2013-05-10 Florian Weimer <fweimer@redhat.com>
9584 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9585 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9586 * iconv/iconv_prog.c (main): Likewise.
9587 * locale/programs/charmap-dir.c (charmap_readdir)
9588 (fopen_uncompressed): Likewise.
9589 * locale/programs/locfile.c (siblings_uncached)
9590 (write_locale_data): Use lstat64 instead of lstat.
9591 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9594 2013-05-10 Andreas Jaeger <aj@suse.de>
9597 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9601 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9603 * elf/dl-close.c (_dl_close_worker): Add comments.
9605 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9610 (__ieee754_rem_pio2l): Update comments.
9613 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9615 (__ieee754_rem_pio2l): Update comments.
9617 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9618 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9620 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9623 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9624 (M_PI_34_LOG10El): Likewise.
9625 (M_PI2_LOG10El): Likewise.
9626 (M_PI4_LOG10El): Likewise.
9627 (M_PI_LOG10El): Likewise.
9629 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9633 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9635 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9636 (MINUS_ZERO_INIT): Likewise.
9637 (PLUS_INFTY_INIT): Likewise.
9638 (MINUS_INFTY_INIT): Likewise.
9639 (QNAN_VALUE_INIT): Likewise.
9640 (MAX_VALUE_INIT): Likewise.
9641 (MIN_VALUE_INIT): Likewise.
9642 (MIN_SUBNORM_VALUE_INIT): Likewise.
9643 (plus_zero): Initialize with PLUS_ZERO_INIT.
9644 (minus_zero): Initialize with MINUS_ZERO_INIT.
9645 (plus_infty): Initialize with PLUS_INFTY_INIT.
9646 (minus_infty): Initialize with MINUS_INFTY_INIT.
9647 (qnan_value): Initialize with QNAN_VALUE_INIT.
9648 (max_value): Initialize with MAX_VALUE_INIT.
9649 (min_value): Initialize with MIN_VALUE_INIT.
9650 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9652 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9653 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9654 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9655 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9657 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9658 (RUN_TEST_2_f): Likewise.
9659 (RUN_TEST_ff_f): Likewise.
9660 (RUN_TEST_fi_f): Likewise.
9661 (RUN_TEST_fl_f): Likewise.
9662 (RUN_TEST_fff_f): Likewise.
9663 (RUN_TEST_c_f): Likewise.
9664 (RUN_TEST_f_f1): Likewise.
9665 (RUN_TEST_fF_f1): Likewise.
9666 (RUN_TEST_fI_f1): Likewise.
9667 (RUN_TEST_ffI_f1): Likewise.
9668 (RUN_TEST_c_c): Likewise.
9669 (RUN_TEST_cc_c): Likewise.
9670 (RUN_TEST_f_i): Likewise.
9671 (RUN_TEST_f_i_tg): Likewise.
9672 (RUN_TEST_ff_i_tg): Likewise.
9673 (RUN_TEST_f_b): Likewise.
9674 (RUN_TEST_f_b_tg): Likewise.
9675 (RUN_TEST_f_l): Likewise.
9676 (RUN_TEST_f_L): Likewise.
9677 (RUN_TEST_sincos): Likewise.
9678 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9679 whether to show exceptions. Do not include ");\n" in return
9681 (special_functions): Output call to RUN_TEST_sincos instead of
9682 check_float calls. Update calls to new_test.
9683 (parse_args): Output call to single RUN_TEST_* macro instead of
9684 check_* calls and other assignments. Update calls to new_test.
9690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9691 input to result for tgamma overflow.
9692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9693 (gamma_coeff): New variable.
9694 (NCOEFF): New macro.
9695 (gamma_positive): New function.
9696 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9697 underflow here. Use gamma_positive instead of exp (lgamma) for
9699 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9700 (gamma_coeff): New variable.
9701 (NCOEFF): New macro.
9702 (gammaf_positive): New function.
9703 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9704 underflow here. Use gamma_positive instead of exp (lgamma) for
9706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9707 (gamma_coeff): New variable.
9708 (NCOEFF): New macro.
9709 (gammal_positive): New function.
9710 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9711 underflow here. Use gamma_positive instead of exp (lgamma) for
9713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9714 (gamma_coeff): New variable.
9715 (NCOEFF): New macro.
9716 (gammal_positive): New function.
9717 (__ieee754_gammal_r): Handle positive infinity, overflow and
9718 underflow here. Handle NaN the same as positive infinity. Remove
9719 check x < 0xffffffff for negative integers. Use gamma_positive
9720 instead of exp (lgamma) for other arguments.
9721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9722 (gamma_coeff): New variable.
9723 (NCOEFF): New macro.
9724 (gammal_positive): New function.
9725 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9726 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9731 * sysdeps/generic/math_private.h (__gamma_productf): New
9733 (__gamma_product): Likewise.
9734 (__gamma_productl): Likewise.
9735 * math/Makefile (libm-calls): Add gamma_product.
9736 * math/libm-test.inc (tgamma_test): Add more tests.
9737 * sysdeps/i386/fpu/libm-test-ulps: Update.
9738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9740 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9742 * benchtests/bench-skeleton.c (main): Preheat CPU.
9744 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9746 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9748 2013-05-07 Roland McGrath <roland@hack.frob.com>
9750 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9751 and _dl_skip_args_internal.
9753 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9755 * manual/message.texi (Message Translation): Talk about users.
9756 Message to key mapping impacts design.
9758 2013-05-06 Roland McGrath <roland@hack.frob.com>
9760 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9762 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9764 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9765 * sysdeps/wordsize-64/glob64.c: ... here.
9767 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9768 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9771 * debug/getlogin_r_chk.c: Moved to ...
9772 * login/getlogin_r_chk.c: ... here.
9773 * debug/Makefile (routines): Move getlogin_r_chk to ...
9774 * login/Makefile (routines): ... here.
9775 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9776 * login/Versions (libc: GLIBC_2.4): ... here.
9778 * io/poll.c (__poll): Renamed from poll.
9779 Add libc_hidden_def.
9780 (poll): Define as weak alias.
9782 * debug/ptsname_r_chk.c: Moved to ...
9783 * login/ptsname_r_chk.c: ... here.
9784 * debug/Makefile (routines): Move ptsname_r_chk to ...
9785 * login/Makefile (routines): ... here.
9786 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9787 * login/Versions (libc: GLIBC_2.4): ... here.
9789 * posix/getlogin.c: Moved to ...
9790 * login/getlogin.c: ... here.
9791 * posix/getlogin_r.c: Moved to ...
9792 * login/getlogin_r.c: ... here.
9793 * posix/getlogin_r.c: Moved to ...
9794 * login/getlogin_r.c: ... here.
9795 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9796 * login/Makefile (routines): ... here.
9797 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9798 * login/Versions (libc: GLIBC_2.0): ... here.
9800 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9801 (setrlimit): Define as weak alias.
9803 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9804 Call __ names for open, ftruncate, and close.
9805 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9806 (truncate): Define as weak alias.
9808 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9810 * math/gen-libm-test.pl (parse_args): Initialize x before each
9811 test of frexp, modf and remquo.
9813 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9816 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9822 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9824 2013-05-06 Roland McGrath <roland@hack.frob.com>
9826 * elf/dl-writev.h: New file.
9827 * elf/dl-misc.c: Include it.
9828 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9829 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9831 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9833 * math/libm-test.inc (noXFails): Remove variable.
9834 (noXPasses): Likewise.
9835 (BUILD_COMPLEX_INT): Remove macro.
9836 (print_screen): Remove xfail argument.
9837 (print_screen_max_error): Likewise.
9838 (update_stats): Likewise.
9839 (print_max_error): Likewise. Update calls to other affected
9841 (print_complex_max_error): Likewise.
9842 (test_single_exception): Update calls to print_screen.
9843 (test_single_errno): Likewise.
9844 (check_float_internal): Remove xfail argument. Update calls to
9845 other affected functions.
9846 (check_float): Likewise.
9847 (check_complex): Likewise.
9848 (check_int): Likewise.
9849 (check_long): Likewise.
9850 (check_bool): Likewise.
9851 (check_longlong): Likewise.
9852 (main): Don't print noXFails and noXPasses.
9853 * math/gen-libm-test.pl (top level): Don't mention expected
9854 failure handling in comment.
9855 (new_test): Don't handle expected failures.
9856 (parse_args): Don't mention expected failure handling in comment.
9857 (generate_testfile): Don't handle expected failures.
9858 (parse_ulps): Likewise.
9859 (print_ulps_file): Likewise.
9860 (get_failure): Remove function.
9861 (output_test): Don't handle expected failures.
9862 * make/README.libm-test: Don't mention expected failure handling.
9864 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9865 (minus_zero): Likewise.
9866 (plus_infty): Likewise.
9867 (minus_infty): Likewise.
9868 (qnan_value): Likewise.
9869 (max_value): Likewise.
9870 (min_value): Likewise.
9871 (min_subnorm_value): Likewise.
9872 (initialize): Do not initialize those variables dynamically.
9874 2013-05-03 Roland McGrath <roland@hack.frob.com>
9876 * io/open.c (__open_2): Moved to ...
9877 * io/open_2.c: ... this new file.
9878 * io/open64.c (__open64_2): Moved to ...
9879 * io/open64_2.c: ... this new file.
9880 * io/openat.c (__openat_2): Moved to ...
9881 * io/openat_2.c: ... this new file.
9882 * io/openat64.c (__openat64_2): Moved to ...
9883 * io/openat64_2.c: ... this new file.
9884 * io/Makefile (routines): Add them.
9885 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9886 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9887 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9888 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9889 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9890 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9891 (__openat64): Add hidden_ver.
9892 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9893 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9895 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9896 Separately conditionalize setting of GLRO(dl_sysinfo) so
9897 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9898 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9900 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9903 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9905 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9906 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9907 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9908 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9909 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9911 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9913 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9916 * math/libm-test.inc (hypot_test): Do not use
9917 IGNORE_ZERO_INF_SIGN.
9919 2013-05-03 Andreas Jaeger <aj@suse.de>
9921 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9923 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9924 (PF_MAX): Adjust for VSOCK change.
9926 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9930 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9933 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9934 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9935 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9937 2013-05-02 David S. Miller <davem@davemloft.net>
9939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9941 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9943 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9945 2013-05-01 Roland McGrath <roland@hack.frob.com>
9947 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9949 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9952 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9953 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9954 Use __attribute__ ((__gnu_inline__)).
9955 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9956 Don't use __attribute__ ((__gnu_inline__)).
9958 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9961 * math/s_catan.c (__catan): Handle small real or imaginary part of
9962 input specially to avoid spurious underflow.
9963 * math/s_catanf.c (__catanf): Likewise.
9964 * math/s_catanh.c (__catanh): Likewise.
9965 * math/s_catanhf.c (__catanhf): Likewise.
9966 * math/s_catanhl.c (__catanhl): Likewise.
9967 * math/s_catanl.c (__catanl): Likewise.
9968 * math/libm-test.inc (catan_test): Add more tests.
9969 (catanh_test): Likewise.
9970 * sysdeps/i386/fpu/libm-test-ulps: Update.
9971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9977 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9980 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9981 accurately for denominator in atan2.
9982 * math/s_catanf.c (__catanf): Likewise.
9983 * math/s_catanh.c (__catanh): Likewise.
9984 * math/s_catanhf.c (__catanhf): Likewise.
9985 * math/s_catanhl.c (__catanhl): Likewise.
9986 * math/s_catanl.c (__catanl): Likewise.
9987 * math/libm-test.inc (catan_test): Add more tests.
9988 (catanh_test): Likewise.
9989 * sysdeps/i386/fpu/libm-test-ulps: Update.
9990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9994 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9996 * benchtests/Makefile (bench): Remove slow benchmarks.
9997 * benchtests/atan-inputs: Add slow benchmark inputs.
9998 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9999 (BENCH_FUNC): Accept variant offset.
10001 * benchtests/bench-skeleton.c (main): Run benchmark for each
10003 * benchtests/cos-inputs: Add slow benchmark inputs.
10004 * benchtests/exp-inputs: Likewise.
10005 * benchtests/pow-inputs: Likewise.
10006 * benchtests/sin-inputs: Likewise.
10007 * benchtests/slowatan-inputs: Remove.
10008 * benchtests/slowatan.c: Remove.
10009 * benchtests/slowcos-inputs: Remove.
10010 * benchtests/slowcos.c: Remove.
10011 * benchtests/slowexp-inputs: Remove.
10012 * benchtests/slowexp.c: Remove.
10013 * benchtests/slowpow-inputs: Remove.
10014 * benchtests/slowpow.c: Remove.
10015 * benchtests/slowsin-inputs: Remove.
10016 * benchtests/slowsin.c: Remove.
10017 * benchtests/slowtan-inputs: Remove.
10018 * benchtests/slowtan.c: Remove.
10019 * benchtests/tan-inputs: Add slow benchmark inputs.
10020 * scripts/bench.pl: Parse comments and directives.
10022 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10024 ($(objpfx)bench-%.c): Remove *-ITER.
10025 * benchtests/bench-modf.c: Remove definition of ITER.
10026 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10027 (main): Loop for DURATION seconds instead of fixed number of
10029 * scripts/bench.pl: Don't expect iterations in parameters.
10031 2013-04-29 Roland McGrath <roland@hack.frob.com>
10033 * io/fchdir.c (__fchdir): Renamed from fchdir.
10034 (fchdir): Define as weak alias.
10036 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10038 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10039 (ERRNO_EDOM): Likewise.
10040 (ERRNO_ERANGE): Likewise.
10041 (noErrnoTests): New variable.
10042 (init_max_error): Set errno to 0.
10043 (test_single_errno): New function.
10044 (test_errno): Likewise.
10045 (check_float_internal): Call test_errno. Set errno to 0.
10046 (check_complex): Refer to errno tests in comment.
10047 (check_int): Call test_errno. Set errno to 0.
10048 (check_long): Likewise.
10049 (check_bool): Likewise.
10050 (check_longlong): Likewise.
10051 (cos_test): Use ERRNO_* flags for errno tests instead of
10053 (expm1_test): Likewise.
10054 (fmod_test): Likewise.
10055 (ilogb_test): Likewise.
10056 (lgamma_test): Likewise.
10057 (pow_test): Likewise.
10058 (remainder_test): Likewise.
10059 (sin_test): Likewise.
10060 (tan_test): Likewise.
10061 (yn_test): Likewise.
10062 (initialize): Set errno to 0.
10063 (main): Print number of errno tests.
10064 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10066 2013-04-29 Andreas Jaeger <aj@suse.de>
10069 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10073 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10074 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10078 * stdlib/random.c (__initstate): Return NULL if
10082 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10083 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10086 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10090 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10092 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10093 of individual tests.
10094 (casin_test): Likewise.
10095 (casinh_test): Likewise.
10097 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10100 * math/s_catan.c (__catan): Handle arguments with large real or
10101 imaginary part separately without squaring.
10102 * math/s_catanf.c (__catanf): Likewise.
10103 * math/s_catanh.c (__catanh): Likewise.
10104 * math/s_catanhf.c (__catanhf): Likewise.
10105 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10107 (__catanhl): Handle arguments with large real or imaginary part
10108 separately without squaring.
10109 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10111 (__catanl): Handle arguments with large real or imaginary part
10112 separately without squaring.
10113 * math/libm-test.inc (catan_test): Add more tests.
10114 (catanh_test): Likewise.
10115 * sysdeps/i386/fpu/libm-test-ulps: Update.
10116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10118 2013-04-27 Andreas Jaeger <aj@suse.de>
10121 * stdlib/stdlib.h: Update guards for qecvt.
10122 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10125 2013-04-27 Allan McRae <allan@archlinux.org>
10127 * sysdeps/i386/fpu/libm-test-ulps: Update.
10129 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10132 * math/s_catan.c: Include <float.h>.
10133 (__catan): Ensure underflow exception occurs for underflowed
10135 * math/s_catanf.c: Include <float.h>.
10136 (__catanf): Ensure underflow exception occurs for underflowed
10138 * math/s_catanh.c: Include <float.h>.
10139 (__catanh): Ensure underflow exception occurs for underflowed
10141 * math/s_catanhf.c: Include <float.h>.
10142 (__catanhf): Ensure underflow exception occurs for underflowed
10144 * math/s_catanhl.c: Include <float.h>.
10145 (__catanhl): Ensure underflow exception occurs for underflowed
10147 * math/s_catanl.c: Include <float.h>.
10148 (__catanl): Ensure underflow exception occurs for underflowed
10150 * math/libm-test.inc (catan_test): Add more tests.
10151 (catanh_test): Likewise.
10154 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10155 underflowed result.
10156 * math/s_ccoshf.c (__ccoshf): Likewise.
10157 * math/s_ccoshl.c (__ccoshl): Likewise.
10158 * math/s_csin.c (__csin): Likewise.
10159 * math/s_csinf.c (__csinf): Likewise.
10160 * math/s_csinh.c (__csinh): Likewise.
10161 * math/s_csinhf.c (__csinhf): Likewise.
10162 * math/s_csinhl.c (__csinhl): Likewise.
10163 * math/s_csinl.c (__csinl): Likewise.
10164 * math/libm-test.inc (ccos_test): Add more tests.
10165 (ccosh_test): Likewise.
10166 (csin_test): Likewise.
10167 (csinh_test): Likewise.
10169 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10171 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10172 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10173 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10174 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10175 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10176 powerpc/power5+/fpu folders.
10177 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10180 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10184 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10186 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10187 additions to variable.
10188 [$(config-machine) = x86_64] (modules-names): Likewise.
10189 ($(objpfx)tst-audit3): Remove dependency.
10190 ($(objpfx)tst-audit3.out): Likewise.
10191 ($(objpfx)tst-audit4): Likewise.
10192 ($(objpfx)tst-audit4.out): Likewise.
10193 ($(objpfx)tst-audit5): Likewise.
10194 ($(objpfx)tst-audit5.out): Likewise.
10195 ($(objpfx)tst-audit6): Likewise.
10196 ($(objpfx)tst-audit6.out): Likewise.
10197 ($(objpfx)tst-audit7): Likewise.
10198 ($(objpfx)tst-audit7.out): Likewise.
10199 (tst-audit3-ENV): Remove variable.
10200 (tst-audit4-ENV): Likewise.
10201 (tst-audit5-ENV): Likewise.
10202 (tst-audit6-ENV): Likewise.
10203 (tst-audit7-ENV): Likewise.
10204 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10205 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10206 addition to variable.
10207 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10208 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10212 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10213 tst-audit3, tst-audit4 and tst-audit5.
10214 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10215 tst-audit6 and tst-audit7.
10216 [$(subdir) = elf] (modules-names): Add audit modules for those
10218 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10219 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10220 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10221 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10222 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10223 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10224 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10225 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10226 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10227 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10228 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10229 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10230 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10231 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10232 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10233 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10235 [$(subdir) = elf && $(config-cflags-avx) = yes]
10236 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10237 [$(subdir) = elf && $(config-cflags-avx) = yes]
10238 (CFLAGS-tst-auditmod4a.c): Likewise.
10239 [$(subdir) = elf && $(config-cflags-avx) = yes]
10240 (CFLAGS-tst-auditmod4b.c): Likewise.
10241 [$(subdir) = elf && $(config-cflags-avx) = yes]
10242 (CFLAGS-tst-auditmod6b.c): Likewise.
10243 [$(subdir) = elf && $(config-cflags-avx) = yes]
10244 (CFLAGS-tst-auditmod6c.c): Likewise.
10245 [$(subdir) = elf && $(config-cflags-avx) = yes]
10246 (CFLAGS-tst-auditmod7b.c): Likewise.
10247 * elf/tst-audit3.c: Move to ...
10248 * sysdeps/x86_64/tst-audit3.c: ... here.
10249 * elf/tst-audit4.c: Move to ...
10250 * sysdeps/x86_64/tst-audit4.c: ... here.
10251 * elf/tst-audit5.c: Move to ...
10252 * sysdeps/x86_64/tst-audit5.c: ... here.
10253 * elf/tst-audit6.c: Move to ...
10254 * sysdeps/x86_64/tst-audit6.c: ... here.
10255 * elf/tst-audit7.c: Move to ...
10256 * sysdeps/x86_64/tst-audit7.c: ... here.
10257 * elf/tst-auditmod3a.c: Move to ...
10258 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10259 * elf/tst-auditmod3b.c: Move to ...
10260 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10261 * elf/tst-auditmod4a.c: Move to ...
10262 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10263 * elf/tst-auditmod4b.c: Move to ...
10264 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10265 * elf/tst-auditmod5a.c: Move to ...
10266 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10267 * elf/tst-auditmod5b.c: Move to ...
10268 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10269 * elf/tst-auditmod6a.c: Move to ...
10270 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10271 * elf/tst-auditmod6b.c: Move to ...
10272 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10273 * elf/tst-auditmod6c.c: Move to ...
10274 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10275 * elf/tst-auditmod7a.c: Move to ...
10276 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10277 * elf/tst-auditmod7b.c: Move to ...
10278 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10280 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10283 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10284 define unconditionally.
10285 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10286 define unconditionally.
10287 (INT8_C, INT16_C, etc.): Likewise.
10289 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10291 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10292 __ehdr_start with hidden visibility.
10294 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10296 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10298 * math/libm-test.inc (cos_test): Use accurate hex constants.
10299 (sincost_test): Likewise.
10301 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10303 * math/libm-test.inc (catan_test): Add more tests.
10304 (catanh_test): Likewise.
10306 * math/s_catanf.c (__catanf): Use suffixed floating-point
10308 * math/s_catanhf.c (__catanhf): Likewise.
10309 * math/s_catanhl.c (__catanhl): Likewise.
10310 * math/s_catanl.c (__catanl): Likewise.
10313 * math/s_catan.c (__catan): Calculate imaginary part of result
10314 with log1p not log unless computing log of number close to 0.
10315 * math/s_catanf.c (__catanf): Likewise.
10316 * math/s_catanl.c (__catanl): Likewise.
10317 * math/s_catanh.c (__catanh): Calculate real part of result with
10318 log1p not log unless computing log of number close to 0.
10319 * math/s_catanhf.c (__catanhf): Likewise.
10320 * math/s_catanhl.c (__catanhl): Likewise.
10321 * math/libm-test.inc (catan_test): Add more tests.
10322 (catanh_test): Likewise.
10323 * sysdeps/i386/fpu/libm-test-ulps: Update.
10324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10326 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10328 * benchtests/Makefile: Mention files in which fast and slow
10329 paths of math functions are implemented.
10331 2013-04-23 Roland McGrath <roland@hack.frob.com>
10333 * sysdeps/posix/timespec_get.c: New file.
10335 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10339 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10341 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10342 powerpc/power5/fpu folders.
10343 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10344 * benchtests/Makefile: Add modf testcase.
10345 * benchtests/bench-modf.c: New file: Benchmark test for mo
10347 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10350 * time/Makefile (tests): Add tst-strptime-whitespace.
10351 * time/strptime_l.c (get_number): Use ISSPACE.
10352 (__strptime_internal): Likewise.
10353 * time/tst-strptime-whitespace.c: New test case.
10355 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10357 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10359 (_nss_files_init): Set it here.
10361 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10364 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10367 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10369 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10371 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10376 2013-04-21 David S. Miller <davem@davemloft.net>
10378 * po/ru.po: Update Russion translation from translation project.
10380 2013-04-17 Adam Conrad <adconrad@0c3.net>
10382 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10385 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10387 * configure.in: Remove i386 configure warning. Remove i386 case.
10388 * configure: Regenerate.
10389 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10390 Add example to error message.
10391 * sysdeps/i386/configure: Regenerate.
10393 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10395 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10397 * benchtests/cos-inputs: New file.
10398 * benchtests/slowcos-inputs: New file.
10399 * benchtests/slowcos.c: New file.
10400 * benchtests/slowtan-inputs: New file.
10401 * benchtests/slowtan.c: New file.
10402 * benchtests/tan-inputs: New file.
10404 2013-04-16 Roland McGrath <roland@hack.frob.com>
10406 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10409 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10411 * benchtests/Makefile: Include cppflags-iterator.mk to add
10412 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10414 * Makefile.in (bench-clean): New target.
10415 * benchtests/Makefile (bench-clean): Likewise.
10417 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10419 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10421 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10423 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10425 2013-04-15 Andreas Schwab <schwab@suse.de>
10427 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10429 * nscd/pwdcache.c (cache_addpw): Likewise.
10430 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10433 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10435 * benchtests/Makefile (bench): Write all output to
10436 bench-out.tmp together.
10438 2013-04-15 Andreas Schwab <schwab@suse.de>
10440 * nscd/nscd.c (main): Don't fork again after closing files.
10442 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10444 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10446 * benchtests/Rules (bench-deps): Collect dependencies into a
10447 single variable. Add Makefile to dependencies.
10448 ($(objpfx)bench-%.c): Depend on bench-deps.
10450 2013-04-12 Roland McGrath <roland@hack.frob.com>
10451 Xavier Roche <roche+kml2@exalead.com>
10454 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10455 just that it's a file descriptor.
10456 * manual/llio.texi (Synchronizing AIO Operations): Update description
10457 for EBADF error from aio_fsync.
10459 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * Rules (bench): Move target definition...
10462 * benchtests/Makefile: ... here.
10464 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10466 * math/libm-test.inc (cos_test): Fix PI/2 test.
10467 (sincos_test): Likewise.
10468 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10469 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10471 2013-04-11 Andreas Schwab <schwab@suse.de>
10474 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10475 accept exponent character only when digits were seen.
10476 * stdio-common/Makefile (tests): Add bug26.
10477 * stdio-common/bug26.c: New file.
10480 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10483 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10485 * Makeconfig (rtld-prefix): Define built linker prefix.
10486 * Rules (run-bench): Use it.
10487 * math/Makefile (run-regen-ulps): Likewise.
10489 * Rules (bench): Remove eval.
10491 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10492 Roland McGrath <roland@hack.frob.com>
10493 Ondrej Bilka <neleai@seznam.cz>
10496 * time/getdate.c: Include ctype.h and alloca.h.
10497 (__getdate_r): Trim leading and trailing spaces of input.
10498 * time/tst-getdate.c (tests): Add tests with leading and
10501 2013-04-08 Roland McGrath <roland@hack.frob.com>
10504 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10505 when computing value.
10507 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10509 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10510 Use testrun.sh to run libm tests.
10513 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10515 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10518 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10520 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10522 * Makefile.in (regen-ulps): New target.
10523 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10524 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10525 [ifneq (no,$(PERL)] (regen-ulps): New target.
10526 [ifeq (no,$(PERL)] (regen-ulps): New target.
10527 * math/libm-test.inc (ulps_file_name): Define.
10528 (output_dir): New variable.
10529 (options): Add "output-dir" option.
10530 (parse_opt): Handle 'o' case.
10531 (main): If output_dir is non-NULL use it as a prefix
10533 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10535 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10537 [BZ #10060, #10062]
10538 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10539 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10540 fail configure if __sync_val_compare_and_swap is not inlined.
10541 * sysdeps/i386/configure: Regenerate.
10542 * configure.in: Build for i686 when configured for i386.
10543 * configure: Regenerate.
10544 * README: Remove i386 reference.
10546 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10548 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10551 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10553 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10554 (lmsnanval): New variables.
10555 (F): Add conversion tests.
10556 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10557 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10559 * stdio-common/tstdiomisc.c (F): Properly collect individual
10562 [BZ #14686, #15336]
10563 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10564 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10565 Instead, use input NaN values or generate a qNaN by arithmetic
10566 operation. Also fix bugs to comply with the standard.
10567 * math/libm-test.inc (remainder_test): Add more tests.
10569 [BZ #15335, #15342]
10570 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10572 input NaN values or generate a qNaN by arithmetic operation.
10574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10577 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10580 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10583 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10584 underflowed result.
10585 * math/s_cexpf.c (__cexpf): Likewise.
10586 * math/s_cexpl.c (__cexpl): Likewise.
10587 * math/libm-test.inc (cexp_test): Add more tests.
10589 2013-04-03 Andreas Schwab <schwab@suse.de>
10592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10593 order arrays from heap if bigger than alloca cutoff.
10595 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10597 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10598 (SNAN_TESTS_double): Refer to GCC PR56831.
10599 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10602 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10604 * Rules (bench): Move bench.out after the run is complete.
10606 * Rules (bench): Echo currently running benchmark.
10608 * benchtests/Makefile (bench): Add atan and slowatan.
10609 * benchtests/atan-inputs: New file.
10610 * benchtests/slowatan-inputs: New file.
10611 * benchtests/slowatan.c: New file.
10613 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10618 * sysdeps/unix/sysv/linux/kernel-features.h
10619 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10620 __ASSUME_XFS_RESTRICTED_CHOWN.
10621 * sysdeps/unix/sysv/linux/pathconf.c
10622 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10623 Save and restore errno.
10625 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10628 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10629 arguments using __kernel_casinh.
10630 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10631 arguments using __kernel_casinhf.
10632 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10633 arguments using __kernel_casinhl.
10634 * math/libm-test.inc (cacosh_test): Add more tests.
10635 * sysdeps/i386/fpu/libm-test-ulps: Update.
10636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10638 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10640 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10643 * bench/Makefile (bench): Add sin and slowsin.
10644 * benchtests/sin-inputs: New file.
10645 * benchtests/slowsin-inputs: New file.
10646 * benchtests/slowsin.c: New file.
10648 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10649 (bench): Add slowexp and slowpow.
10650 (exp-ITER): Increase iterations.
10651 (pow-ITER): Likewise.
10652 * benchtests/exp-inputs: Change input.
10653 * benchtests/pow-inputs: Likewise.
10654 * benchtests/slowexp-inputs: New file.
10655 * benchtests/slowexp.c: New file.
10656 * benchtests/slowpow-inputs: New file.
10657 * benchtests/slowpow.c: New file.
10659 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10663 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10664 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10666 * benchtests/Makefile: Add rint benchtest.
10667 * benchtests/rint-inputs: Input for rint benchtest.
10669 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10671 * Versions.def (libm): Add GLIBC_2.18.
10672 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10673 hidden libm prototypes.
10674 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10675 * math/Makefile (libm-calls): Add s_issignaling.
10676 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10677 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10678 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10680 * math/math.h [__USE_GNU] (issignaling): New macro.
10681 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10682 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10684 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10687 * manual/arith.texi (issignaling): New section.
10688 * manual/libm-err-tab.pl (@all_functions): Update comment.
10689 * math/gen-libm-test.pl (parse_args): Apply special handling for
10691 * math/libm-test.inc (print_float, issignaling_test): New
10693 (check_float_internal): Add issignaling checks.
10694 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10695 default definition.
10696 * sysdeps/powerpc/math-tests.h: New file.
10697 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10699 * math/test-snan.c (TEST_FUNC): Likewise.
10701 2013-03-30 David S. Miller <davem@davemloft.net>
10703 * po/de.po: Update from translation team.
10705 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10708 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10709 imaginary part less than 1.0 and real part less than 0.5
10711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10713 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10714 (cacos_test): Add more tests.
10715 (casin_test): Likewise.
10716 (casinh_test): Likewise.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10722 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10723 ONE with its value.
10725 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10726 (__pow_mp): Replace ONE and MONE with their values.
10727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10731 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10732 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10734 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10736 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10737 (__pow_mp): Replace ZERO and MZERO with their values.
10738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10743 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10746 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10748 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10750 2013-03-28 Roland McGrath <roland@hack.frob.com>
10752 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10753 Declare with __attribute__ ((weak)).
10754 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10755 Call __call_tls_dtors only if it's not NULL.
10757 2013-03-28 Roland McGrath <roland@hack.frob.com>
10759 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10760 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10761 magic __ehdr_start linker symbol if it's defined.
10762 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10763 them up here if it was already done.
10765 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10766 (_dl_aux_init): Use const in cast when setting it.
10767 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10768 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10769 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10771 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10773 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10774 * csu/libc-tls.c: Nor here.
10775 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10777 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10778 (__libc_message): Never call vsyslog.
10780 2013-03-28 Alan Modra <amodra@gmail.com>
10782 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10784 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10787 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10790 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10794 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10797 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10798 Don't add gid passed as argument.
10800 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10802 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10805 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10806 imaginary part between 1.0 and 1.5 and real part less than 0.5
10808 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10809 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10810 * math/libm-test.inc (cacos_test): Add more tests.
10811 (casin_test): Likewise.
10812 (casinh_test): Likewise.
10813 * sysdeps/i386/fpu/libm-test-ulps: Update.
10814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10818 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10821 (denorm): Likewise.
10822 (__dbl_mp): Likewise.
10823 (add_magnitudes): Likewise.
10824 (sub_magnitudes): Likewise.
10832 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10834 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10835 (__dubcos): Likewise.
10836 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10837 (__ieee754_acos): Likewise.
10838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10840 (__exp1): Likewise.
10841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10844 (my_log2): Likewise.
10845 (checkint): Likewise.
10846 * sysdeps/ieee754/dbl-64/e_remainder.c
10847 (__ieee754_remainder): Likewise.
10848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10850 (bsloww): Likewise.
10851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10853 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10855 MANTISSA_STORE_T to store computations on mantissa. Use
10856 macros for rounding and division.
10857 (denorm): Likewise.
10858 (__dbl_mp): Likewise.
10859 (add_magnitudes): Likewise.
10860 (sub_magnitudes): Likewise.
10863 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10864 powers of two in terms of TWOPOW macro.
10865 (mp_no): Make type of mantissa as MANTISSA_T.
10866 [!RADIXI]: Define RADIXI.
10867 [!TWO52]: Define TWO52.
10868 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10870 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10872 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10873 llroundl symbol when building for PPC32.
10875 2013-03-24 Mark H Weaver <mhw@netris.org>
10877 * manual/arith.texi (Normalization Functions): Fix prototypes for
10878 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10880 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10884 high value to check if expl overflow.
10885 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10886 to check for underflow and overflow.
10887 * math/libm-test.inc: Add exp test.
10889 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10892 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10895 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10900 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10902 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10903 wrap blocks consisting of several statements.
10905 * sysdeps/generic/math-tests.h: New file.
10906 * sysdeps/i386/fpu/math-tests.h: Likewise.
10907 * math/test-snan.c: Include it.
10908 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10910 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10914 (__ieee754_j0l): Do not improve calculations using cos of twice
10915 input for inputs above LDBL_MAX / 2.0L.
10916 (__ieee754_y0l): Likewise.
10917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10918 (__ieee754_j1l): Do not improve calculations using cos of twice
10919 input for inputs above LDBL_MAX / 2.0L.
10920 (__ieee754_y1l): Likewise.
10921 * math/libm-test.inc (j0_test): Add another test.
10922 (j1_test): Likewise.
10923 (y0_test): Likewise.
10924 (y1_test): Likewise.
10925 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10929 * Rules ($(objpfx)bench-%.c): Include code from a C source
10932 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10935 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10936 imaginary part 1.0 and real part less than 0.5 specially.
10937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10939 * math/libm-test.inc (cacos_test): Add more tests.
10940 (casin_test): Likewise.
10941 (casinh_test): Likewise.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10948 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10950 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10952 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10953 * config.make.in (config-cflags-sse4): Remove variable.
10954 (config-cflags-avx): Likewise.
10955 (config-cflags-sse2avx): Likewise.
10956 (config-cflags-novzeroupper): Likewise.
10957 (config-asflags-i686): Likewise.
10958 (have-mfma4): Likewise.
10959 (have-as-vis3): Likewise.
10961 * configure.in (MIG): Do not AC_SUBST.
10962 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10963 (libc_cv_cc_sse4): Do not AC_SUBST.
10964 (libc_cv_cc_avx): Likewise.
10965 (libc_cv_cc_sse2avx): Likewise.
10966 (libc_cv_cc_novzeroupper): Likewise.
10967 (libc_cv_cc_fma4): Likewise.
10968 (libc_cv_as_i686): Likewise.
10969 (libc_cv_sparc_as_vis3): Likewise.
10970 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10972 (config-asflags-i686): Likewise.
10973 (config-cflags-avx): Likewise.
10974 (config-cflags-sse2avx): Likewise.
10975 (have-mfma4): Likewise.
10976 (config-cflags-novzeroupper): Likewise.
10977 * sysdeps/mach/configure.in (MIG): Likewise.
10978 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10979 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10981 (config-cflags-avx): Likewise.
10982 (config-cflags-sse2avx): Likewise.
10983 (have-mfma4): Likewise.
10984 (config-cflags-novzeroupper): Likewise.
10985 * configure: Regenerated.
10986 * sysdeps/i386/configure: Likewise.
10987 * sysdeps/mach/configure: Likewise.
10988 * sysdeps/sparc/configure: Likewise.
10989 * sysdeps/x86_64/configure: Likewise.
10991 2013-03-20 Roland McGrath <roland@hack.frob.com>
10994 * locale/programs/localedef.c (options): Put N_ translation marker
10995 on argument names, not just descriptions.
10997 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10999 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11001 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11004 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11006 2013-03-19 Roland McGrath <roland@hack.frob.com>
11008 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11009 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11010 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11011 [!BEFORE_ABORT] (before_abort): New function.
11012 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11013 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11014 (writev_for_fatal): New function.
11015 (WRITEV_FOR_FATAL): New macro; call that.
11016 (backtrace_and_maps): New function.
11017 (BEFORE_ABORT): New macro; call that.
11018 (struct str_list): Type removed.
11019 (__libc_message, __libc_fatal): Functions removed.
11020 Include <sysdeps/posix/libc_fatal.c> instead.
11022 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11024 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11026 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11029 2013-03-19 Andreas Schwab <schwab@suse.de>
11031 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11032 * sysdeps/gnu/configure: Regenerate.
11034 * configure.in: Substitute libc_cv_rtlddir.
11035 * configure: Regenerate.
11036 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11037 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11038 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11039 * elf/Makefile (install-others, CFLAGS-interp.c)
11040 (ldso_install, common-ldd-rewrite): Likewise.
11041 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11042 $(inst_slibdir)/$(rtld-installed-name).
11043 * scripts/rellns-sh: Add -p option.
11044 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11047 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11049 * manual/nptl.texi: Renamed to ...
11050 * manual/threads.texi: ... this.
11051 * manual/Makefile (chapters): Update.
11053 2013-03-18 Roland McGrath <roland@hack.frob.com>
11056 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11057 on argument names, not just descriptions.
11058 * malloc/memusagestat.c (options): Likewise.
11059 * nss/getent.c (options): Likewise.
11061 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11064 * iconv/iconv_prog.c (options): Put N_ translation marker
11065 on argument names, not just descriptions.
11066 * iconv/iconvconfig.c (options): Likewise.
11068 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11070 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11071 implementation which is faster on all x86_64 architectures.
11072 Tested on AMD, Intel Nehalem, SNB, IVB.
11073 * sysdeps/x86_64/strnlen.S: Likewise.
11075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11076 Remove all multiarch strlen and strnlen versions.
11077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11078 Remove strlen and strnlen related parts.
11080 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11081 Inline strlen part.
11082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11084 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11085 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11086 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11087 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11088 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11091 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11093 * manual/memory.texi (Malloc Tunable Parameters):
11094 Sort parameters alphabetically. Add comments for missing entries.
11096 2013-03-17 David S. Miller <davem@davemloft.net>
11098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11100 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11103 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11104 for arguments at most half maximum finite value.
11105 * math/libm-test.inc (j0_test): Add more tests.
11106 (j1_test): Likewise.
11107 (y0_test): Likewise.
11108 (y1_test): Likewise.
11109 * sysdeps/i386/fpu/libm-test-ulps: Update.
11110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11114 1 / x and functions P and Q for arguments above 0x1p256L.
11115 (__ieee754_y0l): Likewise.
11116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11117 (__ieee754_y1l): Likewise.
11118 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11119 (j1_test): Likewise.
11120 (y0_test): Likewise.
11121 (y1_test): Likewise.
11123 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11125 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11128 2013-03-15 Roland McGrath <roland@hack.frob.com>
11130 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11131 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11132 zero since it's initialized to EXEC_PAGESIZE.
11134 * sysdeps/unix/sysv/linux/ldsodefs.h
11135 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11136 * sysdeps/generic/ldsodefs.h: ... here.
11138 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11140 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11142 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11144 * math/test-snan.c: Renamed from
11145 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11146 * math/Makefile (tests): Add test-snan.
11147 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11150 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11151 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11153 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11154 __builtin_nan family of functions.
11155 * math/libm-test.inc (initialize): Initialize qnan_value with
11156 __builtin_nan family of functions.
11157 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11159 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11161 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11162 storage class. Initialize qNaN_var and sNaN_var with
11163 __builtin_nan and __builtin_nans families of functions,
11166 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11167 (sqrt_test): Remove duplicate test with qNaN input.
11168 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11169 (round_test, signbit_test, significand_test): Note missing +/-Inf
11170 as well as qNaN tests.
11172 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11173 qNaN_var. Fix a few strings, too.
11174 * math/libm-test.inc (nan_value): Rename to qnan_value.
11175 * math/gen-libm-test.pl (%beautify): Adjust to that.
11176 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11177 * math/test-misc.c (main): Likewise.
11178 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11179 to __qnan_bytes, and __qnan_union, respectively.
11180 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11182 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11183 and lqnanval, respectively.
11184 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11185 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11186 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11187 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11189 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11190 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11193 * math/test-misc.c (main): Fix copy'n'pastos.
11194 * misc/tst-efgcvt.c (special): Likewise.
11196 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11197 Remove declarations.
11199 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11202 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11203 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11204 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11206 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11209 macro to return vdso values correctly in IFUNC implementations.
11210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11211 Optimization by using IFUNC.
11213 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 Richard Henderson <rth@redhat.com>
11215 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11217 * Makefile.in (bench): New target.
11218 * NEWS: Mention the benchmark framework.
11219 * Rules (bench): Likewise.
11220 (binaries-bench): Generate binaries for functions to
11222 * benchtests/Makefile: New makefile for benchmark tests.
11223 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11225 * benchtests/exp-inputs: New input file for EXP function.
11226 * benchtests/pow-inputs: New input file for POW function.
11227 * scripts/bench.pl: New script to generate source files for
11228 benchmark programs.
11230 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11232 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11234 computations on mantissa. Use macros for rounding and
11236 (denorm): Likewise.
11237 (__dbl_mp): Likewise.
11238 (add_magnitudes): Likewise.
11239 (sub_magnitudes): Likewise.
11242 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11243 powers of two in terms of TWOPOW macro.
11244 (mp_no): Make type of mantissa as MANTISSA_T.
11245 [!RADIXI]: Define RADIXI.
11246 [!TWO52]: Define TWO52.
11247 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11249 * manual/nptl.texi (cindex): Modify threads to pthreads.
11251 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11253 * sysdeps/x86_64/preconfigure: Regenerated.
11255 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11258 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11260 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11261 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11263 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11264 * math/libm-test.inc (j0_test): Do not allow one spurious
11265 underflow exception.
11266 (y1_test): Likewise.
11268 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11270 * manual/Makefile (chapters): Add nptl.
11271 * manual/debug.texi (Debugging Support): Add link to Threads
11273 * manual/nptl.texi: New file.
11275 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11277 2013-03-14 Petr Baudis <pasky@ucw.cz>
11279 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11280 for non-NULL pointer before the memory validity test. Pointed
11281 out by Holger Brunck <holger.brunck@keymile.com>.
11283 2013-03-13 Andreas Schwab <schwab@suse.de>
11285 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11288 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11290 * timezone/zic.c: Update from tzcode 2013b.
11292 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11294 * manual/install.texi (Configuring and compiling):
11295 Mention i686 and i586.
11296 * INSTALL: Regenerate.
11298 2013-03-12 Roland McGrath <roland@hack.frob.com>
11300 * sysdeps/init_array/elf-init.c: New file.
11302 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11303 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11305 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11306 __gmon_start__ as global, but as static with a .preinit_array pointer.
11307 * sysdeps/init_array/gmon-start.c: New file. Use that.
11308 * sysdeps/init_array/crti.S: New file, empty except for comments.
11309 * sysdeps/init_array/crtn.S: Likewise.
11311 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11313 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11316 Remove Prefer_SSE_for_memop.
11317 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11318 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11319 HAS_PREFER_SSE_FOR_MEMOP.
11320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11323 Remove bzero, memset ifunc support.
11324 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11325 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11326 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11327 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11329 2013-03-11 Andreas Schwab <schwab@suse.de>
11332 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11335 (GLIBC_2.16): Remove pthread_atfork.
11337 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11339 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11340 (ptestcases.h): Likewise.
11342 2013-03-08 Roland McGrath <roland@hack.frob.com>
11344 * Makeconfig ($(common-objpfx)config.status): Depend on
11345 sysdeps/*/preconfigure{,.in} too.
11347 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11349 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11350 (__free_hook): Use void * instead of __malloc_ptr_t.
11351 (__malloc_hook): Likewise.
11352 (__realloc_hook): Likewise.
11353 (__memalign_hook): Likewise.
11354 (__after_morecore_hook): Likewise.
11355 * malloc/arena.c (save_malloc_hook): Likewise.
11356 (save_free_hook): Likewise.
11357 * malloc/hooks.c (malloc_hook_ini): Likewise.
11358 (realloc_hook_ini): Likewise.
11359 (memalign_hook_ini): Likewise.
11360 * malloc/malloc.c (malloc_hook_ini): Likewise.
11361 (realloc_hook_ini): Likewise.
11362 (memalign_hook_ini): Likewise.
11363 (__free_hook): Likewise.
11364 (__malloc_hook): Likewise.
11365 (__realloc_hook): Likewise.
11366 (__memalign_hook): Likewise.
11367 (__libc_malloc): Likewise.
11368 (__libc_free): Likewise.
11369 (__libc_realloc): Likewise.
11370 (__libc_memalign): Likewise.
11371 (__libc_valloc): Likewise.
11372 (__libc_pvalloc): Likewise.
11373 (__libc_calloc): Likewise.
11374 (__posix_memalign): Likewise.
11375 * malloc/morecore.c (__sbrk): Likewise.
11376 (__default_morecore): Likewise.
11378 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11380 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11381 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11382 __malloc_ptrdiff_t.
11384 * malloc/malloc.h (__malloc_size_t): Remove macro.
11385 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11387 (old_memalign_hook): Likewise.
11388 (old_realloc_hook): Likewise.
11389 (struct hdr): Likewise.
11391 (mallochook): Likewise.
11392 (memalignhook): Likewise.
11393 (reallochook): Likewise.
11394 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11395 (tr_old_realloc_hook): Likewise.
11396 (tr_old_memalign_hook): Likewise.
11397 (tr_mallochook): Likewise.
11398 (tr_reallochook): Likewise.
11399 (tr_memalignhook): Likewise.
11401 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11404 default_ldbl_pack and using as default implementation.
11405 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11407 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11408 redundant definition.
11409 (ldbl_insert_mantissa): Likewise.
11410 (ldbl_canonicalize): Likewise.
11411 (ldbl_nearbyint): Likewise.
11412 (ldbl_pack): Rename to ldbl_pack_ppc.
11413 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11414 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11415 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11417 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11420 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11422 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11425 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11426 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11428 2013-03-07 Andreas Jaeger <aj@suse.de>
11430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11433 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11436 Include mpa.h and declare __MPEXP.
11437 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11439 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11442 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11443 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11445 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11446 (__slowpow): Use long double EXPL and LOGL functions to
11448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11449 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11450 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11452 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11456 intermediate variable to calculate exponent.
11458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11462 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11463 [!NO__SQR]: Define __sqr.
11464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11465 and NO__SQR. Remove all code except __mul and __sqr. Include
11466 sysdeps/ieee754/dbl-64/mpa.c.
11467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11470 * posix/Makefile (tests): Add tst-pathconf.
11471 * posix/tst-pathconf.c: New test case.
11472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11474 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11476 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11478 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11480 2013-03-06 Andreas Jaeger <aj@suse.de>
11482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11483 definition via __MAP_ANONYMOUS.
11485 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11486 it's not part of Linux headers.
11488 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11489 (MAP_HUGE_MASK): Define.
11491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11493 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11497 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11504 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11505 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11506 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11507 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11508 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11509 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11515 Handle f2fs and efivarfs.
11517 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11520 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11521 (EFIVARFS_MAGIC): Add.
11522 (F2FS_LINK_MAX): Add.
11524 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11526 * stdio-common/vfprintf.c: Replace __builtin_expect with
11529 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/generic/bp-sym.h: Remove file.
11533 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11535 <bp-sym.h> and <bp-asm.h>.
11536 (__longjmp): Don't use BP_SYM.
11537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11539 (memcpy): Don't use BP_SYM.
11540 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11541 <bp-sym.h> and <bp-asm.h>.
11542 (memcpy): Don't use BP_SYM.
11543 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11545 (memcpy): Don't use BP_SYM.
11546 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11548 (memset): Don't use BP_SYM.
11549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11551 (__bzero): Don't use BP_SYM.
11552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11554 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11555 <bp-sym.h> and <bp-asm.h>.
11556 (memcmp): Don't use BP_SYM. Remove comment about bounded
11558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11559 <bp-sym.h> and <bp-asm.h>.
11560 (memcpy): Don't use BP_SYM.
11561 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11562 <bp-sym.h> and <bp-asm.h>.
11563 (memset): Don't use BP_SYM.
11564 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11565 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11566 (__bzero): Don't use BP_SYM.
11567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11570 <bp-sym.h> and <bp-asm.h>.
11571 (strncmp): Don't use BP_SYM. Remove comment about bounded
11573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11574 <bp-sym.h> and <bp-asm.h>.
11575 (memcpy): Don't use BP_SYM.
11576 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11577 <bp-sym.h> and <bp-asm.h>.
11578 (memset): Don't use BP_SYM.
11579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11581 (__bzero): Don't use BP_SYM.
11582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11585 <bp-sym.h> and <bp-asm.h>.
11586 (__memchr): Don't use BP_SYM.
11587 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11588 <bp-sym.h> and <bp-asm.h>.
11589 (memcmp): Don't use BP_SYM. Remove comment about bounded
11591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (memcpy): Don't use BP_SYM.
11594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11595 <bp-sym.h> and <bp-asm.h>.
11596 (__mempcpy): Don't use BP_SYM.
11597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11598 <bp-sym.h> and <bp-asm.h>.
11599 (__memrchr): Don't use BP_SYM.
11600 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11601 <bp-sym.h> and <bp-asm.h>.
11602 (memset): Don't use BP_SYM.
11603 (__bzero): Likewise.
11604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11605 <bp-sym.h> and <bp-asm.h>.
11606 (__rawmemchr): Don't use BP_SYM.
11607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11608 <bp-sym.h> and <bp-asm.h>.
11609 (__STRCMP): Don't use BP_SYM.
11610 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11611 <bp-sym.h> and <bp-asm.h>.
11612 (strchr): Don't use BP_SYM.
11613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11614 <bp-sym.h> and <bp-asm.h>.
11615 (__strchrnul): Don't use BP_SYM.
11616 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11617 <bp-sym.h> and <bp-asm.h>.
11618 (strlen): Don't use BP_SYM.
11619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11620 <bp-sym.h> and <bp-asm.h>.
11621 (strncmp): Don't use BP_SYM. Remove comment about bounded
11623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11624 <bp-sym.h> and <bp-asm.h>.
11625 (__strnlen): Don't use BP_SYM.
11626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11627 <bp-sym.h> and <bp-asm.h>.
11628 (__GI__setjmp): Don't use BP_SYM.
11629 (_setjmp): Likewise.
11630 (__sigsetjmp): Likewise.
11631 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11632 (L(start_addresses)): Don't use BP_SYM.
11633 (_start): Likewise.
11634 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11636 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11637 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11638 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11639 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11640 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11642 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11643 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11644 about bounded pointers.
11645 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11646 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11647 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11649 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11650 about bounded pointers. Remove GKM FIXME comments.
11651 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11652 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11654 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11655 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11656 Remove GKM FIXME comments.
11657 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11658 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11659 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11661 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11662 about bounded pointers. Remove GKM FIXME comment.
11663 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11665 (strncmp): Don't use BP_SYM. Remove comment about bounded
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11668 <bp-sym.h> and <bp-asm.h>.
11669 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11671 <bp-sym.h> and <bp-asm.h>.
11672 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11675 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11677 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11680 2013-03-05 David S. Miller <davem@davemloft.net>
11682 * po/es.po: Update from translation team.
11684 2013-03-05 Andreas Jaeger <aj@suse.de>
11686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11687 <bits/mman-linux.h>.
11688 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11691 <bits/mman-linux.h> to end of file.
11692 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11694 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11695 <bits/mman-linux.h> to end of file.
11696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11699 <bits/mman-linux.h> to end of file.
11701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11702 (MCL_CURRENT, MCL_FUTURE): Define here.
11704 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11711 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11714 fourth parameter needed for rt_sigprocmask syscall.
11715 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11716 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11717 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11718 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11719 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11720 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11722 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11725 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11726 comment about bounded pointers.
11727 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11728 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11730 2013-03-04 Andreas Jaeger <aj@suse.de>
11732 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11733 common definitions.
11735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11736 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11737 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11742 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11746 __ieee754_sqrl instead of __sqrl.
11748 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11750 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11751 * sysdeps/powerpc/fpu_control.h: ... here.
11752 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11753 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11754 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11755 * sysdeps/powerpc/bits/mathinline.h: ... here.
11757 2013-03-01 Roland McGrath <roland@hack.frob.com>
11759 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11760 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11761 to just [NEED_DL_SYSINFO_DSO].
11762 * elf/dl-support.c: Likewise.
11763 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11764 * elf/rtld.c (dl_main): Likewise.
11765 * elf/setup-vdso.h (setup_vdso): Likewise.
11766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11767 * sysdeps/unix/sysv/linux/dl-sysdep.c
11768 (_dl_discover_osversion): Likewise.
11770 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11772 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11773 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11775 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11777 * NEWS: Mention libm performance improvements and non-x86 PI
11780 * csu/libc-start.c (__pthread_initialize_minimal): Change
11781 function arguments.
11782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11784 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11788 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11789 <bp-sym.h> and <bp-asm.h>.
11790 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11793 (memcpy): Don't use BP_SYM.
11794 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11796 (__mpn_add_n): Don't use BP_SYM.
11797 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11798 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11800 (__mpn_addmul_1): Don't use BP_SYM.
11801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11802 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11804 (_setjmp): Don't use BP_SYM.
11805 (__novmx_setjmp): Likewise.
11806 (__GI__setjmp): Likewise.
11807 (__vmx_setjmp): Likewise.
11808 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11810 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11811 (__bzero): Don't use BP_SYM.
11812 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11813 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11815 <bp-sym.h> and <bp-asm.h>.
11816 (memcpy): Don't use BP_SYM.
11817 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11818 <bp-sym.h> and <bp-asm.h>.
11819 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11821 <bp-sym.h> and <bp-asm.h>.
11822 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11823 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11825 (__mpn_lshift): Don't use BP_SYM.
11826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11827 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11829 (memset): Don't use BP_SYM.
11830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11832 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11834 (__mpn_mul_1): Don't use BP_SYM.
11835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11837 <bp-sym.h> and <bp-asm.h>.
11838 (memcmp): Don't use BP_SYM.
11839 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11840 <bp-sym.h> and <bp-asm.h>.
11841 (memcpy): Don't use BP_SYM.
11842 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11843 <bp-sym.h> and <bp-asm.h>.
11844 (memset): Don't use BP_SYM.
11845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11846 <bp-sym.h> and <bp-asm.h>.
11847 (strncmp): Don't use BP_SYM.
11848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11849 <bp-sym.h> and <bp-asm.h>.
11850 (memcpy): Don't use BP_SYM.
11851 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11852 <bp-sym.h> and <bp-asm.h>.
11853 (memset): Don't use BP_SYM.
11854 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11855 <bp-sym.h> and <bp-asm.h>.
11856 (__memchr): Don't use BP_SYM.
11857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11858 <bp-sym.h> and <bp-asm.h>.
11859 (memcmp): Don't use BP_SYM.
11860 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11861 <bp-sym.h> and <bp-asm.h>.
11862 (memcpy): Don't use BP_SYM.
11863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11864 <bp-sym.h> and <bp-asm.h>.
11865 (__mempcpy): Don't use BP_SYM.
11866 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11867 <bp-sym.h> and <bp-asm.h>.
11868 (__memrchr): Don't use BP_SYM.
11869 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11870 <bp-sym.h> and <bp-asm.h>.
11871 (memset): Don't use BP_SYM.
11872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (__rawmemchr): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (__STRCMP): Don't use BP_SYM.
11878 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (strchr): Don't use BP_SYM.
11881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (__strchrnul): Don't use BP_SYM.
11884 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11885 <bp-sym.h> and <bp-asm.h>.
11886 (strlen): Don't use BP_SYM.
11887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11888 <bp-sym.h> and <bp-asm.h>.
11889 (strncmp): Don't use BP_SYM.
11890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (__strnlen): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11895 (__mpn_rshift): Don't use BP_SYM.
11896 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11897 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11898 <bp-sym.h> and <bp-asm.h>.
11899 (__sigsetjmp): Don't use BP_SYM.
11900 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11901 (L(start_addresses)): Don't use BP_SYM.
11902 (_start): Likewise.
11903 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11905 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11906 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11907 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11908 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11910 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11911 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11912 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11913 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11915 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11917 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11918 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11920 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11922 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11923 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11924 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11926 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11928 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11930 (strncmp): Don't use BP_SYM,
11931 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11933 (__mpn_sub_n): Don't use BP_SYM.
11934 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11935 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11937 (__mpn_submul_1): Don't use BP_SYM.
11938 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11940 <bp-sym.h> and <bp-asm.h>.
11941 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11943 <bp-sym.h> and <bp-asm.h>.
11944 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11947 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11950 Use ZK to minimize writes to Z.
11951 (sub_magnitudes): Simplify code a bit.
11952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11953 Use ZK to minimize writes to Z.
11954 (sub_magnitudes): Simplify code a bit.
11956 2013-02-27 Roland McGrath <roland@hack.frob.com>
11958 * csu/gmon-start.c: Add special exception to license text.
11960 2013-02-27 Richard Henderson <rth@redhat.com>
11962 * scripts/config.guess: Update from config.git.
11963 * scripts/config.sub: Likewise.
11965 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11967 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11969 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11971 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11973 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11975 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11977 2013-02-26 Roland McGrath <roland@hack.frob.com>
11979 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11980 [$(build-shared = yes].
11982 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11984 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11985 (__mul): Reduce iterations for calculating mantissa.
11987 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11989 (__mpranred): Likewise.
11992 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11993 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11995 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11997 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11998 Define __attribute__.
12000 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12002 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12004 * posix/regex_internal.h (__attribute): Remove.
12005 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12006 (re_string_context_at): Likewise.
12007 (bitset_not): Use __attribute__ and mark function as possibly
12009 (bitset_merge): Likewise.
12010 (bitset_mask): Likewise.
12011 (re_string_char_size_at): Likewise.
12012 (re_string_wchar_at): Likewise.
12013 (re_string_elem_size_at): Likewise.
12015 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12017 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12021 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12025 (denorm): Likewise.
12026 (__dbl_mp): Likewise.
12027 (add_magnitudes): Likewise.
12028 (sub_magnitudes): Likewise.
12032 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12035 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12038 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12042 up changes with default code.
12043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12046 2013-02-24 Allan McRae <allan@archlinux.org>
12048 * manual/socket.texi (The Internet Namespace): Order menu items
12049 to match that in the file.
12051 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12052 node listing of the info page menu.
12054 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12057 * sysdeps/i386/bp-asm.h: Remove file.
12058 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12059 (PARMS): Do not use macros from bp-asm.h.
12063 (__mpn_add_n): Do not use BP_SYM
12064 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12066 (PARMS): Do not use macros from bp-asm.h.
12069 (__mpn_addmul_1): Do not use BP_SYM
12070 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12072 (PARMS): Do not use macros from bp-asm.h.
12073 (SIGMSK): Likewise.
12074 (_setjmp): Likewise. Do not use BP_SYM.
12075 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12077 (PARMS): Do not use macros from bp-asm.h.
12078 (SIGMSK): Likewise.
12079 (setjmp): Likewise. Do not use BP_SYM.
12080 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12082 (PARMS): Do not use macros from bp-asm.h.
12083 (__frexp): Do not use BP_SYM.
12085 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12087 (PARMS): Do not use macros from bp-asm.h.
12088 (__frexpf): Do not use BP_SYM.
12089 (frexpf): Likewise.
12090 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12092 (PARMS): Do not use macros from bp-asm.h.
12093 (__frexpl): Do not use BP_SYM.
12094 (frexpl): Likewise.
12095 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12097 (PARMS): Do not use macros from bp-asm.h.
12098 (__remquo): Do not use BP_SYM.
12099 (remquo): Likewise.
12100 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12102 (PARMS): Do not use macros from bp-asm.h.
12103 (__remquof): Do not use BP_SYM.
12104 (remquof): Likewise.
12105 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12107 (PARMS): Do not use macros from bp-asm.h.
12108 (__remquol): Do not use BP_SYM.
12109 (remquol): Likewise.
12110 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12112 (PARMS): Do not use macros from bp-asm.h.
12115 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12116 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12118 (PARMS): Do not use macros from bp-asm.h.
12119 (strlen): Do not use BP_SYM.
12120 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12122 (PARMS): Do not use macros from bp-asm.h.
12126 (__mpn_add_n): Do not use BP_SYM.
12127 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12129 (PARMS): Do not use macros from bp-asm.h.
12132 (__mpn_addmul_1): Do not use BP_SYM.
12133 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12136 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12138 (PARMS): Do not use macros from bp-asm.h.
12141 (__mpn_lshift): Do not use BP_SYM.
12142 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12144 (PARMS): Do not use macros from bp-asm.h.
12148 (memcpy): Likewise. Do not use BP_SYM.
12149 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12150 libc_hidden_def and weak_alias.
12151 (mempcpy): Do not use BP_SYM in weak_alias.
12152 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12154 (PARMS): Do not use macros from bp-asm.h.
12157 [!BZERO_P] (CHR): Likewise.
12158 (memset): Likewise. Do not use BP_SYM.
12159 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12161 (PARMS): Do not use macros from bp-asm.h.
12164 (__mpn_mul_1): Do not use BP_SYM.
12165 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12167 (PARMS): Do not use macros from bp-asm.h.
12170 (__mpn_rshift): Do not use BP_SYM.
12171 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12173 (PARMS): Do not use macros from bp-asm.h.
12176 (strchr): Likewise. Do not use BP_SYM.
12177 (index): Do not use BP_SYM in weak_alias.
12178 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12180 (PARMS): Do not use macros from bp-asm.h.
12183 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12184 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12186 (PARMS): Do not use macros from bp-asm.h.
12187 (strlen): Do not use BP_SYM.
12188 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12190 (PARMS): Do not use macros from bp-asm.h.
12194 (__mpn_sub_n): Do not use BP_SYM.
12195 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12197 (PARMS): Do not use macros from bp-asm.h.
12200 (__mpn_submul_1): Do not use BP_SYM.
12201 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12203 (PARMS): Do not use macros from bp-asm.h.
12207 (__mpn_add_n): Do not use BP_SYM.
12208 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12211 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12213 (PARMS): Do not use macros from bp-asm.h.
12216 (memcmp): Do not use BP_SYM.
12217 (bcmp): Do not use BP_SYM in weak_alias.
12218 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12220 (PARMS): Do not use macros from bp-asm.h.
12224 (memcpy): Likewise. Do not use BP_SYM.
12225 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12227 (PARMS): Do not use macros from bp-asm.h.
12231 (memmove): Likewise. Do not use BP_SYM.
12232 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12234 (PARMS): Do not use macros from bp-asm.h.
12238 (__mempcpy): Likewise. Do not use BP_SYM.
12239 (mempcpy): Do not use BP_SYM in weak_alias.
12240 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12242 (PARMS): Do not use macros from bp-asm.h.
12245 [!BZERO_P] (CHR): Likewise.
12246 (memset): Likewise. Do not use BP_SYM.
12247 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12249 (PARMS): Do not use macros from bp-asm.h.
12251 (strcmp): Do not use BP_SYM.
12252 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12254 (PARMS): Do not use macros from bp-asm.h.
12257 [USE_AS_STRTOK_R] (SAVE): Likewise.
12258 (FUNCTION): Likewise. Do not use BP_SYM.
12259 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12261 (strtok_r): Likewise.
12262 (__GI___strtok_r): Likewise.
12263 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12264 (PARMS): Do not use macros from bp-asm.h.
12267 (__mpn_lshift): Do not use BP_SYM.
12268 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12269 (PARMS): Do not use macros from bp-asm.h.
12272 (__memchr): Do not use BP_SYM.
12273 (memchr): Do not use BP_SYM in weak_alias.
12274 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12275 (PARMS): Do not use macros from bp-asm.h.
12278 (memcmp): Do not use BP_SYM.
12279 (bcmp): Do not use BP_SYM in weak_alias.
12280 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12281 (PARMS): Do not use macros from bp-asm.h.
12284 (__mpn_mul_1): Do not use BP_SYM.
12285 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12287 (PARMS): Do not use macros from bp-asm.h.
12290 (__rawmemchr): Do not use BP_SYM.
12291 (rawmemchr): Do not use BP_SYM in weak_alias.
12292 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12293 (PARMS): Do not use macros from bp-asm.h.
12296 (__mpn_rshift): Do not use BP_SYM.
12297 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12298 (PARMS): Do not use macros from bp-asm.h.
12299 (SIGMSK): Likewise.
12300 (__sigsetjmp): Likewise. Do not use BP_SYM.
12301 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12302 (_start): Do not use BP_SYM.
12303 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12304 (PARMS): Do not use macros from bp-asm.h.
12307 (__stpcpy): Likewise. Do not use BP_SYM.
12308 (stpcpy): Do not use BP_SYM in weak_alias.
12309 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12311 (PARMS): Do not use macros from bp-asm.h.
12315 (__stpncpy): Likewise. Do not use BP_SYM.
12316 (stpncpy): Do not use BP_SYM in weak_alias.
12317 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12318 (PARMS): Do not use macros from bp-asm.h.
12321 (strchr): Likewise. Do not use BP_SYM.
12322 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12324 (PARMS): Do not use macros from bp-asm.h.
12327 (__strchrnul): Likewise. Do not use BP_SYM.
12328 (strchrnul): Do not use BP_SYM in weak_alias.
12329 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12331 (PARMS): Do not use macros from bp-asm.h.
12333 (strcspn): Do not use BP_SYM.
12334 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12336 (PARMS): Do not use macros from bp-asm.h.
12339 (strpbrk): Likewise. Do not use BP_SYM.
12340 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12342 (PARMS): Do not use macros from bp-asm.h.
12345 (strrchr): Likewise. Do not use BP_SYM.
12346 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12347 (PARMS): Do not use macros from bp-asm.h.
12349 (strspn): Do not use BP_SYM.
12350 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12351 (PARMS): Do not use macros from bp-asm.h.
12355 (FUNCTION): Likewise. Do not use BP_SYM.
12356 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12358 (strtok_r): Likewise.
12359 (__GI___strtok_r): Likewise.
12360 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12361 (PARMS): Do not use macros from bp-asm.h.
12365 (__mpn_sub_n): Do not use BP_SYM.
12366 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12368 (PARMS): Do not use macros from bp-asm.h.
12371 (__mpn_submul_1): Do not use BP_SYM.
12372 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12374 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12376 (PARMS): Do not use macros from bp-asm.h.
12381 (__clone): Do not use BP_SYM.
12382 (clone): Do not use BP_SYM in weak_alias.
12383 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12385 (PARMS): Do not use macros from bp-asm.h.
12387 (__mmap64): Do not use BP_SYM.
12388 (mmap64): Do not use BP_SYM in weak_alias.
12389 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (PARMS): Do not use macros from bp-asm.h.
12392 (__posix_fadvise64_l64): Do not use BP_SYM.
12393 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12394 (PARMS): Do not use macros from bp-asm.h.
12396 (semtimedop): Do not use BP_SYM.
12397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12400 2013-02-21 Allan McRae <allan@archlinux.org>
12402 * manual/message.texi (Charset conversion in gettext):
12403 Move @end statement to beginning of line.
12405 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12413 (denorm): Likewise.
12414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12417 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12419 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12420 tail-call to the resolved function if pltexit isn't needed.
12422 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12425 or Y being zero as being unlikely.
12426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12429 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12431 * manual/nss.texi (System Databases and Name Service Switch):
12432 Remove frobnicate @pxref.
12434 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12436 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12437 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12439 2013-02-20 Petr Machata <pmachata@redhat.com>
12441 * elf/elf.h (R_ARM_TARGET1): New macro.
12442 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12443 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12444 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12445 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12446 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12447 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12448 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12449 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12450 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12451 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12452 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12453 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12454 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12455 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12456 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12457 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12458 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12459 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12460 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12461 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12462 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12463 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12464 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12465 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12466 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12467 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12468 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12469 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12470 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12471 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12472 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12473 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12474 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12475 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12476 (R_ARM_THM_GOT_BREL12): Likewise.
12477 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12478 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12479 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12480 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12481 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12482 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12483 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12484 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12485 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12487 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12489 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12490 __attribute_used__ to __attribute__ ((unused)).
12492 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12497 comment formatting.
12498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12500 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12503 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12505 (ENTER): Remove both macro definitions.
12507 (CHECK_BOUNDS_LOW): Likewise.
12508 (CHECK_BOUNDS_HIGH): Likewise.
12509 (CHECK_BOUNDS_BOTH): Likewise.
12510 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12511 (RETURN_BOUNDED_POINTER): Likewise.
12512 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12513 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12514 (POP_ERRNO_LOCATION_RETURN): Likewise.
12515 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12517 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12520 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12521 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12522 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12523 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12524 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12525 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12526 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12527 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12528 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12529 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12530 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12531 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12532 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12534 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12535 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12537 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12538 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12539 * sysdeps/i386/i586/memset.S (memset): Likewise.
12540 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12542 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12545 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12546 Change uses of L(2) to L(out).
12547 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12548 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12549 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12550 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12551 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12553 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12554 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12557 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12558 (RETURN): Do not use macro LEAVE.
12559 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12560 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12561 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12562 * sysdeps/i386/i686/memset.S (memset): Likewise.
12563 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12564 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12565 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12566 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12568 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12569 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12570 L(1_2) and L(1_3) into L(1).
12571 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12572 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12575 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12576 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12577 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12579 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12581 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12582 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12583 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12584 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12585 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12586 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12587 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12588 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12589 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12590 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12591 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12592 * sysdeps/i386/strspn.S (strspn): Likewise.
12593 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12595 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12596 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12597 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12598 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12599 L(1_3) into L(1_1).
12600 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12608 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12611 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12613 * math/atest-exp.c (exp_mpn): Remove ROUND.
12614 * math/atest-exp2.c (exp_mpn): Likewise.
12615 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12617 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12618 * stdlib/tst-tls-atexit-lib.c: Likewise.
12619 * stdlib/tst-tls-atexit.c: Likewise.
12621 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12623 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12624 and __attribute_alloc_size__.
12626 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12628 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12629 __attribute_alloc_size__.
12630 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12631 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12633 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12635 * include/programs/xmalloc.h: New file.
12636 * catgets/gencat.c: Include it.
12637 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12638 * elf/pldd.c: Likewise.
12639 * iconv/iconv_charmap.c: Likewise.
12640 * iconv/iconvconfig.c: Likewise.
12641 * iconv/strtab.c: Likewise.
12642 * locale/programs/locale.c: Likewise.
12643 * locale/programs/localedef.h: Likewise.
12644 * locale/programs/simple-hash.c: Likewise.
12645 * nscd/nscd.h: Likewise.
12646 * nss/makedb.c: Likewise.
12647 * sysdeps/generic/ldconfig.h: Likewise.
12649 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12651 * Versions.def: Add GLIBC_2.18.
12652 * include/link.h (struct link_map): New member l_tls_dtor_count.
12653 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12654 (__call_tls_dtors): Likewise.
12655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12656 __cxa_thread_atexit_impl.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12673 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12674 (tests): Add test case tst-tls-atexit.
12675 (modules-names): Add shared library for tst-tls-atexit.
12676 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12677 (GLIBC_PRIVATE): Add __call_tls_dtors.
12678 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12680 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12681 * stdlib/tst-tls-atexit.c: New test case.
12682 * stdlib/tst-tls-atexit-lib.c: New test case.
12684 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12686 * elf/Versions (ld): Add _dl_find_dso_for_object.
12687 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12688 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12689 (dl_open_worker): Use _dl_find_dso_for_object.
12690 * elf/dl-sym.c (do_sym): Likewise.
12691 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12693 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12695 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12696 Syntactic changes only.
12697 (_dl_runtime_profile): Do a tail-call to the resolved function.
12699 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12702 * sysdeps/x86_64/bp-asm.h: Remove file.
12703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12704 <bp-sym.h> and <bp-asm.h>.
12705 (__clone): Do not use BP_SYM.
12706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12707 <bp-sym.h> and <bp-asm.h>.
12708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12709 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12711 (_setjmp): Do not use BP_SYM.
12712 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12714 (setjmp): Do not use BP_SYM.
12715 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12717 (mempcpy): Do not use BP_SYM in weak_alias.
12718 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12720 (strchr): Do not use BP_SYM.
12721 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12723 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12724 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12725 (_start): Do not use BP_SYM.
12726 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12728 (strcat): Do not use BP_SYM.
12729 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12731 (STRCMP): Do not use BP_SYM.
12732 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12734 (STRCPY): Do not use BP_SYM.
12735 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12737 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12739 (FUNCTION): Do not use BP_SYM.
12740 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12742 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12744 2013-02-17 Andreas Jaeger <aj@suse.de>
12746 * time/Versions: Sort entries.
12747 * string/Versions: Likewise.
12748 * resolv/Versions: Likewise.
12749 * posix/Versions: Likewise.
12750 * iconv/Versions: Likewise.
12751 * elf/Versions: Likewise.
12752 * wcsmbs/Versions: Likewise.
12754 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12757 loop termination condition.
12759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12760 variable to calculate EZ.
12763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12764 the lower precision input.
12766 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12769 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12770 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12771 (run-via-rtld-prefix): Do not handle %-bp tests.
12772 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12773 (all-object-suffixes): Remove .ob.
12774 (bppfx): Remove variable.
12775 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12776 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12777 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12778 [$(build-bounded) = yes] (libtype.ob): Likewise.
12779 * Makerules (elide-routines.ob): Remove variable.
12780 (do-tests-clean): Do not handle *-bp.out.
12781 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12782 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12783 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12784 (tests): Do not include $(tests-bp.out).
12785 (xtests): Do not include $(xtests-bp.out).
12786 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12787 [$(build-bounded) = yes] ($(addprefix
12788 $(objpfx),$(binaries-bounded))): Remove rule.
12789 ($(objpfx)%-bp.out): Remove rule.
12790 * config.make.in (build-bounded): Remove variable.
12791 * crypt/Makefile [$(build-bounded) = yes]
12792 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12793 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12794 append to variable.
12795 [$(build-bounded) = yes] (install-lib): Likewise.
12796 [$(build-bounded) = yes] (generated): Likewise.
12797 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12799 * intl/Makefile [$(build-bounded) = yes]
12800 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12801 * math/Makefile [$(build-bounded) = yes]
12802 ($(tests:%=$(objpfx)%-bp): Likewise.
12803 * misc/Makefile [$(build-bounded) = yes]
12804 ($(objpfx)tst-tsearch-bp): Likewise.
12805 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12806 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12808 * string/Makefile (o-objects.ob): Remove variable.
12809 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12810 (CFLAGS-.ob): Remove variable.
12811 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12813 both definitions of variable.
12814 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12815 (ASFLAGS-.ob): Remove variable.
12817 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12820 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12821 Remove __BOUNDED_POINTERS__ from condition.
12822 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12823 * string/bits/string2.h [!__NO_STRING_INLINES &&
12824 !__BOUNDED_POINTERS__]: Likewise.
12825 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12827 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12828 Remove conditional code.
12829 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12830 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12831 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12835 * csu/libc-start.c: Do not include <bp-sym.h>.
12836 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12837 * elf/dl-open.c: Do not include <bp-sym.h>.
12838 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12839 * math/fegetenv.c: Do not include <bp-sym.h>.
12840 (fegetenv): Do not use BP_SYM in versioned symbols.
12841 * nptl/sysdeps/pthread/bits/libc-lockP.h
12842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12845 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12847 (__pthread_mutex_destroy): Likewise.
12848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12849 (__pthread_mutex_lock): Likewise.
12850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12851 (__pthread_mutex_trylock): Likewise.
12852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12853 (__pthread_mutex_unlock): Likewise.
12854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12855 (__pthread_mutexattr_init): Likewise.
12856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12857 (__pthread_mutexattr_destroy): Likewise.
12858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12859 (__pthread_mutexattr_settype): Likewise.
12860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12861 (__pthread_rwlock_init): Likewise.
12862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12863 (__pthread_rwlock_destroy): Likewise.
12864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12865 (__pthread_rwlock_rdlock): Likewise.
12866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12867 (__pthread_rwlock_tryrdlock): Likewise.
12868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12869 (__pthread_rwlock_wrlock): Likewise.
12870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12871 (__pthread_rwlock_trywrlock): Likewise.
12872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12873 (__pthread_rwlock_unlock): Likewise.
12874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12875 (__pthread_key_create): Likewise.
12876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12877 (__pthread_setspecific): Likewise.
12878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12879 (__pthread_getspecific): Likewise.
12880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12883 (_pthread_cleanup_push_defer): Likewise.
12884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12885 (_pthread_cleanup_pop_restore): Likewise.
12886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12887 (pthread_setcancelstate): Likewise.
12888 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12890 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12891 (memchr): Do not use BP_SYM in weak_alias.
12892 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12893 (fegetenv): Do not use BP_SYM in versioned symbols.
12894 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12895 (fesetenv): Do not use BP_SYM in versioned symbols.
12896 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12897 (feupdateenv): Do not use BP_SYM in versioned symbols.
12898 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12899 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12900 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12901 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12902 (open64): Do not use BP_SYM in weak_alias.
12903 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12904 (fegetenv): Do not use BP_SYM in versioned symbols.
12905 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12906 (fesetenv): Do not use BP_SYM in versioned symbols.
12907 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12908 (feupdateenv): Do not use BP_SYM in versioned symbols.
12909 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12910 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12911 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12912 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12913 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12914 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12915 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12917 (__libc_start_main): Do not use BP_SYM.
12919 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12922 redundant return line.
12924 (denorm): Likewise.
12925 (dbl_mp): Likewise.
12926 (sub_magnitudes): Likewise.
12932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12934 (denorm): Likewise.
12935 (dbl_mp): Likewise.
12936 (sub_magnitudes): Likewise.
12943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12946 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12950 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12952 of __mul for squares.
12953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12960 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12963 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12965 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12966 prototype or function definition. Rename ubp_* variables and
12967 parameters. Remove argv definitions conditional on
12968 [__BOUNDED_POINTERS__].
12969 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12970 * elf/dl-runtime.c (_dl_fixup): Likewise.
12971 * include/set-hooks.h (RUN_HOOK): Likewise.
12972 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12974 * string/strcpy.c (strcpy): Do not use __unbounded.
12975 * sysdeps/generic/frame.h (struct layout): Likewise.
12976 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12977 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12978 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12979 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12980 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12981 (__backtrace): Likewise.
12982 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12984 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12985 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12986 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12988 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12989 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12990 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12991 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12992 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12993 Do not use __unbounded.
12994 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12995 Rename __unboundedrlimits parameter to rlimits in prototype.
12996 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12997 Do not use __unbounded.
12998 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12999 not use __ptrvalue.
13000 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13001 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13002 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13003 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13004 __ptrvalue or __unbounded.
13005 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13006 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13008 (__new_msgctl): Do not use __ptrvalue.
13009 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13011 (__libc_msgrcv): Do not use __ptrvalue.
13012 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13013 startup_info): Do not use __unbounded.
13014 (__libc_start_main): Likewise. Rename ubp_* variables and
13015 parameters. Remove argv definitions conditional on
13016 [__BOUNDED_POINTERS__].
13017 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13019 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13023 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13025 (__new_shmctl): Do not use __ptrvalue.
13026 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13027 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13029 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13031 (__libc_sigaction): Likewise.
13032 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13035 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13037 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13039 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13041 * string/mempcpy.c: Implement by calling memcpy.
13043 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13051 values in the mantissa.
13053 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13054 minimize writes to Z.
13055 (sub_magnitudes): Simplify code a bit.
13057 2013-02-12 Roland McGrath <roland@hack.frob.com>
13059 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13060 from the message. The linker prefixes all warnings with that already.
13062 2013-02-12 Andreas Schwab <schwab@suse.de>
13065 * posix/regexec.c (extend_buffers): Add parameter min_len.
13066 (check_matching): Pass minimum needed length.
13067 (clean_state_log_if_needed): Likewise.
13068 (get_subexp): Likewise.
13069 * posix/Makefile (tests): Add bug-regex34.
13070 (bug-regex34-ENV): Define.
13071 * posix/bug-regex34.c: New file.
13074 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13075 elements compare against the byte sequence of it, not its name.
13076 * posix/Makefile (tests): Add bug-regex35.
13077 (bug-regex35-ENV): Define.
13078 * posix/bug-regex35.c: New file.
13080 2013-02-11 Tom de Vries <tom@codesourcery.com>
13082 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13084 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13085 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13086 (CHECK_EOL): Add undef.
13088 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13090 * bits/stdlib-bsearch.h: New file.
13091 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13092 * stdlib/stdlib.h: Likewise.
13094 2013-02-11 Roland McGrath <roland@hack.frob.com>
13096 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13097 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13099 * manual/search.texi (Array Search Function): Add missing const in
13101 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13102 declaration to use rlim_t.
13103 (Basic Scheduling Functions): Remove erroneous const from
13104 sched_getparam prototype. Remove erroneous * from
13105 sched_get_priority_max and sched_get_priority_min prototypes.
13106 (Resource Usage): Fix summary @comment on vtimes to refer to
13107 sys/vtimes.h rather than vtimes.h.
13108 Add missing *s in vtimes prototype.
13109 (Limits on Resources): Fix ulimit prototype to return long int.
13110 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13111 prototypes to use long int rather than double.
13112 (BSD Random): Fix initstate and setstate to use char *, not void *.
13113 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13114 prototype to make second argument 'struct aiocb64 *const[]'.
13115 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13116 (Status of AIO Operations): Remove erroneous const in aio_return and
13117 aio_return64 prototypes.
13118 (Synchronizing I/O): Fix sync prototype to return void.
13119 * manual/startup.texi (Suboptions): Remove an erroneous const in
13120 getsubopt prototype.
13121 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13122 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13123 use size_t rather than int.
13124 (Scanning All Users): Likewise for getpwent_r.
13125 (Setting Groups): Add missing const to setgroups prototype.
13126 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13127 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13128 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13129 'const void *' rather than 'const char *'.
13130 (Host Address Functions): Likewise for inet_ntop.
13131 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13132 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13133 ssize_t for return value.
13134 (Sending Data): Likewise for send, sendto, sendmsg.
13135 (Socket Option Functions): Add a missing const in setsockopt prototype.
13136 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13137 use wchar_t for the argument.
13138 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13139 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13141 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13142 double/float/long double for second argument.
13143 Fix return types of significand, significandf, significandl.
13144 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13145 argument in fchmod prototype.
13146 (File Owner): Use uid_t and gid_t in fchown prototype.
13147 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13148 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13149 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13150 use 'const struct dirent **' as argument types to CMP function pointer
13152 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13153 (File Times): Fix summary magic @comment for struct utimbuf and utime
13154 to refer to utime.h, not time.h.
13155 * manual/string.texi (Argz Functions): Add missing const in
13156 argz_extract and argz_next prototypes.
13157 (Finding Tokens in a String): Likewise for basename.
13158 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13159 (Copying and Concatenation): Fix typo in wmemmove prototype.
13160 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13161 (Signal Stack): Remove erroneous const in sigstack prototype.
13162 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13164 (Simple Calendar Time): Likewise for stime.
13165 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13167 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13168 say sys/sysctl.h instead.
13169 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13170 and vsyslog prototypes.
13172 2013-02-11 Tom de Vries <tom@codesourcery.com>
13174 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13177 2013-02-11 Roland McGrath <roland@hack.frob.com>
13179 * misc/sys/mman.h: Fix typo in mremap comment.
13181 2013-02-08 Roland McGrath <roland@hack.frob.com>
13183 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13184 the '\0' terminator.
13186 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13189 * debug/segfault.c: Don't include <bp-checks.h>.
13190 * sysdeps/generic/bp-checks.h: Remove file.
13191 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13192 (__GETDENTS): Don't use CHECK_N.
13193 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13194 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13195 (__getgroups): Don't use CHECK_N.
13196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13197 (setgroups): Don't use CHECK_N.
13198 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13199 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13200 (__libc_msgrcv): Don't use CHECK_N.
13201 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13202 (__libc_msgsnd): Don't use CHECK_N.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13205 (__libc_pread): Don't use CHECK_N.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13207 include <bp-checks.h>.
13208 (__libc_pread64): Don't use CHECK_N.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13210 include <bp-checks.h>.
13211 (__libc_pwrite): Don't use CHECK_N.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13213 include <bp-checks.h>.
13214 (__libc_pwrite64): Don't use CHECK_N.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13217 (__libc_pread): Don't use CHECK_N.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13219 include <bp-checks.h>.
13220 (__libc_pread64): Don't use CHECK_N.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13222 include <bp-checks.h>.
13223 (__libc_pwrite): Don't use CHECK_N.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13225 include <bp-checks.h>.
13226 (__libc_pwrite64): Don't use CHECK_N.
13227 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13228 (do_pread): Don't use CHECK_N.
13229 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13230 (do_pread64): Don't use CHECK_N.
13231 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13232 (do_pwrite): Don't use CHECK_N.
13233 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13234 (do_pwrite64): Don't use CHECK_N.
13235 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13236 (__libc_readv): Don't use CHECK_N.
13237 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13238 (semop): Don't use CHECK_N.
13239 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13241 (semtimedop): Don't use CHECK_N.
13242 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13243 (__libc_pread): Don't use CHECK_N.
13244 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13246 (__libc_pread64): Don't use CHECK_N.
13247 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13249 (__libc_pwrite): Don't use CHECK_N.
13250 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13252 (__libc_pwrite64): Don't use CHECK_N.
13253 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13255 (__libc_msgrcv): Don't use CHECK_N.
13256 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13257 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13258 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13259 (__libc_writev): Don't use CHECK_N.
13261 2013-02-08 Roland McGrath <roland@hack.frob.com>
13263 * string/strcpy.c: Removed unused variable.
13265 * Makeconfig (+sysdep-includes): Define with := rather than =.
13266 Use an existing include/ subdir of each sysdeps dir before it.
13268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13270 * nscd/connection.c (register_traced_file): Comment function.
13271 [HAVE_INOTIFY] (union __inev): Define.
13272 [HAVE_INOTIFY] (inotify_check_files): New function.
13273 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13274 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13276 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13278 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13280 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13281 loaded if not already and that a failure is permanent.
13283 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13286 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13287 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13289 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13293 (CHECK_1_NULL_OK): Likewise.
13294 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13295 (__fxstat): Do not use CHECK_1.
13296 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13298 (___fxstat64): Do not use CHECK_1.
13299 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13301 (__fxstatat): Do not use CHECK_1.
13302 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13304 (__fxstatat64): Do not use CHECK_1.
13305 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13307 (__fxstat): Do not use CHECK_1.
13308 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13310 (__fxstatat): Do not use CHECK_1.
13311 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13313 (__getresgid): Do not use CHECK_1.
13314 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13316 (__getresuid): Do not use CHECK_1.
13317 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13319 (__lxstat): Do not use CHECK_1.
13320 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13322 (__old_msgctl): Do not use CHECK_1.
13323 (__new_msgctl): Likewise.
13324 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13326 (__new_setrlimit): Do not use CHECK_1.
13327 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13329 (__old_shmctl): Do not use CHECK_1.
13330 (__new_shmctl): Likewise.
13331 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13333 (__xstat): Do not use CHECK_1.
13334 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13335 (__lxstat): Do not use CHECK_1.
13336 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13338 (___lxstat64): Do not use CHECK_1.
13339 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13340 (__old_msgctl): Do not use CHECK_1.
13341 (__new_msgctl): Likewise.
13342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13344 (__gettimeofday): Do not use CHECK_1.
13345 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13346 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13347 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13349 (__gettimeofday): Do not use CHECK_1.
13350 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13351 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13352 (__new_shmctl): Do not use CHECK_1.
13353 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13355 (do_sigtimedwait): Do not use CHECK_1.
13356 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13358 (do_sigwaitinfo): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13361 (msgctl): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13364 (shmctl): Do not use CHECK_1.
13365 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13366 (ustat): Do not use CHECK_1.
13367 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13369 (__fxstat): Do not use CHECK_1.
13370 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13372 (__fxstatat): Do not use CHECK_1.
13373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13375 (__lxstat): Do not use CHECK_1.
13376 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13378 (__xstat): Do not use CHECK_1.
13379 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13380 (__xstat): Do not use CHECK_1.
13381 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13382 (___xstat64): Do not use CHECK_1.
13385 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13387 (CHECK_BOUNDS_HIGH): Likewise.
13388 * string/strcpy.c: Do not include <bp-checks.h>.
13389 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13391 2013-02-07 Roland McGrath <roland@hack.frob.com>
13393 * nscd/nscd-client.h (__nscd_drop_map_ref):
13394 Add __attribute__ ((unused)).
13395 * nis/nss-nisplus.h (niserr2nss): Likewise.
13397 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13398 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13400 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13401 Remove inline keyword.
13402 * include/rounding-mode.h (round_away): Likewise.
13403 * libio/wfileops.c (adjust_wide_data): Likewise.
13404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13405 (__m128i_strloadu_tolower): Likewise.
13406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13407 (__m128i_strloadu_tolower): Likewise.
13408 * time/mktime.c (ydhms_diff): Likewise.
13409 * locale/elem-hash.h (elem_hash): Likewise.
13410 * locale/setlocale.c (setdata): Likewise.
13411 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13412 (re_string_wchar_at): Likewise.
13413 (bitset_not, bitset_merge, bitset_mask): Likewise.
13414 [!(__GNUC__ > 3)] (inline): Remove macro.
13415 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13416 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13417 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13418 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13419 * string/memcmp.c (memcmp_bytes): Likewise.
13420 * locale/programs/locarchive.c (compute_hashval): Likewise.
13421 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13422 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13423 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13424 * nss/getent.c (print_rpc, print_protocols): Likewise.
13425 (print_passwd, print_group, print_aliases): Likewise.
13426 * nis/nss-nisplus.h (niserr2nss): Likewise.
13427 * nscd/connections.c (restart_p): Likewise.
13428 Change return type to bool.
13430 2013-02-05 Roland McGrath <roland@hack.frob.com>
13432 * Makeconfig (all-Depend-files): Add existing
13433 $(sorted-subdirs:=/Depend) files.
13434 (all-subdirs): Remove nss.
13435 * sysdeps/unix/inet/Subdirs: Add it here instead.
13436 * hesiod/Depend: New file.
13438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13439 instead of calling alloca.
13441 * io/lseek.c (__lseek): Rename to __libc_lseek.
13442 Define __lseek as an alias.
13444 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13446 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13448 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13449 else clause and remove check for non-standard endianness.
13451 2013-02-04 David S. Miller <davem@davemloft.net>
13453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13455 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13458 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13459 (__ubp_memchr): Remove prototype.
13460 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13461 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13462 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13463 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13464 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13466 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13467 (__ubp_memchr): Likewise.
13468 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13469 (__ubp_memchr): Likewise.
13470 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13471 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13472 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13473 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13475 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13476 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13477 (__getcwd): Do not use CHECK_STRING.
13478 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13480 (__real_chown): Do not use CHECK_STRING.
13481 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13483 (fchownat): Do not use CHECK_STRING.
13484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13486 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13488 (__lchown): Do not use CHECK_STRING.
13489 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13490 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13491 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13492 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13494 include <bp-checks.h>.
13495 (truncate64): Do not use CHECK_STRING.
13496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13498 (__real_chown): Do not use CHECK_STRING.
13499 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13501 (__lchown): Do not use CHECK_STRING.
13502 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13504 (__chown): Do not use CHECK_STRING.
13505 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13507 (truncate64): Do not use CHECK_STRING.
13508 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13510 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13511 (__xmknod): Do not use CHECK_STRING.
13512 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13514 (__xmknodat): Do not use CHECK_STRING.
13515 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13516 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13518 2013-02-04 Andreas Schwab <schwab@suse.de>
13521 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13522 * include/netdb.h: Likewise for h_errno.
13523 * elf/tst-stackguard1.c: Include <tls.h>.
13525 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13527 * elf/link.h (struct link_map): Extend the l_addr comment.
13528 * include/link.h (struct link_map): Likewise.
13530 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13533 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13534 (BOUNDED_1): Remove macro.
13535 * debug/backtrace.c: Don't include <bp-checks.h>.
13536 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13537 (__backtrace): Likewise.
13538 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13540 (__backtrace): Don't use BOUNDED_1.
13541 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13543 (__backtrace): Don't use BOUNDED_1.
13544 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13545 (__backtrace): Don't use BOUNDED_1.
13546 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13547 (shmat): Don't use BOUNDED_N.
13549 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13552 * sysdeps/generic/bp-start.h: Remove file.
13553 * csu/libc-start.c: Don't include <bp-start.h>.
13554 (LIBC_START_MAIN): Set up __environ directly instead of using
13555 INIT_ARGV_and_ENVIRON.
13556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13560 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13562 (CHECK_FCNTL): Likewise.
13563 (CHECK_N_PAGES): Likewise.
13566 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13568 (CHECK_SIGSET_NULL_OK): Likewise.
13569 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13571 (sigpending): Don't use CHECK_SIGSET.
13572 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13575 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13577 (do_sigsuspend): Don't use CHECK_SIGSET.
13578 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13580 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13581 (do_sigwait): Don't use CHECK_SIGSET.
13582 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13584 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13585 include <bp-checks.h>.
13586 (sigpending): Don't use CHECK_SIGSET.
13587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13588 include <bp-checks.h>.
13589 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13590 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13592 (sigpending): Don't use CHECK_SIGSET.
13593 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13598 * sysdeps/generic/bp-semctl.h: Remove file.
13599 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13600 <bp-checks.h> and <bp-semctl.h>.
13601 (__old_semctl): Don't use CHECK_SEMCTL.
13602 (__new_semctl): Likewise.
13603 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13605 (__old_semctl): Don't use CHECK_SEMCTL.
13606 (__new_semctl): Likewise.
13607 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13608 <bp-checks.h> and <bp-semctl.h>.
13609 (__old_semctl): Don't use CHECK_SEMCTL.
13610 (__new_semctl): Likewise.
13611 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13612 <bp-checks.h> and <bp-semctl.h>.
13613 (semctl): Don't use CHECK_SEMCTL.
13616 * Makerules (elide-bp-thunks): Remove variable.
13617 (elide-routines.oS): Don't use $(elide-bp-thunks).
13618 (elide-routines.os): Likewise.
13619 (elide-routines.o): Likewise.
13620 (elide-routines.op): Likewise.
13621 (elide-routines.og): Likewise.
13622 (objects): Don't use $(bp-thunks).
13623 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13625 (common-generated): Do not add s-proto-bp.d.
13626 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13629 Do not generate makefile rules for bounded-pointer thunks.
13630 * sysdeps/generic/bp-thunks.h: Remove file.
13631 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13632 * sysdeps/unix/s-proto-bp.S: Likewise.
13635 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13636 parts of result separately when argument is not close to line from
13637 -i to i and one part of argument is small.
13638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13640 * math/libm-test.inc (cacos_test): Add more tests.
13641 (casin_test): Likewise.
13642 (casinh_test): Likewise.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13646 2013-01-31 David S. Miller <davem@davemloft.net>
13648 * po/de.po: Update from translation team.
13650 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13652 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13654 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13656 * configure.in (_AC_PROG_CC_C89): New definition.
13657 * configure: Regenerate.
13659 * configure.in (AC_PROG_CPP): New definition.
13660 * configure: Regenerate.
13662 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13664 * debug/tst-backtrace.h: New file.
13665 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13666 (ret): Remove variable.
13668 (FAIL): Remove macro.
13669 (NO_INLINE): Likewise.
13670 (fn1): Use match function instead of strstr.
13671 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13672 (ret): Remove variable.
13674 (FAIL): Remove macro.
13675 (NO_INLINE): Likewise.
13676 (fn): Use match function instead of strstr.
13677 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13678 (ret): Remove variable.
13680 (FAIL): Remove macro.
13681 (NO_INLINE): Likewise.
13682 (handle_signal): Use match function instead of strstr.
13683 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13684 (ret): Remove variable.
13686 (FAIL): Remove macro.
13687 (NO_INLINE): Likewise.
13688 (handle_signal): Use match function instead of strstr.
13690 2013-01-23 Roland McGrath <roland@hack.frob.com>
13692 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13694 2013-01-23 David S. Miller <davem@davemloft.net>
13696 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13697 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13698 argument of CAS if possible.
13699 * sysdeps/sparc/sparc64/bits/atomic.h
13700 (__arch_compare_and_exchange_val_32_acq): Likewise.
13701 (__arch_compare_and_exchange_val_64_acq): Likewise.
13703 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13705 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13706 * sysdeps/posix/ulimit.c: ... this.
13707 Include <limits.h>.
13708 * sysdeps/unix/bsd/ulimit.c: Remove file.
13710 2013-01-23 Adam Conrad <adconrad@0c3.net>
13712 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13713 (LDFLAGS-tst-array5): Likewise.
13715 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13718 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13719 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13720 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13721 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13723 2013-01-21 David S. Miller <davem@davemloft.net>
13725 * sysdeps/sparc/backtrace.c: New file.
13726 * sysdeps/sparc/sparc32/backtrace.h: New file.
13727 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13728 * sysdeps/sparc/sparc64/backtrace.h: New file.
13729 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13730 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13733 2013-01-21 Andreas Schwab <schwab@suse.de>
13736 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13739 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13745 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13746 Mark Mitchell <mark@codesourcery.com>
13747 Tom de Vries <tom@codesourcery.com>
13748 Paul Pluzhnikov <ppluzhnikov@google.com>
13750 * debug/tst-backtrace2.c: New file.
13751 * debug/tst-backtrace3.c: Likewise.
13752 * debug/tst-backtrace4.c: Likewise.
13753 * debug/tst-backtrace5.c: Likewise.
13754 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13755 (CFLAGS-tst-backtrace3.c): Likewise.
13756 (CFLAGS-tst-backtrace4.c): Likewise.
13757 (CFLAGS-tst-backtrace5.c): Likewise.
13758 (LDFLAGS-tst-backtrace2): Likewise.
13759 (LDFLAGS-tst-backtrace3): Likewise.
13760 (LDFLAGS-tst-backtrace4): Likewise.
13761 (LDFLAGS-tst-backtrace5): Likewise.
13762 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13763 tst-backtrace4 and tst-backtrace5.
13765 2013-01-18 Anton Blanchard <anton@samba.org>
13766 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13769 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13771 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13773 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13774 "+r" and remove output regs list as redundant. Add explicit inline
13775 asm to specify register of return val to work around compiler codegen
13776 bug. Remove (int) cast on return value. Add return type parameter to
13777 use in macro so that this macro does not truncate return value for
13779 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13780 pass to INTERNAL_VSYSCALL_NCS.
13781 (INLINE_VSYSCALL): Add 'long int' as return type to
13782 INTERNAL_VSYSCALL_NCS macro invocation.
13783 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13784 INTERNAL_VSYSCALL_NCS macro invocation.
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13787 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13790 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13791 Fix application of SIMD FP exception mask.
13793 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13794 mp_no from a power of two.
13795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13796 __mpexp_twomm1. Use __pow_mp.
13798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13801 2013-01-17 David S. Miller <davem@davemloft.net>
13803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13805 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13808 * include/complex.h: Condition contents on [!_COMPLEX_H].
13809 (__kernel_casinhf): New prototype.
13810 (__kernel_casinh): Likewise.
13811 (__kernel_casinhl): Likewise.
13812 * math/Makefile (libm_calls): Add k_casinh.
13813 * math/k_casinh.c: New file.
13814 * math/k_casinhf.c: Likewise.
13815 * math/k_casinhl.c: Likewise.
13816 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13817 finite nonzero arguments.
13818 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13819 finite nonzero arguments.
13820 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13821 finite nonzero arguments.
13822 * math/s_casinh.c: Do not include <float.h>.
13823 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13824 * math/s_casinhf.c: Do not include <float.h>.
13825 (__casinhf): Move code for finite nonzero arguments to
13827 * math/s_casinhl.c: Do not include <float.h>.
13828 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13830 (__casinhl): Move code for finite nonzero arguments to
13832 * math/libm-test.inc (cacos_test): Add more tests.
13833 * sysdeps/i386/fpu/libm-test-ulps: Update.
13834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13836 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13838 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13839 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13840 [!HAVE_MREMAP]: Remove [defined linux] case.
13841 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13843 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13845 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13847 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13849 * elf/elf.h (R_386_SIZE32): New relocation.
13850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13852 (elf_machine_rela): Likewise.
13853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13854 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13856 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13858 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13859 (FP_FAST_FMA): Do not define.
13860 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13861 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13862 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13863 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13864 !_SOFT_FLOAT]: Likewise.
13865 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13866 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13868 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13869 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13872 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13873 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13876 2013-01-16 Andreas Schwab <schwab@suse.de>
13879 * include/stdlib.h (__mktemp): Add declaration.
13880 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13881 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13883 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13885 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13887 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13888 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13889 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13891 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13892 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13894 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13896 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13897 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13898 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13900 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13901 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13903 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13905 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13907 2013-01-15 David S. Miller <davem@davemloft.net>
13909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13910 trunc{,f} to libm-sysdep_routes.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13923 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13925 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13926 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13929 nearbyint{,f} to libm-sysdep_routes.
13930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13941 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13947 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13948 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13950 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13951 libc_feholdexcept and libc_fesetenv.
13953 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13955 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13957 2013-01-14 David S. Miller <davem@davemloft.net>
13959 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13960 (SPARC_ASM_VIS2_IFUNC): Likewise.
13961 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13963 use of 'siam' instruction.
13964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13997 routines to libm-sysdep_routines.
13998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14001 fdim/fdimf to libm-sysdep_routines.
14002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14010 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14011 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14012 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14013 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14015 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14018 to optimize copies.
14020 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14025 local variable MPTWO.
14026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14029 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14031 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14034 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14036 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14038 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14040 * manual/pattern.texi (glob_t): Document gl_flags.
14041 (glob64_t): Likewise.
14043 2013-01-11 David S. Miller <davem@davemloft.net>
14045 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14046 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14047 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14048 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14049 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14050 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14051 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14052 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14053 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14054 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14055 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14056 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14057 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14060 sparc V9 rather than using V8 code.
14061 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14062 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14066 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14069 2013-01-11 Roland McGrath <roland@hack.frob.com>
14071 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14072 not in the main loop.
14073 * configure: Regenerated.
14075 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14077 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14078 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14080 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14081 [!__GLIBC_HAVE_LONG_LONG] case.
14082 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14083 condition to just #else.
14084 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14085 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14086 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14087 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14089 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14090 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14091 #elif condition to just #else.
14092 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14093 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14094 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14095 #elif condition to just #else.
14097 2013-01-11 Steve Ellcey <sellcey@mips.com>
14099 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14100 (EF_MIPS_ARCH_64): Fix value.
14101 (EF_MIPS_ARCH_32R2): New.
14102 (EF_MIPS_ARCH_64R2): New.
14104 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14106 * Makeconfig (+link-pie-before-libc): New.
14107 (+link-pie-after-libc): Likewise.
14108 (+link-pie-tests): Likewise.
14109 (+link-pie): Rewritten.
14110 (link-before-libc): Remove $(config-LDFLAGS).
14111 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14112 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14113 (config-LDFLAGS): Renamed to ...
14114 (rtld-LDFLAGS): This.
14115 (rtld-tests-LDFLAGS): New macro.
14116 (link-libc-rpath-link): Likewise.
14117 (link-libc-tests-rpath-link): Likewise.
14118 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14119 (link-libc): Prepand $(link-libc-rpath-link).
14120 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14121 (test-program-prefix): New macro.
14122 (test-via-rtld-prefix): Likewise.
14123 (test-program-cmd): Likewise.
14124 (host-test-program-cmd): Likewise.
14125 * Makefile ($(common-objpfx)testrun.sh): Replace
14126 $(run-program-prefix) with $(test-program-prefix).
14127 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14129 ($(common-objpfx)shlib.lds): Likewise.
14130 (build-module-helper): Likewise.
14131 ($(common-objpfx)format.lds): Likewise.
14132 * Rules (binaries-pie-tests): New.
14133 (binaries-pie-notests): Likewise.
14134 (binaries-pie): Rewritten.
14135 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14136 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14137 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14138 (make-test-out): Replace $(host-built-program-cmd) with
14139 $(host-test-program-cmd).
14140 * config.make.in (build-hardcoded-path-in-tests): New variable.
14141 * configure.in (--enable-hardcoded-path-in-tests): New configure
14143 (hardcoded_path_in_tests): New AC_SUBST.
14144 * configure: Regenerated.
14145 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14146 $(built-program-cmd) with $(test-program-cmd).
14147 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14148 (test_program_cmd): This.
14149 * elf/Makefile ($(objpfx)order.out): Run test with
14150 $(test-program-prefix).
14151 ($(objpfx)order2.out): Likewise.
14152 ($(objpfx)tst-initorder.out): Likewise.
14153 ($(objpfx)tst-initorder2.out): Likewise.
14154 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14155 $(test-program-cmd).
14156 ($(objpfx)tst-array1-static.out): Likewise.
14157 ($(objpfx)tst-array2.out): Likewise.
14158 ($(objpfx)tst-array3.out): Likewise.
14159 ($(objpfx)tst-array4.out): Likewise.
14160 ($(objpfx)tst-array5.out): Likewise.
14161 ($(objpfx)tst-array5-static.out): Likewise.
14162 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14163 $(test-program-cmd).
14164 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14165 $(run-program-prefix) with $(test-program-prefix).
14166 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14167 (test_program_prefix): This.
14168 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14169 $(run-program-prefix) with $(test-program-prefix).
14170 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14171 (test_program_prefix): This.
14172 * iconvdata/tst-tables.sh: Likewise.
14173 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14174 $(run-program-prefix) with $(test-program-prefix).
14175 ($(objpfx)tst-translit.out): Likewise.
14176 ($(objpfx)tst-gettext2.out): Likewise.
14177 ($(objpfx)tst-gettext4.out): Likewise.
14178 ($(objpfx)tst-gettext6.out): Likewise.
14179 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14180 (test_program_prefix): This.
14181 * intl/tst-gettext2.sh: Likewise.
14182 * intl/tst-gettext4.sh Likewise.
14183 * intl/tst-gettext6.sh: Likewise.
14184 * intl/tst-translit.sh: Likewise.
14185 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14186 with $(test-program-cmd).
14187 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14188 $(run-program-prefix) with $(test-program-prefix).
14189 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14190 (test_program_prefix): This.
14191 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14192 $(run-program-prefix) with $(test-program-prefix).
14193 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14194 (test_program_prefix): This.
14195 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14196 * posix/Makefile ($(objpfx)globtest.out): Replace
14197 $(run-via-rtld-prefix) and $(test-wrapper) with
14198 $(test-program-prefix) and $(test-via-rtld-prefix).
14199 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14200 $(test-program-prefix).
14201 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14202 $(host-test-program-cmd).
14203 (tst-spawn-ARGS): Likewise.
14204 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14205 $(test-program-prefix).
14206 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14207 (test_via_rtld_prefix): This.
14208 (test_wrapper): Renamed to ...
14209 (test_program_prefix): This.
14210 (run_program_prefix): Replaced by test_program_prefix.
14211 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14212 (test_program_prefix): This.
14213 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14214 with $(host-test-program-cmd).
14215 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14216 $(run-program-prefix) with $(test-program-prefix).
14217 ($(objpfx)tst-printf.out): Likewise.
14218 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14219 $(test-program-cmd).
14220 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14221 (test_program_prefix): This.
14222 * stdio-common/tst-unbputc.sh: Likewise.
14223 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14224 $(run-program-prefix) with $(test-program-prefix).
14225 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14226 (test_program_prefix): This.
14227 * string/Makefile ($(objpfx)tst-svc.out): Replace
14228 $(built-program-cmd) with $(test-program-cmd).
14230 2013-01-11 Andreas Jaeger <aj@suse.de>
14233 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14234 value. Sync with Linux 3.7.
14236 2013-01-10 David S. Miller <davem@davemloft.net>
14238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14239 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14240 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14242 2013-01-10 Roland McGrath <roland@hack.frob.com>
14244 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14246 * configure: Regenerated.
14248 2013-01-10 David S. Miller <davem@davemloft.net>
14250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14251 sparc V9 rather than using V8 code.
14252 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14253 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14255 2013-01-10 Roland McGrath <roland@hack.frob.com>
14257 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14258 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14259 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14260 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14261 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14262 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14263 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14264 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14265 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14266 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14267 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14268 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14269 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14270 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14271 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14272 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14273 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14274 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14275 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14276 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14277 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14278 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14279 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14280 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14281 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14282 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14283 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14285 2013-01-10 David S. Miller <davem@davemloft.net>
14287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14289 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14291 * posix/Makefile (tests-static): New variable.
14292 (tests): Add $(tests-static).
14293 (tst-exec-static-ARGS): New variable.
14294 (tst-spawn-static-ARGS): Likewise.
14295 * posix/tst-exec-static.c: New file.
14296 * posix/tst-spawn-static.c: Likewise.
14297 * posix/tst-exec.c: Support run directly.
14298 * posix/tst-spawn.c: Likewise.
14300 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14302 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14304 * math/bits/mathcalls.h (llrint): Likewise.
14305 (llround): Likewise.
14306 * stdlib/stdlib.h (struct drand48_data): Likewise.
14307 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14308 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14311 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14313 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14314 (elf_greg_t): Likewise.
14315 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14316 (__jmp_buf): Likewise.
14317 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14319 (llrint): Likewise, for all definitions.
14320 (llrintl): Likewise.
14322 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14323 Remove [__GNUC__] condition.
14324 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14325 condition to just [__USE_ISOC99].
14326 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14328 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14331 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14332 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14334 (_POSIX_V6_ILP32_OFF32): Likewise.
14335 (_XBS5_ILP32_OFF32): Likewise.
14336 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14337 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14339 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14341 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14344 doubles __mpexp_twomm1. Adjust usage.
14345 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14348 2013-01-10 Andreas Schwab <schwab@suse.de>
14351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14352 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14354 2013-01-09 David S. Miller <davem@davemloft.net>
14357 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14358 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14359 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14360 TCP_FASTOPEN): Define.
14361 (tcp_repair_opt): New structure.
14362 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14364 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14365 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14366 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14367 (tcp_cookie_transactions): New structure.
14369 2013-01-09 Anton Blanchard <anton@samba.org>
14371 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14372 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14373 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14374 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14376 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14378 * include/features.h (__USE_ANSI): Remove.
14380 2013-01-09 Roland McGrath <roland@hack.frob.com>
14382 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14384 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14386 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14388 * sysdeps/s390/fpu/libm-test-ulps: Update.
14390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14392 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14396 (denorm): Likewise.
14397 (__mp_dbl): Likewise.
14398 (__dbl_mp): Likewise.
14399 (add_magnitudes): Likewise.
14400 (sub_magnitudes): Likewise.
14406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14410 (denorm): Likewise.
14411 (__mp_dbl): Likewise.
14412 (__dbl_mp): Likewise.
14413 (add_magnitudes): Likewise.
14414 (sub_magnitudes): Likewise.
14420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14424 (denorm): Likewise.
14425 (__mp_dbl): Likewise.
14426 (__dbl_mp): Likewise.
14427 (add_magnitudes): Likewise.
14428 (sub_magnitudes): Likewise.
14435 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14437 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14438 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14439 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14440 2 && __USE_EXTERN_INLINES]: Likewise.
14442 2013-01-08 Andreas Jaeger <aj@suse.de>
14445 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14447 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14448 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14450 2013-01-07 Anton Blanchard <anton@samba.org>
14452 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14453 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14454 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14455 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14456 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14458 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14459 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14462 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14465 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14466 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14469 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14470 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14472 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14475 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14476 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14477 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14478 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14479 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14484 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14485 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14486 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14490 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14496 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14498 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14499 (__MALLOC_PMT): Likewise.
14500 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14501 [__GNUC__], only on [_LIBC].
14502 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14503 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14504 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14505 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14506 forward declaration.
14507 (realloc_hook_ini): Likewise.
14508 (memalign_hook_ini): Likewise.
14509 (__libc_memalign): Do not use __MALLOC_PMT in variable
14511 (__libc_valloc): Likewise.
14512 (__libc_pvalloc): Likewise.
14513 (__libc_calloc): Likewise.
14514 (__posix_memalign): Likewise.
14517 * math/s_casinh.c: Include <float.h>.
14518 (__casinh): Do not do computation with squaring and square root
14519 for large arguments.
14520 * math/s_casinhf.c: Include <float.h>.
14521 (__casinhf): Do not do computation with squaring and square root
14522 for large arguments.
14523 * math/s_casinhl.c: Include <float.h>.
14524 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14525 (__casinhl): Do not do computation with squaring and square root
14526 for large arguments.
14527 * math/libm-test.inc (casin_test): Add more tests.
14528 (casinh_test): Likewise.
14529 * sysdeps/i386/fpu/libm-test-ulps: Update.
14530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14532 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14534 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14535 (__x86_64_raw_data_cache_size): Likewise.
14536 (__x86_64_data_cache_size_half): Likewise.
14537 (__x86_64_raw_data_cache_size_half): Likewise.
14538 (__x86_64_shared_cache_size): Likewise.
14539 (__x86_64_raw_shared_cache_size): Likewise.
14540 (__x86_64_shared_cache_size_half): Likewise.
14541 (__x86_64_raw_shared_cache_size_half): Likewise.
14542 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14544 (__x86_data_cache_size): This.
14545 (__x86_64_raw_data_cache_size): Renamed to ...
14546 (__x86_raw_data_cache_size): This.
14547 (__x86_64_data_cache_size_half): Renamed to ...
14548 (__x86_data_cache_size_half): This.
14549 (__x86_64_raw_data_cache_size_half): Renamed to ...
14550 (__x86_raw_data_cache_size_half): This.
14551 (__x86_64_shared_cache_size): Renamed to ...
14552 (__x86_shared_cache_size): This.
14553 (__x86_64_raw_shared_cache_size): Renamed to ...
14554 (__x86_raw_shared_cache_size): This.
14555 (__x86_64_shared_cache_size_half): Renamed to ...
14556 (__x86_shared_cache_size_half): This.
14557 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14558 (__x86_raw_shared_cache_size_half): This.
14559 * sysdeps/x86_64/memcpy.S: Updated.
14560 * sysdeps/x86_64/memset.S: Likewise.
14561 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14565 2013-01-04 David S. Miller <davem@davemloft.net>
14567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14569 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14571 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14572 1 to avoid redefinition warning.
14573 (__USE_GNU): Don't define.
14574 (init_signaling_nan): Protoize.
14576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14578 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14582 (__cpymn): Likewise.
14583 (norm): Remove commented code.
14584 (denorm): Likewise.
14585 (__mp_dbl): Likewise.
14587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14588 (__cpymn): Likewise.
14589 (norm): Remove commented code.
14590 (denorm): Likewise.
14591 (__mp_dbl): Likewise.
14594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14595 mp_no value for 1.0 and 2.0.
14596 (norm): Use RADIXI instead of radixi.d.
14597 (denorm): Likewise.
14598 (__mul): Use 0.0 instead of zero.d.
14599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14600 mp_no value for 1.0 and 2.0.
14601 (norm): Use RADIXI instead of radixi.d.
14602 (denorm): Likewise.
14603 (__mul): Use 0.0 instead of zero.d.
14605 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14608 * math/s_casinh.c (__casinh): Reduce finite argument to first
14609 quadrant then set signs of results at the end.
14610 * math/s_casinhf.c (__casinhf): Likewise.
14611 * math/s_casinhl.c (__casinhl): Likewise.
14612 * math/libm-test.inc (casin_test): Add more tests.
14613 (casinh_test): Likewise.
14614 * sysdeps/i386/fpu/libm-test-ulps: Update.
14615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14617 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14619 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14621 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14623 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14625 (denorm): Likewise.
14626 (__mp_dbl): Likewise.
14629 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14630 and adjust the header comment.
14632 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14633 variable name from declaration.
14635 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14638 Initialize COMMON_CPUID_INDEX_7 element.
14639 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14640 (CPUID_RTM): Likewise.
14641 (HAS_RTM): Likewise.
14642 (COMMON_CPUID_INDEX_7): New enum.
14644 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14647 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14648 size is zero, record memory as freed.
14650 2013-01-03 Andreas Jaeger <aj@suse.de>
14652 * po/ia.po: Add new Interlingua translation.
14654 2012-01-03 Allan McRae <allan@archlinux.org>
14656 * locale/programs/localedef.c: Fix description of '--posix' flag.
14658 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14660 * NEWS: Update dates in second copyright notice.
14661 * README: Update copyright dates in example.
14662 * manual/libc.texinfo: Update copyright dates.
14663 * scripts/test-installation.pl: Update copyright date in --version
14666 * hurd/ctty-input.c: Fix copyright notice formatting.
14667 * hurd/ctty-output.c: Likewise.
14668 * hurd/dtable.c: Likewise.
14669 * hurd/hurd-raise.c: Likewise.
14670 * hurd/hurdprio.c: Likewise.
14671 * hurd/msgportdemux.c: Likewise.
14672 * misc/sys/file.h: Likewise.
14673 * misc/sys/ioctl.h: Likewise.
14674 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14675 * sysdeps/mach/hurd/chdir.c: Likewise.
14676 * sysdeps/mach/hurd/fchdir.c: Likewise.
14677 * sysdeps/mach/hurd/rename.c: Likewise.
14678 * sysdeps/mach/hurd/rmdir.c: Likewise.
14679 * sysdeps/mach/hurd/seekdir.c: Likewise.
14680 * sysdeps/mach/hurd/setsid.c: Likewise.
14681 * sysdeps/posix/wait3.c: Likewise.
14683 * All files with FSF copyright notices: Update copyright dates
14684 using scripts/update-copyrights.
14685 * intl/plural.c: Regenerated.
14686 * locale/programs/charmap-kw.h: Likewise.
14687 * locale/programs/locfile-kw.h: Likewise.
14689 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14691 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14695 calculation loop and add branch prediction.
14697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14698 check access beyond bounds of m1np.
14700 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14702 (__inv): Remove local variable MPTWO to use the global
14704 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14705 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14708 MP3HALFS static const.
14710 2013-01-01 David S. Miller <davem@davemloft.net>
14712 * po/ca.po: Update from translation team.
14714 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14716 * scripts/update-copyrights: New file.
14717 * Makeconfig: Reformat copyright notice.
14718 * ctype/ctype.h: Likewise.
14719 * debug/swprintf_chk.c: Likewise.
14720 * elf/dl-cache.c: Likewise.
14721 * elf/dl-debug.c: Likewise.
14722 * elf/dl-object.c: Likewise.
14723 * grp/initgroups.c: Likewise.
14724 * hurd/Makefile: Likewise.
14725 * hurd/hurd/signal.h: Likewise.
14726 * hurd/hurdfault.c: Likewise.
14727 * hurd/hurdioctl.c: Likewise.
14728 * hurd/hurdlookup.c: Likewise.
14729 * hurd/intr-msg.c: Likewise.
14730 * iconv/gconv_open.c: Likewise.
14731 * libio/swprintf.c: Likewise.
14732 * locale/lc-ctype.c: Likewise.
14733 * locale/nl_langinfo.c: Likewise.
14734 * mach/Machrules: Likewise.
14735 * mach/Makefile: Likewise.
14736 * malloc/obstack.h: Likewise.
14737 * manual/Makefile: Likewise.
14738 * manual/tsort.awk: Likewise.
14739 * misc/bits/stab.def: Likewise.
14740 * nis/nis_print_group_entry.c: Likewise.
14741 * nis/nis_table.c: Likewise.
14742 * nis/nss_compat/compat-pwd.c: Likewise.
14743 * nis/nss_compat/compat-spwd.c: Likewise.
14744 * po/Makefile: Likewise.
14745 * posix/fnmatch.c: Likewise.
14746 * posix/regex.h: Likewise.
14747 * resolv/Makefile: Likewise.
14748 * resolv/nss_dns/dns-network.c: Likewise.
14749 * resolv/res_hconf.c: Likewise.
14750 * scripts/gen-sorted.awk: Likewise.
14751 * soft-fp/soft-fp.h: Likewise.
14752 * stdio-common/printf.h: Likewise.
14753 * stdlib/monetary.h: Likewise.
14754 * stdlib/random.c: Likewise.
14755 * stdlib/random_r.c: Likewise.
14756 * sysdeps/generic/Makefile: Likewise.
14757 * sysdeps/gnu/Makefile: Likewise.
14758 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14786 * sysdeps/mach/hurd/errnos.awk: Likewise.
14787 * sysdeps/mach/hurd/fork.c: Likewise.
14788 * sysdeps/mach/hurd/getcwd.c: Likewise.
14789 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14790 * sysdeps/mach/hurd/mmap.c: Likewise.
14791 * sysdeps/mach/hurd/utimes.c: Likewise.
14792 * sysdeps/mach/hurd/xmknod.c: Likewise.
14793 * sysdeps/posix/profil.c: Likewise.
14794 * sysdeps/posix/readdir_r.c: Likewise.
14795 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14796 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14800 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14804 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14805 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14806 * sysdeps/pthread/lio_listio.c: Likewise.
14807 * sysdeps/sparc/dl-procinfo.h: Likewise.
14808 * sysdeps/unix/i386/sysdep.S: Likewise.
14809 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14810 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14811 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14812 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14814 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14815 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14816 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14817 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14818 * sysdeps/wordsize-32/divdi3.c: Likewise.
14819 * time/sys/time.h: Likewise.
14820 * wcsmbs/Makefile: Likewise.
14822 2013-01-01 David S. Miller <davem@davemloft.net>
14824 * po/fr.po: Update from translation team.
14826 * catgets/gencat.c: Update copyright year.
14827 * csu/version.c: Likewise.
14828 * debug/catchsegv.sh: Likewise.
14829 * debug/pcprofiledump.c: Likewise.
14830 * debug/xtrace.sh: Likewise.
14831 * elf/ldconfig.c: Likewise.
14832 * elf/ldd.bash.in: Likewise.
14833 * elf/pldd.c: Likewise.
14834 * elf/sotruss.ksh: Likewise.
14835 * elf/sprof.c: Likewise.
14836 * iconv/iconv_prog.c: Likewise.
14837 * iconv/iconvconfig.c: Likewise.
14838 * locale/programs/locale.c: Likewise.
14839 * locale/programs/localedef.c: Likewise.
14840 * login/programs/pt_chown.c: Likewise.
14841 * malloc/memusage.sh: Likewise.
14842 * malloc/memusagestat.c: Likewise.
14843 * malloc/mtrace.pl: Likewise.
14844 * nscd/nscd.c: Likewise.
14845 * nss/getent.c: Likewise.
14846 * nss/makedb.c: Likewise.
14847 * posix/getconf.c: Likewise.
14849 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14851 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14854 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14856 * math/bits/mathcalls.h (modf): Use __nonnull.
14858 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14860 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14861 (split): Use macro CN instead of the bare value.
14862 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14865 instead of the bare value.
14866 (power1): Likewise.
14868 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14870 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14874 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14876 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14877 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14878 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14879 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14881 2012-12-28 Andreas Jaeger <aj@suse.de>
14883 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14884 values are from Linux 3.7.
14886 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14887 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14889 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14891 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14894 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14896 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14897 variables with preprocessor constants.
14898 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14899 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14900 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14902 2012-12-27 Bruno Haible <bruno@clisp.org>
14905 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14908 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14911 and use variable directly.
14912 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14914 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14916 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14921 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14922 include directive. Remove local variable MPONE.
14923 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14924 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14925 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14927 2012-12-25 David S. Miller <davem@davemloft.net>
14929 * version.h (RELEASE): Set to "development".
14930 (VERSION): Set to "2.17.90".
14931 * NEWS: Add 2.18 section.
14933 2012-12-21 David S. Miller <davem@davemloft.net>
14935 * po/hr.po: Update from translation team.
14937 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14939 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14941 2012-12-19 Steve Ellcey <sellcey@mips.com>
14943 * NEWS: Mention new memcpy for MIPS.
14945 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14947 * manual/contrib.texi (Contributors): Spelling correction.
14949 2012-12-15 David S. Miller <davem@davemloft.net>
14951 * po/ru.po: Update from translation team.
14953 2012-12-13 David S. Miller <davem@davemloft.net>
14955 * NEWS: Mention IFUNC testsuite enhancements.
14957 * po/pl.po: Update from translation team.
14958 * po/bg.po: Likewise.
14960 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14961 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14963 2012-12-11 David S. Miller <davem@davemloft.net>
14965 * po/sv.po: Update from translation team.
14967 * po/vi.po: Update from translation team.
14969 * po/cs.po: Update from translation team.
14971 * po/de.po: Update from translation team.
14972 * po/eo.po: Likewise.
14973 * po/nl.po: Likewise.
14975 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14978 * manual/argp.texi (Argp Helper Functions): Move node to follow
14979 Argp Parsing State.
14982 * manual/conf.texi (Limits on File System Capacity): Mention if
14983 terminating null is included in the max size.
14985 2012-12-10 Andreas Jaeger <aj@suse.de>
14987 * po/cs.po: Update from translation team.
14989 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14991 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14992 void pointer and cast to uintptr_t.
14993 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14995 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14996 * sysdeps/s390/s390-64/memset.S: Likewise.
14998 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15001 * menual/message.texi (Message Translation): Fix typos.
15002 (Helper programs for gettext): Likewise.
15004 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15007 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15010 2012-12-07 David S. Miller <davem@davemloft.net>
15012 * po/libc.pot: Update.
15014 2012-12-07 Richard Henderson <rth@redhat.com>
15017 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15018 normal/normal case to before the switch.
15019 (_FP_DIV): Likewise.
15021 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15022 Mike Frysinger <vapier@gentoo.org>
15024 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15025 check for __NR_fadvise64_64.
15027 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15029 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15030 0, not just to plain "0" as a statement.
15031 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15034 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15036 * NEWS: Use sourceware.org in Bugzilla URL.
15038 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15041 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15043 * stdio-common/tst-put-error.c (do_test): Add newline to the
15044 padded test to ensure flush.
15046 2012-12-05 Jeff Law <law@redhat.com>
15048 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15050 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15052 * README: Don't refer to ports add-on as distributed separately.
15053 Mention AArch64 in list of systems supported in the ports add-on.
15055 * LICENSES: Add more non-FSF copyright and license notices.
15057 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15060 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15062 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15063 10000 as width of padded output.
15065 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15067 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15070 variable LX with __attribute__ ((unused)).
15071 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15076 with __attribute__ ((unused)).
15078 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15080 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15082 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15084 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15085 (CFLAGS-nldbl-acos.c): New variable.
15086 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15087 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15088 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15089 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15090 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15091 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15092 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15093 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15094 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15095 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15116 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15185 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15189 whole low double instead of just low 47 bits when splitting values
15192 2012-12-03 Allan McRae <allan@archlinux.org>
15194 * manual/stdio.texi (Predefined Printf Handlers): Remove
15195 @hsep and @vsep usage.
15197 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15199 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15200 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15202 2012-12-03 Jeff Law <law@redhat.com>
15204 * time/sys/time.h (settimeofday): Do not mark TV argument
15207 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15209 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15210 when currently writing and seek to current position when not.
15211 * libio/Makefile (tests): Remove bug-fclose1.
15212 * libio/bug-fclose1.c: Delete.
15214 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15216 * manual/arith.texi (feenableexcept): Fix typo.
15217 (fedisableexcept): Likewise.
15219 2012-11-30 Roland McGrath <roland@hack.frob.com>
15221 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15222 second, differently-typed declaration, rather than a cast.
15224 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15226 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15227 * include/rpc/svc.h: ... here.
15229 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15232 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15233 depending n and resplen2 to catch cases where answer
15236 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15238 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15239 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15241 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15245 2012-11-29 Roland McGrath <roland@hack.frob.com>
15247 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15249 2012-11-28 Jeff Law <law@redhat.com>
15252 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15253 dataset_temporary. Track alloca usage into alloca_used.
15254 If dataset is large allocate and release it via malloc/free.
15256 2012-06-04 Florian Weimer <fweimer@redhat.com>
15259 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15261 2012-11-28 David S. Miller <davem@davemloft.net>
15263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15265 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15268 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15269 of pi/2 rounded to nearest to 64 bits.
15270 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15271 nearest to 64 bits.
15272 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15275 2012-11-28 Jeff Law <law@redhat.com>
15276 Martin Osvald <mosvald@redhat.com>
15279 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15280 * sunrpc/svc.c: Include time.h.
15281 (__svc_accept_failed): New function.
15282 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15283 any reason other than EINTR, call __svc_accept_failed.
15284 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15285 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15287 2012-11-28 Andreas Schwab <schwab@suse.de>
15289 * scripts/abilist.awk: Also handle indirect functions in .opd
15292 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15295 * sysdeps/x86/fpu/powl_helper.c: New file.
15296 * sysdeps/x86/fpu/Makefile: Likewise.
15297 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15299 (__ieee754_powl): Use __powl_helper for finite arguments except
15300 integer exponents below 8.
15301 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15303 (__ieee754_powl): Use __powl_helper for finite arguments except
15304 integer exponents below 8.
15305 * math/libm-test.inc (pow_test): Add more tests and enable some
15306 previously disabled tests.
15307 * sysdeps/i386/fpu/libm-test-ulps: Update.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15311 Carlos O'Donell <carlos_odonell@mentor.com>
15313 * nss/makedb.c (is_prime): Assert that input is odd and greater
15314 than 4. Note that fact in a comment too.
15315 (next_prime): Add 4 to input.
15317 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15320 * libio/Makefile (tests): Add test case tst-fwrite-error.
15321 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15322 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15323 * libio/tst-fwrite-error.c: New test case.
15325 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15327 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15328 before casting to void *.
15329 * include/libc-internal.h (__pointer_type): New macro.
15330 (__integer_if_pointer_type_sub): Likewise.
15331 (__integer_if_pointer_type): Likewise.
15332 (cast_to_integer): Likewise.
15333 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15334 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15335 before casting to atomic64_t.
15336 (atomic_exchange_acq): Likewise.
15337 (__arch_exchange_and_add_body): Likewise.
15338 (__arch_add_body): Likewise.
15339 (atomic_add_negative): Likewise.
15340 (atomic_add_zero): Likewise.
15342 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15344 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15345 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15346 (add_fdes): Likewise.
15347 (linear_search_fdes): Likewise.
15348 (binary_search_unencoded_fdes): Likewise.
15350 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15352 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15354 2012-11-24 Adam Conrad <adconrad@0c3.net>
15356 * configure.in: Autodetect C++ header directories.
15357 * configure: Regenerated.
15359 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15361 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15363 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15367 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15369 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15370 LDBL_MANT_DIG == 106]: Disable some tests.
15371 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15373 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15377 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15378 input for small inputs. Return +/- pi/2 for large inputs.
15379 * math/libm-test.inc (atan_test): Add more tests.
15381 * sysdeps/generic/unwind-dw2-fde-glibc.c
15382 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15383 __attribute__ ((unused)).
15386 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15387 x * y if x and y are nonzero and z is zero.
15390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15391 nonzero exponents with absolute value below 0x1p-117 to +/-
15395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15396 up arguments below 2**-450, not just those below 2**-500.
15397 * math/libm-test.inc (hypot_test): Add another test.
15400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15401 Return a+b for ratio over 2**120, not 2**60.
15402 * math/libm-test.inc (hypot_test): Add another test.
15404 * math/libm-test.inc (clog_test): Use
15405 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15406 (clog10_test): Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15411 2012-11-22 Andreas Schwab <schwab@suse.de>
15413 * sysdeps/i386/fpu/libm-test-ulps: Update.
15415 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15417 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15418 printf output with newline.
15420 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15423 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15424 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15425 -z nodlopen, -z initfirst and -z execstack support.
15426 * configure: Regenerated.
15428 * elf/elf.h (DF_1_NODIRECT): New macro.
15429 (DF_1_IGNMULDEF): Likewise.
15430 (DF_1_NOKSYMS): Likewise.
15431 (DF_1_NOHDR): Likewise.
15432 (DF_1_EDITED): Likewise.
15433 (DF_1_NORELOC): Likewise.
15434 (DF_1_SYMINTPOSE): Likewise.
15435 (DF_1_GLOBAUDIT): Likewise.
15436 (DF_1_SINGLETON): Likewise.
15437 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15438 DT_1_SUPPORTED_MASK bits.
15439 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15441 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15443 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15445 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15447 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15450 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15451 (sendmmsg): Move declarations...
15452 * socket/sys/socket.h: ... here.
15453 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15454 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15456 * socket/recvmmsg.c: ... this new file.
15457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15458 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15459 definition of __sendmmsg hidden.
15460 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15461 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15462 Move ENOSYS stub into and include it from...
15463 * socket/sendmmsg.c: ... this new file.
15464 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15465 (sysdep_routines): Move recvmmsg and sendmmsg...
15466 * socket/Makefile (routines): ... here.
15467 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15468 (GLIBC_PRIVATE): Add __sendmmsg.
15469 * include/sys/socket.h (__sendmmsg): Add declarations.
15470 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15473 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15476 variable I1 with __attribute__ ((unused)).
15477 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15479 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15481 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15482 DUMMY variables with __attribute__ ((unused)).
15484 * bits/byteswap.h: Include <bits/types.h>.
15485 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15487 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15489 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15490 string_t. Do not manually set errno.
15491 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15492 length with __strnlen. Make sure to both set errno and return it on
15495 2012-11-19 David S. Miller <davem@davemloft.net>
15497 With help from Joseph Myers.
15498 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15499 very large arguments properly.
15500 * math/libm-test.inc (atan_test): New tests.
15501 (atan2_test): New tests.
15502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15505 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15508 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15511 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15512 [POSIX] (EADDRNOTAVAIL): Likewise.
15513 [POSIX] (EAFNOSUPPORT): Likewise.
15514 [POSIX] (EALREADY): Likewise.
15515 [POSIX] (ECONNABORTED): Likewise.
15516 [POSIX] (ECONNREFUSED): Likewise.
15517 [POSIX] (ECONNRESET): Likewise.
15518 [POSIX] (EDESTADDRREQ): Likewise.
15519 [POSIX] (EDQUOT): Likewise.
15520 [POSIX] (EHOSTUNREACH): Likewise.
15521 [POSIX] (EIDRM): Likewise.
15522 [POSIX] (EISCONN): Likewise.
15523 [POSIX] (ELOOP): Likewise.
15524 [POSIX] (EMULTIHOP): Likewise.
15525 [POSIX] (ENETDOWN): Likewise.
15526 [POSIX] (ENETUNREACH): Likewise.
15527 [POSIX] (ENOBUFS): Likewise.
15528 [POSIX] (ENODATA): Likewise.
15529 [POSIX] (ENOLINK): Likewise.
15530 [POSIX] (ENOMSG): Likewise.
15531 [POSIX] (ENOPROTOOPT): Likewise.
15532 [POSIX] (ENOSR): Likewise.
15533 [POSIX] (ENOSTR): Likewise.
15534 [POSIX] (ENOTCONN): Likewise.
15535 [POSIX] (ENOTSOCK): Likewise.
15536 [POSIX] (EOPNOTSUPP): Likewise.
15537 [POSIX] (EOVERFLOW): Likewise.
15538 [POSIX] (EPROTO): Likewise.
15539 [POSIX] (EPROTONOSUPPORT): Likewise.
15540 [POSIX] (EPROTOTYPE): Likewise.
15541 [POSIX] (ESTALE): Likewise.
15542 [POSIX] (ETIME): Likewise.
15543 [POSIX] (ETXTBSY): Likewise.
15544 [POSIX] (EWOULDBLOCK): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15546 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15547 [POSIX] (SEEK_CUR): Likewise.
15548 [POSIX] (SEEK_END): Likewise.
15549 [POSIX || UNIX98] (mode_t): Do not require.
15550 [POSIX] (off_t): Likewise.
15551 [POSIX] (pid_t): Likewise.
15552 [POSIX] (sys/stat.h): Do not allow header.
15553 [POSIX] (unistd.h): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15555 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15557 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15559 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15560 sigevent): Specify elements.
15561 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15563 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15564 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15566 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15567 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15568 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15569 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15570 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15571 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15572 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15573 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15574 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15575 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15576 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15577 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15578 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15579 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15581 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15587 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15588 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15592 Specify lower bound on value.
15593 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15599 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15600 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15602 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15604 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15607 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15608 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15609 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15610 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15612 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15615 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15616 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15621 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15623 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15635 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15636 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15638 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15642 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15643 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15644 specify as optional.
15645 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15648 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15649 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15650 [XPG3] (NL_LANGMAX): Likewise.
15651 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15652 [POSIX || XPG3] (NL_NMAX): Likewise.
15653 [POSIX || XPG3] (NL_SETMAX): Likewise.
15654 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15655 [XPG3] (NZERO): Likewise.
15656 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15657 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15658 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15659 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15660 (REG_ERANGE): Expect.
15661 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15663 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15664 Use (void) in prototype.
15665 [POSIX] (*_t): Allow.
15666 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15667 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15668 (WRDE_BADVAL): Expect.
15670 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15672 [XPG3 || XPG4] (O_RSYNC): Likewise.
15673 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15675 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15676 [XPG3 || XPG4] (sigqueue): Likewise.
15677 [XPG3 || XPG4] (sigtimedwait): Likewise.
15678 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15679 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15680 [XPG3 || XPG4] (vsnprintf): Likewise.
15681 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15683 [XPG3 || XPG4] (blksize_t): Likewise.
15684 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15686 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15687 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15688 [XPG3 || XPG4] (struct itimerspec): Likewise.
15689 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15690 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15691 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15692 [XPG3 || XPG4] (clockid_t): Likewise.
15693 [XPG3 || XPG4] (timer_t): Likewise.
15694 [XPG3 || XPG4] (clock_getres): Likewise.
15695 [XPG3 || XPG4] (clock_gettime): Likewise.
15696 [XPG3 || XPG4] (clock_settime): Likewise.
15697 [XPG3 || XPG4] (nanosleep): Likewise.
15698 [XPG3 || XPG4] (timer_create): Likewise.
15699 [XPG3 || XPG4] (timer_delete): Likewise.
15700 [XPG3 || XPG4] (timer_gettime): Likewise.
15701 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15702 [XPG3 || XPG4] (timer_settime): Likewise.
15703 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15704 [XPG3 || XPG4] (getlogin_r): Likewise.
15705 [XPG3 || XPG4] (pread): Likewise.
15706 [XPG3 || XPG4] (pthread_atfork): Likewise.
15707 [XPG3 || XPG4] (pwrite): Likewise.
15710 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15713 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15715 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15716 finalizing MALLSTREAM.
15718 * sysdeps/mach/hurd/syncfs.c: New file.
15720 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15723 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15724 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15725 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15726 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15727 (_nss_dns_gethostbyname4_r): Likewise.
15728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15729 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15731 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15734 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15736 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15738 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15739 * elf/cache.c (print_entry): Print ",AArch64" for
15742 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15743 * elf/cache.c (print_entry): Print ",hard-float" for
15746 2012-11-18 David S. Miller <davem@davemloft.net>
15748 With help from Joseph Myers.
15749 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15751 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15753 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15754 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15757 * math/libm-test.inc (y0_test): New tests.
15758 (y1_test): New tests.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15763 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15765 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15767 * configure: Regenerated.
15769 2012-11-17 David S. Miller <davem@davemloft.net>
15772 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15773 nonzero exponents with absolute value below 0x1p-128 to +/-
15776 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15778 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15780 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15782 * posix/getconf-speclist.c: New file.
15783 * posix/posix-envs.def: Likewise.
15784 * posix/confstr.c (START_ENV_GROUP): New macro.
15785 (END_ENV_GROUP): Likewise.
15786 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15787 (KNOWN_PRESENT_ENV_STRING): Likewise.
15788 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15789 (UNKNOWN_ENVIRONMENT): Likewise.
15790 (confstr): Include posix-envs.def instead of handling
15791 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15792 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15793 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15794 (END_ENV_GROUP): Likewise.
15795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15796 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15797 (UNKNOWN_ENVIRONMENT): Likewise.
15798 (__sysconf): Include posix-envs.def instead of handling associated
15799 cases directly here.
15800 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15801 preprocessing getconf-speclist.c rather than running getconf or
15802 generating empty file.
15804 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15806 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15808 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15811 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15813 2012-11-16 David S. Miller <davem@davemloft.net>
15815 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15816 smaller than LDBL_EPSILON/2.0L, just return xm1.
15818 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15820 * elf/tst-array1.c (init): Set constructor priority to 1000.
15821 (fini): Set destructor priority to 1000.
15822 * elf/tst-array2dep.c: Likewise.
15824 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15827 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15828 (_IO_new_file_xsputn): Also return EOF if none of the input
15829 data was written when overflow failed.
15830 * libio/iopadn.c (_IO_padn): Likewise.
15831 * libio/iowpadn.c (_IO_wpadn): Likewise.
15832 * stdio-common/tst-put-error.c: Add copyright notice.
15833 (do_test): Add case for printing padded string.
15834 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15835 _IO_padn returned error.
15836 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15837 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15840 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15842 * libio/libioP.h: Add comment note that the references to C++
15843 bits are now obsolete.
15845 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15847 * math/libm-test.inc (check_complex): Use asprintf.
15849 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15851 * debug/pcprofiledump.c (print_version): Update copyright year.
15852 * malloc/memusagestat.c (print_version): Likewise.
15854 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15857 * elf/Makefile (tests): Add tst-audit8.
15858 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15859 ($(objpfx)tst-audit8.out): New target.
15860 (tst-audit8-ENV): New variable.
15861 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15862 audit if l_reloc_result is NULL.
15863 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15864 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15865 * elf/tst-audit8.c: New file.
15867 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15869 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15870 * misc/Makefile (CFLAGS-select.c): Define.
15871 * posix/Makefile (CFLAGS-pause.c): Define.
15873 2012-11-13 David S. Miller <davem@davemloft.net>
15875 * crypt/Makefile: Move test targets after toplevel Rules
15876 inclusion. Grab any necessary sysdep routines when linking.
15877 * crypt/md5.c (md5_process_block): Remove define, we will always
15878 name it __md5_process_block.
15879 (md5_finish_ctx): Update md5_process_block call.
15880 (md5_stream): Likewise.
15881 (md5_process_bytes): Likewise.
15882 (md5_process_block): Rename to __md5_process_block and move to ...
15883 * crypt/md5-block.c: ... here.
15884 * crypt/sha256.c (sha256_process_block): Move to ...
15885 * crypt/sha256-block.c: ... here.
15886 * crypt/sha512.c (sha512_process_block): Move to ...
15887 * crypt/sha512-block.c: ... here.
15888 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15890 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15891 * sysdeps/sparc/sparc64/multiarch/Makefile
15892 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15894 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15895 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15897 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15898 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15899 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15900 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15901 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15902 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15903 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15905 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15907 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15912 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15914 * timezone/tzselect.ksh: Update from tzcode git revision
15915 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15916 * timezone/zdump.c: Likewise.
15917 * timezone/zic.c: Likewise.
15918 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15919 in TZVERSION setting, not $(PKGVERSION).
15920 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15921 REPORT_BUGS_TO settings.
15924 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15927 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15929 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15930 detection to immediately after _FP_ROUND().
15931 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15934 2012-11-11 David S. Miller <davem@davemloft.net>
15936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15938 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15939 __close rather than their public counterparts.
15941 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15943 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15945 [UNIX98] (sem_timedwait): Do not expect.
15946 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15947 [XPG4 || UNIX98] (sockatmark): Do not expect.
15948 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15949 (clock_getcpuclockid): Do not expect.
15950 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15951 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15953 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15954 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15955 [UNIX98] (vwscanf): Likewise.
15956 [UNIX98] (vswscanf): Likewise.
15958 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15960 * timezone/version.h: Remove file.
15961 * timezone/README: Do not refer to version.h.
15962 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15963 $(objpfx)version.h.
15964 ($(objpfx)zdump.o): Likewise.
15965 ($(objpfx)version.h): New target.
15967 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15969 * timezone/README: Don't mention modification to tzselect.ksh.
15970 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15971 work on unmodified tzselect.ksh. Substitute version numbers in
15974 * Makefile (format-me): Remove.
15975 (INSTALL): Adjust indentation. Use commands directly instead of
15976 using $(format-me).
15978 * aclocal.m4 (ACX_PKGVERSION): New macro.
15979 (ACX_BUGURL): Likewise.
15980 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15981 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15982 (REPORT_BUGS_TO): Likewise.
15983 * configure: Regenerated.
15984 * config.h.in (PKGVERSION): New macro.
15985 (REPORT_BUGS_TO): Likewise.
15986 * config.make.in (PKGVERSION): New variable.
15987 (PKGVERSION_TEXI): Likewise.
15988 (REPORT_BUGS_TO): Likewise.
15989 (REPORT_BUGS_TEXI): Likewise.
15990 * Makefile (format-me): Use -I$(common-objpfx)manual.
15991 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15992 ($(common-objpfx)manual/%): New target.
15993 (manual/%): Remove target.
15994 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15995 (print_version): Use PKGVERSION.
15996 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15997 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15998 and REPORT_BUGS_TO.
15999 ($(objpfx)xtrace): Likewise.
16000 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16001 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16002 (print_version): Use PKGVERSION.
16003 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16004 (do_version): Use PKGVERSION.
16005 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16007 (common-ldd-rewrite): Likewise.
16008 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16009 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16010 (print_version): Use PKGVERSION.
16011 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16012 * elf/pldd.c (argp_program_bug_address): Remove variable.
16013 (more_help): New function.
16014 (argp): Use more_help.
16015 (print_version): Use PKGVERSION.
16016 * elf/sln.c (main): Use PKGVERSION.
16017 (usage): Use REPORT_BUGS_TO.
16018 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16019 (top level): Use PKGVERSION.
16020 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16021 (print_version): Use PKGVERSION.
16022 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16023 (print_version): Use PKGVERSION.
16024 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16025 (print_version): Use PKGVERSION.
16026 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16027 (print_version): Use PKGVERSION.
16028 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16029 (print_version): Use PKGVERSION.
16030 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16031 (print_version): Use PKGVERSION.
16032 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16034 ($(objpfx)memusage): Likewise.
16035 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16036 (do_version): Use PKGVERSION.
16037 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16038 (print_version): Use PKGVERSION.
16039 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16040 ($PKGVERSION): New variable.
16041 ($REPORT_BUGS_TO): Likewise.
16042 (usage): Use $REPORT_BUGS_TO.
16043 (top level): Use $PKGVERSION.
16044 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16045 ($(objpfx)pkgvers.texi): New rule.
16046 ($(objpfx)stamp-pkgvers): Likewise.
16047 * manual/install.texi: Include pkgvers.texi.
16048 (--with-pkgversion): Document new configure option.
16049 (--with-bugurl): Likewise.
16050 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16051 than necessarily for this particular distribution. Use
16052 REPORT_BUGS_TO for where to report bugs.
16053 * INSTALL: Regenerated.
16054 * manual/libc.texinfo: Include pkgvers.texi.
16055 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16056 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16057 (print_version): Use PKGVERSION.
16058 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16059 (print_version): Use PKGVERSION.
16060 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16061 (print_version): Use PKGVERSION.
16062 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16063 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16065 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16066 (print_version): Use PKGVERSION.
16067 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16068 (print_version): Use PKGVERSION.
16069 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16072 * timezone/checktab.awk: Update from tzcode 2012i.
16073 * timezone/ialloc.c: Likewise.
16074 * timezone/private.h: Likewise.
16075 * timezone/scheck.c: Likewise.
16076 * timezone/tzfile.h: Likewise.
16077 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16078 (TZVERSION): Hardcode tzcode version number.
16079 * timezone/zdump.c: Update from tzcode 2012i.
16080 * timezone/zic.c: Likewise.
16081 * timezone/version.h: New file.
16082 * timezone/README: Describe version.h. Update upstream location.
16085 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16086 (mktemp): Enable declaration.
16087 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16104 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16105 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16106 for copies of such integer values.
16107 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16108 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16110 2012-11-09 Andreas Jaeger <aj@suse.de>
16112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16113 definitions and declarations that are provided by
16114 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16116 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16118 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16119 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16120 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16123 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16125 * elf/elf.h: Update comment before AArch64 relocations.
16127 2012-11-07 David S. Miller <davem@davemloft.net>
16129 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16130 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16131 (__start_context): Declare.
16132 (__makecontext_ret): Delete.
16133 (__makecontext): Hook up __start_context instead of
16135 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16136 (sysdep_routines): Add __start_context when in stdlib.
16138 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16140 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16141 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16142 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16144 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16145 (READELF): New variable. Use it instead of hardcoded "readelf".
16147 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16149 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16150 * sysdeps/x86/Makefile: Here.
16151 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16152 * sysdeps/x86/tst-xmmymm.sh: This.
16154 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16156 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16158 [UNIX98] (pthread_barrier_t): Do not expect.
16159 [UNIX98] (pthread_barrierattr_t): Likewise.
16160 [UNIX98] (pthread_spinlock_t): Likewise.
16161 [UNIX98] (pthread_barrier_destroy): Likewise.
16162 [UNIX98] (pthread_barrier_init): Likewise.
16163 [UNIX98] (pthread_barrier_wait): Likewise.
16164 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16165 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16166 [UNIX98] (pthread_barrierattr_init): Likewise.
16167 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16168 [UNIX98] (pthread_getcpuclockid): Likewise.
16169 [UNIX98] (pthread_mutex_timedlock): Likewise.
16170 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16171 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16172 [UNIX98] (pthread_sigmask): Likewise.
16173 [UNIX98] (pthread_spin_destroy): Likewise.
16174 [UNIX98] (pthread_spin_init): Likewise.
16175 [UNIX98] (pthread_spin_lock): Likewise.
16176 [UNIX98] (pthread_spin_trylock): Likewise.
16177 [UNIX98] (pthread_spin_unlock): Likewise.
16178 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16180 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16182 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16183 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16184 [XPG3 || XPG4] (pthread_key_t): Likewise.
16185 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16186 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16187 [XPG3 || XPG4] (pthread_once_t): Likewise.
16188 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16189 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16191 [XPG3 || XPG4] (pthread_t): Likewise.
16193 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16195 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16197 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16198 Change function return type to int.
16200 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16201 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16202 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16203 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16204 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16205 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16206 [!POSIX] (posix_madvise): Likewise.
16207 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16209 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16210 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16211 (mode_t): Likewise.
16212 (posix_mem_offset): Likewise.
16213 (posix_typed_mem_get_info): Likewise.
16214 (posix_typed_mem_open): Likewise.
16216 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16217 Change condition to [XOPEN2K8].
16219 * conform/conformtest.pl: Preprocess allow-header data with -x c
16220 instead of from stdin.
16221 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16222 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16223 [C99-based standards] (cerfc): Likewise.
16224 [C99-based standards] (cexp2): Likewise.
16225 [C99-based standards] (cexpm1): Likewise.
16226 [C99-based standards] (clog10): Likewise.
16227 [C99-based standards] (clog1p): Likewise.
16228 [C99-based standards] (clog2): Likewise.
16229 [C99-based standards] (clgamma): Likewise.
16230 [C99-based standards] (ctgamma): Likewise.
16231 [C99-based standards] (cerff): Likewise.
16232 [C99-based standards] (cerfcf): Likewise.
16233 [C99-based standards] (cexp2f): Likewise.
16234 [C99-based standards] (cexpm1f): Likewise.
16235 [C99-based standards] (clog10f): Likewise.
16236 [C99-based standards] (clog1pf): Likewise.
16237 [C99-based standards] (clog2f): Likewise.
16238 [C99-based standards] (clgammaf): Likewise.
16239 [C99-based standards] (ctgammaf): Likewise.
16240 [C99-based standards] (cerfl): Likewise.
16241 [C99-based standards] (cerfcl): Likewise.
16242 [C99-based standards] (cexp2l): Likewise.
16243 [C99-based standards] (cexpm1l): Likewise.
16244 [C99-based standards] (clog10l): Likewise.
16245 [C99-based standards] (clog1pl): Likewise.
16246 [C99-based standards] (clog2l): Likewise.
16247 [C99-based standards] (clgammal): Likewise.
16248 [C99-based standards] (ctgammal): Likewise.
16249 * conform/data/inttypes.h-data [C99-based standards]: Include
16250 stdint.h-data. Remove all expectations for stdint.h contents.
16251 [C99-based standards] (PRI*): Do not allow.
16252 [C99-based standards] (SCN*): Likewise.
16253 [C99-based standards] (*_t): Likewise.
16254 [C99-based-standards] (PRId8): Expect macro.
16255 [C99-based-standards] (PRIi8): Likewise.
16256 [C99-based-standards] (PRIo8): Likewise.
16257 [C99-based-standards] (PRIu8): Likewise.
16258 [C99-based-standards] (PRIx8): Likewise.
16259 [C99-based-standards] (PRIX8): Likewise.
16260 [C99-based-standards] (SCNd8): Likewise.
16261 [C99-based-standards] (SCNi8): Likewise.
16262 [C99-based-standards] (SCNo8): Likewise.
16263 [C99-based-standards] (SCNu8): Likewise.
16264 [C99-based-standards] (SCNx8): Likewise.
16265 [C99-based-standards] (PRIdLEAST8): Likewise.
16266 [C99-based-standards] (PRIiLEAST8): Likewise.
16267 [C99-based-standards] (PRIoLEAST8): Likewise.
16268 [C99-based-standards] (PRIuLEAST8): Likewise.
16269 [C99-based-standards] (PRIxLEAST8): Likewise.
16270 [C99-based-standards] (PRIXLEAST8): Likewise.
16271 [C99-based-standards] (SCNdLEAST8): Likewise.
16272 [C99-based-standards] (SCNiLEAST8): Likewise.
16273 [C99-based-standards] (SCNoLEAST8): Likewise.
16274 [C99-based-standards] (SCNuLEAST8): Likewise.
16275 [C99-based-standards] (SCNxLEAST8): Likewise.
16276 [C99-based-standards] (PRIdFAST8): Likewise.
16277 [C99-based-standards] (PRIiFAST8): Likewise.
16278 [C99-based-standards] (PRIoFAST8): Likewise.
16279 [C99-based-standards] (PRIuFAST8): Likewise.
16280 [C99-based-standards] (PRIxFAST8): Likewise.
16281 [C99-based-standards] (PRIXFAST8): Likewise.
16282 [C99-based-standards] (SCNdFAST8): Likewise.
16283 [C99-based-standards] (SCNiFAST8): Likewise.
16284 [C99-based-standards] (SCNoFAST8): Likewise.
16285 [C99-based-standards] (SCNuFAST8): Likewise.
16286 [C99-based-standards] (SCNxFAST8): Likewise.
16287 [C99-based-standards] (PRId16): Likewise.
16288 [C99-based-standards] (PRIi16): Likewise.
16289 [C99-based-standards] (PRIo16): Likewise.
16290 [C99-based-standards] (PRIu16): Likewise.
16291 [C99-based-standards] (PRIx16): Likewise.
16292 [C99-based-standards] (PRIX16): Likewise.
16293 [C99-based-standards] (SCNd16): Likewise.
16294 [C99-based-standards] (SCNi16): Likewise.
16295 [C99-based-standards] (SCNo16): Likewise.
16296 [C99-based-standards] (SCNu16): Likewise.
16297 [C99-based-standards] (SCNx16): Likewise.
16298 [C99-based-standards] (PRIdLEAST16): Likewise.
16299 [C99-based-standards] (PRIiLEAST16): Likewise.
16300 [C99-based-standards] (PRIoLEAST16): Likewise.
16301 [C99-based-standards] (PRIuLEAST16): Likewise.
16302 [C99-based-standards] (PRIxLEAST16): Likewise.
16303 [C99-based-standards] (PRIXLEAST16): Likewise.
16304 [C99-based-standards] (SCNdLEAST16): Likewise.
16305 [C99-based-standards] (SCNiLEAST16): Likewise.
16306 [C99-based-standards] (SCNoLEAST16): Likewise.
16307 [C99-based-standards] (SCNuLEAST16): Likewise.
16308 [C99-based-standards] (SCNxLEAST16): Likewise.
16309 [C99-based-standards] (PRIdFAST16): Likewise.
16310 [C99-based-standards] (PRIiFAST16): Likewise.
16311 [C99-based-standards] (PRIoFAST16): Likewise.
16312 [C99-based-standards] (PRIuFAST16): Likewise.
16313 [C99-based-standards] (PRIxFAST16): Likewise.
16314 [C99-based-standards] (PRIXFAST16): Likewise.
16315 [C99-based-standards] (SCNdFAST16): Likewise.
16316 [C99-based-standards] (SCNiFAST16): Likewise.
16317 [C99-based-standards] (SCNoFAST16): Likewise.
16318 [C99-based-standards] (SCNuFAST16): Likewise.
16319 [C99-based-standards] (SCNxFAST16): Likewise.
16320 [C99-based-standards] (PRId32): Likewise.
16321 [C99-based-standards] (PRIi32): Likewise.
16322 [C99-based-standards] (PRIo32): Likewise.
16323 [C99-based-standards] (PRIu32): Likewise.
16324 [C99-based-standards] (PRIx32): Likewise.
16325 [C99-based-standards] (PRIX32): Likewise.
16326 [C99-based-standards] (SCNd32): Likewise.
16327 [C99-based-standards] (SCNi32): Likewise.
16328 [C99-based-standards] (SCNo32): Likewise.
16329 [C99-based-standards] (SCNu32): Likewise.
16330 [C99-based-standards] (SCNx32): Likewise.
16331 [C99-based-standards] (PRIdLEAST32): Likewise.
16332 [C99-based-standards] (PRIiLEAST32): Likewise.
16333 [C99-based-standards] (PRIoLEAST32): Likewise.
16334 [C99-based-standards] (PRIuLEAST32): Likewise.
16335 [C99-based-standards] (PRIxLEAST32): Likewise.
16336 [C99-based-standards] (PRIXLEAST32): Likewise.
16337 [C99-based-standards] (SCNdLEAST32): Likewise.
16338 [C99-based-standards] (SCNiLEAST32): Likewise.
16339 [C99-based-standards] (SCNoLEAST32): Likewise.
16340 [C99-based-standards] (SCNuLEAST32): Likewise.
16341 [C99-based-standards] (SCNxLEAST32): Likewise.
16342 [C99-based-standards] (PRIdFAST32): Likewise.
16343 [C99-based-standards] (PRIiFAST32): Likewise.
16344 [C99-based-standards] (PRIoFAST32): Likewise.
16345 [C99-based-standards] (PRIuFAST32): Likewise.
16346 [C99-based-standards] (PRIxFAST32): Likewise.
16347 [C99-based-standards] (PRIXFAST32): Likewise.
16348 [C99-based-standards] (SCNdFAST32): Likewise.
16349 [C99-based-standards] (SCNiFAST32): Likewise.
16350 [C99-based-standards] (SCNoFAST32): Likewise.
16351 [C99-based-standards] (SCNuFAST32): Likewise.
16352 [C99-based-standards] (SCNxFAST32): Likewise.
16353 [C99-based-standards] (PRId64): Likewise.
16354 [C99-based-standards] (PRIi64): Likewise.
16355 [C99-based-standards] (PRIo64): Likewise.
16356 [C99-based-standards] (PRIu64): Likewise.
16357 [C99-based-standards] (PRIx64): Likewise.
16358 [C99-based-standards] (PRIX64): Likewise.
16359 [C99-based-standards] (SCNd64): Likewise.
16360 [C99-based-standards] (SCNi64): Likewise.
16361 [C99-based-standards] (SCNo64): Likewise.
16362 [C99-based-standards] (SCNu64): Likewise.
16363 [C99-based-standards] (SCNx64): Likewise.
16364 [C99-based-standards] (PRIdLEAST64): Likewise.
16365 [C99-based-standards] (PRIiLEAST64): Likewise.
16366 [C99-based-standards] (PRIoLEAST64): Likewise.
16367 [C99-based-standards] (PRIuLEAST64): Likewise.
16368 [C99-based-standards] (PRIxLEAST64): Likewise.
16369 [C99-based-standards] (PRIXLEAST64): Likewise.
16370 [C99-based-standards] (SCNdLEAST64): Likewise.
16371 [C99-based-standards] (SCNiLEAST64): Likewise.
16372 [C99-based-standards] (SCNoLEAST64): Likewise.
16373 [C99-based-standards] (SCNuLEAST64): Likewise.
16374 [C99-based-standards] (SCNxLEAST64): Likewise.
16375 [C99-based-standards] (PRIdFAST64): Likewise.
16376 [C99-based-standards] (PRIiFAST64): Likewise.
16377 [C99-based-standards] (PRIoFAST64): Likewise.
16378 [C99-based-standards] (PRIuFAST64): Likewise.
16379 [C99-based-standards] (PRIxFAST64): Likewise.
16380 [C99-based-standards] (PRIXFAST64): Likewise.
16381 [C99-based-standards] (SCNdFAST64): Likewise.
16382 [C99-based-standards] (SCNiFAST64): Likewise.
16383 [C99-based-standards] (SCNoFAST64): Likewise.
16384 [C99-based-standards] (SCNuFAST64): Likewise.
16385 [C99-based-standards] (SCNxFAST64): Likewise.
16386 [C99-based-standards] (PRIdMAX): Likewise.
16387 [C99-based-standards] (PRIiMAX): Likewise.
16388 [C99-based-standards] (PRIoMAX): Likewise.
16389 [C99-based-standards] (PRIuMAX): Likewise.
16390 [C99-based-standards] (PRIxMAX): Likewise.
16391 [C99-based-standards] (PRIXMAX): Likewise.
16392 [C99-based-standards] (SCNdMAX): Likewise.
16393 [C99-based-standards] (SCNiMAX): Likewise.
16394 [C99-based-standards] (SCNoMAX): Likewise.
16395 [C99-based-standards] (SCNuMAX): Likewise.
16396 [C99-based-standards] (SCNxMAX): Likewise.
16397 [C99-based-standards] (PRIdPTR): Likewise.
16398 [C99-based-standards] (PRIiPTR): Likewise.
16399 [C99-based-standards] (PRIoPTR): Likewise.
16400 [C99-based-standards] (PRIuPTR): Likewise.
16401 [C99-based-standards] (PRIxPTR): Likewise.
16402 [C99-based-standards] (PRIXPTR): Likewise.
16403 [C99-based-standards] (SCNdPTR): Likewise.
16404 [C99-based-standards] (SCNiPTR): Likewise.
16405 [C99-based-standards] (SCNoPTR): Likewise.
16406 [C99-based-standards] (SCNuPTR): Likewise.
16407 [C99-based-standards] (SCNxPTR): Likewise.
16408 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16410 * conform/data/stdint.h-data: Update comments to clarify
16412 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16414 [C99-based standards] (INT8_MAX): Likewise.
16415 [C99-based standards] (INT16_MIN): Likewise.
16416 [C99-based standards] (INT16_MAX): Likewise.
16417 [C99-based standards] (INT32_MIN): Likewise.
16418 [C99-based standards] (INT32_MAX): Likewise.
16419 [C99-based standards] (INT64_MIN): Likewise.
16420 [C99-based standards] (INT64_MAX): Likewise.
16421 [C99-based standards] (UINT8_MAX): Likewise.
16422 [C99-based standards] (UINT16_MAX): Likewise.
16423 [C99-based standards] (UINT32_MAX): Likewise.
16424 [C99-based standards] (UINT64_MAX): Likewise.
16425 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16426 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16427 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16428 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16429 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16430 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16431 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16432 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16433 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16434 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16435 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16436 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16437 [C99-based standards] (INT_FAST8_MIN): Likewise.
16438 [C99-based standards] (INT_FAST8_MAX): Likewise.
16439 [C99-based standards] (INT_FAST16_MIN): Likewise.
16440 [C99-based standards] (INT_FAST16_MAX): Likewise.
16441 [C99-based standards] (INT_FAST32_MIN): Likewise.
16442 [C99-based standards] (INT_FAST32_MAX): Likewise.
16443 [C99-based standards] (INT_FAST64_MIN): Likewise.
16444 [C99-based standards] (INT_FAST64_MAX): Likewise.
16445 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16446 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16447 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16448 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16449 [C99-based standards] (INTPTR_MIN): Likewise.
16450 [C99-based standards] (INTPTR_MAX): Likewise.
16451 [C99-based standards] (UINTPTR_MAX): Likewise.
16452 [C99-based standards] (INTMAX_MIN): Likewise.
16453 [C99-based standards] (INTMAX_MAX): Likewise.
16454 [C99-based standards] (UINTMAX_MAX): Likewise.
16455 [C99-based standards] (PTRDIFF_MIN): Likewise.
16456 [C99-based standards] (PTRDIFF_MAX): Likewise.
16457 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16458 [C99-based standards] (SIZE_MAX): Likewise.
16459 [C99-based standards] (WCHAR_MAX): Likewise.
16460 [C99-based standards] (WINT_MAX): Likewise.
16461 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16462 constraint on value.
16463 [C99-based standards] (WCHAR_MIN): Likewise.
16464 [C99-based standards] (WINT_MIN): Likewise.
16465 [C99-based standards] (*_t): Allow.
16466 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16467 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16468 Include math.h-data and complex.h-data. Remove all expectations
16469 of math.h and complex.h contents.
16470 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16472 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16473 (struct tm): Expect tag.
16474 [C99-based-standards] (wcstof): Expect function.
16475 [C99-based-standards] (wcstold): Likewise.
16476 [C99-based-standards] (wcstoll): Likewise.
16477 [C99-based-standards] (wcstoull): Likewise.
16478 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16479 macro-int-constant. Specify type.
16480 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16481 constraint on value.
16482 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16484 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16486 [ISO C standards]: Do not allow headers.
16487 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16488 wcs[abcdefghijklmnopqrstuvwxyz]*.
16489 [ISO C standards] (*_t): Do not allow.
16490 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16492 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16493 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16495 [ISO C standards]: Do not allow headers.
16496 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16497 is[abcdefghijklmnopqrstuvwxyz]*.
16498 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16499 to[abcdefghijklmnopqrstuvwxyz]*.
16500 [ISO C standards] (*_t): Do not allow.
16501 * conform/data/stdalign.h-data: New file.
16502 * conform/data/stdbool.h-data: Likewise.
16503 * conform/data/stdnoreturn.h-data: Likewise.
16505 2012-11-07 Roland McGrath <roland@hack.frob.com>
16508 * manual/filesys.texi (Directory Entries): Typo fix.
16509 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16511 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16513 * elf/elf.h (EM_AARCH64): New macro.
16514 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16515 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16516 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16517 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16518 (R_AARCH64_TLSDESC): Likewise.
16519 (NT_ARM_TLS): Likewise.
16520 (NT_ARM_HW_BREAK): Likewise.
16521 (NT_ARM_HW_WATCH): Likewise.
16523 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16526 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16527 (__ieee754_powl): Saturate nonzero exponents with absolute value
16528 below 0x1p-79 to +/- 0x1p-79.
16529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16530 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16531 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16532 nonzero exponents with absolute value below 0x1p-32 to +/-
16534 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16535 (__ieee754_powl): Saturate nonzero exponents with absolute value
16536 below 0x1p-79 to +/- 0x1p-79.
16537 * math/libm-test.inc (pow_test): Add more tests.
16539 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16541 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16542 _dl_s390_cap_flags with kernel. Increase string length.
16543 (_dl_s390_platforms): Add z196 and zEC12.
16545 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16547 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16548 Change XOPEN21K to XOPEN2K.
16550 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16552 * string/memmove.c: Use memcpy when possible.
16554 2012-11-06 Andreas Jaeger <aj@suse.de>
16556 * po/eo.po: Update from translation team.
16558 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16562 exponent and small x and y exponents, scale x or y up. Increase
16563 by 2 the exponent used in scaling up.
16564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16566 * math/libm-test.inc (fma_test): Add more tests.
16567 (fma_test_towardzero): Likewise.
16568 (fma_test_downward): Likewise.
16569 (fma_test_upward): Likewise.
16571 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16574 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16578 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16579 namespace for names of struct fields.
16580 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16582 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16583 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16585 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16588 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16590 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16592 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16599 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16603 definitely overflow as x * y not x * y + z.
16604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16606 * math/libm-test.inc (fma_test): Add more tests.
16607 (fma_test_towardzero): Likewise.
16608 (fma_test_downward): Likewise.
16609 (fma_test_upward): Likewise.
16611 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16615 * include/stub-tag.h: Remove file.
16616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16618 * manual/maint.texi (Porting): Don't reference it.
16619 * Makerules ($(objpfx)stubs): Likewise.
16620 * dirent/closedir.c: Don't include <stub-tag.h>.
16621 * dirent/dirfd.c: Likewise.
16622 * dirent/fdopendir.c: Likewise.
16623 * dirent/getdents.c: Likewise.
16624 * dirent/getdents64.c: Likewise.
16625 * dirent/opendir.c: Likewise.
16626 * dirent/readdir.c: Likewise.
16627 * dirent/readdir64.c: Likewise.
16628 * dirent/readdir64_r.c: Likewise.
16629 * dirent/readdir_r.c: Likewise.
16630 * dirent/rewinddir.c: Likewise.
16631 * dirent/seekdir.c: Likewise.
16632 * dirent/telldir.c: Likewise.
16633 * gmon/profil.c: Likewise.
16634 * grp/setgroups.c: Likewise.
16635 * inet/if_index.c: Likewise.
16636 * io/access.c: Likewise.
16637 * io/chdir.c: Likewise.
16638 * io/chmod.c: Likewise.
16639 * io/chown.c: Likewise.
16640 * io/close.c: Likewise.
16641 * io/dup.c: Likewise.
16642 * io/dup2.c: Likewise.
16643 * io/dup3.c: Likewise.
16644 * io/euidaccess.c: Likewise.
16645 * io/faccessat.c: Likewise.
16646 * io/fchdir.c: Likewise.
16647 * io/fchmod.c: Likewise.
16648 * io/fchmodat.c: Likewise.
16649 * io/fchown.c: Likewise.
16650 * io/fchownat.c: Likewise.
16651 * io/fcntl.c: Likewise.
16652 * io/flock.c: Likewise.
16653 * io/fstatfs.c: Likewise.
16654 * io/fstatfs64.c: Likewise.
16655 * io/fstatvfs.c: Likewise.
16656 * io/fstatvfs64.c: Likewise.
16657 * io/futimens.c: Likewise.
16658 * io/fxstat.c: Likewise.
16659 * io/fxstat64.c: Likewise.
16660 * io/fxstatat.c: Likewise.
16661 * io/fxstatat64.c: Likewise.
16662 * io/getcwd.c: Likewise.
16663 * io/isatty.c: Likewise.
16664 * io/lchmod.c: Likewise.
16665 * io/lchown.c: Likewise.
16666 * io/link.c: Likewise.
16667 * io/linkat.c: Likewise.
16668 * io/lseek.c: Likewise.
16669 * io/lseek64.c: Likewise.
16670 * io/lxstat64.c: Likewise.
16671 * io/mkdir.c: Likewise.
16672 * io/mkdirat.c: Likewise.
16673 * io/mkfifo.c: Likewise.
16674 * io/mkfifoat.c: Likewise.
16675 * io/open.c: Likewise.
16676 * io/open64.c: Likewise.
16677 * io/openat.c: Likewise.
16678 * io/openat64.c: Likewise.
16679 * io/pipe.c: Likewise.
16680 * io/pipe2.c: Likewise.
16681 * io/poll.c: Likewise.
16682 * io/posix_fadvise.c: Likewise.
16683 * io/posix_fadvise64.c: Likewise.
16684 * io/posix_fallocate.c: Likewise.
16685 * io/posix_fallocate64.c: Likewise.
16686 * io/read.c: Likewise.
16687 * io/readlink.c: Likewise.
16688 * io/readlinkat.c: Likewise.
16689 * io/rmdir.c: Likewise.
16690 * io/sendfile.c: Likewise.
16691 * io/sendfile64.c: Likewise.
16692 * io/statfs.c: Likewise.
16693 * io/statfs64.c: Likewise.
16694 * io/statvfs.c: Likewise.
16695 * io/statvfs64.c: Likewise.
16696 * io/symlink.c: Likewise.
16697 * io/symlinkat.c: Likewise.
16698 * io/ttyname.c: Likewise.
16699 * io/ttyname_r.c: Likewise.
16700 * io/umask.c: Likewise.
16701 * io/unlink.c: Likewise.
16702 * io/unlinkat.c: Likewise.
16703 * io/utime.c: Likewise.
16704 * io/utimensat.c: Likewise.
16705 * io/write.c: Likewise.
16706 * io/xmknod.c: Likewise.
16707 * io/xmknodat.c: Likewise.
16708 * io/xstat.c: Likewise.
16709 * io/xstat64.c: Likewise.
16710 * login/getpt.c: Likewise.
16711 * login/grantpt.c: Likewise.
16712 * login/unlockpt.c: Likewise.
16713 * math/e_acoshl.c: Likewise.
16714 * math/e_acosl.c: Likewise.
16715 * math/e_asinl.c: Likewise.
16716 * math/e_atan2l.c: Likewise.
16717 * math/e_atanhl.c: Likewise.
16718 * math/e_coshl.c: Likewise.
16719 * math/e_expl.c: Likewise.
16720 * math/e_fmodl.c: Likewise.
16721 * math/e_gammal_r.c: Likewise.
16722 * math/e_hypotl.c: Likewise.
16723 * math/e_j0l.c: Likewise.
16724 * math/e_j1l.c: Likewise.
16725 * math/e_jnl.c: Likewise.
16726 * math/e_lgammal_r.c: Likewise.
16727 * math/e_log10l.c: Likewise.
16728 * math/e_log2l.c: Likewise.
16729 * math/e_logl.c: Likewise.
16730 * math/e_powl.c: Likewise.
16731 * math/e_rem_pio2l.c: Likewise.
16732 * math/e_sinhl.c: Likewise.
16733 * math/e_sqrtl.c: Likewise.
16734 * math/fclrexcpt.c: Likewise.
16735 * math/fedisblxcpt.c: Likewise.
16736 * math/feenablxcpt.c: Likewise.
16737 * math/fegetenv.c: Likewise.
16738 * math/fegetexcept.c: Likewise.
16739 * math/fegetround.c: Likewise.
16740 * math/feholdexcpt.c: Likewise.
16741 * math/fesetenv.c: Likewise.
16742 * math/fesetround.c: Likewise.
16743 * math/feupdateenv.c: Likewise.
16744 * math/fgetexcptflg.c: Likewise.
16745 * math/fraiseexcpt.c: Likewise.
16746 * math/fsetexcptflg.c: Likewise.
16747 * math/ftestexcept.c: Likewise.
16748 * math/k_cosl.c: Likewise.
16749 * math/k_rem_pio2l.c: Likewise.
16750 * math/k_sinl.c: Likewise.
16751 * math/k_tanl.c: Likewise.
16752 * math/s_asinhl.c: Likewise.
16753 * math/s_atanl.c: Likewise.
16754 * math/s_cbrtl.c: Likewise.
16755 * math/s_erfl.c: Likewise.
16756 * math/s_expm1l.c: Likewise.
16757 * math/s_log1pl.c: Likewise.
16758 * math/s_tanhl.c: Likewise.
16759 * misc/acct.c: Likewise.
16760 * misc/brk.c: Likewise.
16761 * misc/chflags.c: Likewise.
16762 * misc/chroot.c: Likewise.
16763 * misc/fchflags.c: Likewise.
16764 * misc/fgetxattr.c: Likewise.
16765 * misc/flistxattr.c: Likewise.
16766 * misc/fremovexattr.c: Likewise.
16767 * misc/fsetxattr.c: Likewise.
16768 * misc/fsync.c: Likewise.
16769 * misc/ftruncate.c: Likewise.
16770 * misc/futimes.c: Likewise.
16771 * misc/futimesat.c: Likewise.
16772 * misc/getdomain.c: Likewise.
16773 * misc/getdtsz.c: Likewise.
16774 * misc/gethostid.c: Likewise.
16775 * misc/gethostname.c: Likewise.
16776 * misc/getloadavg.c: Likewise.
16777 * misc/getpagesize.c: Likewise.
16778 * misc/getsysstats.c: Likewise.
16779 * misc/getxattr.c: Likewise.
16780 * misc/gtty.c: Likewise.
16781 * misc/ioctl.c: Likewise.
16782 * misc/lgetxattr.c: Likewise.
16783 * misc/listxattr.c: Likewise.
16784 * misc/llistxattr.c: Likewise.
16785 * misc/lremovexattr.c: Likewise.
16786 * misc/lsetxattr.c: Likewise.
16787 * misc/lutimes.c: Likewise.
16788 * misc/madvise.c: Likewise.
16789 * misc/mincore.c: Likewise.
16790 * misc/mlock.c: Likewise.
16791 * misc/mlockall.c: Likewise.
16792 * misc/mmap.c: Likewise.
16793 * misc/mprotect.c: Likewise.
16794 * misc/msync.c: Likewise.
16795 * misc/munlock.c: Likewise.
16796 * misc/munlockall.c: Likewise.
16797 * misc/munmap.c: Likewise.
16798 * misc/preadv.c: Likewise.
16799 * misc/preadv64.c: Likewise.
16800 * misc/ptrace.c: Likewise.
16801 * misc/pwritev.c: Likewise.
16802 * misc/pwritev64.c: Likewise.
16803 * misc/readv.c: Likewise.
16804 * misc/reboot.c: Likewise.
16805 * misc/remap_file_pages.c: Likewise.
16806 * misc/removexattr.c: Likewise.
16807 * misc/revoke.c: Likewise.
16808 * misc/select.c: Likewise.
16809 * misc/setdomain.c: Likewise.
16810 * misc/setegid.c: Likewise.
16811 * misc/seteuid.c: Likewise.
16812 * misc/sethostid.c: Likewise.
16813 * misc/sethostname.c: Likewise.
16814 * misc/setregid.c: Likewise.
16815 * misc/setreuid.c: Likewise.
16816 * misc/setxattr.c: Likewise.
16817 * misc/sstk.c: Likewise.
16818 * misc/stty.c: Likewise.
16819 * misc/swapoff.c: Likewise.
16820 * misc/swapon.c: Likewise.
16821 * misc/sync.c: Likewise.
16822 * misc/syncfs.c: Likewise.
16823 * misc/syscall.c: Likewise.
16824 * misc/truncate.c: Likewise.
16825 * misc/ualarm.c: Likewise.
16826 * misc/usleep.c: Likewise.
16827 * misc/ustat.c: Likewise.
16828 * misc/utimes.c: Likewise.
16829 * misc/vhangup.c: Likewise.
16830 * misc/writev.c: Likewise.
16831 * posix/_exit.c: Likewise.
16832 * posix/alarm.c: Likewise.
16833 * posix/execve.c: Likewise.
16834 * posix/fexecve.c: Likewise.
16835 * posix/fork.c: Likewise.
16836 * posix/fpathconf.c: Likewise.
16837 * posix/getaddrinfo.c: Likewise.
16838 * posix/getegid.c: Likewise.
16839 * posix/geteuid.c: Likewise.
16840 * posix/getgid.c: Likewise.
16841 * posix/getgroups.c: Likewise.
16842 * posix/getlogin.c: Likewise.
16843 * posix/getlogin_r.c: Likewise.
16844 * posix/getpgid.c: Likewise.
16845 * posix/getpid.c: Likewise.
16846 * posix/getppid.c: Likewise.
16847 * posix/getresgid.c: Likewise.
16848 * posix/getresuid.c: Likewise.
16849 * posix/getsid.c: Likewise.
16850 * posix/getuid.c: Likewise.
16851 * posix/glob64.c: Likewise.
16852 * posix/nanosleep.c: Likewise.
16853 * posix/pathconf.c: Likewise.
16854 * posix/pause.c: Likewise.
16855 * posix/posix_madvise.c: Likewise.
16856 * posix/pread.c: Likewise.
16857 * posix/pread64.c: Likewise.
16858 * posix/pwrite.c: Likewise.
16859 * posix/pwrite64.c: Likewise.
16860 * posix/sched_getaffinity.c: Likewise.
16861 * posix/sched_getp.c: Likewise.
16862 * posix/sched_gets.c: Likewise.
16863 * posix/sched_primax.c: Likewise.
16864 * posix/sched_primin.c: Likewise.
16865 * posix/sched_rr_gi.c: Likewise.
16866 * posix/sched_setaffinity.c: Likewise.
16867 * posix/sched_setp.c: Likewise.
16868 * posix/sched_sets.c: Likewise.
16869 * posix/sched_yield.c: Likewise.
16870 * posix/setgid.c: Likewise.
16871 * posix/setlogin.c: Likewise.
16872 * posix/setpgid.c: Likewise.
16873 * posix/setresgid.c: Likewise.
16874 * posix/setresuid.c: Likewise.
16875 * posix/setsid.c: Likewise.
16876 * posix/setuid.c: Likewise.
16877 * posix/sleep.c: Likewise.
16878 * posix/spawni.c: Likewise.
16879 * posix/sysconf.c: Likewise.
16880 * posix/times.c: Likewise.
16881 * posix/wait.c: Likewise.
16882 * posix/wait3.c: Likewise.
16883 * posix/wait4.c: Likewise.
16884 * posix/waitpid.c: Likewise.
16885 * resolv/gai_sigqueue.c: Likewise.
16886 * resource/getpriority.c: Likewise.
16887 * resource/getrlimit.c: Likewise.
16888 * resource/getrusage.c: Likewise.
16889 * resource/nice.c: Likewise.
16890 * resource/setpriority.c: Likewise.
16891 * resource/setrlimit.c: Likewise.
16892 * resource/ulimit.c: Likewise.
16893 * rt/aio_cancel.c: Likewise.
16894 * rt/aio_fsync.c: Likewise.
16895 * rt/aio_read.c: Likewise.
16896 * rt/aio_sigqueue.c: Likewise.
16897 * rt/aio_suspend.c: Likewise.
16898 * rt/aio_write.c: Likewise.
16899 * rt/clock_getres.c: Likewise.
16900 * rt/clock_gettime.c: Likewise.
16901 * rt/clock_nanosleep.c: Likewise.
16902 * rt/clock_settime.c: Likewise.
16903 * rt/lio_listio.c: Likewise.
16904 * rt/mq_close.c: Likewise.
16905 * rt/mq_getattr.c: Likewise.
16906 * rt/mq_notify.c: Likewise.
16907 * rt/mq_open.c: Likewise.
16908 * rt/mq_receive.c: Likewise.
16909 * rt/mq_send.c: Likewise.
16910 * rt/mq_setattr.c: Likewise.
16911 * rt/mq_timedreceive.c: Likewise.
16912 * rt/mq_timedsend.c: Likewise.
16913 * rt/mq_unlink.c: Likewise.
16914 * rt/shm_open.c: Likewise.
16915 * rt/shm_unlink.c: Likewise.
16916 * rt/timer_create.c: Likewise.
16917 * rt/timer_delete.c: Likewise.
16918 * rt/timer_getoverr.c: Likewise.
16919 * rt/timer_gettime.c: Likewise.
16920 * rt/timer_settime.c: Likewise.
16921 * setjmp/__longjmp.c: Likewise.
16922 * setjmp/setjmp.c: Likewise.
16923 * signal/kill.c: Likewise.
16924 * signal/killpg.c: Likewise.
16925 * signal/raise.c: Likewise.
16926 * signal/sigaction.c: Likewise.
16927 * signal/sigaltstack.c: Likewise.
16928 * signal/sigblock.c: Likewise.
16929 * signal/sigignore.c: Likewise.
16930 * signal/sigintr.c: Likewise.
16931 * signal/signal.c: Likewise.
16932 * signal/sigpause.c: Likewise.
16933 * signal/sigpending.c: Likewise.
16934 * signal/sigqueue.c: Likewise.
16935 * signal/sigreturn.c: Likewise.
16936 * signal/sigset.c: Likewise.
16937 * signal/sigsetmask.c: Likewise.
16938 * signal/sigstack.c: Likewise.
16939 * signal/sigsuspend.c: Likewise.
16940 * signal/sigtimedwait.c: Likewise.
16941 * signal/sigvec.c: Likewise.
16942 * signal/sigwait.c: Likewise.
16943 * signal/sigwaitinfo.c: Likewise.
16944 * signal/sysv_signal.c: Likewise.
16945 * socket/accept.c: Likewise.
16946 * socket/accept4.c: Likewise.
16947 * socket/bind.c: Likewise.
16948 * socket/connect.c: Likewise.
16949 * socket/getpeername.c: Likewise.
16950 * socket/getsockname.c: Likewise.
16951 * socket/getsockopt.c: Likewise.
16952 * socket/isfdtype.c: Likewise.
16953 * socket/listen.c: Likewise.
16954 * socket/recv.c: Likewise.
16955 * socket/recvfrom.c: Likewise.
16956 * socket/recvmsg.c: Likewise.
16957 * socket/send.c: Likewise.
16958 * socket/sendmsg.c: Likewise.
16959 * socket/sendto.c: Likewise.
16960 * socket/setsockopt.c: Likewise.
16961 * socket/shutdown.c: Likewise.
16962 * socket/sockatmark.c: Likewise.
16963 * socket/socket.c: Likewise.
16964 * socket/socketpair.c: Likewise.
16965 * stdio-common/ctermid.c: Likewise.
16966 * stdio-common/cuserid.c: Likewise.
16967 * stdio-common/remove.c: Likewise.
16968 * stdio-common/rename.c: Likewise.
16969 * stdio-common/renameat.c: Likewise.
16970 * stdio-common/tempname.c: Likewise.
16971 * stdlib/getcontext.c: Likewise.
16972 * stdlib/makecontext.c: Likewise.
16973 * stdlib/setcontext.c: Likewise.
16974 * stdlib/swapcontext.c: Likewise.
16975 * stdlib/system.c: Likewise.
16976 * streams/fattach.c: Likewise.
16977 * streams/fdetach.c: Likewise.
16978 * streams/getmsg.c: Likewise.
16979 * streams/getpmsg.c: Likewise.
16980 * streams/putmsg.c: Likewise.
16981 * streams/putpmsg.c: Likewise.
16982 * sysdeps/unix/bsd/getpt.c: Likewise.
16983 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16984 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16985 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16988 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16990 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16991 * sysvipc/msgctl.c: Likewise.
16992 * sysvipc/msgget.c: Likewise.
16993 * sysvipc/msgrcv.c: Likewise.
16994 * sysvipc/msgsnd.c: Likewise.
16995 * sysvipc/semctl.c: Likewise.
16996 * sysvipc/semget.c: Likewise.
16997 * sysvipc/semop.c: Likewise.
16998 * sysvipc/semtimedop.c: Likewise.
16999 * sysvipc/shmat.c: Likewise.
17000 * sysvipc/shmctl.c: Likewise.
17001 * sysvipc/shmdt.c: Likewise.
17002 * sysvipc/shmget.c: Likewise.
17003 * termios/tcdrain.c: Likewise.
17004 * termios/tcflow.c: Likewise.
17005 * termios/tcflush.c: Likewise.
17006 * termios/tcgetattr.c: Likewise.
17007 * termios/tcgetpgrp.c: Likewise.
17008 * termios/tcsendbrk.c: Likewise.
17009 * termios/tcsetattr.c: Likewise.
17010 * termios/tcsetpgrp.c: Likewise.
17011 * time/adjtime.c: Likewise.
17012 * time/clock.c: Likewise.
17013 * time/getitimer.c: Likewise.
17014 * time/gettimeofday.c: Likewise.
17015 * time/setitimer.c: Likewise.
17016 * time/settimeofday.c: Likewise.
17017 * time/stime.c: Likewise.
17018 * time/time.c: Likewise.
17020 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17022 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17025 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17027 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17029 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17033 FE_TONEAREST before applying Dekker multiplication and Knuth
17034 addition. Clear inexact exceptions and check for exact zero
17035 results afterwards.
17036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17037 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17039 * math/libm-test.inc (fma_test): Add more tests.
17040 (fma_test_towardzero): Likewise.
17041 (fma_test_downward): Likewise.
17042 (fma_test_upward): Likewise.
17043 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17045 (libc_fesetround): New macro.
17046 (libc_fesetroundf): Likewise.
17047 (libc_fesetroundl): Likewise.
17048 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17050 (libc_fesetround_387): Likewise.
17051 (libc_fesetroundf): New macro.
17052 (libc_fesetround): Likewise.
17053 (libc_fesetroundl): Likewise.
17054 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17056 (libc_fesetroundf): New macro.
17057 (libc_fesetround): Likewise.
17058 (libc_fesetroundl): Likewise.
17059 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17060 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17061 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17063 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17064 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17066 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17067 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17069 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17073 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17074 integer constant usable in #if and use that to give value to enum
17076 (FE_DIVBYZERO): Likewise.
17077 (FE_UNDERFLOW): Likewise.
17078 (FE_OVERFLOW): Likewise.
17079 (FE_INVALID): Likewise.
17080 (FE_INVALID_SNAN): Likewise.
17081 (FE_INVALID_ISI): Likewise.
17082 (FE_INVALID_IDI): Likewise.
17083 (FE_INVALID_ZDZ): Likewise.
17084 (FE_INVALID_IMZ): Likewise.
17085 (FE_INVALID_COMPARE): Likewise.
17086 (FE_INVALID_SOFTWARE): Likewise.
17087 (FE_INVALID_SQRT): Likewise.
17088 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17089 (FE_TONEAREST): Likewise.
17090 (FE_TOWARDZERO): Likewise.
17091 (FE_UPWARD): Likewise.
17092 (FE_DOWNWARD): Likewise.
17093 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17094 (FE_DIVBYZERO): Likewise.
17095 (FE_OVERFLOW): Likewise.
17096 (FE_UNDERFLOW): Likewise.
17097 (FE_INEXACT): Likewise.
17098 (FE_TONEAREST): Likewise.
17099 (FE_DOWNWARD): Likewise.
17100 (FE_UPWARD): Likewise.
17101 (FE_TOWARDZERO): Likewise.
17102 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17103 (FE_UNDERFLOW): Likewise.
17104 (FE_OVERFLOW): Likewise.
17105 (FE_DIVBYZERO): Likewise.
17106 (FE_INVALID): Likewise.
17107 (FE_TONEAREST): Likewise.
17108 (FE_TOWARDZERO): Likewise.
17109 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17110 (FE_OVERFLOW): Likewise.
17111 (FE_UNDERFLOW): Likewise.
17112 (FE_DIVBYZERO): Likewise.
17113 (FE_INEXACT): Likewise.
17114 (FE_TONEAREST): Likewise.
17115 (FE_TOWARDZERO): Likewise.
17116 (FE_UPWARD): Likewise.
17117 (FE_DOWNWARD): Likewise.
17118 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17119 (FE_DIVBYZERO): Likewise.
17120 (FE_OVERFLOW): Likewise.
17121 (FE_UNDERFLOW): Likewise.
17122 (FE_INEXACT): Likewise.
17123 (FE_TONEAREST): Likewise.
17124 (FE_DOWNWARD): Likewise.
17125 (FE_UPWARD): Likewise.
17126 (FE_TOWARDZERO): Likewise.
17128 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17130 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17132 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17134 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17135 commands. Quote $PWD.
17136 (blacklist_exports): Don't use remove_newlines. Replace "declare
17138 (remove_newlines): Remove.
17140 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17142 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17143 * stdlib/stdlib.h (atof): Moved to ...
17144 * include/bits/stdlib-float.h: Here. New file.
17145 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17146 * stdlib/bits/stdlib-float.h: New file.
17147 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17152 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17154 * conform/conformtest.pl (@headers): Add fenv.h.
17155 * conform/data/fenv.h-data: New file.
17156 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17157 include of <math/fenv.h>.
17159 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17160 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17161 && !UNIX98]. Enables tests for XOPEN2K8.
17162 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17163 POSIX2008]: Likewise.
17165 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17166 (struct rusage): Do not expect type or its members.
17169 * math/math.h (FP_NAN): Define macro to integer constant usable in
17170 #if and use that to give value to enum constant.
17171 (FP_INFINITE): Likewise.
17172 (FP_ZERO): Likewise.
17173 (FP_SUBNORMAL): Likewise.
17174 (FP_NORMAL): Likewise.
17176 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17178 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17179 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17182 2012-11-02 Roland McGrath <roland@hack.frob.com>
17184 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17185 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17186 autoconf-time if not.
17187 * configure.in: Remove AC_PREREQ.
17189 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17191 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17192 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17193 of the internal implementation.
17195 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17197 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17198 except include of <misc/sys/syslog.h>.
17200 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17203 function returns with a NULL context exit with zero.
17205 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17207 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17209 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17211 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17212 (run_program_cmd): This.
17213 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17214 (tst_langinfo): New variable. Use it.
17216 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17218 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17219 floating point opcodes.
17221 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17223 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17226 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17228 * sysdeps/mach/hurd/powerpc: Remove directory.
17229 * sysdeps/mach/powerpc: Likewise.
17231 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17233 * scripts/check-local-headers.sh: Ignore c++ headers.
17235 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17237 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17238 __libc_cleanup_region_start argument.
17240 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17245 x * y using scaling, not as x * y + z.
17246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17248 * math/libm-test.inc (fma_test): Add more tests.
17249 (fma_test_towardzero): Likewise.
17250 (fma_test_downward): Likewise.
17251 (fma_test_upward): Likewise.
17253 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17255 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17257 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17259 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17262 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17264 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17266 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17273 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17276 Fix the order of the list for glibc 2.17.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17280 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17284 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17288 for low part of x being zero before using __atanl (y).
17289 * math/libm-test.inc (atan2_test): Add another test.
17291 * manual/install.texi (Configuring and compiling): Document
17292 general use of test-wrapper and test-wrapper-env.
17293 * INSTALL: Regenerated.
17295 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17296 (__fma): Do not extract and scale down low bits on after-rounding
17297 systems when result rounded to normal precision would have normal
17299 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17300 (__fmal): Do not extract and scale down low bits on after-rounding
17301 systems when result rounded to normal precision would have normal
17303 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17304 (__fmal): Do not extract and scale down low bits on after-rounding
17305 systems when result rounded to normal precision would have normal
17307 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17309 (fma_test): Add more tests.
17310 (fma_test_towardzero): Likewise.
17311 (fma_test_downward): Likewise.
17312 (fma_test_upward): Likewise.
17314 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17316 * sysdeps/i386/tininess.h: Renamed to ...
17317 * sysdeps/x86/tininess.h: This.
17318 * sysdeps/x86_64/tininess.h: Removed.
17320 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17322 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17323 input. Use $(build-program-cmd).
17324 ($(objpfx)tst-array1-static.out): Likewise.
17325 ($(objpfx)tst-array2.out): Likewise.
17326 ($(objpfx)tst-array3.out): Likewise.
17327 ($(objpfx)tst-array4.out): Likewise.
17328 ($(objpfx)tst-array5.out): Likewise.
17329 ($(objpfx)tst-array5-static.out): Likewise.
17331 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17333 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17336 * nss/nsswitch.h (nss_interface_function): Provide new
17337 macro for use with NSS functions.
17338 * grp/initgroups.c: Use new macro.
17339 * nss/getXXbyYY.c: Likewise.
17340 * nss/getXXbyYY_r.c: Likewise.
17341 * nss/getXXent.c: Likewise.
17342 * nss/getXXent_r.c: Likewise.
17343 * sysdeps/posix/getaddrinfo.c: Likewise.
17345 2012-10-30 Andreas Jaeger <aj@suse.de>
17347 * po/ru.po: Update Russion translation from translation project.
17349 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17354 result and shift together with sticky bit instead of replicating
17355 round-to-nearest rounding.
17356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17358 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17359 missing underflow exceptions.
17360 (fma_test_towardzero): Add more tests.
17361 (fma_test_downward): Likewise.
17362 (fma_test_upward): Likewise.
17365 * sysdeps/generic/tininess.h: New file.
17366 * sysdeps/i386/tininess.h: Likewise.
17367 * sysdeps/sh/tininess.h: Likewise.
17368 * sysdeps/x86_64/tininess.h: Likewise.
17369 * stdlib/tst-strtod-underflow.c: Likewise.
17370 * stdlib/tst-tininess.c: Likewise.
17371 * stdlib/strtod_l.c: Include <tininess.h>.
17372 (round_and_return): Do not set errno for exact underflow cases.
17373 Force an underflow exception when setting errno for underflow.
17374 Determine underflow based on rounding to normal precision if
17375 TININESS_AFTER_ROUNDING.
17376 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17377 ERANGE for exact underflow cases.
17378 * stdlib/Makefile (tests): Add tst-tininess and
17379 tst-strtod-underflow.
17380 ($(objpfx)tst-tininess): Use $(link-libm).
17381 ($(objpfx)tst-strtod-underflow): Likewise.
17383 2012-10-30 Andreas Jaeger <aj@suse.de>
17386 * elf/Makefile (tests): Remove conditional for have-initfini-array
17387 since this is now always required and the variable does not exist
17389 (tests-static): Likewise.
17390 (modules-names): Likewise.
17392 * po/eo.po: Add Esperanto translation from translation project.
17394 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17395 merged with constructor/destructor.
17396 (init_array): Likewise.
17397 * elf/tst-array2dep.c (fini_array): Likewise.
17398 (init_array): Likewise.
17400 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17402 * manual/message.texi: Delete @cartouche tags.
17404 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17406 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17408 * sysdeps/mach/hurd/fsync.c: Likewise.
17410 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17411 [_POSIX_REALTIME_SIGNALS]: Change condition to
17412 [_POSIX_REALTIME_SIGNALS > 0].
17414 2012-10-27 Andreas Jaeger <aj@suse.de>
17416 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17417 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17419 [__WORDSIZE != 64]: Likewise.
17421 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17423 * iconvdata/tst-table.sh: Remove ${SHELL}.
17424 * iconvdata/tst-tables.sh: Likewise.
17426 2012-10-25 David S. Miller <davem@davemloft.net>
17428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17429 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17435 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17436 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17439 2012-10-25 Roland McGrath <roland@hack.frob.com>
17441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17442 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17445 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17446 Jim Blandy <jimb@codesourcery.com>
17448 * scripts/cross-test-ssh.sh: New file.
17449 * manual/install.texi (Configuring and compiling): Document use of
17451 * INSTALL: Regenerated.
17453 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17455 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17458 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17460 * Makeconfig (run-program-prefix): Fix comment.
17462 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17463 Jim Blandy <jimb@codesourcery.com>
17465 * Makeconfig (test-wrapper): New variable,
17466 (test-wrapper-env): Likewise.
17467 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17468 (run-built-tests): Define to yes.
17469 (run-program-prefix): Use $(test-wrapper).
17470 (built-program-cmd): Likewise.
17471 * Rules (make-test-out): Use $(test-wrapper-env) and
17472 $(host-built-program-cmd).
17473 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17474 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17476 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17477 $(test-wrapper-env) to tst-rtld-load-self.sh.
17478 ($(objpfx)order2.out): Use $(test-wrapper).
17479 ($(objpfx)tst-initorder.out): Likewise.
17480 ($(objpfx)tst-initorder2.out): Likewise.
17481 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17482 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17483 (test_wrapper_env): New variable. Use it to run ld.so.
17484 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17485 Use it to run ld.so.
17486 (test_wrapper_env): Likewise.
17487 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17488 $(test-wrapper) to run-iconv-test.sh.
17489 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17490 (ICONV): Use $test_wrapper.
17491 * posix/Makefile ($(objpfx)globtest.out): Pass
17492 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17493 globtest.sh, not $(run-program-prefix).
17494 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17495 (test_wrapper): Likewise.
17496 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17497 set together with run_via_rtld_prefix.
17498 (run_program_prefix): Define in terms of test_wrapper and
17499 run_via_rtld_prefix.
17501 2012-10-24 Roland McGrath <roland@hack.frob.com>
17503 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17504 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17508 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17509 Declare __clock_getres, __clock_gettime, __clock_settime,
17510 __clock_nanosleep, and __clock_getcpuclockid.
17511 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17512 Remove librt_hidden_def (clock_gettime).
17513 * sysdeps/unix/clock_gettime.c: Likewise.
17514 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17516 * rt/clock_getres.c: Define __clock_getres as an alias.
17517 * sysdeps/posix/clock_getres.c: Likewise.
17518 * rt/clock_settime.c: Define __clock_settime as an alias.
17519 * sysdeps/unix/clock_settime.c: Likewise.
17520 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17521 * sysdeps/unix/clock_nanosleep.c: Likewise.
17522 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17523 * rt/clock-compat.c: New file.
17524 * rt/Makefile (librt-routines): Add clock-compat and move
17525 $(clock-routines) to ...
17526 (routines): ... here, new variable.
17527 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17528 Don't add get_clockfreq here.
17529 * rt/Versions (libc: GLIBC_2.17): New version set.
17530 Add clock_* symbols here.
17531 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17532 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17533 (GLIBC_2.17): Add clock_* symbols.
17534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17545 * NEWS: Mention the move.
17547 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17548 Use __open, __read, __close rather than their public counterparts.
17549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17550 (__get_clockfreq_via_cpuinfo): Likewise.
17551 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17552 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17554 * config.h.in (HAVE_IFUNC): New #undef.
17555 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17557 * configure: Regenerated.
17559 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17561 * configure.in: Move READELF check to start of file.
17562 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17563 libc_cv_asm_gnu_indirect_function in the process.
17564 * configure: Regenerated.
17566 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17568 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17569 send the output to /dev/null.
17570 (libc_cv_cc_with_libunwind): Likewise.
17571 (libc_cv_as_noexecstack): Likewise.
17572 * configure: Regenerate.
17574 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17576 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17578 * posix/globtest.sh (TMPDIR): Do not set.
17579 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17580 (testout): Likewise.
17582 2012-10-24 Andreas Jaeger <aj@suse.de>
17584 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17585 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17586 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17587 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17588 posix_fadvise64, posix_fallocate64.
17590 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17591 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17592 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17594 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17596 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17599 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17600 <bits/fcntl-linux.h>.
17601 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17604 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17605 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17606 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17607 [__WORDSIZE != 64]: Likewise.
17609 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17611 * Makeconfig (run-built-tests): New variable.
17612 * Rules [$(cross-compiling) = yes]: Change condition to
17613 [$(run-built-tests) = no].
17614 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17615 to [$(run-built-tests) = yes].
17616 * elf/Makefile [$(cross-compiling) = no]: Likewise
17617 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17618 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17619 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17620 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17621 * io/Makefile [$(cross-compiling) = no]: Likewise.
17622 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17623 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17624 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17625 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17626 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17627 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17628 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17629 * string/Makefile [$(cross-compiling) = no]: Likewise.
17631 * posix/Makefile ($(objpfx)globtest.out): Pass
17632 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17633 $(rtld-installed-name).
17634 * posix/globtest.sh (elf_objpfx): Remove variable.
17635 (rtld_installed_name): Likewise.
17636 (library_path): Likewise.
17637 (run_program_prefix): New variable. Use for running globtest
17640 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17641 Joseph Myers <joseph@codesourcery.com>
17643 * Makeconfig (host-built-program-cmd): New variable.
17644 * elf/Makefile (tst-stackguard1-ARGS): Use
17645 $(host-built-program-cmd).
17646 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17647 (tst-spawn-ARGS): Likewise.
17648 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17650 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17651 Jim Blandy <jimb@codesourcery.com>
17653 * Makeconfig (run-via-rtld-prefix): New variable.
17654 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17655 (built-program-cmd): Likewise.
17657 2012-10-22 Andreas Jaeger <aj@suse.de>
17659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17660 __O_RSYNC if it exists, otherwise to O_SYNC.
17662 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17663 Joseph Myers <joseph@codesourcery.com>
17665 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17667 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17669 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17672 2012-10-22 Andreas Jaeger <aj@suse.de>
17674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17679 bits/fcntl-linux.h.
17681 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17682 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17689 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17690 Joseph Myers <joseph@codesourcery.com>
17692 * config.make.in (NM): New variable.
17694 2012-10-21 Andreas Jaeger <aj@suse.de>
17696 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17697 definitions and declarations that are provided by
17698 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17700 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17703 * elf/Makefile (tests-static): Add tst-leaks1-static.
17704 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17705 ($(objpfx)tst-leaks1-static): New rule.
17706 ($(objpfx)tst-leaks1-static-mem): Likewise.
17707 (tst-leaks1-static-ENV): New macro.
17708 * elf/dl-open.c (dl_open_worker): Check the main application
17709 only if SHARED is defined.
17710 * elf/tst-leaks1-static.c: New file.
17712 2012-10-20 Andreas Jaeger <aj@suse.de>
17714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17715 generic values for Linux.
17716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17717 and declarations that are provided by <bits/fcntl-linux.h> and
17718 include <bits/fcntl-linux.h>.
17719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17722 2012-10-20 Roland McGrath <roland@hack.frob.com>
17724 * io/fcntl.h: Move include of <bits/types.h> to the top and
17725 include it unconditionally.
17727 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17729 * wcsmbs/Makefile (tests-ifunc): New variable.
17730 (tests): Add $(tests-ifunc).
17731 * wcsmbs/test-wcschr-ifunc.c: New file.
17732 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17733 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17734 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17735 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17736 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17738 * string/Makefile (tests-ifunc): New variable.
17739 (tests): Add $(tests-ifunc).
17740 * string/test-memccpy.c (TEST_NAME): New macro.
17741 * string/test-memchr.c (TEST_NAME): Likewise.
17742 * string/test-memcmp.c (TEST_NAME): Likewise.
17743 * string/test-memcpy.c (TEST_NAME): Likewise.
17744 * string/test-memmem.c (TEST_NAME): Likewise.
17745 * string/test-memmove.c (TEST_NAME): Likewise.
17746 * string/test-memset.c (TEST_NAME): Likewise.
17747 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17748 * string/test-stpcpy.c (TEST_NAME): Likewise.
17749 * string/test-stpncpy.c (TEST_NAME): Likewise.
17750 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17751 * string/test-strcasestr.c (TEST_NAME): Likewise.
17752 * string/test-strcat.c (TEST_NAME): Likewise.
17753 * string/test-strchr.c (TEST_NAME): Likewise.
17754 * string/test-strcmp.c(TEST_NAME): Likewise.
17755 * string/test-strcpy.c (TEST_NAME): Likewise.
17756 * string/test-strcspn.c (TEST_NAME): Likewise.
17757 * string/test-strlen.c (TEST_NAME): Likewise.
17758 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17759 * string/test-strncmp.c (TEST_NAME): Likewise.
17760 * string/test-strncpy.c (TEST_NAME): Likewise.
17761 * string/test-strnlen.c (TEST_NAME): Likewise.
17762 * string/test-strpbrk.c (TEST_NAME): Likewise.
17763 * string/test-strrchr.c (TEST_NAME): Likewise.
17764 * string/test-strspn.c (TEST_NAME): Likewise.
17765 * string/test-strstr.c (TEST_NAME): Likewise.
17766 * string/test-bcopy-ifunc.c: New file.
17767 * string/test-bzero-ifunc.c: Likewise.
17768 * string/test-memccpy-ifunc.c: Likewise.
17769 * string/test-memchr-ifunc.c: Likewise.
17770 * string/test-memcmp-ifunc.c: Likewise.
17771 * string/test-memcpy-ifunc.c: Likewise.
17772 * string/test-memmem-ifunc.c: Likewise.
17773 * string/test-memmove-ifunc.c: Likewise.
17774 * string/test-mempcpy-ifunc.c: Likewise.
17775 * string/test-memset-ifunc.c: Likewise.
17776 * string/test-rawmemchr-ifunc.c: Likewise.
17777 * string/test-stpcpy-ifunc.c: Likewise.
17778 * string/test-stpncpy-ifunc.c: Likewise.
17779 * string/test-strcasecmp-ifunc.c: Likewise.
17780 * string/test-strcasestr-ifunc.c: Likewise.
17781 * string/test-strcat-ifunc.c: Likewise.
17782 * string/test-strchr-ifunc.c: Likewise.
17783 * string/test-strchrnul-ifunc.c: Likewise.
17784 * string/test-strcmp-ifunc.c: Likewise.
17785 * string/test-strcpy-ifunc.c: Likewise.
17786 * string/test-strcspn-ifunc.c: Likewise.
17787 * string/test-strlen-ifunc.c: Likewise.
17788 * string/test-strncasecmp-ifunc.c: Likewise.
17789 * string/test-strncat-ifunc.c: Likewise.
17790 * string/test-strncmp-ifunc.c: Likewise.
17791 * string/test-strncpy-ifunc.c: Likewise.
17792 * string/test-strnlen-ifunc.c: Likewise.
17793 * string/test-strpbrk-ifunc.c: Likewise.
17794 * string/test-strrchr-ifunc.c: Likewise.
17795 * string/test-strspn-ifunc.c: Likewise.
17796 * string/test-strstr-ifunc.c: Likewise.
17798 * debug/Makefile (tests-ifunc): New variable.
17799 (tests): Add $(tests-ifunc).
17800 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17801 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17802 * debug/test-stpcpy_chk-ifunc.c: New file.
17803 * debug/test-strcpy_chk-ifunc.c: Likewise.
17805 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17808 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17809 header is not read in.
17811 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17813 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17814 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17815 directly. Pass built executable to script as
17816 $(built-program-cmd).
17817 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17818 $testprogram without using LD_LIBRARY_PATH and $ldso.
17820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17821 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17822 $(rtld-installed-name).
17823 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17824 (rtld_installed_name): Likewise.
17825 (library_path): Likewise.
17826 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17827 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17828 $(run-program-prefix) to tst-tables.sh.
17829 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17830 it to run tst-table-from and tst-table-to.
17831 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17832 Pass it to tst-table.sh.
17833 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17834 $(run-program-prefix) to tst-gettext.sh.
17835 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17837 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17839 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17840 to run tst-gettext.
17841 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17842 to run tst-gettext2.
17843 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17844 to run tst-translit.
17845 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17846 $(run-program-prefix) to tst-mtrace.sh.
17847 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17849 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17850 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17851 $(rtld-installed-name).
17852 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17853 (rtld_installed_name): Likewise.
17854 (run_program_prefix): New variable. Use it to run wordexp-test.
17856 * Makeconfig (ARCH): Remove all definitions.
17857 (machine): Likewise.
17858 [ARCH]: Remove conditional code.
17859 [!objdir]: Give error.
17860 [!objdir] (objpfx): Remove.
17861 [!objdir] (common-objpfx): Likewise.
17862 [!objdir] (common-objdir): Likewise.
17863 * configure.in (config_makefile): Remove. Hardcode Makefile in
17864 AC_CONFIG_FILES call.
17865 * configure: Regenerated.
17868 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17870 (testout): Likewise.
17872 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17873 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17874 $(rtld-installed-name).
17875 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17876 (rtld_installed_name): Likwise.
17877 (runit): Remove function.
17878 (run_getconf): New variable, Use it for running getconf binary.
17880 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17883 * string/test-memmem.c (check_result): New function.
17884 (do_one_test): Use it.
17885 (check1): New function.
17886 (test_main): Use it.
17888 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17890 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17892 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17894 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17895 (_G_LSEEK64): Likewise.
17896 (_G_MMAP64): Likewise.
17897 (_G_FSTAT64): Likewise.
17898 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17899 (_G_LSEEK64): Likewise.
17900 (_G_MMAP64): Likewise.
17901 (_G_FSTAT64): Likewise.
17902 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17903 unconditional. Call __mmap64 directly.
17904 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17905 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17906 __lseek64 directly.
17907 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17908 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17910 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17911 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17912 __lseek64 directly.
17913 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17914 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17915 __lseek64 directly.
17916 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17917 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17918 __lseek64 directly.
17919 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17920 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17921 __fxstat64 directly.
17922 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17923 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17925 (freopen64) [!_G_OPEN64]: Remove conditional code.
17926 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17928 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17929 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17931 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17932 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17934 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17935 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17937 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17938 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17940 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17941 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17943 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17944 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17946 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17948 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * manual/memory.texi (Malloc Tunable Parameters): Add note
17952 about free list pointers overwriting some perturb bytes.
17953 Wording suggested by Roland McGrath.
17955 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17957 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17958 (lgamma_test): Likewise.
17959 (tgamma_test): Likewise.
17961 2012-10-16 Florian Weimer <fweimer@redhat.com>
17964 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17965 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17967 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17969 * NEWS: Mention BZ #14716.
17970 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17971 when removing AVAILABLE1_USES_J macro.
17973 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17975 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17976 (__bswap_64): __uint64_t for unsigned 64-bit int.
17978 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17980 * include/string.h (memmem): Declare libc hidden alias.
17981 * string/memmem.c (memmem): Define libc hidden alias.
17982 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17983 __read, __close instead of open, read, close.
17985 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17988 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17990 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17991 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17992 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17994 (__rawmemchr_sse2): Likewise.
17995 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17996 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17997 (__strchr_sse2): Likewise.
17998 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17999 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18000 (__strcasecmp_sse2): Likewise.
18001 (__strncasecmp_sse2): Likewise.
18002 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18003 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18004 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18005 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18006 (__strrchr_sse2): Likewise.
18007 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18009 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18010 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18011 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18012 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18013 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18014 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18015 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18017 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18018 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18019 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18020 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18021 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18022 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18023 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18024 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18025 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18026 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18027 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18028 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18029 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18030 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18031 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18032 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18033 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18034 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18035 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18036 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18037 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18038 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18040 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18042 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18043 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18044 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18045 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18047 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18049 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18050 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18051 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18052 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18054 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18055 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18056 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18057 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18058 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18059 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18060 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18061 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18062 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18063 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18064 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18072 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18088 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18096 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18097 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18098 * include/ifunc-impl-list.h: New file.
18099 * misc/ifunc-impl-list.c: Likewise.
18100 * misc/Makefile (routines): Add ifunc-impl-list.
18101 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18102 * string/test-string.h: Include <ifunc-impl-list.h>.
18103 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18104 impl_array): New variables.
18105 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18107 (test_init): Call __libc_ifunc_impl_list to initialize
18108 func_list if TEST_IFUNC and TEST_NAME are defined.
18110 * string/Makefile (strop-tests): Add bcopy and bzero.
18111 * string/test-bcopy.c: New file.
18112 * string/test-bzero.c: Likewise.
18113 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18115 * string/test-memset.c: Support bzero test if TEST_BZERO is
18117 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18119 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18121 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18124 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18126 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18127 * configure: Regenerated.
18129 * Makeconfig (+link-static-before-libc): Don't include
18130 $(link-static-libc).
18132 * libio/libio.h (_IO_pos_t): Remove.
18134 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18136 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18139 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18141 * crypt/crypt-entry.c: Include fips-private.h.
18142 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18143 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18144 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18145 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18147 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18149 * crypt/crypt-private.h: Include stdbool.h.
18150 (_ufc_setup_salt_r): Return bool.
18151 * crypt/crypt-entry.c: Include errno.h.
18152 (__crypt_r): Return NULL with EINVAL for bad salt.
18153 * crypt/crypt_util.c (bad_for_salt): New.
18154 (_ufc_setup_salt_r): Check that salt is long enough and within
18155 the specified alphabet.
18156 * crypt/badsalttest.c: New file.
18157 * crypt/Makefile (tests): Add it.
18158 ($(objpfx)badsalttest): New.
18160 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18162 * NEWS: Add entry for BZ #14602.
18164 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18166 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18168 * math/libm-test.inc: Update comment listing what functions and
18170 (isgreater_test): New function.
18171 (isgreaterequal_test): Likewise.
18172 (isless_test): Likewise.
18173 (islessequal_test): Likewise.
18174 (islessgreater_test): Likewise.
18175 (isunordered_test): Likewise.
18176 (main): Call the new functions.
18178 2012-10-09 Roland McGrath <roland@hack.frob.com>
18180 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18181 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18182 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18183 * sysdeps/i386/configure: Regenerated.
18184 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18185 * sysdeps/mach/configure: Regenerated.
18186 * sysdeps/mach/hurd/configure: Regenerated.
18187 * sysdeps/powerpc/configure: Regenerated.
18188 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18189 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18190 * sysdeps/s390/s390-32/configure: Regenerated.
18191 * sysdeps/s390/s390-64/configure: Regenerated.
18192 * sysdeps/sh/configure: Regenerated.
18193 * sysdeps/sparc/configure: Regenerated.
18194 * sysdeps/unix/sysv/linux/configure: Regenerated.
18195 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18196 * sysdeps/x86_64/configure: Regenerated.
18198 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18199 defined. Don't check if MAP is NULL.
18201 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18203 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18204 (_G_stat64): Likewise.
18205 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18206 (_G_stat64): Likewise.
18207 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18208 instead of struct _G_stat64.
18209 * libio/fileops.c (mmap_remap_check): Likewise.
18210 (decide_maybe_mmap): Likewise.
18211 (_IO_new_file_seekoff): Likewise.
18212 (_IO_file_stat): Likewise.
18213 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18215 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18216 instead of struct _G_stat64.
18217 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18219 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18222 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18224 (CHECK_EOL): New macro.
18225 (two_way_short_needle): Check beginning of haystack for EOL. Use
18227 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18228 Replace with CHECK_EOL.
18229 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18230 Replace with CHECK_EOL.
18232 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18234 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18236 * math/libm-test.inc: Update comment listing what functions and
18238 (finite_test): New function.
18239 (isinf_test): Likewise.
18240 (isnan_test): Likewise.
18241 (fpclassify_test): Test subnormal input.
18242 (isfinite_test): Likewise.
18243 (isnormal_test): Likewise.
18244 (main): Call the new functions.
18246 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18249 * Makerules (%.dynsym): Force C locale when running
18250 $(OBJDUMP) --dynamic-syms.
18252 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18254 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18257 2012-10-06 David S. Miller <davem@davemloft.net>
18259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18260 upper 32-bits of the length value in %o2 since we use branch-on-register
18261 tests which consider the entire 64-bit register.
18263 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18265 * string/test-strstr.c (check2): Add a test for page boundary.
18267 2012-10-05 David S. Miller <davem@davemloft.net>
18269 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18270 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18272 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18275 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18276 and bzero when HWCAP_SPARC_CRYPTO is present.
18278 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18281 * string/test-strstr.c (check2): New function.
18282 (test_main): Call check2.
18284 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18286 * string/bug-strcasestr1.c (do_test): Moved to ...
18287 * string/test-strcasestr.c (check1): Here. New function.
18288 (do_one_test): Break out result checking code into ...
18289 (check_result): This. New function.
18290 (do_one_test): Call check_result.
18291 (test_main): Call check1.
18292 * string/bug-strchr1.c (do_test): Moved to ...
18293 * string/test-strchr.c (check1): Here. New function.
18294 (do_one_test): Break out result checking code into ...
18295 (check_result): This. New function.
18296 (do_one_test): Call check_result.
18297 (test_main): Call check1.
18298 * string/bug-strstr1.c (main): Moved to ...
18299 * string/test-strstr.c (check1): Here. New function.
18300 (do_one_test): Break out result checking code into ...
18301 (check_result): This. New function.
18302 (do_one_test): Call check_result.
18303 (test_main): Call check1.
18304 * string/bug-strcasestr1.c: Removed.
18305 * string/bug-strchr1.c: Likewise.
18306 * string/bug-strstr1.c: Likewise.
18308 * elf/Makefile (dl-routines): Add hwcaps.
18309 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18310 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18311 (_dl_important_hwcaps): Moved to ...
18312 * elf/dl-hwcaps.c: Here. New file.
18313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18316 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18317 if IS_IN_rtld isn't defined.
18319 * elf/dl-support.c (_dl_sysinfo_map): New.
18320 Include "get-dynamic-info.h" and "setup-vdso.h".
18321 (_dl_non_dynamic_init): Call setup_vdso.
18322 * elf/dynamic-link.h: Don't include <assert.h>.
18323 (elf_get_dynamic_info): Moved to ...
18324 * elf/get-dynamic-info.h: Here. New file.
18325 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18326 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18327 * elf/setup-vdso.h: Here. New file.
18328 * elf/rtld.c: Include "setup-vdso.h".
18329 (dl_main): Call setup_vdso.
18331 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18333 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18334 creal in comment listing functions tested. List finite, isinf,
18335 isnan, isless, islessequal, isgreater, isgreaterequal,
18336 islessgreater, isunordered, lgamma_r and pow10 as functions and
18337 macros not tested. Mention which functions not tested are aliases
18338 for other functions. Fix typo. Note that signs of NaNs are not
18341 * scripts/config.guess: Update from config.git.
18342 * scripts/config.sub: Likewise.
18344 2012-10-04 Roland McGrath <roland@hack.frob.com>
18346 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18347 * misc/madvise.c (madvise): Renamed to __madvise.
18348 Make madvise a weak alias.
18349 * include/sys/mman.h: Declare __madvise.
18350 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18351 * sysdeps/unix/syscalls.list
18352 (madvise): Make __madvise the strong name, and madvise a weak alias.
18353 * sysdeps/unix/sysv/linux/syscalls.list
18354 (madvise, mmap): Remove redundant entries.
18355 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18356 * malloc/malloc.c (mtrim): Likewise.
18357 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18359 2012-10-03 Roland McGrath <roland@hack.frob.com>
18361 * sysdeps/mach/hurd/dl-cache.c: File removed.
18362 * config.h.in (USE_LDCONFIG): New #undef.
18363 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18364 * configure: Regenerated.
18365 * elf/Makefile (dl-routines): Add dl-cache only under
18366 [$(use-ldconfig) = yes].
18367 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18368 cache on [USE_LDCONFIG].
18369 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18371 * elf/rtld.c (dl_main): Likewise.
18373 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18375 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18376 _SC_LEVEL4_CACHE_LINESIZE.
18378 2012-10-03 Roland McGrath <roland@hack.frob.com>
18380 * sysdeps/unix/bsd/confstr.h: File removed.
18382 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18384 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18387 2012-10-02 Roland McGrath <roland@hack.frob.com>
18389 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18390 Make 'mapoff' field ElfW(Off) rather than off_t.
18392 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18394 * nscd/Makefile: Remove nscd-cflags and all its users.
18395 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18396 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18399 * malloc.c (malloc_printerr): Clarify error message.
18401 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18405 Set bit_FMA_Usable if FMA is supported.
18406 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18408 (bit_FMA4_Usable): Updated.
18409 (index_FMA_Usable): New macro.
18410 (CPUID_FMA): Likewise
18411 (HAS_FMA): Defined with bit_FMA_Usable.
18413 2012-10-01 Roland McGrath <roland@hack.frob.com>
18415 * bits/types.h (__swblk_t): Type removed.
18416 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18417 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18419 (__SWBLK_T_TYPE): Likewise.
18420 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18421 (__SWBLK_T_TYPE): Likewise.
18422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18423 (__SWBLK_T_TYPE): Likewise.
18424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18425 (__SWBLK_T_TYPE): Likewise.
18427 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18428 Honza Horak <hhorak@redhat.com>
18430 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18431 (xdr_mapname): Use YPMAXMAP as maxsize.
18432 (xdr_peername): Use YPMAXPEER as maxsize.
18433 (xdr_keydat): Use YPAXRECORD as maxsize.
18434 (xdr_valdat): Use YPMAXRECORD as maxsize.
18436 2012-10-01 Roland McGrath <roland@hack.frob.com>
18438 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18440 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18441 * csu/init-first.c: ... here.
18442 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18443 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18444 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18445 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18446 * sysdeps/i386/init-first.c: File removed.
18447 * sysdeps/sh/init-first.c: File removed.
18449 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18453 if x * y might underflow to zero and z is zero.
18454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18456 * math/libm-test.inc (min_subnorm_value): New variable.
18457 (fma_test): Add more tests.
18458 (fma_test_towardzero): Likewise.
18459 (fma_test_downward): Likewise
18460 (fma_test_upward): Likewise.
18461 (initialize): Set min_subnorm_value.
18463 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18468 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18469 mode for addition resulting in exact zero.
18470 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18475 * math/libm-test.inc (fma_test): Add more tests.
18476 (fma_test_towardzero): New function.
18477 (fma_test_downward): Likewise.
18478 (fma_test_upward): Likewise.
18479 (main): Call the new functions.
18481 2012-09-28 David S. Miller <davem@davemloft.net>
18483 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18485 2012-09-28 Roland McGrath <roland@hack.frob.com>
18487 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18488 instead of SIGALRM.
18490 * sysdeps/gnu/_G_config.h: Moved to ...
18491 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18492 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18493 * sysdeps/generic/_G_config.h: ... here.
18495 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18497 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18499 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18500 Conditionalize target on [libnss_test1.so-version].
18502 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18504 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18505 (elfobjdir): Move out of conditionals.
18507 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18508 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18509 (__nss_lookup_function): Conditionalize label remove_from_tree on
18510 [!DO_STATIC_NSS || SHARED], matching its only use.
18512 2012-09-28 David S. Miller <davem@davemloft.net>
18514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18515 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18517 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18521 when HWCAP_SPARC_CRYPTO is present.
18523 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18525 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18527 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18530 * stdio-common/vfprintf.c (process_string_arg): Revert
18533 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18535 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18537 * stdio-common/tst-sprintf.c: Include <locale.h>
18538 (main): Test sprintf's handling of incomplete multibyte
18541 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18543 * elf/dl-runtime.c (VERSYMIDX): Removed.
18544 * elf/dl-version.c (VERSYMIDX): Likewise.
18545 * elf/do-rel.h (VERSYMIDX): Likewise.
18546 (VALIDX): Likewise.
18547 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18548 * elf/rtld.c (VALIDX): Likewise.
18549 (ADDRIDX): Likewise.
18550 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18551 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18552 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18553 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18554 (VALIDX): Likewise.
18555 (ADDRIDX): Likewise.
18557 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18559 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18561 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18564 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18566 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18567 addresses are in the same scope as 192.0.2/24.
18568 * posix/gai.conf: Document new scope table defaults.
18570 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18573 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18574 for ftell. Compute offsets from write pointers instead.
18575 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18577 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18580 * libio/Makefile (tests): New test case tst-fseek.
18581 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18582 combination works in wide mode.
18583 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18584 state when the external buffer state changes.
18586 2012-09-27 David S. Miller <davem@davemloft.net>
18589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18590 pass reloc->r_addend in as the 'high' argument to
18591 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18595 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18597 * rt/tst-aio2.c: Include <pthread.h>.
18598 * rt/tst-aio3.c: Likewise.
18600 2012-09-27 Steve Ellcey <sellcey@mips.com>
18602 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18604 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18606 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18607 contents on [SHARED].
18609 2012-09-26 Marek Polacek <polacek@redhat.com>
18613 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18614 for C++ and GCC <4.3 as well as for non GCC compilers.
18616 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18620 2012-09-25 Roland McGrath <roland@hack.frob.com>
18622 * Makefile.in (all, install): Declare with .PHONY.
18623 Reported by Michael Hope <michael.hope@linaro.org>.
18625 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18627 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18628 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18630 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18632 (sydep_routines): Add the new and the internal functions.
18633 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18634 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18636 (GLIBC_2.17): Add the new function.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18638 (GLIBC_2.17): Likewise.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18640 (GLIBC_2.17): Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18642 (GLIBC_2.17): Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18645 2012-09-25 Alan Modra <amodra@gmail.com>
18647 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18648 Add release barrier before setting once_control to say
18649 initialisation is done. Add hints on lwarx. Use macro in
18651 (clear_once_control): Add release barrier.
18653 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18656 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18658 * math/s_clog10.c (__clog10): Likewise.
18659 * math/s_clog10f.c (__clog10f): Likewise.
18660 * math/s_clog10l.c (__clog10l): Likewise.
18661 * math/s_clogf.c (__clogf): Likewise.
18662 * math/s_clogl.c (__clogl): Likewise.
18663 * math/Makefile (libm-calls): Add x2y2m1.
18664 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18665 (__x2y2m1): Likewise.
18666 (__x2y2m1l): Likewise.
18667 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18668 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18669 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18670 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18671 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18672 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18673 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18674 * sysdeps/i386/fpu/libm-test-ulps: Update.
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18678 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18679 int as type of variable DEPTH.
18680 (glob): Use size_t instead of int as type of variables NEWCOUNT
18683 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18685 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18686 Add s_sincosf-sse2.
18687 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18689 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18690 macros for using routine as __sincosf_ia32.
18691 Use macro for function declaration and weak_alias.
18692 * sysdeps/i386/fpu/libm-test-ulps: Update.
18694 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18697 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18698 subnormal argument.
18699 * math/s_cexpf.c (__cexpf): Likewise.
18700 * math/s_csinf.c (__csinf): Likewise.
18701 * math/s_csinhf.c (__csinhf): Likewise.
18702 * math/s_ctanf.c (__ctanf): Likewise.
18703 * math/s_ctanhf.c (__ctanhf): Likewise.
18704 * math/s_ccosh.c (__ccoshf): Likewise.
18705 * math/s_cexp.c (__cexpl): Likewise.
18706 * math/s_csin.c (__csin): Likewise.
18707 * math/s_csinh.c (__csinh): Likewise.
18708 * math/s_ctan.c (__ctan): Likewise.
18709 * math/s_ctanh.c (ctanh): Likewise.
18710 * math/s_ccoshl.c (__ccoshl): Likewise.
18711 * math/s_cexpl.c (__cexpl): Likewise.
18712 * math/s_csinl.c (__csinl): Likewise.
18713 * math/s_csinhl.c (__csinhl): Likewise.
18714 * math/s_ctanl.c (__ctanl): Likewise.
18715 * math/s_ctanhl.c (__ctanhl): Likewise.
18717 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18719 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18720 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18721 (_IO_off_t): Define to __off_t, not _G_off_t.
18722 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18723 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18724 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18725 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18726 type of __dummy and __dummy2 fields.
18727 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18728 (_G_ssize_t): Likewise.
18729 (_G_off_t): Likewise.
18730 (_G_pid_t): Likewise.
18731 (_G_uid_t): Likewise.
18732 (_G_wchar_t): Likewise.
18733 (_G_wint_t): Likewise.
18734 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18735 (_G_ssize_t): Likewise.
18736 (_G_off_t): Likewise.
18737 (_G_pid_t): Likewise.
18738 (_G_uid_t): Likewise.
18739 (_G_wchar_t): Likewise.
18740 (_G_wint_t): Likewise.
18741 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18742 (_G_ssize_t): Likewise.
18743 (_G_off_t): Likewise.
18744 (_G_pid_t): Likewise.
18745 (_G_uid_t): Likewise.
18746 (_G_wchar_t): Likewise.
18747 (_G_wint_t): Likewise.
18749 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18751 * malloc/arena.c: Include malloc-sysdep.h.
18752 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18753 is sufficient to shrink the heap or an unmap is needed.
18754 * sysdeps/generic/malloc-sysdep.h: New file. Define
18755 new function check_may_shrink_heap.
18756 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18757 new function check_may_shrink_heap.
18759 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18761 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18764 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18766 * catgets/test-gencat.sh: Add "set -e".
18767 * elf/tst-pathopt.sh: Likewise.
18768 * grp/tst_fgetgrent.sh: Likewise.
18769 * iconvdata/run-iconv-test.sh: Likewise.
18770 * intl/tst-gettext.sh: Likewise.
18771 * intl/tst-gettext2.sh: Likewise.
18772 * intl/tst-gettext4.sh: Likewise.
18773 * intl/tst-gettext6.sh: Likewise.
18774 * intl/tst-translit.sh: Likewise.
18775 * io/ftwtest-sh: Likewise.
18776 * libio/test-freopen.sh: Likewise.
18777 * malloc/tst-mtrace.sh: Likewise.
18778 * posix/globtest.sh: Likewise.
18779 * posix/tst-getconf.sh: Likewise.
18780 * posix/wordexp-tst.sh: Likewise.
18781 * stdio-common/tst-printf.sh: Likewise.
18782 * stdio-common/tst-unbputc.sh: Likewise.
18783 * stdlib/tst-fmtmsg.sh: Likewise.
18784 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18785 * catgets/Makefile: Do not specify -e option when running
18786 testsuite shell scripts.
18787 * elf/Makefile: Likewise.
18788 * grp/Makefile: Likewise.
18789 * iconvdata/Makefile: Likewise.
18790 * intl/Makefile: Likewise.
18791 * io/Makefile: Likewise.
18792 * libio/Makefile: Likewise.
18793 * malloc/Makefile: Likewise.
18794 * posix/Makefile: Likewise.
18795 * stdio-common/Makefile: Likewise.
18796 * stdlib/Makefile: Likewise.
18797 * sysdeps/x86_64/Makefile: Likewise.
18799 * io/ftwtest-sh: Add copyright header.
18800 * posix/globtest.sh: Likewise.
18801 * posix/tst-getconf.sh: Likewise.
18802 * posix/wordexp-tst.sh: Likewise.
18803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18805 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18808 * Makeconfig (+link): Defined as $(+link-static) if
18809 $(build-shared) isn't yes.
18810 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18812 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18814 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18817 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18818 new chunk size with MALLOC_ALIGN_MASK.
18820 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18823 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18825 (__printf_fphex): Determine rounding using get_rounding_mode and
18827 * stdio-common/tst-printf-round.c (struct hex_test): New
18829 (hex_tests): New variable.
18830 (test_hex_in_one_mode): New function.
18831 (do_test): Also run tests for hex float output.
18833 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18835 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18836 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18837 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18838 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18839 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18840 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18841 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18842 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18844 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18846 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18847 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18848 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18849 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18851 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18854 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18856 * elf/tst-rtld-load-self.sh: New test.
18857 * elf/Makefile: Run it.
18859 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18861 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18862 (tst-writev-ENV): Remove.
18863 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18865 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18867 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18869 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18871 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18873 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18875 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18876 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18880 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18883 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18884 * config.make.in (have-cpp-asm-debuginfo): Removed.
18885 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18886 * configure: Regenerated.
18888 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18891 * stdio-common/printf_fp.c: Include <stdbool.h> and
18893 (___printf_fp): Determine rounding using get_rounding_mode and
18895 * stdio-common/tst-printf-round.c: New file.
18896 * stdio-common/Makefile (tests): Add tst-printf-round.
18897 (link-libm): New variable.
18898 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18900 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18903 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18904 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18906 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18909 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18911 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18912 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18913 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18914 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18916 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18919 * include/rounding-mode.h: New file.
18920 * sysdeps/generic/get-rounding-mode.h: Likewise.
18921 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18922 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18923 (MAX_VALUE): New macro.
18924 (MIN_VALUE): Likewise.
18925 (overflow_value): New function.
18926 (underflow_value): Likewise.
18927 (round_and_return): Use overflow_value and underflow_value to
18928 determine return values in overflow and underflow cases. Use
18929 round_away to determine rounding depending on rounding mode.
18930 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18931 determine return values in overflow and underflow cases.
18932 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18933 (struct test_results): New structure.
18934 (struct test): Use struct test_results to store expected results
18935 for all rounding modes.
18936 (TEST): Include expected results for all rounding modes.
18937 (test_in_one_mode): New function.
18938 (do_test): Use test_in_one_mode to compute and check results.
18939 Check results for all rounding modes.
18940 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18943 2012-12-09 Allan McRae <allan@archlinux.org>
18945 * sysdeps/i386/fpu/libm-test-ulps: Update
18947 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18949 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18950 (_G_int32_t): Likewise.
18951 (_G_uint16_t): Likewise.
18952 (_G_uint32_t): Likewise.
18953 (_G_HAVE_BOOL): Likewise.
18954 (_G_HAVE_ATEXIT): Likewise.
18955 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18956 (_G_HAVE_IO_FILE_OPEN): Likewise.
18957 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18958 (_G_int32_t): Likewise.
18959 (_G_uint16_t): Likewise.
18960 (_G_uint32_t): Likewise.
18961 (_G_HAVE_BOOL): Likewise.
18962 (_G_HAVE_ATEXIT): Likewise.
18963 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18964 (_G_HAVE_IO_FILE_OPEN): Likewise.
18965 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18966 (_G_int32_t): Likewise.
18967 (_G_uint16_t): Likewise.
18968 (_G_uint32_t): Likewise.
18969 (_G_HAVE_BOOL): Likewise.
18970 (_G_HAVE_ATEXIT): Likewise.
18971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18972 (_G_HAVE_IO_FILE_OPEN): Likewise.
18974 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18976 * csu/libc-tls.c: Update copyright years.
18978 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18980 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18981 [!_G_USING_THUNKS]: Remove conditional code.
18982 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18983 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18985 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18986 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18987 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18988 (_G_VTABLE_LABEL_PREFIX): Likewise.
18989 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18990 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18991 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18992 (_G_VTABLE_LABEL_PREFIX): Likewise.
18993 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18994 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18995 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18996 (_G_VTABLE_LABEL_PREFIX): Likewise.
18997 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18999 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19001 * libio/Makefile: Include ../Makeconfig before tests.
19002 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19003 only if $(build-shared) is yes.
19005 * iconv/gconv_db.c: Update copyright years.
19007 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19009 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19010 unwind info if defined PIC. Fix special cases description.
19011 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19013 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19015 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19017 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19019 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19021 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19024 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19025 (LDLIBS-tst-chk4): This.
19026 (LDFLAGS-tst-chk5): Renamed to ...
19027 (LDLIBS-tst-chk5): This.
19028 (LDFLAGS-tst-chk6): Renamed to ...
19029 (LDLIBS-tst-chk6): This.
19030 (LDFLAGS-tst-lfschk4): Renamed to ...
19031 (LDLIBS-tst-lfschk4): This.
19032 (LDFLAGS-tst-lfschk5): Renamed to ...
19033 (LDLIBS-tst-lfschk5): This.
19034 (LDFLAGS-tst-lfschk6): Renamed to ...
19035 (LDLIBS-tst-lfschk6): This.
19037 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19038 on $(common-objpfx)soversions.mk.
19040 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19043 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19046 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19048 * malloc/arena.c (arena_get_retry): New function that gets
19049 another arena for the caller to try its request on.
19050 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19051 current arena cannot fulfill the request.
19052 (__libc_memalign): Likewise.
19053 (__libc_memalign): Likewise.
19054 (__libc_pvalloc): Likewise.
19055 (__libc_calloc): Likewise.
19057 2012-09-05 John Tobey <john.tobey@gmail.com>
19060 * manual/arith.texi (Operations on Complex): Fix description
19061 of carg branch cut.
19063 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19066 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19070 * manual/memory.texi (Memory): Make order of menu items match
19073 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19075 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19076 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19077 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19079 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19081 * csu/libc-tls.c (static_dtv): Renamed to ...
19082 (_dl_static_dtv): This. Make it global.
19083 (_dl_initial_dtv): Removed.
19084 (__libc_setup_tls): Updated.
19085 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19086 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19089 2012-09-06 Petr Machata <pmachata@redhat.com>
19091 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19092 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19093 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19094 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19096 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19099 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19100 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19103 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19106 * Makeconfig (link-static-before-libc): Replace $(+prector)
19108 (link-static-after-libc): Replace $(+postctor) with
19110 (link-bounded): Replace $(+prector)/$(+postctor) with
19111 $(+prectorT)/$(+postctorT).
19112 (+prectorT): New macro.
19113 (+postctorT): Likewise.
19115 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19117 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19118 (round_str): Handle values above the maximum for IBM long double
19120 * stdlib/tst-strtod-round.c (tests): Regenerated.
19122 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19124 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19126 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19127 zarch_nohighgprs around the zarch optimized routines.
19128 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19129 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19133 2012-09-05 David S. Miller <davem@davemloft.net>
19135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19137 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19138 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19139 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19140 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19143 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19145 * malloc/arena.c: Fold copyright years.
19146 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19148 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19150 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19152 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19154 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19156 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19158 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19159 change internal state upon failure.
19161 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19163 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19164 * malloc/memusage.c (mmap): Likewise.
19165 (mmap64, mremap): Likewise. Adjust name in comment.
19167 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19169 * libio/fileops.c: Fix typos in comments.
19170 * libio/oldfileops.c: Likewise.
19171 * libio/wfileops.c: Likewise.
19173 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19176 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19177 (tst-malloc-usable-ENV): Set environment for test case.
19178 * malloc/hooks.c (malloc_check_get_size): New function to get
19180 * malloc/malloc.c (musable): Use malloc_check_get_size.
19181 * malloc/tst-malloc-usable.c: New test case.
19183 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19185 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19187 2012-09-05 Allan McRae <allan@archlinux.org>
19190 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19191 determine header location.
19192 * configure: Regenerated.
19194 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19196 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19198 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19199 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19201 (test): Regenerate.
19203 2012-09-04 David S. Miller <davem@davemloft.net>
19205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19207 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19209 2012-09-04 Florian Weimer <fweimer@redhat.com>
19211 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19214 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19216 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19219 * libio/iogetdelim.c: Include <limits.h>.
19220 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19221 + len + 1 would overflow.
19223 2012-09-03 Andreas Jaeger <aj@suse.de>
19225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19226 * sysdeps/i386/fpu/libm-test-ulps: Update.
19228 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19230 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19231 Add s_sinf-sse2, s_conf-sse2.
19233 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19234 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19235 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19236 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19238 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19239 for using routine as __sinf_ia32.
19240 Use macro for function declaration and weak_alias.
19241 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19242 for using routine as __cosf_ia32.
19243 Use macro for function declaration and weak_alias.
19245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19246 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19248 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19249 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19252 * math/libm-test.inc (cos_test): Add more test cases.
19253 (sin_test): Likewise.
19254 (sincos_test): Likewise.
19256 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19258 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19259 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19263 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19266 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19267 first element of the GOT.
19268 (elf_machine_load_address): Return the difference between
19269 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19271 2012-09-01 Allan McRae <allan@archlinux.org>
19274 * configure.in (AWK): Require gawk version 3.0 or later.
19275 * configure: Regenerated.
19277 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19279 * sysdeps/unix/sysv/linux/kernel-features.h
19280 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19282 [__NR_clock_getres]: Make code unconditional.
19283 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19284 (clock_getcpuclockid): Remove code left unreachable by removal of
19286 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19287 code unconditional.
19288 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19289 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19290 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19291 Make code unconditional.
19292 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19293 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19294 * sysdeps/unix/sysv/linux/clock_settime.c
19295 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19297 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19300 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19303 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19304 scripts/test-installation.pl.
19306 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19307 and $ld_so_version if it is set.
19309 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19313 failure if reading from procfs failed.
19314 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19316 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19318 * sysdeps/unix/sysv/linux/kernel-features.h
19319 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19320 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19321 Remove conditional code.
19322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19323 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19324 Remove conditional code.
19325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19326 * sysdeps/unix/sysv/linux/i386/fxstat.c
19327 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19329 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19330 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19332 * sysdeps/unix/sysv/linux/i386/lxstat.c
19333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19335 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19336 Remove conditional code.
19337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19339 Remove conditional code.
19340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19342 <kernel-features.h>.
19343 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19345 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19346 Remove conditional code.
19347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19348 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19349 Remove conditional.
19351 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19354 * NEWS: Add fixed bug number.
19356 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19359 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19360 underflowing exponent in case of negative sign.
19361 * stdlib/tst-strtod-round-data: Add more tests.
19362 * stdlib/tst-strtod-round.c (tests): Regenerated.
19365 * stdlib/strtod_l.c (NDIG): Remove.
19366 (HEXNDIG): Likewise.
19367 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19368 smallest representable value.
19369 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19370 lie within an exact representation of 1/2 ulp of the result.
19371 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19373 (TENS_P9_IDX): Define unconditionally.
19374 (TENS_P9_SIZE): Likewise.
19375 (TENS_P10_IDX): Likewise.
19376 (TENS_P10_SIZE): Likewise.
19377 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19378 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19379 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19380 entries for 10^2^13 and 10^2^14.
19381 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19382 (TENS_P13_IDX): Define.
19383 (TENS_P13_SIZE): Likewise.
19384 (TENS_P14_IDX): Likewise.
19385 (TENS_P14_SIZE): Likewise.
19386 (_fpioconst_pow10): Change array size to
19387 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19389 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19390 1024]: Add entries for 10^2^13 and 10^2^14.
19391 [LAST_POW10 > _LAST_POW10]: Remove #error.
19392 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19393 (_fpioconst_pow10): Change array size to
19394 FPIOCONST_POW10_ARRAY_SIZE.
19395 * stdlib/gen-fpioconst.c: New file.
19396 * stdlib/gen-tst-strtod-round.c: Likewise.
19397 * stdlib/tst-strtod-round-data: Likewise.
19398 * stdlib/tst-strtod-round.c: Likewise.
19399 * stdlib/Makefile (tests): Add tst-strtod-round.
19402 * stdlib/strtod_l.c: Include <stdint.h>.
19403 (NDEBUG): Do not define.
19404 (round_and_return): Change EXPONENT parameter to type intmax_t.
19405 Rearrange calculations to avoid internal overflow possibilities.
19406 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19407 Rearrange calculations to avoid internal overflow possibilities.
19408 Assert that number fits inside MPNSIZE limbs.
19409 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19410 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19411 calculations and add assertions to avoid internal overflow
19412 possibilities. Add casts to avoid signed/unsigned operations.
19413 * stdlib/tst-strtod-overflow.c: New file.
19414 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19416 2012-08-25 Marek Polacek <polacek@redhat.com>
19418 * time/time.h: Fix some typos in comments.
19420 2012-08-23 Roland McGrath <roland@hack.frob.com>
19422 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19423 * posix/tst-rfc3484-2.c: Likewise.
19424 * posix/tst-rfc3484-3.c: Likewise.
19426 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19428 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19429 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19431 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19433 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19434 #include of fxstatat64.c.
19436 2012-08-22 Roland McGrath <roland@hack.frob.com>
19438 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19439 * shadow/getspent_r.c: Likewise.
19440 * shadow/getspnam.c: Likewise.
19441 * shadow/getspnam_r.c: Likewise.
19442 * gshadow/getsgent.c: Likewise.
19443 * gshadow/getsgent_r.c: Likewise.
19444 * gshadow/getsgnam.c: Likewise.
19445 * gshadow/getsgnam_r.c: Likewise.
19446 * inet/getnetbyad.c: Likewise.
19447 * inet/getnetbyad_r.c: Likewise.
19448 * inet/getnetbynm.c: Likewise.
19449 * inet/getnetbynm_r.c: Likewise.
19450 * inet/getnetent.c: Likewise.
19451 * inet/getnetent_r.c: Likewise.
19452 * inet/getproto.c: Likewise.
19453 * inet/getproto_r.c: Likewise.
19454 * inet/getprtent.c: Likewise.
19455 * inet/getprtent_r.c: Likewise.
19456 * inet/getprtname.c: Likewise.
19457 * inet/getprtname_r.c: Likewise.
19458 * inet/getrpcbyname.c: Likewise.
19459 * inet/getrpcbyname_r.c: Likewise.
19460 * inet/getrpcbynumber.c: Likewise.
19461 * inet/getrpcbynumber_r.c: Likewise.
19462 * inet/getrpcent.c: Likewise.
19463 * inet/getrpcent_r.c: Likewise.
19464 * inet/getaliasent.c: Likewise.
19465 * inet/getaliasent_r.c: Likewise.
19466 * inet/getaliasname.c: Likewise.
19467 * inet/getaliasname_r.c: Likewise.
19468 * nscd/getgrgid_r.c: Likewise.
19469 * nscd/getgrnam_r.c: Likewise.
19470 * nscd/gethstbyad_r.c: Likewise.
19471 * nscd/gethstbynm3_r.c: Likewise.
19472 * nscd/getpwnam_r.c: Likewise.
19473 * nscd/getpwuid_r.c: Likewise.
19474 * nscd/getsrvbynm_r.c: Likewise.
19475 * nscd/getsrvbypt_r.c: Likewise.
19476 * nscd/gai.c: Likewise.
19478 * configure.in (build_nscd): New substituted variable, set
19479 by --disable-build-nscd and defaults to $use_nscd.
19480 * configure: Regenerated.
19481 * config.make.in (build-nscd): New substituted variable.
19482 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19483 Change conditional to require [$(build-nscd) = yes] as well.
19484 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19487 * configure.in (use_nscd): New substituted variable, set by
19488 --disable-nscd. If enabled, define USE_NSCD.
19489 * configure: Regenerated.
19490 * config.h.in: Add USE_NSCD.
19491 * config.make.in (use-nscd): New substituted variable.
19492 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19493 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19494 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19495 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19496 (CFLAGS-getgrnam_r.c): Likewise.
19497 (CFLAGS-initgroups.c): Likewise.
19498 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19499 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19501 * inet/getnetgrent_r.c
19502 (nscd_setnetgrent): New function, broken out of ...
19503 (setnetgrent): ... here. Call it.
19504 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19505 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19506 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19507 * nscd/Makefile (routines, aux): Move definitions after include of
19508 Makeconfig. Conditionalize on [$(use-nscd) != no].
19509 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19510 Conditionalize on [USE_NSCD].
19511 (is_nscd, nscd_init_cb): Likewise.
19512 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19513 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19514 * nss/nss_db/db-init.c: Likewise.
19515 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19517 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19518 (make_request): Use it.
19519 (cache_valid_p): New function.
19520 (__check_pf): Use it.
19521 * NEWS: Add item for --disable-nscd.
19523 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19525 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19526 to support sed >= 4.2.1-20-ga9bf076.
19527 * configure: Regenerated.
19529 2012-08-22 Roland McGrath <roland@hack.frob.com>
19531 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19532 Conditionalize whole body on [IREL].
19534 2012-08-22 Jeff Law <law@redhat.com>
19537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19538 if the family is PF_UNSPEC.
19540 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19542 * Makerules (lib-version): Rename from V.
19543 (install-lib-nosubdir): Change V to lib-version.
19545 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19548 * powerpc32/power6/wcschr.c: New file.
19549 * powerpc32/power6/wcscpy.c: New file.
19550 * powerpc32/power6/wcsrchr.c: New file.
19551 * powerpc64/power6/wcschr.c: New file.
19552 * powerpc64/power6/wcscpy.c: New file.
19553 * powerpc64/power6/wcsrchr.c: New file.
19555 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19557 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19558 (two_way_short_needle): Use it.
19559 * string/strstr.c (AVAILABLE1_USES_J): Define.
19560 * string/strcasestr.c: Likewise.
19562 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19564 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19567 * NEWS: Add an entry.
19568 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19569 define their defaults.
19570 (two_way_short_needle): Detect end-of-string on-the-fly.
19571 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19572 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19573 * string/bug-strcasestr1.c: New test.
19574 * string/Makefile: Run it.
19576 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19579 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19580 the first character.
19582 2012-08-21 Roland McGrath <roland@hack.frob.com>
19584 * csu/elf-init.c (__libc_csu_irel): Function removed.
19585 * csu/libc-start.c (apply_irel): New function.
19586 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19588 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19590 * sysdeps/unix/sysv/linux/kernel-features.h
19591 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19593 <kernel-features.h>.
19594 [__NR_fadvise64_64]: Make code unconditional.
19595 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19596 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19597 !__NR_fadvise64_64)]: Likewise.
19598 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19599 !__NR_fadvise64_64))]: Likewise.
19600 [__NR_fadvise64]: Make code unconditional.
19601 [!__NR_fadvise64]: Remove conditional code.
19602 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19603 <kernel-features.h>.
19604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19609 not include <kernel-features.h>.
19610 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19612 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19614 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19615 include <kernel-features.h>.
19616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19621 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19623 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19624 slight instruction rearrangements per scrollpipe analysis.
19625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19627 2012-08-20 Roland McGrath <roland@hack.frob.com>
19629 * manual/syslog.texi (syslog; vsyslog, closelog):
19630 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19631 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19633 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19634 DSOCAPS to match condition on defining it.
19636 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19638 * sysdeps/unix/sysv/linux/kernel-features.h
19639 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19641 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19642 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19644 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19645 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19650 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19651 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19653 * sysdeps/unix/sysv/linux/kernel-features.h
19654 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19655 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19657 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19658 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19659 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19660 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19661 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19662 Make code unconditional.
19663 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19664 (__mmap64) [!__NR_mmap2]: Likewise.
19665 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19666 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19667 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19669 [__NR_mmap2]: Make code unconditional.
19670 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19671 (__mmap64) [!__NR_mmap2]: Likewise.
19673 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19675 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19677 2012-08-18 Andreas Jaeger <aj@suse.de>
19679 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19681 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19683 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19684 * include/unistd.h (__have_sock_cloexec): Likewise.
19685 (__have_pipe2): Likewise.
19686 (__have_dup3): Likewise.
19688 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19691 * include/unistd.h (__have_pipe2): Change define into an extern int.
19692 (__have_dup3): Likewise.
19693 * socket/have_sock_cloexec.c: Include fcntl.h.
19694 (__have_pipe2): New variable.
19695 (__have_dup3): Likewise.
19697 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19699 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19701 2012-08-17 Marek Polacek <polacek@redhat.com>
19703 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19704 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19706 2012-08-17 Roland McGrath <roland@hack.frob.com>
19708 * configure.in: Add AC_SUBST for sysheaders.
19709 * configure: Regenerated.
19710 * config.make.in (sysheaders): New substituted variable.
19712 * sysdeps/unix/mkfifo.c: Moved ...
19713 * sysdeps/posix/mkfifo.c: ... here.
19714 * sysdeps/unix/mkfifoat.c: Moved ...
19715 * sysdeps/posix/mkfifoat.c: ... here.
19717 * sysdeps/unix/utime.c: Moved ...
19718 * sysdeps/posix/utime.c: ... here.
19720 * sysdeps/unix/time.c: Moved ...
19721 * sysdeps/posix/time.c: ... here.
19722 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19723 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19725 * sysdeps/unix/nice.c: Moved ...
19726 * sysdeps/posix/nice.c: ... here.
19728 * sysdeps/unix/alarm.c: Moved ...
19729 * sysdeps/posix/alarm.c: ... here.
19731 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19733 2012-08-17 Jeff Law <law@redhat.com>
19735 * intl/Makefile (codeset_mo): New variable.
19736 ($(codeset_mo)): New target.
19737 (tst-codeset.out): Depend on that. Remove explicit rule.
19738 (tst-gettext3.out, tst-gettext5.out): Likewise.
19739 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19740 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19741 * intl/tst-codeset.sh: Remove.
19742 * intl/tst-gettext3.sh: Likewise.
19743 * intl/tst-gettext5.sh: Likewise.
19745 2012-08-17 Roland McGrath <roland@hack.frob.com>
19747 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19748 * sysdeps/unix/syscalls.list: ... here.
19750 * sysdeps/posix/getaddrinfo.c
19751 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19752 (gaiconf_init, gaiconf_reload): Use them.
19753 [!_STATBUF_ST_NSEC]
19754 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19755 Define using time_t rather than struct timespec.
19757 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19758 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19760 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19762 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19763 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19766 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19767 __libc_cleanup_push argument.
19769 * bits/param.h: New file.
19770 * misc/sys/param.h: New file.
19771 * include/sys/param.h: New file.
19772 * misc/Makefile (headers): Add bits/param.h.
19773 * sysdeps/generic/sys/param.h: File removed.
19774 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19775 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19776 * sysdeps/mach/hurd/bits/param.h: New file.
19777 * sysdeps/mach/hurd/sys/param.h: File removed.
19779 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19782 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19784 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19785 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19788 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19789 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19790 rather than -D_IO_MTSAFE_IO conditionally.
19791 * stdio-common/Makefile (CPPFLAGS): Likewise.
19792 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19793 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19794 Use $(libio-mtsafe).
19795 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19796 of -D_IO_MTSAFE_IO.
19797 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19798 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19799 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19800 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19801 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19802 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19803 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19804 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19805 (CFLAGS-fread_u_chk.c): Likewise.
19806 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19807 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19808 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19809 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19810 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19811 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19812 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19813 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19814 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19816 * libio/Makefile: Test [$(libc-reentrant) = yes]
19817 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19820 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19821 * sysdeps/pthread/configure: File removed.
19822 * sysdeps/pthread/Makeconfig: New file.
19823 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19824 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19826 2012-08-16 Gary Benson <gbenson@redhat.com>
19828 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19829 unmapping the first object in a namespace.
19831 2012-08-16 Roland McGrath <roland@hack.frob.com>
19833 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19834 (__internal_setnetgrent): ... this. Add internal_function to
19835 definition. Add libc_hidden_def.
19836 (setnetgrent): Update caller.
19837 (internal_endnetgrent): Renamed to ...
19838 (__internal_endnetgrent): ... this. Add internal_function to
19839 definition. Add libc_hidden_def.
19840 (endnetgrent): Update caller.
19841 (internal_getnetgrent_r): Renamed to ...
19842 (__internal_getnetgrent_r): ... this. Add internal_function to
19843 definition. Add libc_hidden_def.
19844 (__getnetgrent_r): Update caller.
19845 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19847 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19849 * stdlib/longlong.h: Update from GCC.
19851 2012-08-16 Roland McGrath <roland@hack.frob.com>
19853 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19854 on _QL, which is set by umul_ppmm but never used.
19855 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19856 variables, which are set by GMP macros but never used.
19857 * stdio-common/_itowa.c (_itowa): Likewise.
19858 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19859 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19861 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19863 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19864 struct La_sh_regs is not constant.
19865 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19866 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19867 and struct La_sparc64_regs are not constant.
19869 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19871 * sysdeps/unix/sysv/linux/kernel-features.h
19872 (__ASSUME_POSIX_TIMERS): Remove.
19873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19875 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19876 Make code unconditional.
19877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19878 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19879 Make code unconditional.
19880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19881 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19882 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19884 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19885 Make code unconditional.
19886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19887 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19888 (__libc_missing_posix_timers): Remove.
19890 2012-08-15 Roland McGrath <roland@hack.frob.com>
19892 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19893 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19895 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19897 * elf/dl-sym.c: Include <stdlib.h>.
19899 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19900 constants, which avoids warnings in 32-bit builds.
19902 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19903 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19905 * misc/lseek.c: File moved to ...
19906 * io/lseek.c: ... here.
19908 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19910 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19911 shifting LEN more than 31 bits at once.
19913 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19916 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19917 segmentation fault for a case of two empty input strings.
19918 * string/test-strncasecmp.c (check1): Renamed to...
19919 (bz12205): ...this.
19920 (bz14195): Add new testcase for two empty input strings and N > 0.
19921 (test_main): Call new testcase, adapt for renamed function.
19923 2012-08-15 Andreas Jaeger <aj@suse.de>
19926 * crypt/md5test2.c: New test, based on test supplied by Serge
19927 Belyshev <belyshev@depni.sinp.msu.ru>.
19928 * crypt/Makefile (xtests): Add md5test-giant..
19929 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19931 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19934 * crypt/md5.c (md5_process_block): Don't assume the buffer
19935 length is less than 2**32.
19936 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19937 length is less than 2**64.
19939 2012-08-15 Roland McGrath <roland@hack.frob.com>
19941 * string/str-two-way.h: Include <sys/param.h>.
19942 (MAX): Macro removed.
19944 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19945 Move #define and #undef of memmove to just before and after
19946 including <string.h>.
19948 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19949 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19950 and after including <string.h>. Move declarations of
19951 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19952 to before #include "string/memmove.c".
19954 * include/dirent.h: Declare __getdirentries.
19956 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19957 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19959 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19961 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19962 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19963 * sysdeps/i386/configure: Regenerated.
19964 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19965 STABS_CURRENT_FILE, and STABS_FUN.
19966 (END): Remove call to STABS_FUN_END.
19967 (STABS_CURRENT_FILE1): Delete.
19968 (STABS_CURRENT_FILE): Likewise.
19969 (STABS_FUN): Likewise.
19970 (STABS_FUN_END): Likewise.
19971 (STABS_FUN2): Likewise.
19972 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19973 * sysdeps/x86_64/configure: Regenerated.
19975 2012-08-14 Roland McGrath <roland@hack.frob.com>
19977 * elf/dl-open.c: Include <atomic.h>.
19978 * elf/dl-lookup.c: Likewise.
19980 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19982 * sysdeps/unix/sysv/linux/kernel-features.h
19983 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19984 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19986 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19988 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19989 condition on __ASSUME_CLONE_THREAD_FLAGS.
19991 2012-08-14 Andreas Jaeger <aj@suse.de>
19993 * sysdeps/i386/fpu/libm-test-ulps: Update.
19995 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19997 * include/atomic.h (atomic_exchange_and_add): Split into ...
19998 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20001 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20005 2012-08-13 Jeff Law <law@redhat.com>
20007 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20008 null byte in the output string.
20010 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20012 * sysdeps/unix/sysv/linux/kernel-features.h
20013 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20014 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20015 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20016 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20017 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20018 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20019 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20021 2012-08-09 Jeff Law <law@redhat.com>
20024 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20025 When avoid_arena is set, don't retry in the that arena. Pick the
20026 next one, whatever it might be.
20027 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20028 (arena_lock): Pass in new parameter to arena_get2.
20029 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20031 (__libc_malloc): Unify retrying after main arena failure with
20032 __libc_memalign version.
20033 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20035 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20038 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20039 to __redirect_strstr.
20040 (__strstr_sse42): Use typeof __redirect_strstr.
20041 (__strstr_ia32): Likewise.
20042 (__libc_strstr): New prototype.
20043 (strstr): Renamed to ...
20044 (__libc_strstr): This.
20045 (strstr): New strong alias of __libc_strstr.
20046 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20047 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20050 (__libc_time): New prototype.
20051 (time_ifunc): Replace time with __libc_time.
20052 (time): New strong alias and hidden definition of __libc_time.
20053 (__GI_time): Remove strong alias.
20054 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20055 Include <stddef.h>.
20056 (memmove): Redefined to __redirect_memmove.
20057 (__memmove_sse2): Use typeof __redirect_memmove.
20058 (__memmove_ssse3): Likewise.
20059 (__memmove_ssse3_back): Likewise.
20060 (__libc_memmove): New prototype.
20061 (memmove): Renamed to ...
20062 (__libc_memmove): This.
20063 (memmove): New strong alias of __libc_memmove.
20065 2012-08-08 Mark Salter <msalter@redhat.com>
20068 (R_MN10300_TLS_GD): Define.
20069 (R_MN10300_TLS_LD): Likewise.
20070 (R_MN10300_TLS_LDO): Likewise.
20071 (R_MN10300_TLS_GOTIE): Likewise.
20072 (R_MN10300_TLS_IE): Likewise.
20073 (R_MN10300_TLS_LE): Likewise.
20074 (R_MN10300_TLS_DTPMOD): Likewise.
20075 (R_MN10300_TLS_DTPOFF): Likewise.
20076 (R_MN10300_TLS_TPOFF): Likewise.
20077 (R_MN10300_SYM_DIFF): Likewise.
20078 (R_MN10300_ALIGN): Likewise.
20079 (R_MN10300_NUM): Update.
20081 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20086 2012-08-08 Roland McGrath <roland@hack.frob.com>
20088 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20090 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20091 sysdeps/unix -> sysdeps/posix move.
20092 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20094 2012-08-07 Allan McRae <allan@archlinux.org>
20097 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20098 (SUNOS_CPP): Likewise.
20099 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20101 (open_input): Call CPP using execvp.
20103 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20105 * sysdeps/unix/sysv/linux/kernel-features.h
20106 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20107 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20108 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20109 (__ASSUME_WAITID_SYSCALL): Likewise.
20110 * sysdeps/unix/sysv/linux/dl-execstack.c
20111 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20112 code unconditional.
20113 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20116 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20117 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20119 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20121 [__ASSUME_WAITID_SYSCALL]: Likewise.
20122 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20124 2012-08-07 Roland McGrath <roland@hack.frob.com>
20126 * sysdeps/unix/closedir.c: Renamed to ...
20127 * sysdeps/posix/closedir.c: ... here.
20128 * sysdeps/unix/dirfd.c: Renamed to ...
20129 * sysdeps/posix/dirfd.c: ... here.
20130 * sysdeps/unix/dirstream.h: Renamed to ...
20131 * sysdeps/posix/dirstream.h: ... here.
20132 * sysdeps/unix/fdopendir.c: Renamed to ...
20133 * sysdeps/posix/fdopendir.c: ... here.
20134 * sysdeps/unix/opendir.c: Renamed to ...
20135 * sysdeps/posix/opendir.c: ... here.
20136 * sysdeps/unix/readdir.c: Renamed to ...
20137 * sysdeps/posix/readdir.c: ... here.
20138 * sysdeps/unix/readdir_r.c: Renamed to ...
20139 * sysdeps/posix/readdir_r.c: ... here.
20140 * sysdeps/unix/rewinddir.c: Renamed to ...
20141 * sysdeps/posix/rewinddir.c: ... here.
20142 * sysdeps/unix/seekdir.c: Renamed to ...
20143 * sysdeps/posix/seekdir.c: ... here.
20144 * sysdeps/unix/telldir.c: Renamed to ...
20145 * sysdeps/posix/telldir.c: ... here.
20146 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20147 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20148 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20149 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20151 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20152 * bits/fcntl.h: ... here.
20154 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20156 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20157 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20158 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20159 (struct flock): Move l_start, l_len to the beginning.
20160 Use __pid_t for l_pid.
20161 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20162 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20163 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20164 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20165 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20166 [__USE_LARGEFILE64] (struct flock64): New type.
20167 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20169 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20170 * bits/dirent.h: ... here.
20172 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20173 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20175 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20177 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20178 Change from 2.6.0 to 2.6.16.
20179 * sysdeps/unix/sysv/linux/configure: Regenerated.
20180 * sysdeps/unix/sysv/linux/kernel-features.h
20181 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20182 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20184 (__ASSUME_UTIMES): Likewise.
20185 (__ASSUME_CLONE_STOPPED): Remove.
20186 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20187 architectures, not kernel version.
20188 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20189 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20190 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20191 (__ASSUME_WAITID_SYSCALL): Likewise.
20192 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20193 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20194 * README: State 2.6.16 as minimum Linux kernel version. Do not
20195 refer to older versions.
20197 2012-08-06 Roland McGrath <roland@hack.frob.com>
20199 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20200 Define alphasort64 as an alias.
20201 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20202 Define versionsort64 as an alias.
20203 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20204 Define scandir64 as an alias.
20205 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20206 Define scandirat64 as an alias.
20207 * dirent/alphasort64.c (alphasort64):
20208 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20209 * dirent/versionsort64.c: Likewise.
20210 * dirent/scandir64.c: Likewise.
20211 * dirent/scandirat64.c: Likewise.
20212 * sysdeps/wordsize-64/alphasort.c: File removed.
20213 * sysdeps/wordsize-64/alphasort64.c: File removed.
20214 * sysdeps/wordsize-64/scandir.c: File removed.
20215 * sysdeps/wordsize-64/scandir64.c: File removed.
20216 * sysdeps/wordsize-64/scandirat.c: File removed.
20217 * sysdeps/wordsize-64/scandirat64.c: File removed.
20218 * sysdeps/wordsize-64/versionsort.c: File removed.
20219 * sysdeps/wordsize-64/versionsort64.c: File removed.
20220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20226 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20229 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20231 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20233 [defined __arch64__ || defined __sparcv9]
20234 (__INO_T_MATCHES_INO64_T): New macro.
20235 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20236 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20237 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20238 * sysdeps/unix/sysv/linux/bits/dirent.h
20239 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20240 (_DIRENT_MATCHES_DIRENT64): New macro.
20242 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20243 Define lockf64 as an alias.
20244 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20245 Define fseeko64 as an alias.
20246 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20247 Define ftello64 as an alias.
20248 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20249 Define _IO_fgetpos64 and fgetpos64 as aliases.
20250 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20251 Define _IO_fsetpos64 and fsetpos64 as aliases.
20252 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20253 Conditionalize body on this.
20254 * libio/fseeko64.c: Likewise.
20255 * libio/ftello64.c: Likewise.
20256 * libio/iofgetpos64.c: Likewise.
20257 * libio/iofsetpos64.c: Likewise.
20258 * sysdeps/wordsize-64/lockf.c: File removed.
20259 * sysdeps/wordsize-64/lockf64.c: File removed.
20260 * sysdeps/wordsize-64/fseeko.c: File removed.
20261 * sysdeps/wordsize-64/fseeko64.c: File removed.
20262 * sysdeps/wordsize-64/ftello.c: File removed.
20263 * sysdeps/wordsize-64/ftello64.c: File removed.
20264 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20265 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20266 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20267 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20270 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20272 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20279 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20281 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20283 [defined __arch64__ || defined __sparcv9]
20284 (__OFF_T_MATCHES_OFF64_T): New macro.
20285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20286 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20288 (__OFF_T_MATCHES_OFF64_T): New macro.
20290 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20292 * stdlib/secure-getenv.c (__secure_getenv): Replace
20293 GLIBC_2_16 with GLIBC_2_17.
20295 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20297 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20300 2012-08-03 David S. Miller <davem@davemloft.net>
20302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20304 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20306 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20308 (__ASSUME_CORRECT_SI_PID): Likewise.
20309 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20310 (__ASSUME_TMPFS_NAME): Likewise.
20311 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20312 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20313 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20314 (HAVE_AUX_SECURE): Make definition unconditional.
20315 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20316 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20318 2012-08-03 Roland McGrath <roland@hack.frob.com>
20320 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20321 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20322 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20324 __eloop_threshold instead of SYMLOOP_MAX.
20326 * sysdeps/generic/eloop-threshold.h: New file.
20327 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20329 * elf/chroot_canon.c (chroot_canon): Likewise.
20331 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20335 Change to 2.6.0 everywhere.
20336 * sysdeps/unix/sysv/linux/configure: Regenerated.
20337 * sysdeps/unix/sysv/linux/kernel-features.h
20338 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20339 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20341 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20342 (__ASSUME_FUTEX_REQUEUE): Remove.
20343 (__ASSUME_STATFS64): Define unconditionally.
20344 (__ASSUME_AT_SECURE): Likewise.
20345 (__ASSUME_CORRECT_SI_PID): Likewise.
20346 (__ASSUME_TGKILL): Define without depending on kernel version for
20348 (__ASSUME_UTIMES): Likewise.
20349 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20351 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20352 (__ASSUME_TMPFS_NAME): Likewise.
20353 * README: Update reference to Linux kernel versions.
20355 2012-08-02 Marek Polacek <polacek@redhat.com>
20358 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20359 libc_cv_asm_type_prefix with %.
20360 * configure: Regenerated.
20361 * include/libc-symbols.h: Remove comment about
20362 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20363 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20364 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20365 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20366 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20367 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20368 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20370 * elf/tst-unique2mod1.c: Likewise.
20371 * elf/tst-unique1mod2.c: Likewise.
20372 * elf/tst-unique1mod1.c: Likewise.
20373 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20374 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20375 Replace ASM_TYPE_DIRECTIVE with .type.
20376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20377 * sysdeps/i386/sysdep.h: Likewise.
20378 * sysdeps/x86_64/sysdep.h: Likewise.
20379 * sysdeps/sh/sysdep.h: Likewise.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20381 Do not define ASM_TYPE_DIRECTIVE.
20382 * sysdeps/powerpc/sysdep.h: Likewise.
20383 * sysdeps/powerpc/powerpc32/sysdep.h:
20384 Replace ASM_TYPE_DIRECTIVE with .type.
20385 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20387 * sysdeps/i386/fpu/e_powf.S: Likewise.
20388 * sysdeps/i386/fpu/e_expl.S: Likewise.
20389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20390 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20391 * sysdeps/i386/fpu/e_pow.S: Likewise.
20392 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20393 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20394 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20395 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20396 * sysdeps/i386/fpu/e_log2.S: Likewise.
20397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20398 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20399 * sysdeps/i386/fpu/e_powl.S: Likewise.
20400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20401 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20402 * sysdeps/i386/fpu/e_logl.S: Likewise.
20403 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20408 * sysdeps/i386/fpu/e_log.S: Likewise.
20409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20410 * sysdeps/i386/fpu/e_logf.S: Likewise.
20411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20413 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20414 * sysdeps/i386/fpu/e_log10.S: Likewise.
20415 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20416 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20417 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20418 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20420 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20421 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20422 * sysdeps/i386/i686/strtok.S: Likewise.
20423 * sysdeps/i386/i386-mcount.S: Likewise.
20424 * sysdeps/i386/strtok.S: Likewise.
20425 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20431 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20432 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20433 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20434 * sysdeps/x86_64/_mcount.S: Likewise.
20435 * sysdeps/x86_64/strtok.S: Likewise.
20436 * sysdeps/sh/_mcount.S: Likewise.
20438 2012-08-01 Roland McGrath <roland@hack.frob.com>
20440 * libio/iofopen.c: Include <fcntl.h>.
20441 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20442 (_IO_fopen64, fopen64): Define as aliases.
20443 * libio/iofopen64.c: Include <fcntl.h>.
20444 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20445 Conditionalize body on this.
20446 * sysdeps/wordsize-64/iofopen.c: File removed.
20447 * sysdeps/wordsize-64/iofopen64.c: File removed.
20449 2012-08-01 Marek Polacek <polacek@redhat.com>
20451 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20452 Use dlfcn directly instead of a variable.
20453 (binfmt-subdir): Do not define.
20456 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20459 Remove all definitions.
20460 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20461 <kernel-features.h>.
20462 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20463 (miss_F_GETOWN_EX): Remove all definitions.
20464 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20466 [!__ASSUME_FCNTL64]: Remove conditional code.
20467 [__ASSUME_FCNTL64]: Make code unconditional.
20468 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20469 <kernel-features.h>.
20470 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20471 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20472 (lockf64) [__NR_fcntl64]: Make code unconditional.
20473 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20475 * sysdeps/unix/sysv/linux/kernel-features.h
20476 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20477 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20478 Make code unconditional.
20479 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20480 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20482 [__NR_vfork]: Make code unconditional.
20483 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20484 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20486 [__NR_vfork]: Make code unconditional.
20487 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20488 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20490 2012-08-01 Roland McGrath <roland@hack.frob.com>
20492 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20493 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20495 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20496 Define mkstemp64 as an alias.
20497 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20498 Define mkstemps64 as an alias.
20499 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20500 Define mkostemp64 as an alias.
20501 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20502 Define mkostemps64 as an alias.
20503 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20504 Conditionalize body on this.
20505 * misc/mkostemp64.c: Likewise.
20506 * misc/mkostemps64.c: Likewise.
20507 * misc/mkstemps64.c: Likewise.
20508 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20509 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20510 * sysdeps/wordsize-64/mkostemp.c: File removed.
20511 * sysdeps/wordsize-64/mkstemp.c: File removed.
20512 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20513 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20518 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20519 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20520 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20521 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20523 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20524 compat_symbol macros from <shlib-compat.h> rather than the underlying
20525 default_symbol_version and symbol_version macros, so that DEFAULT
20526 lines in shlib-versions are respected.
20527 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20529 2012-08-01 Florian Weimer <fweimer@redhat.com>
20531 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20532 Declare with warn_unused_result.
20533 (setgid, setregid, setegid, setresgid): Likewise.
20534 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20536 * WUR-REPORT: Remove set*id functions.
20538 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20540 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20542 2012-07-31 Roland McGrath <roland@hack.frob.com>
20545 * include/sys/socket.h (__libc_accept, __libc_accept4):
20546 Add attribute_hidden.
20547 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20551 * inet/getnetgrent_r.c (setup): Likewise.
20553 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20555 2012-07-31 David S. Miller <davem@davemloft.net>
20557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20559 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20562 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20563 value between 1.0 and 2.0 and smaller part has absolute value less
20565 * math/s_clog10.c (__clog10): Likewise.
20566 * math/s_clog10f.c (__clog10f): Likewise.
20567 * math/s_clog10l.c (__clog10l): Likewise.
20568 * math/s_clogf.c (__clogf): Likewise.
20569 * math/s_clogl.c (__clogl): Likewise.
20570 * math/libm-test.inc (clog_test): Add more tests.
20571 (clog10_test): Likewise.
20572 * sysdeps/i386/fpu/libm-test-ulps: Update.
20573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20575 2012-07-31 Florian Weimer <fweimer@redhat.com>
20577 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20578 Exit with zero in case no suitable GID is found, and write a
20579 message to standard error.
20581 2012-07-30 Roland McGrath <roland@hack.frob.com>
20583 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20585 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20586 (MAXPATHLEN): Removed.
20587 (NOGROUP, NODEV): New macros.
20588 (setbit, clrbit, isset, isclr): New macros.
20589 (howmany, roundup, powerof2): New macros.
20590 (DEV_BSIZE): New macro.
20592 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20593 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20595 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20596 definition on [!__NO_LONG_DOUBLE_MATH].
20598 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20599 PTR_MANGLE and PTR_DEMANGLE.
20601 * socket/accept4.c (accept4): Rename to __libc_accept4.
20602 Define accept4 as a weak alias.
20604 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20605 on [_DIRENT_HAVE_D_TYPE].
20606 * io/ftw.c (ftw_dir): Likewise.
20608 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20610 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20612 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20613 Use the BSD numbers rather than the arbitrary ones we had.
20614 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20615 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20616 (SIGXCPU, SIGXFSZ): New macros.
20619 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20620 initializer on [_LIBC_REENTRANT].
20622 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20623 definitions inside [_POSIX_MAPPED_FILES].
20625 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20627 * dirent/opendir.c: Include <fcntl.h>.
20629 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20630 (__libc_getspecific): Likewise.
20631 (__libc_key_create): Likewise.
20633 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20634 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20635 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20636 (tmpfile64): Define as alias.
20637 * sysdeps/wordsize-64/tmpfile.c: File removed.
20638 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20639 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20642 * stdio-common/vfscanf.c: Include <stdbool.h>.
20643 * nss/makedb.c: Likewise.
20644 * stdio-common/_i18n_number.h: Likewise.
20645 * argp/argp-help.c: Likewise.
20646 * posix/wordexp.c: Likewise.
20647 * sysdeps/posix/spawni.c: Likewise.
20648 * nss/nss_files/files-initgroups.c: Likewise.
20649 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20650 * nss/nss_files/files-initgroups.c: Likewise.
20651 * nss/nss_db/db-netgrp.c: Likewise.
20652 * nss/nss_db/db-initgroups.c: Likewise.
20653 * io/fchmodat.c: Include <sys/stat.h>.
20655 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20656 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20658 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20661 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20662 Add multiple inclusion protection.
20664 2012-07-27 David S. Miller <davem@davemloft.net>
20666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20668 2012-07-27 Gary Benson <gbenson@redhat.com>
20671 * elf/rtld.c: Include <stap-probe.h>.
20672 (dl_main): Added static probes "init_start" and "init_complete".
20673 * elf/dl-load.c: Include <stap-probe.h>.
20674 (lose): Take new parameter "nsid".
20675 Added static probe "map_failed".
20676 (_dl_map_object_from_fd): Pass namespace id to lose.
20677 Added static probe "map_start".
20678 (open_verify): Pass namespace id to lose.
20679 * elf/dl-open.c: Include <stap-probe.h>.
20680 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20681 and "reloc_complete".
20682 * elf/dl-close.c: Include <stap-probe.h>.
20683 (_dl_close_worker): Added static probes "unmap_start" and
20685 * elf/rtld-debugger-interface.txt: New file documenting the above.
20687 2012-07-26 Roland McGrath <roland@hack.frob.com>
20689 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20690 rather than a string variable.
20691 * sunrpc/rpc_main.c (h_output): Likewise.
20692 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20694 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20696 * inet/check_native.c: New file.
20698 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20701 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20702 if larger part has absolute value 1.0.
20703 * math/s_clog10.c (__clog10): Likewise.
20704 * math/s_clog10f.c (__clog10f): Likewise.
20705 * math/s_clog10l.c (__clog10l): Likewise.
20706 * math/s_clogf.c (__clogf): Likewise.
20707 * math/s_clogl.c (__clogl): Likewise.
20708 * math/libm-test.inc (clog_test): Add more tests.
20709 (clog10_test): Likewise.
20710 * sysdeps/i386/fpu/libm-test-ulps: Update.
20711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20713 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20714 (pltexit): Likewise.
20715 (La_regs): Likewise.
20716 (La_retval): Likewise.
20717 (int_retval): Likewise.
20718 Update #error for removed macros to refer only to definitions in
20720 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20722 (pltexit): Likewise.
20723 (La_regs): Likewise.
20724 (La_retval): Likewise.
20725 (int_retval): Likewise.
20726 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20728 (pltexit): Likewise.
20729 (La_regs): Likewise.
20730 (La_retval): Likewise.
20731 (int_retval): Likewise.
20732 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20734 (pltexit): Likewise.
20735 (La_regs): Likewise.
20736 (La_retval): Likewise.
20737 (int_retval): Likewise.
20738 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20740 (pltexit): Likewise.
20741 (La_regs): Likewise.
20742 (La_retval): Likewise.
20743 (int_retval): Likewise.
20744 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20746 (pltexit): Likewise.
20747 (La_regs): Likewise.
20748 (La_retval): Likewise.
20749 (int_retval): Likewise.
20750 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20752 (pltexit): Likewise.
20753 (La_regs): Likewise.
20754 (La_retval): Likewise.
20755 (int_retval): Likewise.
20756 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20757 macro definitions in tst-audit.h.
20758 * sysdeps/i386/tst-audit.h: New file.
20759 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20760 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20761 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20762 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20763 * sysdeps/sh/tst-audit.h: Likewise.
20764 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20765 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20766 * sysdeps/x86_64/tst-audit.h: Likewise.
20768 2012-07-26 Andreas Jaeger <aj@suse.de>
20770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20773 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20774 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20775 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20777 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20778 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20779 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20781 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20784 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20786 (si_call_addr, si_syscall, si_arch): Define new macro.
20787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20789 (si_call_addr, si_syscall, si_arch): Define new marcro.
20790 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20792 (si_call_addr, si_syscall, si_arch): Define new macro.
20793 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20795 (si_call_addr, si_syscall, si_arch): Define new macro.
20797 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20801 Change to 2.4.21 where previously 2.4.1.
20802 * sysdeps/unix/sysv/linux/configure: Regenerated.
20803 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20804 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20805 Linux kernel version.
20806 (__ASSUME_STD_AUXV): Remove.
20807 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20809 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20810 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20811 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20812 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20813 (__ASSUME_NETLINK_SUPPORT): Likewise.
20814 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20815 (__no_netlink_support): Remove conditional definition.
20816 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20818 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20819 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20820 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20821 (if_nameindex_ioctl): Remove.
20822 (if_nameindex_netlink): Do not handle __no_netlink_support.
20823 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20825 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20826 Remove conditional code.
20827 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20829 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20831 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20832 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20833 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20835 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20836 [!__ASSUME_STD_AUXV]: Remove conditional code.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20838 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20839 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20841 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20842 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20844 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20847 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20854 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20857 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20858 code unconditional.
20859 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20861 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20863 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20866 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20868 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20871 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20872 code unconditional.
20873 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20875 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20877 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20880 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20881 code unconditional.
20882 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20884 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20886 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20889 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20891 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20892 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20893 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20894 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20895 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20896 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20897 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20898 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20899 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20900 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20901 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20902 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20903 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20904 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20906 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20907 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20909 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20911 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20912 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20915 2012-07-25 Florian Weimer <fweimer@redhat.com>
20917 * Versions.def: Add GLIBC_2.17.
20918 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20919 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20920 Introduce __libc_secure_getenv.
20921 * stdlib/Versions (2.17): Add secure_getenv
20922 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20923 * stdlib/secure-getenv.c: Rename __secure_getenv to
20924 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20925 symbol __secure_getenv for GLIBC_2.0.
20926 * stdlib/tst-secure-getenv.c: New.
20927 * stdlib/Makefile (tests): Add testcase.
20928 * manual/startup.texi (Environment Access): Document
20930 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20931 __libc_secure_getenv.
20932 * inet/ruserpass.c (ruserpass): Likewise.
20933 * malloc/mtrace.c (mtrace): Likewise.
20934 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20935 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20936 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20937 * sysdeps/posix/tempname.c: Likewise. Evaluate
20938 HAVE_SECURE_GETENV.
20939 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20940 __secure_getenv to __libc_secure_getenv.
20941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20954 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20956 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20957 (struct La_i86_retval): Likewise.
20958 (struct La_x86_64_regs): Likewise.
20959 (struct La_x86_64_retval): Likewise.
20960 (struct La_x32_regs): Likewise.
20961 (struct La_x32_retval): Likewise.
20962 (struct La_ppc32_regs): Likewise.
20963 (struct La_ppc32_retval): Likewise.
20964 (struct La_ppc64_regs): Likewise.
20965 (struct La_ppc64_retval): Likewise.
20966 (struct La_sh_regs): Likewise.
20967 (struct La_sh_retval): Likewise.
20968 (struct La_s390_32_regs): Likewise.
20969 (struct La_s390_32_retval): Likewise.
20970 (struct La_s390_64_regs): Likewise.
20971 (struct La_s390_64_retval): Likewise.
20972 (struct La_sparc32_regs): Likewise.
20973 (struct La_sparc32_retval): Likewise.
20974 (struct La_sparc64_regs): Likewise.
20975 (struct La_sparc64_retval): Likewise.
20976 (struct audit_ifaces): Remove architecture-specific pltenter and
20978 * sysdeps/i386/ldsodefs.h: New file.
20979 * sysdeps/powerpc/ldsodefs.h: Likewise.
20980 * sysdeps/s390/ldsodefs.h: Likewise.
20981 * sysdeps/sh/ldsodefs.h: Likewise.
20982 * sysdeps/sparc/ldsodefs.h: Likewise.
20983 * sysdeps/x86_64/ldsodefs.h: Likewise.
20985 2012-07-25 Marek Polacek <polacek@redhat.com>
20988 * math/libm-test.inc (yn_test): Add another test.
20989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20990 to ERANGE when the result is +-Inf.
20991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20992 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20993 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20994 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20996 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20998 * conform/data/time.h-data (NULL): Use macro-constant. Require
21000 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21002 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21004 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21006 * configure.in <sysdeps resolving>: Correct printing
21008 * configure: Regenerate.
21010 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21012 * math/w_ilogb.c: Include <limits.h>.
21013 * math/w_ilogbl.c: Likewise.
21015 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21017 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21018 va_copy. Document allowing for unavailable va_copy only as
21019 pre-C99 compatibility.
21020 * manual/string.texi (Copying and Concatenation): Use va_copy
21021 instead of __va_copy in concat example.
21023 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21025 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21026 (__sendto): Use create_address_port. Initialize APORT and deallocate
21029 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21030 with O_NOLINK passed to __file_name_lookup.
21032 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21033 with O_NOLINK passed to __file_name_lookup.
21035 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21036 negative N or less than NGIDS.
21038 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21039 type to string_t. Set ERANGE as errno and return it if NAME is not big
21040 enough. Use memcpy instead of strncpy.
21042 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21044 * elf/Makefile (check-data): Remove.
21045 (localplt.data): New vpath directive.
21046 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21047 instead of $(check-data).
21048 * scripts/data/localplt-generic.data: Move to ...
21049 * sysdeps/generic/localplt.data: ... here.
21050 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21051 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21052 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21055 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21058 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21061 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21064 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21067 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21071 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21073 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21074 PPC32 and PPC64 files.
21075 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21076 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21078 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21080 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21081 __makecontext_ret to ...
21082 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21083 ... here and call exit if uc_link is NULL. New file.
21084 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21085 __makecontext_ret.S.
21086 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21087 __makecontext_ret to ...
21088 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21089 ... here and call exit if uc_link is NULL. New file.
21090 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21091 __makecontext_ret.S.
21093 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21095 * elf/elf.h (R_390_IRELATIVE): New definition.
21096 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21097 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21098 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21100 (elf_machine_lazy_rel): Likewise.
21101 * sysdeps/s390/dl-irel.h: New file.
21102 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21103 * sysdeps/s390/s390-64/memset.S: New asm code.
21104 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21105 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21107 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21108 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21109 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21111 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21112 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21113 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21114 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21115 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21116 * sysdeps/s390/s390-32/memset.S: New asm code.
21117 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21119 2012-07-17 Marek Polacek <polacek@redhat.com>
21122 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21123 * sysdeps/s390/s390-64/configure.in: Likewise.
21124 * sysdeps/sparc/configure.in: Likewise.
21125 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21126 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21127 * sysdeps/i386/configure.in: Likewise.
21128 * sysdeps/x86_64/configure.in: Likewise.
21129 * sysdeps/sh/configure.in: Likewise.
21130 * sysdeps/s390/s390-32/configure: Regenerated.
21131 * sysdeps/s390/s390-64/configure: Likewise.
21132 * sysdeps/x86_64/configure: Likewise.
21133 * sysdeps/sh/configure: Likewise.
21134 * sysdeps/powerpc/powerpc64/configure: Likewise.
21135 * sysdeps/powerpc/powerpc32/configure: Likewise.
21136 * sysdeps/sparc/configure: Likwise.
21137 * sysdeps/i386/configure: Likewise.
21139 * elf/dl-open.c: Comment fixes.
21141 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21143 * Makefile [CXX] (check-data): Remove.
21144 [CXX] (c++-types.data): New vpath directive.
21145 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21146 vpath. Do not allow for C++ type data being missing.
21147 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21148 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21149 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21150 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21151 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21152 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21153 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21156 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21159 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21162 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21165 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21168 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21171 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21174 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21177 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21178 definitions to architecture-specific files.
21179 (TLS_IE): Likewise.
21180 (TLS_LD): Likewise.
21181 (TLS_GD): Likewise.
21182 * sysdeps/i386/tls-macros.h: New file.
21183 * sysdeps/powerpc/tls-macros.h: Likewise.
21184 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21185 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21186 * sysdeps/sh/tls-macros.h: Likewise.
21187 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21188 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21189 * sysdeps/x86_64/tls-macros.h: Likewise.
21191 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21194 zero value for regular exit case.
21196 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21197 (__start_context): Preserve zero value for regular exit case.
21199 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21200 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21202 * manual/setjmp.texi (setcontext): Clarify normal process
21203 termination when uc_link is the null pointer.
21204 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21207 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21209 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21210 preprocessor. Test for each exception mask separately.
21212 2012-07-16 Andreas Jaeger <aj@suse.de>
21214 * po/ru.po: Update from translation team.
21216 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21218 * conform/data/string.h-data (NULL): Use macro-constant. Require
21220 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21221 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21222 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21223 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21226 2012-07-13 Andreas Jaeger <aj@suse.de>
21228 * po/fr.po: Update from translation team.
21230 2012-07-12 Marek Polacek <polacek@redhat.com>
21233 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21234 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21237 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21241 Change to 2.4.1 where previously 2.4.0.
21242 * sysdeps/unix/sysv/linux/configure: Regenerated.
21243 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21244 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21246 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21247 (__ASSUME_AT_CLKTCK): Remove.
21248 (__ASSUME_AT_PAGESIZE): Likewise.
21249 (__ASSUME_AT_XID): Likewise.
21250 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21251 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21252 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21254 (HAVE_AUX_PAGESIZE): Likewise.
21255 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21256 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21257 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21259 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21263 the temporary buffer used to invoke __gethostbyname2_r,
21264 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21265 host_data / struct gaih_addrtuple.
21266 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21267 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21268 header file nss/nsswitch.h.
21269 * nss/nsswitch.h (global scope): Add definition of implementation
21270 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21271 resolv/nss_dns/dns-host.c).
21273 2012-07-11 Andreas Jaeger <aj@suse.de>
21275 * po/fr.po: Update from translation team.
21277 * po/sv.po: Update from translation team
21278 * po/fr.po: Another update from translation team.
21280 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21283 for subnormals or multiply small sinh result by itself.
21284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21287 2012-07-11 David S. Miller <davem@davemloft.net>
21289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21291 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21294 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21295 (INTERNAL_MARK): Shift it here.
21297 2012-07-10 Marek Polacek <polacek@redhat.com>
21300 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21301 libc_cv_asm_global_directive with .globl.
21302 * configure: Regenerated.
21303 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21305 * sysdeps/i386/configure: Regenerated.
21306 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21308 * sysdeps/x86_64/configure: Regenerated.
21309 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21310 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21311 * elf/tst-unique2mod2.c: Likewise.
21312 * elf/tst-unique2mod1.c: Likewise.
21313 * elf/tst-unique1mod2.c: Likewise.
21314 * elf/tst-unique1mod1.c: Likewise.
21315 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21317 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21318 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21319 * sysdeps/mach/sysdep.h: Likewise.
21320 * sysdeps/i386/sysdep.h: Likewise.
21321 * sysdeps/i386/i386-mcount.S: Likewise.
21322 * sysdeps/x86_64/_mcount.S: Likewise.
21323 * sysdeps/x86_64/sysdep.h: Likewise.
21324 * sysdeps/sh/_mcount.S: Likewise.
21325 * sysdeps/sh/sysdep.h: Likewise.
21326 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21327 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21329 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21330 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21331 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21333 * locale/localeinfo.h: Likewise.
21334 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21335 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21337 2012-07-09 Roland McGrath <roland@hack.frob.com>
21340 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21342 * manual/message.texi (The Uniforum approach): Likewise.
21343 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21344 (glibc iconv Implementation): Likewise.
21346 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21349 * math/s_clog.c (__clog): Avoid scaling a value down where that
21350 could result in underflow.
21351 * math/s_clog10.c (__clog10): Likewise.
21352 * math/s_clog10f.c (__clog10f): Likewise.
21353 * math/s_clog10l.c (__clog10l): Likewise.
21354 * math/s_clogf.c (__clogf): Likewise.
21355 * math/s_clogl.c (__clogl): Likewise.
21356 * math/libm-test.inc (clog_test): Add more tests.
21357 (clog10_test): Likewise.
21358 * sysdeps/i386/fpu/libm-test-ulps: Update.
21359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21361 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21364 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21365 by 7 not 8 to examine high bit of fractional part.
21368 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21369 for call to __mcount_internal.
21370 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21371 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21372 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21374 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21377 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21378 approximation for values within 0x1p-13f of an odd multiple of
21380 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21381 exception. Add more tests.
21382 * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21386 inputs and return -1 for them. Do not check for +Inf in case not
21387 reachable for +Inf.
21388 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21389 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21391 and return -1 for them. Do not check for +Inf in case not
21392 reachable for +Inf.
21393 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21396 and return -1 for them. Do not check for +Inf in case not
21397 reachable for +Inf.
21398 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21399 spurious underflow.
21400 * sysdeps/i386/fpu/libm-test-ulps: Update.
21401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21403 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21405 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21407 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21411 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21412 could result in spurious underflow. Scale down values above
21413 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21414 * math/s_csqrtf.c (__csqrtf): Likewise.
21415 * math/s_csqrtl.c (__csqrtl): Likewise.
21416 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21417 spurious underflow.
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21421 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21423 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21425 * catgets/xopen-msg.awk: New file.
21426 * catgets/xopen-msg.sed: Removed.
21428 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21430 * intl/po2test.awk: New file.
21431 * intl/po2test.sed: Removed.
21433 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21436 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21437 or multiply small sinh result by itself.
21438 * math/s_ctanf.c (__ctanf): Likewise.
21439 * math/s_ctanh.c (__ctanh): Likewise.
21440 * math/s_ctanhf.c (__ctanhf): Likewise.
21441 * math/s_ctanhl.c (__ctanhl): Likewise.
21442 * math/s_ctanl.c (__ctanl): Likewise.
21443 * math/libm-test.inc (ctan_test_tonearest): New function.
21444 (ctan_test_towardzero): Likewise.
21445 (ctan_test_downward): Likewise.
21446 (ctan_test_upward): Likewise.
21447 (ctanh_test_tonearest): Likewise.
21448 (ctanh_test_towardzero): Likewise.
21449 (ctanh_test_downward): Likewise.
21450 (ctanh_test_upward): Likewise.
21451 (main): Call these new functions.
21452 * sysdeps/i386/fpu/libm-test-ulps: Update.
21453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21457 * .gitignore: Delete /ports entry.
21459 2012-07-03 Andreas Jaeger <aj@suse.de>
21461 * po/bg.po: Update from translation team.
21462 * po/cs.po: Likewise.
21463 * po/de.po: Likewise.
21464 * po/hr.po: Likewise.
21465 * po/nl.pl: Likewise.
21466 * po/pl.po: Likewise.
21467 * po/vi.po: Likewise.
21469 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21471 * Makeconfig [!+link] (+link-before-libc): New variable.
21472 [!+link] (+link-after-libc): Likewise.
21473 [!+link] (+link-tests): Likewise.
21474 [!+link] (+link): Define in terms of $(+link-before-libc) and
21475 $(+link-after-libc).
21476 [!+link-static] (+link-static-before-libc): New variable.
21477 [!+link-static] (+link-static-after-libc): Likewise.
21478 [!+link-static] (+link-static-tests): Likewise.
21479 [!+link-static] (+link-static): Define in terms of
21480 $(+link-static-before-libc) and $(+link-static-after-libc).
21481 [build-shared] (link-libc-before-gnulib): New variable.
21482 [build-shared] (link-libc-tests): Likewise.
21483 [build-shared] (link-libc): Define in terms of
21484 $(link-libc-before-gnulib).
21485 [!build-shared] (link-libc-tests): New variable.
21486 (link-libc-static-tests): New variable.
21487 [!gnulib] (gnulib-arch): New variable.
21488 [!gnulib] (gnulib-tests): Likewise.
21489 [!gnulib] (static-gnulib-arch): Likewise.
21490 [!gnulib] (static-gnulib-tests): Likewise.
21491 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21492 Define with "=" instead of ":=".
21493 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21494 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21495 * Rules (binaries-all-notests): New variable.
21496 (binaries-all-tests): Likewise.
21497 (binaries-static-notests): Likewise.
21498 (binaries-static-tests): Likewise.
21499 (binaries-all): Define using $(binaries-all-notests) and
21500 $(binaries-all-tests).
21501 (binaries-static): Define using $(binaries-static-notests) and
21502 $(binaries-static-tests).
21503 (binaries-shared-tests): New variable.
21504 (binaries-shared-notests): Likewise.
21505 (binaries-shared): Remove variable.
21506 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21507 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21508 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21509 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21510 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21511 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21512 * elf/Makefile (sln-modules): New variable.
21513 (extra-objs): Add $(sln-modules:=.o).
21514 (ldconfig-modules): Add static-stubs.
21515 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21516 * elf/static-stubs.c: New file.
21519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21520 by 7 not 8 to examine high bit of fractional part. Use volatile
21521 variables when splitting into final array of floats if
21522 __FLT_EVAL_METHOD__ != 0.
21523 * math/libm-test.inc (cos_test): Add another test.
21524 (sin_test): Likewise.
21525 * sysdeps/i386/fpu/libm-test-ulps: Update.
21528 * math/libm-test.inc (cosh_test): Add more tests.
21530 * version.h (RELEASE): Set to "development".
21531 (VERSION): Set to "2.16.90".
21533 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21535 * NEWS: Update copyright. Remove last-updated date.
21536 Mention math library bug fixes and timezone data changes.
21537 * README: Mention GNU/Hurd, x32, and HPPA support status.
21539 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21541 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21543 2012-06-27 Andreas Jaeger <aj@suse.de>
21545 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21547 2012-06-25 Andreas Jaeger <aj@suse.de>
21549 * sysdeps/s390/fpu/libm-test-ulps: Update.
21551 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21552 Thomas Schwinge <thomas@codesourcery.com>
21554 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21555 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21559 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21561 * sysdeps/mach/start.c: Remove file.
21562 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21563 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21564 * sysdeps/sh/init-first.c: Likewise.
21566 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21567 registers for frame unwinding purposes, add CFI directives.
21568 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21570 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21573 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21574 __fortify_fail returning.
21575 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21578 sysdeps/sh/____longjmp_chk.S.
21579 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21580 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21581 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21582 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21584 * sysdeps/sh/abort-instr.h: New file.
21585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21586 process in case exit returns.
21588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21589 initialize the GOT register before use.
21591 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21592 calculation of ARGC > 4.
21594 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21595 meaningful names to some local labels.
21597 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21598 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21600 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21601 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21602 (__arch_compare_and_exchange_val_16_acq): Likewise.
21603 (__arch_compare_and_exchange_val_32_acq): Likewise.
21604 (atomic_exchange_and_add): Fix gUSA sequence.
21605 (atomic_add): Likewise.
21606 (atomic_add_negative): Likewise.
21607 (atomic_add_zero): Likewise.
21608 (atomic_bit_test_set): Likewise.
21610 2012-06-22 Andreas Schwab <schwab@redhat.com>
21613 * include/link.h (struct link_map): Add l_free_initfini.
21614 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21616 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21617 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21618 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21621 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21623 * configure.in: Use AC_LANG_SOURCE.
21624 * configure: Regenerate.
21626 2012-06-22 Roland McGrath <roland@hack.frob.com>
21628 * configure.in (libc_cv_localstatedir): New substituted variable.
21629 * configure: Regenerated.
21630 * config.make.in (localstatedir): New variable, substituted from
21631 libc_cv_localstatedir.
21632 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21633 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21634 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21635 * sysdeps/gnu/configure: Regenerated.
21637 2012-06-21 Jeff Law <law@redhat.com>
21640 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21641 free. Simplify list management for _LIBC case.
21643 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21646 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21647 Clear sign bit of 64-bit integer value before comparing against
21650 * sysdeps/mach/configure: Regenerated.
21652 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21655 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21657 2012-06-21 Jeff Law <law@redhat.com>
21660 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21661 uint16_t for elements in the "seen" array to avoid char overflows.
21662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21663 * elf/dl-open.c (dl_open_worker): Likewise.
21665 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21667 * scripts/list-sources.sh: Scan PORTS for translations.
21668 * po/libc.pot: Regenerated.
21670 2012-06-21 Andreas Jaeger <aj@suse.de>
21673 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21675 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21676 * bits/byteswap-16.h (__bswap_16): Likewise.
21677 * bits/byteswap.h (__bswap_constant_16): Likewise.
21679 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21682 * sysdeps/i386/fpu_control.h: Removed.
21683 * sysdeps/x86_64/fpu_control.h: Moved to ...
21684 * sysdeps/x86/fpu_control.h: Here.
21686 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21687 (_FPU_SETCW): Likewise.
21689 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21692 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21693 * sysdeps/x86/fpu/bits/mathinline.h: This.
21694 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21698 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21699 functions if __x86_64__ is defined.
21701 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21703 * string/endian.h: Add !__ASSEMBLER__ condition for including
21704 conversion interfaces.
21706 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21710 of ABS(x) in calculating zero to negative powers other than odd
21712 * math/libm-test.inc (pow_test): Add more tests.
21714 2012-06-15 Andreas Jaeger <aj@suse.de>
21716 * manual/contrib.texi (Contributors): Update entry of Liubov
21717 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21720 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21722 * string/string.h: Add __wur to GNU version of strerror_r.
21724 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21727 * string/Makefile (tests): Add tst-strtok_r.
21728 * string/tst-strtok_r.c: New file.
21729 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21730 RAX_LP/RDX_LP on SAVE_PTR.
21732 2012-06-14 Roland McGrath <roland@hack.frob.com>
21734 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21736 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21738 * libm_test.inc (csqrt_test): Allow more spurious underflow
21740 (j0_test): Likewise.
21741 (j1_test): Likewise.
21742 (y0_test): Likewise.
21743 (y1_test): Likewise.
21745 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21747 * po/Makefile (libc.pot): Use UTF-8 charset.
21749 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21752 Suppress sign-conversion warning from FD_SET.
21753 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21754 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21755 not unsigned long int.
21756 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21758 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21762 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21763 __extern_always_inline instead of __extern_inline.
21764 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21765 (__signbit): Likewise.
21766 (__signbitl): Support C++ namespace.
21767 (lrintf): New inline function.
21769 (llrintf): Likewise.
21770 (llrint): Likewise.
21780 (floorf): Likewise.
21781 (nearbyint): Likewise.
21782 (nearbyintf): Likewise.
21784 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21787 non-default versions.
21789 2012-06-11 Roland McGrath <roland@hack.frob.com>
21792 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21794 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21796 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21797 (FE_UPWARD, FE_DOWNWARD): Don't define.
21798 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21799 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21803 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21806 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21808 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21810 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21811 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21813 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21816 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21817 * sysdeps/i386/fpu/Implies: New file.
21818 * sysdeps/x86_64/fpu/Implies: Likewise.
21819 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21820 * sysdeps/x86/fpu/bits/fenv.h: This.
21822 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21825 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21828 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21829 character 0xffff that matches the last element of the
21832 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21837 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21839 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21840 values higher than 25.6283.
21842 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21845 subnormal exponent extraction and add some __builtin_expect.
21846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21847 Fix for subnormal mantissa calculation.
21849 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21851 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21852 cpu2 is -1 and errno is not ENOSYS.
21854 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21857 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21858 * sysdeps/x86/bits/string.h: This.
21859 * sysdeps/x86_64/bits/string.h: Removed.
21861 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21862 if not compiling for x86-64, but compiling for >= i486.
21864 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21865 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21868 New macro from Linux kernel 3.4.0.
21869 (FP_XSTATE_MAGIC2): Likewise.
21870 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21871 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21872 (struct _fpx_sw_bytes): New struct.
21873 (struct _xsave_hdr): Likewise.
21874 (struct _ymmh_state): Likewise.
21875 (struct _xstate): Likewise.
21877 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21878 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21879 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21880 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21881 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21882 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21884 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21886 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21887 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21888 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21889 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21891 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21894 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21895 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21896 (sysdep_headers): Include sys/platform/ppc.h.
21897 * sysdeps/powerpc/test-gettimebase.c: Test for
21898 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21899 * manual/Makefile (appendices): Include platform.texi.
21900 * manual/contrib.texi (Contributors): Update @node pointers.
21901 * manual/maint.texi (Maintenance): Likewise.
21902 (Platform): New node.
21903 * manual/platform.texi: New file. Document the new features.
21905 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21906 Jakub Jelinek <jakub@redhat.com>
21909 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21910 where __builtin_expect is unavailable.
21912 2012-06-03 David S. Miller <davem@davemloft.net>
21914 * stdlib/longlong.h: Updated from GCC.
21916 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21919 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21920 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21923 (GLIBC_2.16): Likewise.
21925 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21927 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21929 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21932 (default-abi): New variable.
21933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21934 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21936 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21938 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21940 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21943 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21944 definition. Document in comment.
21946 2012-06-01 David S. Miller <davem@davemloft.net>
21948 * stdlib/longlong.h: Updated from GCC.
21950 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21953 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21954 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21955 sys/debugreg.h sys/io.h here.
21956 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21957 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21959 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21960 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21961 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21962 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21963 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21964 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21966 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21967 Define only if __x86_64__ is defined.
21969 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21973 Use int64_t for variable i.
21974 * math/libm-test.inc (fmod_test): Add more tests.
21976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21977 z computation is not scheduled after fetestexcept.
21978 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21979 Use math_force_eval instead of asm to ensure calculation scheduled
21980 before exception test.
21981 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21982 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21984 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21987 computation is not scheduled after fetestexcept.
21989 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21992 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21993 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21995 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21997 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22000 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22005 (__WCHAR_MIN): Support __WORDSIZE == 64.
22006 (__WCHAR_MAX): Likewise.
22008 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22013 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22016 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22019 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22020 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22023 Defined to 1 if __x86_64__ isn't defined.
22024 (_STAT_VER_LINUX_OLD): New.
22025 (st_atime): Remove duplicate.
22026 (st_mtime): Likewise.
22027 (st_ctime): Likewise.
22029 2012-05-31 David S. Miller <davem@davemloft.net>
22031 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22034 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22036 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22040 * elf/dl-reloc.c: Include <_itoa.h>.
22041 (_dl_reloc_bad_type): Remove use of INTUSE.
22042 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22043 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22044 * stdio-common/psiginfo.c (psiginfo): Likewise.
22045 * stdio-common/psignal.c (psignal): Likewise.
22046 * string/strsignal.c (strsignal): Likewise.
22047 * include/signal.h (_sys_siglist): Declare hidden proto.
22048 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22049 INTVARDEF with libc_hidden_data_def.
22050 * stdio-common/itoa-udigits.c: Likewise.
22051 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22052 (_itoa_lower_digits_internal): Remove declaration.
22053 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22054 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22055 (_sys_sigabbrev_internal): Remove aliases.
22056 (_sys_siglist): Define hidden alias.
22058 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22063 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22066 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22067 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22069 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22070 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22071 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22072 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22074 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22076 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22093 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22095 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22096 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22097 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22099 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22100 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22102 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22103 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22109 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22110 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22112 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22114 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22116 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22118 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22120 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22122 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22124 * math/math.h (M_El): Use two more decimal places.
22125 (M_LOG2El): Likewise.
22126 (M_LOG10El): Likewise.
22127 (M_LN2l): Likewise.
22128 (M_LN10l): Likewise.
22130 (M_PI_2l): Likewise.
22131 (M_PI_4l): Likewise.
22132 (M_1_PIl): Likewise.
22133 (M_2_PIl): Likewise.
22134 (M_2_SQRTPIl): Likewise.
22135 (M_SQRT2l): Likewise.
22136 (M_SQRT1_2l): Likewise.
22138 2012-05-31 David S. Miller <davem@davemloft.net>
22140 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22141 values between float registers.
22142 * sysdeps/sparc/sparc64/memset.S: Likewise.
22143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22145 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22147 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22148 -D_FORTIFY_SOURCE=1.
22149 (CPPFLAGS-tst-longjmp_chk.c): Define.
22150 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22151 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22152 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22153 CFLAGS-tst-wchar-h.c.
22155 2012-05-31 Marek Polacek <polacek@redhat.com>
22158 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22159 __endmntent_internal): Remove declaration.
22160 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22161 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22162 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22164 2012-05-30 David S. Miller <davem@davemloft.net>
22166 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22167 (___Q_simulate_exceptions): Use real FP ops rather than writing
22169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22172 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22175 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22176 * sysdeps/x86/bits/xtitypes.h: This.
22178 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22179 * sysdeps/x86/bits/wordsize.h: This.
22181 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22182 * sysdeps/x86/bits/huge_vall.h: This.
22184 * sysdeps/i386/bits/select.h: Removed.
22185 * sysdeps/x86_64/bits/select.h: Renamed to ...
22186 * sysdeps/x86/bits/select.h: This.
22188 * sysdeps/i386/bits/setjmp.h: Removed.
22189 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22190 * sysdeps/x86/bits/setjmp.h: This.
22192 * sysdeps/i386/bits/mathdef.h: Removed.
22193 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22194 * sysdeps/x86/bits/mathdef.h: This.
22196 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22199 * include/sys/socket.h (__connect_internal)
22200 (__libc_sa_len_internal): Remove declaration.
22201 (__connect, __libc_sa_len): Declare hidden_proto.
22202 (SA_LEN): Remove use of INTUSE.
22203 * socket/connect.c: Add libc_hidden_def.
22204 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22205 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22206 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22208 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22209 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22210 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22211 of adding _internal alias.
22213 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22216 * sysdeps/i386/bits/link.h: Removed.
22217 * sysdeps/i386/bits/linkmap.h: Likewise.
22218 * sysdeps/x86_64/bits/link.h: Renamed to ...
22219 * sysdeps/x86/bits/link.h: This.
22220 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22221 * sysdeps/x86/bits/linkmap.h: This.
22223 * sysdeps/i386/bits/endian.h: Removed.
22224 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22225 * sysdeps/x86/bits/endian.h: This.
22227 * sysdeps/i386/bits/byteswap.h: Removed.
22228 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22229 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22230 * sysdeps/x86/bits/byteswap.h: This.
22231 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22232 * sysdeps/x86/bits/byteswap-16.h: This.
22233 * sysdeps/i386/Implies: Add x86.
22234 * sysdeps/x86_64/Implies: Likewise.
22236 2012-05-30 David S. Miller <davem@davemloft.net>
22238 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22239 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22241 (FP_TRAPPING_EXCEPTIONS): Define.
22242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22243 (FP_TRAPPING_EXCEPTIONS): Define.
22244 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22245 subnormals only when inexact has been signalled or underflow
22246 exceptions are enabled.
22247 (_FP_PACK_CANONICAL): Likewise.
22249 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22253 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22255 2012-05-30 Richard Henderson <rth@twiddle.net>
22257 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22258 with #ifndef NOT_IN_libc.
22260 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22261 marked to avoid plt entry.
22263 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22266 * Makeconfig (default-abi): New macro.
22267 (abi-includes): Likewise.
22268 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22269 $(abi-$(default-abi)-lib-soname) for soname if defined.
22270 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22272 * Makefile (installed-stubs): Likewise.
22273 * include/stubs-biarch.h: Removed.
22274 * scripts/lib-names.awk: Only handle one library at a time.
22275 * scripts/soversions.awk: Remove WORDSIZE support.
22276 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22280 (syscall-list-default-condition): Likewise.
22281 (syscall-list-default-condition): Likewise.
22282 (syscall-list-includes): Likewise.
22283 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22284 syscall-list-* with abi-*. Handle undefined abi-variants.
22285 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22286 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22287 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22288 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22289 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22290 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22292 (syscall-list-32-options): Likewise.
22293 (syscall-list-32-condition): Likewise.
22294 (syscall-list-64-options): Likewise.
22295 (syscall-list-64-condition): Likewise.
22296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22298 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22301 (abi-64-ld-soname): New macro.
22302 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22303 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22306 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22307 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22309 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22311 * sysdeps/unix/sysv/linux/kernel-features.h
22312 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22313 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22314 include <kernel-features.h>.
22315 [!__NR_ftruncate64]: Remove conditional code.
22316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22317 [__NR_ftruncate64]: Make code unconditional.
22318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22319 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22320 include <kernel-features.h>.
22321 [!__NR_ftruncate64]: Remove conditional code.
22322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22323 [__NR_ftruncate64]: Make code unconditional.
22324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22326 include <kernel-features.h>.
22327 [!__NR_ftruncate64]: Remove conditional code.
22328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22329 [__NR_ftruncate64]: Make code unconditional.
22330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22332 include <kernel-features.h>.
22333 [!__NR_ftruncate64]: Remove conditional code.
22334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22335 [__NR_ftruncate64]: Make code unconditional.
22336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22338 * configure.in (libc_cv_fpie): Weaken to a compile test using
22339 LIBC_TRY_CC_OPTION.
22340 * configure: Regenerated.
22342 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22357 2012-05-27 David S. Miller <davem@davemloft.net>
22359 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22361 (__Q_simulate_exceptions): Return void. Change to simulate
22362 exceptions by writing into the %fsr.
22363 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22364 (__Qp_handle_exceptions): Likewise.
22366 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22367 __Qp_handle_exceptions.
22368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22369 __Qp_handle_exceptions.
22370 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22371 as unused and give dummy FP_RND_NEAREST initializer.
22372 (FP_INHIBIT_RESULTS): Define.
22373 (___Q_simulate_exceptions): Update declaration.
22374 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22376 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22377 as unused and give dummy FP_RND_NEAREST initializer.
22378 (__Qp_handle_exceptions): Update declaration.
22379 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22382 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22385 the temporary FPU control word.
22386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22387 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22389 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22391 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22392 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22394 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22395 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22398 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22403 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22405 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22406 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22407 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22408 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22410 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22411 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22414 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22416 * po/h.po: Update from translation team.
22418 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22420 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22423 handling of denormals.
22424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22425 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22426 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22427 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22433 2012-05-26 Marek Polacek <polacek@redhat.com>
22436 * math/libm-test.inc (fma_test): Don't always expect underflow
22439 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22442 * elf/tst-execstack.c: Include stackinfo.h.
22443 (do_test): Adjust test case to ensure that pthread_getattr_np
22444 behaviour remains the same after marking stack executable.
22446 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22448 * sysdeps/unix/sysv/linux/kernel-features.h
22449 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22452 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22453 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22454 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22456 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22457 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22459 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22461 * configure.in: Define the default includes to being none.
22462 * configure: Regenerated.
22464 2012-05-25 Roland McGrath <roland@hack.frob.com>
22466 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22467 * sysdeps/x86_64/setjmp.S: Likewise.
22468 * sysdeps/i386/bsd-setjmp.S: Likewise.
22469 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22470 * sysdeps/i386/setjmp.S: Likewise.
22471 * sysdeps/i386/__longjmp.S: Likewise.
22472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22475 * include/stap-probe.h: New file.
22476 * configure.in: Handle --enable-systemtap.
22477 * configure: Regenerated.
22478 * config.h.in (USE_STAP_PROBE): New #undef.
22479 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22480 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22481 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22483 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22487 to 2.4.0 where earlier.
22488 * sysdeps/unix/sysv/linux/configure: Regenerated.
22489 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22490 <kernel-features.h>.
22491 [__ASSUME_32BITUIDS]: Make code unconditional.
22492 [!__ASSUME_32BITUIDS]: Remove conditional code.
22493 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22494 <kernel-features.h>.
22495 [__ASSUME_32BITUIDS]: Make code unconditional.
22496 [!__ASSUME_32BITUIDS]: Remove conditional code.
22497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22498 [__ASSUME_32BITUIDS]: Make code unconditional.
22499 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22500 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22501 <kernel-features.h>.
22502 [__ASSUME_32BITUIDS]: Make code unconditional.
22503 [!__ASSUME_32BITUIDS]: Remove conditional code.
22504 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22505 <kernel-features.h>.
22506 [__ASSUME_32BITUIDS]: Make code unconditional.
22507 [!__ASSUME_32BITUIDS]: Remove conditional code.
22508 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22509 <kernel-features.h>.
22510 [__ASSUME_32BITUIDS]: Make code unconditional.
22511 [!__ASSUME_32BITUIDS]: Remove conditional code.
22512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22513 <kernel-features.h>.
22514 [__ASSUME_32BITUIDS]: Make code unconditional.
22515 [!__ASSUME_32BITUIDS]: Remove conditional code.
22516 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22517 <kernel-features.h>.
22518 [__ASSUME_32BITUIDS]: Make code unconditional.
22519 [!__ASSUME_32BITUIDS]: Remove conditional code.
22520 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22521 <kernel-features.h>.
22522 [__ASSUME_32BITUIDS]: Make code unconditional.
22523 [!__ASSUME_32BITUIDS]: Remove conditional code.
22524 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22525 <kernel-features.h>.
22526 [__ASSUME_32BITUIDS]: Make code unconditional.
22527 [!__ASSUME_32BITUIDS]: Remove conditional code.
22528 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22529 <kernel-features.h>.
22530 [__ASSUME_32BITUIDS]: Make code unconditional.
22531 [!__ASSUME_32BITUIDS]: Remove conditional code.
22532 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22533 <kernel-features.h>.
22534 [__ASSUME_32BITUIDS]: Make code unconditional.
22535 [!__ASSUME_32BITUIDS]: Remove conditional code.
22536 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22537 <kernel-features.h>.
22538 [__ASSUME_32BITUIDS]: Make code unconditional.
22539 [!__ASSUME_32BITUIDS]: Remove conditional code.
22540 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22541 <kernel-features.h>.
22542 [__NR_setresgid] (__setresgid): Do not declare.
22543 [__ASSUME_32BITUIDS]: Make code unconditional.
22544 [!__ASSUME_32BITUIDS]: Remove conditional code.
22545 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22546 <kernel-features.h>.
22547 [__NR_setresuid] (__setresuid): Do not declare.
22548 [__ASSUME_32BITUIDS]: Make code unconditional.
22549 [!__ASSUME_32BITUIDS]: Remove conditional code.
22550 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22551 <kernel-features.h>.
22552 [__ASSUME_32BITUIDS]: Make code unconditional.
22553 [!__ASSUME_32BITUIDS]: Remove conditional code.
22554 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22555 <kernel-features.h>.
22556 [__ASSUME_32BITUIDS]: Make code unconditional.
22557 [!__ASSUME_32BITUIDS]: Remove conditional code.
22558 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22559 <kernel-features.h>.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22563 <kernel-features.h>.
22564 [__ASSUME_32BITUIDS]: Make code unconditional.
22565 [!__ASSUME_32BITUIDS]: Remove conditional code.
22566 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22567 <kernel-features.h>.
22568 [__ASSUME_32BITUIDS]: Make code unconditional.
22569 [!__ASSUME_32BITUIDS]: Remove conditional code.
22570 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22571 <kernel-features.h>.
22572 [__ASSUME_32BITUIDS]: Make code unconditional.
22573 [!__ASSUME_32BITUIDS]: Remove conditional code.
22574 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22575 <kernel-features.h>.
22576 [__ASSUME_32BITUIDS]: Make code unconditional.
22577 [!__ASSUME_32BITUIDS]: Remove conditional code.
22578 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22579 <kernel-features.h>.
22580 [__ASSUME_32BITUIDS]: Make code unconditional.
22581 [!__ASSUME_32BITUIDS]: Remove conditional code.
22582 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22583 <kernel-features.h>.
22584 [__ASSUME_32BITUIDS]: Make code unconditional.
22585 [!__ASSUME_32BITUIDS]: Remove conditional code.
22586 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22587 <kernel-features.h>.
22588 [__ASSUME_32BITUIDS]: Make code unconditional.
22589 [!__ASSUME_32BITUIDS]: Remove conditional code.
22590 * sysdeps/unix/sysv/linux/kernel-features.h
22591 (__ASSUME_SETRESUID_SYSCALL): Remove.
22592 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22593 (__ASSUME_32BITUIDS): Likewise.
22594 (__ASSUME_LDT_WORKS): Likewise.
22595 (__ASSUME_O_DIRECTORY): Likewise.
22596 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22597 architecture but not kernel version.
22598 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22599 (__ASSUME_MMAP2_SYSCALL): Likewise.
22600 (__ASSUME_STAT64_SYSCALL): Likewise.
22601 (__ASSUME_IPC64): Likewise.
22602 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22603 <kernel-features.h>.
22604 [__ASSUME_32BITUIDS]: Make code unconditional.
22605 [!__ASSUME_32BITUIDS]: Remove conditional code.
22606 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22607 <kernel-features.h>.
22608 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22609 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22610 132096]: Remove conditional code.
22611 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22613 <kernel-features.h>.
22614 [__ASSUME_32BITUIDS]: Make code unconditional.
22615 [!__ASSUME_32BITUIDS]: Remove conditional code.
22616 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22617 <kernel-features.h>.
22618 [__ASSUME_32BITUIDS]: Make code unconditional.
22619 [!__ASSUME_32BITUIDS]: Remove conditional code.
22620 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22621 <kernel-features.h>.
22622 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22624 (__setresgid): Do not declare.
22625 [__ASSUME_32BITUIDS]: Make code unconditional.
22626 [!__ASSUME_32BITUIDS]: Remove conditional code.
22627 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22628 <kernel-features.h>.
22629 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22631 (__setresuid): Do not declare.
22632 [__ASSUME_32BITUIDS]: Make code unconditional.
22633 [!__ASSUME_32BITUIDS]: Remove conditional code.
22634 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22635 <kernel-features.h>.
22636 [__ASSUME_32BITUIDS]: Make code unconditional.
22637 [!__ASSUME_32BITUIDS]: Remove conditional code.
22638 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22639 <kernel-features.h>.
22640 [__ASSUME_32BITUIDS]: Make code unconditional.
22641 [!__ASSUME_32BITUIDS]: Remove conditional code.
22643 2012-05-25 Richard Henderson <rth@twiddle.net>
22645 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22646 dl_hwcap to ifunc resolver.
22647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22650 dl_hwcap to ifunc resolver.
22651 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22653 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22656 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22657 for |x| <= 2**-26, not 2**-57.
22658 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22661 2012-05-24 Jeff Law <law@redhat.com>
22663 * stdio-common/Makefile (tests): Add bug25.
22664 * stdio-common/bug25.c: New test.
22666 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22669 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22670 multiple of MALLOC_ALIGNMENT in size.
22671 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22673 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22675 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22677 (FILENAME_MAX): Use macro-int-constant.
22678 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22679 (_IOFBF): Use macro-int-constant.
22680 (_IOLBF): Likewise.
22681 (_IONBF): Likewise.
22682 (SEEK_CUR): Likewise.
22683 (SEEK_END): Likewise.
22684 (SEEK_SET): Likewise.
22685 (TMP_MAX): Likewise.
22686 (EOF): Use macro-int-constant. Require < 0.
22687 (NULL): Use macro-constant. Require == 0.
22688 (stdin): Require type to be FILE *.
22689 (stdout): Likewise.
22690 (stderr): Likewise.
22691 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22692 macro-int-constant.
22693 (EXIT_SUCCESS): Likewise.
22694 (NULL): Use macro-constant. Require == 0.
22695 (RAND_MAX): Use macro-int-constant.
22696 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22697 [C99-based standards] (strtof): Require function.
22698 [C99-based standards] (strtold): Likewise.
22699 [C99-based standards] (strtoll): Likewise.
22700 [C99-based standards] (strtoull): Likewise.
22701 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22702 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22703 [ISO || ISO99 || ISO11] (math.h): Likewise.
22704 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22705 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22708 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22711 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22712 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22713 * intl/dgettext.c (DCGETTEXT): Likewise.
22714 * intl/gettext.c (DCGETTEXT): Likewise.
22715 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22716 * posix/regex_internal.h (gettext): Likewise.
22717 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22718 Remove declaration.
22719 * include/argz.h (__argz_count_internal)
22720 (__argz_stringify_internal): Remove declaration.
22721 (__argz_count, __argz_stringify): Declare hidden proto.
22722 * intl/dcgettext.c: Remove use of INTDEF.
22723 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22724 * string/argz-stringify.c: Likewise.
22725 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22726 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22727 Declare hidden proto.
22728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22730 Declare hidden proto.
22731 * include/stdio.h (__asprintf_internal): Don't declare.
22732 (__asprintf): Don't define as macro. Declare hidden proto.
22733 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22734 (__fsetlocking): Declare hidden proto.
22735 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22736 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22738 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22739 (_IO_setlinebuf): Remove use of INTUSE.
22740 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22741 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22742 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22743 Remove declaration.
22744 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22745 (_IO_do_flush): Remove use of INTUSE.
22746 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22747 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22748 (_IO_adjust_column, _IO_least_wmarker)
22749 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22750 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22751 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22752 (_IO_default_doallocate, _IO_wdefault_doallocate)
22753 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22754 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22755 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22756 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22757 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22758 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22759 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22760 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22761 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22762 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22763 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22764 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22765 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22767 (_IO_flush_all_internal, _IO_adjust_column_internal)
22768 (_IO_default_uflow_internal, _IO_default_finish_internal)
22769 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22770 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22771 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22772 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22773 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22774 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22775 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22776 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22777 (_IO_file_close_internal, _IO_file_close_it_internal)
22778 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22779 (_IO_file_init_internal, _IO_file_attach_internal)
22780 (_IO_file_fopen_internal, _IO_file_read_internal)
22781 (_IO_file_sync_internal, _IO_file_seek_internal)
22782 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22783 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22784 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22785 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22786 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22787 (_IO_list_all_internal, _IO_link_in_internal)
22788 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22789 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22790 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22791 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22792 (_IO_do_write_internal, _IO_padn_internal)
22793 (_IO_getline_info_internal, _IO_getline_internal)
22794 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22795 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22796 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22797 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22798 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22799 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22800 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22801 with libc_hidden_ver, remove use of INTUSE.
22802 * libio/genops.c: Likewise.
22803 * libio/freopen.c: Likewise.
22804 * libio/freopen64.c: Likewise.
22805 * libio/iofclose.c: Likewise.
22806 * libio/iofdopen.c: Likewise.
22807 * libio/iofflush.c: Likewise.
22808 * libio/iofflush_u.c: Likewise.
22809 * libio/iofgets.c: Likewise.
22810 * libio/iofgets_u.c: Likewise.
22811 * libio/iofopen.c: Likewise.
22812 * libio/iofopncook.c: Likewise.
22813 * libio/iofread.c: Likewise.
22814 * libio/iofread_u.c: Likewise.
22815 * libio/ioftell.c: Likewise.
22816 * libio/iofwrite.c: Likewise.
22817 * libio/iogetline.c: Likewise.
22818 * libio/iogets.c: Likewise.
22819 * libio/iogetwline.c: Likewise.
22820 * libio/iopadn.c: Likewise.
22821 * libio/iopopen.c: Likewise.
22822 * libio/ioseekoff.c: Likewise.
22823 * libio/ioseekpos.c: Likewise.
22824 * libio/iosetbuffer.c: Likewise.
22825 * libio/iosetvbuf.c: Likewise.
22826 * libio/ioungetc.c: Likewise.
22827 * libio/ioungetwc.c: Likewise.
22828 * libio/iovdprintf.c: Likewise.
22829 * libio/iovsprintf.c: Likewise.
22830 * libio/iovsscanf.c: Likewise.
22831 * libio/memstream.c: Likewise.
22832 * libio/obprintf.c: Likewise.
22833 * libio/oldfileops.c: Likewise.
22834 * libio/oldiofclose.c: Likewise.
22835 * libio/oldiofdopen.c: Likewise.
22836 * libio/oldiofopen.c: Likewise.
22837 * libio/oldiopopen.c: Likewise.
22838 * libio/oldstdfiles.c: Likewise.
22839 * libio/putc.c: Likewise.
22840 * libio/setbuf.c: Likewise.
22841 * libio/setlinebuf.c: Likewise.
22842 * libio/stdfiles.c: Likewise.
22843 * libio/strops.c: Likewise.
22844 * libio/vasprintf.c: Likewise.
22845 * libio/vscanf.c: Likewise.
22846 * libio/vsnprintf.c: Likewise.
22847 * libio/vswprintf.c: Likewise.
22848 * libio/wfiledoalloc.c: Likewise.
22849 * libio/wfileops.c: Likewise.
22850 * libio/wgenops.c: Likewise.
22851 * libio/wmemstream.c: Likewise.
22852 * libio/wstrops.c: Likewise.
22853 * libio/__fpurge.c: Likewise.
22854 * libio/__fsetlocking.c: Likewise.
22855 * assert/assert.c: Likewise.
22856 * debug/fgets_chk.c: Likewise.
22857 * debug/fgets_u_chk.c: Likewise.
22858 * debug/fread_chk.c: Likewise.
22859 * debug/fread_u_chk.c: Likewise.
22860 * debug/gets_chk.c: Likewise.
22861 * debug/obprintf_chk.c: Likewise.
22862 * debug/vasprintf_chk.c: Likewise.
22863 * debug/vdprintf_chk.c: Likewise.
22864 * debug/vsnprintf_chk.c: Likewise.
22865 * debug/vsprintf_chk.c: Likewise.
22866 * malloc/mtrace.c: Likewise.
22867 * misc/error.c: Likewise.
22868 * misc/syslog.c: Likewise.
22869 * stdio-common/asprintf.c: Likewise.
22870 * stdio-common/fxprintf.c: Likewise.
22871 * stdio-common/getw.c: Likewise.
22872 * stdio-common/isoc99_fscanf.c: Likewise.
22873 * stdio-common/isoc99_scanf.c: Likewise.
22874 * stdio-common/isoc99_vfscanf.c: Likewise.
22875 * stdio-common/isoc99_vscanf.c: Likewise.
22876 * stdio-common/isoc99_vsscanf.c: Likewise.
22877 * stdio-common/printf-prs.c: Likewise.
22878 * stdio-common/printf_fp.c: Likewise.
22879 * stdio-common/printf_fphex.c: Likewise.
22880 * stdio-common/printf_size.c: Likewise.
22881 * stdio-common/putw.c: Likewise.
22882 * stdio-common/scanf.c: Likewise.
22883 * stdio-common/sprintf.c: Likewise.
22884 * stdio-common/tmpfile.c: Likewise.
22885 * stdio-common/vfprintf.c: Likewise.
22886 * stdio-common/vfscanf.c: Likewise.
22887 * stdlib/strfmon_l.c: Likewise.
22888 * sunrpc/openchild.c: Likewise.
22889 * sunrpc/xdr_stdio.c: Likewise.
22890 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22891 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22893 2012-05-24 Roland McGrath <roland@hack.frob.com>
22895 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22897 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22898 in the third column, to generate for the shared library an IFUNC
22899 that uses _dl_vdso_vsym.
22900 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22901 * Makeconfig (object-suffixes-noshared): New variable.
22903 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22904 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22905 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22906 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22909 * include/sys/time.h (__gettimeofday): Remove macro.
22910 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22911 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22913 (__gettimeofday): Add libc_hidden_def.
22914 (gettimeofday): Add libc_hidden_weak.
22915 * sysdeps/mach/gettimeofday.c: Likewise.
22916 * sysdeps/posix/gettimeofday.c: Likewise.
22917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22920 (__gettimeofday_internal): Remove strong_alias.
22921 (__gettimeofday): Add libc_hidden_def.
22922 (gettimeofday): Add libc_hidden_weak.
22923 * sysdeps/unix/syscalls.list (gettimeofday):
22924 Remove __gettimeofday_internal alias.
22926 2012-05-24 Daniel Jacobowitz <drow@false.org>
22927 H.J. Lu <hongjiu.lu@intel.com>
22930 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22931 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22932 (largebin_index_32_big): New.
22933 (largebin_index): Use it for 16-byte alignment.
22934 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22935 correction with front_misalign.
22937 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22965 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22966 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22968 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22972 * math/libm-test.inc (exp_test): Add test from bug 14036.
22973 (pow_test): Add test from bug 10846.
22975 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22977 (special_function): Do not include flags in test name.
22978 (parse_args): Likewise.
22979 * sysdeps/i386/fpu/libm-test-ulps: Update.
22980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22981 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22987 * math/libm-test.inc ("Philosophy"): Update comment about
22989 (UNDERFLOW_EXCEPTION): New macro.
22990 (UNDERFLOW_EXCEPTION_OK): Likewise.
22991 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22992 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22993 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22994 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22995 (INVALID_EXCEPTION_OK): Update value.
22996 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22997 (OVERFLOW_EXCEPTION_OK): Likewise.
22998 (IGNORE_ZERO_INF_SIGN): Likewise.
22999 (test_exceptions): Handle underflow exceptions.
23000 (acos_test): Update for underflow exception expectations.
23001 (cexp_test): Likewise.
23002 (clog_test): Likewise.
23003 (clog10_test): Likewise.
23004 (csqrt_test): Likewise.
23005 (ctan_test): Likewise.
23006 (ctanh_test): Likewise.
23007 (exp_test): Likewise.
23008 (exp10_test): Likewise.
23009 (exp2_test): Likewise.
23010 (expm1_test): Likewise.
23011 (fma_test): Likewise.
23012 (j0_test): Likewise.
23013 (jn_test): Likewise.
23014 (nexttoward_test): Likewise.
23015 (pow_test): Likewise.
23016 (scalbn_test): Likewise.
23017 (scalbln_test): Likewise.
23018 (tan_test): Likewise.
23019 (y1_test): Likewise.
23020 * sysdeps/i386/fpu/libm-test-ulps: Update.
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23023 2012-05-23 David S. Miller <davem@davemloft.net>
23025 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23026 (__libc_sigaction): Remove unused local variables.
23028 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23030 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23032 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23034 mktime: avoid signed integer overflow
23035 * time/mktime.c (__mktime_internal): Do not mishandle the case
23036 where diff == INT_MIN.
23038 mktime: simplify computation of average
23039 * time/mktime.c (ranged_convert): Use new time_t_avg function
23040 instead of rolling our own (probably-slower) code.
23042 mktime: do not assume signed right shift propagates sign bit
23043 * time/mktime.c (isdst_differ): New static function.
23044 (__mktime_internal): No need to normalize tm_isdst now.
23045 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23048 mktime: merge another wrapv change from gnulib
23049 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23050 from some compilers.
23052 mktime: remove incorrect attempt at unusual arithmetics
23053 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23054 The code didn't really work on such machines anyway.
23055 (TYPE_MINIMUM): Assume two's complement.
23056 (twos_complement_arithmetic): Verify that long_int and time_t
23057 are two's complement (or unsigned, in the latter case).
23059 mktime: check signed shifts on long_int and time_t, too
23060 * time/mktime.c (SHR): Check that shifts work as desired
23061 on the types long_int and time_t too, as SHR is used on
23064 mktime: do not assume 'long' is wide enough
23065 * time/mktime.c (verify): Move decl up.
23066 (long_int): New type.
23067 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23068 to remove assumption in the code that 'long' is wide enough to
23069 store year values. This assumption is not true on x32 and on
23070 some non-glibc platforms.
23072 mktime: merge wrapv change from gnulib
23073 * time/mktime.c (WRAPV): New macro.
23074 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23075 (guess_time_tm, __mktime_internal): Do not assume that signed
23076 integer overflow wraps around; modern compilers generate code
23077 where this assumption is no longer valid.
23079 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23081 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23082 Replace "jmp L(pseudo_end)" with "ret".
23083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23086 2012-05-23 Andreas Jaeger <aj@suse.de>
23088 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23089 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23091 2012-05-23 Andreas Jaeger <aj@suse.de>
23092 Maximilian Attems <max@stro.at>
23094 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23097 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23100 code so that pseudo_end is just ret and the stack pointer is
23101 correct also for static library in error case.
23103 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23105 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23106 move to syscalls.list.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23112 * manual/install.texi (Running make install): Do not mention Linux
23113 kernel version for which pt_chown is not needed.
23114 (Linux): Do not mention problems with nscd with 2.0 kernels.
23115 * INSTALL: Regenerated.
23117 2012-05-23 Andreas Jaeger <aj@suse.de>
23119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23120 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23122 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23124 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23125 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23126 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23127 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23132 * sysdeps/unix/sysv/linux/bits/in.h
23133 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23135 2012-05-22 Roland McGrath <roland@hack.frob.com>
23137 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23138 (PREPARE_VERSION): Just use assert instead, it will be elided
23139 under [NDEBUG] anyway.
23141 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23143 * sysdeps/unix/sysv/linux/Makefile: Include
23144 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23145 (sysdep_routines): Remove sysctl.
23146 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23147 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23148 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23149 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23150 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23152 2012-05-22 Andreas Jaeger <aj@suse.de>
23154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23155 that pseudo_end is just ret and the stack pointer is correct also
23156 for static library in error case.
23158 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23161 * nss/nsswitch.c (defconfig_entries): New variable.
23162 (__nss_database_lookup): Don't leak defconfig entries.
23163 (nss_parse_service_list): Don't leak on error paths.
23164 (free_database_entries): New function.
23165 (free_defconfig): New function.
23166 (free_mem): Move common code to free_database_entries.
23168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23170 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23172 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23174 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23175 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23178 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23179 (INTERNAL_SYSCALL_TYPES): Likewise.
23180 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23181 (LOAD_REGS_TYPES_[1-6]): Likewise.
23182 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23183 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23185 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23188 copysignl for GLIBC_2_0.
23189 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23190 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23192 logbl for GLIBC_2_0.
23193 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23194 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23201 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23204 * time/mktime.c: Update copyright years.
23206 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23208 mktime: merge comment-quoting-style change from gnulib
23209 * time/mktime.c: Quote 'like this' in comments.
23210 The GNU coding standards suggest that we no longer quote `like this',
23211 as "`" and "'" are typically rendered asymmetrically nowadays.
23212 The typical gnulib style is to quote 'like this' when quoting
23213 code, and "like this" when quoting English.
23215 * time/mktime.c (compile-command): Add "-I.".
23217 mktime: merge mktime-internal.h change from gnulib
23218 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23220 mktime: merge time_r change from gnulib
23221 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23223 mktime: merge DEBUG change from gnulib
23224 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23225 case system <time.h> has a #define.
23227 mktime: merge <sys/types.h> change from gnulib
23228 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23229 since <time.t> is now guaranteed to define time_t.
23231 mktime: merge HAVE_CONFIG_H change from gnulib
23232 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23234 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23239 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23241 (struct rusage): Use anonymous union to pad each field to
23244 2012-05-21 David S. Miller <davem@davemloft.net>
23246 * Makefules (o-iterator): Remove .s cases.
23247 (compile-command.s): Delete.
23248 (COMPILE.s): Delete.
23249 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23251 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23253 * configure.in (libc_cv_predef_stack_protector): Only consider
23254 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23255 * configure: Regenerated.
23257 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23260 New macro. Use R*LP on int and pointer.
23261 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23262 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23263 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23264 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23266 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23267 [__WORDSIZE_TIME64_COMPAT32] instead of
23268 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23269 (struct utmp): Likewise.
23270 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23271 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23273 (__WORDSIZE_TIME64_COMPAT32): This.
23274 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23275 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23276 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23277 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23278 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23279 (__WORDSIZE_TIME64_COMPAT32): New macro.
23281 2012-05-21 Andreas Jaeger <aj@suse.de>
23283 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23284 only if [SHARED]. Add prototype for __wcschr_ia32.
23286 2012-05-21 Roland McGrath <roland@hack.frob.com>
23288 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23289 of %rbp unmolested in the jmp_buf while mangling the low bits.
23290 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23291 unmolested high bits of %rbp while demangling the low bits.
23292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23294 2012-05-21 Andreas Jaeger <aj@suse.de>
23296 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23297 * sunrpc/svc_simple.c: Use it for registerrpc.
23298 * sunrpc/xcrypt.c: Use it for passwd2des.
23300 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23302 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23304 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23305 Don't define if [__SYSCALL_WORDSIZE != 32].
23306 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23309 2012-05-21 Bruno Haible <bruno@clisp.org>
23310 Andreas Jaeger <aj@suse.de>
23312 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23313 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23314 inptr and inend for must_buffer_ch.
23315 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23316 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23317 * stdio-common/Makefile (tests): Remove bug15.
23318 (bug15-ENV): Remove macro.
23319 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23322 2012-05-19 Andreas Jaeger <aj@suse.de>
23323 Roland McGrath <roland@hack.frob.com>
23325 * manual/contrib.texi: Completely rewritten. It contains now an
23326 alphabetical list of contributors and their contributions.
23328 2012-05-21 Richard Henderson <rth@twiddle.net>
23330 * misc/getauxval.c (__getauxval): Use unsigned long int.
23331 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23332 (getauxval): Use unsigned long int.
23334 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23336 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23338 2012-05-21 Roland McGrath <roland@hack.frob.com>
23340 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23341 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23342 __alignof__ (long double).
23344 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23348 2012-05-20 Richard Henderson <rth@twiddle.net>
23350 * misc/getauxval.c: New file.
23351 * misc/sys/auxv.h: New file.
23352 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23353 (routines): Add getauxval.
23354 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23356 * elf/dl-sysdep.c (_dl_auxv): Remove.
23357 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23358 * elf/dl-support.c (_dl_auxv): New variable.
23359 (_dl_aux_init): Initialize it.
23360 * manual/startup.texi (Auxiliary Vector): New node.
23361 * sysdeps/generic/bits/hwcap.h: New file.
23362 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23363 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23364 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23365 * sysdeps/sparc/sysdep.h: ... here. Include it.
23366 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23379 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23383 2012-05-19 David S. Miller <davem@davemloft.net>
23385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23387 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23390 * math/s_ccosh.c: Include <float.h>
23391 (__ccosh): Avoid internal overflow calculating sinh and cosh
23392 values before multiplying by sin and cos values.
23393 * math/s_ccoshf.c: Likewise.
23394 * math/s_ccoshl.c: Likewise.
23395 * math/s_csin.c: Likewise.
23396 * math/s_csinf.c: Likewise.
23397 * math/s_csinl.c: Likewise.
23398 * math/s_csinh.c: Likewise.
23399 * math/s_csinhf.c: Likewise.
23400 * math/s_csinhl.c: Likewise.
23401 * math/libm-test.inc (ccos_test): Add more tests.
23402 (ccosh_test): Likewise.
23403 (csin_test): Likewise.
23404 (csinh_test): Likewise.
23405 * sysdeps/i386/fpu/libm-test-ulps: Update.
23406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23408 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23411 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23413 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23415 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23417 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23418 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23419 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23420 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23421 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23422 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23423 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23424 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23425 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23426 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23427 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23428 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23429 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23430 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23431 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23432 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23433 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23434 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23435 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23436 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23437 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23438 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23439 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23440 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23441 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23442 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23443 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23444 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23445 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23446 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23447 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23449 2012-05-18 Andreas Jaeger <aj@suse.de>
23451 * csu/.gitignore: Delete.
23453 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23455 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23456 (timex): Use __syscall_slong_t.
23458 2012-05-18 Andreas Jaeger <aj@suse.de>
23459 Carlos O'Donell <carlos_odonell@mentor.com>
23461 * manual/install.texi (Configuring and compiling): Update
23462 description about files modified in the source directory.
23463 * INSTALL: Regenerated.
23465 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23467 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23468 value. Use "or" to set return value to -1.
23469 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23470 negate return value.
23472 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23474 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23475 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23476 failure if the compiler has Graphite support disabled.
23477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23479 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23480 CFLAGS-memmove.c): Likewise.
23481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23486 * sysdeps/x86_64/x32/_itoa.h: New file.
23488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23489 getdents system call only if kernel and user dirents have the
23490 same d_ino and d_off.
23492 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23493 LLONG_MAX != LONG_MAX.
23494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23495 (_fitoa_word): Likewise.
23497 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23499 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23500 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23501 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23503 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23504 include <bits/wordsize.h>. Check __x86_64__ instead of
23506 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23507 if __x86_64__ is defined. Use anonymous union on fpstate.
23509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23512 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23514 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23515 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23516 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23517 Refer to _rtld_local_ro instead of _rtld_global_ro.
23518 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23520 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23522 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23524 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23525 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23526 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23528 * sysdeps/powerpc/powerpc32/dl-machine.c
23529 (__elf_machine_runtime_setup) [PROF]: Don't reference
23532 2012-05-18 Andreas Jaeger <aj@suse.de>
23534 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23535 function only available for GCCs before 3.4 since GCC 3.4
23536 introduced a builtin.
23538 (llrintf): Likewise.
23539 (llrint): Likewise.
23546 (nearbyint): Likewise.
23547 (nearbyintf): Likewise.
23551 (floorf): Likewise.
23553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23555 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23556 on both fields and cast pointer to __syscall_ulong_t.
23558 * bits/types.h (__fsword_t): New type.
23559 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23560 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23562 (__FSWORD_T_TYPE): Likewise.
23563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23564 (__FSWORD_T_TYPE): Likewise.
23565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23566 (__FSWORD_T_TYPE): Likewise.
23567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23568 (__FSWORD_T_TYPE): Likewise.
23569 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23570 __SWORD_TYPE with __fsword_t.
23571 (statfs64): Likewise.
23573 2012-05-17 David S. Miller <davem@davemloft.net>
23575 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23577 2012-05-17 Andreas Jaeger <aj@suse.de>
23579 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23582 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23584 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23586 2012-05-17 Andreas Jaeger <aj@suse.de>
23588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23591 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23593 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23595 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23597 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23598 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23600 2012-05-17 Andreas Jaeger <aj@suse.de>
23601 Carlos O'Donell <carlos_odonell@mentor.com>
23604 * sysdeps/x86_64/multiarch/init-arch.h
23605 (bit_YMM_Usable): Rename to...
23606 (bit_AVX_Usable): ... this.
23607 (bit_FMA4_Usable): New macro.
23608 (bit_XMM_state): New macro.
23609 (bit_YMM_state): New macro.
23610 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23611 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23612 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23613 (CPUID_OSXSAVE): New macro.
23614 (CPUID_AVX): New macro.
23615 (CPUID_FMA4): New macro.
23616 (index_YMM_Usable): Rename to...
23617 (index_AVX_Usable): ... this.
23618 (HAS_AVX): Use HAS_ARCH_FEATURE.
23619 (HAS_FMA4): Likewise.
23620 (HAS_YMM_USABLE): Remove.
23621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23622 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23624 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23625 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23626 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23627 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23628 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23630 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23632 * math/libm-test.c: Support platforms without multiple rounding modes.
23633 * math/bug-nextafter.c: Support platforms without FP exceptions.
23634 * math/bug-nexttoward.c: Likewise.
23635 * math/test-fenv.c: Likewise.
23636 * math/test-misc.c: Likewise.
23637 * stdlib/bug-getcontext.c: Likewise.
23639 2012-05-17 Andreas Jaeger <aj@suse.de>
23641 * manual/examples/search.c (critter_cmp): Change signature to
23643 * manual/string.texi (Collation Functions): Likewise.
23645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23647 * bits/types.h: Fold copyright years.
23648 * bits/typesizes.h: Likewise.
23649 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23653 * time/time.h: Likewise.
23655 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23658 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23659 in instead of returning them. Return void.
23660 (__libc_mallinfo): Accumulate over all arenas.
23661 (__malloc_stats): Adjust for change in int_mallinfo interface.
23663 2012-05-16 Roland McGrath <roland@hack.frob.com>
23666 * configure.in (NM): Add AC_CHECK_TOOL for it.
23667 (libc_extra_cflags): New substituted variable.
23668 Check for -fstack-protector being used implicitly.
23669 * configure: Regenerated.
23670 * config.make.in (config-extra-cflags): New variable,
23671 gets @libc_extra_cflags@.
23672 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23675 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23676 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23677 * configure: Regenerated.
23678 * config.make.in (CPPUNDEFS): New substituted variable.
23679 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23680 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23681 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23683 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23685 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23686 (mq_attr): Use __syscall_slong_t.
23688 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23690 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23691 Check __x86_64__ instead of __WORDSIZE.
23692 (_STAT_VER_LINUX): Likewise.
23693 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23694 __syscall_ulong_t and __syscall_slong_t.
23695 (stat64): Likewise.
23697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23703 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23705 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23707 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23710 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23711 include <bits/wordsize.h>. Check __x86_64__ instead of
23713 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23715 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23718 include <bits/wordsize.h>. Check __x86_64__ instead of
23720 (user_regs_struct): Use "__extension__ unsigned long long"
23721 instead of "unsigned long" if __x86_64__ is defined.
23722 (user): Likewise. Pad after pointer field if __ILP32__ is
23725 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23727 * configure.in (makeinfo): Require version 4.5 or later. Allow
23729 * configure: Regenerated.
23730 * manual/install.texi (texinfo): Increase version requirement to
23732 * INSTALL: Regenerated.
23734 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23738 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23740 * sysdeps/x86_64/x32/ffs.c: New file.
23742 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23744 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23745 defined. Use __syscall_ulong_t.
23746 (shminfo): Use __syscall_ulong_t.
23747 (shm_info): Likewise.
23749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23752 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23754 (msgqnum_t): Use __syscall_ulong_t.
23755 (msglen_t): Likewise.
23756 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23759 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23762 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23764 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23765 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23767 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23770 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23771 include <bits/wordsize.h>. Check __x86_64__ instead of
23774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23775 "unsigned long long int" if __x86_64__ is defined.
23776 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23778 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23780 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23782 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23784 (GET_PC): Cast to uintptr_t first.
23785 (GET_FRAME): Likewise.
23786 (GET_STACK): Likewise.
23788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23794 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23796 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23797 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23799 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23803 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23809 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23811 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23818 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23820 * Makerules (+depfiles): Also collect depfiles from .oS in
23822 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23823 .oS, $(libnldbl-routines)).
23825 * Makerules (native-compile-mkdep-flags): Define.
23826 * sunrpc/Makefile (extra-objs): Add $(addprefix
23827 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23828 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23829 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23830 calling $(make-target-directory).
23832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23834 * bits/types.h (__snseconds_t): Removed.
23835 * time/time.h (struct timespec): Replace __snseconds_t with
23837 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23838 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23841 (__SNSECONDS_T_TYPE): Likewise.
23842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23843 (__SNSECONDS_T_TYPE): Likewise.
23844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23845 (__SNSECONDS_T_TYPE): Likewise.
23847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23849 * sysdeps/mach/hurd/bits/typesizes.h
23850 (__SYSCALL_SLONG_TYPE): New macro.
23851 (__SYSCALL_ULONG_TYPE): Likewise.
23853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23855 * bits/types.h (__syscall_slong_t): New type.
23856 (__syscall_ulong_t): Likewise.
23858 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23859 (__SYSCALL_ULONG_TYPE): Likewise.
23860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23861 (__SYSCALL_SLONG_TYPE): Likewise.
23862 (__SYSCALL_ULONG_TYPE): Likewise.
23863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23864 (__SYSCALL_SLONG_TYPE): Likewise.
23865 (__SYSCALL_ULONG_TYPE): Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23867 (__SYSCALL_SLONG_TYPE): Likewise.
23868 (__SYSCALL_ULONG_TYPE): Likewise.
23870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23872 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23873 Add sigaltstack-offsets.sym.
23874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23875 <sigaltstack-offsets.h>.
23876 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23877 longjmp_msg pointer.
23878 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23879 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23881 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23883 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23885 * elf/stackguard-macros.h: Remove file.
23886 * sysdeps/generic/stackguard-macros.h: New file.
23887 * sysdeps/i386/stackguard-macros.h: Likewise.
23888 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23889 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23890 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23891 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23892 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23893 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23894 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23895 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23896 <elf/stackguard-macros.h>.
23899 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23900 __aligned__ in attribute.
23901 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23902 (gregset_t): Likewise.
23904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23906 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23907 * sysdeps/x86_64/64/Implies-after: Here. New file.
23908 * sysdeps/x86_64/x32/Implies-after: New file.
23910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23912 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23913 and access return value for _dl_profile_fixup. Use R10_LP to
23916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23918 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23922 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23923 * sysdeps/x86_64/x32/sysdep.h: New file.
23925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23927 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23928 * sysdeps/x86_64/setjmp.S: Likewise.
23930 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23932 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23934 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23935 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23936 remove unused global constant.
23938 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23940 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23941 include of <not-cancel.h>.
23943 2012-05-15 Roland McGrath <roland@hack.frob.com>
23945 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23947 2012-05-15 Jeff Law <law@redhat.com>
23948 Andreas Jaeger <aj@suse.de>
23951 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23953 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23954 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23955 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23956 code changing __hst_map_handle.map.
23958 2012-05-15 Roland McGrath <roland@hack.frob.com>
23960 * configure.in (sysnames): Look for Implies-before and Implies-after
23962 * configure: Regenerated.
23964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23966 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23967 8-byte data alignment with LP_SIZE alignment.
23969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23971 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23976 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23981 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23982 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23988 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23989 (stackinfo_sub_sp): Likewise.
23991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24008 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24012 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24013 into R11_LP and load __x86_64_shared_cache_size_half into
24016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24021 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24030 powerpc32/power7/fpu/s_logb.c via #include.
24031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24032 powerpc32/power7/fpu/s_logbf.c via #include.
24033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24034 powerpc32/power7/fpu/s_logbl.c via #include.
24036 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24038 * README.libm: Remove file.
24040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24042 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24043 count for x32. Use R*_LP and omit operand-size suffix.
24045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24047 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24048 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24049 * sysdeps/x86_64/x32/shlib-versions: New file.
24051 2012-05-14 Roland McGrath <roland@hack.frob.com>
24053 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24054 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24055 Use _dl_fatal_printf instead.
24057 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24059 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24060 set if not set by the user. Do not allow for being unset.
24061 * sysdeps/unix/sysv/linux/configure: Regenerated.
24063 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24065 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24066 the `q' suffix from lea and replace .quad with ASM_ADDR.
24068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24071 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24073 (PTR_DEMANGLE): Likewise.
24075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24077 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24079 (ASM_ADDR): Likewise.
24080 (RAX_LP): Likewise.
24081 (RBP_LP): Likewise.
24082 (RBX_LP): Likewise.
24083 (RCX_LP): Likewise.
24084 (RDI_LP): Likewise.
24085 (RSI_LP): Likewise.
24086 (RSP_LP): Likewise.
24089 (R10_LP): Likewise.
24090 (R10_LP): Likewise.
24091 (R11_LP): Likewise.
24092 (R12_LP): Likewise.
24093 (R13_LP): Likewise.
24094 (R14_LP): Likewise.
24095 (R15_LP): Likewise.
24097 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24099 * sysdeps/x86_64/x32/dl-machine.h: New file.
24101 2012-05-14 Andreas Jaeger <aj@suse.de>
24103 * manual/Makefile (subdir): Remove export of subdir.
24104 (all): Remove target.
24105 (.PHONY): Remove all from list.
24106 (mkinstalldirs): Remove.
24107 (.PHONY): Remove installdirs from list.
24108 ($(inst_infodir)/libc.info): Use make-target-directory.
24109 (installdirs): Remove.
24110 (subdir_%): Remove.
24111 (glibc-targets): Remove.
24114 ($(objpfx)stubs ../po/manual.pot): Remove.
24115 ($(objpfx)stamp%): Remove.
24116 (make-target-directory): Remove.
24117 (subdir_install): Remove.
24118 (routines): Remove.
24125 * manual/.gitignore: Remove, it's not needed anymore.
24126 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24128 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24130 (texis): Renamed to $(objpfx)texis.
24131 (texis-path): New, contains path to generated files.
24132 (chapters.%): Use texis-path for complete path, add extra argument
24134 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24135 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24136 (summary,texi, stamp-summary): Use complete path of
24137 files. Generate files in build dir.
24138 (dir-add.texi): Build in build dir.
24139 (libm-err.texi,stamp-libm-err): Likewise.
24140 (version.texi, stamp-version): Likewise.
24141 (.%c.texi): Likewise.
24142 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24143 (mostlyclean): Remove target.
24144 (realclean): Remove target.
24145 (generated): Add new variable with contents from mostlyclean and
24146 realclean, remove entries duplicated in common-mostlyclean, add
24147 stamp-libm-err and stamp-version.
24148 (generated-dirs): Add libc directory.
24149 ($(inst_infodir)/libc.info): Install files from build dir.
24151 * manual/install.texi (Configuring and compiling): Adjust since
24152 the info files are not part of the tar ball anymore.
24154 2012-05-14 Andreas Jaeger <aj@suse.de>
24156 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24159 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24163 to 2.2.0 where earlier.
24164 * sysdeps/unix/sysv/linux/configure: Regenerated.
24165 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24166 Remove conditional code.
24167 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24168 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24169 Remove conditional code.
24170 [!__NR_lchown]: Likewise.
24171 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24172 [__NR_lchown]: Likewise.
24173 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24174 comment referencing __ASSUME_LCHOWN_SYSCALL.
24175 * sysdeps/unix/sysv/linux/i386/sigaction.c
24176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24179 Remove conditional code.
24180 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24181 (__protocol_available): Remove #if 0 code.
24182 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24184 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24185 * sysdeps/unix/sysv/linux/kernel-features.h
24186 (__ASSUME_GETCWD_SYSCALL): Don't define.
24187 (__ASSUME_REALTIME_SIGNALS): Likewise.
24188 (__ASSUME_PREAD_SYSCALL): Likewise.
24189 (__ASSUME_PWRITE_SYSCALL): Likewise.
24190 (__ASSUME_POLL_SYSCALL): Likewise.
24191 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24192 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24194 (__ASSUME_SIOCGIFNAME): Don't define.
24195 (__ASSUME_MSG_NOSIGNAL): Likewise.
24196 (__ASSUME_SENDFILE): Define unconditionally.
24197 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24198 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24200 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24201 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24202 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24203 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24204 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24205 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24206 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24231 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24232 Remove conditional code.
24233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24235 Remove conditional code.
24236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24237 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24238 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24239 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24240 Remove conditional code.
24241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24242 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24243 Remove conditional code.
24244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24245 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24246 Remove conditional code.
24247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24248 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24249 Remove conditional code.
24250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24251 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24252 Remove conditional code.
24253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24254 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24257 * sysdeps/unix/sysv/linux/sigaction.c
24258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24260 * sysdeps/unix/sysv/linux/sigpending.c
24261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24263 * sysdeps/unix/sysv/linux/sigprocmask.c
24264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24266 * sysdeps/unix/sysv/linux/sigsuspend.c
24267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24270 (__libc_missing_rt_sigs): Remove.
24271 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24272 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24273 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24274 Remove conditional code.
24275 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24276 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24279 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24280 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24281 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24283 2012-05-14 Andreas Jaeger <aj@suse.de>
24285 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24286 it's not used in glibc.
24287 (__coshm1): Likewise.
24288 (__acosh1p): Likewise.
24291 * manual/string.texi (Copying and Concatenation): Add missing
24292 variable in concat example.
24293 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24299 __builtin_clzl with __builtin_clzll.
24301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24304 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24307 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24309 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24310 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24311 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24314 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24316 * NEWS: Update ia64 info.
24318 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24320 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24323 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24325 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24326 * sysdeps/unix/syscalls.list (dup3): Likewise.
24327 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24328 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24330 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24332 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24333 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24335 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24337 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24339 (TLS_IE): Use mov/add instead of movq/addq to load thread
24341 (TLS_GD_PREFIX): New.
24344 2012-05-11 David S. Miller <davem@davemloft.net>
24346 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24347 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24348 (_FPU_SETCW): Likewise.
24350 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24352 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24353 is 32-byte aligned.
24355 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24358 * iconvdata/gb18030.c: Update tables.
24359 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24360 characters specially.
24361 (BODY for TO_LOOP): Add encoding of missing ranges.
24363 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24366 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24367 * sysdeps/mach/hurd/dup3.c: Likewise.
24368 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24369 * sysdeps/powerpc/memmove.c:: Likewise.
24371 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24374 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24376 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24378 * elf/elf.h (R_X86_64_RELATIVE64): New.
24379 (R_X86_64_NUM): Updated.
24380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24381 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24382 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24383 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24384 tst-quad1pie tst-quad2pie
24385 (modules-names): Add tst-quadmod1 tst-quadmod2.
24386 ($(objpfx)tst-quad1): New dependency.
24387 ($(objpfx)tst-quad2): Likewise.
24388 ($(objpfx)tst-quad1pie): Likewise.
24389 ($(objpfx)tst-quad2pie): Likewise.
24390 * sysdeps/x86_64/tst-quad1.c: New file.
24391 * sysdeps/x86_64/tst-quad1pie.c: New file.
24392 * sysdeps/x86_64/tst-quad2.c: Likewise.
24393 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24394 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24395 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24396 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24397 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24401 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24402 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24403 * streams/stropts.h (t_scalar_t): Define type.
24405 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24406 (_PATH_PRESERVE): Set to "/var/lib".
24407 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24409 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24412 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24413 if __dir_mkfile succeeded.
24415 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24416 checking for _hurd_dtablesize. Unlock it right after having
24417 finished _hurd_dtable allocation.
24419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24421 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24422 * sysdeps/mach/hurd/configure: Regenerated.
24423 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24424 special-casing to...
24425 * sysdeps/gnu/configure.in: ... this new file.
24426 * sysdeps/unix/sysv/linux/configure: Regenerated.
24427 * sysdeps/gnu/configure: New generated file.
24429 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24430 for Linux: use nsec instead of usec, as well as:
24431 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24432 members of type struct timespec.
24433 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24435 (struct stat64): Likewise.
24436 (_STATBUF_ST_NSEC): New macro.
24437 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24440 __strtoul_internal rather than strtoul.
24442 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24444 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24449 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24450 which preserves existing values.
24451 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24453 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24455 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24456 TIMEOUT values. Return EINVAL for NFDS values either negative or
24457 greater than FD_SETSIZE.
24459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24461 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24462 allocated, call __vm_protect to finish enabling the existing space, and
24463 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24464 allocate the remainder.
24466 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24468 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24469 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24473 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24474 sysdeps/mach/hurd/readlink.c.
24476 * posix/tst-sysconf.c (posix_options): Only use
24477 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24478 _POSIX_SYNCHRONIZED_IO when they are defined
24479 * sysdeps/mach/hurd/bits/posix_opt.h:
24480 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24481 (_XOPEN_REALTIME): Undefine macro.
24482 (_XOPEN_REALTIME_THREADS): Undefine macro.
24483 (_XOPEN_SHM): Undefine macro.
24484 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24486 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24488 (_POSIX_ASYNC_IO): Undefine macro.
24489 (_POSIX_PRIORITIZED_IO): Undefine macro.
24490 (_POSIX_SPIN_LOCKS): Define macro to -1.
24492 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24493 SA_NODEFER, SA_RESETHAND.
24494 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24495 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24500 * elf/Makefile (pldd-modules): Define unconditionally.
24502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24504 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24508 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24509 Return ENOENT when name is empty.
24510 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24514 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24516 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24520 Fix mlock in all cases except non-readable pages.
24521 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24522 instead of VM_PROT_ALL as parameter to __vm_wire function.
24524 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24525 (__mkdir): When path is `/', just fail with EEXIST.
24526 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24530 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24531 <sys/uio.h> (for writev).
24532 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24533 and <sys/param.h> (for MIN).
24535 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24537 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24538 REQUESTED_TIME. Properly set the remaining time and return EINTR
24541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24543 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24544 Depend on against $(link-rpcuserlibs).
24546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24548 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24549 (__libc_stack_end): Do not use attribute_relro.
24550 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24551 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24552 to libthread-provided value.
24553 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24559 * bits/libc-lock.h (__libc_once_get): New macro.
24560 * sysdeps/mach/bits/libc-lock.h: Likewise.
24561 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24563 instead of using implementation details.
24565 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24566 * libio/freopen.c: Likewise.
24567 * libio/freopen64.c: Likewise.
24568 * misc/syslog.c: Likewise.
24569 * nscd/connections.c: Likewise.
24570 * nscd/netgroupcache.c: Likewise.
24571 * sysdeps/posix/getcwd.c: Likewise.
24573 2012-05-10 Roland McGrath <roland@hack.frob.com>
24575 * math/w_ilogbf.c: Add #include <limits.h>.
24577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24579 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24580 path instead of returning without unlocking.
24582 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24583 immediate-write ioctls.
24584 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24588 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24589 __builtin_frame_address instead of making assumptions about the
24590 location of the return address relative to DATA. Force early load of
24591 the return address.
24592 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24593 __builtin_frame_address.
24596 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24597 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24598 implement dup3 and do some further code clean-ups.
24599 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24604 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24606 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24607 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24608 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24609 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24610 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24613 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24614 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24615 when handler == SIG_ERR, not when handler != SIG_ERR.
24617 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24619 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24620 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24623 accept4 for GNU Hurd.
24624 * include/sys/socket.h (__libc_accept4): New prototype.
24625 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24626 to implement __libc_accept4.
24627 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24629 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24631 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24632 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24633 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24634 signal-defines.sym.
24636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24638 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24642 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24643 assertion on O_CLOEXEC flag.
24644 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24645 * hurd/intern-fd.c: Likewise.
24646 * hurd/port2fd.c: Likewise.
24648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24651 * bits/in.h (IPV6_PKTINFO): Define new macro.
24652 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24654 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24659 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24661 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24662 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24665 * math/libm-test.inc (logb_test) : Additional logb tests.
24667 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24668 Andreas Jaeger <aj@suse.de>
24670 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24671 * configure: Regenerated.
24672 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24673 * config.make.in (link-obsolete-rpc): New substituted variable.
24674 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24675 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24676 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24677 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24678 so that libc.a contains the symbols.
24679 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24680 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24681 * sunrpc/auth_none.c: Likewise.
24682 * sunrpc/auth_unix.c: Likewise.
24683 * sunrpc/authdes_prot.c: Likewise.
24684 * sunrpc/authuxprot.c: Likewise.
24685 * sunrpc/clnt_gen.c: Likewise.
24686 * sunrpc/clnt_perr.c: Likewise.
24687 * sunrpc/clnt_raw.c: Likewise.
24688 * sunrpc/clnt_simp.c: Likewise.
24689 * sunrpc/clnt_tcp.c: Likewise.
24690 * sunrpc/clnt_udp.c: Likewise.
24691 * sunrpc/clnt_unix.c: Likewise.
24692 * sunrpc/des_crypt.c: Likewise.
24693 * sunrpc/des_soft.c: Likewise.
24694 * sunrpc/get_myaddr.c: Likewise.
24695 * sunrpc/key_call.c: Likewise.
24696 * sunrpc/key_prot.c: Likewise.
24697 * sunrpc/netname.c: Likewise.
24698 * sunrpc/pm_getmaps.c: Likewise.
24699 * sunrpc/pm_getport.c: Likewise.
24700 * sunrpc/pmap_clnt.c: Likewise.
24701 * sunrpc/pmap_prot.c: Likewise.
24702 * sunrpc/pmap_prot2.c: Likewise.
24703 * sunrpc/pmap_rmt.c: Likewise.
24704 * sunrpc/publickey.c: Likewise.
24705 * sunrpc/rpc_cmsg.c: Likewise.
24706 * sunrpc/rpc_common.c: Likewise.
24707 * sunrpc/rpc_dtable.c: Likewise.
24708 * sunrpc/rpc_prot.c: Likewise.
24709 * sunrpc/rpc_thread.c: Likewise.
24710 * sunrpc/rtime.c: Likewise.
24711 * sunrpc/svc.c: Likewise.
24712 * sunrpc/svc_auth.c: Likewise.
24713 * sunrpc/svc_raw.c: Likewise.
24714 * sunrpc/svc_run.c: Likewise.
24715 * sunrpc/svc_tcp.c: Likewise.
24716 * sunrpc/svc_udp.c: Likewise.
24717 * sunrpc/svc_unix.c: Likewise.
24718 * sunrpc/svcauth_des.c: Likewise.
24719 * sunrpc/xcrypt.c: Likewise.
24720 * sunrpc/xdr.c: Likewise.
24721 * sunrpc/xdr_array.c: Likewise.
24722 * sunrpc/xdr_float.c: Likewise.
24723 * sunrpc/xdr_intXX_t.c: Likewise.
24724 * sunrpc/xdr_mem.c: Likewise.
24725 * sunrpc/xdr_rec.c: Likewise.
24726 * sunrpc/xdr_ref.c: Likewise.
24727 * sunrpc/xdr_sizeof.c: Likewise.
24728 * sunrpc/xdr_stdio.c: Likewise.
24730 2012-05-10 Roland McGrath <roland@hack.frob.com>
24732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24733 change. Update copyright years.
24735 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24737 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24739 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24740 Joseph Myers <joseph@codesourcery.com>
24741 Paul Pluzhnikov <ppluzhnikov@google.com>
24744 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24746 [cross-compiling] (extra-libs): Likewise.
24747 [cross-compiling] (extra-libs-others): Likewise.
24748 [cross-compiling] (librpcsvc-routines): Likewise.
24749 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24750 [cross-compiling] (omit-deps): Likewise.
24751 (sunrpc-CPPFLAGS): New variable.
24752 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24753 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24754 (cross-rpcgen-objs): New variable.
24755 (extra-objs): Append $(cross-rpcgen-objs).
24756 ($(cross-rpcgen-objs)): New rule.
24757 ($(objpfx)cross-rpcgen): Likewise.
24758 (rpcgen-cmd): Define to use $(built-program-file). Expand
24760 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24761 ($(objpfx)x%.stmp): Likewise.
24762 * sunrpc/proto.h [IS_IN_build] (_): Define.
24763 [IS_IN_build] (_libc_intl_domainname): Likewise.
24765 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24768 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24769 and R_X86_64_TPOFF64.
24771 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24773 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24774 sysdeps/unix/sysv/syscalls.list.
24777 * sysdeps/unix/sysv/syscalls.list: Remove file.
24779 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24782 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24783 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24784 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24785 (__LC_IDENTIFICATION): Make these macros useful in #if
24786 expressions, as required by C99.
24788 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24790 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24791 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24794 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24796 * stdlib/longlong.h: Updated from GCC.
24798 2012-05-09 Andreas Jaeger <aj@suse.de>
24800 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24801 default is first entry.
24802 (run_mode): Set type.
24803 (main): Remove informal message about syslog.
24804 (options): Fix typo.
24807 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24810 (llrintf): Likewise.
24811 (llrint): Likewise.
24814 (nearbyint): Likewise.
24815 (nearbyintf): Likewise.
24817 2012-05-09 Andreas Jaeger <aj@suse.de>
24818 Pedro Alves <palves@redhat.com>
24820 * nscd/nscd.c (run_mode): Use enum.
24821 (main): Cleanup coding style issue.
24823 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24824 Andreas Jaeger <aj@suse.de>
24826 * nscd/nscd.c (go_background): Replaced with...
24827 (run_mode): ... this.
24828 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24829 (options): Add -F --foreground.
24830 (main): Implement it.
24831 (parse_opt): Parse it.
24833 2012-05-09 Andreas Jaeger <aj@suse.de>
24836 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24837 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24838 -Wconversion warning.
24839 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24842 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24844 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24846 (LC_ALL): Use macro-int-constant.
24847 (LC_COLLATE): Likewise.
24848 (LC_CTYPE): Likewise.
24849 (LC_MESSAGES): Likewise.
24850 (LC_MONETARY): Likewise.
24851 (LC_NUMERIC): Likewise.
24852 (LC_TIME): Likewise.
24853 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24854 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24856 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24858 [C99-based standards] (float_t): Expect type.
24859 [C99-based standards] (double_t): Expect type.
24860 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24862 [C99-based standards] (HUGE_VALL): Likewise.
24863 [C99-based standards] (INFINITY): Likewise.
24864 [C99-based standards] (NAN): Likewise.
24865 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24866 [C99-based standards] (FP_NAN): Likewise.
24867 [C99-based standards] (FP_NORMAL): Likewise.
24868 [C99-based standards] (FP_SUBNORMAL): Likewise.
24869 [C99-based standards] (FP_ZERO): Likewise.
24870 [C99-based standards] (FP_FAST_FMA): Use
24871 optional-macro-int-constant. Specify type. Require == 1.
24872 [C99-based standards] (FP_FAST_FMAF): Likewise.
24873 [C99-based standards] (FP_FAST_FMAL): Likewise.
24874 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24875 [C99-based standards] (FP_ILOGBNAN): Likewise.
24876 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24878 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24879 [C99-based standards] (math_errhandling): Specify type.
24880 [ISO99 || ISO11] (signgam): Do not allow.
24881 [non-C99-based standards] (copysignf): Do not allow.
24882 [non-C99-based standards] (exp2f): Likewise.
24883 [non-C99-based standards] (log2f): Likewise.
24884 [non-C99-based standards] (modff): Allow.
24885 [non-C99-based standards] (erff): Do not allow.
24886 [non-C99-based standards] (erfcf): Likewise.
24887 [non-C99-based standards] (gammaf): Likewise.
24888 [non-C99-based standards] (hypotf): Likewise.
24889 [non-C99-based standards] (j0f): Likewise.
24890 [non-C99-based standards] (j1f): Likewise.
24891 [non-C99-based standards] (jnf): Likewise.
24892 [non-C99-based standards] (lgammaf): Likewise.
24893 [non-C99-based standards] (tgammaf): Likewise.
24894 [non-C99-based standards] (y0f): Likewise.
24895 [non-C99-based standards] (y1f): Likewise.
24896 [non-C99-based standards] (ynf): Likewise.
24897 [non-C99-based standards] (isnanf): Likewise.
24898 [non-C99-based standards] (acoshf): Likewise.
24899 [non-C99-based standards] (asinhf): Likewise.
24900 [non-C99-based standards] (atanhf): Likewise.
24901 [non-C99-based standards] (cbrtf): Likewise.
24902 [non-C99-based standards] (expm1f): Likewise.
24903 [non-C99-based standards] (ilogbf): Likewise.
24904 [non-C99-based standards] (log1pf): Likewise.
24905 [non-C99-based standards] (logbf): Likewise.
24906 [non-C99-based standards] (nextafterf): Likewise.
24907 [non-C99-based standards] (remainderf): Likewise.
24908 [non-C99-based standards] (rintf): Likewise.
24909 [non-C99-based standards] (scalbf): Likewise.
24910 [non-C99-based standards] (copysignl): Likewise.
24911 [non-C99-based standards] (exp2l): Likewise.
24912 [non-C99-based standards] (log2l): Likewise.
24913 [non-C99-based standards] (modfl): Allow.
24914 [non-C99-based standards] (erfl): Do not allow.
24915 [non-C99-based standards] (erfcl): Likewise.
24916 [non-C99-based standards] (gammal): Likewise.
24917 [non-C99-based standards] (hypotl): Likewise.
24918 [non-C99-based standards] (j0l): Likewise.
24919 [non-C99-based standards] (j1l): Likewise.
24920 [non-C99-based standards] (jnl): Likewise.
24921 [non-C99-based standards] (lgammal): Likewise.
24922 [non-C99-based standards] (tgammal): Likewise.
24923 [non-C99-based standards] (y0l): Likewise.
24924 [non-C99-based standards] (y1l): Likewise.
24925 [non-C99-based standards] (ynl): Likewise.
24926 [non-C99-based standards] (isnanl): Likewise.
24927 [non-C99-based standards] (acoshl): Likewise.
24928 [non-C99-based standards] (asinhl): Likewise.
24929 [non-C99-based standards] (atanhl): Likewise.
24930 [non-C99-based standards] (cbrtl): Likewise.
24931 [non-C99-based standards] (expm1l): Likewise.
24932 [non-C99-based standards] (ilogbl): Likewise.
24933 [non-C99-based standards] (log1pl): Likewise.
24934 [non-C99-based standards] (logbl): Likewise.
24935 [non-C99-based standards] (nextafterl): Likewise.
24936 [non-C99-based standards] (remainderl): Likewise.
24937 [non-C99-based standards] (rintl): Likewise.
24938 [non-C99-based standards] (scalbl): Likewise.
24939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24940 [non-C99-based standards] (FP_*): Do not allow.
24941 [C99-based standards] (FP_*): Change to
24942 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24943 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24945 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24946 (SIG_ERR): Likewise.
24947 [X/Open-based standards] (SIG_HOLD): Likewise.
24948 (SIG_IGN): Likewise.
24949 (SIGABRT): Use macro-int-constant. Specify type. Require
24951 (SIGFPE): Likewise.
24952 (SIGILL): Likewise.
24953 (SIGINT): Likewise.
24954 (SIGSEGV): Likewise.
24955 (SIGTER): Likewise.
24956 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24958 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24959 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24960 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24961 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24962 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24963 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24964 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24966 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24967 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24968 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24971 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24972 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24973 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24974 [X/Open-based standards] (SIGTRAP): Likewise.
24975 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24976 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24977 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24978 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24979 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24982 2012-05-08 Ian Wienand <ianw@vmware.com>
24985 * time/tzset.c (__tzset_parse_tz): Update default rules for
24986 daylight time changes in the Energy Policy Act of 2005.
24988 2012-05-09 Andreas Jaeger <aj@suse.de>
24991 * elf/ldconfig.c (parse_conf): Change string to make clear that
24992 ldconfig only issued a warning if ld.so.conf does not exist.
24994 2012-05-08 David S. Miller <davem@davemloft.net>
24996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24997 movxtod instead of popping the value on the stack.
24999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25001 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25003 * config.h.in: Add HAVE_ARM_PCS_VFP.
25005 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25008 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25009 checking but the checks are disabled for any reason.
25011 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25013 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25014 and ELF64_R_TYPE with ELFW(R_TYPE).
25016 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25018 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25019 (ulimit): Likewise.
25021 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25022 (settimeofday): Likewise.
25024 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25026 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25027 a struct th_u2 inside the union, and move tu_block/tu_code into
25028 a new th_u3 union of tu_block/tu_code inside of that. Move
25029 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25030 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25031 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25032 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25033 (th_stuff): Change to th_u1.tu_stuff.
25035 (th_msg): Change to th_u1.th_u2.tu_data.
25037 2012-05-07 David S. Miller <davem@davemloft.net>
25039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25042 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25043 (SETUP_PIC_REG): Use it.
25044 (SETUP_PIC_REG_LEAF): Use it.
25046 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25050 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25052 (EXPL_FINITE): Likewise.
25053 (FLDLOG): Likewise.
25054 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25055 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25059 (EXPL_FINITE): Likewise.
25060 (FLDLOG): Likewise.
25061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25062 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25064 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25065 test of -max_value argument for long double.
25066 * sysdeps/i386/fpu/libm-test-ulps: Update.
25067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25069 2012-05-06 David S. Miller <davem@davemloft.net>
25071 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25072 quad soft-float symbols whose references which are compiler
25074 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25076 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25082 (EXPL_FINITE): Likewise.
25083 (FLDLOG): Likewise.
25086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25087 Adjust comments for base varying.
25088 (__expl_finite): Change alias to EXPL_FINITE.
25089 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25091 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25092 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25094 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25097 (EXPL_FINITE): Likewise.
25098 (FLDLOG): Likewise.
25101 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25102 Adjust comments for base varying.
25103 (__expl_finite): Change alias to EXPL_FINITE.
25104 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25109 * math/libm-test.inc (check_float_internal): Correct ulp
25110 calculation for subnormal expected results.
25112 2012-05-06 Andreas Jaeger <aj@suse.de>
25114 * Makeconfig (+math-flags): New, set to -frounding-math.
25115 (+cflags): Add +math-flags so that all of glibc gets compiled with
25118 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25120 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25122 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25128 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25129 (__ieee754_expl): Allow for and saturate large arguments.
25130 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25131 (u_threshold): Likewise.
25132 (__exp): Call __ieee754_exp before checking for overflow and
25134 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25135 (u_threshold): Likewise.
25136 (__expf): Call __ieee754_expf before checking for overflow and
25138 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25139 (u_threshold): Likewise.
25140 (__expl): Call __ieee754_expl before checking for overflow and
25142 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25143 (__ieee754_expl): Allow for and saturate large arguments.
25144 * math/libm-test.inc (exp_test): Add another test. Do not allow
25145 missing overflow exception on overflow.
25146 (expm1_test): Do not allow missing overflow exception on overflow.
25148 * sysdeps/i386/fpu/e_expl.c: Move to ...
25149 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25150 rather than using inline asm.
25151 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25152 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25153 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25155 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25158 (signal): Likewise.
25162 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25164 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25165 sysdeps/unix/common/syscalls.list.
25166 (fchmod): Likewise.
25167 (fchown): Likewise.
25168 (ftruncate): Likewise.
25169 (getrusage): Likewise.
25170 (gettimeofday): Likewise.
25171 (setpgid): Likewise.
25172 (setregid): Likewise.
25173 (setreuid): Likewise.
25174 (sigaction): Likewise.
25175 (truncate): Likewise.
25176 (vhangup): Likewise.
25177 * sysdeps/unix/common/syscalls.list: Remove file.
25178 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25179 * sysdeps/unix/sysv/linux/Implies: Likewise.
25181 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25183 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25185 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25189 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25192 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25204 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25207 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25222 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25226 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25228 * sysdeps/unix/common/bits/dirent.h: Remove file.
25229 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25231 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25232 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25233 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25234 * sysdeps/unix/bsd/isatty.c: Likewise.
25235 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25236 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25237 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25239 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25243 long double comparison inaccuracies.
25244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25247 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25249 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25252 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25256 nonzero digits before rounding a hex value.
25257 * stdlib/tst-strtod.c (tests): Add another test.
25259 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25261 * sysdeps/s390/fpu/libm-test-ulps: Update.
25263 2012-05-03 Andreas Jaeger <aj@suse.de>
25265 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25266 does not get optimized out.
25267 (malloc_opt_barrier): New.
25269 2012-05-03 Andreas Jaeger <aj@suse.de>
25270 Roland McGrath <roland@hack.frob.com>
25272 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25273 intermediate file deletion.
25274 (generated): Add .symlist files.
25276 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25279 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25280 Redirect under this condition.
25281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25282 [__USE_GNU] (__dprintf_chk): Not under this condition.
25283 [__USE_GNU] (__vdprintf_chk): Likewise.
25284 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25285 under this condition.
25286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25287 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25288 [__USE_XOPEN2K8] (vdprintf): Likewise.
25289 [__USE_GNU] (__dprintf_chk): Not under this condition.
25290 [__USE_GNU] (__vdprintf_chk): Likewise.
25291 [__USE_GNU] (dprintf): Likewise.
25292 [__USE_GNU] (vdprintf): Likewise.
25294 2012-05-03 Roland McGrath <roland@hack.frob.com>
25296 * elf/Makefile (common-generated): Set this instead of generated for
25297 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25298 $(all-built-dso)-derived lists.
25300 2012-05-03 Andreas Jaeger <aj@suse.de>
25302 * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 * FAQ.in: Likewise.
25306 * scripts/gen-FAQ.pl: Likewise.
25307 * manual/install.texi (Installation): Point to online location of
25309 * Makefile (files-for-dist): Remove FAQ.
25312 2012-05-02 Allan McRae <allan@archlinux.org>
25314 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25315 (LDFLAGS-reldepmod5.so): Likewise.
25316 (LDFLAGS-reldep6mod1.so): Likewise.
25317 (LDFLAGS-reldep6mod4.so): Likewise.
25318 (LDFLAGS-reldep8mod3.so): Likewise.
25319 (LDFLAGS-unload4mod1.so): Likewise.
25320 (LDFLAGS-unload4mod2.so): Likewise.
25321 (LDFLAGS-tst-initorder): Likewise.
25322 (LDFLAGS-tst-initordera2.so): Likewise.
25323 (LDFLAGS-tst-initordera3.so): Likewise.
25324 (LDFLAGS-tst-initordera4.so): Likewise.
25325 (LDFLAGS-tst-initorderb2.so): Likewise.
25326 (LDFLAGS-noload): Likewise.
25327 (LDFLAGS-next): Likewise.
25328 (LDFLAGS-order2mod1.so): Likewise.
25329 (LDFLAGS-order2mod2.so): Likewise.
25330 (LDFLAGS-tst-initorder2): Likewise.
25331 (LDFLAGS-tst-initorder2a.so): Likewise.
25332 (LDFLAGS-tst-initorder2b.so): Likewise.
25333 (LDFLAGS-tst-initorder2c.so): Likewise.
25334 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25336 2012-05-02 David S. Miller <davem@davemloft.net>
25338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25340 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25343 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25345 2012-05-02 Andreas Jaeger <aj@suse.de>
25347 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25348 since we manipulate rounding mode.
25349 (CPPFLAGS-test-idouble.c): Likewise.
25350 (CPPFLAGS-test-ifloat.c): Likewise.
25351 (CFLAGS-test-ldouble.c): Likewise.
25352 (CFLAGS-test-double.c): Likewise.
25353 (CFLAGS-test-float.c): Likewise.
25354 (CFLAGS-test-misc.c): Likewise.
25355 (CFLAGS-test-test-fenv.c): Likewise.
25357 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25362 comparisons to determine direction to adjust input.
25364 2012-05-01 Roland McGrath <roland@hack.frob.com>
25366 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25367 output to the target.
25369 * scripts/localplt.awk: New file.
25370 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25371 (check-localplt-CFLAGS): Variable removed.
25372 ($(all-built-dso:=.jmprel)): New static pattern rule.
25373 (generated): Add those targets.
25374 (localplt-built-dso): New variable.
25375 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25377 * elf/check-localplt.c: File removed.
25379 * scripts/check-execstack.awk: New file.
25380 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25381 (check-execstack-CFLAGS): Variable removed.
25382 ($(objpfx)check-execstack.h): Target removed.
25383 ($(objpfx)execstack-default): New target.
25384 (generated): Add that instead of check-execstack.h.
25385 ($(all-built-dso:=.phdr)): New static pattern rule.
25386 (generated): Add those targets.
25387 * elf/check-execstack.c: File removed.
25389 * scripts/check-textrel.awk: New file.
25390 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25391 (check-textrel-CFLAGS): Variable removed.
25392 (all-built-dso): Use := to define.o
25393 ($(all-built-dso:=.dyn)): New static pattern rule.
25394 (generated): Add those targets.
25395 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25396 * config.make.in (READELF): New substituted variable.
25397 * elf/check-textrel.c: File removed.
25399 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25401 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25403 * conform/data/ctype.h-data [C99-based standards] (isblank):
25405 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25406 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25408 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25409 Specify type. Require positive value.
25410 (EILSEQ): Likewise.
25411 (ERANGE): Likewise.
25412 [ISO || POSIX] (EILSEQ): Do not expect.
25413 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25414 Specify type. Require positive value.
25415 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25422 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25423 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25424 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25426 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25427 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25429 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25430 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25432 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25433 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25489 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25490 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25491 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25493 (FLT_ROUNDS): Expect as macro, not constant.
25494 (FLT_MANT_DIG): Use macro-int-constant.
25495 (DBL_MANT_DIG): Likewise.
25496 (LDBL_MANT_DIG): Likewise.
25497 (FLT_DIG): Likewise.
25498 (DBL_DIG): Likewise.
25499 (LDBL_DIG): Likewise.
25500 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25501 (DBL_MIN_EXP): Likewise.
25502 (LDBL_MIN_EXP): Likewise.
25503 (FLT_MAX_EXP): Use macro-int-constant.
25504 (DBL_MAX_EXP): Likewise.
25505 (LDBL_MAX_EXP): Likewise.
25506 (FLT_MAX_10_EXP): Likewise.
25507 (DBL_MAX_10_EXP): Likewise.
25508 (LDBL_MAX_10_EXP): Likewise.
25509 (FLT_MAX): Use macro-constant.
25510 (DBL_MAX): Likewise.
25511 (LDBL_MAX): Likewise.
25512 (FLT_EPSILON): Use macro-constant. Give upper bound.
25513 (DBL_EPSILON): Likewise.
25514 (LDBL_EPSILON): Likewise.
25515 (FLT_MIN): Likewise.
25516 (DBL_MIN): Likewise.
25517 (LDBL_MIN): Likewise.
25518 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25519 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25520 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25521 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25522 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25523 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25524 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25525 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25526 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25527 [ISO11] (FLT_TRUE_MIN): Likewise.
25528 [ISO11] (LDBL_TRUE_MIN): Likewise.
25529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25530 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25531 (SCHAR_MIN): Use macro-int-constant. Specify type.
25532 (SCHAR_MAX): Likewise.
25533 (UCHAR_MAX): Likewise.
25534 (CHAR_MIN): Likewise.
25535 (CHAR_MAX): Likewise.
25536 (MB_LEN_MAX): Use macro-int-constant.
25537 (SHRT_MIN): Use macro-int-constant. Specify type.
25538 (SHRT_MAX): Likewise.
25539 (USHRT_MAX): Likewise.
25540 (INT_MAX): Likewise.
25541 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25543 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25545 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25547 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25548 bound negative. Suffix upper bound with "L".
25549 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25551 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25553 [C99-based standards] (LLONG_MAX): Likewise.
25554 [C99-based standards] (ULLONG_MAX): Likewise.
25555 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25557 [ISO11] (max_align_t): Require type.
25558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25560 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25561 from $CFLAGS, without defining away __attribute__ calls.
25562 (checknamespace): Use $CFLAGS_namespace.
25564 * conform/conformtest.pl (@keywords): Only include C99 keywords
25565 for standards based on C99 or C11.
25567 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25569 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25572 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25573 usability of symbols in #if.
25575 * conform/conformtest.pl: If macro or constant types start
25576 "promoted:", expect the symbol to be of the following type
25577 promoted by the integer promotions.
25579 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25580 in one place. Also handle "macro-constant".
25582 * conform/conformtest.pl: Only accept expected macro values with
25583 "==". Parse all "macro" lines in one place.
25584 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25586 * conform/conformtest.pl: Handle braced types on "constant" lines
25587 instead of handling "typed-constant".
25588 * conform/data/signal.h-data: Use "constant" instead of
25591 * conform/conformtest.pl: Handle "optional-" at start of lines in
25592 one place rather than duplicating several cases. Handle each
25593 format of "macro" line with initial "optional-".
25595 * conform/conformtest.pl: Only accept expected constant or
25596 optional-constant values with "==". Parse all "constant" lines in
25597 one place. Parse all "optional-constant" lines in one place.
25598 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25599 * conform/data/fmtmsg.h-data: Likewise.
25600 * conform/data/netinet/in.h-data: Likewise.
25601 * conform/data/tar.h-data: Likewise.
25602 * conform/data/limits.h-data: Use "==" form on "constant" and
25603 "optional-constant" lines.
25605 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25606 Use -std=c99 for XOPEN2K.
25607 (@knownproblems): Remove.
25608 (newtoken): Don't check %isknown.
25610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25611 Do not expect macro.
25612 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25624 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25625 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25642 [XPG3] (acosh): Likewise.
25643 [XPG3] (asinh): Likewise.
25644 [XPG3] (atanh): Likewise.
25645 [XPG3] (cbrt): Likewise.
25646 [XPG3] (expm1): Likewise.
25647 [XPG3] (ilogb): Likewise.
25648 [XPG3] (log1p): Likewise.
25649 [XPG3] (logb): Likewise.
25650 [XPG3] (nextafter): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25653 [XPG3] (remainder): Likewise.
25654 [XPG3] (rint): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25662 [UNIX98 || XOPEN2K] (scalb): Expect.
25663 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25664 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25801 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25802 _XOPEN_SOURCE_EXTENDED for XPG4.
25804 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25806 * Makeconfig (localtime): Remove variable.
25807 (inst_localtime-file): Likewise.
25809 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25830 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25834 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25835 comparisons to determine direction to adjust input.
25836 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25837 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25847 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25849 * math/libm-test.inc (nexttoward_test): Add more tests.
25851 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25855 in version GLIBC_2.1, not GLIBC_2.0.
25856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25859 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25864 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25865 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25866 * math/libm-test.inc (acos_test): Add more tests.
25867 (asin_test): Likewise.
25868 * sysdeps/i386/fpu/libm-test-ulps: Update.
25869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25874 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25876 * math/libm-test.inc (acos_test_tonearest): New function.
25877 (acos_test_towardzero): Likewise.
25878 (acos_test_downward): Likewise.
25879 (acos_test_upward): Likewise.
25880 (asin_test_tonearest): Likewise.
25881 (asin_test_towardzero): Likewise.
25882 (asin_test_downward): Likewise.
25883 (asin_test_upward): Likewise.
25884 (main): Call the new functions.
25885 * sysdeps/i386/fpu/libm-test-ulps: Update.
25886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25890 * math/e_exp10.c: Include <float.h>.
25891 (__ieee754_exp10): Handle underflow here rather than multiplying
25892 large negative argument by M_LN10.
25893 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25895 * math/e_exp10l.c: Include <float.h>.
25896 (__ieee754_exp10l): Handle underflow here rather than multiplying
25897 large negative argument by M_LN10l.
25898 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25899 spurious overflow exception on underflow.
25901 2012-04-29 Marek Polacek <polacek@redhat.com>
25903 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25904 (__fortify_function): New macro.
25905 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25906 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25907 __extern_always_inline.
25908 * libio/bits/stdio2.h: Likewise.
25909 * libio/bits/stdio.h: Likewise.
25910 * string/string.h: Likewise.
25911 * string/bits/string3.h: Likewise.
25912 * include/stdio.h: Likewise.
25913 * stdlib/bits/stdlib.h: Likewise.
25914 * stdlib/stdlib.h: Likewise.
25915 * rt/bits/mqueue2.h: Likewise.
25916 * rt/mqueue.h: Likewise.
25917 * posix/bits/unistd.h: Likewise.
25918 * posix/unistd.h: Likewise.
25919 * io/bits/poll2.h: Likewise.
25920 * io/bits/fcntl2.h: Likewise.
25921 * io/fcntl.h: Likewise.
25922 * io/sys/poll.h: Likewise.
25923 * misc/bits/syslog.h: Likewise.
25924 * misc/bits/syslog-ldbl.h: Likewise.
25925 * misc/sys/syslog.h: Likewise.
25926 * socket/bits/socket2.h: Likewise.
25927 * socket/sys/socket.h: Likewise.
25928 * debug/tst-chk1.c: Likewise.
25929 * wcsmbs/bits/wchar2.h: Likewise.
25930 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25931 * wcsmbs/wchar.h: Likewise.
25933 2012-04-29 Andreas Jaeger <aj@suse.de>
25935 * Makerules (tests): Remove enable-check-abi protection.
25936 (check-abi-warn): Remove.
25937 (check-abi-%): Remove check-abi-warn usage.
25939 * configure.in: Remove check-abi configure option.
25940 * configure: Regenerated.
25941 * config.make.in (enable-check-abi): Remove.
25943 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25946 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25947 double functions to double *_finite functions.
25950 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25951 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25953 * stdio-common/Makefile (tests): Add tst-sprintf3.
25954 * stdio-common/tst-sprintf3.c: New file.
25956 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25957 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25959 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25961 * conform/conformtest.pl: Remove duplicate typed-constant
25964 2012-04-28 David S. Miller <davem@davemloft.net>
25966 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25967 (check-abi-%): Remove AWK script prerequisite and explicit
25969 (check-abi): Rewrite to just diff the symlist with the abilist.
25970 (config-tls, config-abi-config): Delete, no longer used.
25971 (update-abi-%): Remove AWK script and explicit abilist directory.
25972 (update-abi): Rewrite to simply compare and conditionally copy the
25973 symlist and the sysdep abilist file. Remove update-abi-config
25975 * abilist/ld.abilist: Remove.
25976 * abilist/libBrokenLocale.abilist: Remove.
25977 * abilist/libanl.abilist: Remove.
25978 * abilist/libcrypt.abilist: Remove.
25979 * abilist/libdl.abilist: Remove.
25980 * abilist/librt.abilist: Remove.
25981 * abilist/libthread_db.abilist: Remove.
25982 * abilist/libutil.abilist: Remove.
25983 * scripts/extract-abilist.awk: Remove.
25984 * scripts/merge-abilist.awk: Remove.
25985 * sysdeps/generic/libcidn.abilist: New file.
25986 * sysdeps/generic/libnss_compat.abilist: New file.
25987 * sysdeps/generic/libnss_db.abilist: New file.
25988 * sysdeps/generic/libnss_dns.abilist: New file.
25989 * sysdeps/generic/libnss_files.abilist: New file.
25990 * sysdeps/generic/libnss_hesiod.abilist: New file.
25991 * sysdeps/generic/libnss_nis.abilist: New file.
25992 * sysdeps/generic/libnss_nisplus.abilist: New file.
25993 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25994 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25995 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25998 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25999 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26001 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26002 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26003 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26004 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26005 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26007 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26008 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26010 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26015 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26016 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26019 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26127 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26128 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26131 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26132 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26133 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26134 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26136 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26138 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26139 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26191 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26193 * conform/conformtest.pl: Fix typo in handling typed-constant from
26196 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26198 * README: Cut down references to pre-2.6 Linux kernels and
26199 Linuxthreads. Update lists of configurations in libc and ports
26200 and sort alphabetically. Say "or newer" with Linux kernel version
26203 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26205 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26208 * math/libm-test.inc (logb_test_downward): New test to expose
26209 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26212 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26215 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26217 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26218 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26220 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26222 * sysdeps/unix/i386/brk.S: Remove file.
26223 * sysdeps/unix/i386/dl-brk.S: Likewise.
26224 * sysdeps/unix/i386/pipe.S: Likewise.
26225 * sysdeps/unix/i386/sigreturn.S: Likewise.
26226 * sysdeps/unix/i386/syscall.S: Likewise.
26227 * sysdeps/unix/i386/vfork.S: Likewise.
26228 * sysdeps/unix/i386/wait.S: Likewise.
26230 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26231 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26233 * configure.in (arm*-none*): Do not allow without
26234 --enable-hacker-mode.
26235 (netbsd*): Remove case setting base_os.
26236 (386bsd*): Likewise.
26237 (freebsd*): Likewise.
26240 (sunos*): Likewise.
26241 (ultrix*): Likewise.
26242 (newsos*): Likewise.
26243 (dynix*): Likewise.
26249 (minix*): Likewise.
26250 (irix4*): Likewise.
26251 (irix6*): Likewise.
26252 (solaris[2-9]*): Likewise.
26254 * configure: Regenerated.
26256 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26259 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26260 overflow or cancellation in calculating denominator.
26261 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26263 down expression to avoid unexpected rounding in newer GCCs.
26264 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26266 2012-04-26 David S. Miller <davem@davemloft.net>
26268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26269 long-double compat symbols.
26270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26284 2012-04-25 David S. Miller <davem@davemloft.net>
26286 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26287 HWCAP_* values only after the memory barriers have been defined.
26288 (atomic_full_barrier): Define.
26289 (atomic_read_barrier): Define.
26290 (atomic_write_barrier): Define.
26292 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26294 * shlib-versions: Add libgcc_s version information.
26295 * sysdeps/generic/libgcc_s.h: Remove.
26296 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26298 * sysdeps/gnu/unwind-resume.c: Likewise.
26299 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26301 2012-04-25 David S. Miller <davem@davemloft.net>
26303 * sysdeps/unix/sparc/brk.S: Delete.
26304 * sysdeps/unix/sparc/dl-brk.S: Delete.
26305 * sysdeps/unix/sparc/pipe.S: Delete.
26306 * sysdeps/unix/sparc/sysdep.S: Delete.
26307 * sysdeps/unix/sparc/sysdep.h: Delete.
26308 * sysdeps/unix/sparc/vfork.S: Delete.
26309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26310 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26312 ret_ERRVAL, r0, r1, MOVE): Define.
26313 (JUMPTARGET): Remove.
26314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26315 sysdeps/unix/sparc/sysdep.h
26316 (ENTRY, END): Remove.
26317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26319 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26321 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26322 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26325 * timezone/README: Update upstream location and email address for
26327 * timezone/zdump.c: Update from tzcode 2012b.
26328 * timezone/zic.c: Likewise.
26330 * configure.in (libc_cv_as_needed): Remove test.
26331 * configure: Regenerated.
26332 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26333 conditional definition.
26334 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26335 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26336 * config.make.in (have-as-needed): Remove variable.
26338 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26339 Paul Pluzhnikov <ppluzhnikov@google.com>
26341 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26344 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26346 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26347 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26348 * sysdeps/sh/strlen.S: Likewise.
26350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/unix/fork.S: Remove file.
26353 * sysdeps/unix/i386/fork.S: Likewise.
26354 * sysdeps/unix/sparc/fork.S: Likewise.
26356 * sysdeps/unix/system.c: Remove file.
26357 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26359 * sysdeps/unix/getegid.S: Remove file.
26360 * sysdeps/unix/geteuid.S: Likewise.
26362 2012-04-24 Roland McGrath <roland@hack.frob.com>
26364 * scripts/check-localplt.awk: New file.
26365 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26367 * scripts/data/localplt-generic.data: Add a comment.
26369 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26370 NODE when __dir_mkfile failed.
26371 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26372 Reported by Ludovic Courtès <ludo@gnu.org>.
26374 2012-04-24 Andreas Jaeger <aj@suse.de>
26376 * Makerules (common-clean): Also remove gen-as-const-headers
26379 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26381 * Makerules (native-compile): Do not change working directory for
26382 build. Use $(OUTPUT_OPTION) in command.
26383 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26385 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26388 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26389 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26390 * math/libm-test.inc (floor_test): Add more tests.
26391 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26393 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26395 * sysdeps/unix/getdents.c: Remove file.
26396 * sysdeps/unix/sysv/getdents.c: Likewise.
26397 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26399 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26400 sysdeps/unix/mman/syscalls.list.
26402 (mprotect): Likewise.
26404 (munmap): Likewise.
26405 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26406 * sysdeps/unix/mman/syscalls.list: Remove.
26407 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26409 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26410 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26411 * configure: Regenerated.
26412 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26413 $(libgcc_s_suffix).
26414 * config.make.in (libgcc_s_suffix): Remove variable.
26416 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26418 * sysdeps/unix/sysv/gethostname.c: Move to ...
26419 * sysdeps/posix/gethostname.c: ... here.
26421 * sysdeps/unix/execve.S: Remove file.
26423 * sysdeps/unix/_exit.S: Remove file.
26425 2012-04-23 Andreas Jaeger <aj@suse.de>
26428 * manual/Makefile: Remove make dist support, there's no
26429 need for a stand-alone documentation tar ball.
26430 (TEXI2DVI): Define always, it's not in Makeconfig.
26433 (edition): Removed.
26434 (glibc-doc-$(edition).tar): Removed
26438 (ETAGS): Remove, it's in Makeconfig.
26439 (move-if-change): Remove, it's in Makeconfig.
26441 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26444 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26445 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26446 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26447 (strtod_l, strtof_l, strtold_l): Remove __wur.
26448 It is not necessarily an error to ignore strtol's return value.
26449 One can reliably look at the stored endptr to decide whether
26450 the number had valid syntax.
26452 2012-04-21 Andreas Jaeger <aj@suse.de>
26455 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26457 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26460 * sysdeps/unix/sysv/Versions: Remove file.
26462 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26467 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26471 version from __vm86.
26473 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26475 * sysdeps/unix/common/lxstat.c: Remove file.
26476 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26478 * sysdeps/unix/sysv/Makefile: Remove file.
26480 * sysdeps/unix/sysv/direct.h: Remove file.
26482 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26483 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26484 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26485 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26486 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26487 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26488 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26490 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26492 * sysdeps/unix/xmknod.c: Remove file.
26493 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26495 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26497 * sysdeps/unix/sysv/i386/time.S: Remove file.
26499 * sysdeps/unix/fxstat.c: Remove file.
26500 * sysdeps/unix/xstat.c: Likewise.
26501 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26503 * sysdeps/unix/sysv/sigaction.c: Remove file.
26505 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26506 (sysdep_headers): Remove variable.
26507 [termio.h not in sysdep_headers] (generated): Likewise.
26508 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26509 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26510 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26511 * sysdeps/unix/sysv/tcflow.c: Likewise.
26512 * sysdeps/unix/sysv/tcflush.c: Likewise.
26513 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26514 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26515 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26516 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26517 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26519 * sysdeps/unix/siglist.c: Remove file.
26521 * sysdeps/unix/getppid.S: Remove file.
26523 * sysdeps/unix/mkdir.c: Remove file.
26524 * sysdeps/unix/rmdir.c: Likewise.
26526 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26528 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26530 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26531 errlist-compat value.
26533 2012-04-18 David S. Miller <davem@davemloft.net>
26535 * sysdeps/generic/memcopy.h (reg_char): Delete.
26536 * debug/strcat_chk.c: Use char, not reg_char.
26537 * debug/strcpy_chk.c: Likewise.
26538 * debug/strncat_chk.c: Likewise.
26539 * debug/strncpy_chk.c: Likewise.
26540 * string/memchr.c: Likewise.
26541 * string/memrchr.c: Likewise.
26542 * string/rawmemchr.c: Likewise.
26543 * string/strcat.c: Likewise.
26544 * string/strchr.c: Likewise.
26545 * string/strchrnul.c: Likewise.
26546 * string/strcmp.c: Likewise.
26547 * string/strcpy.c: Likewise.
26548 * string/strncat.c: Likewise.
26549 * string/strncmp.c: Likewise.
26550 * string/strncpy.c: Likewise.
26552 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26554 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26555 __builtin_memcopy is called when src and dest ranges are known to not
26558 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26561 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26562 fwd_align_merge macro call.
26563 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26564 bwd_align_merge macro call.
26565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26567 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26570 bwd_align_merge macros.
26571 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26572 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26575 2012-04-18 David S. Miller <davem@davemloft.net>
26577 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26579 2012-04-18 Andreas Jaeger <aj@suse.de>
26582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26583 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26587 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26590 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26591 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26592 Adjust for changed ldbl-128 files.
26594 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26595 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26598 2012-04-17 David S. Miller <davem@davemloft.net>
26600 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26602 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26604 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26605 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26606 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26607 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26609 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26611 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26614 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26615 * math/libm-test.inc: Add ilogb errno and exception tests.
26616 * math/w_ilogb.c: New file: ilogb wrapper.
26617 * math/w_ilogbf.c: New file: ilogbf wrapper.
26618 * math/w_ilogbl.c: New file: ilogbl wrapper.
26619 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26620 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26621 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26622 exception being thrown with 0.0 as argument.
26623 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26624 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26625 exception being thrown with 0.0 as argument.
26626 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26627 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26628 exception being thrown with 0.0 as argument.
26629 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26630 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26631 exception being thrown with 0.0 as argument.
26632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26633 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26634 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26635 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26638 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26639 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26640 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26642 2012-04-17 Petr Baudis <pasky@ucw.cz>
26644 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26647 2012-04-16 Marek Polacek <polacek@redhat.com>
26649 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26651 2012-04-16 Marek Polacek <polacek@redhat.com>
26653 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26654 operands of fdivp instruction.
26656 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26658 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26659 * elf/tst-auditmod3b.c: Likewise.
26660 * elf/tst-auditmod4b.c: Likewise.
26661 * elf/tst-auditmod5b.c: Likewise.
26662 * elf/tst-auditmod6b.c: Likewise.
26663 * elf/tst-auditmod6c.c: Likewise.
26664 * elf/tst-auditmod7b.c: Likewise.
26665 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26666 * sysdeps/x86_64/preconfigure.in: Likewise.
26667 * sysdeps/x86_64/preconfigure: Regenerated.
26669 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26674 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26677 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26679 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26682 * locale/iso-639.def: Fix gl language name. Spotted by
26685 2012-04-12 Roland McGrath <roland@hack.frob.com>
26688 * libio/libio.h (__io_write_fn): Update comment.
26690 2012-04-12 Petr Baudis <pasky@ucw.cz>
26693 * stdio.texi (Hook Functions): The user provided writer function
26694 is not allowed to return -1.
26696 2012-04-11 David S. Miller <davem@davemloft.net>
26698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26700 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26702 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26703 Add a leading slash to rtkaio.
26705 2012-04-11 Jim Meyering <meyering@redhat.com>
26708 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26709 It is not necessarily an error to ignore fwrite's return
26710 value. One can reliably use ferror to test for errors after
26713 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26715 * bits/types.h (__snseconds_t): New type.
26716 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26718 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26720 (__SNSECONDS_T_TYPE): Likewise.
26721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26722 (__SNSECONDS_T_TYPE): Likewise.
26723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26724 (__SNSECONDS_T_TYPE): Likewise.
26726 2012-04-10 Andreas Jaeger <aj@suse.de>
26729 * manual/time.texi (Processor Time): Return type of times is
26730 elapsed real time since an arbitrary point in the past.
26731 (CPU Time): Move CLK_TCK from here...
26732 (Processor Time): ...to here. Correct description.
26733 * manual/conf.texi (Constants for Sysconf): Correct description of
26736 2012-04-10 David S. Miller <davem@davemloft.net>
26739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26740 where the is a gap between DT_REL(A) and DT_JMPREL.
26742 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26744 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26745 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26746 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26748 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26750 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26751 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26752 (dl_main): Handle --inhibit-cache.
26753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26755 * elf/dl-load.c (_dl_map_object): Use it.
26756 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26758 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26761 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26762 (__ieee754_powl): Saturate large exponents rather than testing for
26763 overflow of y*log2(x).
26764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26765 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26769 * math/s_ctan.c: Include <float.h>.
26770 (__ctan): Avoid internal overflow or cancellation in calculating
26772 * math/s_ctanf.c: Likewise.
26773 * math/s_ctanl.c: Likewise.
26774 * math/s_ctanh.c: Likewise.
26775 * math/s_ctanhf.c: Likewise.
26776 * math/s_ctanhl.c: Likewise.
26777 * math/libm-test.inc (ctan_test): Add more tests.
26778 (ctanh_test): Likewise.
26779 * sysdeps/i386/fpu/libm-test-ulps: Update.
26780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26782 2012-04-09 Andreas Jaeger <aj@suse.de>
26785 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26786 is an optional BSD extension.
26789 * manual/stdio.texi (Opening Streams): Document additional fopen
26792 2012-04-09 Roland McGrath <roland@hack.frob.com>
26794 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26795 %eax without telling the compiler.
26797 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26800 * manual/install.texi: Use sourceware.org.
26802 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26805 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26806 (__ieee754_pow): Generate overflow and underflow using huge*huge
26807 and tiny*tiny rather than just returning constant infinity or zero
26808 for large exponents.
26809 * math/libm-test.inc (pow_test): Require overflow exceptions for
26810 applicable cases of large exponents.
26813 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26814 (__ieee754_pow): Use iterative multiplication algorithm only for
26815 integer exponents with absolute value below 1024. Check for odd
26816 integer exponents when using algorithm for real exponents.
26817 * math/libm-test.inc (pow_test): Add more tests.
26818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26820 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26823 * math/libm-test.inc (exp_test): Do not allow overflow exception
26826 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26829 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26830 instead of __kernel_standard_f.
26832 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26834 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26835 * sysdeps/x86_64/memset_chk.S: Likewise.
26837 2012-04-08 Andreas Jaeger <aj@suse.de>
26840 * manual/startup.texi (Environment Access): Describe return value
26841 for putenv and setenv.
26844 * manual/filesys.texi (Directory Entries): Add description for
26848 * manual/filesys.texi (Directory Entries): Clarify that it's file
26849 system not operating system in the description of DT_UNKNOWN.
26852 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26854 2012-04-08 Stephen Compall <s11@member.fsf.org>
26857 * manual/llio.texi (Opening and Closing Files): Add cross
26858 reference to explain mode argument.
26860 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26862 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26863 * sysdeps/x86_64/memset_chk.S: Likewise.
26865 2012-04-07 David S. Miller <davem@davemloft.net>
26867 * elf/elf.h (R_SPARC_WDISP10): Define.
26868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26871 R_SPARC_SIZE64 and R_SPARC_H34.
26873 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26876 conditions and remove no longer applicable assertion.
26878 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26880 * bits/byteswap.h: Include <features.h>.
26881 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26882 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26884 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26886 * bits/byteswap.h (__bswap_16): Removed.
26887 Include <bits/byteswap-16.h> to get __bswap_16.
26888 * sysdeps/i386/bits/byteswap.h: Likewise.
26889 * sysdeps/s390/bits/byteswap.h: Likewise.
26890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26891 * bits/byteswap-16.h: New file.
26892 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26893 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26894 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26895 * string/Makefile (headers): Add bits/byteswap-16.h.
26897 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26900 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26902 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26903 * nss/tst-nss-static.c: New.
26905 2012-04-06 Robert Millan <rmh@gnu.org>
26908 * manual/llio.texi (File Position Primitive): lseek
26909 refers to WHENCE when it really means OFFSET.
26911 2012-04-06 Andreas Jaeger <aj@suse.de>
26913 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26914 strncmp declarations.
26916 * abilist/libc.abilist: Add __poll and __ppoll.
26918 2012-04-05 David S. Miller <davem@davemloft.net>
26920 * scripts/check-local-headers.sh: Accept a host triplet in the
26921 path matched by the exclude regexp.
26923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26925 * sysdeps/powerpc/powerpc32/dl-machine.h
26926 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26927 * sysdeps/s390/s390-32/dl-machine.h
26928 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26929 * sysdeps/sparc/sparc32/dl-machine.h
26930 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26931 * sysdeps/sparc/sparc64/dl-machine.h
26932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26934 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26936 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26937 undefined symbol errors.
26939 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26942 2012-04-05 Michael Matz <matz@suse.de>
26945 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26947 2012-04-05 Andreas Jaeger <aj@suse.de>
26950 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26953 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26956 which ROUND is no valid rounding mode.
26958 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26962 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26966 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26967 an exception using FPU order intentionally.
26969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26971 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26972 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26973 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26974 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26976 2012-04-05 Simon Josefsson <simon@josefsson.org>
26979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26980 EINVAL when BUFLEN is too smal.
26982 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26985 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26986 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26988 2012-04-03 Andreas Jaeger <aj@suse.de>
26991 * manual/setjmp.texi (System V contexts): Fix sentence.
26994 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26995 New macro for this case.
26996 [!__GNUC__] (__bswap_64): New inline function for this case.
26997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26998 * bits/byteswap.h: Likewise.
26999 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27000 ull, guard with __GLIBC_HAVE_LONG_LONG.
27002 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27003 __GLIBC_HAVE_LONG_LONG.
27005 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27006 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27008 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27012 inptr and inend, rather than using last_ch.
27014 2012-04-02 David S. Miller <davem@davemloft.net>
27016 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27017 * stdio-common/printf-parse.h (read_int): Change return type to
27018 'int', return -1 on INT_MAX overflow.
27019 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27020 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27021 overflows INT_MAX. Check for overflow of in-format-string precision
27022 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27023 SIZE_MAX not INT_MAX for integer overflow test.
27024 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27025 skip the construct in the format string but do not record anything.
27026 * stdio-common/bug22.c: Adjust to test both width/prevision
27027 INT_MAX overflow as well as total length INT_MAX overflow. Check
27028 explicitly for proper errno values.
27030 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27032 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27034 * string/test-strcmp.c [! WIDE]: Likewise.
27035 * time/tst-mktime2.c: Likewise for INT_MAX.
27036 * string/test-string.h: #include <sys/param.h> for MIN.
27038 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27039 * sysdeps/i386/init-first.c (init): Likewise.
27040 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27041 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27042 * sysdeps/sh/init-first.c (init): Likewise.
27044 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27046 * po/ru.po: Update from translation team.
27047 * po/vi.po: Likewise.
27049 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27051 * resolv/nss_dns/dns-host.c: Merge copyright years.
27053 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27056 Optimize memcpy with prefetch if
27057 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27058 src, dst pointers have unequal 16 byte alignments.
27060 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27063 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27064 from a CNAME entry and return the minimum ttl for the query.
27065 (gaih_getanswer_slice): Likewise.
27067 2012-03-30 Jeff Law <law@redhat.com>
27069 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27071 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27072 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27074 * resolv/nss_dns/dns-host.c: Update copyright year.
27076 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27078 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27079 requests to save a system call. Fix check that all bytes are sent.
27081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27082 comments for sendmmsg.
27084 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27087 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27088 with only 1 character between 0x0041 and 0x01b0.
27089 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27090 * wcsmbs/tst-mbsnrtowcs.c: New file.
27092 2012-03-29 David S. Miller <davem@davemloft.net>
27094 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27095 small copies by hand.
27097 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27100 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27101 _nss_compat_initgroups_dyn): Fall back to malloc/free
27102 for large group memberships.
27104 2012-03-28 David S. Miller <davem@davemloft.net>
27106 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27107 that branches into memcpy.
27108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27111 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27114 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27115 implementation too.
27116 * sysdeps/sparc/mempcpy.S: New file.
27118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27119 the IFUNC routine in the libc case.
27120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27122 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27124 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27125 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27126 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27127 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27128 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27129 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27131 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27132 loop to 256 bytes instead of 64 bytes and fix test signedness.
27134 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27135 * sysdeps/sparc/sparc32/Makefile: rather than here...
27136 * sysdeps/sparc/sparc64/Makefile: and here.
27138 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27140 * malloc/mallocbug.c: Avoid warnings about unused variables.
27142 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27145 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27146 in the right place. Discard and retry query if response is
27147 larger than input buffer size.
27149 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27155 x for large integer exponent.
27156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27158 sign of result as needed afterwards.
27159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27161 result for underflowing pow the same as for overflow.
27162 (__kernel_standard_l): Handle powl overflow and underflow here
27163 rather than calling __kernel_standard.
27164 * math/libm-test.inc (pow_test): Add more tests.
27179 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27180 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27181 (__kernel_standard_l): New function.
27182 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27184 * math/w_acosl.c (__acosl): Likewise.
27185 * math/w_asinl.c (__asinl): Likewise.
27186 * math/w_atan2l.c (__atan2l): Likewise.
27187 * math/w_atanhl.c (__atanhl): Likewise.
27188 * math/w_coshl.c (__coshl): Likewise.
27189 * math/w_exp10l.c (__exp10l): Likewise.
27190 * math/w_exp2l.c (__exp2l): Likewise.
27191 * math/w_fmodl.c (__fmodl): Likewise.
27192 * math/w_hypotl.c (__hypotl): Likewise.
27193 * math/w_j0l.c (__j0l, __y0l): Likewise.
27194 * math/w_j1l.c (__j1l, __y1l): Likewise.
27195 * math/w_jnl.c (__jnl, __ynl): Likewise.
27196 * math/w_lgammal.c (__lgammal): Likewise.
27197 * math/w_log10l.c (__log10l): Likewise.
27198 * math/w_log2l.c (__log2l): Likewise.
27199 * math/w_logl.c (__logl): Likewise.
27200 * math/w_powl.c (__powl): Likewise.
27201 * math/w_remainderl.c (__remainderl): Likewise.
27202 * math/w_scalbl.c (sysv_scalbl): Likewise.
27203 * math/w_sinhl.c (__sinhl): Likewise.
27204 * math/w_sqrtl.c (__sqrtl): Likewise.
27205 * math/w_tgammal.c (__tgammal): Likewise.
27206 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27207 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27208 * math/libm-test.inc (acos_test): Add more tests.
27209 (acosh_test): Likewise.
27210 (asin_test): Likewise.
27211 (atanh_test): Likewise.
27212 (exp_test): Likewise.
27213 (exp10_test): Likewise.
27214 (exp2_test): Likewise.
27215 (expm1_test): Likewise.
27216 (lgamma_test): Likewise.
27217 (log_test): Likewise.
27218 (log10_test): Likewise.
27219 (log1p_test): Likewise.
27220 (log2_test): Likewise.
27221 (pow_test): Do not allow some spurious overflow exceptions.
27222 (sqrt_test): Add more tests.
27223 (tgamma_test): Likewise.
27224 (y0_test): Likewise.
27225 (y1_test): Likewise.
27226 (yn_test): Likewise.
27228 2012-03-27 Anton Blanchard <anton@samba.org>
27230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27236 2012-03-27 David S. Miller <davem@davemloft.net>
27238 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27240 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27241 have-as-vis3 check.
27243 2012-03-27 Andreas Jaeger <aj@suse.de>
27245 * sysdeps/x86_64/elf/configure.in: Moved to ...
27246 * sysdeps/x86_64/configure.in: ... here.
27247 * sysdeps/x86_64/elf/start.S: Moved to ...
27248 * sysdeps/x86_64/start.S: ... here.
27249 * sysdeps/x86_64/elf/configure: Delete.
27251 * sysdeps/x86_64/configure.in: Merge contents from
27252 sysdeps/i386/configure.in (without i686 check).
27254 * sysdeps/i386/elf/Versions: Merge into ...
27255 * sysdeps/i386/Versions: ... this.
27256 * sysdeps/i386/elf/Versions: Delete file.
27257 * sysdeps/i386/elf/start.S: Moved to ...
27258 * sysdeps/i386/start.S: ...here.
27259 * sysdeps/i386/elf/configure.in: Merge into...
27260 * sysdeps/i386/configure.in: ...here.
27261 * sysdeps/i386/elf/configure.in: Delete file.
27262 * sysdeps/i386/elf/configure: Delete file.
27264 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27265 * debug/backtracesyms.c: ... here.
27266 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27267 * debug/backtracesymsfd.c: ... here.
27268 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27269 * sysdeps/generic/ifunc-sel.h: ... here.
27271 * sysdeps/unix/i386/start.c: Delete file.
27272 * sysdeps/unix/sparc/start.c: Delete file.
27273 * sysdeps/unix/start.c: Delete file.
27275 * sysdeps/sh/elf/configure.in: Moved to ...
27276 * sysdeps/sh/configure.in: ... here.
27277 * sysdeps/sh/elf/start.S: Moved to ...
27278 * sysdeps/sh/start.S: ... here.
27279 * sysdeps/sh/elf/configure: Delete file.
27281 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27282 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27283 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27284 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27285 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27286 * sysdeps/powerpc/powerpc64/start.S: here.
27287 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27288 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27289 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27290 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27291 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27293 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27294 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27295 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27296 * sysdeps/powerpc/powerpc32/start.S: ... here.
27297 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27298 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27299 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27301 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27302 * sysdeps/powerpc/ifunc-sel.h: ... here.
27303 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27304 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27306 * sysdeps/sparc/elf/configure.in: Moved to ...
27307 * sysdeps/sparc/configure.in: ... here.
27308 * sysdeps/sparc/elf/configure: Delete file.
27309 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27310 * sysdeps/sparc/sparc32/start.S: ... here.
27311 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27312 * sysdeps/sparc/sparc64/start.S: ... here.
27313 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27314 * sysdeps/sparc/sparc32/Makefile: ... this.
27315 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27316 * sysdeps/sparc/sparc64/Makefile: ... this.
27318 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27319 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27320 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27321 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27322 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27323 * sysdeps/s390/s390-32/setjmp.S: ... here.
27324 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27325 * sysdeps/s390/s390-32/configure.in: ... here.
27326 * sysdeps/s390/s390-32/elf/configure: Delete file.
27327 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27328 * sysdeps/s390/s390-32/start.S: ... here.
27330 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27331 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27332 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27333 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27334 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27335 * sysdeps/s390/s390-64/setjmp.S: ... here.
27336 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27337 * sysdeps/s390/s390-64/configure.in: ... here
27338 * sysdeps/s390/s390-64/elf/configure: Delete file.
27339 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27340 * sysdeps/s390/s390-64/start.S: ... here.
27341 * sysdeps/s390/s390-64/elf/configure: Delete.
27343 * configure.in: Remove support for elf directories in sysdeps.
27345 * configure: Regenerated.
27346 * sysdeps/i386/configure: Regenerated.
27347 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27348 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27349 * sysdeps/s390/s390-32/configure: Regenerated.
27350 * sysdeps/s390/s390-64/configure: Regenerated.
27351 * sysdeps/sh/configure: Regenerated.
27352 * sysdeps/sparc/configure: Regenerated.
27353 * sysdeps/x86_64/configure: Regenerated.
27355 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27360 denormal result into account.
27362 2012-03-25 Roland McGrath <roland@hack.frob.com>
27364 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27365 Reported by Allan McRae <allan@archlinux.org>.
27367 2012-03-23 Jeff Law <law@redhat.com>
27369 * nss/getnssent.c (__nss_getent): Fix typo.
27371 2012-03-23 David S. Miller <davem@davemloft.net>
27373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27375 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27377 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27378 to pad to uint64_t for each field.
27379 (dl_tls_index): Replace unsigned long with uint64_t.
27381 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27382 Paul Pluzhnikov <ppluzhnikov@google.com>
27385 * grp/Makefile (otherlibs): Don't set it.
27386 * inet/Makefile (otherlibs): Likewise.
27387 * login/Makefile (otherlibs): Likewise.
27388 * nscd/Makefile (otherlibs): Likewise.
27389 * posix/Makefile (otherlibs): Likewise.
27390 * pwd/Makefile (otherlibs): Likewise.
27391 * rt/Makefile (otherlibs): Likewise.
27392 * sunrpc/Makefile (otherlibs): Likewise.
27393 * nss/Makefile (otherlibs): Likewise.
27394 Add libnss_files to routines and static-only-routines.
27395 ($(objpfx)getent): Remove rule.
27396 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27397 static-only-routines.
27399 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27402 * math/s_cexp.c: Include <float.h>.
27403 (__cexp): Handle exp result overflowing not necessarily
27404 overflowing both real and imaginary parts of result.
27405 * math/s_cexpf.c: Likewise.
27406 * math/s_cexpl.c: Likewise.
27407 * math/libm-test.inc (cexp_test): Add more tests.
27408 * sysdeps/i386/fpu/libm-test-ulps: Update.
27409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27411 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27413 * include/link.h (ELFW): New macro.
27414 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27415 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27417 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27419 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27422 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27424 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27426 (struct La_x32_retval): Likewise.
27428 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27430 * sysdeps/x86_64/preconfigure.in: New file.
27431 * sysdeps/x86_64/preconfigure: New generated file.
27433 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27436 * math/e_exp2l.c: Include <float.h>.
27437 (__ieee754_exp2l): Handle overflow and underflow cases
27438 separately. Only pass fractional part of argument to
27440 * math/libm-test.inc (exp2_test): Add more tests.
27442 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27443 negating x to take absolute value.
27444 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27449 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27450 computing low part if x was negated.
27451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27453 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27455 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27456 la_x32_gnu_pltexit.
27457 (pltexit): Cast int_retval to ptrdiff_t.
27458 * elf/tst-auditmod3b.c: Likewise.
27459 * elf/tst-auditmod4b.c: Likewise.
27460 * elf/tst-auditmod5b.c: Likewise.
27461 * elf/tst-auditmod6b.c: Likewise.
27462 * elf/tst-auditmod6c.c: Likewise.
27463 * elf/tst-auditmod7b.c: Likewise.
27465 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27466 and x32_gnu_pltexit.
27468 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27469 __ELF_NATIVE_CLASS.
27470 (La_x32_regs): New macro.
27471 (La_x32_retval): Likewise.
27472 (la_x32_gnu_pltenter): New function prototype.
27473 (la_x32_gnu_pltexit): Likewise.
27475 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27482 * configure.in (libc_cv_cc_nofma): Check for option to disable
27483 generation of FMA instructions.
27484 * configure: Regenerate.
27485 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27486 * sysdeps/ieee754/dbl-64/Makefile: New file.
27487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27488 Remove brandred-fma4.
27489 (CFLAGS-brandred-fma4.c): Remove.
27490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27496 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27498 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27499 LLONG_MAX != LONG_MAX.
27500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27501 (_fitoa_word): Likewise.
27502 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27503 LLONG_MAX != LONG_MAX.
27504 * stdio-common/_itowa.h: Include <_itoa.h>.
27505 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27506 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27507 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27508 only if not defined.
27509 (_ITOA_WORD_TYPE): Likewise.
27510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27511 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27513 2012-03-21 David S. Miller <davem@davemloft.net>
27515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27517 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27519 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27520 of x86_64 when setting libc_cv_slibdir, libdir and
27522 * sysdeps/unix/sysv/linux/configure: Regenerated.
27524 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27526 * manual/lang.texi (Old Varargs): Remove section.
27527 (How Variadic): Update menu.
27528 (va_start): Do not mention varargs.h.
27530 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27531 Joseph Myers <joseph@codesourcery.com>
27533 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27535 * configure: Regenerated.
27537 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27539 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27540 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27543 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27546 * Makefile (files-for-dist): Remove NOTES.
27547 (NOTES): Remove rule.
27548 * README: Don't refer to NOTES.
27549 * manual/creature.texi: Don't include macros.texi.
27550 * manual/intro.texi (creature.texi): Remove comment referring to
27553 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27554 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27555 * configure: Regenerated.
27556 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27557 LIBC_TRY_CC_OPTION.
27558 (libc_cv_as_i686): Likewise.
27559 (libc_cv_cc_avx): Likewise.
27560 (libc_cv_cc_sse2avx): Likewise.
27561 (libc_cv_cc_fma4): Likewise.
27562 (libc_cv_cc_novzeroupper): Likewise.
27563 * sysdeps/i386/configure: Regenerated.
27566 * sysdeps/i386/fpu/s_cexp.S: Remove.
27567 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27569 * math/libm-test.inc (cexp_test): Add more tests.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27573 2012-03-21 Allan McRae <allan@archlinux.org>
27575 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27577 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27580 * math/w_exp2.c: Do not include <float.h>.
27581 (o_threshold, u_threshold): Remove.
27582 (__exp2): Calculate result before checking finiteness and calling
27584 * math/w_exp2f.c: Likewise.
27585 * math/w_exp2l.c: Likewise.
27586 * math/libm-test.inc (exp2_test): Require overflow exception for
27590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27591 range of signed 64-bit integers before using fistpll. Remove
27592 checks for whether integers fit in mantissa bits.
27593 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27594 the range of signed 32-bit integers before using fistpl. Remove
27595 checks for whether integers fit in mantissa bits.
27596 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27597 (__ieee754_powl): Test for y outside the range of signed 64-bit
27598 integers before using fistpll. Reduce 64-bit values to 63-bit
27600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27601 divide-by-zero is raised for zero to large negative powers.
27602 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27603 (__ieee754_powl): Test for y outside the range of signed 64-bit
27604 integers before using fistpll. Reduce 64-bit values to 63-bit
27606 * math/libm-test.inc (pow_test): Add more tests.
27608 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27610 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27611 <stdio-common/_itoa.h>.
27612 * debug/segfault.c: Likewise.
27613 * elf/dl-cache.c: Likewise.
27614 * elf/dl-minimal.c: Likewise.
27615 * elf/dl-misc.c: Likewise.
27616 * elf/dl-sysdep.c: Likewise.
27617 * elf/dl-version.c: Likewise.
27618 * elf/rtld.c: Likewise.
27619 * hurd/hurdsock.c: Likewise.
27620 * hurd/lookup-retry.c: Likewise.
27621 * malloc/malloc.c: Likewise.
27622 * malloc/mtrace.c: Likewise.
27623 * nscd/nscd_getgr_r.c: Likewise.
27624 * nscd/nscd_getpw_r.c: Likewise.
27625 * nscd/nscd_getserv_r.c: Likewise.
27626 * posix/getopt_init.c: Likewise.
27627 * posix/wordexp.c: Likewise.
27628 * stdio-common/_itoa.c: Likewise.
27629 * stdio-common/printf_fphex.c: Likewise.
27630 * stdio-common/vfprintf.c: Likewise.
27631 * string/_strerror.c: Likewise.
27632 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27633 * sysdeps/i386/i686/hp-timing.h: Likewise.
27634 * sysdeps/mach/_strerror.c: Likewise.
27635 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27636 * sysdeps/mach/hurd/sethostid.c: Likewise.
27637 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27638 * sysdeps/mach/xpg-strerror.c: Likewise.
27639 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27641 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27642 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27643 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27644 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27646 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27647 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27648 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27649 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27651 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27653 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27655 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27656 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27657 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27658 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27659 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27661 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27663 * stdio-common/_itoa.h: Moved to ...
27664 * sysdeps/generic/_itoa.h: Here.
27666 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27668 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27669 instead of "_itoa.h" and "_itowa.h".
27670 * stdio-common/vfprintf.: Likewise.
27672 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27676 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27677 (__signbit): Likwise.
27678 (llrintf): Likwise.
27681 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27683 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27686 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27688 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27689 OVERFLOW_EXCEPTION_OK.
27690 * math/libm-test.inc ("Philosophy"): Update comment about
27692 (OVERFLOW_EXCEPTION): Define.
27693 (OVERFLOW_EXCEPTION_OK): Likewise.
27694 (INVALID_EXCEPTION_OK): Renumber.
27695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27696 (IGNORE_ZERO_INF_SIGN): Likewise.
27697 (test_exceptions): Handle FE_OVERFLOW.
27698 (exp10_test): Expect overflow exceptions.
27699 (exp2_test): Likewise.
27700 (expm1_test): Likewise.
27701 (nextafter_test): Likewise.
27702 (pow_test): Likewise.
27703 (scalbn_test): Likewise.
27704 (scalbln_test): Likewise.
27706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27708 * sysdeps/x86_64/bits/atomic.h
27709 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27711 (atomic_exchange_acq): Likewise.
27712 (__arch_exchange_and_add_body): Likewise.
27713 (__arch_add_body): Likewise.
27714 (atomic_add_negative): Likewise.
27715 (atomic_add_zero): Likewise.
27717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27719 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27720 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27724 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27725 Check __x86_64__ instead of __WORDSIZE.
27727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27729 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27731 2012-03-19 David S. Miller <davem@davemloft.net>
27733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27735 * sysdeps/sparc/fpu/fenv_private.h: New file.
27736 * sysdeps/sparc/fpu/math_private.h: Use it.
27737 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27739 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27740 (libc_feholdexcept_setroundl): Remove.
27741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27743 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27744 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27746 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27748 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27749 int64_t instead of long int.
27750 (INSERT_WORDS64): Likwise.
27752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27754 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27755 _Unwind_GetCFA return to _Unwind_Ptr first.
27757 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27760 * math/s_clog.c: Include <float.h>.
27761 (__clog): Scale large or subnormal inputs.
27762 * math/s_clogf.c: Likewise.
27763 * math/s_clogl.c: Likewise.
27764 * math/s_clog10.c: Include <float.h>.
27765 (M_LOG10_2): Define.
27766 (__clog10): Scale large or subnormal inputs.
27767 * math/s_clog10f.c: Likewise.
27768 * math/s_clog10l.c: Likewise.
27769 * math/libm-test.inc (clog_test): Add more tests.
27770 (clog10_test): Likewise.
27771 * sysdeps/i386/fpu/libm-test-ulps: Update.
27772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27777 * math/libm-test.inc (atan2_test): Add another test.
27779 * Makerules (common-objdir-compile): Remove.
27780 * sysdeps/unix/Makefile (config-generated): Do not add
27781 $(unix-generated) to variable.
27782 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27783 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27785 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27787 [generic bits/local_lim.h] (before-compile): Do not append to
27789 [generic bits/local_lim.h] (common-generated): Likewise.
27790 [generic sys/param.h] (before-compile): Do not append to variable.
27791 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27792 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27793 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27796 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27797 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27798 [generic sys/param.h] ($(addprefix
27799 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27800 [generic sys/param.h] (common-generated): Do not append to
27802 [generic sys/param.h] (sysdep_headers): Likewise.
27803 [generic bits/errno.h] (before-compile): Do not append to
27805 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27807 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27808 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27809 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27810 [generic bits/errno.h] (common-generated): Do not append to
27812 [generic bits/ioctls.h] (before-compile): Do not append to
27814 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27816 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27817 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27818 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27820 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27821 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27822 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27823 [generic bits/ioctls.h] (common-generated): Do not append to
27825 [generic sys/syscall.h] (syscall.h): Remove variable.
27826 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27828 [generic sys/syscall.h] (before-compile): Do not append to
27830 [generic sys/syscall.h] (common-generated): Likewise.
27831 * sysdeps/unix/errnos-tmpl.c: Remove file.
27832 * sysdeps/unix/errnos.awk: Likewise.
27833 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27834 * sysdeps/unix/ioctls.awk: Likewise.
27835 * sysdeps/unix/mk-local_lim.c: Likewise.
27836 * sysdeps/unix/snarf-ioctls: Likewise.
27838 2012-03-19 Richard Henderson <rth@twiddle.net>
27840 * sysdeps/i386/fpu/fenv_private.h: New file.
27841 * sysdeps/i386/fpu/math_private.h: Use it.
27842 (math_opt_barrier, math_force_eval): Remove.
27843 (libc_feholdexcept_setround_53bit): Remove.
27844 (libc_feupdateenv_53bit): Remove.
27845 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27846 (math_opt_barrier, math_force_eval): Remove.
27847 (libc_feholdexcept): Remove.
27848 (libc_feholdexcept_setround): Remove.
27849 (libc_fetestexcept, libc_fesetenv): Remove.
27850 (libc_feupdateenv_test): Remove.
27851 (libc_feupdateenv, libc_feholdsetround): Remove.
27852 (libc_feresetround): Remove.
27854 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27855 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27857 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27858 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27859 (libc_feupdateenv_testl): New.
27860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27861 (libc_feupdateenv_testf): New.
27862 (libc_feupdateenv): Use libc_feupdateenv_test.
27863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27866 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27867 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27868 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27869 (libc_feresetround_noex): New.
27870 (libc_feresetround_noexf): New.
27871 (libc_feresetround_noexl): New.
27872 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27873 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27874 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27880 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27881 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27882 SET_RESTORE_ROUND_NOEX.
27883 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27884 SET_RESTORE_ROUND_NOEXF.
27885 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27886 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27887 (libc_feholdsetroundf): New.
27888 (libc_feresetround, libc_feresetroundf): New.
27890 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27891 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27892 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27894 * sysdeps/generic/math_private.h: Include <fenv.h>.
27895 (default_libc_feholdexcept): New.
27896 (default_libc_feholdexcept_setround): New.
27897 (default_libc_fesetenv, default_libc_feupdateenv): New.
27898 (libc_feholdexcept): Only define if undefined.
27899 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27900 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27901 (libc_feholdexcept_setroundl): Likewise.
27902 (libc_feholdexcept_setround_53bit): Likewise.
27903 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27904 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27905 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27906 (libc_feupdateenv_53bit): Likewise.
27907 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27908 (libc_feholdexcept): Convert from macro to inline function.
27909 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27910 (libc_fesetenv, libc_feupdateenv): Likewise.
27912 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27913 not previously defined.
27914 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27915 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27916 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27917 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27918 * sysdeps/ieee754/flt-32/math_private.h: New file.
27919 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27920 math_private.h below SET_FLOAT_WORD.
27921 (__isnan, __isinf_ns, __finite): Remove.
27922 (__isnanf, __isinf_nsf, __finitef): Remove.
27924 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27928 2012-03-17 David S. Miller <davem@davemloft.net>
27931 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27934 2012-03-16 David S. Miller <davem@davemloft.net>
27936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27942 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27943 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27944 sysdep_routines when subdir is sysvipc.
27945 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27946 __getshmlba helper.
27948 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27950 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27952 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27955 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27958 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27959 (__lround): Renamed to ...
27960 (__llround): This. Replace long int with long long int.
27961 Define lround functions as aliases of llround functions.
27962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27964 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27966 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27967 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27968 adresses to uintptr_t. Replace "long int" and "unsigned long
27969 int" with "greg_t" on va_arg.
27971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27973 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27974 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27976 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27977 Move e_machine check before EI_CLASS check. Handle x32
27978 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27979 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27980 SKIP_EM_IA_64 and include
27981 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27983 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27984 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27985 (add_system_dir): New macro.
27987 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27988 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27990 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28001 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28003 * math/w_j0f.c (j0f): Likewise.
28005 * math/w_j0l.c (__j0l): Likewise.
28007 * math/w_j1.c (j1): Likewise.
28009 * math/w_j1f.c (j1f): Likewise.
28011 * math/w_j1l.c (__j1l): Likewise.
28013 * math/w_jn.c (jn): Likewise.
28015 * math/w_jnf.c (jnf): Likewise.
28017 * math/w_jnl.c (__jnl): Likewise.
28019 * math/libm-test.inc (j0_test): Add more tests.
28020 (j1_test): Likewise.
28021 (jn_test): Likewise. Add trailing semicolon to existing test.
28022 (y0_test): Likewise.
28023 (y1_test): Likewise.
28024 * sysdeps/i386/fpu/libm-test-ulps: Update.
28025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28030 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28031 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28033 (__tanl): Set errno for infinite argument.
28034 * sysdeps/i386/fpu/mptan.c: Remove.
28035 * sysdeps/i386/fpu/s_tan.S: Likewise.
28036 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28037 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28038 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28039 * math/libm-test.inc (tan_test): Add more tests and enable more
28040 tests for double and long double.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28044 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28046 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28047 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28049 2012-03-16 Roland McGrath <roland@hack.frob.com>
28051 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28052 * configure.in: Use it for both main tree and add-ons.
28053 * configure: Regenerated.
28055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28057 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28059 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28061 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28065 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28066 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28071 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28073 != 0 for prec == 2.
28074 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28075 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28076 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28077 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28078 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28079 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28080 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28081 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28082 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28083 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28084 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28085 * math/libm-test.inc (cos_test): Add more tests and enable more
28086 tests for long double.
28087 (sin_test): Likewise.
28088 (sincos_test): Likewise.
28089 * sysdeps/i386/fpu/libm-test-ulps: Update.
28090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28092 2012-03-16 David S. Miller <davem@davemloft.net>
28094 * sysdeps/sparc/fpu/math_private.h: New file.
28096 2012-03-15 David S. Miller <davem@davemloft.net>
28098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28112 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28113 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28115 * sysdeps/sparc/sparc-ifunc.h: New file.
28116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28161 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28163 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28167 2012-03-15 Andreas Jaeger <aj@suse.de>
28170 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28171 ieee754/flt-32 implementation for sin, cos and sincos.
28172 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28173 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28174 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28175 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28176 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28177 ieee754/flt-32 implementation for tan.
28179 * math/libm-test.inc (cos_test): Enable some large input tests for
28181 (sin_test): Likewise.
28182 (sincos_test): Likewise.
28183 (tan_test): Add tests for large input.
28185 * sysdeps/i386/fpu/libm-test-ulps: Update.
28187 2012-03-15 Andreas Jaeger <aj@suse.de>
28190 * math/libm-test.inc (cos_test): Add more test cases.
28191 (sin_test): Likewise.
28192 (sincos_test): Likewise.
28194 2012-03-15 Andreas Jaeger <aj@suse.de>
28197 * math/libm-test.inc (cos_test): Add a test case for large input
28199 (sin_test): Likewise.
28200 (sincos_test): Likewise.
28202 2012-03-15 Andreas Jaeger <aj@suse.de>,
28203 Joseph Myers <joseph@codesourcery.com>
28206 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28207 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28208 * sysdeps/i386/fpu/branred.c: Likewise.
28209 * sysdeps/i386/fpu/dosincos.c: Likewise.
28210 * sysdeps/i386/fpu/mpa.c: Likewise.
28211 * sysdeps/i386/fpu/s_cos.S: Likewise.
28212 * sysdeps/i386/fpu/s_sin.S: Likewise.
28213 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28214 * sysdeps/i386/fpu/sincos32.c: Likewise.
28216 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28218 (libc_feupdateenv_53bit): Define.
28219 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28221 (libc_feupdateenv_53bit): Define.
28223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28224 53 bit (without extend i386 double precision).
28226 * math/libm-test.inc (sincos_test): Add tests for large input.
28230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28232 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28236 2012-03-15 David S. Miller <davem@davemloft.net>
28238 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28239 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28240 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28241 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28266 fmin/fmax sysdep routines.
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28269 2012-03-14 David S. Miller <davem@davemloft.net>
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28348 * sysdeps/sparc/configure.in: New file.
28349 * sysdeps/sparc/configure: Generate.
28350 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28351 * configure: Regenerate.
28352 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28353 * config.make.in (have-as-vis3): New.
28354 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28355 available use -Av9d instead of -Av9a.
28356 * sysdeps/sparc/sparc64/Makefile: Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28372 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28373 fzeros/fnegs to load 0x80000000 into a float register instead of
28375 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28377 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28381 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28382 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28383 ($(inst_includedir)/bits/syscall.h): Remove rule.
28384 ($(objpfx)bits/syscall.d): Include instead of
28385 $(objpfx)syscall-list.d.
28386 (generated): Change syscall-list.h and syscall-list.d to
28387 bits/syscall.h and bits/syscall.d.
28389 2012-03-14 Roland McGrath <roland@hack.frob.com>
28392 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28394 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28397 * math/s_csqrt.c: Include <float.h>.
28398 (__csqrt): Scale large or subnormal inputs.
28399 * math/s_csqrtf.c: Likewise.
28400 * math/s_csqrtl.c: Likewise.
28401 * math/libm-test.inc (csqrt_test): Add more tests.
28402 * sysdeps/i386/fpu/libm-test-ulps: Update.
28403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28406 * math/libm-test.inc (hypot_test): Add more tests.
28408 2012-03-13 David S. Miller <davem@davemloft.net>
28411 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28412 double-precision for the calculation instead of scaling.
28414 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28417 manipulate bits before adding and subtracting TWO52[sx].
28418 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28419 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28423 2012-03-13 David S. Miller <davem@davemloft.net>
28425 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28426 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28428 rtld-global-offsets.h
28429 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28431 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28434 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28436 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28437 'err' in the ifdef scope in which it is actually used.
28439 * nss/nss_db/db-init.c: Include string.h
28441 2012-03-12 David S. Miller <davem@davemloft.net>
28443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28444 masking out of the most significant byte of random value used.
28445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28446 Fix coding style in previous change.
28448 * sysdeps/unix/sysv/linux/kernel-features.h
28449 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28450 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28452 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28455 2012-03-11 David S. Miller <davem@davemloft.net>
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28458 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28460 for 'resultvar' otherwise things get truncated on 64-bit.
28462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28463 Fix masking out of the most significant byte of random value used.
28465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28467 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28471 2012-03-09 David S. Miller <davem@davemloft.net>
28473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28474 variables with appropriate CPP guards.
28475 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28476 frame pointer, not the stack pointer. Correct layout comments. Fix test
28477 on resulting framesize and the management of the outregs buffer for pltexit.
28478 Preserve floating point return values across _dl_call_pltexit call.
28479 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28480 framesize and the management of the outregs buffer for pltexit.
28481 Preserve floating point return values across _dl_call_pltexit
28483 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28484 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28485 (print_exit): Fix format string for return register value.
28487 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28489 * sunrpc/Makefile (others): Add rpcgen.
28490 ($(objpfx)rpcgen): Remove special build rule and dependency on
28492 * sunrpc/rpcgen.c: New file.
28494 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28497 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28498 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28499 * sysdeps/i386/crti.S: Likewise.
28500 * sysdeps/i386/crtn.S: Likewise.
28501 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28502 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28503 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28504 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28505 * sysdeps/sh/crti.S: Likewise.
28506 * sysdeps/sh/crtn.S: Likewise.
28507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28510 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28512 * locale/programs/locfile-kw.gperf: Likewise.
28513 * locale/programs/charmap-kw.h: Regenerated.
28514 * locale/programs/locfile-kw.h: Likewise.
28517 * intl/plural.y: Replace FSF snail mail address with URL.
28518 * intl/plural.c: Regenerated.
28520 2012-03-09 Richard Henderson <rth@twiddle.net>
28522 * include/math_private.h: Remove file.
28523 * math/math_private.h: Move file ...
28524 * sysdeps/generic/math_private.h: ... here.
28526 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28527 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28530 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28531 and <math_private.h>.
28532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28646 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28649 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28652 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28659 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28662 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28671 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28681 * sysdeps/ieee754/k_standard.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28797 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28842 * sysdeps/ieee754/s_lib_version.c: Likewise.
28843 * sysdeps/ieee754/s_matherr.c: Likewise.
28844 * sysdeps/ieee754/s_signgam.c: Likewise.
28845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28848 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28851 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28852 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28853 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28854 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28855 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28856 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28859 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28860 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28861 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28867 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28869 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28870 * sunrpc/rpc_main.c: Likewise.
28871 * sunrpc/rpc_svcout.c: Likewise.
28873 2012-03-09 David S. Miller <davem@davemloft.net>
28875 * include/math_private.h: New file.
28877 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28879 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28880 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28881 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28882 from <bits/socket_type.h>.
28883 (enum __socket_type): Don't define here.
28884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28886 bits/socket_type.h.
28889 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28890 checking __USE_GNU.
28892 * Makerules ($(inst_includedir)/%.h): New rule.
28893 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28894 (install-others): Remove variable setting.
28895 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28897 2012-03-08 Richard Henderson <rth@twiddle.net>
28899 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28900 from macro to inline function; merge with the
28901 !__LIBC_INTERNAL_MATH_INLINES version.
28902 (__ieee754_sqrtf): Likewise.
28904 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28905 to inline function.
28906 (__rintf, __floor, __floorf): Likewise.
28908 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28909 macro to inline function.
28910 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28913 not <math/math_private.h>.
28915 2012-03-08 David S. Miller <davem@davemloft.net>
28917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28919 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28921 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28923 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28925 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28926 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28928 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28930 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28931 be defined individually, they must be defined as a block. Define
28932 S for printing a string instead of hidint the different by using a
28933 macro for adding the 'l'.
28934 * stdio-common/tst-fphex-wide.c: Adjust.
28936 2012-03-07 Marek Polacek <polacek@redhat.com>
28938 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28940 2012-03-08 Marek Polacek <polacek@redhat.com>
28943 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28944 * stdio-common/tst-fphex.c: Define a few macros to make the
28945 test reusable. Use them.
28946 * stdio-common/tst-fphex-wide.c: New file.
28948 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28951 * manual/macros.texi (gnusystems): New macro.
28952 (nongnusystems): Likewise.
28953 (gnulinuxhurdsystems): Likewise.
28954 (gnuhurdsystems): Likewise..
28955 (gnulinuxsystems): Likewise.
28956 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28957 variants of the GNU system, not "GNU system".
28958 * manual/conf.texi: Likewise.
28959 * manual/errno.texi: Likewise. Update example of errno macro
28961 * manual/filesys.texi: Likewise.
28962 (getumask): Document as specific to GNU/Hurd.
28963 * manual/install.texi: Likewise. Reword some references to
28965 * manual/intro.texi: Likewise.
28966 * manual/io.texi: Likewise.
28967 (File Name Portability): Detail which constraints are inapplicable
28968 to all GNU systems and which are only inapplicable to GNU/Hurd.
28969 * manual/job.texi: Likewise.
28970 * manual/llio.texi: Likewise.
28971 (O_NOCTTY): Document as present on GNU/Linux.
28972 * manual/maint.texi: Likewise.
28973 * manual/memory.texi: Likewise.
28974 * manual/pattern.texi: Likewise.
28975 * manual/pipe.texi: Likewise.
28976 * manual/process.texi: Likewise.
28977 * manual/resource.texi: Likewise.
28978 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28980 * manual/setjmp.texi: Likewise.
28981 * manual/signal.texi: Likewise.
28982 * manual/startup.texi: Likewise.
28983 * manual/stdio.texi: Likewise.
28984 * manual/terminal.texi: Likewise.
28985 (ONLCR): Document as POSIX.
28986 (OXTABS): Document availability on GNU/Linux as XTABS.
28987 (ONOEOT): Document availability separately from other bits.
28988 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28989 * manual/time.texi: Likewise.
28990 * manual/users.texi: Likewise.
28991 * INSTALL: Regenerated.
28992 * sysdeps/gnu/errlist.c: Regenerated.
28994 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28995 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28996 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28998 * configure: Regenerated.
29000 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29002 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29003 default includes instead of AC_HEADER_CHECK.
29004 * sysdeps/i386/configure: Regenerated.
29007 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29008 * math/s_cacoshf.c (__cacoshf): Likewise.
29009 * math/s_cacoshl.c (__cacoshl): Likewise.
29010 * math/s_casinh.c (__casinh): Set signs of result from argument.
29011 * math/s_casinhf.c (__casinhf): Likewise.
29012 * math/s_casinhl.c (__casinhl): Likewise.
29013 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29014 (casinh_test): Add more tests.
29015 * sysdeps/i386/fpu/libm-test-ulps: Update.
29016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29018 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29020 * po/zh_TW.po: Update from translation team.
29022 * login/Makefile (distribute): Remove variable.
29023 * catgets/Makefile: Likewise.
29024 * mach/Makefile: Likewise.
29025 * malloc/Makefile: Likewise.
29026 * misc/Makefile: Likewise.
29027 * iconv/Makefile: Likewise.
29028 * nscd/Makefile: Likewise.
29029 * hurd/Makefile: Likewise.
29030 * manual/Makefile: Likewise.
29031 * locale/Makefile: Likewise.
29032 * intl/Makefile: Likewise.
29033 * conform/Makefile: Likewise.
29034 * nss/Makefile: Likewise.
29035 * time/Makefile: Likewise.
29036 * soft-fp/Makefile: Likewise.
29037 * dirent/Makefile: Likewise.
29038 * gmon/Makefile: Likewise.
29039 * po/Makefile: Likewise.
29040 * rt/Makefile: Likewise.
29041 * socket/Makefile: Likewise.
29042 * math/Makefile: Likewise.
29043 * signal/Makefile: Likewise.
29044 * debug/Makefile: Likewise.
29045 * elf/Makefile: Likewise.
29046 * timezone/Makefile: Likewise.
29047 * stdlib/Makefile: Likewise.
29048 * iconvdata/Makefile: Likewise.
29049 * sunrpc/Makefile: Likewise.
29050 * io/Makefile: Likewise.
29051 * argp/Makefile: Likewise.
29052 * inet/Makefile: Likewise.
29053 * hesiod/Makefile: Likewise.
29054 * grp/Makefile: Likewise.
29055 * csu/Makefile: Likewise.
29056 * wctype/Makefile: Likewise.
29057 * crypt/Makefile: Likewise.
29058 * libio/Makefile: Likewise.
29059 * string/Makefile: Likewise.
29060 * nis/Makefile: Likewise.
29061 * resolv/Makefile: Likewise.
29062 * stdio-common/Makefile: Likewise.
29063 * wcsmbs/Makefile: Likewise.
29064 * dlfcn/Makefile: Likewise.
29065 * posix/Makefile: Likewise.
29068 * timezone/Makefile: Don't install timezone files, just the programs
29071 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29073 * nss/databases.def: Add missing gshadow entry.
29075 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29077 2012-03-06 Marek Polacek <polacek@redhat.com>
29080 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29081 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29082 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29083 * stdio-common/tst-long-dbl-fphex.c: New file.
29085 2012-03-06 David S. Miller <davem@davemloft.net>
29087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29088 (set_obp_int): New function.
29089 (get_obp_int): New function.
29090 (__get_clockfreq_via_dev_openprom): Likewise.
29091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29092 Avoid unused variable warnings on 'val' and use builtin_expect.
29093 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29095 (INLINE_CLONE_SYSCALL): Likewise.
29097 2012-03-05 David S. Miller <davem@davemloft.net>
29099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29101 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29106 only for |x| >= 40.
29107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29109 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29112 Replace gettimeofday with __vdso_gettimeofday.
29114 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29115 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29116 __vdso_clock_gettime and __vdso_getcpu.
29118 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29119 time with __vdso_time.
29121 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29123 * manual/lang.texi (size_t): Note types to which size_t may be
29124 equivalent with the GNU C Library, but do not describe when
29125 differences between them are significant.
29127 2012-03-05 Andreas Jaeger <aj@suse.de>
29129 * sysdeps/i386/fpu/libm-test-ulps: Update.
29131 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29134 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29135 (__ieee754_pow): Save and restore rounding mode and use
29136 round-to-nearest for main computations.
29137 * math/libm-test.inc (pow_test_tonearest): New function.
29138 (pow_test_towardzero): Likewise.
29139 (pow_test_downward): Likewise.
29140 (pow_test_upward): Likewise.
29141 (main): Call the new functions.
29142 * sysdeps/i386/fpu/libm-test-ulps: Update.
29143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146 * math/libm-test.inc (cosh_test_tonearest): New function.
29147 (cosh_test_towardzero): Likewise.
29148 (cosh_test_downward): Likewise.
29149 (cosh_test_upward): Likewise.
29150 (sinh_test_tonearest): Likewise.
29151 (sinh_test_towardzero): Likewise.
29152 (sinh_test_downward): Likewise.
29153 (sinh_test_upward): Likewise.
29154 (main): Call the new functions.
29155 * sysdeps/i386/fpu/libm-test-ulps: Update.
29156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29158 2012-03-05 Tom de Vries <tom@codesourcery.com>
29160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29161 default stack guard is set in last bytes.
29162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29164 2012-03-05 Kees Cook <keescook@chromium.org>
29166 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29169 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29170 possibly allocate from heap instead of stack.
29171 * stdio-common/bug-vfprintf-nargs.c: New file.
29172 * stdio-common/Makefile (tests): Add nargs overflow test.
29174 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29178 2012-03-03 Marek Polacek <polacek@redhat.com>
29180 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29181 * math/math_private.h: Likewise.
29182 * stdlib/tst-strtod.c: Likewise.
29183 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29184 * sysdeps/x86_64/bits/atomic.h: Likewise.
29186 2012-03-02 David S. Miller <davem@davemloft.net>
29188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29192 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29193 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29194 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29195 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29197 2012-03-02 Roland McGrath <roland@hack.frob.com>
29200 * manual/examples/README: New file, says the example source files
29201 can be used under GPL>=2.
29202 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29203 line containing just "*/".
29204 * manual/examples/add.c: Add copyright header (GPL>=2).
29205 * manual/examples/argp-ex1.c: Likewise.
29206 * manual/examples/argp-ex2.c: Likewise.
29207 * manual/examples/argp-ex3.c: Likewise.
29208 * manual/examples/argp-ex4.c: Likewise.
29209 * manual/examples/atexit.c: Likewise.
29210 * manual/examples/db.c: Likewise.
29211 * manual/examples/dir.c: Likewise.
29212 * manual/examples/dir2.c: Likewise.
29213 * manual/examples/execinfo.c: Likewise.
29214 * manual/examples/filecli.c: Likewise.
29215 * manual/examples/filesrv.c: Likewise.
29216 * manual/examples/fmtmsgexpl.c: Likewise.
29217 * manual/examples/genpass.c: Likewise.
29218 * manual/examples/inetcli.c: Likewise.
29219 * manual/examples/inetsrv.c: Likewise.
29220 * manual/examples/isockad.c: Likewise.
29221 * manual/examples/longopt.c: Likewise.
29222 * manual/examples/memopen.c: Likewise.
29223 * manual/examples/memstrm.c: Likewise.
29224 * manual/examples/mkfsock.c: Likewise.
29225 * manual/examples/mkisock.c: Likewise.
29226 * manual/examples/mygetpass.c: Likewise.
29227 * manual/examples/pipe.c: Likewise.
29228 * manual/examples/popen.c: Likewise.
29229 * manual/examples/rprintf.c: Likewise.
29230 * manual/examples/search.c: Likewise.
29231 * manual/examples/select.c: Likewise.
29232 * manual/examples/setjmp.c: Likewise.
29233 * manual/examples/sigh1.c: Likewise.
29234 * manual/examples/sigusr.c: Likewise.
29235 * manual/examples/stpcpy.c: Likewise.
29236 * manual/examples/strdupa.c: Likewise.
29237 * manual/examples/strftim.c: Likewise.
29238 * manual/examples/strncat.c: Likewise.
29239 * manual/examples/subopt.c: Likewise.
29240 * manual/examples/swapcontext.c: Likewise.
29241 * manual/examples/termios.c: Likewise.
29242 * manual/examples/testopt.c: Likewise.
29243 * manual/examples/testpass.c: Likewise.
29244 * manual/examples/timeval_subtract.c: Likewise.
29247 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29249 * manual/timeval_subtract.c.texi: ... here, new file.
29251 2012-03-02 David S. Miller <davem@davemloft.net>
29253 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29255 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29258 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29259 (__sin): Save and restore rounding mode and use round-to-nearest
29260 for all computations.
29261 (__cos): Save and restore rounding mode and use round-to-nearest
29262 for all computations.
29263 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29265 (tan): Save and restore rounding mode and use round-to-nearest for
29267 * math/libm-test.inc (cos_test_tonearest): New function.
29268 (cos_test_towardzero): Likewise.
29269 (cos_test_downward): Likewise.
29270 (cos_test_upward): Likewise.
29271 (sin_test_tonearest): Likewise.
29272 (sin_test_towardzero): Likewise.
29273 (sin_test_downward): Likewise.
29274 (sin_test_upward): Likewise.
29275 (tan_test_tonearest): Likewise.
29276 (tan_test_towardzero): Likewise.
29277 (tan_test_downward): Likewise.
29278 (tan_test_upward): Likewise.
29279 (main): Call the new functions.
29280 * sysdeps/i386/fpu/libm-test-ulps: Update.
29281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29284 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29285 small n, then large n, before computing and testing k+n.
29286 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29291 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29292 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29299 * math/libm-test.inc (scalbn_test): Add more tests.
29300 (scalbln_test): Likewise.
29302 * manual/filesys.texi (mode_t): Describe constraints on size and
29303 signedness, not exact equivalence to a particular type.
29305 (ino64_t): Likewise.
29307 (nlink_t): Likewise.
29308 (blkcnt_t): Likewise.
29309 (blkcnt64_t): Likewise.
29310 * manual/llio.texi (off_t): Likewise.
29313 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29314 (__ieee754_exp): Save and restore rounding mode and use
29315 round-to-nearest for all computations.
29316 * math/libm-test.inc (exp_test_tonearest): New function.
29317 (exp_test_towardzero): Likewise.
29318 (exp_test_downward): Likewise.
29319 (exp_test_upward): Likewise.
29320 (main): Call the new functions.
29321 * sysdeps/i386/fpu/libm-test-ulps: Update.
29322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324 2012-03-01 Chris Demetriou <cgd@google.com>
29326 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29327 have predictable order.
29329 2012-03-01 David S. Miller <davem@davemloft.net>
29331 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29333 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29334 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29335 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29336 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29338 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29339 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29340 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29342 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29343 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29344 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29345 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29346 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29351 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29354 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29362 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29363 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29364 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29368 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29370 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29371 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29372 * sysdeps/sparc/elf/configure: Regenerated.
29374 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29376 * configure.in (AS, LD): Require binutils 2.20 or later.
29377 * configure: Regenerated.
29378 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29379 as required minimum version.
29380 * INSTALL: Regenerated.
29384 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29385 before squaring exponent.
29386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29387 bottom long double and 27 bits of top long double before squaring
29389 * math/libm-test.inc (erfc_test): Add more tests.
29390 * sysdeps/i386/fpu/libm-test-ulps: Update.
29391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29394 2012-03-01 Kai Tietz <ktietz@redhat.com>
29396 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29397 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29398 containing bit-fields.
29399 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29400 * soft-fp/single.h (_FP_UNION_S): Likewise.
29401 * soft-fp/double.h (_FP_UNION_D): Likewise.
29403 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29406 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29407 not include ../strcmp.S.
29408 [USE_AS_STRNCASECMP_L]: Likewise.
29409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29410 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29411 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29412 (__strncasecmp_l_ia32): Define as alias to
29413 __strncasecmp_l_nonascii.
29416 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29417 * sysdeps/i386/fpu/libm-test-ulps: Update.
29418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29420 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29423 2012-02-29 Jeff Law <law@redhat.com>
29425 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29426 out of bounds read.
29428 2012-02-29 Marek Polacek <polacek@redhat.com>
29431 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29432 * elf/Makefile: Add rules to run tst-unused-dep.out.
29434 2012-02-28 David S. Miller <davem@davemloft.net>
29436 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29437 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29440 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29441 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29443 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29445 * math/libm-test.inc (llround_test): Move one test from
29446 lround_test. Use TEST_f_L in moved test.
29447 (lround_test): Move misplaced test to llround_test. Add testcase
29450 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29452 * sysdeps/x86_64/fpu/e_expf.S: New file.
29453 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29455 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29458 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29459 of remain_len that may cause incomplete multi-byte character and
29461 * posix/bug-regex33.c: New file.
29462 * posix/Makefile (tests): Add bug-regex33.
29464 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29466 * manual/macros.texi: New file.
29467 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29468 * manual/libc.texinfo: Include macros.texi.
29469 * manual/creatute.texi: Likewise.
29470 * manual/install.texi: Likewise.
29471 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29472 @glibcadj{} in references to the GNU C Library.
29473 * manual/charset.texi: Likewise.
29474 * manual/conf.texi: Likewise.
29475 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29476 when not using those macros.
29477 * manual/creature.texi: Likewise.
29478 * manual/crypt.texi: Likewise.
29479 * manual/errno.texi: Likewise.
29480 * manual/filesys.texi: Likewise.
29481 * manual/header.texi: Likewise.
29482 * manual/install.texi: Likewise.
29483 * manual/intro.texi: Likewise.
29484 * manual/io.texi: Likewise.
29485 * manual/job.texi: Likewise.
29486 * manual/lang.texi: Likewise.
29487 * manual/libc.texiinfo: Likewise.
29488 * manual/llio.texi: Likewise.
29489 * manual/locale.texi: Likewise.
29490 * manual/maint.texi: Likewise.
29491 * manual/math.texi: Likewise.
29492 * manual/memory.texi: Likewise.
29493 * manual/message.texi: Likewise.
29494 * manual/nss.texi: Likewise.
29495 * manual/pattern.texi: Likewise.
29496 * manual/process.texi: Likewise.
29497 * manual/resource.texi: Likewise.
29498 * manual/search.texi: Likewise.
29499 * manual/setjmp.texi: Likewise.
29500 * manual/signal.texi: Likewise.
29501 * manual/socket.texi: Likewise.
29502 * manual/startup.texi: Likewise.
29503 * manual/stdio.texi: Likewise.
29504 * manual/string.texi: Likewise.
29505 * manual/sysinfo.texi: Likewise.
29506 * manual/syslog.texi: Likewise.
29507 * manual/terminal.texi: Likewise.
29508 * manual/time.texi: Likewise.
29509 * manual/users.texi: Likewise.
29510 * INSTALL: Regenerated.
29511 * NOTES: Regenerated.
29512 * sysdeps/gnu/errlist.c: Regenerated.
29514 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29516 * include/dirent.h: Include <dirstream.h> before
29519 2012-02-28 David S. Miller <davem@davemloft.net>
29521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29522 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29523 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29526 2012-02-27 David S. Miller <davem@davemloft.net>
29528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29530 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29531 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29534 frame pointer instead of stack pointer relative arg slot.
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29539 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29542 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29544 2012-02-27 David S. Miller <davem@davemloft.net>
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29552 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29553 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29555 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29557 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29558 later. Allow versions 5-9.
29559 * configure: Regenerated.
29560 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29561 required minimum version and 4.6 as recommended version. Do not
29562 mention bugs in GCC 2.7 and 2.8.
29563 * INSTALL: Regenerated.
29565 2012-02-27 David S. Miller <davem@davemloft.net>
29567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29573 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29577 manipulate bits before adding and subtracting TWO112[sx].
29578 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29580 2012-02-27 Roland McGrath <roland@hack.frob.com>
29583 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29584 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29585 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29586 being in POSIX, because they are in 1003.1-2008.
29588 * rt/tst-aio.c: Include <fcntl.h>.
29589 * rt/tst-aio7.c: Likewise.
29590 * rt/tst-aio64.c: Likewise.
29592 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29594 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29596 * manual/install.texi (--with-headers): Describe headers as
29597 interface headers, not private headers.
29598 (Specific advice for GNU/Linux systems): Describe use of headers
29599 from "make headers_install", not private headers from older
29601 * INSTALL: Regenerated.
29602 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29604 * sysdeps/unix/sysv/linux/configure: Regenerated.
29606 * manual/llio.texi (fclean): Remove documentation.
29608 * manual/Makefile (libc-texi-generated): New variable. Include
29610 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29611 $(libc-texi-generated), not duplicated list of files.
29612 (version.texi, stamp-version): New rules.
29613 (realclean): Remove $(libc-texi-generated), not individual files
29614 from that list. Do not remove dir-add.texinfo.
29615 * manual/libc.texinfo: Comment out uses of edition numbers and
29616 references to printed manual. Remove last-updated dates.
29617 (EDITION): Comment out.
29619 (VERSION, UPDATED): Remove.
29620 (version.texi): Include.
29622 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29624 * sysdeps/posix/spawni.c: Include <signal.h>.
29625 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29626 * sysdeps/pthread/aio_fsync.c: Likewise.
29628 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29630 * conform/Makefile (tests): Run only when not cross-compiling and
29631 when fast-check is not defined.
29633 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29634 * conform/data/limits.h-data: Fixes for POSIX2008.
29635 * conform/run-conformtest.sh: Run all tests.
29636 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29638 * include/bits/dlfcn.h: Likewise.
29639 * include/langinfo.h: Likewise.
29640 * include/monetary.h: Likewise.
29641 * include/sys/poll.h: Likewise.
29643 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29645 * posix/spawn.h: Define __need_sigset_t.
29646 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29647 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29648 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29649 to get sigevent_t only.
29650 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29651 only for __USE_GNU.
29652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29653 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29654 process_vm_writev only for __USE_GNU.
29655 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29657 * conform/Makefile: For now ignore errors from run-conformtest.
29658 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29659 POSIX to avoid namespace pollution. Don't prepend headers.
29660 * conform/data/aio.h-data: Fixes for POSIX testing.
29661 * conform/data/fcntl.h-data: Likewise.
29662 * conform/data/glob.h-data: Likewise.
29663 * conform/data/grp.h-data: Likewise.
29664 * conform/data/pthread.h-data: Likewise.
29665 * conform/data/pwd.h-data: Likewise.
29666 * conform/data/signal.h-data: Likewise.
29667 * conform/data/spawn.h-data: Likewise.
29668 * conform/data/stdio.h-data: Likewise.
29669 * conform/data/stdlib.h-data: Likewise.
29670 * conform/data/stropts.h-data: Likewise.
29671 * conform/data/sys/mman.h-data: Likewise.
29672 * conform/data/sys/stat.h-data: Likewise.
29673 * conform/data/sys/types.h-data: Likewise.
29674 * conform/data/sys/wait.h-data: Likewise.
29675 * conform/data/time.h-data: Likewise.
29676 * conform/data/unistd.h-data: Likewise.
29677 * conform/data/utime.h-data: Likewise.
29679 * io/sys/stat.h: fchmod was always in POSIX.
29680 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29681 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29682 * rt/aio.h: Define __need_timespec before including <time.h>.
29683 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29684 struct. Add forward declaration of pthread_attr_t and use it in
29686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29688 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29689 always remove CLK_TCK definition.
29691 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29693 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29695 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29697 * conform/run-conformtest.sh: New file.
29698 * conform/Makefile: Run run-conformtest for tests.
29699 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29702 * conform/data/uchar.h-data: New file.
29703 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29704 * conform/data/arpa/inet.h-data: Likewise.
29705 * conform/data/assert.h-data: Likewise.
29706 * conform/data/complex.h-data: Likewise.
29707 * conform/data/cpio.h-data: Likewise.
29708 * conform/data/ctype.h-data: Likewise.
29709 * conform/data/dirent.h-data: Likewise.
29710 * conform/data/dlfcn.h-data: Likewise.
29711 * conform/data/errno.h-data: Likewise.
29712 * conform/data/fcntl.h-data: Likewise.
29713 * conform/data/float.h-data: Likewise.
29714 * conform/data/fmtmsg.h-data: Likewise.
29715 * conform/data/fnmatch.h-data: Likewise.
29716 * conform/data/ftw.h-data: Likewise.
29717 * conform/data/glob.h-data: Likewise.
29718 * conform/data/grp.h-data: Likewise.
29719 * conform/data/iconv.h-data: Likewise.
29720 * conform/data/inttypes.h-data: Likewise.
29721 * conform/data/langinfo.h-data: Likewise.
29722 * conform/data/libgen.h-data: Likewise.
29723 * conform/data/limits.h-data: Likewise.
29724 * conform/data/locale.h-data: Likewise.
29725 * conform/data/math.h-data: Likewise.
29726 * conform/data/monetary.h-data: Likewise.
29727 * conform/data/mqueue.h-data: Likewise.
29728 * conform/data/ndbm.h-data: Likewise.
29729 * conform/data/net/if.h-data: Likewise.
29730 * conform/data/netdb.h-data: Likewise.
29731 * conform/data/netinet/in.h-data: Likewise.
29732 * conform/data/nl_types.h-data: Likewise.
29733 * conform/data/poll.h-data: Likewise.
29734 * conform/data/pthread.h-data: Likewise.
29735 * conform/data/pwd.h-data: Likewise.
29736 * conform/data/regex.h-data: Likewise.
29737 * conform/data/sched.h-data: Likewise.
29738 * conform/data/search.h-data: Likewise.
29739 * conform/data/semaphore.h-data: Likewise.
29740 * conform/data/setjmp.h-data: Likewise.
29741 * conform/data/signal.h-data: Likewise.
29742 * conform/data/spawn.h-data: Likewise.
29743 * conform/data/stdarg.h-data: Likewise.
29744 * conform/data/stdio.h-data: Likewise.
29745 * conform/data/stdlib.h-data: Likewise.
29746 * conform/data/string.h-data: Likewise.
29747 * conform/data/strings.h-data: Likewise.
29748 * conform/data/stropts.h-data: Likewise.
29749 * conform/data/sys/ipc.h-data: Likewise.
29750 * conform/data/sys/mman.h-data: Likewise.
29751 * conform/data/sys/msg.h-data: Likewise.
29752 * conform/data/sys/resource.h-data: Likewise.
29753 * conform/data/sys/select.h-data: Likewise.
29754 * conform/data/sys/sem.h-data: Likewise.
29755 * conform/data/sys/shm.h-data: Likewise.
29756 * conform/data/sys/socket.h-data: Likewise.
29757 * conform/data/sys/stat.h-data: Likewise.
29758 * conform/data/sys/statvfs.h-data: Likewise.
29759 * conform/data/sys/time.h-data: Likewise.
29760 * conform/data/sys/timeb.h-data: Likewise.
29761 * conform/data/sys/times.h-data: Likewise.
29762 * conform/data/sys/types.h-data: Likewise.
29763 * conform/data/sys/uio.h-data: Likewise.
29764 * conform/data/sys/un.h-data: Likewise.
29765 * conform/data/sys/utsname.h-data: Likewise.
29766 * conform/data/sys/wait.h-data: Likewise.
29767 * conform/data/syslog.h-data: Likewise.
29768 * conform/data/tar.h-data: Likewise.
29769 * conform/data/termios.h-data: Likewise.
29770 * conform/data/utime.h-data: Likewise.
29771 * conform/data/utmpx.h-data: Likewise.
29772 * conform/data/varargs.h-data: Likewise.
29773 * conform/data/wchar.h-data: Likewise.
29774 * conform/data/wctype.h-data: Likewise.
29775 * conform/data/wordexp.h-data: Likewise.
29777 * include/stropts.h: New file.
29778 * include/uchar.h: New file.
29779 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29780 * include/assert.h: Likewise.
29781 * include/ctype.h: Likewise.
29782 * include/dirent.h: Likewise.
29783 * include/dlfcn.h: Likewise.
29784 * include/fcntl.h: Likewise.
29785 * include/fnmatch.h: Likewise.
29786 * include/glob.h: Likewise.
29787 * include/grp.h: Likewise.
29788 * include/libio.h: Likewise.
29789 * include/locale.h: Likewise.
29790 * include/math.h: Likewise.
29791 * include/net/if.h: Likewise.
29792 * include/netdb.h: Likewise.
29793 * include/netinet/in.h: Likewise.
29794 * include/pthread.h: Likewise.
29795 * include/pwd.h: Likewise.
29796 * include/regex.h: Likewise.
29797 * include/sched.h: Likewise.
29798 * include/search.h: Likewise.
29799 * include/setjmp.h: Likewise.
29800 * include/signal.h: Likewise.
29801 * include/stdio.h: Likewise.
29802 * include/stdlib.h: Likewise.
29803 * include/string.h: Likewise.
29804 * include/sys/cdefs.h: Likewise.
29805 * include/sys/mman.h: Likewise.
29806 * include/sys/msg.h: Likewise.
29807 * include/sys/resource.h: Likewise.
29808 * include/sys/select.h: Likewise.
29809 * include/sys/socket.h: Likewise.
29810 * include/sys/stat.h: Likewise.
29811 * include/sys/statvfs.h: Likewise.
29812 * include/sys/time.h: Likewise.
29813 * include/sys/times.h: Likewise.
29814 * include/sys/uio.h: Likewise.
29815 * include/sys/utsname.h: Likewise.
29816 * include/sys/wait.h: Likewise.
29817 * include/termios.h: Likewise.
29818 * include/time.h: Likewise.
29819 * include/ulimit.h: Likewise.
29820 * include/unistd.h: Likewise.
29821 * include/utime.h: Likewise.
29822 * include/wchar.h: Likewise.
29823 * include/wctype.h: Likewise.
29824 * include/wordexp.h: Likewise.
29826 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29828 * time/time.h: TIME_UTC must be a macro.
29829 Make timespec_get available for ISO C11 only as well.
29831 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29833 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29834 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29836 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29838 * configure.in: Use -o not -a in test for unsupported multi-arch.
29840 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29842 * manual/texinfo.tex: Update to version 2012-01-19.16.
29844 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29846 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29848 2012-02-24 Roland McGrath <roland@hack.frob.com>
29851 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29852 * manual/fdl-1.3.texi: New file.
29853 * manual/fdl-1.1.texi: File removed.
29856 * manual/libc.texinfo (FDL_VERSION): New @set.
29857 Use it for mention of FDL in cover text.
29858 (Documentation License): Use it in @include file name.
29860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29861 Roland McGrath <roland@hack.frob.com>
29864 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29865 not LONG_LONG_MAX and LONG_LONG_MIN.
29866 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29867 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29869 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29871 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29875 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29876 manipulate bits before adding and subtracting TWO23[sx].
29877 * math/libm-test.inc (nearbyint_test): Add more tests.
29879 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29882 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29883 bits before adding and subtracting TWO23[sx].
29884 * math/libm-test.inc (rint_test): Add more tests.
29885 (rint_test_tonearest): Likewise.
29886 (rint_test_towardzero): Likewise.
29887 (rint_test_downward): Likewise.
29888 (rint_test_upward: Likewise.
29890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29893 * include/stdc-predef.h: New file. Extracted from features.h.
29894 * include/features.h: Include stdc-predef.h.
29895 * Makefile (headers): Add stdc-predef.h.
29896 * CONFORMANCE (Compiler limitations): Update.
29898 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29900 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29902 2012-02-21 David S. Miller <davem@davemloft.net>
29904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29907 2012-02-20 David S. Miller <davem@davemloft.net>
29909 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29910 using a normal save/restore sequence, rather than allocating a
29911 dummy stack frame just to store a frame pointer and restore.
29912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29914 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29916 * manual/install.texi: Fix stray word in line-wrapped comment.
29918 2012-02-20 David S. Miller <davem@davemloft.net>
29920 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29921 both binutils and gcc support GOTDATA.
29923 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29924 "rd %pc" in the PIC register setup sequences.
29926 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29927 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29929 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29935 (SYSCALL_ERROR_HANDLER): Likewise.
29936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29939 (SYSCALL_ERROR_HANDLER): Likewise.
29941 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29942 (HAVE_GCC_GOTDATA): New.
29943 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29944 relocation support in both binutils and gcc.
29945 * sysdeps/sparc/elf/configure: Regenerate.
29947 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29948 * sysdeps/sparc/sparc32/elf/configure: Delete.
29949 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29950 * sysdeps/sparc/sparc64/elf/configure: Delete.
29951 * sysdeps/sparc/elf/configure.in: New file.
29952 * sysdeps/sparc/elf/configure: Generate.
29954 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29955 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29956 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29957 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29958 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29960 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29962 * manual/install.texi: Do not mention specific glibc version
29964 * manual/libc.texinfo (VERSION, UPDATED): Update.
29965 (@copying): Use @copyright{} and range of years.
29967 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29970 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29971 [crti.S not in sysdirs] (generated): Do not append.
29972 [crti.S not in sysdirs] (omit-deps): Likewise.
29973 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29974 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29975 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29976 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29977 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29979 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29980 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29981 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29982 * csu/defs.awk: Remove file.
29983 * sysdeps/generic/initfini.c: Likewise.
29984 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29986 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29989 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29991 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29992 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29993 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29996 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29998 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29999 (__EPOLL_PACKED): Define to empty if not defined by
30001 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30005 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30007 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30008 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30009 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30010 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30012 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30016 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30018 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30028 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30030 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30032 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30033 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30035 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30037 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30040 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30042 * math/w_acos.c: Use non-signaling floating-point comparisons.
30043 * math/w_acosf.c: Likewise.
30044 * math/w_acosh.c: Likewise.
30045 * math/w_acoshf.c: Likewise.
30046 * math/w_acoshl.c: Likewise.
30047 * math/w_acosl.c: Likewise.
30048 * math/w_asin.c: Likewise.
30049 * math/w_asinf.c: Likewise.
30050 * math/w_asinl.c: Likewise.
30051 * math/w_atanh.c: Likewise.
30052 * math/w_atanhf.c: Likewise.
30053 * math/w_atanhl.c: Likewise.
30054 * math/w_exp2.c: Likewise.
30055 * math/w_exp2f.c: Likewise.
30056 * math/w_exp2l.c: Likewise.
30057 * math/w_j0.c: Likewise.
30058 * math/w_j0f.c: Likewise.
30059 * math/w_j0l.c: Likewise.
30060 * math/w_j1.c: Likewise.
30061 * math/w_j1f.c: Likewise.
30062 * math/w_j1l.c: Likewise.
30063 * math/w_jn.c: Likewise.
30064 * math/w_jnf.c: Likewise.
30065 * math/w_log.c: Likewise.
30066 * math/w_log10.c: Likewise.
30067 * math/w_log10f.c: Likewise.
30068 * math/w_log10l.c: Likewise.
30069 * math/w_log2.c: Likewise.
30070 * math/w_log2f.c: Likewise.
30071 * math/w_log2l.c: Likewise.
30072 * math/w_logf.c: Likewise.
30073 * math/w_logl.c: Likewise.
30074 * math/w_sqrt.c: Likewise.
30075 * math/w_sqrtf.c: Likewise.
30076 * math/w_sqrtl.c: Likewise.
30077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30080 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30083 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30086 * manual/string.texi (strnlen): Use correct parameter name in
30087 equivalent expression.
30089 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30092 * manual/users.texi (seteuid): Consistently use neweuid for
30095 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30098 * manual/nss.texi (Services in the NSS configuration): Correct
30099 list of services in example configuration file.
30101 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30104 * manual/arith.texi: Remove statements about negative zero
30105 behaving identically to zero.
30107 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30110 * manual/install.texi: Do not document upgrading from libc5.
30112 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30115 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30117 2012-02-18 David S. Miller <davem@davemloft.net>
30119 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30120 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30121 %o7 across the call.
30122 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30125 SETUP_PIC_REG_LEAF.
30126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30127 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30128 * sysdeps/sparc/crtn.S: Likewise.
30130 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30132 * aout/Makefile: Remove.
30134 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30137 * manual/examples/argp-ex1.c (main): Format definition in GNU
30139 * manual/examples/argp-ex2.c (main): Likewise.
30140 * manual/examples/argp-ex3.c (main): Likewise.
30141 * manual/examples/argp-ex4.c (main): Likewise.
30142 * manual/examples/longopt.c (main): Use new-style prototype
30144 * manual/examples/strncat.c (main): Specify return type and use
30145 (void) for arguments.
30146 * manual/examples/subopt.c (main): Use char **argv argument.
30148 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30151 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30154 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30157 * manual/string.texi (strchr): Change when strchrnul is
30160 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30163 * manual/locale.texi (setlocale): Document LOCPATH.
30165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30168 * manual/process.texi (execle): Move @dots{} before last argument.
30170 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30173 * manual/charset.texi (Generic Charset Conversion): Fix typo
30174 (LC_TYPE -> LC_CTYPE).
30176 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30179 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30180 (scalbnf): Likewise.
30181 (scalbnl): Likewise.
30182 (scalbln): Likewise.
30183 (scalblnf): Likewise.
30184 (scalblnl): Likewise.
30185 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30186 (vwarnx): Likewise.
30189 * manual/filesys.texi (telldir): Use braces around return type.
30190 * manual/llio.texi (mmap): Add space after comma.
30191 (mmap64): Likewise.
30192 * manual/math.texi (jn): Use @var{} on parameter names.
30198 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30200 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30202 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30203 (sched_get_priority_max): Likewise.
30204 * manual/signal.texi (sigvec): Add space after comma.
30205 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30207 (if_indextoname): Likewise.
30208 (if_freenameindex): Likewise.
30209 (sendto): Use ',' instead of '.' in prototype.
30210 * manual/startup.texi (syscall): Use @dots{} instead of literal
30212 * manual/stdio.texi (__fpending): Separate initial words of
30213 paragraph from @deftypefun line.
30214 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30216 (vsyslog): Use @var{} on parameter names.
30217 * manual/terminal.texi (stty): Use @var{} on parameter names.
30218 * manual/users.texi (getutmp): Use @var{} on parameter names.
30219 (getutmpx): Likewise.
30221 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30224 * manual/stdio.texi (fopen): Fix typos in description of
30227 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30230 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30231 get clock_id definition.
30233 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30236 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30237 (madvise): Cast every argument to void on its own.
30239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30242 * manual/startup.texi (Exit Status): Fix typo.
30244 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30247 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30248 * manual/examples/argp-ex2.c: Likewise.
30249 * manual/examples/argp-ex3.c: Likewise.
30251 2012-02-16 Richard Henderson <rth@redhat.com>
30253 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30254 * sysdeps/s390/s390-32/initfini.c: Remove.
30255 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30256 * sysdeps/s390/s390-64/initfini.c: Remove.
30258 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30260 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30261 compiler output for sysdeps/generic/initfini.c.
30262 * sysdeps/sh/elf/initfini.c: Remove file.
30264 2012-02-16 David S. Miller <davem@davemloft.net>
30267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30269 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30270 * sysdeps/sparc/crti.S: New file.
30271 * sysdeps/sparc/crtn.S: New file.
30272 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30273 * sysdeps/sparc/sparc64/Makefile: Likewise.
30275 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30278 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30280 2012-02-15 Roland McGrath <roland@hack.frob.com>
30283 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30285 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30286 (write, read, close): Likewise.
30287 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30289 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30291 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30292 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30293 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30294 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30296 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30300 2012-02-14 Marek Polacek <polacek@redhat.com>
30302 * sysdeps/x86_64/crti.S: New file.
30303 * sysdeps/x86_64/crtn.S: New file.
30304 * sysdeps/x86_64/elf/initfini.c: Remove file.
30306 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30308 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30309 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30310 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30311 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30313 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30317 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30319 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30320 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30321 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30322 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30324 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30328 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30330 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30331 __feraiseexcept instead of feraiseexcept.
30333 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30334 nanosleep invocations.
30335 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30336 strings, and add error checking for a nanosleep invocations.
30338 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30340 Replace FSF snail mail address with URLs, as per GNU coding standards.
30341 Most of the snail mail addresses were wrong anyway, and omitting
30342 them makes the source code easier to maintain. Almost all of the
30343 changes are to license notices and to locale LC_IDENTIFICATION
30344 addresses, except for this one:
30345 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30346 not its snail mail address.
30348 2012-02-09 Richard Henderson <rth@twiddle.net>
30350 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30351 of kernel-features.h.
30353 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30355 2012-02-08 Marek Polacek <polacek@redhat.com>
30357 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30358 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30359 * sysdeps/gnu/_G_config.h: Likewise.
30360 * sysdeps/generic/_G_config.h: Likewise.
30362 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30364 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30368 * sysdeps/powerpc/powerpc32/crti.S: New file.
30369 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30370 * sysdeps/powerpc/powerpc64/crti.S: New file.
30371 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30373 * Makeconfig (have-initfini): Don't set.
30374 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30375 * configure.in (nopic_initfini): Don't substitute.
30376 * config.h.in (HAVE_INITFINI): Don't #undef.
30377 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30378 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30380 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30382 Support crti.S and crtn.S provided directly by architectures.
30383 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30384 [crti.S in sysdirs] (omit-deps): Likewise.
30385 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30386 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30387 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30388 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30389 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30390 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30391 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30392 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30393 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30394 compiler output for sysdeps/generic/initfini.c.
30395 * sysdeps/i386/elf/Makefile: Remove file.
30396 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30398 2012-02-07 Marek Polacek <polacek@redhat.com>
30400 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30401 * sysdeps/gnu/_G_config.h: Likewise.
30402 * sysdeps/mach/hurd/_G_config.h: Likewise.
30404 2012-02-07 Marek Polacek <polacek@redhat.com>
30406 * math/Makefile (tests): Add tst-CMPLX2.
30407 * math/tst-CMPLX2.c: New file.
30409 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30413 * math/libm-test.inc (jn_test): Add missing L suffix.
30415 2012-02-06 Marek Polacek <polacek@redhat.com>
30417 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30418 * sysdeps/i386/fpu/e_powf.S: Likewise.
30419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30420 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30422 * sysdeps/i386/fpu/e_pow.S: Likewise.
30423 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30425 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30426 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30427 * sysdeps/i386/fpu/e_log2.S: Likewise.
30428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30429 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30430 * sysdeps/i386/fpu/e_powl.S: Likewise.
30431 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30434 * sysdeps/i386/fpu/e_logl.S: Likewise.
30435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30436 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30441 * sysdeps/i386/fpu/e_log.S: Likewise.
30442 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30444 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30445 * sysdeps/i386/fpu/e_logf.S: Likewise.
30446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30448 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30450 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30451 * sysdeps/i386/fpu/e_log10.S: Likewise.
30452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30458 * sysdeps/i386/asm-syntax.h: Likewise.
30459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30462 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30463 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30465 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30466 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30468 * sysdeps/powerpc/sysdep.h: Likewise.
30469 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30470 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30472 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30475 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30477 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30479 * sysdeps/i386/sysdep.h: Include <features.h>.
30480 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30483 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30487 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30490 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30492 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30493 (SETUP_PIC_REG): Use GET_PC_THUNK.
30494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30497 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30500 for non-PIC compilation.
30501 (SETUP_PIC_REG): Add .p2align directive.
30502 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30503 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30506 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30507 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30508 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30510 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30511 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30512 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30513 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30514 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30516 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30517 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30518 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30544 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30546 * math/tst-CMPLX.c: Include <stdio.h>.
30548 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30550 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30552 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30553 * sysdeps/sparc/bits/mathdef.h: Likewise.
30555 2012-01-31 Marek Polacek <polacek@redhat.com>
30557 * libio/libio.h: Don't define _PARAMS.
30558 * locale/programs/config.h: Don't define PARAMS.
30559 * stdlib/strtol_l.c: Likewise.
30560 (__strtol_l): Remove PARAMS from the prototype.
30562 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30564 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30565 names. Just use the correct names. Remove unnecessary wrapper
30567 * malloc/arena.c: Likewise.
30568 * malloc/hooks.c: Likewise.
30570 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30571 ARENA_TEST says not to. Simplify test for creation of a new arena.
30572 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30574 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30576 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30578 (update_get_addr): New function.
30579 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30580 GET_ADDR_MODULE parameter.
30582 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30584 * crypt/cert.c: Remove __STDC__ conditionals.
30585 * crypt/crypt-entry.c: Likewise.
30586 * crypt/crypt_util.c: Likewise.
30587 * libio/filedoalloc.c: Likewise.
30588 * libio/fileops.c: Likewise.
30589 * libio/genops.c: Likewise.
30590 * libio/iofclose.c: Likewise.
30591 * libio/iofdopen.c: Likewise.
30592 * libio/iofopen.c: Likewise.
30593 * libio/iofopen64.c: Likewise.
30594 * libio/iogetdelim.c: Likewise.
30595 * libio/iopopen.c: Likewise.
30596 * libio/obprintf.c: Likewise.
30597 * libio/oldfileops.c: Likewise.
30598 * libio/oldiofclose.c: Likewise.
30599 * libio/oldiofdopen.c: Likewise.
30600 * libio/oldiofopen.c: Likewise.
30601 * libio/oldiopopen.c: Likewise.
30602 * libio/wfiledoalloc.c: Likewise.
30603 * libio/wgenops.c: Likewise.
30604 * locale/programs/xmalloc.c: Likewise.
30605 * misc/syslog.c: Likewise.
30606 * stdio-common/xbug.c: Likewise.
30607 * string/memchr.c: Likewise.
30608 * string/memcmp.c: Likewise.
30609 * string/memrchr.c: Likewise.
30610 * string/rawmemchr.c: Likewise.
30611 * sysdeps/posix/getcwd.c: Likewise.
30612 * time/strftime_l.c: Likewise.
30614 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30616 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30617 * config.make.in (config-cflags-sse2avx): Define.
30618 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30621 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30623 * scripts/config.guess: Update from upstream config git repository.
30624 * scripts/config.sub: Likewise.
30626 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30628 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30630 (R_TILEPRO_*, R_TILEGX_*): New macros.
30632 * scripts/firstversions.awk: Fix bug in version range handling.
30634 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30636 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30638 * include/sys/epoll.h: New file.
30639 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30642 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30644 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30645 Avoid unnecessary __WORDSIZE == 64 test.
30646 (fmaxf): Use VEX format if possible.
30651 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30652 * math/math_private.h: Remove libc_fegetround* and
30654 * sysdeps/i386/configure.in: Check for -msse2avx.
30655 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30656 also if SSE2AVX is defined.
30657 Remove libc_fegetround* and libc_fesetround*.
30658 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30659 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30668 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30670 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30672 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30676 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30679 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30681 * Makeconfig (libm): Define.
30682 * elf/Makefile: Add rules to build and run tst-relsort1.
30683 * elf/tst-relsort1.c: New file.
30684 * elf/tst-relsort1mod1.c: New file.
30685 * elf/tst-relsort1mod2.c: New file.
30687 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30689 * math/s_ldexp.c: Remove __STDC__ conditionals.
30690 * math/s_ldexpf.c: Likewise.
30691 * math/s_ldexpl.c: Likewise.
30692 * math/s_nextafter.c: Likewise.
30693 * math/s_nexttowardf.c: Likewise.
30694 * math/s_significand.c: Likewise.
30695 * math/s_significandf.c: Likewise.
30696 * math/s_significandl.c: Likewise.
30697 * math/w_jnl.c: Likewise.
30698 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30699 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30700 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30701 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30702 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30720 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30722 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30723 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30724 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30729 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30732 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30734 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30735 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30737 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30738 * sysdeps/ieee754/k_standard.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30818 * sysdeps/ieee754/s_matherr.c: Likewise.
30819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30824 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30826 * crypt/md5.h: Remove __STDC__ conditionals.
30827 * libio/libioP.h: Likewise.
30828 * locale/programs/config.h: Likewise.
30829 * sysdeps/generic/sysdep.h: Likewise.
30830 * sysdeps/i386/asm-syntax.h: Likewise.
30831 * sysdeps/s390/asm-syntax.h: Likewise.
30832 * sysdeps/unix/sysdep.h: Likewise.
30833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30836 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30838 * libio/libio.h: Remove __STDC__ conditionals.
30839 * malloc/obstack.h: Likewise.
30840 * math/complex.h: Likewise.
30841 * math/math.h: Likewise.
30842 * sysdeps/generic/_G_config.h: Likewise.
30843 * sysdeps/gnu/_G_config.h: Likewise.
30844 * sysdeps/mach/hurd/_G_config.h: Likewise.
30845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30846 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30847 * sysdeps/sparc/bits/mathdef.h: Likewise.
30849 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30853 Clean up HAS_* macros.
30854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30855 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30865 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30867 * elf/tst-unique3.cc (gets): Remove declaration.
30868 * elf/tst-unique3lib.cc (gets): Likewise.
30869 * elf/tst-unique3lib2.cc (gets): Likewise.
30870 * elf/tst-unique4.cc (gets): Likewise.
30872 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30874 * include/stdio.h: Add C++ protection. Add gets declarations and
30876 * debug/tst-chk1.c: Don't declare gets here.
30877 * stdio-common/tst-gets.c: Likewise.
30879 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30881 * posix/glob: Remove directory.
30883 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30885 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30887 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30889 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30890 of the non-standard EPFNOSUPPORT.
30892 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30894 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30895 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30896 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30898 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30900 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30902 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30904 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30906 * nscd/grpcache.c (cache_addgr): Likewise.
30907 * nscd/hstcache.c (cache_addhst): Likewise.
30908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30909 * nscd/pwdcache.c (cache_addpw): Likewise.
30910 * nscd/servicescache.c (cache_addserv): Likewise.
30912 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30914 * malloc/malloc.c: Various cleanups.
30915 * malloc/hooks.c: Likewise.
30917 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30918 * stdlib/bug-fmtmsg1.c: New file.
30920 * stdlib/fmtmsg.c (init): Add missing unlock.
30921 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30923 2012-01-12 Marek Polacek <polacek@redhat.com>
30925 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30928 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30930 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30932 macro to ensure uniqueness of label name.
30933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30936 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30938 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30941 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30945 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30947 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30949 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30951 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30953 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30956 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30960 * math/bits/math-finite.h: Add ldexp support.
30962 2012-01-10 Marek Polacek <polacek@redhat.com>
30964 * locale/programs/localedef.h (show_archive_content): Add noreturn
30967 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30969 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30971 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30973 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30975 * io/Makefile (headers): Add bits/poll2.h.
30977 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30980 typo #include statement.
30982 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30984 * include/sys/cdefs.h: Define __attribute_alloc_size.
30985 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30986 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30987 * elf/pldd.c: Likewise.
30988 * iconv/iconv_charmap.c: Likewise.
30989 * iconv/iconvconfig.c: Likewise.
30990 * iconv/strtab.c: Likewise.
30991 * locale/programs/locale.c: Likewise.
30992 * locale/programs/localedef.h: Likewise.
30993 * locale/programs/simple-hash.c: Likewise.
30994 * nscd/nscd.h: Likewise.
30995 * nss/makedb.c: Likewise.
30996 * sysdeps/generic/ldconfig.h: Likewise.
30997 * locale/programs/localedef.c: Remove xmalloc prototype.
30998 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31000 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31005 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31007 * math/Makefile (tests): Add tst-CMPLX.
31008 * math/tst-CMPLX.c: New file.
31010 * math/complex.h (CMPLXL): Fix typo.
31012 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31013 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31015 * debug/tst-chk1.c: Add poll and ppoll tests.
31016 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31017 * include/sys/poll.h: Add hidden proto for ppoll.
31018 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31019 * sysdeps/mach/hurd/ppoll.c: Likewise.
31020 * io/ppoll.c: Likewise.
31021 * debug/poll_chk.c: New file.
31022 * debug/ppoll_chk.c: New file.
31023 * include/bits/poll2.h: New file.
31024 * io/bits/poll2.h: New file.
31027 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31029 * configure.in: static is always set to yes. Remove.
31030 * config.make.in: Don't set build-static.
31031 * Makeconfig: Remove use of build-static.
31032 * dlfcn/Makefile: Likewise.
31033 * elf/Makefile: Likewise.
31034 * math/Makefile: Likewise.
31035 * misc/Makefile: Likewise.
31036 * nptl/Makefile: Likewise.
31037 * sysdeps/mach/hurd/Makefile: Likewise.
31039 * configure.in: PWD_P is not used anymore.
31040 * config.make.in: Remove PWD_P entry.
31042 * configure.in: Remove last remnants of RANLIB.
31043 No need to check for signed size_t anymore.
31044 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31046 Remove __builtin_expect test because we require at least gcc 3.4.
31047 * aclocal.m4: Likewise.
31049 * wcsmbs/mbrtoc16.c: Implement using towc function.
31050 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31051 * wcsmbs/wcsmbsload.c: Likewise.
31052 * iconv/gconv_simple.c: Likewise.
31053 * iconv/gconv_int.h: Likewise.
31054 * iconv/gconv_builtin.h: Likewise.
31055 * iconv/iconv_prog.c: Remove CHAR16 handling.
31057 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31059 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31061 * configure.in: Remove --with-elf and --enable-bounded options.
31062 Dont set base_machine for ia64. More non-ELF conditions removed.
31063 Remove testing and setting of leading underscore information.
31064 * config.make.in (build-bounded): Set to no.
31065 * config.h.in: Remove NO_UNDERSCORES entry.
31066 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31068 * csu/start.c: Remove !NO_UNDERSCORE code.
31069 * locale/localeinfo.h: Likewise.
31070 * sysdeps/generic/machine-gmon.h: Likewise.
31071 * sysdeps/generic/sysdep.h: Likewise.
31072 * sysdeps/i386/sysdep.h: Likewise.
31073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31074 * sysdeps/mach/sysdep.h: Likewise.
31075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31077 * sysdeps/sh/sysdep.h: Likewise.
31078 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31079 * sysdeps/unix/i386/sysdep.S: Likewise.
31080 * sysdeps/unix/sparc/start.c: Likewise.
31081 * sysdeps/unix/sparc/sysdep.S: Likewise.
31082 * sysdeps/unix/sparc/sysdep.h: Likewise.
31083 * sysdeps/unix/start.c: Likewise.
31084 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31085 * sysdeps/x86_64/sysdep.h: Likewise.
31087 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31090 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31092 * argp/argp-fmtstream.h: Use const instead __const.
31093 * argp/argp.h: Likewise.
31094 * assert/assert.h: Likewise.
31095 * bits/fenv.h: Likewise.
31096 * bits/sched.h: Likewise.
31097 * bits/sigset.h: Likewise.
31098 * bits/sigthread.h: Likewise.
31099 * catgets/nl_types.h: Likewise.
31100 * conform/data/pthread.h-data: Likewise.
31101 * crypt/crypt-private.h: Likewise.
31102 * crypt/crypt.h: Likewise.
31103 * crypt/crypt_util.c: Likewise.
31104 * ctype/ctype.h: Likewise.
31105 * debug/execinfo.h: Likewise.
31106 * debug/mbsnrtowcs_chk.c: Likewise.
31107 * debug/mbsrtowcs_chk.c: Likewise.
31108 * debug/wcsnrtombs_chk.c: Likewise.
31109 * debug/wcsrtombs_chk.c: Likewise.
31110 * debug/wcstombs_chk.c: Likewise.
31111 * dirent/dirent.h: Likewise.
31112 * dlfcn/dlfcn.h: Likewise.
31113 * elf/neededtest4.c: Likewise.
31114 * grp/grp.h: Likewise.
31115 * gshadow/gshadow.h: Likewise.
31116 * iconv/gconv.h: Likewise.
31117 * iconv/gconv_int.h: Likewise.
31118 * iconv/gconv_simple.c: Likewise.
31119 * iconv/iconv.h: Likewise.
31120 * iconv/loop.c: Likewise.
31121 * iconv/skeleton.c: Likewise.
31122 * include/aio.h: Likewise.
31123 * include/aliases.h: Likewise.
31124 * include/argz.h: Likewise.
31125 * include/arpa/inet.h: Likewise.
31126 * include/assert.h: Likewise.
31127 * include/dirent.h: Likewise.
31128 * include/dlfcn.h: Likewise.
31129 * include/execinfo.h: Likewise.
31130 * include/fcntl.h: Likewise.
31131 * include/fenv.h: Likewise.
31132 * include/glob.h: Likewise.
31133 * include/grp.h: Likewise.
31134 * include/libintl.h: Likewise.
31135 * include/mntent.h: Likewise.
31136 * include/netdb.h: Likewise.
31137 * include/pwd.h: Likewise.
31138 * include/rpc/netdb.h: Likewise.
31139 * include/sched.h: Likewise.
31140 * include/search.h: Likewise.
31141 * include/shadow.h: Likewise.
31142 * include/signal.h: Likewise.
31143 * include/stdio.h: Likewise.
31144 * include/stdlib.h: Likewise.
31145 * include/string.h: Likewise.
31146 * include/sys/socket.h: Likewise.
31147 * include/sys/stat.h: Likewise.
31148 * include/sys/statfs.h: Likewise.
31149 * include/sys/statvfs.h: Likewise.
31150 * include/sys/syslog.h: Likewise.
31151 * include/sys/time.h: Likewise.
31152 * include/sys/uio.h: Likewise.
31153 * include/time.h: Likewise.
31154 * include/unistd.h: Likewise.
31155 * include/utmp.h: Likewise.
31156 * include/wchar.h: Likewise.
31157 * include/wctype.h: Likewise.
31158 * inet/aliases.h: Likewise.
31159 * inet/arpa/inet.h: Likewise.
31160 * inet/netinet/ether.h: Likewise.
31161 * inet/netinet/in.h: Likewise.
31162 * intl/libintl.h: Likewise.
31163 * io/bits/fcntl2.h: Likewise.
31164 * io/fcntl.h: Likewise.
31165 * io/ftw.h: Likewise.
31166 * io/sys/poll.h: Likewise.
31167 * io/sys/stat.h: Likewise.
31168 * io/sys/statfs.h: Likewise.
31169 * io/sys/statvfs.h: Likewise.
31170 * io/utime.h: Likewise.
31171 * libio/bits/stdio.h: Likewise.
31172 * libio/bits/stdio2.h: Likewise.
31173 * libio/libio.h: Likewise.
31174 * libio/libioP.h: Likewise.
31175 * libio/stdio.h: Likewise.
31176 * locale/lc-ctype.c: Likewise.
31177 * locale/locale.h: Likewise.
31178 * login/utmp.h: Likewise.
31179 * malloc/arena.c: Likewise.
31180 * malloc/malloc.c: Likewise.
31181 * malloc/malloc.h: Likewise.
31182 * malloc/mcheck.c: Likewise.
31183 * malloc/mtrace.c: Likewise.
31184 * math/bits/mathcalls.h: Likewise.
31185 * math/fenv.h: Likewise.
31186 * math/math_private.h: Likewise.
31187 * misc/bits/error.h: Likewise.
31188 * misc/bits/syslog.h: Likewise.
31189 * misc/err.h: Likewise.
31190 * misc/error.h: Likewise.
31191 * misc/fstab.h: Likewise.
31192 * misc/mntent.h: Likewise.
31193 * misc/regexp.h: Likewise.
31194 * misc/search.h: Likewise.
31195 * misc/sgtty.h: Likewise.
31196 * misc/sys/mman.h: Likewise.
31197 * misc/sys/syslog.h: Likewise.
31198 * misc/sys/uio.h: Likewise.
31199 * misc/sys/xattr.h: Likewise.
31200 * misc/ttyent.h: Likewise.
31201 * nis/rpcsvc/ypclnt.h: Likewise.
31202 * nss/nss.h: Likewise.
31203 * posix/bits/unistd.h: Likewise.
31204 * posix/fnmatch.h: Likewise.
31205 * posix/glob.h: Likewise.
31206 * posix/sched.h: Likewise.
31207 * posix/spawn.h: Likewise.
31208 * posix/sys/wait.h: Likewise.
31209 * posix/unistd.h: Likewise.
31210 * posix/wordexp.h: Likewise.
31211 * pwd/pwd.h: Likewise.
31212 * resolv/netdb.h: Likewise.
31213 * resource/sys/resource.h: Likewise.
31214 * rt/aio.h: Likewise.
31215 * rt/bits/mqueue2.h: Likewise.
31216 * rt/mqueue.h: Likewise.
31217 * shadow/shadow.h: Likewise.
31218 * signal/signal.h: Likewise.
31219 * socket/send.c: Likewise.
31220 * socket/sendto.c: Likewise.
31221 * socket/sys/socket.h: Likewise.
31222 * stdio-common/printf.h: Likewise.
31223 * stdlib/bits/stdlib.h: Likewise.
31224 * stdlib/fmtmsg.h: Likewise.
31225 * stdlib/monetary.h: Likewise.
31226 * stdlib/stdlib.h: Likewise.
31227 * stdlib/ucontext.h: Likewise.
31228 * streams/stropts.h: Likewise.
31229 * string/argz.h: Likewise.
31230 * string/bits/string2.h: Likewise.
31231 * string/string.h: Likewise.
31232 * string/strings.h: Likewise.
31233 * sunrpc/rpc/auth.h: Likewise.
31234 * sunrpc/rpc/auth_des.h: Likewise.
31235 * sunrpc/rpc/clnt.h: Likewise.
31236 * sunrpc/rpc/netdb.h: Likewise.
31237 * sunrpc/rpc/pmap_clnt.h: Likewise.
31238 * sunrpc/rpc/xdr.h: Likewise.
31239 * sysdeps/generic/inttypes.h: Likewise.
31240 * sysdeps/generic/net/if.h: Likewise.
31241 * sysdeps/generic/sys/swap.h: Likewise.
31242 * sysdeps/gnu/net/if.h: Likewise.
31243 * sysdeps/gnu/utmpx.h: Likewise.
31244 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31245 * sysdeps/i386/i486/bits/string.h: Likewise.
31246 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31247 * sysdeps/s390/bits/string.h: Likewise.
31248 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31249 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31250 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31251 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31252 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31253 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31254 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31255 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31256 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31257 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31258 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31260 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31262 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31263 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31264 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31269 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31270 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31271 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31272 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31273 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31276 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31278 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31279 * sysvipc/sys/ipc.h: Likewise.
31280 * sysvipc/sys/msg.h: Likewise.
31281 * sysvipc/sys/sem.h: Likewise.
31282 * sysvipc/sys/shm.h: Likewise.
31283 * termios/termios.h: Likewise.
31284 * time/sys/time.h: Likewise.
31285 * time/time.h: Likewise.
31286 * wcsmbs/bits/wchar2.h: Likewise.
31287 * wcsmbs/uchar.h: Likewise.
31288 * wcsmbs/wchar.h: Likewise.
31289 * wctype/wctype.h: Likewise.
31292 * Makeconfig: Remove all but ELF support including AIX support.
31293 * Makerules: Likewise.
31294 * config.h.in: Likewise.
31295 * config.make.in: Likewise.
31296 * configure: Likewise.
31297 * configure.in: Likewise.
31298 * csu/Makefile: Likewise.
31299 * csu/version.c: Likewise.
31300 * debug/Makefile: Likewise.
31301 * dlfcn/Makefile: Likewise.
31302 * elf/Makefile: Likewise.
31303 * extra-lib.mk: Likewise.
31304 * iconv/Makefile: Likewise.
31305 * include/libc-symbols.h: Likewise.
31306 * include/shlib-compat.h: Likewise.
31307 * resolv/Makefile: Likewise.
31308 * resolv/res_libc.c: Likewise.
31309 * rt/Makefile: Likewise.
31310 * sysdeps/i386/asm-syntax.h: Likewise.
31311 * sysdeps/i386/sysdep.h: Likewise.
31312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31313 * sysdeps/mach/sysdep.h: Likewise.
31314 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31315 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31316 * sysdeps/s390/asm-syntax.h: Likewise.
31317 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31319 * sysdeps/sh/sysdep.h: Likewise.
31320 * sysdeps/unix/sparc/sysdep.h: Likewise.
31321 * sysdeps/wordsize-32/divdi3.c: Likewise.
31322 * sysdeps/x86_64/sysdep.h: Likewise.
31324 * argp/Versions: Remove _argp_unlock_xxx.
31327 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31328 * abilist/libBrokenLocale.abilist: Likewise.
31329 * abilist/libanl.abilist: Likewise.
31330 * abilist/libc.abilist: Likewise.
31331 * abilist/libcrypt.abilist: Likewise.
31332 * abilist/libdl.abilist: Likewise.
31333 * abilist/libm.abilist: Likewise.
31334 * abilist/libnsl.abilist: Likewise.
31335 * abilist/libpthread.abilist: Likewise.
31336 * abilist/libresolv.abilist: Likewise.
31337 * abilist/librt.abilist: Likewise.
31338 * abilist/libthread_db.abilist: Likewise.
31339 * abilist/libutil.abilist: Likewise.
31340 * abilist/libnss_db.abilist: New file.
31342 * scripts/abilist.awk: Add support for indirect functions.
31344 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31346 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31348 * shlib-versions: Remove entries for ports architectures.
31350 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31352 * elf/stackguard-macros.h: Remove support for IA-64.
31353 * elf/tst-auditmod1.c: Likewise.
31354 * sysdeps/generic/ldsodefs.h: Likewise.
31356 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31357 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31361 * configure.in: Remove --enable-omitfp support.
31363 * config.make.in: Likewise.
31364 * Makeconfig: Likewise.
31365 * manual/install.texi: Likewise.
31367 In case anyone cares, the IA-64 architecture could move to ports.
31368 * sysdeps/ia64/*: Removed.
31369 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31370 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31373 * configure.in: Remove entries for unsupported architectures.
31376 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31377 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31379 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31380 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31381 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31382 fall back to using wcrtomb.
31383 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31384 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31386 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31387 * wcsmbs/tst-c16c32-1.c: New file.
31389 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31392 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31394 * elf/tst-unique3.cc: Add explicit declaration of gets.
31395 * elf/tst-unique3lib.cc: Likewise.
31396 * elf/tst-unique3lib2.cc: Likewise.
31397 * elf/tst-unique4.cc: Likewise.
31399 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31401 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31404 * assert/assert.h (static_assert): Don't define for C++.
31405 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31406 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31408 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31410 * iconv/loop.c (single loop): Fix assertion in storing of
31413 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31415 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31417 * posix/getconf.c: Update copyright year.
31418 * nss/getent.c: Likewise.
31419 * nss/makedb.c: Likewise.
31420 * iconv/iconvconfig.c: Likewise.
31421 * iconv/iconv_prog.c: Likewise.
31422 * elf/ldconfig.c: Likewise.
31423 * elf/pldd.c: Likewise.
31424 * elf/sotruss.ksh: Likewise.
31425 * catgets/gencat.c: Likewise.
31426 * csu/version.c: Likewise.
31427 * elf/ldd.bash.in: Likewise.
31428 * elf/sprof.c (print_version): Likewise.
31429 * locale/programs/locale.c: Likewise.
31430 * locale/programs/localedef.c: Likewise.
31431 * login/programs/pt_chown.c: Likewise.
31432 * nscd/nscd.c (print_version): Likewise.
31433 * debug/xtrace.sh: Likewise.
31434 * malloc/memusage.sh: Likewise.
31435 * malloc/mtrace.pl: Likewise.
31436 * debug/catchsegv.sh: Likewise.
31438 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31440 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31443 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31446 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31447 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31449 * iconv/gconv_int.h: Likewise.
31450 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31451 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31452 from libc for GLIBC_2.16.
31453 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31454 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31455 * wcsmbs/uchar.h: Really define mbstate_t.
31456 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31457 * wcsmbs/c16rtomb.c: New file.
31458 * wcsmbs/mbrtoc16.c: New file.
31459 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31460 for C/POSIX locale.
31461 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31462 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31464 * wcsmbs/wchar.h: Add missing __restrict.
31466 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31469 * time/Makefile (routines): Add timespec_get.
31470 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31471 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31472 timespec for ISO C11.
31473 * time/timespec_get.c: New file.
31474 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31475 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31478 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31479 * stdlib/stdlib.h: Declare aligned_alloc.
31480 * Versions.def: Add GLIBC_2.16 for libc.
31481 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31484 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31487 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31491 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31494 * assert/assert.h (static_assert): Define.
31496 * version.h: Update for 2.16 development version.
31499 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31502 * version.h (RELEASE): Bump for 2.15 release.
31503 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31505 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31506 Patch by Marek Polacek <mpolacek@redhat.com>.
31508 * bits/byteswap.h: Protect long long constants with __extension__.
31509 * sysdeps/i386/bits/byteswap.h: Likewise.
31510 * sysdeps/ia64/bits/byteswap.h: Likewise.
31511 * sysdeps/s390/bits/byteswap.h: Likewise.
31512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31514 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31518 destination buffer.
31519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31521 2011-12-23 Marek Polacek <polacek@redhat.com>
31523 * elf/dl-addr.c (determine_info): Add inline keyword.
31524 * elf/tst-auditmod4b.c (check_avx): Likewise.
31525 * elf/tst-auditmod6b.c (check_avx): Likewise.
31526 * elf/tst-auditmod6c.c (check_avx): Likewise.
31527 * elf/tst-auditmod7b.c (check_avx): Likewise.
31529 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31531 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31534 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31538 processing for last bytes.
31540 2011-08-06 Bruno Haible <bruno@clisp.org>
31543 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31544 U+0385, not to U+1FEE.
31547 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31548 entry for U+00A5 U+0301.
31550 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31553 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31554 buffer for the output is too small.
31556 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31560 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31561 SSE flags if possible.
31563 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31567 processing for last bytes.
31569 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31572 (syscall-list-default-options, syscall-list-default-condition)
31573 (syscall-list-includes): Define.
31574 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31575 list of ABIs and options and #if conditions for each ABI. Do not
31576 handle common syscalls between ABIs specially.
31577 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31579 (syscall-list-variants, syscall-list-32bit-options)
31580 (syscall-list-32bit-condition, syscall-list-64bit-options)
31581 (syscall-list-64bit-condition): Define.
31582 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31583 (syscall-list-variants, syscall-list-32bit-options)
31584 (syscall-list-32bit-condition, syscall-list-64bit-options)
31585 (syscall-list-64bit-condition): Define.
31586 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31588 (syscall-list-variants, syscall-list-32bit-options)
31589 (syscall-list-32bit-condition, syscall-list-64bit-options)
31590 (syscall-list-64bit-condition): Define.
31591 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31593 (syscall-list-variants, syscall-list-32bit-options)
31594 (syscall-list-32bit-condition, syscall-list-64bit-options)
31595 (syscall-list-64bit-condition): Define.
31597 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31599 * locale/iso-639.def: Add brx entry.
31602 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31603 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31605 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31606 __feraiseexcept_renamed.
31608 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31611 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31612 EPOLLET with unsigned values.
31613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31616 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31617 to large cancellation.
31618 * math/s_cacoshf.c: Likewise.
31619 * math/s_cacoshl.c: Likewise.
31621 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31625 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31626 * math/s_cacoshf.c: Likewise.
31627 * math/s_cacoshl.c: Likewise.
31629 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31632 * iconv/gconv.h: Define __GCONV_SWAP.
31633 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31634 * iconvdata/utf-16.c: Likewise.
31635 * iconvdata/utf-32.c: Likewise.
31637 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31641 numerator after shifting it by one limb.
31643 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31646 under [__USE_EXTERN_INLINES].
31648 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31651 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31653 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31655 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31656 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31658 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31660 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31661 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31662 for strncasecmp/strncasecmp_l compilation.
31663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31664 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31666 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31669 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31672 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31675 * time/tzfile.c (__tzfile_read): Check values from file header.
31677 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31679 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31680 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31681 * powerpc/powerpc32/dl-start.S: Likewise.
31682 * powerpc/powerpc32/elf/start.S: Likewise.
31683 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31684 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31685 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31686 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31687 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31688 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31689 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31690 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31691 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31692 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31693 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31694 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31695 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31696 * powerpc/powerpc32/memset.S: Likewise.
31697 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31698 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31699 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31700 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31701 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31702 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31703 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31704 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31705 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31706 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31708 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31709 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31711 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31713 * math/libm-test.inc: Added more nearbyint tests.
31714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31719 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31721 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31724 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31726 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31727 Add wcscpy-ssse3 wcscpy-c.
31728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31729 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31730 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31731 * sysdeps/x86_64/wcschr.S: New file.
31732 * sysdeps/x86_64/wcsrchr.S: New file.
31733 * string/test-strcmp.c: Remove checking of wcscmp function for
31735 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31736 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31737 wcsrchr-sse2 wcsrchr-c.
31738 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31739 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31740 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31741 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31742 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31743 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31744 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31745 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31747 * wcsmbc/wcschr.c (WCSCHR): New macro.
31749 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31751 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31752 * wcsmbs/test-wcsrchr.c: New file.
31753 * string/test-strrchr.c: Add wcsrchr support.
31755 * wcsmbs/test-wcscpy.c: New file.
31756 * string/test-strcpy.c: Add wcscpy support.
31759 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31764 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31767 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31769 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31772 Minor optimizations.
31774 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31775 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31776 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31778 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31780 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31781 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31782 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31783 for gcc to avoid warnings.
31784 * inet/Makefile (tests): Add tst-checks.
31785 * inet/tst-checks.c: New file.
31787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31790 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31793 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31794 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31796 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31798 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31800 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31803 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31805 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31808 conditional on GCC version.
31809 (__arch_compare_and_exchange_val_8_acq)
31810 (__arch_compare_and_exchange_val_16_acq)
31811 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31812 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31813 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31815 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31817 * sysdeps/sh/backtrace.c: New file.
31819 2011-12-02 Andreas Schwab <schwab@redhat.com>
31821 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31824 2011-12-01 Andreas Schwab <schwab@redhat.com>
31826 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31827 falling back to utime.
31829 2011-11-30 Andreas Schwab <schwab@redhat.com>
31831 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31832 expectations for float.
31834 2011-11-29 Andreas Schwab <schwab@redhat.com>
31836 * locale/weight.h (findidx): Add parameter len.
31837 * locale/weightwc.h (findidx): Likewise.
31838 * posix/fnmatch_loop.c (FCT): Adjust caller.
31839 * posix/regcomp.c (build_equiv_class): Likewise.
31840 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31841 * posix/regexec.c (check_node_accept_bytes): Likewise.
31842 * string/strcoll_l.c (STRCOLL): Likewise.
31843 * string/strxfrm_l.c (STRXFRM): Likewise.
31845 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31847 * Makefile.in: Remove CVSOPT handling.
31848 * configure.in: Remove use of AC_REVISION.
31849 * iconvdata/Makefile (distribute): No need to filter out CVS.
31850 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31853 2011-11-16 Andreas Schwab <schwab@redhat.com>
31855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31856 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31857 [USE_AS_STRNCASECMP_L]: Likewise.
31858 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31859 NO_TLS_DIRECT_SEG_REFS.
31860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31861 Fix argument offsets for non-PIC.
31862 [USE_AS_STRNCASECMP_L]: Likewise.
31863 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31864 NO_TLS_DIRECT_SEG_REFS.
31866 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31868 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31870 * locale/loadlocale.c (_nl_load_locale): Likewise.
31872 2011-11-15 Andreas Schwab <schwab@redhat.com>
31874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31875 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31877 (SYSCALL_GETTIME): Set errno on error.
31879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31880 count references to noai6ai_cached.
31882 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31884 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31887 FD_CLOEXEC for /proc/self/maps.
31889 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31890 FD_CLOEXEC for /proc/meminfo.
31892 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31895 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31896 FD_CLOEXEC for given file.
31898 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31900 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31901 FD_CLOEXEC for /etc/hosts.
31902 (_gethtent): Likewise.
31904 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31906 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31907 cancellation and set FD_CLOEXEC for /etc/netgroup.
31909 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31910 reading /etc/publickey.
31912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31913 allow cancellation when reading /etc/group.
31915 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31917 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31919 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31920 when using data file.
31922 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31924 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31925 (write_nis_obj): Use "c" and "e" in fopen.
31927 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31929 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31931 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31933 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31935 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31938 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31940 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31942 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31944 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31945 file parsing and set FD_CLOEXEC.
31947 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31949 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31951 2011-11-14 Andreas Schwab <schwab@redhat.com>
31953 * malloc/arena.c (arena_get2): Don't call reused_arena when
31954 _int_new_arena failed.
31956 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31959 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31964 to compile strcasecmp and strncasecmp.
31965 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31966 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31970 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31973 locale-defines.sym to gen-as-const-headers.
31974 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31975 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31977 to compile strcasecmp and strncasecmp.
31978 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31979 strcasecmp_l and strncasecmp_l.
31980 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31981 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31982 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31984 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31985 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31986 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31987 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31988 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31989 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31990 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31992 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31994 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31995 result of SYSDEP_GETTIME_CPU to retval.
31996 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31997 parameter list to macro. Remove trailing semicolon. Adjust users.
31999 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32002 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32007 from unused variable.
32009 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32011 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32014 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32017 * sunrpc/rpc_prot.c (rejected): Fix case value.
32019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32020 unsigned long long int to avoid warnings in shift.
32022 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32024 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32027 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32028 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32031 * nis/nis_table.c (nis_list): Use variable of correct type for
32032 result of __follow_path call.
32034 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32036 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32037 of math functions ceil, trunc, floor, round, and sqrt, when
32038 avaliable on the platform.
32039 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32045 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32047 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32048 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32050 2011-11-11 Roland McGrath <roland@hack.frob.com>
32052 * include/unistd.h: Fix __readlink return type.
32053 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32055 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32057 * stdlib/ucontext.h: Undo last change for makecontext.
32059 2011-11-11 Andreas Schwab <schwab@redhat.com>
32061 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32063 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32064 * setjmp/setjmp.h: Mark functions as non-leaf.
32065 * setjmp/bits/setjmp2.h: Likewise.
32066 * stdlib/ucontext.h: Likewise.
32068 2011-11-10 Andreas Schwab <schwab@redhat.com>
32070 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32071 (reused_arena): Don't check arena limit.
32072 (arena_get2): Atomically check arena limit.
32074 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32076 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32077 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32082 2011-11-07 Andreas Schwab <schwab@redhat.com>
32084 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32085 handler when locking.
32087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32088 Fix size of allocated buffer.
32090 2011-11-04 Andreas Schwab <schwab@redhat.com>
32093 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32094 declarations for long double functions.
32095 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32097 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32099 2011-11-03 Andreas Schwab <schwab@redhat.com>
32101 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32104 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32107 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32109 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32111 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32113 * include/alloca.h (stackinfo_alloca_round): Define.
32114 (extend_alloca): Use it.
32115 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32116 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32119 * scripts/check-local-headers.sh: Ignore libaudit.h.
32121 * nscd/Makefile (extra-objs): Make recursively expanded.
32123 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32125 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32128 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32129 * posix/tst-rfc3484-2.c: Likewise.
32130 * posix/tst-rfc3484-3.c: Likewise.
32132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32134 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32136 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32137 process_vm_writev from libc using GLIBC_2.15 version.
32139 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32141 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32143 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32146 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32149 * nss/getent.c (initgroups_keys): Show error message in case no group
32152 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32153 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32154 __bump_nl_timestamp.
32155 * nscd/connections (nscd_init): When host database is served open
32156 netlink socket and request notification about configuration changes.
32157 (main_loop_poll): Track netlink file descriptor and bump timestamp
32158 in case data becomes available.
32159 (main_loop_epoll): Likewise.
32160 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32161 (database_pers_head): Add extra_data fileds.
32162 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32163 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32164 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32167 in6ai data, call __free_in6ai.
32168 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32169 Add -DHAVE_NETLINK.
32170 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32171 interface information. Reuse previous data if netlink timestamp
32173 (__bump_nl_timestamp): New function.
32174 (__free_in6ai): New function.
32176 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32179 close_not_cancel_no_status here.
32180 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32182 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32185 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32188 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32189 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32190 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32192 2011-07-03 Andreas Jaeger <aj@suse.de>
32195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32196 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32197 * math/libm-test.inc (sin_test): Add test case.
32199 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32202 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32205 * elf/chroot_canon.c (chroot_canon): Cleanups.
32207 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32210 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32211 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32213 * string/test-strchr.c: Make usable for strchrnul testing.
32214 * string/test-strchrnul.c: New file.
32215 * string/Makefile (strop-tests): Add strchrnul.
32217 * po/it.po: Update from translation team.
32218 * po/es.po: Likewise.
32220 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32223 the three constants needed as parameters. Drop the others.
32224 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32225 __m128i_strloadu_tolower.
32226 Create and initialize variable zero and use it in all the places
32227 where _mm_setzero_si128 was used.
32229 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32230 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32231 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32235 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32236 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32237 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32239 __mpranred, __mptan.
32240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32244 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32245 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32247 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32248 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32250 2011-10-28 Andreas Schwab <schwab@redhat.com>
32252 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32253 redefine if SHARED.
32254 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32257 wide char related routines to wcsmbs subdir.
32259 2011-10-27 Andreas Schwab <schwab@redhat.com>
32262 * misc/sys/cdefs.h (__THROWNL): Define.
32263 * posix/unistd.h: Use __THREADNL instead of __THREAD
32264 for memory synchronization functions.
32266 2011-10-26 Roland McGrath <roland@hack.frob.com>
32269 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32271 * manual/stdio.texi (Obstack Streams): Node removed.
32273 2011-10-26 Andreas Schwab <schwab@redhat.com>
32275 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32279 * math/math_private.h (math_force_eval): Allow non-addressable
32281 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32283 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32286 file is not needed.
32288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32295 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32297 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32298 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32299 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32300 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32302 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32303 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32304 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32307 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32308 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32314 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32315 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32317 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32318 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32321 place. Use VEX encoding when compiling for AVX.
32323 2011-10-25 Andreas Schwab <schwab@redhat.com>
32325 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32328 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32330 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32332 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32333 useless if() expression.
32334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32346 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32347 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32348 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32351 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32354 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32356 2011-10-25 Andreas Schwab <schwab@redhat.com>
32358 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32362 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32364 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32365 .text section. Avoid duplicate constants.
32366 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32376 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32378 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32381 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32395 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32397 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32399 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32400 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32401 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32402 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32404 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32405 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32412 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32414 * sysdeps/x86_64/dla.h: Move to ...
32415 * sysdeps/x86_64/fpu/dla.h: ...here.
32416 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32417 situations. Use __builtin_fma only for gcc 4.6 and up.
32419 * config.make.in: Add have-mfma4 entry.
32420 * configure.in: Substitute libc_cv_cc_fma4.
32421 * math/Makefile (dbl-only-routines): Add sincostab.
32422 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32423 Use __sincostab not sincos.
32424 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32431 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32432 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32433 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32434 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32437 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32439 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32440 define aliases when function name is a macro.
32441 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32442 sysdeps/ieee754/dbl-64/sincos.tbl.
32443 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32444 fma4-enabled routines.
32445 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32446 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32447 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32448 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32455 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32457 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32476 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32487 2011-10-24 Andreas Schwab <schwab@redhat.com>
32489 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32491 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32495 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32499 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32500 Remove unused variable magic_bits.
32501 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32503 * string/strnlen.c: Define and use STRNLEN macro.
32504 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32505 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32507 * wcsmbs/wcslen.c: Define and use WCSLEN.
32508 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32509 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32510 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32511 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32512 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32513 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32516 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32519 strnlen-sse2-no-bsf.
32520 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32522 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32523 Add strnlen support.
32524 (USE_AS_STRNLEN): New macro.
32525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32527 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32528 * sysdeps/x86_64/wcslen.S: New file.
32530 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32533 XMM-moves are used for copying on small sizes.
32535 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32537 * wcsmbs/Makefile (strop-tests): Add wcschr.
32538 * wcsmbs/test-wcschr.c: New file.
32539 * string/test-strchr.c: Update.
32540 Add wcschr support.
32543 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32545 * wcsmbs/Makefile (strop-tests): Add wcslen.
32546 * wcsmbs/test-wcslen.c: New file.
32547 * string/test-strlen.c: Update.
32548 Add wcslen support.
32551 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32553 * po/it.po: Update from translation team.
32555 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32557 * sysdeps/x86_64/wcscmp.S: Update.
32558 Fix wrong comparison semantics.
32559 wcscmp shall use signed comparison not unsigned.
32560 Don't use substraction to avoid overflow bug.
32561 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32562 * wcsmbc/wcscmp.c: Likewise.
32563 * string/test-strcmp.c: Likewise.
32564 Add new tests to check cases with negative values.
32566 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32568 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32569 * sysdeps/x86_64/dla.h: ...here. New file.
32570 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32580 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32583 __ynl_finite aliases.
32585 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32589 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32591 [DLA_FMA] (EMULV): Use DLA_FMA.
32592 [DLA_FMA] (MUL12): Use EMULV.
32593 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32594 that are not needed.
32595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32603 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32605 * math/s_nan.c: Undef __nan.
32606 * math/s_nanf.c: Undef __nanf.
32607 * math/s_nanl.c: Undef __nanl.
32608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32611 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32613 * math/s_catan.c: Add branch predictions.
32614 * math/s_catanf.c: Likewise.
32615 * math/s_catanh.c: Likewise.
32616 * math/s_catanhf.c: Likewise.
32617 * math/s_catanhl.c: Likewise.
32618 * math/s_catanl.c: Likewise.
32619 * math/s_cexp.c: Likewise.
32620 * math/s_cexpf.c: Likewise.
32621 * math/s_cexpl.c: Likewise.
32622 * math/s_clog.c: Likewise.
32623 * math/s_clog10.c: Likewise.
32624 * math/s_clog10f.c: Likewise.
32625 * math/s_clog10l.c: Likewise.
32626 * math/s_clogf.c: Likewise.
32627 * math/s_clogl.c: Likewise.
32628 * math/s_csqrt.c: Likewise.
32629 * math/s_csqrtf.c: Likewise.
32630 * math/s_csqrtl.c: Likewise.
32631 * math/s_ctanf.c: Likewise.
32632 * math/s_ctanh.c: Likewise.
32633 * math/s_ctanhf.c: Likewise.
32634 * math/s_ctanhl.c: Likewise.
32635 * math/s_ctanl.c: Likewise.
32637 * math/math_private.h: Define __nan, __nanf, __nanl.
32638 * math/s_cacosh.c: Include <math_private.h>.
32639 * math/s_cacoshl.c: Likewise.
32640 * math/s_casinh.c: Likewise.
32641 * math/s_casinhf.c: Likewise.
32642 * math/s_casinhl.c: Likewise.
32643 * math/s_ccos.c: Rely entire on ccosh.
32644 * math/s_ccosf.c: Rely entire on ccoshf.
32645 * math/s_ccosl.c: Rely entirely on ccoshl.
32646 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32647 Remove tests for FE_INVALID.
32648 * math/s_ccoshf.c: Likewise.
32649 * math/s_ccoshl.c: Likewise.
32650 * math/s_csin.c: Likewise.
32651 * math/s_csinf.c: Likewise.
32652 * math/s_csinh.c Likewise.
32653 * math/s_csinhf.c: Likewise.
32654 * math/s_csinhl.c: Likewise.
32655 * math/s_csinl.c: Likewise.
32656 * math/s_ctan.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32658 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32661 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32664 compilation problems.
32666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32669 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32671 * sysdeps/i386/configure.in: Test for -mfma4 option.
32672 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32673 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32674 COMMON_CPUID_INDEX_80000001.
32675 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32676 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32677 use it if FMA3 is not supported.
32678 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32680 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32681 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32683 2011-10-20 Andreas Schwab <schwab@redhat.com>
32686 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32687 it would create a cycle with a link time dependency.
32689 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32691 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32693 * string/Makefile (strop-tests): Add rawmemchr.
32694 * string/test-rawmemchr.c: New file.
32696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32698 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32699 when compiling str{,n}casecmp and when AVX is available. Hook up
32700 new optimized code in initializers.
32702 2011-10-19 Andreas Schwab <schwab@redhat.com>
32704 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32705 __feraiseexcept instead of feraiseexcept.
32707 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32709 * math/math_private.h: Define defaults for libc_fetestexcept and
32711 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32712 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32713 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32717 libc_fetestexcept and libc_feupdateenv.
32719 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32720 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32721 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32722 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32723 libc_feholdexcept_setround.
32725 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32726 Add s_nearbyint-c and s_nearbyintf-c.
32727 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32728 nearbyintf inlines.
32729 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32731 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32734 * math/math_private.h: Define defaults for libc_fegetround,
32735 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32736 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32737 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32739 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32740 standard functions.
32741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32742 Remove comments and hacks for old compiler versions.
32743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32744 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32745 libc_feholdexceptl.
32747 2011-10-18 Andreas Schwab <schwab@redhat.com>
32749 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32750 (__feraiseexcept_renamed): Add __NTH.
32751 (feraiseexcept): Add __NTH. Rename local variables to fix
32752 namespace violations.
32754 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32760 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32761 recently added interfaces.
32762 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32764 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32765 about macro parameter expansion.
32767 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32768 __NO_MATH_INLINES is defined. Cleanups.
32770 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32771 and __floorf is target has SSE4.1.
32772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32777 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32779 (floorf): Likewise.
32781 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32783 2011-10-17 Andreas Schwab <schwab@redhat.com>
32785 * misc/sys/cdefs.h: Fix last change.
32787 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32790 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32792 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32794 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32797 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32803 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32804 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32805 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32806 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32807 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32808 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32810 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32813 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32814 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32815 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32818 ceil, ceilf, floor, floorf.
32820 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32821 Perform IRELATIVE relocations last.
32823 * elf/do-rel.h: Add another parameter nrelative, replacing the
32824 local variable with the same name. Change name of the function
32825 to end in Rel or Rela (uppercase).
32826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32827 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32828 elf_dynamic_do_##reloc function.
32830 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32832 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32833 is sufficient, at least on modern CPUs.
32835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32837 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32840 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32842 * math/bits/math-finite.h: Add entries for exp.
32843 * math/e_expl.c: Add __*_finite alias.
32844 * sysdeps/i386/fpu/e_exp.S: Likewise.
32845 * sysdeps/i386/fpu/e_expf.S: Likewise.
32846 * sysdeps/i386/fpu/e_expl.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32851 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32855 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32856 is sufficient, at least on modern CPUs.
32858 * ctype/ctype-info.c (__ctype_init): Define.
32859 * include/ctype.h (__ctype_init): Declare.
32860 (__ctype_b_loc): The variable is always initialized.
32861 (__ctype_toupper_loc): Likewise.
32862 (__ctype_tolower_loc): Likewise.
32863 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32864 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32866 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32868 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32870 * configure.in: Also look in $cxxmachine/include for C++ system
32873 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32875 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32876 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32877 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32878 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32880 (USE_AS_WMEMCMP): New macro.
32882 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32883 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32884 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32885 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32887 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32888 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32889 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32890 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32891 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32893 (USE_AS_WMEMCMP): New macro.
32894 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32895 * sysdeps/string/test-memcmp.c: Update.
32896 Fix simple_wmemcmp.
32898 * wcsmbs/wmemcmp.c: Update.
32899 (WMEMCMP): New macro.
32902 2011-10-12 Andreas Jaeger <aj@suse.de>
32905 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32907 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32909 * libio/iofwide.c (do_length): Avoid warning.
32911 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32913 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32915 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32917 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32918 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32919 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32920 * sysdeps/i386/i686/fpu/e_log.S: New file.
32921 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32922 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32924 * ctype/ctype.h: Add support for inlined isXXX functions when
32925 compiling C++ code.
32927 2011-10-14 Andreas Schwab <schwab@redhat.com>
32929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32931 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32933 2011-10-13 Roland McGrath <roland@hack.frob.com>
32936 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32938 2011-10-13 Andreas Schwab <schwab@redhat.com>
32940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32941 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32944 * sysdeps/x86_64/memrchr.S: Check for zero size.
32946 * string/stratcliff.c: Add memrchr tests.
32948 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32951 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32952 rawmemchr-sse2 rawmemchr-sse2-bsf.
32953 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32954 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32956 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32957 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32958 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32959 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32960 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32961 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32963 * string/memrchr.c (MEMRCHR): New macro.
32965 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32967 Add integration with gcc's -ffinite-math-only and optimize wrapper
32969 * Versions.def: Define GLIBC_2.15 version for libm.
32970 * math/Makefile (headers): Add bits/math-finite.h.
32971 * math/bits/math-finite.h: New file.
32972 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32973 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32974 * math/e_acoshl.c: Add __*_finite alias.
32975 * math/e_acosl.c: Likewise.
32976 * math/e_asinl.c: Likewise.
32977 * math/e_atan2l.c: Likewise.
32978 * math/e_atanhl.c: Likewise.
32979 * math/e_coshl.c: Likewise.
32980 * math/e_exp10.c: Likewise.
32981 * math/e_exp10f.c: Likewise.
32982 * math/e_exp10l.c: Likewise.
32983 * math/e_exp2l.c: Likewise.
32984 * math/e_fmodl.c: Likewise.
32985 * math/e_gammal_r.c: Likewise.
32986 * math/e_hypotl.c: Likewise.
32987 * math/e_j0l.c: Likewise.
32988 * math/e_j1l.c: Likewise.
32989 * math/e_jnl.c: Likewise.
32990 * math/e_lgammal_r.c: Likewise.
32991 * math/e_log10l.c: Likewise.
32992 * math/e_log2l.c: Likewise.
32993 * math/e_logl.c: Likewise.
32994 * math/e_powl.c: Likewise.
32995 * math/e_sinhl.c: Likewise.
32996 * math/e_sqrtl.c: Likewise.
32997 * math/e_scalb.c: Completely rewritten and optimized.
32998 * math/e_scalbf.c: Likewise.
32999 * math/e_scalbl.c: Likewise.
33000 * math/w_acos.c: Likewise.
33001 * math/w_acosf.c: Likewise.
33002 * math/w_acosl.c: Likewise.
33003 * math/w_acosh.c: Likewise.
33004 * math/w_acoshf.c: Likewise.
33005 * math/w_acoshl.c: Likewise.
33006 * math/w_asin.c: Likewise.
33007 * math/w_asinf.c: Likewise.
33008 * math/w_asinl.c: Likewise.
33009 * math/w_atan2.c: Likewise.
33010 * math/w_atan2f.c: Likewise.
33011 * math/w_atan2l.c: Likewise.
33012 * math/w_atanh.c: Likewise.
33013 * math/w_atanhf.c: Likewise.
33014 * math/w_atanhl.c: Likewise.
33015 * math/w_exp10.c: Likewise.
33016 * math/w_exp10f.c: Likewise.
33017 * math/w_exp10l.c: Likewise.
33018 * math/w_fmod.c: Likewise.
33019 * math/w_fmodf.c: Likewise.
33020 * math/w_fmodl.c: Likewise.
33021 * math/w_j0.c: Likewise.
33022 * math/w_j0f.c: Likewise.
33023 * math/w_j0l.c: Likewise.
33024 * math/w_j1.c: Likewise.
33025 * math/w_j1f.c: Likewise.
33026 * math/w_j1l.c: Likewise.
33027 * math/w_jn.c: Likewise.
33028 * math/w_jnf.c: Likewise.
33029 * math/w_log.c: Likewise.
33030 * math/w_logf.c: Likewise.
33031 * math/w_logl.c: Likewise.
33032 * math/w_log10.c: Likewise.
33033 * math/w_log10f.c: Likewise.
33034 * math/w_log10l.c: Likewise.
33035 * math/w_log2.c: Likewise.
33036 * math/w_log2f.c: Likewise.
33037 * math/w_log2l.c: Likewise.
33038 * math/w_pow.c: Likewise.
33039 * math/w_powf.c: Likewise.
33040 * math/w_powl.c: Likewise.
33041 * math/w_remainder.c: Likewise.
33042 * math/w_remainderf.c: Likewise.
33043 * math/w_remainderl.c: Likewise.
33044 * math/w_scalb.c: Likewise.
33045 * math/w_scalbf.c: Likewise.
33046 * math/w_scalbl.c: Likewise.
33047 * math/w_sqrt.c: Likewise.
33048 * math/w_sqrtf.c: Likewise.
33049 * math/w_sqrtl.c: Likewise.
33050 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33051 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33053 * math/math_private.h: Declare __kernel_standard_f.
33054 * math/w_cosh.c: Remove cruft and optimize a bit.
33055 * math/w_coshf.c: Likewise.
33056 * math/w_coshl.c: Likewise.
33057 * math/w_exp2.c: Likewise.
33058 * math/w_exp2f.c: Likewise.
33059 * math/w_exp2l.c: Likewise.
33060 * math/w_hypot.c: Likewise.
33061 * math/w_hypotf.c: Likewise.
33062 * math/w_hypotl.c: Likewise.
33063 * math/w_lgamma.c: Likewise.
33064 * math/w_lgamma_r.c: Likewise.
33065 * math/w_lgammaf.c: Likewise.
33066 * math/w_lgammaf_r.c: Likewise.
33067 * math/w_lgammal.c: Likewise.
33068 * math/w_lgammal_r.c: Likewise.
33069 * math/w_sinh.c: Likewise.
33070 * math/w_sinhf.c: Likewise.
33071 * math/w_sinhl.c: Likewise.
33072 * math/w_tgamma.c: Likewise.
33073 * math/w_tgammaf.c: Likewise.
33074 * math/w_tgammal.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33077 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33078 Minor optimizations. Pretty printing. Remove cruft.
33079 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33083 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33084 * sysdeps/i386/fpu/e_asin.S: Likewise.
33085 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33086 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33087 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33088 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33092 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33093 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33094 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33095 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33096 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33097 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33098 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33099 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33100 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33101 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33102 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33103 * sysdeps/i386/fpu/e_log.S: Likewise.
33104 * sysdeps/i386/fpu/e_log10.S: Likewise.
33105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33106 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33107 * sysdeps/i386/fpu/e_log2.S: Likewise.
33108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33110 * sysdeps/i386/fpu/e_logf.S: Likewise.
33111 * sysdeps/i386/fpu/e_logl.S: Likewise.
33112 * sysdeps/i386/fpu/e_pow.S: Likewise.
33113 * sysdeps/i386/fpu/e_powf.S: Likewise.
33114 * sysdeps/i386/fpu/e_powl.S: Likewise.
33115 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33116 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33117 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33118 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33121 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33122 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33123 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33149 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33150 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33153 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33158 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33159 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33160 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33161 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33204 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33215 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33216 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33217 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33219 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33220 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33221 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33222 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33223 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33224 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33226 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33227 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33232 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33234 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33235 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33236 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33237 (__isnanf): Likewise.
33238 (__isinf_ns): Likewise.
33239 (__isinf_nsf): Likewise.
33240 (__finite): Likewise.
33241 (__finitef): Likewise.
33242 (__ieee754_sqrt): Define as macro.
33243 (__ieee754_sqrtf): Define as macro.
33244 (__ieee754_sqrtl): Define as macro.
33245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33247 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33248 __FINITE_MATH_ONLY__ consistent.
33249 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33251 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33253 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33258 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33260 * po/ja.po: Update from translation team.
33262 2011-10-08 Roland McGrath <roland@hack.frob.com>
33264 * locale/programs/locarchive.c (prepare_address_space): New function.
33265 (create_archive, enlarge_archive, open_archive): Use it.
33267 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33268 inside [SHARED], where it is used.
33270 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33272 * nss/getent.c (netgroup_keys): Remove unused variable.
33273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33275 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33277 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33278 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33282 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33283 * math/Makefile (libm-calls): Add s_isinf_ns.
33284 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33285 * math/multc3.c: Likewise.
33286 * math/s_casin.c: Likewise.
33287 * math/s_casinf.c: Likewise.
33288 * math/s_casinl.c: Likewise.
33289 * math/s_ccos.c: Likewise.
33290 * math/s_ccosf.c: Likewise.
33291 * math/s_ccosl.c: Likewise.
33292 * math/s_ctan.c: Likewise.
33293 * math/s_ctanf.c: Likewise.
33294 * math/s_ctanh.c: Likewise.
33295 * math/s_ctanhf.c: Likewise.
33296 * math/s_ctanhl.c: Likewise.
33297 * math/s_ctanl.c: Likewise.
33298 * math/w_fmod.c: Likewise.
33299 * math/w_fmodf.c: Likewise.
33300 * math/w_fmodl.c: Likewise.
33301 * math/w_remainder.c: Likewise.
33302 * math/w_remainderf.c: Likewise.
33303 * math/w_remainderl.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33305 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33308 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33309 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33310 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33311 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33313 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33315 * stdio-common/printf_fphex.c: Likewise.
33316 * stdio-common/printf_size.c: Likewise.
33318 * math/e_exp10.c: Include math_private.h using <...> not "...".
33319 * math/e_exp10f.c: Likewise.
33320 * math/e_exp10l.c: Likewise.
33321 * math/e_exp2l.c: Likewise.
33322 * math/e_j0l.c: Likewise.
33323 * math/e_j1l.c: Likewise.
33324 * math/e_jnl.c: Likewise.
33325 * math/e_lgammal_r.c: Likewise.
33326 * math/e_rem_pio2l.c: Likewise.
33327 * math/e_scalb.c: Likewise.
33328 * math/e_scalbf.c: Likewise.
33329 * math/e_scalbl.c: Likewise.
33330 * math/k_cosl.c: Likewise.
33331 * math/k_sinl.c: Likewise.
33332 * math/k_tanl.c: Likewise.
33333 * math/s_cacoshf.c: Likewise.
33334 * math/s_catan.c: Likewise.
33335 * math/s_catanf.c: Likewise.
33336 * math/s_catanh.c: Likewise.
33337 * math/s_catanhf.c: Likewise.
33338 * math/s_catanhl.c: Likewise.
33339 * math/s_catanl.c: Likewise.
33340 * math/s_ccosh.c: Likewise.
33341 * math/s_ccoshf.c: Likewise.
33342 * math/s_ccoshl.c: Likewise.
33343 * math/s_cexp.c: Likewise.
33344 * math/s_cexpf.c: Likewise.
33345 * math/s_cexpl.c: Likewise.
33346 * math/s_clog.c: Likewise.
33347 * math/s_clog10.c: Likewise.
33348 * math/s_clog10f.c: Likewise.
33349 * math/s_clog10l.c: Likewise.
33350 * math/s_clogf.c: Likewise.
33351 * math/s_clogl.c: Likewise.
33352 * math/s_csin.c: Likewise.
33353 * math/s_csinf.c: Likewise.
33354 * math/s_csinh.c: Likewise.
33355 * math/s_csinhf.c: Likewise.
33356 * math/s_csinhl.c: Likewise.
33357 * math/s_csinl.c: Likewise.
33358 * math/s_csqrt.c: Likewise.
33359 * math/s_csqrtf.c: Likewise.
33360 * math/s_csqrtl.c: Likewise.
33361 * math/s_ctan.c: Likewise.
33362 * math/s_ctanf.c: Likewise.
33363 * math/s_ctanh.c: Likewise.
33364 * math/s_ctanhf.c: Likewise.
33365 * math/s_ctanhl.c: Likewise.
33366 * math/s_ctanl.c: Likewise.
33367 * math/s_ldexp.c: Likewise.
33368 * math/s_ldexpf.c: Likewise.
33369 * math/s_ldexpl.c: Likewise.
33370 * math/s_significand.c: Likewise.
33371 * math/s_significandf.c: Likewise.
33372 * math/s_significandl.c: Likewise.
33373 * math/w_acos.c: Likewise.
33374 * math/w_acosf.c: Likewise.
33375 * math/w_acosh.c: Likewise.
33376 * math/w_acoshf.c: Likewise.
33377 * math/w_acoshl.c: Likewise.
33378 * math/w_acosl.c: Likewise.
33379 * math/w_asin.c: Likewise.
33380 * math/w_asinf.c: Likewise.
33381 * math/w_asinl.c: Likewise.
33382 * math/w_atan2.c: Likewise.
33383 * math/w_atan2f.c: Likewise.
33384 * math/w_atan2l.c: Likewise.
33385 * math/w_atanh.c: Likewise.
33386 * math/w_atanhf.c: Likewise.
33387 * math/w_atanhl.c: Likewise.
33388 * math/w_cosh.c: Likewise.
33389 * math/w_coshf.c: Likewise.
33390 * math/w_coshl.c: Likewise.
33391 * math/w_dremf.c: Likewise.
33392 * math/w_exp10.c: Likewise.
33393 * math/w_exp10f.c: Likewise.
33394 * math/w_exp10l.c: Likewise.
33395 * math/w_exp2.c: Likewise.
33396 * math/w_exp2f.c: Likewise.
33397 * math/w_fmod.c: Likewise.
33398 * math/w_fmodf.c: Likewise.
33399 * math/w_fmodl.c: Likewise.
33400 * math/w_hypot.c: Likewise.
33401 * math/w_hypotf.c: Likewise.
33402 * math/w_hypotl.c: Likewise.
33403 * math/w_j0.c: Likewise.
33404 * math/w_j0f.c: Likewise.
33405 * math/w_j0l.c: Likewise.
33406 * math/w_j1.c: Likewise.
33407 * math/w_j1f.c: Likewise.
33408 * math/w_j1l.c: Likewise.
33409 * math/w_jn.c: Likewise.
33410 * math/w_jnf.c: Likewise.
33411 * math/w_jnl.c: Likewise.
33412 * math/w_lgamma.c: Likewise.
33413 * math/w_lgamma_r.c: Likewise.
33414 * math/w_lgammaf.c: Likewise.
33415 * math/w_lgammaf_r.c: Likewise.
33416 * math/w_lgammal.c: Likewise.
33417 * math/w_lgammal_r.c: Likewise.
33418 * math/w_log.c: Likewise.
33419 * math/w_log10.c: Likewise.
33420 * math/w_log10f.c: Likewise.
33421 * math/w_log10l.c: Likewise.
33422 * math/w_log2.c: Likewise.
33423 * math/w_log2f.c: Likewise.
33424 * math/w_log2l.c: Likewise.
33425 * math/w_logf.c: Likewise.
33426 * math/w_logl.c: Likewise.
33427 * math/w_pow.c: Likewise.
33428 * math/w_powf.c: Likewise.
33429 * math/w_powl.c: Likewise.
33430 * math/w_remainder.c: Likewise.
33431 * math/w_remainderf.c: Likewise.
33432 * math/w_remainderl.c: Likewise.
33433 * math/w_scalb.c: Likewise.
33434 * math/w_scalbf.c: Likewise.
33435 * math/w_scalbl.c: Likewise.
33436 * math/w_sinh.c: Likewise.
33437 * math/w_sinhf.c: Likewise.
33438 * math/w_sinhl.c: Likewise.
33439 * math/w_sqrt.c: Likewise.
33440 * math/w_sqrtf.c: Likewise.
33441 * math/w_sqrtl.c: Likewise.
33442 * math/w_tgamma.c: Likewise.
33443 * math/w_tgammaf.c: Likewise.
33444 * math/w_tgammal.c: Likewise.
33446 * po/ja.po: Update from translation team.
33448 2011-09-29 Andreas Jaeger <aj@suse.de>
33451 * sunrpc/netname.c (netname2host): Fix logic.
33455 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33457 * math/w_remainder.c (__remainder): Likewise.
33458 * math/w_remainderf.c (__remainderf): Likewise.
33459 * math/libm-test.inc (remainder_test): Add test cases.
33461 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33463 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33466 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33468 * string/test-memcmp.c: Avoid unncessary #defines.
33469 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33471 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33473 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33474 Use new sse2 version for core i3 - i7 as it's faster
33475 than sse42 version.
33476 (bit_Prefer_PMINUB_for_stringop): New.
33477 * sysdeps/x86_64/rawmemchr.S: Update.
33478 Replace with faster SSE2 version.
33479 * sysdeps/x86_64/memrchr.S: New file.
33480 * sysdeps/x86_64/memchr.S: Update.
33481 Replace with faster SSE2 version.
33483 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33485 * elf/dl-load.c (lose): Add cast to avoid warning.
33487 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33489 * po/ca.po: Update from translation team.
33491 * inet/getnetgrent_r.c: Hook up nscd.
33492 * nscd/Makefile (routines): Add nscd_netgroup.
33493 (nscd-modules): Add netgroupcache.
33494 (CFLAGS-netgroupcache.c): Define.
33495 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33496 (cache_search): Add const to second parameter.
33497 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33499 (dbs): Add netgrdb entry.
33500 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33501 (verify_persistent_db): Handle netgrdb.
33502 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33503 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33505 (netgroup_response_header): Define.
33506 (innetgroup_response_header): Define.
33507 (datahead): Add netgroup_response_header and innetgroup_response_header
33509 * nscd/nscd.conf: Add entries for netgroup cache.
33510 * nscd/nscd.h (dbtype): Add netgrdb.
33511 (_PATH_NSCD_NETGROUP_DB): Define.
33512 (netgroup_iov_disabled): Declare.
33513 (xmalloc, xcalloc, xrealloc): Move declarations here.
33514 (cache_search): Adjust prototype.
33515 Add netgroup-related prototypes.
33516 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33517 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33518 (__nscd_innetgr): Declare.
33519 * nscd/selinux.c (perms): Use access_vector_t as element type and
33520 add netgroup-related initializers.
33521 * nscd/netgroupcache.c: New file.
33522 * nscd/nscd_netgroup.c: New file.
33523 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33524 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33525 For four parameters use innetgr.
33526 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33527 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33528 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33529 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33531 * nscd/connections.c (register_traced_file): Don't register file
33532 for disabled databases.
33534 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33536 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33538 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33539 from tree and freeing node.
33541 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33543 * nss/nsswitch.c (__nss_database_lookup): Handle
33544 nss_parse_service_list out of memory case.
33546 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33548 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33549 out of memory case.
33551 2011-10-04 Andreas Schwab <schwab@redhat.com>
33553 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33554 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33556 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33557 elf_machine_rela, elf_machine_lazy_rel.
33558 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33559 (ELF_DYNAMIC_DO_REL): Likewise.
33560 (ELF_DYNAMIC_DO_RELA): Likewise.
33561 (ELF_DYNAMIC_RELOCATE): Likewise.
33562 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33563 to ELF_DYNAMIC_DO_REL.
33564 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33565 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33566 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33569 skip_ifunc, don't call ifunc function if non-zero.
33570 (elf_machine_rela): Likewise.
33571 (elf_machine_lazy_rel): Likewise.
33572 (elf_machine_lazy_rela): Likewise.
33573 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33574 (elf_machine_lazy_rel): Likewise.
33575 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33577 (elf_machine_lazy_rel): Likewise.
33578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33580 (elf_machine_lazy_rel): Likewise.
33581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33582 (elf_machine_lazy_rel): Likewise.
33583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33584 (elf_machine_lazy_rel): Likewise.
33585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33586 (elf_machine_lazy_rel): Likewise.
33587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33588 (elf_machine_lazy_rel): Likewise.
33589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33590 (elf_machine_lazy_rel): Likewise.
33591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33592 (elf_machine_lazy_rel): Likewise.
33594 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33596 * nss/nss_files/files-init.c (_nss_files_init): Use static
33597 initialization for all the *_traced_file variables.
33599 2011-09-28 Andreas Schwab <schwab@redhat.com>
33601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33603 2011-09-27 Roland McGrath <roland@hack.frob.com>
33606 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33608 2011-09-27 Andreas Schwab <schwab@redhat.com>
33610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33611 Reread the line before reparsing it.
33613 2011-09-26 Andreas Schwab <schwab@redhat.com>
33615 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33617 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33618 Maxim Kuvyrkov <maxim@codesourcery.com>
33619 Joseph Myers <joseph@codesourcery.com>
33621 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33622 if needed for __stack_chk_guard.
33624 2011-09-19 Roland McGrath <roland@hack.frob.com>
33626 * sysdeps/posix/spawni.c (script_execute): Always define it.
33627 It will be optimized away if unused.
33628 (maybe_script_execute): New function.
33629 (__spawni): Call it.
33631 * Makerules: Don't include tls.make.
33632 (config-tls): Always set to thread.
33633 * tls.make.c: File removed.
33635 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33637 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33638 * config.make.in (CPPFLAGS-config): New substituted variable.
33640 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33645 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33646 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33648 2011-09-15 Roland McGrath <roland@hack.frob.com>
33650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33651 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33653 (CALL_FAIL): Likewise.
33654 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33655 (CALL_FAIL): Macro removed.
33656 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33658 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33660 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33661 for __FINITE_MATH_ONLY__ == 1.
33663 2011-09-15 Andreas Schwab <schwab@redhat.com>
33665 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33666 __ieee754_sqrt instead of sqrt.
33667 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33668 __ieee754_sqrtf instead of sqrtf.
33669 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33670 __floorf instead of floorf.
33671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33672 __floorf, __truncf instead of floorf, truncf.
33674 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33676 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33678 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33679 __extern_always_inline.
33680 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33683 2011-09-14 Andreas Schwab <schwab@redhat.com>
33685 * elf/rtld.c (dl_main): Also relocate in dependency order when
33686 doing symbol dependency testing.
33688 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33691 Always define `refsym'.
33693 2011-09-13 Andreas Schwab <schwab@redhat.com>
33695 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33696 (__FD_ELT): Renamed from __FDELT.
33697 * misc/bits/select2.h (__FD_ELT): Likewise.
33698 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33699 __FD_MASK instead of __FDELT, __FDMASK.
33700 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33702 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33705 * elf/Makefile (gen-ldd): Fix pattern.
33707 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33708 (init_tls): Likewise.
33710 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33714 2011-09-12 Andreas Schwab <schwab@redhat.com>
33716 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33717 `struct cmsghdr *' instead of `void *'.
33718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33721 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33723 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33725 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33726 ldd_rewrite_script.
33728 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33730 * configure.in: Remove --with-tls option.
33731 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33732 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33733 out in case it is missing.
33734 * sysdeps/ia64/elf/configure.in: Likewise.
33735 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33736 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33737 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33738 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33739 * sysdeps/sh/elf/configure.in: Likewise.
33740 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33742 * sysdeps/x86_64/elf/configure.in: Likewise.
33743 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33744 * sysdeps/mach/hurd/tls.h: Likewise.
33747 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33750 * configure.in: Fix use of AC_INIT.
33752 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33754 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33756 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33758 * malloc/hooks.c: Likewise.
33761 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33762 variables statically.
33763 (narenas): Initialize.
33764 (list_lock): Initialize.
33765 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33766 initializtion of main_arena and list_lock. Small cleanups.
33767 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33768 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33769 Add initializers to main_arena and mp_.
33770 (malloc_state): Remove pagesize member. Change all users to use
33773 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33774 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33775 is always initialized.
33777 * malloc/malloc.c: Removed unused configurations and dead code.
33778 * malloc/arena.c: Likewise.
33779 * malloc/hooks.c: Likewise.
33780 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33782 * include/tls.h: Removed. USE___THREAD must always be defined.
33783 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33784 * elf/dl-libc.c: Likewise.
33785 * elf/dl-tsd.c: Likewise.
33786 * include/errno.h: Likewise.
33787 * include/netdb.h: Likewise.
33788 * include/resolv.h: Likewise.
33789 * inet/herrno-loc.c: Likewise.
33790 * inet/herrno.c: Likewise.
33791 * malloc/arena.c: Likewise.
33792 * malloc/hooks.c: Likewise.
33793 * malloc/malloc.c: Likewise.
33794 * resolv/res-state.c: Likewise.
33795 * resolv/res_libc.c: Likewise.
33796 * sysdeps/i386/dl-machine.h: Likewise.
33797 * sysdeps/ia64/dl-machine.h: Likewise.
33798 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33799 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33800 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33801 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33802 * sysdeps/sh/dl-machine.h: Likewise.
33803 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33805 * sysdeps/unix/i386/sysdep.S: Likewise.
33806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33807 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33812 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33817 * sysdeps/x86_64/dl-machine.h: Likewise.
33818 * tls.make.c: Likewise.
33820 * configure.in: Remove --with-__thread option. Make tests for
33821 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33822 tls_model attribute fail if no support is available. Remove
33824 * Makeconfig: Adjust for dropped configure option. All features are
33826 * Makerules: Likewise.
33827 * Versions.def: Likewise.
33828 * argp/argp-fmtstream.c: Likewise.
33829 * argp/argp-fmtstream.h: Likewise.
33830 * argp/argp-help.c: Likewise.
33831 * assert/assert.c: Likewise.
33832 * config.h.in: Likewise.
33833 * config.make.in: Likewise.
33834 * configure: Likewise.
33835 * configure.in: Likewise.
33836 * csu/Versions: Likewise.
33837 * csu/init.c: Likewise.
33838 * elf/tst-audit2.c: Likewise.
33839 * elf/tst-tls10.c: Likewise.
33840 * elf/tst-tls10.h: Likewise.
33841 * elf/tst-tls11.c: Likewise.
33842 * elf/tst-tls12.c: Likewise.
33843 * elf/tst-tls14.c: Likewise.
33844 * elf/tst-tlsmod11.c: Likewise.
33845 * elf/tst-tlsmod12.c: Likewise.
33846 * elf/tst-tlsmod13.c: Likewise.
33847 * elf/tst-tlsmod13a.c: Likewise.
33848 * elf/tst-tlsmod14a.c: Likewise.
33849 * elf/tst-tlsmod15b.c: Likewise.
33850 * elf/tst-tlsmod16a.c: Likewise.
33851 * elf/tst-tlsmod16b.c: Likewise.
33852 * elf/tst-tlsmod7.c: Likewise.
33853 * elf/tst-tlsmod8.c: Likewise.
33854 * elf/tst-tlsmod9.c: Likewise.
33855 * gmon/gmon.c: Likewise.
33856 * grp/fgetgrent_r.c: Likewise.
33857 * grp/putgrent.c: Likewise.
33858 * hurd/fopenport.c: Likewise.
33859 * include/libc-symbols.h: Likewise.
33860 * include/tls.h: Likewise.
33861 * intl/gettextP.h: Likewise.
33862 * intl/loadinfo.h: Likewise.
33863 * locale/global-locale.c: Likewise.
33864 * locale/localeinfo.h: Likewise.
33865 * mach/devstream.c: Likewise.
33866 * malloc/arena.c: Likewise.
33867 * malloc/set-freeres.c: Likewise.
33868 * misc/err.c: Likewise.
33869 * misc/getttyent.c: Likewise.
33870 * misc/mntent_r.c: Likewise.
33871 * posix/getopt.c: Likewise.
33872 * posix/wordexp.c: Likewise.
33873 * pwd/fgetpwent_r.c: Likewise.
33874 * resolv/Versions: Likewise.
33875 * resolv/res_hconf.c: Likewise.
33876 * shadow/fgetspent_r.c: Likewise.
33877 * shadow/putspent.c: Likewise.
33878 * stdio-common/printf_fphex.c: Likewise.
33879 * stdio-common/tmpfile.c: Likewise.
33880 * stdlib/abort.c: Likewise.
33881 * stdlib/fmtmsg.c: Likewise.
33882 * sunrpc/auth_unix.c: Likewise.
33883 * sunrpc/clnt_perr.c: Likewise.
33884 * sunrpc/clnt_tcp.c: Likewise.
33885 * sunrpc/clnt_udp.c: Likewise.
33886 * sunrpc/clnt_unix.c: Likewise.
33887 * sunrpc/openchild.c: Likewise.
33888 * sunrpc/svc_simple.c: Likewise.
33889 * sunrpc/svc_tcp.c: Likewise.
33890 * sunrpc/svc_udp.c: Likewise.
33891 * sunrpc/svc_unix.c: Likewise.
33892 * sunrpc/xdr.c: Likewise.
33893 * sunrpc/xdr_array.c: Likewise.
33894 * sunrpc/xdr_rec.c: Likewise.
33895 * sunrpc/xdr_ref.c: Likewise.
33896 * sunrpc/xdr_stdio.c: Likewise.
33898 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33900 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33902 2011-07-03 Andreas Jaeger <aj@suse.de>
33904 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33905 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33906 regenerate with gen-libm-tests.pl.
33908 2010-05-12 Petr Baudis <pasky@suse.cz>
33911 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33912 around j0() zero points by switching to j1().
33913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33918 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33922 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33925 Patch in part by Pavel Roskin <proski@gnu.org>.
33928 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33930 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33931 Free memory block if necessary.
33934 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33935 be NULL. Don't lock in this case.
33937 2011-09-09 Roland McGrath <roland@hack.frob.com>
33939 * elf/elf.h (ELFOSABI_GNU): New macro.
33940 (ELFOSABI_LINUX): Define to that.
33942 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33944 * string/strncat.c (strncat): Undef the symbol in case it has been
33945 defined in bits/string.h.
33947 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33949 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33951 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33954 2011-08-17 Andreas Jaeger <aj@suse.de>
33956 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33958 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33959 Ian Lance Taylor <iant@google.com>
33961 * math/libm-test.inc (lround_test): New testcase.
33962 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33964 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33966 * Makefile: Remove support for automatic cvs check-ins.
33967 * Makerules: Likewise.
33968 * config.make.in: Likewise.
33969 * configure.in: Likewise.
33970 * intl/Makefile: Likewise.
33971 * locale/Makefile: Likewise.
33972 * po/Makefile: Likewise.
33973 * posix/Makefile: Likewise.
33974 * sysdeps/gnu/Makefile: Likewise.
33975 * sysdeps/mach/hurd/Makefile: Likewise.
33976 * sysdeps/sparc/sparc32/Makefile: Likewise.
33979 * posix/Makefile (bug-regex32-ENV): Define.
33980 Patch by John Stanley <jpsinthemix@verizon.net>.
33982 * misc/Makefile (headers): Add bits/select2.h.
33983 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33984 * misc/bits/select2.h: New file.
33985 * include/bits/select2.h: New file.
33986 * debug/Makefile (routines): Add fdelt_chk.
33987 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33988 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33990 * debug/fdelt_chk.c: New file.
33992 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33993 * wcsmbs/test-wmemcmp.c: Likewise.
33994 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33995 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33997 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33999 * string/Makefile (strop-tests): Add memcmp.
34000 * string/test-wmemcmp.c: New file.
34001 * string/test-memcmp.c: Add wmemcmp support.
34003 2011-09-08 Roland McGrath <roland@hack.frob.com>
34006 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34009 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34010 garbage value in a __mach_port_mod_refs call in the cases of the
34011 task-self and thread-self ports.
34013 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34015 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34017 2011-09-08 Andreas Schwab <schwab@redhat.com>
34019 * elf/dl-load.c (lose): Check for non-null L.
34021 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34023 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34025 * elf/dl-libc.c (dlerror_run): Pass back error code from
34029 * elf/dl-load.c (lose): Free l_origin if it is valid.
34031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34038 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34040 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34042 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34043 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34044 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34045 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34046 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34047 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34048 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34049 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34050 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34051 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34053 2011-08-15 Alan Modra <amodra@gmail.com>
34056 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34057 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34058 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34059 ppc_mcount to static-only-routines.
34060 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34062 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34063 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34065 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34068 for finite and infinity parameters.
34070 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34073 and add nop instructions for throughput optimization.
34074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34076 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34078 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34079 aligned copy for power7 with vector-scalar instructions.
34080 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34082 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34087 2011-09-07 Andreas Schwab <schwab@redhat.com>
34090 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34093 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34096 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34097 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34098 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34101 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34103 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34104 Forgot to demangle the pointer.
34106 * sysdeps/i386/sysdep.h: Define atom_text_section.
34107 * sysdeps/x86_64/sysdep.h: Likewise.
34108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34109 section with atom_text_section.
34110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34117 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34118 already be defined. Change to take two parameters and don't assign
34119 result to variable. Adjust all users.
34120 Define INTERNAL_GETTIME if not already defined.
34121 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34124 HAVE_CLOCK_GETTIME_VSYSCALL.
34125 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34128 gettimeofday vsyscall, just use time.
34130 2011-09-06 Andreas Schwab <schwab@redhat.com>
34132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34135 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34137 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34141 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34143 syscall if possible.
34145 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34147 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34148 e_ident. Don't pass to find_mapsXX.
34149 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34151 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34154 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34155 * sysdeps/x86_64/multiarch/strchr.S: Update.
34156 Check bit_slow_BSF bit.
34157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34158 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34161 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34164 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34166 (tryshell): Define.
34167 (__spawni): Change last parameter to be flag. Test
34168 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34169 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34170 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34171 * posix/spawni.c: Likewise.
34172 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34173 * posix/spawnp.c: Likewise. Change normal version to use
34174 SPAWN_XFLAGS_USE_PATH.
34175 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34176 SPAWN_XFLAGS_TRY_SHELL.
34179 * posix/glob.h: Remove gcc 1.x support.
34182 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34184 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34187 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34189 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34190 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34191 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34194 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34196 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34198 * sysdeps/x86_64/wcscmp.S: New file.
34200 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34201 wcscmp-c wcscmp-sse2
34202 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34203 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34205 * wcsmbs/wcscmp.c: Allow renaming.
34207 2011-09-05 David S. Miller <davem@davemloft.net>
34209 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34210 stack slot, rather than the struct return pointer slot.
34211 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34212 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34214 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34216 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34218 * po/ja.po: Update from translation team.
34221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34222 kernel in 64-bit binaries.
34224 2011-09-01 David S. Miller <davem@davemloft.net>
34226 * elf/elf.h (HWCAP_SPARC_*): Move to..
34227 * sysdeps/sparc/sysdep.h: this new file and add new values.
34228 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34229 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34230 _DL_HWCAP_COUNT to 24.
34231 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34233 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34234 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34235 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34237 instead of magic constants.
34238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34240 2011-08-31 David S. Miller <davem@davemloft.net>
34242 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34244 Reimplement to do errno handling inline.
34245 (SYSCALL_ERROR_HANDLER): New macro.
34246 (__SYSCALL_STRING): Do not do errno handling in asm.
34247 (__CLONE_SYSCALL_STRING): Delete.
34248 (__INTERNAL_SYSCALL_STRING): Delete.
34249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34250 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34251 (PSEUDO): Reimplement to do errno handling inline.
34252 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34253 (SYSCALL_ERROR_HANDLER): New macro.
34254 (__SYSCALL_STRING): Do not do errno handling in asm.
34255 (__CLONE_SYSCALL_STRING): Delete.
34256 (__INTERNAL_SYSCALL_STRING): Delete.
34257 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34258 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34260 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34261 (inline_syscall*): Add 'err' argument.
34262 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34263 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34264 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34265 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34267 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34268 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34270 2011-08-30 Andreas Schwab <schwab@redhat.com>
34272 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34274 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34276 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34279 2011-08-24 David S. Miller <davem@davemloft.net>
34281 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34283 2011-08-24 Andreas Schwab <schwab@redhat.com>
34285 * elf/Makefile: Add rules to build and run unload8 test.
34286 * elf/unload8.c: New file.
34287 * elf/unload8mod1.c: New file.
34288 * elf/unload8mod1x.c: New file.
34289 * elf/unload8mod2.c: New file.
34290 * elf/unload8mod3.c: New file.
34292 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34295 2011-08-23 David S. Miller <davem@davemloft.net>
34297 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34298 subtract stack bias.
34299 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34300 %sp not %fp in calculations.
34301 (_JMPBUF_UNWINDS_ADJ): Likewise.
34303 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34304 (aio_suspend): Call it to force an exception region around the
34305 AIO_MISC_WAIT() invocation.
34307 2011-08-23 Andreas Schwab <schwab@redhat.com>
34309 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34312 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34314 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34316 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34317 and <dl-machine.h>.
34318 (Elf64_FuncDesc): Remove.
34320 2011-08-22 David S. Miller <davem@davemloft.net>
34322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34323 sigaltstack check, add missing cfi directives.
34324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34325 missing cfi directives, and sigaltstack handling.
34327 2011-08-16 Andreas Schwab <schwab@redhat.com>
34330 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34331 object is seen twice.
34332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34334 * elf/Makefile (distribute): Add tst-initorder2.c.
34335 (tests): Add tst-initorder2.
34336 (modules-names): Add tst-initorder2a tst-initorder2b
34337 tst-initorder2c tst-initorder2d. Add rules to build them.
34338 ($(objpfx)tst-initorder2.out): New rule.
34339 * elf/tst-initorder2.c: New file.
34340 * elf/tst-initorder2.exp: New file.
34342 2011-08-22 Andreas Schwab <schwab@redhat.com>
34344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34346 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34347 dependencies back to end of function.
34349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34350 $(elfobjdir)/ld.so.
34352 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34355 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34357 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34358 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34359 of __vdso_gettimeofday.
34360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34361 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34363 (_libc_vdso_platform_setup): Remove initialization of
34364 __vdso_gettimeofday and __vdso_time.
34366 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34368 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34369 and fgetc_unlocked.
34370 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34373 * elf/dl-open.c (add_to_global): Report additions to the global scope
34374 for LD_DEBUG=scopes.
34375 (dl_open_worker): Also print scope of newly loaded dependencies.
34376 (_dl_show_scope): Indicate if there is no scope.
34379 * stdio-common/Makefile (tests): Add bug24.
34380 * stdio-common/bug24.c: New file.
34382 2011-08-19 Andreas Jaeger <aj@suse.de>
34385 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34386 non-existant file when using close-on-exec mode.
34388 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34391 the very first instruction.
34393 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34394 the CFI state in the end.
34395 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34396 inclusion of dl-trampoline.h.
34397 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34399 2011-08-19 Andreas Schwab <schwab@redhat.com>
34401 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34402 expectations for long double.
34404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34405 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34407 2011-08-14 David S. Miller <davem@davemloft.net>
34409 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34410 artificual limit depends upon the system page size.
34412 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34414 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34415 * resolv/Makefile: Define CFLAGS-libresolv.
34417 2011-08-17 Andreas Schwab <schwab@redhat.com>
34419 * nss/makedb.c (compute_tables): Make variables used in nested
34422 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34424 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34425 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34426 if buffer was too small.
34428 * elf/pldd.c (main): Attach to all threads in the process.
34429 Rewrite /proc handling to use *at functions.
34431 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34433 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34434 specifies first scope to show.
34435 (dl_open_worker): Update callers. Move printing scope of new
34436 object to before the relocation.
34437 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34438 * sysdeps/generic/ldsodefs.h: Update declaration.
34440 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34441 string for the scope number.
34443 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34445 * nscd/servicescache.c (cache_addserv): Make sure written is always
34448 2011-08-14 Roland McGrath <roland@hack.frob.com>
34450 * sysdeps/i386/i486/bits/atomic.h
34451 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34452 statement expression, so as to suppress "set but not used" warning.
34453 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34455 * string/strncat.c (STRNCAT): Use prototype definition.
34457 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34458 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34460 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34461 (localedef-modules): Add localedef.
34462 (locale-modules): Add locale.
34464 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34465 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34466 to avoid a warning.
34468 2011-08-14 David S. Miller <davem@davemloft.net>
34470 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34471 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34473 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34475 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34476 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34477 * elf/rtld.c (dl_main): Set l_name of vDSO.
34478 Call _dl_show_scope when DL_DEBUG_SCOPES.
34479 (process_dl_debug): Recognize scopes flag and also set it for all.
34480 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34481 Declare _dl_show_scope.
34483 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34484 (do_dlopen): Pass caller_dlopen to dl_open.
34485 (__libc_dlopen_mode): Initialize caller_dlopen.
34487 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34488 of libc. Make tolower call locale-independent. Optimize a bit by
34489 using isdigit instead of isalnum.
34490 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34492 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34494 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34495 was a dependency or dynamically loaded.
34497 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34499 * intl/l10nflist.c: Allow architecture-specific pop function.
34500 * sysdeps/x86_64/l10nflist.c: New file.
34502 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34505 2011-08-10 Andreas Schwab <schwab@redhat.com>
34507 * include/dirent.h: Add libc_hidden_proto for scandirat and
34508 scandirat64. Don't declare __scandirat64.
34509 * dirent/scandirat.c: Add libc_hidden_def.
34510 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34511 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34513 2011-08-10 David S. Miller <davem@davemloft.net>
34515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34521 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34523 * Versions.def [libc]: Add GLIBC_2.15.
34524 * dirent/Makefile (routines): Add scandirat and scandirat64.
34525 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34527 * dirent/dirent.h: Declare scandirat and scandirat64.
34528 * dirent/scandirat.c: New file.
34529 * dirent/scandirat64.c: New file.
34530 * sysdeps/wordsize-64/scandirat.c: New file.
34531 * sysdeps/wordsize-64/scandirat64.c: New file.
34532 * dirent/opendir.c: Define opendirat.
34533 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34535 * dirent/scandir64.c: Adjust for scandir.c change.
34536 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34537 __scandirat64, and __scandir_cancel_handler.
34538 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34539 additional parameter and use openat instead of open (outside of ld.so).
34540 Add new __opendir as wrapper around __opendirat.
34541 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34542 here without requiring old scandirat implementation.
34544 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34546 * dirent/scandir.c (cancel_handler): Renamed to
34547 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34548 defined. Adjust users.
34549 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34552 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34554 * string/test-string.h (IMPL): Use __STRING to expand name and then
34557 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34560 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34562 * string/Makefile: Update.
34563 (strop-tests): Append strncat.
34564 * string/test-wcscmp.c: New file.
34565 New comprehensive test for wcscmp.
34566 * string/test-strcmp.c: Update.
34567 (WIDE): New define.
34569 2011-07-22 Andreas Schwab <schwab@redhat.com>
34571 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34574 2011-07-26 Andreas Schwab <schwab@redhat.com>
34576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34577 encoding to ACE if AI_IDN.
34579 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34582 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34584 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34587 Fix overflow bug in strncat.
34588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34590 * string/test-strncat.c: Update.
34591 Add new tests for checking overflow bugs.
34593 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34596 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34597 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34598 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34600 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34601 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34602 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34603 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34606 (USE_AS_STRCAT): Define.
34607 Add strcat and strncat support.
34608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34610 2011-07-25 Andreas Schwab <schwab@redhat.com>
34612 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34613 __n bigger than INT_MAX+1.
34614 (__strncmp_g): Likewise.
34616 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34618 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34619 * libio/stido.h: Likewise.
34621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34626 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34629 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34633 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34638 (_dl_x86_64_save_sse): Likewise.
34640 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34644 (_dl_x86_64_save_sse): Likewise.
34646 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34648 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34650 2011-07-21 Andreas Schwab <schwab@redhat.com>
34652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34654 (_dl_x86_64_save_sse): Use correct AVX check.
34656 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34659 bug in strncpy/strncat.
34660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34662 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34664 * string/tester.c (test_strcat): Add tests for different alignments
34665 of source and destination.
34666 (test_strncat): Likewise.
34668 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34671 * posix/glob.c (glob): Check passed in values before using them in
34672 expressions to avoid some overflows.
34673 (glob_in_dir): Likewise.
34676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34677 check for AVX enablement so that we don't crash with old kernels and
34679 * elf/tst-audit4.c: Add same checks here.
34680 * elf/tst-audit6.c: Likewise.
34682 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34684 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34686 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34688 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34690 * po/cs.po: Update from translation team.
34691 * po/bg.po: Likewise.
34693 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34695 * misc/sys/cdefs.h: Add support for const attribute.
34696 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34697 to gnu_dev_{major,minor,makedev} functions.
34699 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34701 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34703 2011-07-20 Andreas Schwab <schwab@redhat.com>
34705 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34708 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34711 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34712 register in order to avoid conflicts with the soft frame pointer
34713 being held in r11 when necessary.
34714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34715 (INTERNAL_VSYSCALL_NCS): Likewise.
34717 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34719 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34720 * elf/dl-fini.c (_dl_fini): Adjust caller.
34721 * elf/dl-close.c (_dl_close_worker): Likewise.
34722 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34724 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34726 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34727 "aux_cache->nlibs < 0".
34729 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34730 in the reload-count case.
34732 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34735 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34736 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34737 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34738 * sysdeps/x86_64/multiarch/strcat.S: New file.
34739 * sysdeps/x86_64/multiarch/strncat.S: New file.
34740 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34742 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34743 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34745 (USE_AS_STRCAT): Define.
34746 Add strcat and strncat support.
34747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34749 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34750 * string/strncat.c: Update.
34751 (USE_AS_STRNCAT): Define.
34752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34753 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34755 * sysdeps/x86_64/multiarch/init-arch.h
34756 (bit_Prefer_PMINUB_for_stringop): New.
34757 (index_Prefer_PMINUB_for_stringop): Likewise.
34758 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34759 bit_Prefer_PMINUB_for_stringop.
34761 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34763 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34765 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34766 of casting of buffer.
34767 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34768 buffer32 and buffer64.
34769 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34770 writes instead of casting of buffer.
34771 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34773 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34776 2011-07-19 Andreas Schwab <schwab@redhat.com>
34778 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34780 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34782 * nscd/nscd.c (termination_handler): Don't do anything for a database
34783 if it has not yet been initialized.
34785 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34787 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34789 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34791 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34793 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34795 * po/nl.po: Update from translation team.
34796 * po/sv.po: Likewise.
34798 2011-07-16 Roland McGrath <roland@hack.frob.com>
34800 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34801 now disallowed by GCC.
34803 * configure.in (use-default-link): Default to yes if a test -shared
34804 link meets our qualifications.
34805 * configure: Regenerated.
34807 * config.make.in (output-format): New variable.
34808 * configure.in: Check for ld --print-output-format support.
34809 * configure: Regenerated.
34810 * Makerules ($(common-objpfx)format.lds)
34811 [$(output-format) != unknown]: Just use $(output-format),
34812 instead of the linker-script munging.
34814 2011-07-14 Roland McGrath <roland@hack.frob.com>
34816 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34817 of $(common-objpfx)shlib.lds.
34818 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34820 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34821 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34823 * configure.in (-z relro check): Adjust test code to add a large
34824 writable data section after it.
34825 * configure: Regenerated.
34827 2011-07-11 Roland McGrath <roland@hack.frob.com>
34829 * configure.in (-z relro check): Fix test code to make the variable
34831 * configure: Regenerated.
34833 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34835 * nscd/nscd.h (struct traced_file): Define.
34836 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34837 elements. Add traced_files.
34838 (inotify_fd): Declare.
34839 (register_traced_file): Declare.
34840 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34841 (inotify_fd): Export.
34842 (resolv_conf_descr): Remove.
34843 (nscd_init): Move inotify descriptor creation to main.
34844 Don't register files for notification here.
34845 (register_traced_file): New function.
34846 (invalidate_cache): Don't use reset_res to determine whether to call
34847 res_init, go through the list of registered files.
34848 (main_loop_poll): The inotify descriptors are now stored in the
34849 structures for the traced files.
34850 (main_loop_epoll): Likewise
34851 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34852 to __nss_disable_nscd.
34853 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34854 for a database anymore. Check the records for all the registered
34856 * nss/Makefile (libnss_files-routines): Add files-init.
34857 (libnss_db-routines): Add db-init.
34858 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34859 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34860 * nss/nss_db/db-init.c: New file.
34861 * nss/nss_files/files-init.c: New file.
34862 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34863 __nss_lookup_function.
34864 (__nss_lookup_function): Call nss_load_library.
34865 (nss_load_all_libraries): New function.
34866 (__nss_disable_nscd): Take parameter with callback function for files
34867 to register. Set is_nscd. Load all the DSOs for the NSS modules
34868 used for the cached services.
34869 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34870 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34871 options for features to all the files in nscd.
34873 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34875 2011-07-10 Roland McGrath <roland@hack.frob.com>
34877 * csu/elf-init.c (__libc_csu_init): Comment typo.
34879 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34881 * po/pl.po: Update from translation team.
34882 * po/ja.po: Likewise.
34883 * po/ru.po: Likewise.
34884 * po/ko.po: Likewise.
34885 * po/fr.po: Likewise.
34887 2011-07-09 Roland McGrath <roland@hack.frob.com>
34889 * configure.in (.ctors/.dtors header and trailer check):
34890 Use an empirical test on a built program.
34891 * configure: Regenerated.
34893 * configure.in (-z relro check): Use an empirical test on a built DSO.
34894 Detect, but do not require, on ia64.
34895 * configure: Regenerated.
34897 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34898 Update tests that use readelf to use $READELF instead.
34899 * configure: Regenerated.
34901 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34903 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34904 if the result is not used.
34906 2011-07-05 Andreas Jaeger <aj@suse.de>
34909 * stdlib/tst-strtod.c: Add testcase.
34911 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34913 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34914 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34915 The latter has a higher limit. Take additional parameter to pass to
34917 (__pathconf): Pass file to __statfs_link_max.
34918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34920 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34924 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34928 (__statfs_filesize_max): Likewise.
34929 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34931 2011-07-05 Andreas Jaeger <aj@suse.de>
34933 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34935 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34937 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34939 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34942 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34944 * Makefile (strop-tests): Add strncat.
34945 * string/test-strncat.c: New file.
34947 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34949 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34951 2011-06-21 Andreas Jaeger <aj@suse.de>
34953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34954 Copy rule from iconvdata/Makefile.
34956 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34959 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34960 but no long options are defined, just return 'W'.
34962 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34965 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34967 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34969 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34971 (innetgr): Likewise.
34973 2011-07-05 Roland McGrath <roland@hack.frob.com>
34975 * config.make.in (install_root): Default to $(DESTDIR).
34977 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34981 2011-07-02 Roland McGrath <roland@hack.frob.com>
34983 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34985 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34986 containing directory rather than embedding absolute directory names.
34988 * scripts/check-local-headers.sh: Rewritten using awk.
34989 Match by word, not by line. Print error messages for matches.
34990 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34992 * Makerules [shlib-lds-flags empty]:
34993 ($(common-objpfx)libc_pic.opts): New target.
34994 ($(common-objpfx)libc_pic.os.clean): New target.
34995 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34997 * config.make.in (OBJCOPY): New variable.
34998 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34999 * configure: Regenerated.
35001 * config.make.in (use-default-link): New variable.
35002 * configure.in (use_default_link): Grok --with-default-link to set it.
35003 * configure: Regenerated.
35004 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35005 (shlib-lds, shlib-lds-flags): Define to empty.
35007 * Makerules (shlib-lds): New variable.
35008 (shlib-lds-flags): New variable.
35009 (build-shlib, build-moduile, build-module-asneeded): Use it.
35010 ($(common-objpfx)libc.so): Use $(shlib-lds).
35011 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35012 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35014 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35015 DT_FLAGS/DT_FLAGS_1 with zero flags.
35017 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35018 linker script munging.
35020 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35022 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35024 * crypt/sha512.c (sha512_process_block): Perform total addition using
35025 128-bit if possible.
35026 (__sha512_finish_ctx): Likewise.
35027 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35029 * crypt/sha256.c (SWAP64): Define.
35030 (sha256_process_block): Perform total addition using 64-bit if
35032 (__sha256_finish_ctx): Likewise.
35034 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35036 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35038 * nscd/hstcache.c (cache_addhst): Likewise.
35039 * nscd/grpcache.c (cache_addgr): Likewise.
35040 * nscd/aicache.c (addhstaiX): Likewise
35041 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35043 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35045 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35047 * nscd/hstcache.c (cache_addhst): Likewise.
35048 * nscd/grpcache.c (cache_addgr): Likewise.
35049 * nscd/aicache.c (addhstaiX): Likewise
35051 2011-07-01 Andreas Schwab <schwab@redhat.com>
35053 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35054 domain only when needed.
35056 2011-06-30 Andreas Schwab <schwab@redhat.com>
35058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35059 is always restored.
35061 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35063 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35064 are re-adding the entry.
35065 * nscd/servicescache.c (cache_addserv): Likewise.
35067 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35069 * sysdeps/generic/dl-irel.h: fix protection against multiple
35071 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35073 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35076 * malloc/memusage.sh: Fix quoting in message.
35077 * debug/xtrace.sh: Likewise.
35079 * configure.in: Remove support for --experimental-malloc option, make
35081 * config.make.in: Likewise.
35082 * malloc/Makefile: Likewise.
35084 2011-06-27 Andreas Schwab <schwab@redhat.com>
35086 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35087 two-byte characters.
35089 2011-06-27 Roland McGrath <roland@hack.frob.com>
35091 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35092 AC_CACHE_CHECK invocation.
35093 * configure: Regenerated.
35095 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35097 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35100 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35101 bit from old_res_options.
35103 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35105 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35106 value type for setfct.
35108 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35111 __gettimeofday instead of gettimeofday.
35113 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35115 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35117 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35124 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35127 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35128 strcpy-sse2-unaligned strncpy-sse2-unaligned
35129 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35130 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35131 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35132 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35133 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35136 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35137 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35138 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35139 (STRCPY): Support SSE2 and SSSE3 versions.
35141 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35145 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35146 kernels which artificially limit size of requests.
35148 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35151 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35152 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35153 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35154 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35155 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35156 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35157 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35160 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35161 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35162 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35163 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35164 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35166 Enable unaligned load optimization for Intel Core i3, i5 and i7
35168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35170 (index_Fast_Unaligned_Load): Define.
35171 (HAS_FAST_UNALIGNED_LOAD): Define.
35173 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35175 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35177 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35181 until it is clear that the information is realy needed.
35182 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35184 2011-06-22 Andreas Schwab <schwab@redhat.com>
35186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35188 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35191 /sys/devices/system/cpu/online if it is usable.
35193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35194 reading the information from the /proc filesystem to once a second.
35196 2011-06-21 Andreas Jaeger <aj@suse.de>
35198 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35199 NULL after inclusion of kernel headers.
35201 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35203 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35204 calls to internal_setent.
35207 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35208 addresses using gethostbyname4_r ignore IPv4 addresses.
35210 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35211 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35213 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35215 2011-06-20 David S. Miller <davem@davemloft.net>
35217 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35219 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35221 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35222 (elf_irel): Use it.
35223 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35224 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35225 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35226 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35227 * sysdeps/x86_64/dl-irel.h: Likewise.
35229 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35230 * elf/dl-sym.c: Likewise.
35232 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35234 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35235 need to dereference resplen2.
35237 2011-06-14 Andreas Schwab <schwab@redhat.com>
35239 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35241 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35243 * Makeconfig: Define vardbdir and inst_vardbdir.
35244 * nss/Makefile: Add rules to install db-Makefile.
35246 * nss/nss_db/db-XXX.c: Cleanup.
35248 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35249 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35251 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35252 * nss/makedb.c: Implement -g option to specify that value strings
35253 are generated and should not be added to table iterated over for
35255 * nss/nss_db/db-initgroups.c: New file.
35257 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35260 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35261 (internal_getgrouplist): Adjust to name change.
35262 Update use_initgroups_entry if this is not the first call.
35263 * nss/databases.def: Add initgroups entry.
35265 * nss/makedb.c (compute_tables): Check result of multiple hash table
35266 sizes to minimize maximum chain length.
35268 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35270 * Versions.def: Add entry for libnss_db.
35271 * shlib-versions: Likewise.
35272 * nss/Makefile: Add rules to build libnss_db.
35273 * nss/Versions: Add libnss_db information. Organize libnss_files
35275 * nss/db-Makefile: Add gshadow support. Change rules for the new
35276 makedb progra. Some minor improvements to generate smaller files.
35277 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35279 * nss/makedb.c: ...here.
35280 Improve database format to be smaller and require less memory at
35282 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35284 * nss/nss_db/db-netgrp.c: Likewise.
35285 * nss/nss_db/db-open.c: Likewise.
35286 * nss/nss_files/flies-XXX.x: Adjust comments.
35287 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35288 * nss/nss_files/files-grp.c: Likewise.
35289 * nss/nss_files/files-hosts.c: Likewise.
35290 * nss/nss_files/files-network.c: Likewise.
35291 * nss/nss_files/files-proto.c: Likewise.
35292 * nss/nss_files/files-pwd.c: Likewise.
35293 * nss/nss_files/files-rpc.c: Likewise.
35294 * nss/nss_files/files-service.c: Likewise.
35295 * nss/nss_files/files-sgrp.c: Likewise.
35296 * nss/nss_files/files-spwd.c: Likewise.
35297 * nss/nss_db/db-alias.c: Removed.
35298 * nss/nss_db/dummy-db.h: Removed.
35300 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35302 * nss/makedb.c: Rewritten to not use database library.
35303 * nss/Makefile: Update to build new makedb program.
35305 2011-06-14 Andreas Jaeger <aj@suse.de>
35307 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35308 memset declaration.
35310 2011-06-10 Andreas Schwab <schwab@redhat.com>
35312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35315 2011-06-10 Roland McGrath <roland@hack.frob.com>
35317 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35318 * elf/Makefile ($(objpfx)ld.so): Likewise.
35320 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35321 Don't list ld.so twice in dependencies.
35323 * posix/bug-regex31.c: Include <stdlib.h>.
35325 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35327 * nis/nss_compat/compat-spwd.c
35328 (getspent_next_nss_netgr): Remove unused variable.
35329 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35331 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35332 nonmembers" output to use the right array.
35334 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35336 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35338 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35339 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35340 * catgets/gencat.c (read_input_file): Likewise.
35341 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35343 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35344 variable definition inside #if's controlling its use.
35346 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35348 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35350 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35352 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35355 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35357 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35358 * configure: Regenerated.
35360 * Makerules: Revert last change.
35361 * elf/Makefile: Likewise.
35363 2011-06-09 Roland McGrath <roland@hack.frob.com>
35365 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35366 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35367 (reloc-link): Likewise.
35369 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35371 * elf/Makefile: Add rules to build pldd.
35372 * elf/pldd.c: New file.
35373 * elf/pldd-xx.c: New file.
35375 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35377 * version.h: Update for 2.15 development version.
35379 2011-06-07 David S. Miller <davem@davemloft.net>
35381 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35384 elf_machine_lazy_rel): Likewise.
35385 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35387 elf_machine_lazy_rel): Likewise.
35388 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35389 dl_hwcap via passed in argument.
35390 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35393 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35395 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35397 2011-06-06 Roland McGrath <roland@hack.frob.com>
35400 * manual/fdl-1.1.texi: New file, verbatim from:
35401 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35402 * manual/lgpl-2.1.texi: New file, verbatim from:
35403 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35404 * manual/Makefile (licenses): New variable, list those new file names.
35406 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35408 * manual/fdl.texi: File removed.
35409 * manual/lesser.texi: File removed.
35410 * manual/libc.texinfo (Copying, Documentation License):
35411 Use new @include file names, put @appendix directive before @include.
35413 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35416 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35417 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35418 (mq_open): Add __NTH.
35420 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35423 Assume Intel Core i3/i5/i7 processor if AVX is available.
35425 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35430 2011-05-31 Andreas Schwab <schwab@redhat.com>
35432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35433 memory. Use alloca_account. Fix memory leak when retrying.
35435 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35437 * version.h (RELEASE): Bump for 2.14 release.
35438 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35440 * config.make.in (RANLIB): Remove entry.
35442 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35444 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35445 (libc.pot): Work around missing support for .ksh extension in xgettext.
35448 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35449 if both request failed.
35450 (send_dg): In case of server errors clear resplen or *resplen2.
35453 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35454 when there are multiple maps.
35455 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35456 (_dl_fini): Remove test here.
35458 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35460 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35463 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35464 bit from old_res_options.
35465 (gaih_inet): Likewise.
35468 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35471 * resolv/res_init.c (res_setoptions): Make the code more compact.
35474 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35478 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35480 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35483 * malloc/malloc.h: Declare malloc hook variables as volatile.
35485 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35489 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35490 raise in the comment.
35491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35495 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35498 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35499 grow the buffers more if it already has to be sufficient.
35500 (build_wcs_upper_buffer): Likewise.
35501 * posix/regexec.c (check_matching): Likewise.
35502 (clean_state_log_if_needed): Likewise.
35503 (extend_buffers): Don't enlarge buffers beyond size of the input
35505 Patches mostly by Emil Wojak <emil@wojak.eu>.
35506 * posix/bug-regex32.c: New file.
35507 * posix/Makefile (tests): Add bug-regex32.
35509 * locale/findlocale.c (_nl_find_locale): Return right away if
35510 _nl_explode_name failed.
35511 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35513 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35515 * debug/xtrace.sh: Unify messages.
35516 * malloc/memusage.sh: Likewise.
35519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35520 time symbol from vDSO. Substitute with vsyscall if not available.
35521 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35524 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35525 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35527 Add sendmmsg and internal_sendmmsg.
35528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35529 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35532 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35533 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35536 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35540 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35546 * iconvdata/Makefile (tests): Add bug-iconv9.
35547 * iconvdata/bug-iconv9.c: New file.
35549 2011-05-27 Andreas Schwab <schwab@redhat.com>
35552 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35554 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35557 (struct user_regs_struct): Change intcs field back to cs.
35559 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35561 * po/ja.po: Update from translation team.
35563 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35569 2011-05-20 Andreas Schwab <schwab@redhat.com>
35571 * stdlib/longlong.h: Update from GCC.
35573 2011-05-23 Andreas Schwab <schwab@redhat.com>
35575 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35577 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35578 Add parameter name.
35579 (__sysconf): Pass it down.
35581 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35584 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35587 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35588 add in in __libc_use_alloca calls. Adjust callers.
35589 (glob): Use malloc in some situations.
35591 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35592 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35595 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35597 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35598 and CLOCK_BOOTTIME_ALARM.
35601 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35604 * string/_strerror.c (__strerror_r): Print negative errors as signed
35608 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35609 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35610 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35612 * configure.in: Fix typo in redirection and correct removal of test
35613 files in two cases.
35616 * locale/setlocale.c (new_composite_name): Fix test to check for
35617 identical name of all categories.
35620 * libio/filedoalloc.c (local_isatty): New function.
35621 (_IO_file_doallocate): Use local_isatty.
35622 * stdio-common/perror.c (perror): In case a new stream is used
35623 forward the stream error.
35624 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35627 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35632 * include/alloca.h (extend_alloca_account): Define.
35635 * posix/regex.h: Fix comments with documentation of user-accessible
35636 fields after compilation and describe correct free'ing of pattern
35637 after re_compile_pattern.
35638 Patch by Reuben Thomas <rrt@sc3d.org>.
35640 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35642 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35643 and -mno-altivec to prevent the compiler from using Altivec and/or
35644 VSX instructions when the corresponding registers are not available.
35646 2011-05-19 Andreas Schwab <schwab@redhat.com>
35648 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35650 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35652 * libio/freopen.c (freopen): Use __dup2, not dup2.
35653 * libio/freopen64.c (freopen64): Likewise.
35655 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35658 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35659 * math/Makefile (tests): Add test-powl.
35660 (CFLAGS-test-powl.c): Define.
35661 * math/test-powl.c: New file.
35663 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35665 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35667 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35670 * iconvdata/gb18030.c: Update to GB18020-2005.
35672 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35674 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35675 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35676 Patch by Aharon Robbins <arnold@skeeve.com>.
35679 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35683 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35684 through underflows.
35687 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35688 point to strings before performing equality test for error_one_per_line
35692 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35696 (struct user_fpregs_struct): Avoid __uint*_t types.
35699 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35700 symbol info. Use it instead of calling _dl_addr locally.
35701 (lock_and_info): New function.
35702 (tr_freehook): Call lock_and_info and pass symbol info as additional
35703 parameter to tr_where.
35704 (tr_mallochook): Likewise.
35705 (tr_reallochook): Likewise.
35706 (tr_memalignhook): Likewise.
35708 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35709 used and couldn't be at all thread-safe.
35711 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35713 * libio/freopen.c (freopen): Don't close old file descriptor
35714 before the new one is opened. Instead dup the new file descriptor
35715 to the old one after the new stream is created.
35716 * libio/freopen64.c (freopen64): Likewise.
35717 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35718 * libio/fileops.c (_IO_new_file_close_it): Handle new
35719 _IO_FLAGS2_NOCLOSE flag.
35720 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35721 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35722 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35723 _IO_FLAGS2_NOCLOSE flag.
35724 * include/unistd.h: Add hidden_proto for dup3.
35725 Define __have_dup3.
35726 * io/dup3.c: Define hidden symbol.
35727 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35730 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35731 when an incomplete long option is used.
35732 * posix/tst-getopt_long1.c: New file.
35733 * posix/Makefile (tests): Add tst-getopt_long1.
35736 * scripts/config.guess: Update from autoconf-2.68.
35737 * scripts/config.sub: Likewise.
35740 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35742 (has_cpuclock): ...this. New function.
35743 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35744 macro here based on has_cpuclock code.
35747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35748 First byte (not low byte) is now always NUL.
35749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35752 Use non-cancelable interfaces.
35755 * locale/iso-639.def: Add entry for Sorani.
35758 * include/stdlib.h: Move include protection to the right place.
35759 Define abort_msg_s. Declare __abort_msg with it.
35760 * stdlib/abort.c (__abort_msg): Adjust type.
35761 * assert/assert.c (__assert_fail_base): New function. Majority
35762 of code from __assert_fail. Allocate memory for __abort_msg with
35764 (__assert_fail): Now call __assert_fail_base.
35765 * assert/assert-perr.c: Remove bulk of implementation. Use
35766 __assert_fail_base.
35767 * include/assert.hL Declare __assert_fail_base.
35768 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35770 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35772 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35776 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35777 until all modules are registered in the DTV.
35778 * elf/Makefile: Add rules to build and run tst-tls19.
35779 * elf/tst-tls19.c: New file.
35780 * elf/tst-tls19mod1.c: New file.
35781 * elf/tst-tls19mod2.c: New file.
35782 * elf/tst-tls19mod3.c: New file.
35783 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35786 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35790 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35791 two-byte sequence errors.
35792 * iconvdata/Makefile (tests): Add bug-iconv8.
35793 * iconvdata/bug-iconv8.c: New file.
35796 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35799 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35802 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35803 (dummy_getcfa): New function.
35804 (init): Get _Unwind_GetCFA address, use dummy if not found.
35805 (backtrace_helper): In recursion check, also check whether CFA changes.
35806 (__backtrace): Completely initialize arg.
35808 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35809 storing incomplete byte sequence in state object. Avoid testing for
35810 guaranteed too small input if we know there is enough data available.
35812 2011-05-11 Andreas Schwab <schwab@redhat.com>
35814 * Makeconfig (+link-pie): Indent.
35815 * Rules (binaries-pie): Define if $(have-fpie) and
35817 (binaries-shared): Also filter out $(binaries-pie).
35818 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35819 * nscd/Makefile (others-pie): Add nscd.
35820 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35821 ($(objpfx)nscd): Remove command override.
35822 * login/Makefile (others-pie): Add pt_chown.
35823 ($(objpfx)pt_chown): Remove command override.
35824 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35825 remove command overrides.
35827 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35829 * libio/tst_putwc.c: Fix error messages.
35832 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35833 currently writing and seek to current position when not.
35834 * libio/Makefile (tests): Add bug-fclose1.
35835 * libio/bug-fclose1.c: New file.
35837 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35840 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35841 don't set DF_1_NODELETE here.
35842 (do_lookup_x): When entering new entry test for copy relocation
35843 and if necessary set DF_1_NODELETE flag.
35844 * elf/tst-unique4.cc: New file.
35845 * elf/tst-unique4.h: New file.
35846 * elf/tst-unique4lib.cc: New file.
35847 * elf/Makefile: Add rules to build and run tst-unique4.
35848 Patch by Piotr Bury <pbury@goahead.com>.
35850 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35853 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35856 * misc/mntent_r.c (addmntent): Flush the stream after the output
35859 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35860 (is_trusted_path_normalize): Skip initial colon. Append slash
35861 to empty buffer. Duplicate is_trusted_path code but allow
35862 constructed patch to be prefix.
35863 (is_dst): Allow $ORIGIN followed by /.
35864 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35865 Correct testing of result of is_trusted_path_normalize
35866 (decompose_rpath): Fix warning.
35868 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35871 * grp/initgroups.c (internal_getgrouplist): When we found the service
35872 list through the initgroups entry in nsswitch.conf do not always
35873 continue on a successful lookup. Don't always use the
35874 __nss_group_database value if it is set.
35875 * nss/nsswitch.conf (initgroups): Change action for successful db
35876 lookup to continue for compatibility.
35878 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35881 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35883 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35885 * iconvdata/tst-tables.sh: Likewise.
35886 * iconvdata/cp770.c: New file.
35887 * iconvdata/cp771.c: New file.
35888 * iconvdata/cp772.c: New file.
35889 * iconvdata/cp773.c: New file.
35890 * iconvdata/cp774.c: New file.
35891 * iconvdata/testdata/CP770: New file.
35892 * iconvdata/testdata/CP770..UTF8: New file.
35893 * iconvdata/testdata/CP771: New file.
35894 * iconvdata/testdata/CP771..UTF8: New file.
35895 * iconvdata/testdata/CP772: New file.
35896 * iconvdata/testdata/CP772..UTF8: New file.
35897 * iconvdata/testdata/CP773: New file.
35898 * iconvdata/testdata/CP773..UTF8: New file.
35899 * iconvdata/testdata/CP774: New file.
35900 * iconvdata/testdata/CP774..UTF8: New file.
35902 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35904 * iconvdata/gen-8bit-gap.sh: Likewise.
35905 * iconvdata/gen-8bit.sh: Likewise.
35907 * locale/iso-639.def: Add ary entry.
35910 * locale/C-translit.h.in: Add U20A1 transliteration.
35913 * locale/iso-639.def: Add wae entry.
35914 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35917 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35921 * locale/C-translit.h.in: Add entry for U20B9.
35922 Patch by pravin.d.s@gmail.com.
35924 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35927 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35928 ENAMETOOLONG use generic getcwd.
35929 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35930 in rtld. Use *stat64.
35931 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35932 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35933 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35934 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35935 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35936 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35937 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35938 __fstatat64 macros.
35939 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35940 * dirent/rewinddir.c: Add libc_hidden_def.
35941 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35942 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35944 * include/dirent.h (__alloc_dir): Add flags parameter.
35945 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35946 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35948 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35949 from fdopendir if O_CLOEXEC is already set.
35951 2011-03-15 Alan Modra <amodra@gmail.com>
35953 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35954 l_tls_firstbyte_offset non-zero. Save padding offset in
35955 l_tls_firstbyte_offset for later use.
35956 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35957 freeing static tls block.
35959 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35961 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35962 where #ifdef was intended. The intent is to prevent ARG_MAX from
35963 being defined by the kernel headers.
35965 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35968 * resolv/resolv.h: Define RES_NOTLDQUERY.
35969 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35970 no-tld-query and set RES_NOTLDQUERY.
35971 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35972 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35973 modern BIND to search name as TLD unless forbidden.
35975 2011-05-07 Petr Baudis <pasky@suse.cz>
35976 Ulrich Drepper <drepper@gmail.com>
35979 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35980 (is_trusted_path): ...to here.
35981 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35982 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35983 using is_trusted_path_normalize() in setuid scripts.
35985 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35988 __BEGIN/__END_DECLS.
35990 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35993 NSS_STATUS_NOTFOUND if no record was found.
35995 2011-05-05 Andreas Schwab <schwab@redhat.com>
35997 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35998 (headers-not-in-tirpc): Remove rpc/netdb.h
35999 * resolv/netdb.h: Revert last change.
36001 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36003 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36004 circular dependency between libgcc.a and libc.a.
36006 2011-05-05 Andreas Schwab <schwab@redhat.com>
36008 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36009 * nis/Makefile: Don't install rpcsvc/*.
36010 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36011 instead of <rpc/types.h>.
36012 (MAXHOSTNAMELEN): Define.
36014 2011-05-03 Andreas Schwab <schwab@redhat.com>
36016 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36018 2011-04-28 Maciej Babinski <mbabinski@google.com>
36021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36022 gethostbyname4_r when IPv6 results are possible.
36024 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36027 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36028 _PC_PIPE_BUF handling.
36030 2011-04-30 Bruno Haible <bruno@clisp.org>
36033 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36034 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36036 * inet/getnameinfo.c (getnameinfo): Likewise.
36038 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36040 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36041 to groups setting in database lookup.
36042 * nss/nsswitch.conf: Add initgroups entry.
36044 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36047 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36049 Patch by Eric Blake <eblake@redhat.com>.
36051 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36053 * sunrpc/Makefile (need-export-routines): Add svc_run.
36054 (routines): Remove svc_run.
36055 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36056 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36057 * sunrpc/svc_run.c (svc_run): Likewise.
36058 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36060 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36063 problem in reallocation in last patch.
36065 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36067 * sunrpc/Makefile: Move inclusion of Rules.
36069 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36071 * nss/nss_files/files-initgroups.c: New file.
36072 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36073 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36074 _nss_files_initgroups_dyn.
36076 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36078 * elf/elf.h (R_ARM_IRELATIVE): Define.
36080 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36082 * po/ru.po: Update from translation team.
36084 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36086 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36089 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36093 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36098 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36106 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36111 * stdlib/bug-getcontext.c: New file.
36112 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36114 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36116 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36117 instructions into .machine "z9-109".
36118 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36119 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36121 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36123 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36124 between environment variables and auxiliary vector.
36126 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36128 * Makefile: Add rules to build linkobj/libc.so.
36129 * include/libc-symbols.h: Define libc_hidden_nolink.
36130 * include/rpc/auth.h: Mark functions which are to be hidden.
36131 * include/rpc/auth_des.h: Likewise.
36132 * include/rpc/auth_unix.h: Likewise.
36133 * include/rpc/clnt.h: Likewise.
36134 * include/rpc/des_crypt.h: Likewise.
36135 * include/rpc/key_prot.h: Likewise.
36136 * include/rpc/pmap_clnt.h: Likewise.
36137 * include/rpc/pmap_prot.h: Likewise.
36138 * include/rpc/pmap_rmt.h: Likewise.
36139 * include/rpc/rpc_msg.h: Likewise.
36140 * include/rpc/svc.h: Likewise.
36141 * include/rpc/svc_auth.h: Likewise.
36142 * include/rpc/xdr.h: Likewise.
36143 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36144 * nss/Makefile: Likewise.
36145 * sunrpc/Makefile: Don't install headers. Build library with normal
36146 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36147 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36148 for the compat linking library. Remove use of INTDEF/INTUSE.
36149 * sunrpc/auth_none.c: Likewise.
36150 * sunrpc/auth_unix.c: Likewise.
36151 * sunrpc/authdes_prot.c: Likewise.
36152 * sunrpc/authuxprot.c: Likewise.
36153 * sunrpc/clnt_gen.c: Likewise.
36154 * sunrpc/clnt_perr.c: Likewise.
36155 * sunrpc/clnt_raw.c: Likewise.
36156 * sunrpc/clnt_simp.c: Likewise.
36157 * sunrpc/clnt_tcp.c: Likewise.
36158 * sunrpc/clnt_udp.c: Likewise.
36159 * sunrpc/clnt_unix.c: Likewise.
36160 * sunrpc/des_crypt.c: Likewise.
36161 * sunrpc/des_soft.c: Likewise.
36162 * sunrpc/get_myaddr.c: Likewise.
36163 * sunrpc/key_call.c: Likewise.
36164 * sunrpc/key_prot.c: Likewise.
36165 * sunrpc/netname.c: Likewise.
36166 * sunrpc/pm_getmaps.c: Likewise.
36167 * sunrpc/pm_getport.c: Likewise.
36168 * sunrpc/pmap_clnt.c: Likewise.
36169 * sunrpc/pmap_prot.c: Likewise.
36170 * sunrpc/pmap_prot2.c: Likewise.
36171 * sunrpc/pmap_rmt.c: Likewise.
36172 * sunrpc/publickey.c: Likewise.
36173 * sunrpc/rpc_cmsg.c: Likewise.
36174 * sunrpc/rpc_common.c: Likewise.
36175 * sunrpc/rpc_dtable.c: Likewise.
36176 * sunrpc/rpc_prot.c: Likewise.
36177 * sunrpc/rpc_thread.c: Likewise.
36178 * sunrpc/rtime.c: Likewise.
36179 * sunrpc/svc.c: Likewise.
36180 * sunrpc/svc_auth.c: Likewise.
36181 * sunrpc/svc_authux.c: Likewise.
36182 * sunrpc/svc_raw.c: Likewise.
36183 * sunrpc/svc_run.c: Likewise.
36184 * sunrpc/svc_simple.c: Likewise.
36185 * sunrpc/svc_tcp.c: Likewise.
36186 * sunrpc/svc_udp.c: Likewise.
36187 * sunrpc/svc_unix.c: Likewise.
36188 * sunrpc/svcauth_des.c: Likewise.
36189 * sunrpc/xcrypt.c: Likewise.
36190 * sunrpc/xdr.c: Likewise.
36191 * sunrpc/xdr_array.c: Likewise.
36192 * sunrpc/xdr_float.c: Likewise.
36193 * sunrpc/xdr_intXX_t.c: Likewise.
36194 * sunrpc/xdr_mem.c: Likewise.
36195 * sunrpc/xdr_rec.c: Likewise.
36196 * sunrpc/xdr_ref.c: Likewise.
36197 * sunrpc/xdr_sizeof.c: Likewise.
36198 * sunrpc/xdr_stdio.c: Likewise.
36200 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36203 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36204 * sysdeps/ia64/dl-tls.h: Likewise.
36205 * sysdeps/powerpc/dl-tls.h: Likewise.
36206 * sysdeps/s390/dl-tls.h: Likewise.
36207 * sysdeps/sh/dl-tls.h: Likewise.
36208 * sysdeps/sparc/dl-tls.h: Likewise.
36209 * sysdeps/x86_64/dl-tls.h: Likewise.
36210 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36212 2011-03-14 Andreas Schwab <schwab@redhat.com>
36214 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36215 rpath element also skip the following colon.
36216 (expand_dynamic_string_token): Add is_path parameter and pass
36217 down to DL_DST_REQUIRED and _dl_dst_substitute.
36218 (decompose_rpath): Call expand_dynamic_string_token with
36219 non-zero is_path. Ignore empty rpaths.
36220 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36223 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36228 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36231 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36232 Patch by Filipe David Manana <fdmanana@apache.org>.
36234 2011-04-07 Andreas Schwab <schwab@redhat.com>
36236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36237 Maintain aligned stack.
36238 (CHECK_RSP): Remove unused macro.
36240 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36242 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36243 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36245 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36247 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36249 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36251 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36254 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36255 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36256 * sysdeps/x86_64/memmove.c: New file.
36257 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36258 (memcpy): Renamed to ...
36259 (__new_memcpy): This.
36260 (memcpy): Provide GLIBC_2_14 memcpy.
36261 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36262 (memcpy): Provide GLIBC_2_2_5 memcpy.
36264 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36267 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36269 2011-03-30 Andreas Schwab <schwab@redhat.com>
36271 * misc/syncfs.c: New file.
36272 * misc/Makefile (routines): Add syncfs.
36273 * posix/unistd.h: Declare syncfs.
36274 * sysdeps/unix/syscalls.list: Add syncfs.
36276 2011-04-01 Andreas Schwab <schwab@redhat.com>
36278 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36285 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36288 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36298 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36299 sync_file_range.c with -fexceptions.
36300 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36301 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36302 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36303 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36305 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36307 sync_file_range as cancellation point
36308 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36309 now a wrapper around __call_sync_file_range with cancellation handling.
36310 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36311 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36312 function name to __call_sync_file_range.
36313 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36314 Add call_sync_file_range.
36316 2011-04-01 Andreas Schwab <schwab@redhat.com>
36318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36323 * iconv/iconv.h: Fix typo in comment.
36324 * io/fcntl.h: Likewise.
36325 * libio/stdio.h: Likewise.
36326 * posix/spawn.h: Likewise.
36327 * posix/unistd.h: Likewise.
36328 * stdlib/stdlib.h: Likewise.
36329 * time/time.h: Likewise.
36330 * wcsmbs/wchar.h: Likewise.
36332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36333 open_by_handle): Add.
36334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36335 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36336 Augment a few comments.
36337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36342 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36345 * io/fcntl.h (AT_EMPTY_PATH): Define.
36347 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36349 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36350 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36351 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36353 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36354 * Versions.def: Add GLIBC_2.14.
36355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36358 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36364 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36367 * string/test-strncmp.c (do_page_test): New function.
36368 (check2): Likewise.
36369 (test_main): Call check2.
36370 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36372 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36376 Handle cache information in CPU leaf 4.
36377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36379 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36382 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36383 character representation.
36384 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36386 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36389 END(__isnan) to END(__isnanf) to match function entry point/label
36390 EALIGN(__isnanf,...).
36392 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36394 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36396 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36399 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36400 copy from the symbol referenced in the relocation to initialize the
36402 Patch by Piotr Bury <pbury@goahead.com>.
36403 * elf/Makefile: Add rules to build and tst-unique3.
36404 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36405 * elf/tst-unique3.cc: New file.
36406 * elf/tst-unique3.h: New file.
36407 * elf/tst-unique3lib.cc: New file.
36408 * elf/tst-unique3lib2.cc: New file.
36410 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36412 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36414 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36415 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36418 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36420 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36421 to-be-loaded object along a path to loader is ld.so.
36423 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36424 Ulrich Drepper <drepper@gmail.com>
36426 * sysdeps/x86_64/memset.S: After aligning destination, code
36427 branches to different locations depending on the value of
36428 misalignment, when multiarch is enabled. Fix this.
36430 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36432 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36433 Set _x86_64_preferred_memory_instruction for AMD processsors.
36434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36435 Set bit_Prefer_SSE_for_memop for AMD processors.
36437 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36439 * libio/fmemopen.c (fmemopen): Optimize a bit.
36441 2011-03-03 Andreas Schwab <schwab@redhat.com>
36443 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36445 2011-03-03 Roland McGrath <roland@redhat.com>
36447 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36449 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36451 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36452 __bzero_ultra1 instead of __memset_ultra1.
36454 2011-02-23 Andreas Schwab <schwab@redhat.com>
36455 Ulrich Drepper <drepper@gmail.com>
36458 * include/link.h (struct link_map): Add l_orig_initfini.
36459 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36460 returning unsuccessfully.
36461 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36462 close of a file loaded at startup, restore the original l_initfini
36464 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36465 list, store the pointer.
36466 * elf/Makefile ($(objpfx)noload-mem): New rule.
36467 (noload-ENV): Define.
36468 (tests): Add $(objpfx)noload-mem.
36469 * elf/noload.c: Include <memcheck.h>.
36470 (main): Call mtrace. Close all opened handles.
36472 2011-02-17 Andreas Schwab <schwab@redhat.com>
36475 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36476 dependencies are missing.
36478 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36480 Fix __if_freereq crash: Unlike the generic version which uses free,
36482 * sysdeps/mach/hurd/ifreq.h: New file.
36484 2011-01-27 Petr Baudis <pasky@suse.cz>
36485 Ulrich Drepper <drepper@gmail.com>
36488 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36489 to extend_alloca().
36490 * stdio-common/bug23.c: New file.
36491 * stdio-common/Makefile (tests): Add bug23.
36493 2010-09-28 Andreas Schwab <schwab@redhat.com>
36494 Ulrich Drepper <drepper@gmail.com>
36497 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36498 before performing relro protection. At old place add assertion
36499 to make sure nothing changed.
36501 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36502 Glauber de Oliveira Costa <glommer@gmail.com>
36504 * elf/elf.h: Add new ARM TLS relocs.
36506 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36509 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36511 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36513 * sysdeps/wordsize-64/tst-writev.c: New file.
36515 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36517 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36518 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36519 insns in _dl_start to prevent a TOC reference before relocs are
36522 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36525 * Makeconfig: Remove RANLIB definition.
36526 * Makerules: Don't use RANLIB.
36527 * aclocal.m4: Remove ranlib test.
36528 * configure.in: No need to check for ranlib.
36529 * elf/rtld-Rules: Don't use RANLIB.
36531 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36533 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36535 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36536 inclusion protection macro.
36538 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36539 SIGRTMIN and SIGRTMAX and print information in that case only when
36540 SIGRTMIN is defined.
36542 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36544 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36545 arginfo fn returning -1.
36547 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36548 and thousands string is zero terminated.
36550 2011-02-03 Andreas Schwab <schwab@redhat.com>
36552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36553 sysdeps/unix/sysv/linux/bits/socket.h.
36555 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36557 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36558 (__CPU_COUNT): Remove old macros.
36559 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36560 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36561 (__CPU_ALLOC, __CPU_FREE): Add macros.
36562 (__sched_cpualloc, __sched_cpufree): Add declarations.
36564 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36566 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36567 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36568 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36569 (readdhstai): Return value of addhstaiX call.
36570 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36571 (addgrbyX): Return value returned by cache_addgr.
36572 (readdgrbyname): Return value returned by addgrbyX.
36573 (readdgrbygid): Likewise.
36574 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36575 (addpwbyX): Return value returned by cache_addpw.
36576 (readdpwbyname): Return value returned by addhstbyX.
36577 (readdpwbyuid): Likewise.
36578 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36579 (addservbyX): Return value returned by cache_addserv.
36580 (readdservbyname): Return value returned by addservbyX:
36581 (readdservbyport): Likewise.
36582 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36583 (addhstbyX): Return value returned by cache_addhst.
36584 (readdhstbyname): Return value returned by addhstbyX.
36585 (readdhstbyaddr): Likewise.
36586 (readdhstbynamev6): Likewise.
36587 (readdhstbyaddrv6): Likewise.
36588 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36589 (readdinitgroups): Return value returned by addinitgroupsX.
36590 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36591 (prune_cache): Keep track of timeout value of re-added entries.
36592 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36593 * nscd/nscd.h: Adjust prototypes of readd* functions.
36595 2011-02-04 Roland McGrath <roland@redhat.com>
36597 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36598 (nis_stats): Likewise.
36599 * nis/nis_modify.c (nis_modify): Likewise.
36600 * nis/nis_remove.c (nis_remove): Likewise.
36601 * nis/nis_add.c (nis_add): Likewise.
36603 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36605 * posix/fnmatch_loop.c: Add some consts.
36607 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36609 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36612 * config.make.in (config-cflags-novzeroupper): Define.
36613 * configure.in: Substitute libc_cv_cc_novzeroupper.
36614 * elf/Makefile (AVX-CFLAGS): Define.
36615 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36616 (CFLAGS-tst-auditmod4a.c): Likewise.
36617 (CFLAGS-tst-auditmod4b.c): Likewise.
36618 (CFLAGS-tst-auditmod6b.c): Likewise.
36619 (CFLAGS-tst-auditmod6c.c): Likewise.
36620 (CFLAGS-tst-auditmod7b.c): Likewise.
36621 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36623 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36625 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36626 function to the callback.
36627 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36629 2011-02-02 Andreas Schwab <schwab@redhat.com>
36631 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36634 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36637 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36639 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36641 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36644 * elf/Makefile: Add rules to build and run new test.
36645 * elf/tst-initorder.c: New file.
36646 * elf/tst-initorder.exp: New file.
36647 * elf/tst-initordera1.c: New file.
36648 * elf/tst-initordera2.c: New file.
36649 * elf/tst-initordera3.c: New file.
36650 * elf/tst-initordera4.c: New file.
36651 * elf/tst-initorderb1.c: New file.
36652 * elf/tst-initorderb2.c: New file.
36653 * elf/tst-order-a1.c: New file.
36654 * elf/tst-order-a2.c: New file.
36655 * elf/tst-order-a3.c: New file.
36656 * elf/tst-order-a4.c: New file.
36657 * elf/tst-order-b1.c: New file.
36658 * elf/tst-order-b2.c: New file.
36659 * elf/tst-order-main.c: New file.
36660 New test case by George Gensure <werkt0@gmail.com>.
36662 2010-10-01 Andreas Schwab <schwab@redhat.com>
36664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36665 decoding ACE if AI_CANONIDN.
36667 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36669 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36671 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36673 * version.h (RELEASE): Bump for 2.13 release.
36674 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36676 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36680 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36687 * posix/getconf.c: Update copyright year.
36688 * catgets/gencat.c: Likewise.
36689 * csu/version.c: Likewise.
36690 * debug/catchsegv.sh: Likewise.
36691 * debug/xtrace.sh: Likewise.
36692 * elf/ldconfig.c: Likewise.
36693 * elf/ldd.bash.in: Likewise.
36694 * elf/sprof.c (print_version): Likewise.
36695 * iconv/iconv_prog.c: Likewise.
36696 * iconv/iconvconfig.c: Likewise.
36697 * locale/programs/locale.c: Likewise.
36698 * locale/programs/localedef.c: Likewise.
36699 * malloc/memusage.sh: Likewise.
36700 * malloc/mtrace.pl: Likewise.
36701 * nscd/nscd.c (print_version): Likewise.
36702 * nss/getent.c: Likewise.
36704 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36705 PF_CAIF, and PF_ALG.
36706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36708 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36710 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36711 (modules-names): Use them.
36712 (ifunc-test-modules, ifunc-pie-tests): Define.
36713 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36714 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36715 (test-extras): Likewise.
36716 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36717 $(compile-command.c).
36718 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36719 (all-built-dso): Define.
36720 (check-textrel.out, check-execstack.out): Depend on it.
36722 * configure.in: Don't override --enable-multi-arch.
36724 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36727 * nscd/hstcache.c (tryagain): Define.
36728 (cache_addhst): Return tryagain not notfound for temporary errors.
36729 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36732 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36736 to make the syscall.
36737 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36740 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36741 and fall back to matching as normal character if the string ends before
36742 the matching ']' is found. This is what POSIX requires.
36743 * posix/testfnm.c: Adjust test result.
36744 * posix/globtest.sh: Adjust test result. Add new test.
36745 * posix/tst-fnmatch.input: Likewise.
36746 * posix/tst-fnmatch2.c: Add new test.
36748 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36750 * elf/Makefile (check-execstack): Revert last change. Depend on
36752 (check-execstack.h): New target.
36753 (generated): Add check-execstack.h.
36754 * elf/check-execstack.c: Include "check-execstack.h".
36755 (main): Revert last change.
36756 (handle_file): Return zero if GNU_STACK is absent and
36757 DEFAULT_STACK_PERMS doesn't include PF_X.
36759 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36761 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36762 in child fails because the descriptor is already closed.
36763 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36764 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36765 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36768 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36772 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36773 temporary buffer used to handle multi lookups locally.
36774 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36776 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36778 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36781 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36783 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36784 alignment for SSE2.
36786 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36789 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36790 characters. When rounding increased number of integer digits recompute
36792 * stdio-common/tst-grouping.c: New file.
36793 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36795 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36797 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36798 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36800 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36802 * bits/select.h: Likewise.
36804 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36806 * po/ja.po: Update from translation team.
36808 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36811 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36812 implementation just like for lxstat, fxstatat, et al.
36814 2010-12-27 Jim Meyering <meyering@redhat.com>
36817 * posix/regexec.c (build_trtable): Return failure indication upon
36818 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36820 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36823 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36824 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36829 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36832 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36833 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36835 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36837 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36838 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36839 script has SORT_BY_INIT_PRIORITY.
36840 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36841 NO_CTORS_DTORS_SECTIONS is defined.
36842 * elf/soinit.c: Likewise.
36843 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36844 NO_CTORS_DTORS_SECTIONS is defined.
36845 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36846 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36847 * sysdeps/sh/init-first.c: Likewise.
36848 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36850 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36852 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36853 always use the slow path.
36855 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36857 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36858 similar rule which adds the sysdep directories to the header search in
36859 order to pick up the correct platform stackinfo.h.
36860 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36861 perform test if it is, otherwise return successfully without testing.
36862 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36863 DEFAULT_STACK_PERMS define in stackinfo.h.
36864 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36865 defined in stackinfo.h.
36866 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36867 DEFAULT_STACK_PERMS defined in stackinfo.h.
36868 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36869 * sysdeps/ia64/stackinfo.h: Likewise.
36870 * sysdeps/s390/stackinfo.h: Likewise.
36871 * sysdeps/sh/stackinfo.h: Likewise.
36872 * sysdeps/sparc/stackinfo.h: Likewise.
36873 * sysdeps/x86_64/stackinfo.h: Likewise.
36874 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36875 PF_X for powerpc64. Retain PF_X for powerpc32.
36877 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36879 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36881 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36882 GETDENTS_64BIT_ALIGNED.
36884 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36886 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36888 2010-12-10 Andreas Schwab <schwab@redhat.com>
36890 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36894 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36896 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36897 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36899 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36902 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36905 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36907 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36909 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36911 * po/it.po: Update from translation team.
36913 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36918 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36920 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36922 2010-11-24 Andreas Schwab <schwab@redhat.com>
36924 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36926 (gaih_getanswer_slice): Likewise.
36928 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36932 2010-05-31 Petr Baudis <pasky@suse.cz>
36935 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36936 silently even in the chroot mode.
36938 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36941 last patch a bit. Pretty printing
36943 2010-05-31 Petr Baudis <pasky@suse.cz>
36946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36947 initialization of skip_initgroups_dyn.
36949 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36954 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36956 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36958 2010-11-11 Andreas Schwab <schwab@redhat.com>
36960 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36961 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36962 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36963 ($(objpfx)tst-fnmatch-mem): New rule.
36964 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36965 * posix/tst-fnmatch.c (main): Call mtrace.
36967 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36970 Support Intel processor model 6 and model 0x2c.
36972 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36977 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36980 * string/test-strncasecmp.c (check_result): New function.
36981 (do_one_test): Use it.
36982 (check1): New function.
36983 (test_main): Use it.
36984 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36985 Support strcasecmp and strncasecmp.
36987 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36990 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36993 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36995 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36999 * sysdeps/x86_64/multiarch/bzero.S: New file.
37000 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37001 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37002 * sysdeps/x86_64/multiarch/memset.S: New file.
37003 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37005 Set bit_Prefer_SSE_for_memop for Intel processors.
37006 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37008 (index_Prefer_SSE_for_memop): Define.
37009 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37011 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37013 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37016 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37020 (__x86_64_raw_data_cache_size_half): Likewise.
37021 (__x86_64_raw_shared_cache_size): Likewise.
37022 (__x86_64_raw_shared_cache_size_half): Likewise.
37024 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37025 (__x86_64_raw_data_cache_size_half): Likewise.
37026 (__x86_64_raw_shared_cache_size): Likewise.
37027 (__x86_64_raw_shared_cache_size_half): Likewise.
37028 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37029 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37030 and __x86_64_raw_shared_cache_size_half. Round
37031 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37032 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37033 to multiple of 256 bytes.
37035 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37039 of inacessible symlinks. Verify result of symlink before returning it.
37040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37041 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37043 2010-10-28 Erich Ritz <erichritz@gmail.com>
37045 * math/math.h (isinf): Fix typo in comment.
37047 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37049 * po/da.po: Update from translation team.
37051 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37053 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37054 is added to the list.
37056 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37057 Ulrich Drepper <drepper@gmail.com>
37059 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37060 the global list here. Move code to...
37061 (_dl_add_to_namespace_list): ...here. New function.
37062 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37063 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37064 * elf/dl-load.c (lose): Don't remove the element from the list.
37065 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37066 (_dl_map_object): Likewise.
37068 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37071 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37072 into all bytes of SSE register.
37073 Patch by Richard Li <richardpku@gmail.com>.
37075 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37078 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37081 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37083 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37084 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37085 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37091 2010-10-22 Andreas Schwab <schwab@redhat.com>
37093 * include/dlfcn.h (__RTLD_SECURE): Define.
37094 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37095 mode & __RTLD_SECURE instead.
37096 (open_path): Rename preloaded parameter to secure.
37097 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37098 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37099 * elf/dl-deps.c (openaux): Likewise.
37100 * elf/rtld.c (struct map_args): Remove is_preloaded.
37101 (map_doit): Don't use it.
37102 (dl_main): Likewise.
37103 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37104 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37106 2010-09-09 Andreas Schwab <schwab@redhat.com>
37108 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37109 (sysd-rules-targets): Remove duplicates.
37110 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37111 rtld-%.$o dependency.
37113 2010-10-18 Andreas Schwab <schwab@redhat.com>
37115 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37116 _dl_map_object do it.
37118 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37120 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37121 fast fma builtins, define the macros in the C99 standard.
37122 (FP_FAST_FMAF): Likewise.
37123 (FP_FAST_FMAL): Likewise.
37124 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37126 * bits/mathdef.h: Update copyright year.
37127 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37129 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37131 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37132 builtins, define the macros in the C99 standard.
37133 (FP_FAST_FMAF): Likewise.
37134 (FP_FAST_FMAL): Likewise.
37135 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37137 (FP_FAST_FMAF): Likewise.
37139 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37142 * math/libm-test.inc (fma_test): Some new testcases.
37143 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37145 y and infinite z. Do multiplication by C already in long double.
37146 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37148 y and infinite z. Do bitwise or of inexact bit into u.d.
37149 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37150 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37151 * sysdeps/i386/fpu/s_fma.S: Removed.
37152 * sysdeps/i386/fpu/s_fmal.S: Removed.
37154 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37157 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37159 computation is not scheduled after fetestexcept. Fix value
37160 of minimum denormal long double.
37162 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37165 * math/libm-test.inc (fma_test): Add some more tests.
37166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37169 2010-10-15 Andreas Schwab <schwab@redhat.com>
37171 * scripts/data/localplt-s390-linux-gnu.data: New file.
37172 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37174 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37177 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37178 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37180 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37182 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37184 if one of x and y is very large and the other is subnormal.
37185 * sysdeps/s390/fpu/s_fmaf.c: New file.
37186 * sysdeps/s390/fpu/s_fma.c: New file.
37187 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37188 * sysdeps/powerpc/fpu/s_fma.S: New file.
37189 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37190 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37191 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37193 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37196 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37199 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37200 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37201 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37202 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37203 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37206 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37209 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37210 * posix/bug-regex31.input: Add test case.
37212 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37214 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37215 * posix/bug-regex31.input: New file.
37218 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37219 (parse_sub_exp): Fix last change, use postorder.
37221 * posix/bug-regex31.c: New file.
37222 * posix/Makefile: Add rules to build and run bug-regex31.
37224 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37227 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37230 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37231 to have entries in sys_siglist.
37234 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37237 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37240 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37241 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37242 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37243 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37244 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37245 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37246 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37247 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37248 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37249 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37250 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37251 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37252 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37253 * math/ftestexcept.c (fetestexcept): Likewise.
37254 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37255 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37256 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37257 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37258 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37259 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37260 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37262 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37265 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37268 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37270 * string/bug-strstr1.c: New file.
37271 * string/Makefile: Add rules to build and run bug-strstr1.
37273 2010-10-05 Eric Blake <eblake@redhat.com>
37276 * string/str-two-way.h (two_way_long_needle): Always clear memory
37277 when skipping input due to the shift table.
37279 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37282 * malloc/mcheck.c: Handle large requests.
37285 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37286 for strncmp and strncasecmp.
37287 * string/stratcliff.c: Add tests for strcmp and strncmp.
37288 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37290 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37292 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37295 2010-09-30 Andreas Jaeger <aj@suse.de>
37297 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37298 (CGROUP_SUPER_MAGIC): Define.
37299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37300 Handle btrfs and cgroup file systems.
37301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37304 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37306 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37307 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37309 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37312 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37313 trying to locate the ELF header.
37315 2010-09-27 Andreas Schwab <schwab@redhat.com>
37318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37319 Mask out sign-bit copies when constructing f_fsid.
37321 2010-09-24 Petr Baudis <pasky@suse.cz>
37323 * debug/stack_chk_fail_local.c: Add missing licence exception.
37324 * debug/warning-nop.c: Likewise.
37326 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37329 implementing getdents64 using getdents syscall, set d_type if
37330 __ASSUME_GETDENTS32_D_TYPE.
37332 2010-09-16 Andreas Schwab <schwab@redhat.com>
37334 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37335 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37337 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37340 * posix/unistd.h: Undo change of feature selection for ftruncate from
37343 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37345 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37348 2010-09-20 Andreas Schwab <schwab@redhat.com>
37350 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37354 2010-09-14 Andreas Schwab <schwab@redhat.com>
37356 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37357 variables after CHECK_SP call.
37358 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37360 2010-09-13 Andreas Schwab <schwab@redhat.com>
37361 Ulrich Drepper <drepper@redhat.com>
37363 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37364 re-relocationg ld.so.
37365 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37366 _dl_init_paths call.
37367 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37370 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37372 * resolv/res_init.c (__res_vinit): Count the default server we added.
37374 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37375 Ulrich Drepper <drepper@redhat.com>
37378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37379 (____longjmp_chk): Use %ebx for saving value across system call.
37382 2010-09-06 Andreas Schwab <schwab@redhat.com>
37384 * manual/Makefile: Don't mix pattern rules with normal rules.
37386 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37388 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37390 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37391 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37392 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37393 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37397 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37400 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37401 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37403 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37405 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37406 * sysdeps/x86_64/addmul_1.S: Likewise.
37407 * sysdeps/x86_64/lshift.S: Likewise.
37408 * sysdeps/x86_64/mul_1.S: Likewise.
37409 * sysdeps/x86_64/rshift.S: Likewise.
37410 * sysdeps/x86_64/sub_n.S: Likewise.
37411 * sysdeps/x86_64/submul_1.S: Likewise.
37413 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37415 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37416 Define __sched_param instead of SCHED_* and sched_param when
37417 <bits/sched.h> is included with __need_schedparam defined.
37418 * bits/sched.h [__need_schedparam]
37419 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37420 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37421 (__defined_schedparam): Define to 1.
37422 (__sched_param): New structure, identical to sched_param.
37423 (__need_schedparam): Undefine.
37425 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37428 (epoll_create1): Declare.
37430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37432 2010-08-31 Andreas Schwab <schwab@redhat.com>
37435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37436 shifting retval into place.
37438 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37440 * nis/rpcsvc/nis.h: Update copyright notice.
37441 * nis/rpcsvc/nis.x: Likewise.
37442 * nis/rpcsvc/nis_callback.h: Likewise.
37443 * nis/rpcsvc/nis_callback.x: Likewise.
37444 * nis/rpcsvc/nis_object.x: Likewise.
37445 * nis/rpcsvc/nis_tags.h: Likewise.
37446 * nis/rpcsvc/yp.h: Likewise.
37447 * nis/rpcsvc/yp.x: Likewise.
37448 * nis/rpcsvc/ypupd.h: Likewise.
37449 * nis/yp_xdr.c: Likewise.
37450 * nis/ypupdate_xdr.c: Likewise.
37452 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37453 mainly the body of pmap_getport. Add parameters to specify timeouts.
37454 (pmap_getport): Use __libc_rpc_getport.
37455 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37456 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37457 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37459 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37464 2010-08-27 Roland McGrath <roland@redhat.com>
37466 * sysdeps/i386/i686/multiarch/Makefile
37467 (CFLAGS-varshift.c): New variable.
37469 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37471 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37472 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37476 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37478 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37480 * sysdeps/x86_64/strlen.S: Unroll the loop.
37481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37482 strlen-sse2 strlen-sse2-bsf.
37483 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37484 __strlen_no_bsf if bit_Slow_BSF is set.
37485 (__strlen_sse42): Removed.
37486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37487 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37489 2010-08-25 Roland McGrath <roland@redhat.com>
37491 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37492 * sysdeps/x86_64/multiarch/varshift.c: New file.
37493 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37494 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37495 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37496 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37498 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37501 strlen-sse2 strlen-sse2-bsf.
37502 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37503 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37504 (__strlen_sse2): Removed.
37505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37508 bit_Slow_BSF for Atom.
37509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37510 (index_Slow_BSF): Define.
37511 (HAS_SLOW_BSF): Define.
37513 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37516 * resolv/res_init.c (__res_vinit): When no server address at all
37517 is given default to loopback.
37519 2010-08-24 Roland McGrath <roland@redhat.com>
37521 * configure.in: Remove config-name.h generation.
37522 * configure: Regenerated.
37523 * config-name.in: File removed.
37524 * scripts/config-uname.sh: New file.
37525 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37526 ($(objdir)config-name.h): New target.
37528 * sunrpc/rpc_parse.h: Avoid nested comment.
37530 2010-08-24 Richard Henderson <rth@redhat.com>
37531 Ulrich Drepper <drepper@redhat.com>
37532 H.J. Lu <hongjiu.lu@intel.com>
37534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37536 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37537 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37538 _mm_alignr_epi8 with _mm_loadu_si128.
37539 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37540 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37541 (__m128i_shift_right): Removed.
37542 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37543 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37544 * sysdeps/x86_64/multiarch/varshift.h: New file.
37545 * sysdeps/x86_64/multiarch/varshift.S: New file.
37547 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37549 * configure.in: Move assembler checks to before sysdep dir checking.
37551 2010-08-20 Petr Baudis <pasky@suse.cz>
37553 * LICENSES: Sync the sunrpc license.
37555 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37557 * sunrpc/auth_des.c: Update copyright notice once again.
37558 * sunrpc/auth_none.c: Likewise.
37559 * sunrpc/auth_unix.c: Likewise.
37560 * sunrpc/authdes_prot.c: Likewise.
37561 * sunrpc/authuxprot.c: Likewise.
37562 * sunrpc/bindrsvprt.c: Likewise.
37563 * sunrpc/clnt_gen.c: Likewise.
37564 * sunrpc/clnt_perr.c: Likewise.
37565 * sunrpc/clnt_raw.c: Likewise.
37566 * sunrpc/clnt_simp.c: Likewise.
37567 * sunrpc/clnt_tcp.c: Likewise.
37568 * sunrpc/clnt_udp.c: Likewise.
37569 * sunrpc/clnt_unix.c: Likewise.
37570 * sunrpc/des_crypt.c: Likewise.
37571 * sunrpc/des_soft.c: Likewise.
37572 * sunrpc/get_myaddr.c: Likewise.
37573 * sunrpc/getrpcport.c: Likewise.
37574 * sunrpc/key_call.c: Likewise.
37575 * sunrpc/key_prot.c: Likewise.
37576 * sunrpc/openchild.c: Likewise.
37577 * sunrpc/pm_getmaps.c: Likewise.
37578 * sunrpc/pm_getport.c: Likewise.
37579 * sunrpc/pmap_clnt.c: Likewise.
37580 * sunrpc/pmap_prot.c: Likewise.
37581 * sunrpc/pmap_prot2.c: Likewise.
37582 * sunrpc/pmap_rmt.c: Likewise.
37583 * sunrpc/rpc/auth.h: Likewise.
37584 * sunrpc/rpc/auth_unix.h: Likewise.
37585 * sunrpc/rpc/clnt.h: Likewise.
37586 * sunrpc/rpc/des_crypt.h: Likewise.
37587 * sunrpc/rpc/key_prot.h: Likewise.
37588 * sunrpc/rpc/netdb.h: Likewise.
37589 * sunrpc/rpc/pmap_clnt.h: Likewise.
37590 * sunrpc/rpc/pmap_prot.h: Likewise.
37591 * sunrpc/rpc/pmap_rmt.h: Likewise.
37592 * sunrpc/rpc/rpc.h: Likewise.
37593 * sunrpc/rpc/rpc_des.h: Likewise.
37594 * sunrpc/rpc/rpc_msg.h: Likewise.
37595 * sunrpc/rpc/svc.h: Likewise.
37596 * sunrpc/rpc/svc_auth.h: Likewise.
37597 * sunrpc/rpc/types.h: Likewise.
37598 * sunrpc/rpc/xdr.h: Likewise.
37599 * sunrpc/rpc_clntout.c: Likewise.
37600 * sunrpc/rpc_cmsg.c: Likewise.
37601 * sunrpc/rpc_common.c: Likewise.
37602 * sunrpc/rpc_cout.c: Likewise.
37603 * sunrpc/rpc_dtable.c: Likewise.
37604 * sunrpc/rpc_hout.c: Likewise.
37605 * sunrpc/rpc_main.c: Likewise.
37606 * sunrpc/rpc_parse.c: Likewise.
37607 * sunrpc/rpc_parse.h: Likewise.
37608 * sunrpc/rpc_prot.c: Likewise.
37609 * sunrpc/rpc_sample.c: Likewise.
37610 * sunrpc/rpc_scan.c: Likewise.
37611 * sunrpc/rpc_scan.h: Likewise.
37612 * sunrpc/rpc_svcout.c: Likewise.
37613 * sunrpc/rpc_tblout.c: Likewise.
37614 * sunrpc/rpc_util.c: Likewise.
37615 * sunrpc/rpc_util.h: Likewise.
37616 * sunrpc/rpcinfo.c: Likewise.
37617 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37618 * sunrpc/rpcsvc/key_prot.x: Likewise.
37619 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37620 * sunrpc/rpcsvc/mount.x: Likewise.
37621 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37622 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37623 * sunrpc/rpcsvc/rex.x: Likewise.
37624 * sunrpc/rpcsvc/rstat.x: Likewise.
37625 * sunrpc/rpcsvc/rusers.x: Likewise.
37626 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37627 * sunrpc/rpcsvc/spray.x: Likewise.
37628 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37629 * sunrpc/rtime.c: Likewise.
37630 * sunrpc/svc.c: Likewise.
37631 * sunrpc/svc_auth.c: Likewise.
37632 * sunrpc/svc_authux.c: Likewise.
37633 * sunrpc/svc_raw.c: Likewise.
37634 * sunrpc/svc_run.c: Likewise.
37635 * sunrpc/svc_simple.c: Likewise.
37636 * sunrpc/svc_tcp.c: Likewise.
37637 * sunrpc/svc_udp.c: Likewise.
37638 * sunrpc/svc_unix.c: Likewise.
37639 * sunrpc/svcauth_des.c: Likewise.
37640 * sunrpc/xcrypt.c: Likewise.
37641 * sunrpc/xdr.c: Likewise.
37642 * sunrpc/xdr_array.c: Likewise.
37643 * sunrpc/xdr_float.c: Likewise.
37644 * sunrpc/xdr_mem.c: Likewise.
37645 * sunrpc/xdr_rec.c: Likewise.
37646 * sunrpc/xdr_ref.c: Likewise.
37647 * sunrpc/xdr_sizeof.c: Likewise.
37648 * sunrpc/xdr_stdio.c: Likewise.
37650 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37653 2010-08-19 Andreas Schwab <schwab@redhat.com>
37655 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37657 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37659 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37662 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37664 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37666 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37669 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37671 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37672 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37674 2010-07-26 Anton Blanchard <anton@samba.org>
37676 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37677 * malloc/arena.c (heap_trim): Likewise.
37679 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37681 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37684 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37686 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37688 * sysdeps/i386/elf/Makefile: New file.
37690 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37692 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37693 from fanotify_init.
37694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37697 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37699 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37701 * sysdeps/multiarch/strcmp.S: Likewise.
37703 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37706 strncase_l-nonascii.
37707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37708 Add strncase_l-ssse3.
37709 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37710 * sysdeps/x86_64/strcmp.S: Likewise.
37711 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37712 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37713 * sysdeps/x86_64/strncase.S: New file.
37714 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37715 * sysdeps/x86_64/strncase_l.S: New file.
37716 * string/Makefile (strop-tests): Add strncasecmp.
37717 * string/test-strncasecmp.c: New file.
37719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37722 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37723 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37725 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37727 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37729 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37731 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37735 2010-05-01 Alan Modra <amodra@gmail.com>
37737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37738 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37739 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37740 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37741 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37742 tidying. Don't tail-call __sigjmp_save for static lib.
37743 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37745 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37746 (CALL_MCOUNT): Add eh info, and nop after bl.
37747 (TAIL_CALL_SYSCALL_ERROR): New macro.
37748 (PSEUDO_RET): Use it.
37749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37750 Correct save location of integer regs and cr.
37751 (_dl_profile_resolve): Correct cr save location. Delete nops
37752 after bl when SHARED. Reduce cfi size a little by better
37753 placement of cfi directives.
37754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37755 make a stack frame. Instead use parm save area as a temp.
37756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37757 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37759 Don't make a stack frame for parent, use parm save area.
37760 Increase child stack frame to 112 bytes. Don't save unused reg,
37761 and adjust reg usage. Set up cfi on error recovery and
37762 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37764 (__makecontext): Add dummy nop after jump to exit.
37765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37766 Use correct parm save area and cr save, reduce stack frame.
37767 Correct cfi for possible PSEUDO_RET frame setup.
37768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37769 Branch to local label emitted by PSEUDO_RET rather than
37772 2010-08-12 Andreas Schwab <schwab@redhat.com>
37775 * locale/programs/locale.c (print_assignment): New function.
37776 (show_locale_vars): Use it.
37778 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37780 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37782 (struct statfs64): Likewise.
37783 (_STATFS_F_FLAGS): Define.
37784 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37786 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37787 (ST_VALID): Define locally.
37788 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37789 __statvfs_getflags, use the provided value.
37790 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37791 __ASSUME_STATFS_F_FLAGS.
37793 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37795 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37796 Add sys/fanotify.h.
37797 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37798 fanotify_mask for GLIBC_2.13.
37799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37800 fanotify_init and fanotify_mark.
37801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37802 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37806 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37807 prlimit64 for GLIBC_2.13.
37808 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37814 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37818 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37821 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37822 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37824 * nss/Makefile: Add rules to build and run tst-nss-test1.
37825 * shlib-versions: Add entry for libnss_test1.
37826 * nss/nss_test1.c: New file.
37827 * nss/tst-nss-test1.c: New file.
37829 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37830 (__nss_configure_lookup): Set appropriate entry in
37831 __nss_configure_lookup to true.
37832 * nss/nsswitch.h: Define enum with indeces of databases in
37833 databases and __nss_database_custom arrays. Declare
37834 __nss_database_custom.
37835 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37836 to avoid using nscd when custom rules are installed.
37837 * nss/getXXbyYY_r.c: Likewise.
37838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37840 * nss/nss_files/files-parse.c: Whitespace fixes.
37842 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37845 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37846 * posix/fnmatch_loop.c: Likewise.
37848 2010-07-17 Andi Kleen <ak@linux.intel.com>
37850 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37851 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37852 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37853 * Versions.def [GLIBC_2.13]: Add.
37855 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37858 Also fail if tpwd after pwuid call is NULL.
37860 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37862 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37863 when converting to ms.
37865 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37867 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37868 EOPNOTSUPP errors with ENOTTY.
37869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37870 EOPNOTSUPP errors with ENOTTY.
37872 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37875 Add strcasecmp_l-ssse3.
37876 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37878 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37879 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37882 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37884 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37886 * string/Makefile (strop-tests): Add strcasecmp.
37887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37888 strcasecmp_l-nonascii.
37889 (gen-as-const-headers): Add locale-defines.sym.
37890 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37891 * sysdeps/x86_64/strcasecmp.S: New file.
37892 * sysdeps/x86_64/strcasecmp_l.S: New file.
37893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37894 * sysdeps/x86_64/locale-defines.sym: New file.
37895 * string/test-strcasecmp.c: New file.
37897 * string/test-strcasestr.c: Test both ends of the range of characters.
37898 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37900 2010-07-29 Roland McGrath <roland@redhat.com>
37903 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37905 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37907 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37910 2010-07-27 Andreas Schwab <schwab@redhat.com>
37912 * manual/memory.texi (Malloc Tunable Parameters): Document
37915 2010-07-26 Roland McGrath <roland@redhat.com>
37918 * configure.in (-fgnu89-inline check): Set and substitute
37919 gnu89_inline, not libc_cv_gnu89_inline.
37920 * configure: Regenerated.
37921 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37923 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37925 * string/test-strnlen.c: New file.
37926 * string/Makefile (strop-tests): Add strnlen.
37927 * string/tester.c (test_strnlen): Add a few more test cases.
37928 * string/tst-strlen.c: Better error reporting.
37930 * sysdeps/x86_64/strnlen.S: New file.
37932 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37935 lower-latency instructions.
37937 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37939 * string/test-strcasestr.c: New file.
37940 * string/test-strstr.c: New file.
37941 * string/Makefile (strop-tests): Add strstr and strcasestr.
37942 * string/str-two-way.h: Don't undefine MAX.
37943 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37945 2010-07-21 Andreas Schwab <schwab@redhat.com>
37947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37948 strcasestr-nonascii.
37949 (CFLAGS-strcasestr-nonascii.c): Define.
37950 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37952 Remove unused attribute.
37954 2010-07-20 Roland McGrath <roland@redhat.com>
37956 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37957 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37958 ld.so.cache was broken. With it, there is no way to disable dsocaps
37959 like LD_HWCAP_MASK can disable hwcaps.
37961 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37963 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37965 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37967 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37968 call in strcasestr.
37969 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37970 __strcasestr_sse42_nonascii.
37971 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37972 strcasestr-nonascii.c.
37973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37975 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37977 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37982 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37984 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37987 2010-07-06 Andreas Schwab <schwab@redhat.com>
37990 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37993 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37996 _PC_PIPE_BUF using F_GETPIPE_SZ.
37998 2010-07-05 Roland McGrath <roland@redhat.com>
38000 * manual/arith.texi (Rounding Functions): Fix rint description
38001 implicit in round description.
38003 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38005 * elf/Makefile: Fix linking for a few tests to make recent linker
38008 2010-06-30 Andreas Schwab <schwab@redhat.com>
38010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38011 $(common-objpfx)libc_nonshared.a.
38013 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38015 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38016 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38017 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38018 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38019 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38020 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38021 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38022 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38037 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38038 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38039 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38040 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38041 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38042 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38043 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38044 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38045 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38046 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38047 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38048 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38064 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38066 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38067 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38068 * string/memmove.c (memmove): Renamed to ...
38069 (MEMMOVE): ...this. Default to memmove.
38070 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38071 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38074 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38075 mempcpy-ssse3-back memmove-ssse3-back.
38076 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38079 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38080 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38081 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38082 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38083 * sysdeps/x86_64/multiarch/memmove.c: New file.
38084 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38085 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38086 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38087 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38091 (index_Fast_Copy_Backward): Define.
38092 (HAS_ARCH_FEATURE): Define.
38093 (HAS_FAST_REP_STRING): Define.
38094 (HAS_FAST_COPY_BACKWARD): Define.
38096 2010-06-21 Andreas Schwab <schwab@redhat.com>
38098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38099 Restore proper fallback handling.
38101 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38104 * posix/group_member.c (__group_member): Correct checking loop.
38106 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38107 OOM in getpwuid_r correctly. Return error number when the caller
38108 should return, otherwise -1.
38109 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38110 call returning > 0 value.
38111 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38113 2010-06-07 Andreas Schwab <schwab@redhat.com>
38115 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38116 libc_nonshared.a from targets in modules-names.
38118 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38120 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38123 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38130 2010-06-02 Andreas Schwab <schwab@redhat.com>
38132 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38134 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38145 2010-06-14 Roland McGrath <roland@redhat.com>
38147 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38149 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38151 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38152 __REDIRECT followed by __THROW.
38153 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38154 * posix/getopt.h (getopt): Likewise.
38156 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38158 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38159 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38160 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38162 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38163 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38165 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38169 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38173 Properly check family and model.
38175 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38177 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38179 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38181 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38183 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38185 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38188 2010-05-19 Andreas Schwab <schwab@redhat.com>
38190 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38193 2010-05-21 Andreas Schwab <schwab@redhat.com>
38195 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38196 and internal_recvmmsg.
38197 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38198 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38199 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38200 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38202 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38203 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38204 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38206 2010-05-20 Andreas Schwab <schwab@redhat.com>
38208 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38210 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38212 POWER7 optimizations.
38213 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38214 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38216 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38218 * version.h: Update for 2.13 development version.
38220 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38223 exceptions. Return 0.
38225 2010-05-07 Roland McGrath <roland@redhat.com>
38227 * elf/ldconfig.c (main): Add a const.
38229 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38231 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38232 (args_options): Add no-idn option.
38233 (ahosts_keys_int): Add idn_flags to ai_flags.
38234 (parse_option): Handle 'i' option to clear idn_flags.
38236 * malloc/malloc.c (_int_free): Possible race in the most recently
38237 added check. Only act on the data if no current modification
38240 See ChangeLog.17 for earlier changes.