1 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4 extra tokens at end of #undef directive.
5 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9 2014-01-03 Andrew Hunter <ahh@google.com>
11 * elf/dl-open.c (dl_open_worker): New comment.
12 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
13 atomic_compare_and_exchange_bool_acq
14 (_dl_allocate_static_tls): Block signals.
15 * elf/dl-tls.c (allocate_and_init): Return void.
16 (_dl_update_slotinfo): Block signals, use atomic update.
18 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22 * math/auto-libm-test-in: Mark various tests with
23 xfail-rounding:ldbl-128ibm.
24 * math/auto-libm-test-out: Regenerated.
26 2014-01-02 Joseph Myers <joseph@codesourcery.com>
29 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30 numbers with subnormal high part when calculating exponent.
33 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39 (__ieee754_acoshl): Use __log1pl not __log1p.
41 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
43 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
44 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
45 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
46 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
48 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
49 mem2mem_check, mem2chunk_check, top_check, realloc_check,
50 memalign_check, __malloc_set_state): Likewise.
51 * malloc/mallocbug.c (main): Likewise.
52 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
53 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
54 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
55 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
56 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
57 * malloc/malloc.h: Likewise.
58 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
59 memalignhook, reallochook, mabort): Likewise.
60 * malloc/mcheck.h: Likewise.
61 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
62 mmap64, mremap, munmap, dest): Likewise.
63 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
64 * malloc/morecore.c (__default_morecore): Likewise.
65 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
66 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
67 _obstack_allocated_p, obstack_free, _obstack_memory_used,
68 print_and_abort): Likewise.
69 * malloc/obstack.h: Likewise.
70 * malloc/set-freeres.c (__libc_freeres): Likewise.
71 * malloc/tst-mallocstate.c (main): Likewise.
72 * malloc/tst-mtrace.c (main): Likewise.
73 * malloc/tst-realloc.c (do_test): Likewise.
75 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
78 * nscd/netgroupcache.c (do_notfound): New function.
79 (addgetnetgrentX): Use it.
82 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
85 2014-01-01 Joseph Myers <joseph@codesourcery.com>
87 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90 2014-01-01 Allan McRae <allan@archlinux.org>
92 * scripts/update-copyrights: Update configure input file suffix.
94 * NEWS: Update copyright year.
95 * catgets/gencat.c: Likewise.
96 * csu/version.c: Likewise.
97 * debug/catchsegv.sh: Likewise.
98 * debug/pcprofiledump.c: Likewise.
99 * debug/xtrace.sh: Likewise.
100 * elf/ldconfig.c: Likewise.
101 * elf/ldd.bash.in: Likewise.
102 * elf/pldd.c: Likewise.
103 * elf/sotruss.ksh: Likewise.
104 * elf/sprof.c: Likewise.
105 * iconv/iconv_prog.c: Likewise.
106 * iconv/iconvconfig.c: Likewise.
107 * locale/programs/locale.c: Likewise.
108 * locale/programs/localedef.c: Likewise.
109 * login/programs/pt_chown.c: Likewise.
110 * malloc/memusage.sh: Likewise.
111 * malloc/memusagestat.c: Likewise.
112 * malloc/mtrace.pl: Likewise.
113 * manual/libc.texinfo: Likewise.
114 * nscd/nscd.c: Likewise.
115 * nss/getent.c: Likewise.
116 * nss/makedb.c: Likewise.
117 * posix/getconf.c: Likewise.
118 * scripts/test-installation.pl: Likewise.
120 * All files with FSF copyright notices: Update copyright dates
121 using scripts/update-copyrights.
122 * intl/plural.c: Regenerated.
123 * locale/programs/charmap-kw.h: Likewise.
124 * locale/programs/locfile-kw.h: Likewise.
126 2013-12-31 Mike Frysinger <vapier@gentoo.org>
128 * sysdeps/unix/sysv/linux/configure: Regenerated.
129 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
130 the linux/fanotify.h header.
131 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
132 HAVE_LINUX_FANOTIFY_H is defined.
134 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * benchtests/cos-inputs: New inputs.
137 * benchtests/sin-inputs: Likewise.
139 * benchtests/atan-inputs: New inputs. Fix name of multiple
140 precision fallback inputs.
142 * benchtests/atanh-inputs: New inputs.
143 * benchtests/tanh-inputs: Likewise.
145 * benchtests/acosh-inputs: New inputs.
146 * benchtests/asinh-inputs: Likewise.
148 * benchtests/cosh-inputs: New inputs.
149 * benchtests/sinh-inputs: Likewise.
151 * benchtests/acos-inputs: Add more inputs.
152 * benchtests/asin-inputs: Likewise.
154 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
157 * manual/arith.texi: Fix spelling.
158 * manual/charset.texi: Likewise.
159 * manual/errno.texi: Likewise.
160 * manual/filesys.texi: Likewise.
161 * manual/lang.texi: Likewise.
162 * manual/llio.texi: Likewise.
163 * manual/locale.texi: Likewise.
164 * manual/message.texi: Likewise.
165 * manual/resource.texi: Likewise.
166 * manual/search.texi: Likewise.
167 * manual/setjmp.texi: Likewise.
168 * manual/stdio.texi: Likewise.
169 * manual/string.texi: Likewise.
170 * manual/sysinfo.texi: Likewise.
171 * manual/time.texi: Likewise.
173 2013-12-27 Carlos O'Donell <carlos@redhat.com>
175 * po/sl.po: New file.
177 2013-12-27 Mike Frysinger <vapier@gentoo.org>
179 * .gitignore: Add core/.gdbinit/.gdb_history.
181 2013-12-27 Allan McRae <allan@archlinux.org>
184 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
185 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
187 2013-12-24 Brooks Moses <bmoses@google.com>
189 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
190 all compilers that claim C++98 compliance, not just GCC.
191 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
194 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
196 * NEWS: Restore accidentally deleted bug-fix entries.
198 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
199 Ondřej Bílka <neleai@seznam.cz>
202 * malloc/malloc.c (_int_free): Perform sanity check only if we
205 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
208 * manual/stdio.texi (String Input Conversions): Clarify that character
209 classes are not supported.
211 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215 2013-12-22 Joseph Myers <joseph@codesourcery.com>
218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
219 Calculate results for small negative arguments directly rather
220 than using reflection formula with special underflow handling.
222 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
223 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
224 sysdeps/unix/bsd/bsd4.4/syscalls.list.
225 (fchflags): Likewise.
227 (setlogin): Likewise.
228 (sigaltstack): Likewise.
231 (sigsetmask): Likewise.
234 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
235 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
237 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
238 * sysdeps/unix/bsd/Makefile: ... here.
239 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
240 * sysdeps/unix/bsd/Versions: ... here.
241 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
242 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
243 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
244 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
245 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
246 * sysdeps/unix/bsd/sigblock.c: ... here.
247 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
248 * sysdeps/unix/bsd/sigsetmask.c: ... here.
249 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
250 * sysdeps/unix/bsd/sigvec.c: ... here.
251 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
252 * sysdeps/unix/bsd/tcdrain.c: ... here.
253 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
254 * sysdeps/unix/bsd/tcgetattr.c: ... here.
255 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
256 * sysdeps/unix/bsd/tcsetattr.c: ... here.
257 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
258 * sysdeps/unix/bsd/wait.c: ... here.
259 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
260 * sysdeps/unix/bsd/wait3.c: ... here.
261 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
262 * sysdeps/unix/bsd/waitpid.c: ... here.
264 2013-12-21 Joseph Myers <joseph@codesourcery.com>
267 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
268 round-to-nearest for [!USE_AS_EXPM1L].
269 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
270 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
271 more tests of exp and exp10. Expect some exp10 tests to miss
272 exceptions or fail in directed rounding modes.
273 * math/auto-libm-test-out: Regenerated.
274 * math/libm-test.inc (exp10_tonearest_test_data): New array.
275 (exp10_test_tonearest): New function.
276 (exp10_towardzero_test_data): New array.
277 (exp10_test_towardzero): New function.
278 (exp10_downward_test_data): New array.
279 (exp10_test_downward): New function.
280 (exp10_upward_test_data): New array.
281 (exp10_test_upward): New function.
282 (main): Call the new functions.
283 * sysdeps/i386/fpu/libm-test-ulps: Update.
284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
286 2013-12-20 Joseph Myers <joseph@codesourcery.com>
288 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
289 asinh, atan, atan2, atanh, cbrt, cos and cosh.
290 * math/auto-libm-test-out: Regenerated.
291 * math/libm-test.inc (acosh_test_data): Add more tests.
292 (atanh_test_data): Likewise.
293 (ceil_test_data): Likewise.
294 (copysign_test_data): Likewise.
295 * sysdeps/i386/fpu/libm-test-ulps: Update.
296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
298 * timezone/checktab.awk: Update from tzcode 2013i.
299 * timezone/private.h: Likewise.
300 * timezone/scheck.c: Likewise.
301 * timezone/tzfile.h: Likewise.
302 * timezone/tzselect.ksh: Likewise.
303 * timezone/zdump.c: Likewise.
304 * timezone/zic.c: Likewise.
306 * math/auto-libm-test-in: Add tests of cpow.
307 * math/auto-libm-test-out: Regenerated.
308 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
309 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
311 (func_calc_desc): Add mpc_cc_c union field.
312 (test_functions): Add cpow.
313 (special_fill_2pi): New function.
314 (special_real_inputs): Add 2pi.
315 (calc_generic_results): Handle mpc_cc_c.
316 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
320 csqrt, ctan and ctanh.
321 * math/auto-libm-test-out: Regenerated.
322 * math/libm-test.inc (TEST_COND_x86_64): New macro.
323 (TEST_COND_x86): Likewise.
324 (ccos_test_data): Use AUTO_TESTS_c_c.
325 (ccosh_test_data): Likewise.
326 (cexp_test_data): Likewise.
327 (clog_test_data): Likewise.
328 (csqrt_test_data): Likewise.
329 (ctan_test_data): Likewise.
330 (ctan_tonearest_test_data): Likewise.
331 (ctan_towardzero_test_data): Likewise.
332 (ctan_downward_test_data): Likewise.
333 (ctan_upward_test_data): Likewise.
334 (ctanh_test_data): Likewise.
335 (ctanh_tonearest_test_data): Likewise.
336 (ctanh_towardzero_test_data): Likewise.
337 (ctanh_downward_test_data): Likewise.
338 (ctanh_upward_test_data): Likewise.
339 * math/gen-auto-libm-tests.c (func_calc_method): Add value
341 (func_calc_desc): Add mpc_c_c union field.
342 (FUNC_mpc_c_c): New macro.
343 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
344 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
346 (special_fill_min_subnorm_p120): New function.
347 (special_real_inputs): Add min_subnorm_p120.
348 (calc_generic_results): Handle mpc_c_c.
349 * sysdeps/i386/fpu/libm-test-ulps: Update.
350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
354 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
355 do_sin_slow): New functions.
356 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
357 cslow2, csloww1, csloww2): Use the new functions.
359 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
360 Use M to change sign of result instead of X. Assume X is
366 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
373 (sloww1): Don't adjust sign of DX.
375 (sloww2): Use X directly and don't adjust sign of DX.
378 2013-12-19 Joseph Myers <joseph@codesourcery.com>
380 * math/auto-libm-test-in: Add tests of cabs and carg.
381 * math/auto-libm-test-out: Regenerated.
382 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
383 (carg_test_data): Likewise.
384 * math/gen-auto-libm-tests.c (func_calc_method): Add value
386 (func_calc_desc): Add mpc_c_f union field.
387 (test_functions): Add cabs and carg.
388 (calc_generic_results): Handle mpc_c_f.
390 * sysdeps/powerpc/powerpc32/libgcc-compat.S
391 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
392 as a macro and a compat symbol.
393 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
394 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
395 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
396 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
397 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
398 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
400 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
402 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
404 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
406 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
408 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
410 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
411 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
414 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
418 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
420 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
421 (__signal_safe_memalign, __signal_safe_free): Use it.
422 (__signal_safe_realloc): Likewise.
424 2013-12-19 Joseph Myers <joseph@codesourcery.com>
426 * manual/texinfo.tex: Update to version 2013-11-26.10 with
427 trailing whitespace removed.
428 * scripts/config.guess: Update to version 2013-11-29.
429 * scripts/config.sub: Update to version 2013-10-01.
431 * math/auto-libm-test-in: Add tests of sincos.
432 * math/auto-libm-test-out: Regenerated.
433 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
434 * math/gen-auto-libm-tests.c (func_calc_method): Add value
436 (func_calc_desc): Add mpfr_f_11 union field.
437 (test_functions): Add sincos.
438 (calc_generic_results): Handle mpfr_f_11.
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
442 2013-12-19 Andreas Schwab <schwab@suse.de>
444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
446 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
448 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
450 2013-12-19 Joseph Myers <joseph@codesourcery.com>
452 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
458 round-to-nearest mode when using frndint.
459 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
460 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
463 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
465 * math/auto-libm-test-out: Regenerated.
466 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
467 (TEST_COND_x86): Likewise.
468 (expm1_tonearest_test_data): New array.
469 (expm1_test_tonearest): New function.
470 (expm1_towardzero_test_data): New array.
471 (expm1_test_towardzero): New function.
472 (expm1_downward_test_data): New array.
473 (expm1_test_downward): New function.
474 (expm1_upward_test_data): New array.
475 (expm1_test_upward): New function.
476 (main): Run the new test functions.
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
480 * include/features.h: Update comment documenting feature test
481 macros. Mention _DEFAULT_SOURCE in comment.
482 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
483 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
484 _BSD_SOURCE and _SVID_SOURCE.
485 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
486 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
487 !_SVID_SOURCE]: Likewise.
488 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
489 (__USE_POSIX_IMPLICITLY): Define.
490 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
491 (_POSIX_SOURCE): Undefine and redefine.
492 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
493 (_POSIX_C_SOURCE): Likewise.
494 * manual/creature.texi (_DEFAULT_SOURCE): Document.
495 (Feature Test Macros): Update documentation of default features.
497 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
499 * benchtests/Makefile: Add bench-strtok.
500 * benchtests/bench-strtok.c: New file: strtok benchtest.
502 2013-12-19 Allan McRae <allan@archlinux.org>
504 * manual/install.texi: Suppress menu for plain text output.
505 * INSTALL: Regenerated.
507 2013-12-18 Andrew Hunter <ahh@google.com>
509 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
510 (__signal_safe_malloc, __signal_safe_free): Likewise.
511 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
512 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
513 (__signal_safe_memalign, __signal_safe_malloc): New function.
514 (__signal_safe_free, __signal_safe_realloc): Likewise.
515 (__signal_safe_calloc): Likewise.
516 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
518 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
520 2013-12-18 Andrew Hunter <ahh@google.com>
522 * elf/Versions (ld): Add _dl_clear_dtv.
523 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
524 * elf/dl-tls.c (_dl_clear_dtv): New function.
525 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
527 2013-12-18 Andrew Hunter <ahh@google.com>
529 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
530 (_dl_unmask_signals): Likewise.
531 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
532 (_dl_unmask_all_signals): Likewise.
533 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
534 (_dl_unmask_all_signals): Likewise.
535 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
536 (_dl_unmask_signals): Likewise.
538 2013-12-18 Brooks Moses <bmoses@google.com>
541 * misc/getauxval.c: Include errno.h.
542 (__getauxval): Set errno to ENOENT if the requested type is not
544 * misc/sys/auxv.h (getauxval): Document that it may set errno;
545 don't declare with __attribute_const__.
546 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
547 * manual/startup.texi: Document that getauxval sets errno.
549 2013-12-18 Joseph Myers <joseph@codesourcery.com>
551 * math/auto-libm-test-in: Add tests of jn and yn.
552 * math/auto-libm-test-out: Regenerated.
553 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
554 (yn_test_data): Likewise.
555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
557 (func_calc_desc): Add mpfr_if_f union field.
558 (FUNC_mpfr_if_f): New macro.
559 (test_functions): Add jn and yn.
560 (calc_generic_results): Assert type of second input for
561 mpfr_ff_f. Handle mpfr_if_f.
562 (output_for_one_input_case): Disable all checking for arguments
563 fitting floating-point types in case of an integer argument.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
568 Don't expect fegetround reference in libm.so.
570 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
572 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
573 $(config-cflags-nofma).
575 2013-12-18 Joseph Myers <joseph@codesourcery.com>
577 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
578 * math/auto-libm-test-out: Regenerated.
581 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
582 to determine exponent and adjust argument to have exponent of -1.
583 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
585 * math/auto-libm-test-out: Regenerated.
586 * sysdeps/i386/fpu/libm-test-ulps: Update.
587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
589 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
591 * manual/probes.texi: Remove cases when per-thread arenas are
594 2013-12-18 Andreas Schwab <schwab@suse.de>
596 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
597 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
598 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
599 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
600 * sysdeps/i386/i686/multiarch/Makefile: Update.
601 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
603 2013-12-17 Joseph Myers <joseph@codesourcery.com>
605 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
606 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
608 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
610 Support TZ transition times < 00:00:00.
611 This is needed for version-3 tz-format files; it supports time
612 stamps past 2037 for America/Godthab (the only entry in the tz
613 database for which this change is relevant).
614 * manual/time.texi (TZ Variable): Document transition times
615 from -167:59:59 through -00:00:01.
616 * time/tzset.c (tz_rule): Time of day is now signed.
617 (__tzset_parse_tz): Parse negative time of day.
619 Document TZ transition times >= 25:00:00.
620 * manual/time.texi (TZ Variable): Document transition times from
621 25:00:00 through 167:59:59. These are already supported, and this
622 support will help with version-3 tz-format files.
624 * manual/time.texi (TZ Variable): Modernize North America example
625 to reflect current (i.e., 2007-and-later) daylight saving rules.
627 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
629 2013-12-17 Joseph Myers <joseph@codesourcery.com>
631 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
632 * sysdeps/unix/bsd/bits/stat.h: Likewise.
633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
635 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
636 * sysdeps/unix/bsd/bsdstat.h: Likewise.
637 * sysdeps/unix/bsd/clock.c: Likewise.
638 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
639 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
640 * sysdeps/unix/bsd/init-posix.c: Likewise.
641 * sysdeps/unix/bsd/poll.c: Likewise.
642 * sysdeps/unix/bsd/ptsname.c: Likewise.
643 * sysdeps/unix/bsd/seekdir.c: Likewise.
644 * sysdeps/unix/bsd/setegid.c: Likewise.
645 * sysdeps/unix/bsd/seteuid.c: Likewise.
646 * sysdeps/unix/bsd/setgid.c: Likewise.
647 * sysdeps/unix/bsd/setrgid.c: Likewise.
648 * sysdeps/unix/bsd/setruid.c: Likewise.
649 * sysdeps/unix/bsd/setsid.c: Likewise.
650 * sysdeps/unix/bsd/setuid.c: Likewise.
651 * sysdeps/unix/bsd/sigaction.c: Likewise.
652 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
653 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
654 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
655 * sysdeps/unix/bsd/telldir.c: Likewise.
656 * sysdeps/unix/bsd/times.c: Likewise.
657 * sysdeps/unix/bsd/usleep.c: Likewise.
659 * misc/Makefile (install-lib): Remove libbsd-compat.a.
660 ($(objpfx)libbsd-compat.a): Remove rule.
662 * include/features.h (__FAVOR_BSD): Do not define.
663 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
664 features conflicting with POSIX.
665 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
666 (_BSD_SOURCE): Remove description of not being a subset of other
668 * manual/job.texi (getpgrp): Do not document BSD version.
669 (getpgid): Do not document by reference to BSD getpgrp.
670 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
671 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
672 * signal/signal.h [__FAVOR_BSD]: Likewise.
673 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
674 instead of making contents conditional on [__FAVOR_BSD].
675 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
677 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
681 2013-12-17 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
685 values below 2**-450, not 2**-500.
686 * math/auto-libm-test-in: Don't allow spurious underflow from
688 * math/auto-libm-test-out: Regenerated.
692 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
693 values of ha and hb and sort them after adjusting subnormal
695 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
698 values of ea and eb and sort them after adjusting subnormal
700 * math/auto-libm-test-in: Do not expect some hypot tests of
701 subnormals to fail. Add more hypot tests.
702 * math/auto-libm-test-out: Regenerated.
704 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
707 * sysdeps/sh/s_fma.c: New file.
708 * sysdeps/sh/s_fmaf.c: New file.
709 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
711 * sysdeps/sh/Implies: Add sh/soft-fp.
713 2013-12-16 Roland McGrath <roland@hack.frob.com>
715 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
716 level of indirection to members `objname', `errstring', `malloced'.
717 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
718 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
719 it as the __longjmp argument (just pass 1 instead).
720 (_dl_catch_error): Initialize C with argument pointers and address of
721 volatile local ERRCODE rather than copying values out of C at return.
723 2013-12-16 Joseph Myers <joseph@codesourcery.com>
725 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
726 * math/auto-libm-test-out: Regenerated.
727 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
728 (hypot_test_data): Likewise.
729 (pow_test_data): Likewise.
730 (pow_tonearest_test_data): Likewise.
731 * math/gen-auto-libm-tests.c (func_calc_method): Add value
733 (func_calc_desc): Add mpfr_ff_f union field.
734 (FUNC_mpfr_ff_f): New macro.
735 (test_functions): Add atan2, hypot and pow.
736 (special_fill_min): New function.
737 (special_fill_minus_min): Likewise.
738 (special_fill_min_subnorm): Likewise.
739 (special_fill_minus_min_subnorm): Likewise.
740 (special_real_inputs): Add min, -min, min_subnorm and
742 (calc_generic_results): Handle mpfr_ff_f.
743 * sysdeps/i386/fpu/libm-test-ulps: Update.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
746 2013-12-16 Will Newton <will.newton@linaro.org>
748 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
749 (Aligned Memory Blocks): Add documentation for aligned_alloc
750 and suggest it as an alternative to posix_memalign.
751 (Hooks for Malloc): Document __memalign_hook is also called
752 for aligned_alloc. (Summary of Malloc): Add summary for
753 aligned alloc. Document __memalign_hook is also called
756 2013-12-16 Will Newton <will.newton@linaro.org>
758 * manual/memory.texi (Malloc Examples): Clarify default
759 alignment documentation. Suggest posix_memalign rather
760 than memalign or valloc.
761 (Aligned Memory Blocks): Remove suggestion to use memalign
762 or valloc. Remove obsolete comment about BSD.
763 Document memalign errno values and mark the function obsolete.
764 Document posix_memalign returned error codes. Mark valloc
765 as obsolete. (Hooks for Malloc): __memalign_hook is also
766 called for posix_memalign and valloc.
767 (Summary of Malloc): Add posix_memalign to function summary.
768 __memalign_hook is also called for posix_memalign and valloc.
770 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
772 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
776 (sloww): Use mynumber union. Expand ternary operator into
778 (cslow): use mynumber union.
780 2013-12-16 Allan McRae <allan@archlinux.org>
782 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
783 * configure: Regenerated.
785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
788 * configure.ac: Added --enable-maintainer-mode. Check for
789 autoconf when enabled.
790 * configure: Regenerated.
792 * nscd/nscd.service: New file.
793 * nscd/nscd.tmpfiles: New file.
795 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
798 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
799 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
800 * sysdeps/x86_64/multiarch/strstr.c: ... here.
801 (strstr): Add __strstr_sse2_unaligned ifunc.
802 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
803 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
804 (strcasestr): Remove __strcasestr_sse42 ifunc.
805 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
809 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
811 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
812 * sysdeps/sh/bits/fenv.h: ... here.
813 * sysdeps/sh/sh4/fpu/bits: Remove directory.
815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
819 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
822 hypotf multiarch implementations.
823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
825 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
826 multiarch hypot for PPC64.
827 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
830 multiarch hypotf for PPC64.
832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
835 modff multiarch implementations.
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
839 multiarch modf for PPC64.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
843 multiarch modff for PPC64.
845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
848 and logl multiarch implementations.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
852 multiarch logb for PPC64.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
856 multiarch logb for PPC64.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
860 multiarch logb for PPC64.
862 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
865 isinff multiarch implementation.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
870 multiarch isinf for PPC64.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
874 multiarch isinff for PPC64.
876 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
879 finitef multiarch implementation.
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
884 multiarch finite for PPC64.
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
888 multiarch finitef for PPC64.
890 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
893 lrint multiarch implementation.
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
898 multiarch llrint for PPC64.
899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
900 multiarch lrint for PPC64.
902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
905 copysignf multiarch implementation.
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
911 multiarch copysign for PPC64.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
913 multiarch copysignf for PPC64.
915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
918 multiarch implementation.
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
927 multiarch llround for PPC64.
928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
929 multiarch trunc for PPC64.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
931 multiarch truncf for PPC64.
933 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
936 multiarch implementation.
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
945 multiarch llround for PPC64.
946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
947 multiarch round for PPC64.
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
949 multiarch roundf for PPC64.
951 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
954 multiarch implementation.
955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
963 multiarch llround for PPC64.
964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
965 multiarch floor for PPC64.
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
967 multiarch floorf for PPC64.
969 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
972 multiarch implementation.
973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
981 multiarch llround for PPC64.
982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
983 multiarch ceil for PPC64.
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
985 multiarch ceilf for PPC64.
987 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
990 multiarch implementation.
991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
998 multiarch llround for PPC64.
999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1000 multiarch lround for PPC64.
1002 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1005 multiarch implementation.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1013 multiarch isnan for PPC64.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1015 multiarch isnanf for PPC64.
1017 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1020 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1021 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1022 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1023 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1026 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1033 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1036 multiarch implementations.
1037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1038 (__libc_ifunc_impl_list): Likewise.
1039 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1042 multiarch stpcpy for PPC64.
1044 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1047 multiarch implementations.
1048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1049 (__libc_ifunc_impl_list): Likewise.
1050 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1051 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1052 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1053 multiarch strcpy for PPC64.
1055 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1058 redefine function name.
1059 (_wordcopy_fwd_dest_aligned): Likewise.
1060 (_wordcopy_bwd_aligned): Likewise.
1061 (_wordcopy_bwd_dest_aligned): Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1063 multiarch implementations.
1064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Likewise.
1066 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1067 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1068 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1069 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1070 multiarch wcscpy for PPC64.
1072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1075 multiarch implementations.
1076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1077 (__libc_ifunc_impl_list): Likewise.
1078 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1081 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1082 multiarch wcscpy for PPC64.
1084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1087 multiarch implementations.
1088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1089 (__libc_ifunc_impl_list): Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1091 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1092 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1094 multiarch wcsrchr for PPC64.
1096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1099 multiarch implementations.
1100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1101 (__libc_ifunc_impl_list): Likewise.
1102 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1103 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1104 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1105 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1106 multiarch wcschr for PPC64.
1108 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1111 multiarch implementations.
1112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1113 (__libc_ifunc_impl_list): Likewise.
1114 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1115 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1116 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1117 multiarch strchrnul for PPC64.
1119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1124 (__libc_ifunc_impl_list): Likewise.
1125 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1126 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1127 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1136 (__libc_ifunc_impl_list): Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1138 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1139 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1143 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1146 multiarch implementations.
1147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1148 (__libc_ifunc_impl_list): Likewise.
1149 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1150 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1151 strncasecmp for PPC64.
1152 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1153 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1154 multiarch strncasecmp_l for PPC64.
1156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1159 multiarch implementations.
1160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1161 (__libc_ifunc_impl_list): Likewise.
1162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1164 multiarch strcasecmp for PPC64.
1165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1167 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1168 multiarch strcasecmp_l for PPC64.
1170 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1175 (__libc_ifunc_impl_list): Likewise.
1176 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1177 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1178 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1181 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1186 (__libc_ifunc_impl_list): Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1188 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1189 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1192 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1197 (__libc_ifunc_impl_list): Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1199 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1200 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1201 rawmemrchr for PPC64.
1203 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1208 (__libc_ifunc_impl_list): Likewise.
1209 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1210 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1211 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1214 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1219 (__libc_ifunc_impl_list): Likewise.
1220 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1221 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1222 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1225 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1230 (__libc_ifunc_impl_list): Likewise.
1231 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1232 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1233 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1236 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1238 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1239 avoid cretion of __bzero symbol.
1240 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1242 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1244 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1247 multiarch implementations.
1248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1249 (__libc_ifunc_impl_list): Likewise.
1250 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1251 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1253 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1255 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1256 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1257 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1258 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1259 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1261 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1263 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1265 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1269 (__libc_ifunc_impl_list): Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1272 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1273 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1279 multiarch for POWER/PPC64.
1280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1287 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1288 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1291 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1294 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1295 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1296 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1297 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1298 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1299 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1300 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1301 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1302 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1303 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1304 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1305 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1306 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1307 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1316 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1318 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1320 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1322 * benchtests/Makefile (bench): Add exp2 and log2.
1323 (LDLIBS-bench-exp2): Add -lm.
1324 (LDLIBS-bench-log2): Likewise.
1325 * benchtests/exp2-inputs: New inputs file.
1326 * benchtests/log2-inputs: New inputs file.
1327 * benchtests/log-inputs: Add new inputs.
1328 * benchtests/tan-inputs: Likewise.
1330 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1332 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1334 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1335 csloww1, csloww2): ... from here.
1337 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1338 instead of structures.
1339 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1340 (POLYNOMIAL): Likewise.
1341 (TAYLOR_SLOW): Likewise.
1349 (bsloww1): Likewise.
1350 (bsloww2): Likewise.
1353 (csloww1): Likewise.
1354 (csloww2): Likewise.
1356 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1358 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1359 (__malloc_assert, __libc_realloc, __libc_calloc,
1360 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1362 * malloc/hooks.c (realloc_check): Likewise.
1364 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1366 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1367 * malloc/arena.c: Remove PER_THREAD conditional.
1368 [!PER_THREAD]: Remove code.
1369 (ptmalloc_unlock_all2): Likewise.
1370 (ptmalloc_init): Likewise.
1371 (_int_new_arena): Likewise.
1372 (arena_get2): Likewise.
1373 * malloc/hooks.c (__malloc_get_state): Likewise.
1374 (__malloc_set_state): Likewise.
1375 * malloc/malloc.c: Likewise.
1376 (struct malloc_state): Likewise.
1377 (struct malloc_par): Likewise.
1378 (__libc_realloc): Likewise.
1379 (__libc_mallopt): Likewise.
1381 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1385 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1387 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1388 macro to a function. Check for zero perturb_byte.
1389 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1391 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1393 * malloc/malloc.c: (force_reg): Remove.
1394 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1395 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1396 force_reg by atomic_forced_read.
1397 * malloc/arena.c (ptmalloc_init): Likewise.
1398 * malloc/hooks.c (top_check): Likewise.
1400 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1404 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1408 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1410 * math/auto-libm-test-in: Add tests of lgamma.
1411 * math/auto-libm-test-out: Regenerated.
1412 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1413 (M_LOG_2_SQRT_PIl): Likewise.
1414 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1415 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1417 (func_calc_desc): Add mpfr_f_f1 union field.
1426 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1427 (test_functions): Add lgamma.
1428 (calc_generic_results): Handle mpfr_f_f1.
1429 * sysdeps/i386/fpu/libm-test-ulps: Update.
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1434 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1435 __mpn_add_n for PowerPC64/POWER7.
1436 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1437 __mpn_sub_n for PowerPC64/POWER7.
1439 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1442 __mpn_addmul_1 for PowerPC64.
1443 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1444 __mpn_submul_1 for PowerPC64.
1445 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1447 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1450 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1453 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1459 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1462 add multiarch folders.
1463 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1464 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1465 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1466 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1467 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1468 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1469 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1470 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1471 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1472 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1473 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1481 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1484 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1490 multiarch __ieee754_hypot for PowerPC32.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1496 multiarch __ieee754_hypotf for PowerPC32.
1498 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1501 long_double_symbol only if __logbl is defined.
1502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1503 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1505 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1507 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1509 path for implementation.
1510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1513 logb, and logbl multiarch implementations for PowerPC32.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1519 multiarch logb for PowerPC32.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1525 multiarch logbf for PowerPC32.
1526 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1530 multiarch logbl implementation for PowerPC32.
1532 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1535 and modff multiarch implementations.
1536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1541 multiarch modf for PowerPC32.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1547 multiarch modff for PowerPC32.
1549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1552 and lrintf multiarch implementations.
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1558 multiarch lrint for PowerPC32.
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1560 file: multiarch lrintf for PowerPC32.
1562 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1565 and lroundf multiarch implementations.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1573 multiarch lround for PowerPC32.
1574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1575 file: multiarch lroundf for PowerPC32.
1577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1580 copysign and copysignf multiarch implementations.
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1586 file: multiarch copysign for PowerPC32.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1588 file: multiarch copysignf for PowerPC32.
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1593 and truncf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1599 multiarch trunc for PowerPC32.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1605 multiarch truncf for PowerPC32.
1607 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1610 and roundf multiarch implementations.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1616 multiarch round for PowerPC32.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1622 multiarch roundf for PowerPC32.
1624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1627 and floorf multiarch implementations.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1633 multiarch floor for PowerPC32.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1639 multiarch floorf for PowerPC32.
1641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1644 and ceilf multiarch implementations.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1650 multiarch ceil for PowerPC32.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1656 multiarch ceilf for PowerPC32.
1658 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1662 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1665 and finitef multiarch implementations.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1671 multiarch finite for PowerPC32.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1675 file: multiarch finitef for PowerPC32.
1677 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1680 and isinff multiarch implementations.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1686 multiarch isinf for PowerPC32.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1690 multiarch isinff for PowerPC32.
1692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1695 alias when __isnan is defined.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1697 and isnanf multiarch implementations.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1707 multiarch isnan for PowerPC32.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1713 multiarch isnanf for PowerPC32.
1715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1718 and sqrtf multiarch implementations.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1724 multiarch sqrt for PowerPC32.
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1730 multiarch sqrtf for PowerPC32.
1732 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1735 and llroundf multiarch implementations.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1743 file: multiarch llround for PowerPC32.
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1745 file: multiarch llroundf for PowerPC32.
1747 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1750 multiarch PowerPC32 fpu implementations.
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1756 multiarch llrint for PowerPC32.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1764 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1768 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1772 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1774 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1776 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1777 multiarch wordcopy for PPC32.
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1781 (__libc_ifunc_impl_list): Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1783 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1785 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1786 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1787 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1789 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1799 multiarch wcscpy for PPC32.
1800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1803 (__libc_ifunc_impl_list): Likewise.
1804 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1805 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1806 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1807 sysdeps/powerpc/power6/wcscpy.c.
1809 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1819 multiarch wcsrchr for PPC32.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1823 (__libc_ifunc_impl_list): Likewise.
1824 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1825 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1826 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1827 sysdeps/powerpc/power6/wcsrchr.c.
1829 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1837 multiarch wcschr for PPc32.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1841 (__libc_ifunc_impl_list): Likewise.
1842 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1843 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1844 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1845 sysdeps/powerpc/power6/wcschr.c.
1847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1853 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1854 file: multiarch strchr for PPC32.
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1858 (__libc_ifunc_impl_list): Likewise.
1860 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1864 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1869 multiarch strchrnul for PPC32.
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1873 (__libc_ifunc_impl_list): Likewise.
1875 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1880 multiarch strncasecmp for PPC32.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1884 multiarch strncasecmp_l for PPC32.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1886 strncasecmp multiarch objects.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1888 (__libc_ifunc_impl_list): Likewise.
1890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1895 multiarch strncasecmp for PPC32.
1896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1899 multiarch strcasecmp_l for PPC32.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1903 (__libc_ifunc_impl_list): Likewise.
1905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1912 multiarch strncmp for PPC32.
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1916 (__libc_ifunc_impl_list): Likewise.
1918 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1921 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1928 (__libc_ifunc_impl_list): Likewise.
1930 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1940 (__libc_ifunc_impl_list): Likewise.
1942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1949 multiarch rawmemchr for PPC32.
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1953 (__libc_ifunc_impl_list): Likewise.
1955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1962 file: memrchr multiarch for PPC32.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1966 (__libc_ifunc_impl_list): Likewise.
1968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1971 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1973 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1975 multiarch memchr for PPC32.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1979 (__libc_ifunc_impl_list): Likewise.
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1989 file: multiarch mempcpy for PPC32.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1993 (__libc_ifunc_impl_list): Likewise.
1995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2001 multiarch bzero for PPC32.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2007 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2008 file: multiarch memset for PPC32.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2011 memset multiarch objects.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2013 (__libc_ifunc_impl_list): Likewise.
2015 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2039 multiarch memcpy for PPC32.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2043 (__libc_ifunc_impl_list): Likewise.
2045 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2048 support multiarch for POWER/PPC32.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2053 Implies file to make multiarch folder appers before the fpu and
2054 default folder for power4 configuration.
2056 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2058 * scripts/bench.pl: Append volatile keyword to type.
2060 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2062 * sysdeps/sh/sotruss-lib.c: New file.
2063 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2065 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2069 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2072 * math/w_tgamma.c: Include <errno.h>.
2073 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2074 * math/w_tgammaf.c: Include <errno.h>.
2075 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2076 * math/w_tgammal.c: Include <errno.h>.
2077 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2078 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2079 underflow. Add more tgamma tests.
2080 * math/auto-libm-test-out: Regenerated.
2081 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2084 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2085 sin, sinh, tan, tanh, tgamma, y0 and y1.
2086 * math/auto-libm-test-out: Regenerated.
2087 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2088 (TEST_COND_x86): Likewise.
2089 (M_E2l): Remove macro.
2091 (M_2_SQRT_PIl): Likewise.
2092 (M_SQRT_PIl): Likewise.
2093 (M_1_DIV_El): Likewise.
2094 (log_test_data): Use AUTO_TESTS_f_f.
2095 (log10_test_data): Likewise.
2096 (log1p_test_data): Likewise.
2097 (log2_test_data): Likewise.
2098 (sin_test_data): Likewise.
2099 (sin_tonearest_test_data): Likewise.
2100 (sin_towardzero_test_data): Likewise.
2101 (sin_downward_test_data): Likewise.
2102 (sin_upward_test_data): Likewise.
2103 (sinh_test_data): Likewise.
2104 (sinh_tonearest_test_data): Likewise.
2105 (sinh_towardzero_test_data): Likewise.
2106 (sinh_downward_test_data): Likewise.
2107 (sinh_upward_test_data): Likewise.
2108 (tan_test_data): Likewise.
2109 (tan_tonearest_test_data): Likewise.
2110 (tan_towardzero_test_data): Likewise.
2111 (tan_downward_test_data): Likewise.
2112 (tan_upward_test_data): Likewise.
2113 (tanh_test_data): Likewise.
2114 (tgamma_test_data): Likewise.
2115 (y0_test_data): Likewise.
2116 (y1_test_data): Likewise.
2117 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2118 (special_real_inputs): Add pi/4.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2122 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2124 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2125 "longjmp_target" static probes.
2126 (__longjmp): Rename to __longjmp_symbol.
2127 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2128 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2129 on which longjmp to generate.
2130 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2131 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2133 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2134 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2135 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2136 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2137 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2138 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2140 __longjmp_symbol based on which __longjmp to generate.
2141 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2143 (setjmp): Rename to setjmp_symbol.
2144 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2145 (_setjmp): Rename to _setjmp_symbol.
2146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2147 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2148 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2149 which setjmp to generate.
2150 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2151 "longjmp_target" static probes.
2153 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2155 * benchtests/README: Add note about output arguments.
2156 * benchtests/bench-sincos.c: Remove file.
2157 * benchtests/sincos-inputs: New file.
2158 * scripts/bench.pl: Identify output arguments and define
2159 static variables for them.
2161 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2164 * Makefile (INSTALL): Add install-plain.texi as the primary
2166 * manual/install-plain.texi: New file.
2167 * manual/install.texi: Include node directive only for
2168 non-plaintext output.
2170 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2172 * stdlib/longlong.h: Update from GCC.
2176 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2177 * math/w_j0f.c (y0f): Likewise.
2178 * math/w_j0l.c (__y0l): Likewise.
2179 * math/w_j1.c (y1): Likewise.
2180 * math/w_j1f.c (y1f): Likewise.
2181 * math/w_j1l.c (__y1l): Likewise
2182 * math/w_jn.c (yn): Likewise.
2183 * math/w_jnf.c (ynf): Likewise.
2184 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2185 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2186 value for Bessel function domain errors outside _SVID_ mode.
2187 Adjust sign of return value for yn (negative integer, 0).
2188 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2189 by zero in return for negative x and set sign appropriately for
2191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2192 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2193 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2194 expectations in error cases.
2195 (y1_test_data): Likewise.
2196 (yn_test_data): Likewise.
2197 * sysdeps/i386/fpu/libm-test-ulps: Update.
2198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2200 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2202 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2203 "64" to "64-v1". Add "64-v2".
2204 (abi-64-options): Rename to ...
2205 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2206 (abi-64-condition): Rename to ...
2207 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2208 (abi-64-ld-soname): Rename to ...
2209 (abi-64-v1-ld-soname): ... this.
2210 (abi-64-v2-options): Define.
2211 (abi-64-v2-condition): Likewise.
2212 (abi-64-v2-ld-soname): Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2214 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2219 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2220 Alan Modra <amodra@gmail.com>
2222 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2223 New versions for use with the ELFv2 ABI.
2224 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2225 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2227 (struct La_ppc64v2_retval): Likewise.
2228 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2229 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2230 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2231 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2232 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2233 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2234 Do not save or restore CR.
2235 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2236 (_dl_profile_resolve): Do no save or restore CR. Support extended
2237 return values for ELFv2 ABI. Fix location of FPR return registers.
2238 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2239 updated values for _CALL_ELF == 2.
2240 (La_regs, La_retval, int_retval): Likewise.
2242 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2244 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2245 (FRAME_MIN_SIZE_PARM): Likewise.
2246 (FRAME_BACKCHAIN): Likewise.
2247 (FRAME_CR_SAVE): Likewise.
2248 (FRAME_LR_SAVE): Likewise.
2249 (FRAME_TOC_SAVE): Likewise.
2250 (FRAME_PARM_SAVE): Likewise.
2251 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2252 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2253 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2254 (call_mcount_parm_offset): New macro.
2255 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2256 (PROF): Use symbolic stack frame offsets.
2257 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2259 Redefine in terms of FRAME_MIN_SIZE.
2260 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2261 (_dl_profile_resolve): Likewise. Update comment.
2262 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2263 symbols stack frame offsets.
2264 (__sigsetjmp): Likewise.
2265 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2266 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2267 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2268 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2271 (FRAME_BACKCHAIN): Remove.
2272 (FRAME_CR_SAVE): Likewise.
2273 (FRAME_LR_SAVE): Likewise.
2274 (FRAME_COMPILER_DW): Likewise.
2275 (FRAME_LINKER_DW): Likewise.
2276 (FRAME_TOC_SAVE): Likewise.
2277 (FRAME_PARM_SAVE): Likewise.
2278 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2279 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2280 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2282 (CHECK_SP): Use symbolic stack frame offsets.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2284 zone" instead of caller's parameter save area for temp storage.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2286 Likewise. Also, use symbolic stack frame offsets.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2288 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2289 our own stack frame instead of the caller's.
2290 (__socket): Use symbolic stack frame offsets.
2292 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2293 Alan Modra <amodra@gmail.com>
2295 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2297 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2298 PPC64_LOCAL_ENTRY_OFFSET): Define.
2299 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2301 (elf_machine_fixup_plt): Call it.
2302 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2304 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2305 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2306 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2307 r2 before calling target.
2309 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2310 Alan Modra <amodra@gmail.com>
2312 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2313 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2314 versions of macros to support ELFv2 ABI.
2315 (LOCALENTRY): New macro.
2316 (ENTRY, EALIGN): Use it.
2317 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2318 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2319 fall through into ENTRY entry point.
2320 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2321 Only define if _CALL_ELF != 2.
2323 (elf_machine_matches_host): Verify ABI version matches.
2324 (RTLD_START): Use LOCALENTRY.
2325 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2326 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2327 (PLT_ENTRY_WORDS): New macro.
2328 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2329 (elf_machine_runtime_setup): Support ELFv2 ABI.
2330 (elf_machine_fixup_plt): Likewise.
2331 (elf_machine_plt_conflict): Likewise.
2332 (resolve_ifunc): Likewise.
2333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2337 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2339 (makecontext): Support ELFv2 ABI.
2340 * elf/elf.h (EF_PPC64_ABI): Define.
2342 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2344 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2345 New assembler macro.
2346 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2347 [ASSEMBLER] (ENTRY): ... but instead here ...
2348 [ASSEMBLER] (EALIGN): ... and here.
2349 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2350 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2351 [!ASSEMBLER] (ENTRY_2): Use it.
2352 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2353 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2355 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2356 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2358 Use PPC64_LOAD_FUNCPTR.
2360 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2362 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2364 2013-12-04 Alan Modra <amodra@gmail.com>
2366 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2367 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2368 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2369 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2372 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2373 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2374 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2375 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2376 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2381 (__makecontext): Fix incorrect CFI when backtracing out of
2382 context created via makecontext.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2384 (__setcontext): Fix incorrect CFI during switch to new context.
2385 (__novec_setcontext): Likewise.
2387 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2390 * time/strptime_l.c (__strptime_internal): Allow modifiers
2392 * time/tst-strptime.c (day_tests): Add testcase.
2395 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2397 * scripts/bench.pl: Skip over blank lines.
2399 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2402 * manual/time.texi (Calendar Time): Clarify what timezone functions
2405 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2409 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2411 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2413 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2414 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2415 * debug/memset_chk.c (__memset_chk): Likewise.
2416 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2417 * debug/strncpy_chk.c: Likewise.
2419 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2423 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2424 (__ieee754_exp): For possibly underflowing results, check size of
2425 result and force underflow exception if required.
2426 * math/auto-libm-test-in: Add more tests of exp.
2427 * math/auto-libm-test-out: Regenerated.
2428 * sysdeps/i386/fpu/libm-test-ulps: Update.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2432 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2433 * math/w_exp2f.c (__exp2f): Likewise.
2434 * math/w_exp2l.c (__exp2l): Likewise.
2435 * math/auto-libm-test-in: Do not allow missing errno on exp2
2437 * math/auto-libm-test-out: Regenerated.
2439 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2442 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2443 handle filename validation.
2444 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2447 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2450 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2451 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2452 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2454 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2456 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2458 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2460 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2461 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2462 Add more erfc tests.
2463 * math/auto-libm-test-out: Regenerated.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2467 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2468 exp2, expm1, j0 and j1.
2469 * math/auto-libm-test-out: Regenerated.
2470 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2471 (erfc_test_data): Likewise.
2472 (exp_test_data): Likewise.
2473 (exp_tonearest_test_data): Likewise.
2474 (exp_towardzero_test_data): Likewise.
2475 (exp_downward_test_data): Likewise.
2476 (exp_upward_test_data): Likewise.
2477 (exp10_test_data): Likewise.
2478 (exp2_test_data): Likewise.
2479 (expm1_test_data): Likewise.
2480 (j0_test_data): Likewise.
2481 (j1_test_data): Likewise.
2482 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2483 (input_flag_type): Add flag_xfail_rounding.
2484 (input_flags): Add xfail-rounding.
2485 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2486 (output_for_one_input_case): Handle flag_xfail_rounding.
2487 * sysdeps/i386/fpu/libm-test-ulps: Update.
2488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2490 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2493 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2496 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2499 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2500 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2501 (STAP_PROBE0): New macro.
2502 (STAP_PROBE1): Likewise.
2503 (STAP_PROBE2): Likewise.
2504 (STAP_PROBE3): Likewise.
2505 (STAP_PROBE4): Likewise.
2507 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2509 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2511 2013-12-02 Steve Ellcey <sellcey@mips.com>
2513 * benchtests/Makefile (bench): Add sqrt.
2514 (LDLIBS-bench-sqrt): New.
2515 * benchtests/sqrt-input: New.
2517 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2519 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2520 (GAIH_EAI): Likewise.
2521 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2522 (gaih_inet): Likewise.
2523 (getaddrinfo): Don't use GAIH_EAI.
2525 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2526 (struct gaih): Remove definition.
2528 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2530 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2531 Use HERRNOP directly.
2533 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2537 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2539 * math/gen-auto-libm-tests.c (test_functions): Add more
2540 single-argument functions.
2541 (special_fill_pi_2): New function.
2542 (special_fill_minus_pi_2): Likewise.
2543 (special_fill_pi_6): Likewise.
2544 (special_fill_minus_pi_6): Likewise.
2545 (special_fill_pi_3): Likewise.
2546 (special_fill_2pi_3): Likewise.
2547 (special_fill_e): Likewise.
2548 (special_fill_1_e): Likewise.
2549 (special_fill_e_minus_1): Likewise.
2550 (special_real_inputs): Add more special inputs.
2551 (output_for_one_input_case): Do not require ERANGE on underflow to
2552 zero if round-to-nearest result does not underflow to zero, unless
2553 exact results required.
2554 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2555 atan, atanh, cbrt, cos and cosh.
2556 * math/auto-libm-test-out: Regenerated.
2557 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2558 (acos_tonearest_test_data): Likewise.
2559 (acos_towardzero_test_data): Likewise.
2560 (acos_downward_test_data): Likewise.
2561 (acos_upward_test_data): Likewise.
2562 (acosh_test_data): Likewise.
2563 (asin_test_data): Likewise.
2564 (asin_tonearest_test_data): Likewise.
2565 (asin_towardzero_test_data): Likewise.
2566 (asin_upward_test_data): Likewise.
2567 (asinh_test_data): Likewise.
2568 (atan_test_data): Likewise.
2569 (atanh_test_data): Likewise.
2570 (cbrt_test_data): Likewise.
2571 (cos_test_data): Likewise.
2572 (cos_tonearest_test_data): Likewise.
2573 (cos_towardzero_test_data): Likewise.
2574 (cos_downward_test_data): Likewise.
2575 (cos_upward_test_data): Likewise.
2576 (cosh_test_data): Likewise.
2577 (cosh_tonearest_test_data): Likewise.
2578 (cosh_towardzero_test_data): Likewise.
2579 (cosh_downward_test_data): Likewise.
2580 (cosh_upward_test_data): Likewise.
2581 * sysdeps/i386/fpu/libm-test-ulps: Update.
2582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2587 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2588 * math/w_exp10f.c (__exp10f): Likewise.
2589 * math/w_exp10l.c (__exp10l): Likewise.
2590 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2591 errno settings in existing tests.
2594 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2595 precision control set to double precision.
2596 * sysdeps/i386/fpu/w_sqrt.c: New file.
2597 * math/auto-libm-test-in: Add more tests.
2598 * math/auto-libm-test-out: Update.
2600 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2601 (sqrt_test_tonearest): New function.
2602 (sqrt_towardzero_test_data): New variable.
2603 (sqrt_test_towardzero): New function.
2604 (sqrt_downward_test_data): New variable.
2605 (sqrt_test_downward): New function.
2606 (sqrt_upward_test_data): New variable.
2607 (sqrt_test_upward): New function.
2608 (main): Call the new functions.
2610 * math/gen-auto-libm-tests.c: New file.
2611 * math/auto-libm-test-in: Likewise.
2612 * math/auto-libm-test-out: New generated file.
2613 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2615 (%beautify): Add generated representations of zero.
2616 (top level): Set $auto_input and call parse_auto_input.
2617 (beautify): Remove trailing "f" from hex float constants.
2618 (parse_args): Handle XFAIL_TEST.
2619 (convert_condition): New function.
2620 (or_value): Likewise.
2621 (or_cond_value): Likewise.
2622 (generate_testfile): Handle AUTO_TESTS_* lines.
2623 (parse_auto_input): New function.
2624 * math/libm-test.inc (XFAIL_TEST): New macro.
2625 (ERRNO_UNCHANGED): Update value.
2626 (ERRNO_EDOM): Likewise.
2627 (ERRNO_ERANGE): Likewise.
2628 (IGNORE_RESULT): Likewise.
2629 (TEST_COND_flt_32): New macro.
2630 (TEST_COND_dbl_64): Likewise.
2631 (TEST_COND_ldbl_96_intel): Likewise.
2632 (TEST_COND_ldbl_96_m68k): Likewise.
2633 (TEST_COND_ldbl_128): Likewise.
2634 (TEST_COND_ldbl_128ibm): Likewise.
2635 (TEST_COND_long32): Likewise.
2636 (TEST_COND_long64): Likewise.
2637 (TEST_COND_before_rounding): Likewise.
2638 (TEST_COND_after_rounding): Likewise.
2639 (enable_test): Handle XFAIL_TEST flag.
2640 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2641 with finite results.
2642 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2645 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2646 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2649 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2650 __tls_get_addr_internal instead of __tls_get_offset in order to
2651 avoid GOT pointer dependency. Make rtld export
2652 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2653 __tls_get_addr since we are a __tls_get_offset platform.
2654 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2655 GOT pointer being set up before.
2656 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2658 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2660 * manual/math.texi (Errors in Math Functions): Document accuracy
2664 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2665 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2668 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2670 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2674 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2675 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2676 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2677 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2678 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2679 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2681 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2682 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2683 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2684 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2685 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2687 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2689 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2691 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2692 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2693 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2694 atomic-feupdateenv and flt-rounds.
2695 * sysdeps/powerpc/nofpu/Versions (libc): Add
2696 __atomic_feholdexcept, __atomic_feclearexcept,
2697 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2698 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2699 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2700 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2701 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2706 * manual/arith.texi (FP Exceptions): Document that exceptions may
2707 not be raised when matherr is used.
2708 (Math Error Reporting): Document overflow in directed rounding
2709 modes. Document that errno may not be set when finite values are
2710 returned on overflow. Document intent to set errno on underflow
2711 only for underflow to zero.
2714 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2715 round-to-nearest then adjust result for other rounding modes.
2716 * include/fenv.h (fegetround): Use libm_hidden_proto.
2717 * math/fegetround.c (fegetround): Use libm_hidden_def.
2718 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2719 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2720 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2721 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2723 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2724 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2725 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2726 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2728 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2731 * nss/Versions (libnss_files): Add
2732 _nss_files_gethostbyname3_r.
2733 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2735 (HOST_DB_LOOKUP): Remove macro.
2736 (_nss_files_gethostbyname_r): Implement function without the
2737 HOST_DB_LOOKUP macro.
2738 (_nss_files_gethostbyname2_r): Likewise.
2740 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2742 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2744 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2746 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2747 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2750 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2753 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2754 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2755 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2756 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2757 __fe_nomask_env_priv and attribute_hidden.
2758 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2759 (libc_feupdateenv_test_ppc): Likewise.
2760 (libc_feresetround_ppc): Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2762 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2763 compat_symbol macro.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2765 (__fe_nomask_env): Likewise.
2766 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2768 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2770 * string/Makefile: Remove ifunc tests.
2771 * string/test-string.h: Define TEST_IFUNC.
2772 * string/test-bcopy-ifunc.c: Remove.
2773 * string/test-bzero-ifunc.c: Likewise.
2774 * string/test-memccpy-ifunc.c: Likewise.
2775 * string/test-memchr-ifunc.c: Likewise.
2776 * string/test-memcmp-ifunc.c: Likewise.
2777 * string/test-memcpy-ifunc.c: Likewise.
2778 * string/test-memmem-ifunc.c: Likewise.
2779 * string/test-memmove-ifunc.c: Likewise.
2780 * string/test-mempcpy-ifunc.c: Likewise.
2781 * string/test-memrchr-ifunc.c: Likewise.
2782 * string/test-memset-ifunc.c: Likewise.
2783 * string/test-rawmemchr-ifunc.c: Likewise.
2784 * string/test-stpcpy-ifunc.c: Likewise.
2785 * string/test-stpncpy-ifunc.c: Likewise.
2786 * string/test-strcasecmp-ifunc.c: Likewise.
2787 * string/test-strcasestr-ifunc.c: Likewise.
2788 * string/test-strcat-ifunc.c: Likewise.
2789 * string/test-strchr-ifunc.c: Likewise.
2790 * string/test-strchrnul-ifunc.c: Likewise.
2791 * string/test-strcmp-ifunc.c: Likewise.
2792 * string/test-strcpy-ifunc.c: Likewise.
2793 * string/test-strcspn-ifunc.c: Likewise.
2794 * string/test-strlen-ifunc.c: Likewise.
2795 * string/test-strncasecmp-ifunc.c: Likewise.
2796 * string/test-strncat-ifunc.c: Likewise.
2797 * string/test-strncmp-ifunc.c: Likewise.
2798 * string/test-strncpy-ifunc.c: Likewise.
2799 * string/test-strnlen-ifunc.c: Likewise.
2800 * string/test-strpbrk-ifunc.c: Likewise.
2801 * string/test-strrchr-ifunc.c: Likewise.
2802 * string/test-strspn-ifunc.c: Likewise.
2803 * string/test-strstr-ifunc.c: Likewise.
2805 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2807 * benchtests/Makefile: Remove ifunc tests.
2808 * benchtests/bench-string.h: Define TEST_IFUNC.
2809 * benchtests/bench-bcopy-ifunc.c: Remove.
2810 * benchtests/bench-bzero-ifunc.c: Likewise.
2811 * benchtests/bench-memccpy-ifunc.c: Likewise.
2812 * benchtests/bench-memchr-ifunc.c: Likewise.
2813 * benchtests/bench-memcmp-ifunc.c: Likewise.
2814 * benchtests/bench-memcpy-ifunc.c: Likewise.
2815 * benchtests/bench-memmem-ifunc.c: Likewise.
2816 * benchtests/bench-memmove-ifunc.c: Likewise.
2817 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2818 * benchtests/bench-memrchr-ifunc.c: Likewise.
2819 * benchtests/bench-memset-ifunc.c: Likewise.
2820 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2821 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2822 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2823 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2824 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2825 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2826 * benchtests/bench-strcat-ifunc.c: Likewise.
2827 * benchtests/bench-strchr-ifunc.c: Likewise.
2828 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2829 * benchtests/bench-strcmp-ifunc.c: Likewise.
2830 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2831 * benchtests/bench-strcpy-ifunc.c: Likewise.
2832 * benchtests/bench-strcspn-ifunc.c: Likewise.
2833 * benchtests/bench-strlen-ifunc.c: Likewise.
2834 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2835 * benchtests/bench-strncat-ifunc.c: Likewise.
2836 * benchtests/bench-strncmp-ifunc.c: Likewise.
2837 * benchtests/bench-strncpy-ifunc.c: Likewise.
2838 * benchtests/bench-strnlen-ifunc.c: Likewise.
2839 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2840 * benchtests/bench-strrchr-ifunc.c: Likewise.
2841 * benchtests/bench-strsep-ifunc.c: Likewise.
2842 * benchtests/bench-strspn-ifunc.c: Likewise.
2843 * benchtests/bench-strstr-ifunc.c: Likewise.
2845 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2847 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2849 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2851 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2852 * rt/aio.h: Likewise.
2853 * sysdeps/gnu/bits/utmp.h: Likewise.
2854 * sysdeps/gnu/bits/utmpx.h: Likewise.
2855 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2856 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2857 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2858 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2859 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2860 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2861 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2862 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2870 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2871 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2872 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2873 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2874 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2875 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2876 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2877 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2888 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2890 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2891 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2892 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2893 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2894 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2895 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2896 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2898 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2901 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2902 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2904 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2910 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2913 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2914 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2915 (__fesetround): Remove define.
2916 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2917 rounding and exceptions handling.
2918 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2919 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2920 (__fe_nomask_env): Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2922 __fegetround instead of fegetround.
2923 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2926 2013-11-21 Roland McGrath <roland@hack.frob.com>
2928 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2931 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2933 2013-11-21 Meador Inge <meadori@codesourcery.com>
2936 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2937 (encrypt_r): Likewise.
2938 * malloc/obstack.h (obstack_free): Likewise.
2939 * posix/unistd.h (encrypt): Likewise.
2941 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2943 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2944 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2945 DL_CALL_DT_FINI() that call the functions directly.
2946 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2947 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2948 * elf/dl-fini.c: Likewise.
2950 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2952 * malloc/hooks.c (memalign_check): Add alignment rounding.
2953 * malloc/malloc.c (_mid_memalign): New function.
2954 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2955 Implement by calling _mid_memalign.
2956 * manual/probes.texi (Memory Allocation Probes): Remove
2957 memory_valloc_retry and memory_pvalloc_retry.
2959 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2961 * locale/programs/locarchive.c (open_archive): Add const
2962 qualifier to ARCHIVEFNAME and copy default fname to
2966 * libio/tst-widetext.input: Rename Oriya to Odia.
2967 * locale/iso-639.def: Likewise.
2969 * manual/probes.texi (Mathematical Function Probes): Add
2970 documentation for sin, cos, asin and acos probes.
2971 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2972 (__sin32): Add slowasin probe.
2973 (__cos32): Add slowacos probe.
2974 (__mpsin): Add slowsin probe.
2975 (__mpcos): Add slowcos probe.
2977 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2980 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2981 thread-local __sim_exceptions_thread and global
2982 __sim_exceptions_global.
2983 (__sim_disabled_exceptions): Change to thread-local
2984 __sim_disabled_exceptions_thread and global
2985 __sim_disabled_exceptions_global.
2986 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2987 and global __sim_round_mode_global.
2988 (__simulate_exceptions): Use thread-local floating-point state and
2989 set global state from it as needed.
2990 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2991 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2992 __sim_round_mode_thread.
2993 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2994 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2995 and global __sim_exceptions_global.
2996 (__sim_disabled_exceptions): Change to thread-local
2997 __sim_disabled_exceptions_thread and global
2998 __sim_disabled_exceptions_global.
2999 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3000 and global __sim_round_mode_global.
3001 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3002 (SIM_SET_GLOBAL): Likewise.
3003 * sysdeps/powerpc/soft-fp/sfp-machine.h
3004 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3005 __sim_round_mode_thread.
3006 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3007 __sim_disabled_exceptions_thread.
3008 (__sim_exceptions): Change to __sim_exceptions_thread.
3009 (__sim_disabled_exceptions): Change to
3010 __sim_disabled_exceptions_thread.
3011 (__sim_round_mode): Change to __sim_round_mode_thread.
3012 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3013 thread-local floating-point state and set global state from it as
3015 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3016 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3017 (__sim_disabled_exceptions): Remove extern declaration.
3018 (feenableexcept): Use thread-local floating-point state and set
3019 global state from it as needed.
3020 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3022 (__sim_disabled_exceptions): Likewise.
3023 (__sim_round_mode): Likewise.
3024 (__fegetenv): Use thread-local floating-point state.
3025 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3026 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3027 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3028 floating-point state and set global state from it as needed.
3029 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3030 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3031 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3033 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3034 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3036 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3037 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3038 Use __sim_round_mode_thread.
3039 * math/test-fenv-tls.c: New file.
3040 * math/Makefile (tests): Add test-fenv-tls.
3041 ($(objpfx)test-fenv-tls): Depend on
3042 $(common-objpfx)nptl/libpthread.so.
3044 2013-11-19 Andreas Schwab <schwab@suse.de>
3046 * locale/programs/locale.c (show_info): Decode wordarray elements.
3047 * locale/categories.def (LC_MONETARY): Add element for
3048 _NL_MONETARY_CRNCYSTR.
3049 * locale/C-monetary.c (conversion_rate): New variable.
3050 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3053 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3055 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3056 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3058 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3060 * elf/Makefile (tst-auxv): New test.
3061 * elf/tst-auxv.c: New
3062 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3064 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3066 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3067 (hidden_proto): Caller changed.
3068 (hidden_tls_proto): New macro.
3069 (libc_hidden_tls_proto): Likewise.
3070 (rtld_hidden_tls_proto): Likewise.
3071 (libm_hidden_tls_proto): Likewise.
3072 (libresolv_hidden_tls_proto): Likewise.
3073 (librt_hidden_tls_proto): Likewise.
3074 (libdl_hidden_tls_proto): Likewise.
3075 (libnss_files_hidden_tls_proto): Likewise.
3076 (libnsl_hidden_tls_proto): Likewise.
3077 (libnss_nisplus_hidden_tls_proto): Likewise.
3078 (libutil_hidden_tls_proto): Likewise.
3080 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3083 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3084 (decompose_rpath): Defer expansion to fillin_rpath.
3085 (_dl_init_paths): Pass linkmap to fillin_rpath.
3087 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3089 * benchtests/Makefile: Add strsep.
3090 * benchtests/bench-strsep.c: New file: strsep benchtest.
3091 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3093 2013-11-18 Andreas Schwab <schwab@suse.de>
3095 * locale/programs/locale.c (show_info) [case byte]: Check for
3096 '\377' instead of '\177'.
3097 * locale/C-monetary.c (not_available): Always use "\377".
3098 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3099 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3100 detect unavailable sign_posn locale elements.
3101 * locale/localeconv.c (__localeconv): For grouping and
3102 mon_grouping handle "\177" and "\377" like no grouping.
3103 (INT_ELEM): New macro. Use it to set all numeric members.
3104 * locale/programs/ld-monetary.c (monetary_read)
3105 <tok_mon_grouping>: Normalize single -1 to the empty string.
3106 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3109 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3113 when we match (nil).
3114 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3116 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3118 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3119 (NO_TEST_INLINE): Update value.
3120 (ERRNO_UNCHANGED): Likewise.
3121 (ERRNO_EDOM): Likewise.
3122 (ERRNO_ERANGE): Likewise.
3123 (IGNORE_RESULT): Likewise.
3124 (check_float_internal): Check signs of NaN results if
3126 (check_complex): Pass TEST_NAN_SIGN flag through to second
3127 check_float_internal call.
3128 (copysign_test_data): Add tests with quiet NaNs as second
3129 argument. Use TEST_NAN_SIGN.
3130 (fabs_test_data): Add test of negative quiet NaN argument. Use
3132 (signbit_test_data): Add tests of quiet NaN argument.
3133 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3135 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3137 (parse_args): Handle function results specified as IGNORE.
3138 * math/libm-test.inc (IGNORE_RESULT): New macro.
3139 (check_float_internal): Do not check numerical result if flag
3141 (check_complex): Pass through IGNORE_RESULT to second
3142 check_float_internal call.
3143 (check_int): Do not check numerical result if flag IGNORE_RESULT
3145 (check_long): Likewise.
3146 (check_bool): Likewise.
3147 (check_longlong): Likewise.
3148 (lrint_test_data): Add tests of infinite and NaN arguments.
3149 (lrint_tonearest_test_data): Likewise.
3150 (lrint_towardzero_test_data): Likewise.
3151 (lrint_downward_test_data): Likewise.
3152 (lrint_upward_test_data): Likewise.
3153 (llrint_test_data): Likewise.
3154 (llrint_tonearest_test_data): Likewise.
3155 (llrint_towardzero_test_data): Likewise.
3156 (llrint_downward_test_data): Likewise.
3157 (llrint_upward_test_data): Likewise.
3158 (lround_test_data): Likewise.
3159 (llround_test_data): Likewise.
3161 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3162 (ERRNO_UNCHANGED): Update value.
3163 (ERRNO_EDOM): Likewise.
3164 (ERRNO_ERANGE): Likewise.
3165 (NO_TEST_INLINE_FLOAT): New macro.
3166 (NO_TEST_INLINE_DOUBLE): Likewise.
3167 (enable_test): New function.
3168 (RUN_TEST_f_f): Check enable_test before running test.
3169 (RUN_TEST_2_f): Likewise.
3170 (RUN_TEST_fff_f): Likewise.
3171 (RUN_TEST_c_f): Likewise.
3172 (RUN_TEST_f_f1): Likewise.
3173 (RUN_TEST_fF_f1): Likewise.
3174 (RUN_TEST_fI_f1): Likewise.
3175 (RUN_TEST_ffI_f1): Likewise.
3176 (RUN_TEST_c_c): Likewise.
3177 (RUN_TEST_cc_c): Likewise.
3178 (RUN_TEST_f_i): Likewise.
3179 (RUN_TEST_f_i_tg): Likewise.
3180 (RUN_TEST_ff_i_tg): Likewise.
3181 (RUN_TEST_f_b): Likewise.
3182 (RUN_TEST_f_b_tg): Likewise.
3183 (RUN_TEST_f_l): Likewise.
3184 (RUN_TEST_f_L): Likewise.
3185 (RUN_TEST_fFF_11): Likewise.
3186 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3188 (cosh_test_data): Likewise.
3189 (exp_test_data): Likewise.
3190 (expm1_test_data): Likewise.
3191 (hypot_test_data): Likewise.
3192 (pow_test_data): Likewise.
3193 (sinh_test_data): Likewise.
3194 (tanh_test_data): Likewise.
3195 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3198 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3199 tests with quiet NaN input and output.
3200 (acosh_test_data): Likewise.
3201 (asin_test_data): Likewise.
3202 (asinh_test_data): Likewise.
3203 (atan_test_data): Likewise.
3204 (atanh_test_data): Likewise.
3205 (atan2_test_data): Likewise.
3206 (cbrt_test_data): Likewise.
3207 (cos_test_data): Likewise.
3208 (cosh_test_data): Likewise.
3209 (erf_test_data): Likewise.
3210 (erfc_test_data): Likewise.
3211 (exp_test_data): Likewise.
3212 (exp10_test_data): Likewise.
3213 (exp2_test_data): Likewise.
3214 (expm1_test_data): Likewise.
3215 (hypot_test_data): Likewise.
3216 (j0_test_data): Likewise.
3217 (j1_test_data): Likewise.
3218 (jn_test_data): Likewise.
3219 (lgamma_test_data): Likewise.
3220 (log_test_data): Likewise.
3221 (log10_test_data): Likewise.
3222 (log1p_test_data): Likewise.
3223 (log2_test_data): Likewise.
3224 (pow_test_data): Likewise.
3225 (scalb_test_data): Likewise.
3226 (sin_test_data): Likewise.
3227 (sincos_test_data): Likewise.
3228 (sinh_test_data): Likewise.
3229 (tan_test_data): Likewise.
3230 (tanh_test_data): Likewise.
3231 (tgamma_test_data): Likewise.
3232 (y0_test_data): Likewise.
3233 (y1_test_data): Likewise.
3234 (yn_test_data): Likewise.
3237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3238 argument being NaN and avoid computations with second argument in
3240 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3241 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3242 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3244 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3246 * locale/iso-639.def: Add Chitwani Tharu (the).
3248 2013-11-14 Andreas Schwab <schwab@suse.de>
3250 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3251 word instead of empty string.
3253 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3256 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3258 (__fe_nomask_env): Likewise.
3260 2013-11-13 Steve Ellcey <sellcey@mips.com>
3262 * benchtests/bench-timing.h: Include time.h.
3264 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3267 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3269 * sysdeps/unix/sysv/linux/configure: Regenerated.
3271 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3274 * stdlib/strtod_l.c (round_and_return): Do not consider
3275 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3276 exponent one less than half the least subnormal exponent.
3277 * stdlib/test-strtod-round-data: Add more tests.
3278 * stdlib/tst-strtod-round.c (tests): Regenerated.
3280 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3284 (__fe_mask_env): Likewise.
3285 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3286 libm_hidden_proto and add function prototype.
3287 (__fe_mask_env): Add function prototype.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3289 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3291 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3293 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3295 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3297 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3298 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3300 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3302 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3303 of htab_find_slot().
3305 2013-11-11 David S. Miller <davem@davemloft.net>
3308 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3309 symbol in the non-vis3 case in static builds.
3310 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3311 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3313 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3315 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3318 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3321 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3323 * benchtests/Makefile: Add bench-strtod.
3324 * benchtests/bench-strtod.c: New file: strtod benchtest
3326 2013-11-11 Andreas Schwab <schwab@suse.de>
3329 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3330 terminating NUL in key length.
3332 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3335 Add artificial ODP entry for vDSO symbol for PPC64.
3336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3337 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3339 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3342 * nss/getent.c (services_keys): Recognize services starting with digit.
3344 2013-11-06 David S. Miller <davem@davemloft.net>
3347 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3348 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3350 2013-11-06 Will Newton <will.newton@linaro.org>
3352 * manual/memory.texi (Malloc Examples): Remove register
3353 keyword from examples.
3355 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3357 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3359 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3361 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3362 depending on [__GCC_IEC_559 > 0].
3363 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3364 depending on [__GCC_IEC_559_COMPLEX > 0].
3366 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3368 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3371 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3373 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3375 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3378 * malloc/malloc (malloc_info): Do not handle first bin as
3381 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3383 * locale/iso-639.def: Add Central Nahuatl (nhn).
3385 2013-11-01 Bruno Haible <bruno@clisp.org>
3388 * manual/math.texi (BSD Random): Specify range upper bound as
3391 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3393 * locale/iso-639.def: Add Meadow Mari (mhr).
3395 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3397 [BZ #14752], [BZ #15763]
3398 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3400 * rt/tst_shm.c: Add test for escaping directory.
3402 2013-10-31 Andreas Schwab <schwab@suse.de>
3405 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3406 followed by 'x' as part of digit sequence.
3407 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3409 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3412 * configure.ac: allow GNU Make 4.0 and greater.
3413 * configure: Regenerated.
3415 2013-10-30 Will Newton <will.newton@linaro.org>
3418 * malloc/hooks.c (memalign_check): Limit alignment to the
3419 maximum representable power of two.
3420 * malloc/malloc.c (__libc_memalign): Likewise.
3421 * malloc/tst-memalign.c (do_test): Add test for very
3422 large alignment values.
3423 * malloc/tst-posix_memalign.c (do_test): Likewise.
3425 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3428 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3429 (munmap_chunk): Likewise.
3430 (mremap_chunk): Likewise.
3432 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3435 * stdlib/div.c (div): Remove obsolete code.
3436 * stdlib/ldiv.c (ldiv): Likewise.
3437 * stdlib/lldiv.c (lldiv): Likewise.
3439 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3442 * nss/nss_files/files-XXX.c (get_contents_ret): New
3444 (get_contents): New function.
3445 (internal_getent): Use it. Expand size of LINEBUFLEN.
3447 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3449 * configure.in: Moved to ...
3450 * configure.ac: ... here. Change reference to configure.in
3452 * sysdeps/arm/preconfigure.ac: ... here.
3453 configure.in to configure.ac.
3454 * sysdeps/gnu/configure.in: Moved to ...
3455 * sysdeps/gnu/configure.ac: ... here.
3456 * sysdeps/i386/configure.in: Moved to ...
3457 * sysdeps/i386/configure.ac: ... here.
3458 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3459 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3460 * sysdeps/mach/configure.in: Moved to ...
3461 * sysdeps/mach/configure.ac: ... here.
3462 * sysdeps/mach/hurd/configure.in: Moved to ...
3463 * sysdeps/mach/hurd/configure.ac: ... here.
3464 * sysdeps/powerpc/configure.in: Moved to ...
3465 * sysdeps/powerpc/configure.ac: ... here.
3466 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3467 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3468 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3469 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3470 * sysdeps/s390/s390-32/configure.in: Moved to ...
3471 * sysdeps/s390/s390-32/configure.ac: ... here.
3472 * sysdeps/s390/s390-64/configure.in: Moved to ...
3473 * sysdeps/s390/s390-64/configure.ac: ... here.
3474 * sysdeps/sh/configure.in: Moved to ...
3475 * sysdeps/sh/configure.ac: ... here.
3476 * sysdeps/sparc/configure.in: Moved to ...
3477 * sysdeps/sparc/configure.ac: ... here.
3478 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3479 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3480 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3481 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3482 * sysdeps/x86_64/configure.in: Moved to ...
3483 * sysdeps/x86_64/configure.ac: ... here.
3484 * sysdeps/x86_64/preconfigure.in: Moved to ...
3485 * sysdeps/x86_64/preconfigure.ac: ... here.
3486 * aclocal.m4: Change reference to configure.in to configure.ac.
3487 * config.h.in: Likewise.
3488 * manual/install.texi: Likewise.
3489 * manual/maint.texi: Likewise.
3490 * Makefile: Likewise.
3491 * malloc/Makefile: Likewise.
3492 * nscd/Makefile: Likewise.
3493 * Makeconfig: Change reference to configure.in and
3494 preconfigure.in to configure.ac and preconfigure.ac
3496 * INSTALL: Regenerated.
3497 * configure: Likewise.
3498 * sysdeps/gnu/configure: Likewise.
3499 * sysdeps/i386/configure: Likewise.
3500 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3501 * sysdeps/mach/configure: Likewise.
3502 * sysdeps/mach/hurd/configure: Likewise.
3503 * sysdeps/powerpc/configure: Likewise.
3504 * sysdeps/powerpc/powerpc32/configure: Likewise.
3505 * sysdeps/powerpc/powerpc64/configure: Likewise.
3506 * sysdeps/s390/s390-32/configure: Likewise.
3507 * sysdeps/s390/s390-64/configure: Likewise.
3508 * sysdeps/sh/configure: Likewise.
3509 * sysdeps/sparc/configure: Likewise.
3510 * sysdeps/unix/sysv/linux/configure: Likewise.
3511 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3512 * sysdeps/x86_64/configure: Likewise.
3513 * sysdeps/x86_64/preconfigure: Likewise.
3515 2013-10-29 Andreas Schwab <schwab@suse.de>
3517 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3519 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3521 * benchtests/pow-inputs: Add new inputs.
3523 * benchtests/exp-inputs: Add new inputs.
3525 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3526 conditional check for return value.
3527 (__cos32): Likewise.
3529 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3531 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3532 to provide a boost for large inputs with word alignment.
3533 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3534 implementation based on optimized PPC64 strcpy.
3535 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3536 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3537 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3538 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3540 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3543 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3545 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3548 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3549 * time/tst-strptime.c (day_tests): Add testcase.
3551 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3554 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3556 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3559 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3560 MAP_FAILED on error.
3562 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3565 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3566 heap for large requests.
3568 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3571 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3572 result if the result has no associated interface.
3573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3574 interface for all 127.X.Y.Z addresses.
3576 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3578 * locale/iso-639.def: Add Ligurian (lij)
3580 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3583 * sunrpc/rpc_main.c: Document rpcgen -5.
3585 2013-10-19 Michael Stahl <mstahl@redhat.com>
3587 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3589 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3592 * posix/glob.c: Match only directories when trailing slash is present.
3593 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3594 (main): Add testcase.
3596 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3599 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3601 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3603 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3604 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3605 AUTH_DES and cindex for FIPS 140-2.
3606 (DES Encryption): Add cindex FIPS 46-3.
3608 * locale/locarchive.h (struct locarhandle): Add fname.
3609 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3610 if an optional argument was specified to --list-archive,
3612 * locale/programs/locarchive.c (show_archive_content): Take new
3613 argument fname and pass it via ah.fname to open_archive.
3614 * locale/programs/localedef.h: Update decl.
3615 (open_archive): If AH->fname is non-null, open that file
3616 rather than the default file name, and don't ignore ENOENT.
3617 (create_archive): Set AH.fname to NULL.
3618 (delete_locales_from_archive): Likewise.
3619 (add_locales_to_archive): Likewise.
3620 * locale/programs/locfile.c (write_all_categories): Likewise.
3622 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3623 Aldy Hernandez <aldyh@redhat.com>
3625 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3626 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3627 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3628 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3629 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3633 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3636 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3637 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3647 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3648 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3653 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3655 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3656 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3657 * sysdeps/powerpc/preconfigure: Likewise.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3660 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3661 Replace contents of file by #include of <fenv_libc.h>.
3662 * sysdeps/powerpc/soft-fp/sfp-machine.h
3663 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3665 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3678 Allow copysignl PLT reference to be missing.
3680 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3681 Joseph Myers <joseph@codesourcery.com
3684 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3686 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3688 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3690 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3691 * elf/tst-tls1.c: Likewise.
3692 * elf/tst-tls10.h: Likewise.
3693 * elf/tst-tls14.c: Likewise.
3694 * elf/tst-tls2.c: Likewise.
3695 * elf/tst-tls3.c: Likewise.
3696 * elf/tst-tls4.c: Likewise.
3697 * elf/tst-tls5.c: Likewise.
3698 * elf/tst-tls6.c: Likewise.
3699 * elf/tst-tls7.c: Likewise.
3700 * elf/tst-tls8.c: Likewise.
3701 * elf/tst-tls9.c: Likewise.
3702 * elf/tst-tlsmod1.c: Likewise.
3703 * elf/tst-tlsmod13.c: Likewise.
3704 * elf/tst-tlsmod13a.c: Likewise.
3705 * elf/tst-tlsmod14a.c: Likewise.
3706 * elf/tst-tlsmod16a.c: Likewise.
3707 * elf/tst-tlsmod16b.c: Likewise.
3708 * elf/tst-tlsmod2.c: Likewise.
3709 * elf/tst-tlsmod3.c: Likewise.
3710 * elf/tst-tlsmod4.c: Likewise.
3711 * elf/tst-tlsmod5.c: Likewise.
3712 * elf/tst-tlsmod6.c: Likewise.
3714 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3717 * malloc/malloc.c: remove checks for statistics.
3719 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3722 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3723 * inet/tst-network.c: Add testcase.
3725 2013-10-17 Andreas Schwab <schwab@suse.de>
3728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3729 to determine canonical name.
3731 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3733 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3734 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3757 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3792 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3795 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3796 make result into a quiet NaN.
3798 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3800 * soft-fp/adddf3.c: Fix horizontal whitespace.
3801 * soft-fp/addsf3.c: Likewise.
3802 * soft-fp/addtf3.c: Likewise.
3803 * soft-fp/divdf3.c: Likewise.
3804 * soft-fp/divsf3.c: Likewise.
3805 * soft-fp/divtf3.c: Likewise.
3806 * soft-fp/double.h: Likewise.
3807 * soft-fp/eqdf2.c: Likewise.
3808 * soft-fp/eqsf2.c: Likewise.
3809 * soft-fp/eqtf2.c: Likewise.
3810 * soft-fp/extenddftf2.c: Likewise.
3811 * soft-fp/extended.h: Likewise.
3812 * soft-fp/extendsfdf2.c: Likewise.
3813 * soft-fp/extendsftf2.c: Likewise.
3814 * soft-fp/extendxftf2.c: Likewise.
3815 * soft-fp/fixdfdi.c: Likewise.
3816 * soft-fp/fixdfsi.c: Likewise.
3817 * soft-fp/fixdfti.c: Likewise.
3818 * soft-fp/fixsfdi.c: Likewise.
3819 * soft-fp/fixsfsi.c: Likewise.
3820 * soft-fp/fixsfti.c: Likewise.
3821 * soft-fp/fixtfdi.c: Likewise.
3822 * soft-fp/fixtfsi.c: Likewise.
3823 * soft-fp/fixtfti.c: Likewise.
3824 * soft-fp/fixunsdfdi.c: Likewise.
3825 * soft-fp/fixunsdfsi.c: Likewise.
3826 * soft-fp/fixunsdfti.c: Likewise.
3827 * soft-fp/fixunssfdi.c: Likewise.
3828 * soft-fp/fixunssfsi.c: Likewise.
3829 * soft-fp/fixunssfti.c: Likewise.
3830 * soft-fp/fixunstfdi.c: Likewise.
3831 * soft-fp/fixunstfsi.c: Likewise.
3832 * soft-fp/fixunstfti.c: Likewise.
3833 * soft-fp/floatdidf.c: Likewise.
3834 * soft-fp/floatdisf.c: Likewise.
3835 * soft-fp/floatditf.c: Likewise.
3836 * soft-fp/floatsidf.c: Likewise.
3837 * soft-fp/floatsisf.c: Likewise.
3838 * soft-fp/floatsitf.c: Likewise.
3839 * soft-fp/floattidf.c: Likewise.
3840 * soft-fp/floattisf.c: Likewise.
3841 * soft-fp/floattitf.c: Likewise.
3842 * soft-fp/floatundidf.c: Likewise.
3843 * soft-fp/floatundisf.c: Likewise.
3844 * soft-fp/floatunditf.c: Likewise.
3845 * soft-fp/floatunsidf.c: Likewise.
3846 * soft-fp/floatunsisf.c: Likewise.
3847 * soft-fp/floatunsitf.c: Likewise.
3848 * soft-fp/floatuntidf.c: Likewise.
3849 * soft-fp/floatuntisf.c: Likewise.
3850 * soft-fp/floatuntitf.c: Likewise.
3851 * soft-fp/fmadf4.c: Likewise.
3852 * soft-fp/fmasf4.c: Likewise.
3853 * soft-fp/fmatf4.c: Likewise.
3854 * soft-fp/gedf2.c: Likewise.
3855 * soft-fp/gesf2.c: Likewise.
3856 * soft-fp/getf2.c: Likewise.
3857 * soft-fp/ledf2.c: Likewise.
3858 * soft-fp/lesf2.c: Likewise.
3859 * soft-fp/letf2.c: Likewise.
3860 * soft-fp/muldf3.c: Likewise.
3861 * soft-fp/mulsf3.c: Likewise.
3862 * soft-fp/multf3.c: Likewise.
3863 * soft-fp/negdf2.c: Likewise.
3864 * soft-fp/negsf2.c: Likewise.
3865 * soft-fp/negtf2.c: Likewise.
3866 * soft-fp/op-1.h: Likewise.
3867 * soft-fp/op-2.h: Likewise.
3868 * soft-fp/op-4.h: Likewise.
3869 * soft-fp/op-8.h: Likewise.
3870 * soft-fp/op-common.h: Likewise.
3871 * soft-fp/quad.h: Likewise.
3872 * soft-fp/single.h: Likewise.
3873 * soft-fp/soft-fp.h: Likewise.
3874 * soft-fp/sqrtdf2.c: Likewise.
3875 * soft-fp/sqrtsf2.c: Likewise.
3876 * soft-fp/sqrttf2.c: Likewise.
3877 * soft-fp/subdf3.c: Likewise.
3878 * soft-fp/subsf3.c: Likewise.
3879 * soft-fp/subtf3.c: Likewise.
3880 * soft-fp/truncdfsf2.c: Likewise.
3881 * soft-fp/trunctfdf2.c: Likewise.
3882 * soft-fp/trunctfsf2.c: Likewise.
3883 * soft-fp/trunctfxf2.c: Likewise.
3884 * soft-fp/unorddf2.c: Likewise.
3885 * soft-fp/unordsf2.c: Likewise.
3886 * soft-fp/unordtf2.c: Likewise.
3888 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3890 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3891 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3893 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3895 * elf/dl-libc.c: Clear initfini list after freeing.
3897 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3899 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3900 * soft-fp/addsf3.c: Likewise.
3901 * soft-fp/addtf3.c: Likewise.
3902 * soft-fp/divdf3.c: Likewise.
3903 * soft-fp/divsf3.c: Likewise.
3904 * soft-fp/divtf3.c: Likewise.
3905 * soft-fp/double.h: Likewise.
3906 * soft-fp/eqdf2.c: Likewise.
3907 * soft-fp/eqsf2.c: Likewise.
3908 * soft-fp/eqtf2.c: Likewise.
3909 * soft-fp/extenddftf2.c: Likewise.
3910 * soft-fp/extended.h: Likewise.
3911 * soft-fp/extendsfdf2.c: Likewise.
3912 * soft-fp/extendsftf2.c: Likewise.
3913 * soft-fp/extendxftf2.c: Likewise.
3914 * soft-fp/fixdfdi.c: Likewise.
3915 * soft-fp/fixdfsi.c: Likewise.
3916 * soft-fp/fixdfti.c: Likewise.
3917 * soft-fp/fixsfdi.c: Likewise.
3918 * soft-fp/fixsfsi.c: Likewise.
3919 * soft-fp/fixsfti.c: Likewise.
3920 * soft-fp/fixtfdi.c: Likewise.
3921 * soft-fp/fixtfsi.c: Likewise.
3922 * soft-fp/fixtfti.c: Likewise.
3923 * soft-fp/fixunsdfdi.c: Likewise.
3924 * soft-fp/fixunsdfsi.c: Likewise.
3925 * soft-fp/fixunsdfti.c: Likewise.
3926 * soft-fp/fixunssfdi.c: Likewise.
3927 * soft-fp/fixunssfsi.c: Likewise.
3928 * soft-fp/fixunssfti.c: Likewise.
3929 * soft-fp/fixunstfdi.c: Likewise.
3930 * soft-fp/fixunstfsi.c: Likewise.
3931 * soft-fp/fixunstfti.c: Likewise.
3932 * soft-fp/floatdidf.c: Likewise.
3933 * soft-fp/floatdisf.c: Likewise.
3934 * soft-fp/floatditf.c: Likewise.
3935 * soft-fp/floatsidf.c: Likewise.
3936 * soft-fp/floatsisf.c: Likewise.
3937 * soft-fp/floatsitf.c: Likewise.
3938 * soft-fp/floattidf.c: Likewise.
3939 * soft-fp/floattisf.c: Likewise.
3940 * soft-fp/floattitf.c: Likewise.
3941 * soft-fp/floatundidf.c: Likewise.
3942 * soft-fp/floatundisf.c: Likewise.
3943 * soft-fp/floatunsidf.c: Likewise.
3944 * soft-fp/floatunsisf.c: Likewise.
3945 * soft-fp/floatuntidf.c: Likewise.
3946 * soft-fp/floatuntisf.c: Likewise.
3947 * soft-fp/floatuntitf.c: Likewise.
3948 * soft-fp/fmadf4.c: Likewise.
3949 * soft-fp/fmasf4.c: Likewise.
3950 * soft-fp/fmatf4.c: Likewise.
3951 * soft-fp/gedf2.c: Likewise.
3952 * soft-fp/gesf2.c: Likewise.
3953 * soft-fp/getf2.c: Likewise.
3954 * soft-fp/ledf2.c: Likewise.
3955 * soft-fp/lesf2.c: Likewise.
3956 * soft-fp/letf2.c: Likewise.
3957 * soft-fp/muldf3.c: Likewise.
3958 * soft-fp/mulsf3.c: Likewise.
3959 * soft-fp/multf3.c: Likewise.
3960 * soft-fp/negdf2.c: Likewise.
3961 * soft-fp/negsf2.c: Likewise.
3962 * soft-fp/negtf2.c: Likewise.
3963 * soft-fp/op-1.h: Likewise.
3964 * soft-fp/op-2.h: Likewise.
3965 * soft-fp/op-4.h: Likewise.
3966 * soft-fp/op-8.h: Likewise.
3967 * soft-fp/op-common.h: Likewise.
3968 * soft-fp/quad.h: Likewise.
3969 * soft-fp/single.h: Likewise.
3970 * soft-fp/soft-fp.h: Likewise.
3971 * soft-fp/sqrtdf2.c: Likewise.
3972 * soft-fp/sqrtsf2.c: Likewise.
3973 * soft-fp/sqrttf2.c: Likewise.
3974 * soft-fp/subdf3.c: Likewise.
3975 * soft-fp/subsf3.c: Likewise.
3976 * soft-fp/subtf3.c: Likewise.
3977 * soft-fp/truncdfsf2.c: Likewise.
3978 * soft-fp/trunctfdf2.c: Likewise.
3979 * soft-fp/trunctfsf2.c: Likewise.
3980 * soft-fp/trunctfxf2.c: Likewise.
3981 * soft-fp/unorddf2.c: Likewise.
3982 * soft-fp/unordsf2.c: Likewise.
3983 * soft-fp/unordtf2.c: Likewise.
3985 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3988 * misc/error.c (error_tail): Fix possible buffer overflow.
3990 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3993 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3996 2013-10-14 P. J. McDermott <pj@pehjota.net>
3999 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4000 testing pipefail option.
4002 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4004 * soft-fp/double.h: Indent preprocessor directives inside #if.
4005 * soft-fp/extended.h: Likewise.
4006 * soft-fp/op-2.h: Likewise.
4007 * soft-fp/op-4.h: Likewise.
4008 * soft-fp/op-common.h: Likewise.
4009 * soft-fp/quad.h: Likewise.
4010 * soft-fp/single.h: Likewise.
4011 * soft-fp/soft-fp.h: Likewise.
4013 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4015 * iconv/iconv_prog.c: Fix typos.
4016 * stdio-common/psiginfo-data.h: Likewise.
4018 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4021 * locale/setlocale.c: Fix typo.
4023 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4026 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4027 signaling NaN arguments.
4028 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4029 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4032 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4034 * soft-fp/gesf2.c (__gesf2): Likewise.
4035 * soft-fp/getf2.c (__getf2): Likewise.
4036 * soft-fp/ledf2.c (__ledf2): Likewise.
4037 * soft-fp/lesf2.c (__lesf2): Likewise.
4038 * soft-fp/letf2.c (__letf2): Likewise.
4040 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4041 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4042 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4043 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4044 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4045 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4046 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4047 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4048 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4049 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4050 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4051 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4052 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4053 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4054 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4055 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4056 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4057 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4058 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4059 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4060 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4061 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4062 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4063 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4064 * soft-fp/floattidf.c (__floattidf): Likewise.
4065 * soft-fp/floattisf.c (__floattisf): Likewise.
4066 * soft-fp/floattitf.c (__floattitf): Likewise.
4067 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4068 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4069 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4070 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4071 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4072 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4073 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4074 * soft-fp/gesf2.c (__gesf2): Likewise.
4075 * soft-fp/getf2.c (__getf2): Likewise.
4076 * soft-fp/ledf2.c (__ledf2): Likewise.
4077 * soft-fp/lesf2.c (__lesf2): Likewise.
4078 * soft-fp/letf2.c (__letf2): Likewise.
4080 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4081 Undefine and redefine.
4082 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4083 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4084 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4085 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4086 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4087 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4088 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4089 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4090 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4091 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4092 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4093 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4094 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4095 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4096 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4099 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4100 without decrementing exponent if mantissa >= that for the
4102 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4103 denominator, not >. Decrement exponent in < case instead of
4104 incrementing in >= case.
4105 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4106 without decrementing exponent if mantissa >= that for the
4109 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4110 computing saturated result for unsigned overflow.
4112 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4113 Jeff Law <law@redhat.com>
4115 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4116 (atan2Mp): Add systemtap probe marker.
4117 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4118 (__ieee754_log): Add systemtap probe marker.
4119 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4120 (atanMp): Add systemtap probe marker.
4121 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4122 (tanMp): Add systemtap probe marker.
4123 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4124 (__slowexp): Add systemtap probe marker.
4125 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4126 (__slowpow): Add systemtap probe marker.
4127 * manual/probes.texi: Document probes.
4129 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4132 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4134 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4136 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4137 written to buffer but not flushed.
4138 * libio/iofwrite_u.c: Likewise.
4139 * libio/iopadn.c: Return bytes returned even if EOF was
4141 * libio/iowpadn.c: Likewise.
4142 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4143 if _IO_padn does not write the whole buffer.
4144 [!COMPILE_WPRINTF] (PAD): Likewise.
4146 2013-10-10 David S. Miller <davem@davemloft.net>
4148 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4151 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4153 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4154 instead of FSF address.
4155 * soft-fp/fixdfti.c: Likewise.
4156 * soft-fp/fixsfti.c: Likewise.
4157 * soft-fp/fixtfti.c: Likewise.
4158 * soft-fp/fixunsdfti.c: Likewise.
4159 * soft-fp/fixunssfti.c: Likewise.
4160 * soft-fp/fixunstfti.c: Likewise.
4161 * soft-fp/floattidf.c: Likewise.
4162 * soft-fp/floattisf.c: Likewise.
4163 * soft-fp/floattitf.c: Likewise.
4164 * soft-fp/floatuntidf.c: Likewise.
4165 * soft-fp/floatuntisf.c: Likewise.
4166 * soft-fp/floatuntitf.c: Likewise.
4167 * soft-fp/trunctfxf2.c: Likewise.
4169 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4170 * soft-fp/fixdfti.c: Likewise.
4171 * soft-fp/fixsfti.c: Likewise.
4172 * soft-fp/fixtfti.c: Likewise.
4173 * soft-fp/fixunsdfti.c: Likewise.
4174 * soft-fp/fixunssfti.c: Likewise.
4175 * soft-fp/fixunstfti.c: Likewise.
4176 * soft-fp/floattidf.c: Likewise.
4177 * soft-fp/floattisf.c: Likewise.
4178 * soft-fp/floattitf.c: Likewise.
4179 * soft-fp/floatuntidf.c: Likewise.
4180 * soft-fp/floatuntisf.c: Likewise.
4181 * soft-fp/floatuntitf.c: Likewise.
4182 * soft-fp/trunctfxf2.c: Likewise.
4184 2013-10-10 David S. Miller <davem@davemloft.net>
4186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4188 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4191 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4192 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4193 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4194 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4195 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4196 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4199 for NaNs before doing comparisons on argument.
4200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4203 2013-10-10 Will Newton <will.newton@linaro.org>
4205 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4206 passed to _int_memalign does not overflow.
4208 2013-10-10 Torvald Riegel <triegel@redhat.com>
4210 * scripts/bench.pl: Add include-sources directive.
4211 * benchtests/README: Update documentation.
4213 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4215 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4216 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4217 instead of FP_INIT_ROUNDMODE.
4218 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4219 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4222 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4223 copy class of input value.
4224 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4225 not handle exceptions.
4226 * soft-fp/negsf2.c (__negsf2): Likewise.
4227 * soft-fp/negtf2.c (__negtf2): Likewise.
4228 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4230 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4232 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4233 semicolon. From Linux kernel.
4235 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4237 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4239 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4242 * manual/socket.texi: Added statement about buffer
4243 for gethostbyname2_r.
4245 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4247 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4248 Use .p2align directive instead, throughout.
4249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4254 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4255 * sysdeps/x86_64/strchr.S: Likewise.
4256 * sysdeps/x86_64/strrchr.S: Likewise.
4258 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4260 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4262 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4264 * sysdeps/generic/math_private.h (__mpsin1): Remove
4266 (__mpcos1): Likewise.
4267 (__mpsin): New argument __range_reduce.
4268 (__mpcos): Likewise.
4269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4270 (slow): Use __mpsin and __mpcos.
4277 (bsloww1): Likewise.
4278 (bsloww2): Likewise.
4281 (csloww1): Likewise.
4282 (csloww2): Likewise.
4283 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4284 range_reduce. Merge in __mpsin1.
4285 (__mpcos): Likewise.
4287 (__mpcos1): Likewise.
4289 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4291 * locale/loadlocale.c (_nl_intern_locale_data): Use
4293 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4294 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4295 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4296 obstack data is appropriately aligned.
4297 (obstack_int32_grow_fast): Likewise.
4298 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4299 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4300 (add_locale_uint32_array): Likewise.
4302 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * benchtests/Makefile: Remove ARGLIST and RET variables.
4305 ($(objpfx)bench-%.c): Pass only function name to the script.
4306 * benchtests/README: Update documentation.
4307 * benchtests/acos-inputs: Add new directives.
4308 * benchtests/acosh-inputs: Likewise.
4309 * benchtests/asin-inputs: Likewise.
4310 * benchtests/asinh-inputs: Likewise.
4311 * benchtests/atan-inputs: Likewise.
4312 * benchtests/atanh-inputs: Likewise.
4313 * benchtests/cos-inputs: Likewise.
4314 * benchtests/cosh-inputs: Likewise.
4315 * benchtests/exp-inputs: Likewise.
4316 * benchtests/log-inputs: Likewise.
4317 * benchtests/pow-inputs: Likewise.
4318 * benchtests/rint-inputs: Likewise.
4319 * benchtests/sin-inputs: Likewise.
4320 * benchtests/sinh-inputs: Likewise.
4321 * benchtests/tan-inputs: Likewise.
4322 * benchtests/tanh-inputs: Likewise.
4323 * scripts/bench.pl: Add support for new directives.
4325 2013-10-07 Alan Modra <amodra@gmail.com>
4327 * README: Fix careless merge.
4329 2013-10-05 Alan Modra <amodra@gmail.com>
4331 * NEWS: Mention powerpc64le support and bugs fixed.
4332 * README: Both big-endian and little-endian powerpc64 supported.
4334 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4336 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4337 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4338 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4339 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4341 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4343 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4346 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4348 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4349 Move -mhard-float appending from
4350 ports/sysdeps/powerpc/powerpc32/Makefile.
4351 [$(with-fp) = yes] (ASFLAGS): Likewise.
4352 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4353 * sysdeps/powerpc/nofpu: Move directory from
4354 ports/sysdeps/powerpc/nofpu.
4355 * sysdeps/powerpc/soft-fp: Move directory from
4356 ports/sysdeps/powerpc/soft-fp.
4357 * sysdeps/powerpc/powerpc32/405: Move directory from
4358 ports/sysdeps/powerpc/powerpc32/405.
4359 * sysdeps/powerpc/powerpc32/440: Move directory from
4360 ports/sysdeps/powerpc/powerpc32/440.
4361 * sysdeps/powerpc/powerpc32/464: Move directory from
4362 ports/sysdeps/powerpc/powerpc32/464.
4363 * sysdeps/powerpc/powerpc32/476: Move directory from
4364 ports/sysdeps/powerpc/powerpc32/476.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4375 * README: Update for powerpc-*-linux-gnu software floating point
4378 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4379 case to powerpc/powerpc32*.
4380 * sysdeps/unix/sysv/linux/configure: Regenerated.
4382 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4383 (_FPU_MASK_OM): Define as 0x04.
4384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4392 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4395 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4399 and setcontext_e500.
4401 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4403 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4405 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4407 * manual/threads.texi (Default Thread Attributes): Fix typo.
4409 2013-10-04 Will Newton <will.newton@linaro.org>
4411 * malloc/Makefile: Add tst-memalign.
4412 * malloc/tst-memalign.c: New file.
4414 * malloc/tst-posix_memalign.c: Add comments.
4415 (do_test): Add comments and call free on all potentially
4416 allocated pointers. Add space after cast.
4418 * malloc/tst-pvalloc.c: Add comments.
4419 (do_test): Add comments and call free on all potentially
4420 allocated pointers. Remove duplicate check for NULL pointer.
4421 Add space after cast.
4423 * malloc/tst-valloc.c: Add comments.
4424 (do_test): Add comments and call free on all potentially
4425 allocated pointers. Remove duplicate check for NULL pointer.
4426 Add space after cast.
4428 2013-10-04 Alan Modra <amodra@gmail.com>
4430 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4431 Use stdint types in rather than __attribute__((mode())).
4432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4434 2013-10-04 Alan Modra <amodra@gmail.com>
4436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4437 Correct handling of unaligned relocs for little-endian.
4438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4440 2013-10-04 Alan Modra <amodra@gmail.com>
4442 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4443 * configure: Regenerate.
4444 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4445 * shlib-versions: Likewise.
4447 2013-10-04 Alan Modra <amodra@gmail.com>
4449 * string/tester.c (test_memrchr): Increment reported test cycle.
4451 2013-10-04 Alan Modra <amodra@gmail.com>
4453 * string/test-memcpy.c (do_one_test): When reporting errors, print
4454 string address and don't overrun end of string.
4456 2013-10-04 Alan Modra <amodra@gmail.com>
4458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4459 insrdi. Make better use of reg selection to speed exit slightly.
4460 Schedule entry path a little better. Remove useless "are we done"
4461 checks on entry to main loop. Handle wrapping around zero address.
4462 Correct main loop count. Handle single left-over word from main
4463 loop inline rather than by using loop_small. Remove extra word
4464 case in loop_small caused by wrong loop count. Add little-endian
4466 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4471 support. Avoid rlwimi.
4472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4474 2013-10-04 Alan Modra <amodra@gmail.com>
4476 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4478 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4482 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4483 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4485 2013-10-04 Alan Modra <amodra@gmail.com>
4487 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4494 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4495 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4496 use of regs. Use power7 mtocrf. Tidy function tails.
4498 2013-10-04 Alan Modra <amodra@gmail.com>
4500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4501 Formatting. Consistently use rXXX register defines or rN defines.
4502 Use early exit labels that avoid restoring unused non-volatile regs.
4503 Make cr field use more consistent with rWORDn compares. Rename
4504 regs used as shift registers for unaligned loop, using rN defines
4505 for short lifetime/multiple use regs.
4506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4508 addi 1,1,64 to pop stack frame. Simplify return value code.
4509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4511 2013-10-04 Alan Modra <amodra@gmail.com>
4513 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4514 support. Correct typos, formatting. Optimize tail. Use insrdi
4516 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4518 little-endian support. Correct typos.
4519 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4521 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4522 in loop and entry code to keep "and." results.
4523 (strchr): Add little-endian support. Comment. Move cntlzd
4525 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4527 2013-10-04 Alan Modra <amodra@gmail.com>
4529 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4530 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4531 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4534 2013-10-04 Alan Modra <amodra@gmail.com>
4536 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4537 (rTMP): Define as r11.
4538 (strcmp): Add little-endian support. Optimise tail.
4539 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4541 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4547 2013-10-04 Alan Modra <amodra@gmail.com>
4549 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4550 little-endian support. Remove unnecessary "are we done" tests.
4551 Handle "s" wrapping around zero and extremely large "size".
4552 Correct main loop count. Handle single left-over word from main
4553 loop inline rather than by using small_loop. Correct comments.
4554 Delete "zero" tail, use "end_max" instead.
4555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4557 2013-10-04 Alan Modra <amodra@gmail.com>
4559 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4560 support. Don't branch over align.
4561 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4563 support. Rearrange tmp reg use to suit. Comment.
4564 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4566 2013-10-04 Alan Modra <amodra@gmail.com>
4568 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4570 2013-10-04 Alan Modra <amodra@gmail.com>
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4573 conditional form of branch and link when obtaining pc.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4576 2013-10-04 Alan Modra <amodra@gmail.com>
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4583 2013-10-04 Alan Modra <amodra@gmail.com>
4585 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4586 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4588 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4589 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4591 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4593 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4594 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4596 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4597 Alistair Popple <alistair@ozlabs.au.ibm.com>
4598 Alan Modra <amodra@gmail.com>
4601 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4603 _dl_hwcap access for little-endian.
4604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4605 destroy vmx regs when saving unaligned.
4606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4608 destroy vmx regs when saving unaligned.
4610 2013-10-04 Alan Modra <amodra@gmail.com>
4612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4613 Don't use a union to pack hi/low value.
4615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4617 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4619 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4621 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4625 2013-10-04 Alan Modra <amodra@gmail.com>
4627 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4628 constants to usual value for .cst8 section, and remove redundant
4630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4631 constant for 0x1p52. Load little-endian words of double from
4632 correct stack offsets.
4634 2013-10-04 Alan Modra <amodra@gmail.com>
4636 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4637 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4638 words of double from correct stack offsets.
4639 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4640 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4641 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4653 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4654 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4655 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4657 2013-10-04 Alan Modra <amodra@gmail.com>
4659 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4660 64-bit int/double union.
4661 (_FPU_SETCW): Likewise.
4662 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4663 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4665 2013-10-04 Alan Modra <amodra@gmail.com>
4667 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4668 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4670 2013-10-04 Alan Modra <amodra@gmail.com>
4672 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4673 use vector int constants.
4674 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4678 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4679 array with long long.
4680 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4681 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4682 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4683 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4684 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4685 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4686 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4687 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4688 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4689 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4690 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4691 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4696 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4697 (__signbit): Likewise. Correct for little-endian.
4698 (__signbitl): Call __signbit.
4699 (lrint): Correct for little-endian.
4700 (lrintf): Call lrint.
4702 2013-10-04 Alan Modra <amodra@gmail.com>
4704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4705 union 32-bit int array member with 64-bit int array.
4706 (t515, tm256): Double rather than long double.
4707 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4709 2013-10-04 Alan Modra <amodra@gmail.com>
4711 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4713 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4715 version of math_ldbl.h.
4717 2013-10-04 Alan Modra <amodra@gmail.com>
4719 [BZ #15734], [BZ #15735]
4720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4721 all uses of ieee875 long double macros and unions. Simplify test
4722 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4723 ldbl_extract_mantissa value for ix,iy exponents. Properly
4724 normalize after ldbl_extract_mantissa, and don't add hidden bit
4725 already handled. Don't treat low word of ieee854 mantissa like
4726 low word of IBM long double and mask off bit when testing for
4728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4729 all uses of ieee875 long double macros and unions. Simplify tests
4730 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4731 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4732 two1022, instead use their values. Recognise that tests for large
4733 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4734 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4735 Rewrite all uses of ieee875 long double macros and unions. Simplify
4736 test for 0.0L and nan. Correct negation.
4737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4738 ieee875 long double macros and unions. Correct output for large
4739 magnitude x. Correct absolute value calculation.
4740 (__erfcl): Likewise.
4741 * math/libm-test.inc: Add tests for errors discovered in IBM long
4742 double versions of fmodl, remainderl, erfl and erfcl.
4744 2013-10-04 Alan Modra <amodra@gmail.com>
4746 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4747 all uses of ieee854 long double macros and unions. Simplify tests
4748 for long doubles that are fully specified by the high double.
4749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4752 Remove dead code too.
4753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4754 (__ieee754_ynl): Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4758 Remove dead code too.
4759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4769 Comment on variable precision.
4770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4779 2013-10-04 Alan Modra <amodra@gmail.com>
4781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4783 all uses of ieee854 long double macros and unions.
4784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4797 Simplify sign and nan test too.
4798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4803 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4813 2013-10-04 Alan Modra <amodra@gmail.com>
4815 * stdio-common/printf_size.c (__printf_size): Don't use
4816 union ieee854_long_double in fpnum union.
4817 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4818 signbit macro to retrieve sign from long double.
4819 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4820 retrieve sign from long double.
4821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4822 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4825 * math/test-misc.c (main): Don't use union ieee854_long_double.
4827 2013-10-04 Alan Modra <amodra@gmail.com>
4830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4832 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4833 calculation. Remove unnecessary test for denormal exponent.
4834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4835 Correct handling of denormals. Avoid undefined shift behaviour.
4836 Correct normalisation of low mantissa when low double is denormal.
4837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4838 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4839 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4840 Correct normalisation of low mantissa. Test for overflow of high
4841 mantissa and normalise.
4842 (ldbl_nearbyint): Use more readable constant for two52.
4843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4844 (__mpn_construct_long_double): Fix test for overflow of high
4845 mantissa and correct normalisation. Avoid undefined shift.
4847 2013-10-04 Alan Modra <amodra@gmail.com>
4849 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4850 (union ibm_extended_long_double): Define as an array of ieee754_double.
4851 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4853 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4863 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4865 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4866 page size instead of calling getpagesize.
4868 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4869 (LOCFILE_ALIGN_MASK): Likewise.
4870 (LOCFILE_ALIGN_UP): Likewise.
4871 (LOCFILE_ALIGNED_P): Likewise.
4872 * locale/programs/ld-collate.c (collate_output): Use the new
4873 macros instead of __alignof__ (int32_t).
4874 * locale/weight.h (findidx): Likewise.
4876 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4879 * manual/string.texi: Fix strncat and wcsncat.
4881 2013-10-03 Brooks Moses <bmoses@google.com>
4884 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4885 * Makerules: ...here, and adjust associated comments.
4887 2013-10-02 Will Newton <will.newton@linaro.org>
4889 * malloc/Makefile: Add tst-pvalloc.
4890 * malloc/tst-pvalloc.c: New file.
4892 2013-10-02 Will Newton <will.newton@linaro.org>
4894 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4895 improve test coverage.
4897 2013-10-02 Will Newton <will.newton@linaro.org>
4899 * malloc/Makefile: Add tst-posix_memalign.
4900 * malloc/tst-posix_memalign.c: New file.
4902 2013-10-01 Eric Blake <eblake@redhat.com>
4904 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4905 Use __THROWNL rather than __THROW on static functions.
4907 2013-09-30 Petr Machata <pmachata@redhat.com>
4909 * elf/elf.h (R_AARCH64_ABS16): New macro.
4910 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4911 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4912 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4913 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4914 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4915 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4916 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4917 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4918 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4919 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4920 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4921 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4922 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4923 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4924 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4925 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4926 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4927 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4928 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4929 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4930 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4931 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4932 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4933 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4934 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4935 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4936 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4937 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4938 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4939 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4941 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4943 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4944 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4946 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4948 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4950 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4952 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4954 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4956 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4958 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4959 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4960 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4961 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4962 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4963 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4964 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4965 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4966 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4967 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4968 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4969 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4971 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4973 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4975 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4977 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4979 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4980 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4981 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4982 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4983 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4984 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4985 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4986 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4987 (R_AARCH64_TLSDESC_LDR): Likewise.
4988 (R_AARCH64_TLSDESC_ADD): Likewise.
4989 (R_AARCH64_TLSDESC_CALL): Likewise.
4991 2013-09-30 Andreas Schwab <schwab@suse.de>
4994 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4995 the nss database lookup.
4996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4999 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5001 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5003 2013-09-28 P. J. McDermott <pj@pehjota.net>
5005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5006 ${Bash-specific parameter/pattern/string} parameter expansion.
5007 * sysdeps/unix/make-syscalls.sh: Likewise.
5009 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5011 * sysdeps/sh/stackguard-macros.h: New file.
5013 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5017 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5020 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5022 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5025 Fix thread ID register.
5027 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5029 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5030 [POSIX || UNIX98]: Require rather than permitting all symbols from
5032 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5033 element of struct sched_param.
5034 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5035 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5036 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5037 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5040 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5042 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5043 argument calculation.
5045 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5047 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5049 [POSIX] (pthread_attr_t): Do not require type.
5050 [POSIX] (pthread_cond_t): Likewise.
5051 [POSIX] (pthread_condattr_t): Likewise.
5052 [POSIX] (pthread_key_t): Likewise.
5053 [POSIX] (pthread_mutex_t): Likewise.
5054 [POSIX] (pthread_mutexattr_t): Likewise.
5055 [POSIX] (pthread_once_t): Likewise.
5056 [POSIX] (pthread_t): Likewise.
5057 [POSIX-based standards] (pthread_atfork): Expect function.
5059 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5060 Richard Sandiford <richard@codesourcery.com>
5062 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5063 (swap_endianness_p): New extern variable.
5064 (set_big_endian): New inline function.
5065 (maybe_swap_uint32): Likewise.
5066 (maybe_swap_uint32_array): Likewise.
5067 (maybe_swap_uint32_obstack): Likewise.
5068 * locale/programs/locfile.c: Include <stdbool.h>.
5069 (swap_endianness_p): New variable.
5070 (add_locale_uint32): Call maybe_swap_uint32.
5071 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5072 (write_locale_data): Call maybe_swap_uint32_array.
5073 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5075 (obstack_int32_grow_fast): Likewise.
5076 (output_weightwc): Call maybe_swap_uint32_obstack.
5077 (collate_output): Likewise.
5078 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5079 (OPT_LITTLE_ENDIAN): Likewise.
5080 (options): Add --little-endian and --big-endian options.
5081 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5082 * locale/programs/locarchive.c: Include "locfile.h".
5086 (create_archive): Use the new macros to access fields of
5087 structures directly mapped from or written to locale archives.
5088 (oldlocrecentcmp): Likewise.
5089 (enlarge_archive): Likewise.
5090 (insert_name): Likewise.
5091 (add_alias): Likewise.
5092 (add_locale): Likewise.
5093 (delete_locales_from_archive): Likewise.
5094 (show_archive_content): Likewise.
5095 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5098 2013-09-24 Roland McGrath <roland@hack.frob.com>
5100 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5101 http://www.gnu.org/doc/freemanuals.texi.
5102 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5104 2013-09-24 Will Newton <will.newton@linaro.org>
5106 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5109 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5111 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5114 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5116 * manual/threads.texi (POSIX Threads): Fix a typo.
5118 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5121 * string/tst-strcoll-overflow.c: New test case.
5122 * string/Makefile (xtests): Add tst-strcoll-overflow.
5123 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5124 cache if string sizes may cause integer overflow.
5127 * string/strcoll_l.c (coll_seq): New members rule, idx,
5128 save_idx and back_us.
5129 (get_next_seq_nocache): New function.
5130 (do_compare_nocache): New function.
5131 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5134 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5137 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5138 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5139 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5142 * elf/Makefile (tests): Add tst-ptrguard1.
5143 (tests-static): Add tst-ptrguard1-static.
5144 (tst-ptrguard1-ARGS): Define.
5145 (tst-ptrguard1-static-ARGS): Define.
5146 * elf/tst-ptrguard1.c: New file.
5147 * elf/tst-ptrguard1-static.c: New file.
5148 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5149 * sysdeps/i386/stackguard-macros.h: Likewise.
5150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5157 2013-09-23 Hector Marco <hecmargi@upv.es>
5158 Ismael Ripoll <iripoll@disca.upv.es>
5159 Carlos O'Donell <carlos@redhat.com>
5162 * sysdeps/generic/stackguard-macros.h: Define
5163 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5164 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5165 Define __pointer_chk_guard_local.
5166 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5167 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5169 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5172 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5174 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5176 * include/string.h (__ffs): Declare as hidden.
5177 * string/ffs.c (__ffs): Define as hidden.
5178 * sysdeps/i386/ffs.c (__ffs): Likewise.
5179 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5180 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5181 * sysdeps/s390/ffs.c (__ffs): Likewise.
5182 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5184 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5186 * NEWS: Mention malloc probes.
5188 * malloc/arena.c (new_heap): New memory_heap_new probe.
5189 (grow_heap): New memory_heap_more probe.
5190 (shrink_heap): New memory_heap_less probe.
5191 (heap_trim): New memory_heap_free probe.
5192 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5193 (systrim): New memory_sbrk_less probe.
5194 * manual/probes.texi: Document them.
5196 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5197 * manual/probes.texi: Document it.
5199 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5200 (__libc_realloc): Add memory_realloc_retry probe.
5201 (__libc_memalign): Add memory_memalign_retry probe.
5202 (__libc_valloc): Add memory_valloc_retry probe.
5203 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5204 (__libc_calloc): Add memory_calloc_retry probe.
5205 * manual/probes.texi: Document them.
5207 * malloc/arena.c (get_free_list): Add probe
5208 memory_arena_reuse_free_list.
5209 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5210 and memory_arena_reuse.
5211 (arena_get2) [!PER_THREAD]: Likewise.
5212 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5213 memory_arena_reuse_realloc.
5214 * manual/probes.texi: Document them.
5216 * malloc/malloc.c (__libc_free): Add
5217 memory_mallopt_free_dyn_thresholds probe.
5218 (__libc_mallopt): Add multiple memory_mallopt probes.
5219 * manual/probes.texi: Document them.
5221 * malloc/malloc.c: Include stap-probe.h.
5222 (__libc_mallopt): Add memory_mallopt probe.
5223 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5224 * manual/probes.texi: New.
5225 * manual/Makefile (chapters): Add probes.
5226 * manual/threads.texi: Set next node.
5228 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5231 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5232 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5233 Add `Chinese' to `nan' entry name.
5235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5237 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5238 (POLYNOMIAL): Likewise.
5239 (TAYLOR_SINCOS): Likewise.
5240 (TAYLOR_SLOW): Likewise.
5241 (__sin): Use TAYLOR_SINCOS.
5243 (slow): Use TAYLOR_SLOW.
5248 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5250 * stdlib/strtod_l.c: Fix buffer overrun.
5252 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5254 * benchtests/Makefile (bench): Add sincos.
5255 * benchtests/bench-sincos.c: New file.
5257 * math/libm-test.inc (cos_test_data): New test inputs.
5258 (sin_test_data): Likewise.
5260 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5268 (bsloww1): Likewise.
5269 (bsloww2): Likewise.
5271 (csloww1): Likewise.
5272 (csloww2): Likewise.
5274 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5283 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5285 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5286 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5287 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5288 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5289 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5290 * elf/cache.c (print_entry): Handle the new cache flags.
5292 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5293 Aldy Hernandez <aldyh@redhat.com>
5295 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5296 Change condition to [_SOFT_FLOAT].
5297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5309 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5312 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5315 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5317 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5318 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5319 (__longjmp): Use LOAD_GP to load saved GPRs.
5320 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5321 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5322 (__sigsetjmp): Use SAVE_GP to save GPRs.
5324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5325 Do not append -msoft-float.
5326 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5328 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5330 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5332 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5336 (_FPU_GETCW): Use initial "__" on variable and field names but not
5337 on macro parameter name.
5338 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5339 parentheses around reference to macro parameter.
5341 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5343 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5345 (ctype_startup): Use uint32_t in cast and sizeof for
5348 2013-09-11 Jia Liu <proljc@gmail.com>
5350 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5352 [__FreeBSD__]: Likewise.
5354 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5357 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5358 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5359 (strchr): Remove __strchr_sse42 ifunc selection.
5360 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5361 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5363 2013-09-11 Will Newton <will.newton@linaro.org>
5365 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5366 parameter to RES. Remove hardcoded 1000 value.
5367 * benchtests/bench-skeleton.c (main): Pass RES parameter
5368 to TIMING_INIT and multiply result by 1000.
5370 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5374 2013-09-11 Andreas Schwab <schwab@suse.de>
5376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5378 (O_TMPFILE) [__USE_GNU]: Define.
5379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5382 2013-09-11 Will Newton <will.newton@linaro.org>
5385 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5388 2013-09-11 Will Newton <will.newton@linaro.org>
5391 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5394 2013-09-11 Will Newton <will.newton@linaro.org>
5397 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5400 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5402 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5408 2013-09-10 Allan McRae <allan@archlinux.org>
5411 * manual/arith.texi (Parsing of Floats): Clarify
5415 * manual/install.texi (Running make install): Mention
5417 * INSTALL: Regenerated.
5419 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5421 * csu/init-first.c (_init): Remove the !SHARED condition around
5422 FPU control word initialization.
5423 * elf/dl-support.c (_dl_fpu_control): New variable.
5424 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5425 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5426 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5427 * math/test-fpucw-static.c: New file.
5428 * math/test-fpucw-ieee.c: New file.
5429 * math/test-fpucw-ieee-static.c: New file.
5430 * math/Makefile (tests): Add `test-fpucw-ieee' and
5432 (tests-static): New variable.
5433 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5435 [($(build-shared),yes)]
5436 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5438 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5441 2013-09-09 Allan McRae <allan@archlinux.org>
5444 * manual/string.texi (Collation Functions): Fix typo in
5446 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5449 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5452 * libio/memstream.c (open_memstream): Fix memory leak.
5453 * libio/wmemstream.c (open_wmemstream): Likewise.
5456 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5458 2013-09-09 Will Newton <will.newton@linaro.org>
5460 * malloc/Makefile: Add tst-realloc to tests.
5461 * malloc/tst-realloc.c: New file.
5463 2013-09-09 Allan McRae <allan@archlinux.org>
5466 * COPYING: Update from GNU website to fix FSF address.
5467 * COPYING.LIB: Likewise.
5469 2013-09-06 David S. Miller <davem@davemloft.net>
5471 * po/zh_TW.po: Update Chinese (traditional) translation from
5472 translation project.
5474 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5475 Joseph Myers <joseph@codesourcery.com>
5477 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5479 (obstack_chunk_alloc): New macro.
5480 (obstack_chunk_free): Likewise.
5481 (record_offset): New function.
5482 (init_locale_data): Likewise.
5483 (align_locale_data): Likewise.
5484 (add_locale_empty): Likewise.
5485 (add_locale_raw_data): Likewise.
5486 (add_locale_raw_obstack): Likewise.
5487 (add_locale_string): Likewise.
5488 (add_locale_wstring): Likewise.
5489 (add_locale_uint32): Likewise.
5490 (add_locale_uint32_array): Likewise.
5491 (add_locale_char): Likewise.
5492 (start_locale_structure): Likewise.
5493 (end_locale_structure): Likewise.
5494 (start_locale_prelude): Likewise.
5495 (end_locale_prelude): Likewise.
5496 (write_locale_data): Take locale_file structure rather than an
5498 * locale/programs/locfile.h: Include "obstack.h".
5499 (struct locale_file): Change to store locale file contents instead
5501 (init_locale_data): New prototype.
5502 (align_locale_data): Likewise.
5503 (add_locale_empty): Likewise.
5504 (add_locale_raw_data): Likewise.
5505 (add_locale_raw_obstack): Likewise.
5506 (add_locale_string): Likewise.
5507 (add_locale_wstring): Likewise.
5508 (add_locale_uint32): Likewise.
5509 (add_locale_uint32_array): Likewise.
5510 (add_locale_char): Likewise.
5511 (start_locale_structure): Likewise.
5512 (end_locale_structure): Likewise.
5513 (start_locale_prelude): Likewise.
5514 (end_locale_prelude): Likewise.
5515 (write_locale_data): Update prototype.
5516 * locale/programs/3level.h (struct TABLE): Remove result field.
5517 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5518 Use new locale_file interface.
5519 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5520 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5521 * locale/programs/ld-address.c (address_output): Use new
5522 locale_file interface.
5523 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5525 (collate_finish): Don't call collseq_table_finalize.
5526 (collate_output): Use new locale_file interface.
5527 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5529 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5530 (TABLE): Move defines earlier in file.
5531 (ELEMENT): Likewise.
5532 (DEFAULT): Likewise.
5533 (wctrans_table_add): Move macro and inline function earlier in
5535 (struct wctype_table): Move type earlier in file.
5536 (add_locale_wctype_table): New static prototype.
5537 (struct locale_ctype_t): Use logical types instead of struct iovec
5538 pointers for members.
5539 (ctype_output): Use new locale_file interface.
5540 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5541 new locale_file interface.
5542 (allocate_arrays): Update for use of new locale_file interface.
5543 * locale/programs/ld-identification.c (identification_output): Use
5544 new locale_file interface.
5545 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5546 * locale/programs/ld-messages.c (messages_output): Likewise.
5547 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5548 * locale/programs/ld-name.c (name_output): Likewise.
5549 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5550 * locale/programs/ld-paper.c (paper_output): Likewise.
5551 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5552 * locale/programs/ld-time.c (time_output): Likewise.
5554 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556 * benchtests/Makefile: Add memrchr benchmark.
5557 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5558 benchmark as memrchr.
5559 * benchtests/bench-memrchr-ifunc.c: New file.
5560 * benchtests/bench-memrchr.c: New file.
5562 2013-09-06 Will Newton <will.newton@linaro.org>
5564 * benchtests/Makefile (string-bench): Add memcpy.
5566 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5567 Cong Wang <amwang@redhat.com>
5569 * sysdeps/unix/sysv/linux/bits/in.h
5570 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5571 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5572 before __USE_KERNEL_IPV6_DEFS uses.
5573 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5575 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5576 sockaddr_in6, or ipv6_mreq.
5578 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5580 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5581 memory access for final bytes in some large inputs.
5582 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5584 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586 * string/test-memrchr.c: New file.
5587 * string/test-memrchr-ifunc.c: New file.
5588 * string/Makefile: Add new memrchr testcase.
5590 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5592 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5593 fanotify_init returns EPERM.
5595 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5597 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5599 (top level): Treat second token from macro or constant entries for
5600 allowed headers as allowed.
5601 * include/complex.h: Condition internal declarations on
5603 * include/fenv.h: Condition include of <stdbool.h> and internal
5604 declarations on [!_ISOMAC].
5606 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5609 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5611 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5613 * configure.in (--enable-versioning): Remove configure option.
5614 (libc_cv_asm_symver_directive): Remove configure test.
5615 (libc_cv_ld_version_script_option): Likewise.
5616 (VERSIONING): Remove variable and AC_SUBST.
5617 (DO_VERSIONING): Remove AC_DEFINE.
5618 * configure: Regenerated.
5619 * config.h.in (DO_VERSIONING): Remove macro.
5620 * Makerules [$(versioning) = yes]: Change conditionals to
5621 [$(build-shared) = yes].
5622 * config.make.in (versioning): Remove variable.
5623 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5624 [$(build-shared) = yes].
5625 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5626 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5627 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5628 [$(build-shared) = yes].
5629 * extra-lib.mk [$(versioning) = yes]: Likewise.
5630 * hurd/Makefile [$(versioning) = yes]: Likewise.
5631 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5633 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5635 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5636 [SHARED && !NO_HIDDEN].
5637 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5639 [SHARED && DO_VERSIONING]: Likewise..
5640 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5641 [$(build-shared) = yes].
5642 * manual/install.texi (--disable-versioning): Remove
5644 * INSTALL: Regenerated.
5645 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5647 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5648 [$(build-shared) = yes].
5649 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5650 * sysdeps/i386/i686/multiarch/strstr-c.c
5651 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5652 [SHARED && !NO_HIDDEN].
5653 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5654 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5655 * sysdeps/powerpc/powerpc32/dl-machine.c
5656 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5657 * sysdeps/powerpc/powerpc32/sysdep.h
5658 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5659 to [SHARED && PIC && !NO_HIDDEN].
5660 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5661 conditional to [SHARED].
5663 2013-09-04 Will Newton <will.newton@linaro.org>
5665 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5666 * benchtests/bench-string.h: Include bench-timing.h instead
5667 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5668 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5669 call to HP_TIMING_DIFF_INIT.
5670 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5671 instead of hp-timing.h macros.
5672 * benchtests/bench-memchr.c: Likewise.
5673 * benchtests/bench-memcmp.c: Likewise.
5674 * benchtests/bench-memcpy.c: Likewise.
5675 * benchtests/bench-memmem.c: Likewise.
5676 * benchtests/bench-memmove.c: Likewise.
5677 * benchtests/bench-memset.c: Likewise.
5678 * benchtests/bench-rawmemchr.c: Likewise.
5679 * benchtests/bench-strcasecmp.c: Likewise.
5680 * benchtests/bench-strcasestr.c: Likewise.
5681 * benchtests/bench-strcat.c: Likewise.
5682 * benchtests/bench-strchr.c: Likewise.
5683 * benchtests/bench-strcmp.c: Likewise.
5684 * benchtests/bench-strcpy.c: Likewise.
5685 * benchtests/bench-strcpy_chk.c: Likewise.
5686 * benchtests/bench-strlen.c: Likewise.
5687 * benchtests/bench-strncasecmp.c: Likewise.
5688 * benchtests/bench-strncat.c: Likewise.
5689 * benchtests/bench-strncmp.c: Likewise.
5690 * benchtests/bench-strncpy.c: Likewise.
5691 * benchtests/bench-strnlen.c: Likewise.
5692 * benchtests/bench-strpbrk.c: Likewise.
5693 * benchtests/bench-strrchr.c: Likewise.
5694 * benchtests/bench-strspn.c: Likewise.
5695 * benchtests/bench-strstr.c: Likewise.
5697 2013-09-04 Will Newton <will.newton@linaro.org>
5699 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5701 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5705 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5706 * math/libm-test.inc (lgamma_test_data): Add more tests.
5707 * sysdeps/i386/fpu/libm-test-ulps: Update.
5708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5710 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5712 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5716 Add strcmp-sse2-unaligned
5717 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5719 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5721 * Versions.def (libc): Add GLIBC_2.19.
5723 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5725 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5726 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5728 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5731 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5732 intermediate calculations in recurrence.
5733 (__ieee754_ynf): Likewise.
5734 * math/libm-test.inc (jn_test_data): Do not allow spurious
5735 underflow exception. Add more tests.
5736 (yn_test_data): Add more tests.
5737 * sysdeps/i386/fpu/libm-test-ulps: Update.
5738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5740 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5744 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5746 * csu/init-first.c: Fix then/than typos.
5747 * locale/programs/ld-collate.c: Likewise.
5748 * locale/programs/linereader.h: Likewise.
5749 * manual/charset.texi: Likewise.
5750 * manual/filesys.texi: Likewise.
5751 * manual/stdio.texi: Likewise.
5752 * manual/string.texi: Likewise.
5753 * stdlib/fmtmsg.c: Likewise.
5754 * sysdeps/i386/stpncpy.S: Likewise.
5755 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5756 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5757 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5758 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5760 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5762 * elf/dl-open.c: Fix typos.
5763 * iconvdata/gbbig5.c: Likewise.
5764 * iconvdata/iso-2022-jp.c: Likewise.
5765 * iconv/gconv_int.h: Likewise.
5766 * iconv/loop.c: Likewise.
5767 * nis/rpcsvc/nis.h: Likewise.
5768 * resolv/ns_name.c: Likewise.
5769 * stdio-common/vfscanf.c: Likewise.
5770 * streams/stropts.h: Likewise.
5771 * sunrpc/rpc_thread.c: Likewise.
5772 * sysdeps/i386/strpbrk.S: Likewise.
5773 * sysdeps/ieee754/k_standard.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5776 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5777 * sysdeps/mach/hurd/profil.c: Likewise.
5778 * sysdeps/s390/dl-procinfo.h: Likewise.
5779 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5780 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5782 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5783 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5785 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5787 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5790 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5792 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5794 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5796 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5797 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5799 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5800 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5801 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5803 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5804 Roland McGrath <roland@hack.frob.com>
5806 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5807 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5809 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5811 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5812 __executable_start symbol instead of _start.
5814 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5816 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5817 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5819 * sysdeps/gnu/ldsodefs.h: ... this new file.
5821 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5822 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5823 instead of ELFOSABI_LINUX.
5825 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5826 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5827 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5828 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5830 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5831 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5832 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5834 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5835 (ibm_extended_long_double): Add ieee_nan member.
5836 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5837 (do_test): New function.
5839 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5841 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5842 functions, renamed from truncdfsf_test, trunctfsf_test,
5844 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5846 (do_test): Run all these.
5848 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5850 * argp/argp-help.c: Fix typos.
5851 * argp/argp-parse.c: Likewise.
5852 * debug/backtracesyms.c: Likewise.
5853 * elf/elf.h: Likewise.
5854 * malloc/malloc.c: Likewise.
5855 * nis/nis_print.c: Likewise.
5856 * resolv/res_comp.c: Likewise.
5857 * stdlib/stdlib.h: Likewise.
5858 * sunrpc/clnt_tcp.c: Likewise.
5859 * sunrpc/clnt_udp.c: Likewise.
5860 * sunrpc/clnt_unix.c: Likewise.
5861 * sysdeps/unix/bsd/ptsname.c: Likewise.
5862 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5870 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5872 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5874 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5877 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5880 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5881 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5882 ($(objpfx)bug-dl-leaf): New rule.
5883 ($(objpfx)bug-dl-leaf.so): Likewise.
5884 ($(objpfx)bug-dl-leaf.out): Likewise.
5885 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5886 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5887 * dlfcn/bug-dl-leaf.c: New test.
5888 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5889 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5890 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5891 (dlclose): Likewise.
5892 (dlmopen): Likewise.
5894 2013-08-27 Roland McGrath <roland@hack.frob.com>
5896 * include/netdb.h [!_ISOMAC]:
5897 Don't include <tls.h>.
5898 (h_errno, __libc_h_errno): Move declaration and macros out of
5901 * include/resolv.h [_RESOLV_H_]:
5902 Don't include <tls.h>.
5903 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5904 * resolv/res_libc.c: Don't include <tls.h>.
5905 (_res): Use __attribute__ ((nocommon)) in place of
5906 __attribute__ ((section (".bss"))).
5908 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5909 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5911 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5913 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5914 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5916 * resolv/res_mkquery.c: Include <sys/time.h>.
5918 * inet/ifreq.c: Moved to ...
5919 * sysdeps/unix/ifreq.c: ... here.
5920 * inet/ifreq.c: New file, true stub version.
5922 * socket/sa_len.c: New file.
5923 * socket/Makefile (aux): Add it.
5924 * sysdeps/unix/sysv/linux/Makefile
5925 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5926 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5927 and #include <socket/sa_len.c>.
5928 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5929 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5932 * bits/socket.h: ... here.
5934 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5935 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5936 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5938 2013-08-27 Andreas Schwab <schwab@suse.de>
5941 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5942 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5943 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5944 * string/test-strcasecmp.c (test_main): Run tests in several
5946 * string/test-strncasecmp.c (test_main): Likewise.
5948 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5949 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5950 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5952 (__strncasecmp_ssse3) [PIC]: Likewise.
5954 2013-08-26 Roland McGrath <roland@hack.frob.com>
5956 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5958 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5959 instead of explicitly declaring xdecrypt.
5960 * nis/nss_nis/nis-publickey.c: Likewise.
5962 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5965 * nscd/aicache.c: Include res_hconf.h.
5966 (addhstaiX): Initialize res_hconf.
5968 2013-08-26 Andreas Schwab <schwab@suse.de>
5970 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5971 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5973 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5975 * nscd/aicache.c (addhstaiX): Fix indentation.
5977 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5979 * configure.ac: Quote $build_pt_chown test.
5980 * configure: Regenerated.
5982 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5985 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5986 * math/s_cexpf.c (__cexpf): Likewise.
5987 * math/s_cexpl.c (__cexpl): Likewise.
5988 * math/libm-test.inc (cexp_test_data): Correct expected return
5989 value for NaN + i0. Add another test.
5991 2013-08-22 David S. Miller <davem@davemloft.net>
5993 * po/ca.po: Update Catalan translation from translation project.
5994 * po/uk.po: Add Ukrainian translations from translation project.
5996 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5999 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6000 is infinite, not alongside NaN test.
6001 * math/s_fdimf.c (__fdimf): Likewise.
6002 * math/s_fdiml.c (__fdiml): Likewise.
6003 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6006 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6008 * argp/argp-help.c: Fix typos.
6009 * crypt/speeds.c: Likewise.
6010 * csu/check_fds.c: Likewise.
6011 * elf/dl-load.c: Likewise.
6012 * elf/dl-open.c: Likewise.
6013 * elf/reldep3.c: Likewise.
6014 * elf/reldep.c: Likewise.
6015 * elf/sprof.c: Likewise.
6016 * iconv/iconv_charmap.c: Likewise.
6017 * iconv/skeleton.c: Likewise.
6018 * iconv/strtab.c: Likewise.
6019 * io/lockf64.c: Likewise.
6020 * libio/libioP.h: Likewise.
6021 * resolv/gai_notify.c: Likewise.
6022 * resolv/ns_name.c: Likewise.
6023 * resolv/ns_samedomain.c: Likewise.
6024 * resolv/res_send.c: Likewise.
6025 * stdlib/random.c: Likewise.
6026 * sunrpc/rpc/xdr.h: Likewise.
6027 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6030 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6031 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6035 * sysdeps/mach/hurd/check_fds.c: Likewise.
6036 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6040 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6041 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6042 * sysdeps/pthread/aio_notify.c: Likewise.
6043 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6044 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6045 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6046 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6047 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6049 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6051 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6052 version if bit_Slow_SSE4_2 is set.
6053 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6054 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6056 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6059 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6060 trampoline stack frame information.
6061 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6063 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6064 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6065 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6066 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6067 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6068 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6070 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6071 interrupting a syscall and set with option SA_SIGINFO.
6073 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6076 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6077 argument is infinite.
6078 * math/s_cprojf.c (__cprojf): Likewise.
6079 * math/s_cprojl.c (__cprojl): Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6081 * math/libm-test.inc (cproj_test_data): Add more tests.
6083 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6085 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6086 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6087 size. Use __ffs to determine corresponding shift.
6089 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6090 Roland McGrath <roland@hack.frob.com>
6092 * Makefile (INSTALL): Remove trailing blank lines from output of
6095 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6097 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6098 Align 32 bit compat elf_greg to 8 bytes.
6100 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6102 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6104 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6106 * string/strcoll_l.c (coll_seq): New structure.
6107 (get_next_seq_cached): New function.
6108 (get_next_seq): New function.
6109 (do_compare): New function.
6110 (STRCOLL): Use GNU style definition. Simplify implementation
6111 by using get_next_seq, get_next_seq_cached and do_compare.
6113 2013-08-16 Florian Weimer <fweimer@redhat.com>
6117 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6119 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6121 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6122 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6123 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6125 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6126 GETDENTS_64BIT_ALIGNED.
6127 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6128 * manual/filesys.texi (Reading/Closing Directory): Document
6129 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6131 * manual/conf.texi (Limits for Files): Add portability note to
6133 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6135 2013-08-13 Andreas Schwab <schwab@suse.de>
6138 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6140 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6141 LDBL_MAX_EXP >= 16384]: Add tests for it.
6143 2013-08-12 David S. Miller <davem@davemloft.net>
6145 * version.h (RELEASE): Set to "development".
6146 (VERSION): Set to "2.18.90".
6147 * NEWS: Add 2.19 section.
6149 2013-08-03 David S. Miller <davem@davemloft.net>
6151 * po/ko.po: Update Korean translation from translation project.
6153 2013-08-01 David S. Miller <davem@davemloft.net>
6155 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6156 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6159 2013-07-30 David S. Miller <davem@davemloft.net>
6161 * po/fr.po: Update French translation from translation project.
6163 2013-07-28 David S. Miller <davem@davemloft.net>
6165 * po/cs.po: Update Czech translation from translation project.
6167 * po/sv.po: Update Swedish translation from translation project.
6169 2013-07-27 David S. Miller <davem@davemloft.net>
6171 * po/eo.po: Update Esperanto translation from translation project.
6173 * po/vi.po: Update Vietnamese translation from translation project.
6175 * po/de.po: Update German translation from translation project.
6177 2013-07-26 David S. Miller <davem@davemloft.net>
6179 * po/bg.po: Update Bulgarian translation from translation project.
6181 * po/nl.po: Update Dutch translation from translation project.
6182 * po/pl.po: Update Polish translation from translation project.
6183 * po/ru.po: Update Russian translation from translation project.
6185 2013-07-24 David S. Miller <davem@davemloft.net>
6187 * po/libc.pot: Update.
6189 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6191 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6193 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6194 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6197 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6199 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6201 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6202 Andreas Schwab <schwab@suse.de>
6203 Roland McGrath <roland@hack.frob.com>
6204 Joseph Myers <joseph@codesourcery.com>
6205 Carlos O'Donell <carlos@redhat.com>
6208 * config.h.in: Define HAVE_PT_CHOWN.
6209 * config.make.in (build-pt-chown): New variable.
6210 * configure.in (--enable-pt_chown): New configure option.
6211 * configure: Regenerate.
6212 * login/Makefile: Include Makeconfig. Build pt_chown only if
6213 build-pt-chown is enabled.
6214 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6215 pt_chown to fix pty ownership.
6216 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6218 * manual/install.texi (Configuring and compiling): Mention
6219 --enable-pt_chown. Add @findex for grantpt.
6220 * INSTALL: Regenerate.
6222 2013-07-20 David S. Miller <davem@davemloft.net>
6224 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6225 difference between 32-bit and 64-bit.
6227 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6230 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6231 Avoid system header dependency with -ffreestanding.
6232 ($(objpfx)bits/syscall%d): Likewise.
6234 2013-07-13 David S. Miller <davem@davemloft.net>
6236 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6237 underflows from atanl/atan2l due to bug 15319.
6238 (casinh_test_data): Likewise.
6240 2013-07-07 David S. Miller <davem@davemloft.net>
6242 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6244 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6246 * sysdeps/i386/fpu/libm-test-ulps: Update.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6251 * configure.in (--enable-lock-elision): Fix message text.
6252 * INSTALL: Regenerate.
6253 * configure: Regenerate.
6255 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6259 2013-07-03 Andreas Jaeger <aj@suse.de>
6261 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6263 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6264 (ptrace_peeksiginfo_args): Add.
6265 (__ptrace_peeksiginfo_flags): Add.
6266 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6267 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6268 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6270 2013-07-03 Allan McRae <allan@archlinux.org>
6272 * sysdeps/i386/fpu/libm-test-ulps: Update.
6274 2013-07-02 David S. Miller <davem@davemloft.net>
6276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6278 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6282 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6284 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6287 2013-07-02 Andi Kleen <ak@linux.intel.com>
6289 * config.h.in (ENABLE_LOCK_ELISION): Add.
6290 * configure.in (--enable-lock-elision): Add option.
6291 * manual/install.texi: Document --enable lock elision.
6292 * configure: Regenerate
6293 * INSTALL: Regenerate.
6295 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6297 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6298 SSE4.2 strcasecmp for libc.a.
6299 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6301 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6304 * soft-fp/op-common.h (_FP_FMA): New macro.
6305 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6306 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6307 (_FP_MUL_MEAT_1_imm): ... here.
6308 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6309 (_FP_MUL_MEAT_1_wide): ... here.
6310 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6311 (_FP_MUL_MEAT_1_hard): ... here.
6312 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6313 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6314 (_FP_MUL_MEAT_2_wide): ... here.
6315 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6316 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6317 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6318 (_FP_MUL_MEAT_2_gmp): ... here.
6319 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6320 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6321 (_FP_MUL_MEAT_4_wide): ... here.
6322 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6323 (_FP_MUL_MEAT_4_gmp): ... here.
6324 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6325 (_FP_WFRACBITS_DW_S): Likewise.
6326 (_FP_WFRACXBITS_DW_S): Likewise.
6327 (_FP_HIGHBIT_DW_S): Likewise.
6328 (FP_FMA_S): Likewise.
6329 (_FP_FRAC_HIGH_DW_S): Likewise.
6330 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6331 (_FP_WFRACBITS_DW_D): Likewise.
6332 (_FP_WFRACXBITS_DW_D): Likewise.
6333 (_FP_HIGHBIT_DW_D): Likewise.
6334 (FP_FMA_D): Likewise.
6335 (_FP_FRAC_HIGH_DW_D): Likewise.
6336 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6337 (_FP_WFRACBITS_DW_E): Likewise.
6338 (_FP_WFRACXBITS_DW_E): Likewise.
6339 (_FP_HIGHBIT_DW_E): Likewise.
6340 (FP_FMA_E): Likewise.
6341 (_FP_FRAC_HIGH_DW_E): Likewise.
6342 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6343 (_FP_WFRACBITS_DW_Q): Likewise.
6344 (_FP_WFRACXBITS_DW_Q): Likewise.
6345 (_FP_HIGHBIT_DW_Q): Likewise.
6346 (FP_FMA_Q): Likewise.
6347 (_FP_FRAC_HIGH_DW_Q): Likewise.
6348 * soft-fp/fmasf4.c: New file.
6349 * soft-fp/fmadf4.c: Likewise.
6350 * soft-fp/fmatf4.c: Likewise.
6352 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6355 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6359 (index_Slow_SSE4_2): Likewise.
6360 (index_Prefer_PMINUB_for_stringop): Likewise.
6361 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6362 bit_Slow_SSE4_2 is set.
6363 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6364 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6366 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6368 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6369 rtld_global._dl_hwcap2.
6370 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6372 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6373 POWER8 feature descriptions defined in _dl_hwcap2.
6374 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6375 string handling for POWER8 feature bits.
6376 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6377 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6378 _dl_powerpc_cap_flags.
6379 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6380 * sysdeps/powerpc/rtld-global-offsets.sym
6381 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6382 _dl_hwcap2 in the rtld_global_ro structure.
6384 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6386 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6387 hardware capabilities in support of AT_HWCAP2.
6388 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6389 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6391 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6392 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6393 explicitly the unknown a_type display mechanism is used.
6394 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6395 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6397 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6398 to macro prototype for AT_HWCAP2 support.
6399 * sysdeps/i386/dl-procinfo.h: Likewise.
6400 * sysdeps/s390/dl-procinfo.h: Likewise.
6401 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6402 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6403 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6404 return -1 for unknown a_type display fallback.
6405 * sysdeps/sparc/dl-procinfo.h: Likewise.
6406 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6407 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6409 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6412 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6414 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6417 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6418 mprotect making __stack_prot writable.
6420 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6421 Joseph Myers <joseph@codesourcery.com>
6423 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6424 as being properly aligned.
6426 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6428 * dlfcn/modstatic5.c: New file.
6429 * dlfcn/tststatic5.c: New file.
6430 * dlfcn/Makefile (tests): Add tststatic5.
6431 (tests-static): Likewise.
6432 (modules-names): Add modstatic5.
6433 (tststatic5-ENV): New variable.
6434 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6437 * elf/dl-support.c (_dl_main_map): New variable.
6438 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6439 (_dl_nns, _dl_load_adds): Set to 1.
6440 (_dl_initial_searchlist): Refer to _dl_main_map.
6441 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6442 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6443 call to _dl_get_origin.
6444 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6446 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6447 * dlfcn/modstatic3.c: New file.
6448 * dlfcn/tststatic3.c: New file.
6449 * dlfcn/tststatic4.c: New file.
6450 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6451 (tests-static): Likewise.
6452 (modules-names): Add modstatic3.
6453 (tststatic3-ENV, tststatic4-ENV): New variables.
6454 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6455 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6457 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6459 * configure.in (CC): Require GCC version 4.4 or later.
6460 * configure: Regenerated.
6461 * manual/install.texi (Tools for Compilation): Update GCC version
6463 * INSTALL: Regenerated.
6465 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6468 * string/test-memcmp.c (check2): New.
6469 (main): Call check2.
6471 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6473 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6476 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6478 (dl_open_worker) [!SHARED]: ... here.
6480 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6482 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6484 2013-06-25 Richard Henderson <rth@redhat.com>
6486 * locale/programs/locarchive.c: Include <libc-internal.h>
6488 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6490 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6491 trailing whitespace removed.
6493 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6496 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6497 * locale/programs/locarchive.c: Include libc-mmap.h.
6498 (prepare_address_space): Take two new outputs (the mmap base and len).
6499 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6501 (create_archive): Declare new mmap base and len values for
6502 prepare_address_space, and store the result in ah.
6503 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6504 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6505 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6506 Declare new mmap base and len values for
6507 prepare_address_space, and store the result in new_ah.
6508 (open_archive): Declare new mmap base and len values for
6509 prepare_address_space, and store the result in ah.
6510 (close_archive): If ah->mmap_base is not NULL, use that and
6511 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6512 * sysdeps/generic/libc-mmap.h: New file.
6514 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6516 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6517 (ALIGN_UP): Likewise.
6518 (PTR_ALIGN_DOWN): Likewise.
6519 (PTR_ALIGN_UP): Likewise.
6521 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6523 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6524 entry mapped to PPC_PLATFORM_POWER8.
6525 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6527 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6528 (_dl_string_platform): Add case for exporting platform position for
6530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6531 search path to sysdeps/powerpc/powerpc32/power8 directory.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6533 search path to sysdeps/powerpc/powerpc64/power8 directory.
6534 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6536 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6539 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 * INSTALL: Regenerate.
6543 * nscd/connections.c (nscd_init): Fix comment.
6545 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6547 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6550 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6551 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6553 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6555 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6557 (DL_DST_REQ_STATIC): Remove macro.
6559 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6562 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6563 with a shift of 0 bits.
6565 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6567 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6570 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6573 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6575 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6578 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6579 accepts -fno-tree-loop-distribute-patterns.
6580 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6581 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6583 * string/memset.c (memset): Likewise.
6584 * string/test-memmove.c (simple_memmove): Disable loop transformation
6586 * string/test-memset.c (simple_memset): Likewise.
6587 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6588 * benchtests/bench-memset.c (simple_memset): Likewise.
6589 * configure: Regenerated.
6591 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6593 * math/test-misc.c (main): Ignore fesetround failure when failures
6594 of subsequent rounding tests would be ignored.
6597 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6598 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6599 * math/fegetenv.c (__fegetenv): Return 0.
6600 * math/fegetexcept.c (fegetexcept): Return 0.
6601 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6603 * math/feholdexcpt.c (feholdexcept): Return 0.
6604 * math/fesetenv.c (__fesetenv): Return 0.
6605 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6606 argument FE_TONEAREST.
6607 * math/feupdateenv.c (__feupdateenv): Return 0.
6608 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6610 2013-06-18 Roland McGrath <roland@hack.frob.com>
6612 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6613 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6614 ($(objpfx)rtld-%.os rules): Use them.
6616 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6618 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6621 2013-06-17 Roland McGrath <roland@hack.frob.com>
6623 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6624 length of target pattern, then descending length of dependency pattern.
6625 * configure.in (AWK): Require gawk 3.1.2 or newer.
6626 * manual/install.texi (Tools for Compilation): Say that we do.
6627 * configure: Regenerated.
6629 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6630 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6631 * scripts/sysd-rules.awk: ... this new script.
6632 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6633 than a glob-style pattern.
6635 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6637 * math/test-misc.c (main): Do not treat incorrectly rounded
6638 conversions as failure unless ROUNDING_TESTS passes.
6640 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6643 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6644 restore exception state around main square root computation, then
6645 check for inexactness explicitly.
6647 * math/libm-test.inc (fma_test_data): Add another test.
6649 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6651 * manual/threads.texi (Non-POSIX Extensions): New document
6652 node. Document pthread_getattr_default_np and
6653 pthread_setattr_default_np.
6655 * Versions.def (libpthread): Add GLIBC_2.18.
6656 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6665 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6676 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6679 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6681 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6682 H.J. Lu <hjl.tools@gmail.com>
6685 * sysdeps/x86_64/rtld-memset.c: Remove file.
6686 * sysdeps/x86_64/rtld-memset.S: New file.
6688 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6690 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6691 (test_in_one_mode): Take arguments for whether the rounding mode
6692 is supported for each floating-point type.
6693 (do_test): Pass new arguments to test_in_one_mode using
6696 2013-06-13 Roland McGrath <roland@hack.frob.com>
6698 * posix/tst-waitid.c (do_test): Distinguish different instances of
6699 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6700 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6701 before entering the kernel for waitpid.
6703 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6705 * NEWS: Fix note on clock function precision. Text by Roland
6708 2013-06-13 Roland McGrath <roland@hack.frob.com>
6710 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6711 it into place only when and if the sanity check passes.
6713 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6715 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6716 output for whether conversion result is exact. Take argument
6717 indicating whether type is IBM long double.
6718 (round_for_all): Change need_exact field to ibm_ld.
6719 * stdlib/tst-strtod-round.c (struct exactness): New type.
6720 (struct test): Change bool ld_ok field to struct exactness exact.
6721 (TEST): Update all definitions for change to field.
6722 (tests): Regenerate array contents.
6723 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6724 field value. Check for IBM long double here.
6725 (do_test): Update calls to test_in_one_mode.
6727 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6730 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6731 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6733 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6736 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6737 generated by the compiler on loop optimizations.
6738 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6739 general definitions.
6741 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6743 * math/bug-nextafter.c: Include <math-tests.h>.
6744 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6746 * math/bug-nexttoward.c: Include <math-tests.h>.
6747 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6749 * math/test-misc.c: Include <math-tests.h>.
6750 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6753 2013-06-12 Andreas Jaeger <aj@suse.de>
6755 * po/ia.po: Update Interlingua translation from translation
6758 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6760 * include/fenv.h: Include stdbool.h.
6761 (struct rm_ctx): New structure.
6762 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6764 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6765 (SET_RESTORE_ROUNDF): Likewise.
6766 (SET_RESTORE_ROUNDL): Likewise.
6767 (SET_RESTORE_ROUND_NOEX): Likewise.
6768 (SET_RESTORE_ROUND_NOEXF): Likewise.
6769 (SET_RESTORE_ROUND_NOEXL): Likewise.
6770 (SET_RESTORE_ROUND_53BIT): Likewise.
6771 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6772 (libc_feresetround_noexf_ctx): Likewise.
6773 (libc_feresetround_noexl_ctx): Likewise.
6774 (libc_feholdsetround_53bit_ctx): Likewise.
6775 (libc_feresetround_53bit_ctx): Likewise.
6776 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6777 (libc_feholdexcept_setround_sse_ctx): New function.
6778 (libc_fesetenv_sse_ctx): Likewise.
6779 (libc_feupdateenv_sse_ctx): Likewise.
6780 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6781 (libc_feholdexcept_setround_387_ctx): Likewise.
6782 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6783 (libc_feholdsetround_387_prec_ctx): Likewise.
6784 (libc_feholdsetround_387_ctx): Likewise.
6785 (libc_feholdsetround_387_53bit_ctx): Likewise.
6786 (libc_feholdsetround_sse_ctx): Likewise.
6787 (libc_feresetround_sse_ctx): Likewise.
6788 (libc_feresetround_387_ctx): Likewise.
6789 (libc_feupdateenv_387_ctx): Likewise.
6790 (libc_feholdexcept_setroundf_ctx): Define macro.
6791 (libc_fesetenvf_ctx): Likewise.
6792 (libc_feupdateenvf_ctx): Likewise.
6793 (libc_feholdsetroundf_ctx): Likewise.
6794 (libc_feresetroundf_ctx): Likewise.
6795 (libc_feholdexcept_setround_ctx): Likewise.
6796 (libc_fesetenv_ctx): Likewise.
6797 (libc_feupdateenv_ctx): Likewise.
6798 (libc_feholdsetround_ctx): Likewise.
6799 (libc_feresetround_ctx): Likewise.
6800 (libc_feholdexcept_setroundl_ctx): Likewise.
6801 (libc_feupdateenvl_ctx): Likewise.
6802 (libc_feholdsetroundl_ctx): Likewise.
6803 (libc_feresetroundl_ctx): Likewise.
6804 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6805 (libc_feresetround_53bit_ctx): Likewise.
6807 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6809 * locale/iso-639.def: Convert to UTF-8.
6811 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6813 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6814 (EXCEPTION_TESTS_double): Likewise.
6815 (EXCEPTION_TESTS_long_double): Likewise.
6816 (EXCEPTION_TESTS): Likewise.
6817 * math/libm-test.inc (test_exceptions): Only test exceptions if
6818 EXCEPTION_TESTS (FLOAT).
6820 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * benchtests/Makefile (string-bench): Add strcpy_chk and
6824 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6825 * benchtests/bench-stpcpy_chk.c: New file.
6826 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6827 * benchtests/bench-strcpy_chk.c: New file.
6828 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6830 (do_test): Likewise.
6832 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6834 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6835 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6836 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6837 with tabs where appropriate.
6838 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6840 [PPC_PLATFORM_PPC440]: Likewise.
6841 [PPC_PLATFORM_PPC464]: Likewise.
6842 [PPC_PLATFORM_PPC476]: Likewise.
6843 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6844 ppc464, and ppc476 platform strings merging from ports/
6847 2013-06-11 Andreas Schwab <schwab@suse.de>
6850 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6851 (from_ucs4_idx): Regenerate.
6852 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6853 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6854 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6855 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6856 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6857 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6858 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6859 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6860 from FROM_LOOP and TO_LOOP specific macros.
6861 (BODY): Handle combining characters.
6862 * iconvdata/BIG5HKSCS.irreversible: Update.
6863 * iconvdata/BIG5HKSCS.precomposed: New file.
6864 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6866 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6868 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6870 * include/sys/time.h: Fix indentation and add copyright header.
6872 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6873 (do_test): Likewise.
6874 * string/test-memchr.c (do_one_test): Likewise.
6875 (do_test): Likewise.
6876 * string/test-memcmp.c (do_one_test): Likewise.
6877 (do_test): Likewise.
6878 * string/test-memcpy.c (do_one_test): Likewise.
6879 (do_test): Likewise.
6880 * string/test-memmem.c (do_one_test): Likewise.
6881 (do_test): Likewise.
6882 (do_random_tests): Likewise.
6883 * string/test-memmove.c (do_one_test): Likewise.
6884 (do_test): Likewise.
6885 * string/test-memset.c (do_one_test): Likewise.
6886 (do_test): Likewise.
6887 * string/test-rawmemchr.c (do_one_test): Likewise.
6888 (do_test): Likewise.
6889 * string/test-strcasecmp.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-strcasestr.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-strcat.c (do_one_test): Likewise.
6894 (do_test): Likewise.
6895 * string/test-strchr.c (do_one_test): Likewise.
6896 (do_test): Likewise.
6897 * string/test-strcmp.c (do_one_test): Likewise.
6898 (do_test): Likewise.
6899 * string/test-strcpy.c (do_one_test): Likewise.
6900 (do_test): Likewise.
6901 * string/test-string.h: Likewise.
6902 (test_init): Likewise.
6903 * string/test-strlen.c (do_one_test): Likewise.
6904 (do_test): Likewise.
6905 * string/test-strncasecmp.c (do_one_test): Likewise.
6906 (do_test): Likewise.
6907 * string/test-strncat.c (do_one_test): Likewise.
6908 (do_test): Likewise.
6909 * string/test-strncmp.c (do_one_test): Likewise.
6910 (do_test_limit): Likewise.
6911 (do_test): Likewise.
6912 * string/test-strncpy.c (do_one_test): Likewise.
6913 (do_test): Likewise.
6914 * string/test-strnlen.c (do_one_test): Likewise.
6915 (do_test): Likewise.
6916 * string/test-strpbrk.c (do_one_test): Likewise.
6917 (do_test): Likewise.
6918 * string/test-strrchr.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-strspn.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 * string/test-strstr.c (do_one_test): Likewise.
6923 (do_test): Likewise.
6925 * benchtests/Makefile (string-bench): Add string benchmarks.
6926 * benchtests/bench-bcopy-ifunc.c: New file.
6927 * benchtests/bench-bcopy.c: New file.
6928 * benchtests/bench-bzero-ifunc.c: New file.
6929 * benchtests/bench-bzero.c: New file.
6930 * benchtests/bench-memccpy-ifunc.c: New file.
6931 * benchtests/bench-memccpy.c: New file.
6932 * benchtests/bench-memchr-ifunc.c: New file.
6933 * benchtests/bench-memchr.c: New file.
6934 * benchtests/bench-memcmp-ifunc.c: New file.
6935 * benchtests/bench-memcmp.c: New file.
6936 * benchtests/bench-memmem-ifunc.c: New file.
6937 * benchtests/bench-memmem.c: New file.
6938 * benchtests/bench-memmove-ifunc.c: New file.
6939 * benchtests/bench-memmove.c: New file.
6940 * benchtests/bench-mempcpy-ifunc.c: New file.
6941 * benchtests/bench-mempcpy.c: New file.
6942 * benchtests/bench-memset-ifunc.c: New file.
6943 * benchtests/bench-memset.c: New file.
6944 * benchtests/bench-rawmemchr-ifunc.c: New file.
6945 * benchtests/bench-rawmemchr.c: New file.
6946 * benchtests/bench-stpcpy-ifunc.c: New file.
6947 * benchtests/bench-stpcpy.c: New file.
6948 * benchtests/bench-stpncpy-ifunc.c: New file.
6949 * benchtests/bench-stpncpy.c: New file.
6950 * benchtests/bench-strcasecmp-ifunc.c: New file.
6951 * benchtests/bench-strcasecmp.c: New file.
6952 * benchtests/bench-strcasestr-ifunc.c: New file.
6953 * benchtests/bench-strcasestr.c: New file.
6954 * benchtests/bench-strcat-ifunc.c: New file.
6955 * benchtests/bench-strcat.c: New file.
6956 * benchtests/bench-strchr-ifunc.c: New file.
6957 * benchtests/bench-strchr.c: New file.
6958 * benchtests/bench-strchrnul-ifunc.c: New file.
6959 * benchtests/bench-strchrnul.c: New file.
6960 * benchtests/bench-strcmp-ifunc.c: New file.
6961 * benchtests/bench-strcmp.c: New file.
6962 * benchtests/bench-strcpy-ifunc.c: New file.
6963 * benchtests/bench-strcpy.c: New file.
6964 * benchtests/bench-strcspn-ifunc.c: New file.
6965 * benchtests/bench-strcspn.c: New file.
6966 * benchtests/bench-strlen-ifunc.c: New file.
6967 * benchtests/bench-strlen.c: New file.
6968 * benchtests/bench-strncasecmp-ifunc.c: New file.
6969 * benchtests/bench-strncasecmp.c: New file.
6970 * benchtests/bench-strncat-ifunc.c: New file.
6971 * benchtests/bench-strncat.c: New file.
6972 * benchtests/bench-strncmp-ifunc.c: New file.
6973 * benchtests/bench-strncmp.c: New file.
6974 * benchtests/bench-strncpy-ifunc.c: New file.
6975 * benchtests/bench-strncpy.c: New file.
6976 * benchtests/bench-strnlen-ifunc.c: New file.
6977 * benchtests/bench-strnlen.c: New file.
6978 * benchtests/bench-strpbrk-ifunc.c: New file.
6979 * benchtests/bench-strpbrk.c: New file.
6980 * benchtests/bench-strrchr-ifunc.c: New file.
6981 * benchtests/bench-strrchr.c: New file.
6982 * benchtests/bench-strspn-ifunc.c: New file.
6983 * benchtests/bench-strspn.c: New file.
6984 * benchtests/bench-strstr-ifunc.c: New file.
6985 * benchtests/bench-strstr.c: New file.
6987 * benchtests/Makefile: Disable parallel execution of targets.
6988 (string-bench): Add memcpy.
6989 (benchset): New variable to store a list of benchmark sets.
6990 (bench-func): Renamed from bench.
6991 (bench-set): New target.
6992 (bench): Depend on bench-func and bench-set.
6993 * benchtests/README: Add section on benchmark sets.
6994 * benchtests/bench-memcpy-ifunc.c: New file.
6995 * benchtests/bench-memcpy.c: New file.
6996 * benchtests/bench-string.h: New file.
6998 2013-06-11 Andreas Schwab <schwab@suse.de>
7001 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7002 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7003 values in the triple.
7004 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7005 terminator in the group key.
7007 2013-06-11 Andreas Jaeger <aj@suse.de>
7009 * po/zh_TW.po: Update Chinese (traditional) translation from
7010 translation project.
7012 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7014 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7015 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7016 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7017 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7018 (clock_getcpuclockid): Likewise.
7019 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7020 Add weak_alias and libc_hidden_def.
7021 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7022 * rt/clock_gettime.c (clock_gettime): Rename to
7023 __clock_gettime. Add weak_alias and libc_hidden_def.
7024 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7025 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7026 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7027 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7028 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7030 * rt/clock_settime.c (clock_settime): Rename to
7031 __clock_settime. Add weak_alias and libc_hidden_def.
7032 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7034 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7036 * mach/err_boot.sub: Remove trailing whitespace.
7037 * mach/err_ipc.sub: Likewise.
7038 * mach/err_mach.sub: Likewise.
7040 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7041 (ROUNDING_TESTS_double): Likewise.
7042 (ROUNDING_TESTS_long_double): Likewise.
7043 (ROUNDING_TESTS): Likewise.
7044 * math/libm-test.inc: Include <math-tests.h>.
7045 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7046 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7047 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7048 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7050 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7052 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7055 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7058 otherwise empty TRANS lines.
7059 * sysdeps/gnu/errlist.c: Regenerated.
7061 * catgets/gencat.c (error_print): Use (void) in function
7063 * crypt/crypt_util.c (__init_des): Likewise.
7064 * crypt/speeds.c (Stop): Likewise.
7066 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7067 * inet/ruserpass.c (token): Likewise.
7068 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7069 * intl/localealias.c (extend_alias_table): Likewise.
7070 * intl/plural-exp.c (init_germanic_plural): Likewise.
7071 * libio/fcloseall.c (__fcloseall): Likewise.
7072 * libio/genops.c (_IO_flush_all): Likewise.
7073 (_IO_flush_all_linebuffered): Likewise.
7074 (_IO_cleanup): Likewise.
7075 (_IO_iter_begin): Likewise.
7076 (_IO_iter_end): Likewise.
7077 (_IO_list_lock): Likewise.
7078 (_IO_list_unlock): Likewise.
7079 (_IO_list_resetlock): Likewise.
7080 * libio/getchar.c (getchar): Likewise.
7081 * libio/getchar_u.c (getchar_unlocked): Likewise.
7082 * libio/getwchar.c (getwchar): Likewise.
7083 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7084 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7085 * login/getpt.c (__getpt): Likewise.
7086 * login/tst-utmp.c (main): Likewise.
7087 * malloc/hooks.c (__malloc_check_init): Likewise.
7088 * malloc/malloc.c (__malloc_stats): Likewise.
7089 * malloc/mtrace.c (tr_break): Likewise.
7091 (muntrace): Likewise.
7092 * misc/fstab.c (endfsent): Likewise.
7093 * misc/getclktck.c (__getclktck): Likewise.
7094 * misc/getdtsz.c (__getdtablesize): Likewise.
7095 * misc/gethostid.c (gethostid): Likewise.
7096 * misc/getpagesize.c (__getpagesize): Likewise.
7097 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7098 (__get_nprocs): Likewise.
7099 (__get_phys_pages): Likewise.
7100 (__get_avphys_pages): Likewise.
7101 * misc/getttyent.c (getttyent): Likewise.
7102 (setttyent): Likewise.
7103 (endttyent): Likewise.
7104 * misc/getusershell.c (getusershell): Likewise.
7105 (endusershell): Likewise.
7106 (setusershell): Likewise.
7107 (initshells): Likewise.
7108 * misc/hsearch.c (__hdestroy): Likewise.
7109 * misc/sync.c (sync): Likewise.
7110 * misc/syslog.c (closelog_internal): Likewise.
7111 (closelog): Likewise.
7112 * misc/ttyslot.c (ttyslot): Likewise.
7113 * misc/vhangup.c (vhangup): Likewise.
7114 * posix/fork.c (__fork): Likewise.
7115 * posix/getegid.c (__getegid): Likewise.
7116 * posix/geteuid.c (__geteuid): Likewise.
7117 * posix/getgid.c (__getgid): Likewise.
7118 * posix/getpid.c (__getpid): Likewise.
7119 * posix/getppid.c (__getppid): Likewise.
7120 * posix/getuid.c (__getuid): Likewise.
7121 * posix/pause.c (pause): Likewise.
7122 * posix/setpgrp.c (setpgrp): Likewise.
7123 * posix/setsid.c (__setsid): Likewise.
7124 * posix/test-vfork.c (noop): Likewise.
7125 * resolv/gethnamaddr.c (_endhtent): Likewise.
7126 (_gethtent): Likewise.
7127 (ht_endhostent): Likewise.
7128 (gethostent): Likewise.
7129 (dns_service): Likewise.
7130 * stdlib/drand48.c (drand48): Likewise.
7131 * stdlib/lrand48.c (lrand48): Likewise.
7132 * stdlib/mrand48.c (mrand48): Likewise.
7133 * stdlib/rand.c (rand): Likewise.
7134 * stdlib/random.c (__random): Likewise.
7135 * stdlib/setenv.c (clearenv): Likewise.
7136 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7137 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7138 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7139 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7140 (__get_nprocs): Likewise.
7141 (__get_phys_pages): Likewise.
7142 (__get_avphys_pages): Likewise.
7143 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7144 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7145 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7146 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7147 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7148 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7149 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7150 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7151 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7152 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7153 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7154 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7155 * sysdeps/posix/clock.c (clock): Likewise.
7156 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7157 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7158 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7159 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7160 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7162 (__get_nprocs_conf): Likewise.
7163 (__get_phys_pages): Likewise.
7164 (__get_avphys_pages): Likewise.
7165 * time/clock.c (clock): Likewise.
7166 * time/tzset.c (__tzname_max): Likewise.
7168 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7170 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7171 (__bswap_32): Do not use "register".
7172 * crypt/crypt.c (_ufc_doit_r): Likewise.
7173 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7174 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7175 * gmon/gmon.c (__monstartup): Likewise.
7176 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7177 * hurd/hurdmalloc.c (more_memory): Likewise.
7180 (realloc): Likewise.
7181 (malloc_fork_prepare): Likewise.
7182 (malloc_fork_parent): Likewise.
7183 (malloc_fork_child): Likewise.
7184 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7185 (_svcauth_des): Likewise.
7186 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7187 * inet/inet_net.c (inet_network): Likewise.
7188 * inet/inet_netof.c (inet_netof): Likewise.
7189 * inet/rcmd.c (__validuser2_sa): Likewise.
7190 * io/fts.c (fts_open): Likewise.
7191 (fts_load): Likewise.
7192 (fts_close): Likewise.
7193 (fts_read): Likewise.
7194 (fts_children): Likewise.
7195 (fts_build): Likewise.
7196 (fts_stat): Likewise.
7197 (fts_sort): Likewise.
7198 (fts_alloc): Likewise.
7199 (fts_lfree): Likewise.
7200 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7201 (_IO_file_xsgetn): Likewise.
7202 (_IO_file_xsgetn_mmap): Likewise.
7203 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7204 (_IO_cookie_write): Likewise.
7205 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7206 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7207 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7208 * malloc/obstack.c (_obstack_begin): Likewise.
7209 (_obstack_begin_1): Likewise.
7210 (_obstack_newchunk): Likewise.
7211 (_obstack_allocated_p): Likewise.
7212 (obstack_free): Likewise.
7213 (_obstack_memory_used): Likewise.
7214 * misc/getttyent.c (getttynam): Likewise.
7215 (getttyent): Likewise.
7218 * misc/getusershell.c (initshells): Likewise.
7219 * misc/syslog.c (__vsyslog_chk): Likewise.
7220 * misc/ttyslot.c (ttyslot): Likewise.
7221 * nis/nis_hash.c (__nis_hash): Likewise.
7222 * posix/fnmatch_loop.c (FCT): Likewise.
7223 * posix/getconf.c (print_all): Likewise.
7225 * posix/getopt.c (exchange): Likewise.
7226 * posix/glob.c (globfree): Likewise.
7227 (prefix_array): Likewise.
7228 (__glob_pattern_type): Likewise.
7229 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7230 (NS_GET32): Likewise.
7231 (NS_PUT16): Likewise.
7232 (NS_PUT32): Likewise.
7233 * resolv/gethnamaddr.c (getanswer): Likewise.
7234 (gethostbyname2): Likewise.
7235 (gethostbyaddr): Likewise.
7236 (_gethtent): Likewise.
7237 (_gethtbyname2): Likewise.
7238 (_gethtbyaddr): Likewise.
7239 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7240 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7241 * resolv/res_init.c (__res_vinit): Likewise.
7242 (net_mask): Likewise.
7243 * resolv/res_mkquery.c (outchar): Likewise.
7245 * stdio-common/printf_fp.c (outchar): Likewise.
7247 * stdio-common/printf_fphex.c (outchar): Likewise.
7249 * stdio-common/printf_size.c (outchar): Likewise.
7251 * stdio-common/test_rdwr.c (main): Likewise.
7252 * stdio-common/tfformat.c (matches): Likewise.
7253 * stdio-common/vfprintf.c (outchar): Likewise.
7254 (printf_unknown): Likewise.
7255 (buffered_vfprintf): Likewise.
7256 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7257 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7258 (ReadFile): Likewise.
7259 * stdlib/qsort.c (SWAP): Likewise.
7260 (_quicksort): Likewise.
7261 * stdlib/setenv.c (__add_to_environ): Likewise.
7262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7263 * stdlib/strtol_l.c (__strtol_l): Likewise.
7264 * stdlib/tst-strtod.c (main): Likewise.
7265 * stdlib/tst-strtol.c (main): Likewise.
7266 * stdlib/tst-strtoll.c (main): Likewise.
7267 * string/bits/string2.h (__strcmp_cc): Likewise.
7268 (__strcmp_cg): Likewise.
7269 (__strcspn_c1): Likewise.
7270 (__strcspn_c2): Likewise.
7271 (__strcspn_c3): Likewise.
7272 (__strspn_c1): Likewise.
7273 (__strspn_c2): Likewise.
7274 (__strspn_c3): Likewise.
7275 (__strsep_1c): Likewise.
7276 (__strsep_2c): Likewise.
7277 (__strsep_3c): Likewise.
7278 * string/memccpy.c (__memccpy): Likewise.
7279 * string/stpcpy.c (__stpcpy): Likewise.
7280 * string/strcmp.c (strcmp): Likewise.
7281 * string/strrchr.c (strrchr): Likewise.
7282 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7284 * sysdeps/mach/hurd/getcwd.c
7285 (_hurd_canonicalize_directory_name_internal): Likewise.
7286 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7287 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7288 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7289 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7290 Likewise, in both definitions.
7291 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7293 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7294 64] (__bswap_64): Likewise.
7295 * time/test_time.c (main): Likewise.
7296 * time/tzfile.c (__tzfile_read): Likewise.
7297 (__tzfile_compute): Likewise.
7298 * time/tzset.c (__tzset_parse_tz): Likewise.
7299 (tzset_internal): Likewise.
7300 (compute_change): Likewise.
7301 * wcsmbs/wcscat.c (__wcscat): Likewise.
7302 * wcsmbs/wcschr.c (wcschr): Likewise.
7303 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7304 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7305 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7306 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7307 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7308 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7309 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7310 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7311 * wcsmbs/wmemset.c (wmemset): Likewise.
7313 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7315 * scripts/config.guess: Update to version 2013-05-16.
7316 * scripts/config.sub: Update to version 2013-04-24.
7317 * scripts/install-sh: Update to version 2011-11-20.07.
7318 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7319 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7321 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7323 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7324 * elf/sln.c: Likewise.
7325 * hurd/hurd/ioctl.h: Likewise.
7326 * hurd/hurdmalloc.c: Likewise.
7327 * hurd/xattr.c: Likewise.
7328 * include/shlib-compat.h: Likewise.
7329 * inet/ruserpass.c: Likewise.
7330 * libio/iofgets_u.c: Likewise.
7331 * libio/iofgetws_u.c: Likewise.
7332 * locale/programs/ld-identification.c: Likewise.
7333 * locale/programs/ld-time.c: Likewise.
7334 * mach/msg-destroy.c: Likewise.
7335 * nss/nss_files/files-netgrp.c: Likewise.
7336 * resolv/res_data.c: Likewise.
7337 * soft-fp/op-1.h: Likewise.
7338 * soft-fp/op-2.h: Likewise.
7339 * soft-fp/op-4.h: Likewise.
7340 * soft-fp/op-common.h: Likewise.
7341 * stdio-common/printf_fphex.c: Likewise.
7342 * stdlib/strtod_l.c: Likewise.
7343 * sunrpc/rpc/clnt.h: Likewise.
7344 * sysdeps/generic/framestate.c: Likewise.
7345 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7346 * sysdeps/i386/bsd-setjmp.S: Likewise.
7347 * sysdeps/i386/__longjmp.S: Likewise.
7348 * sysdeps/i386/setjmp.S: Likewise.
7349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7350 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7367 * sysdeps/ieee754/support.c: Likewise.
7368 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7369 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7370 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7371 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7372 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7373 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7374 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7375 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7376 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7377 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7378 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7379 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7380 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7382 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7383 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7384 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7387 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7389 * posix/transbug.c: Remove executable mode.
7391 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7393 * crypt/speeds.c: Remove trailing whitespace.
7394 * dlfcn/default.c: Likewise.
7395 * elf/ifuncdep2.c: Likewise.
7396 * elf/ifuncmain1.c: Likewise.
7397 * elf/ifuncmain1vis.c: Likewise.
7398 * elf/testobj.h: Likewise.
7399 * elf/tst-stackguard1.c: Likewise.
7400 * gmon/sys/gmon.h: Likewise.
7401 * hurd/hurdmsg.c: Likewise.
7402 * hurd/new-fd.c: Likewise.
7403 * hurd/ports-get.c: Likewise.
7404 * iconvdata/ibm1008_420.c: Likewise.
7405 * inet/tst-getni1.c: Likewise.
7406 * inet/tst-getni2.c: Likewise.
7407 * libio/ioungetc.c: Likewise.
7408 * libio/wfiledoalloc.c: Likewise.
7409 * manual/libm-err-tab.pl: Likewise.
7410 * math/w_dremf.c: Likewise.
7411 * misc/ftruncate.c: Likewise.
7412 * posix/bug-glob2.c: Likewise.
7413 * posix/tst-pcre.c: Likewise.
7414 * posix/wait4.c: Likewise.
7415 * resolv/README: Likewise.
7416 * resolv/res_debug.h: Likewise.
7417 * resolv/tst-inet_ntop.c: Likewise.
7418 * setjmp/bug269-setjmp.c: Likewise.
7419 * soft-fp/extended.h: Likewise.
7420 * soft-fp/op-1.h: Likewise.
7421 * soft-fp/op-2.h: Likewise.
7422 * soft-fp/op-4.h: Likewise.
7423 * soft-fp/op-8.h: Likewise.
7424 * soft-fp/testit.c: Likewise.
7425 * stdio-common/bug16.c: Likewise.
7426 * stdlib/random.c: Likewise.
7427 * sunrpc/rpcsvc/rquota.x: Likewise.
7428 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7429 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7430 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7431 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7432 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7433 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7434 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7436 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7455 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7457 * sysdeps/ieee754/s_lib_version.c: Likewise.
7458 * sysdeps/mach/hurd/check_fds.c: Likewise.
7459 * sysdeps/mach/hurd/getsockname.c: Likewise.
7460 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7461 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7462 * sysdeps/powerpc/bits/link.h: Likewise.
7463 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7464 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7465 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7466 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7467 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7468 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7469 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7470 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7471 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7472 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7473 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7474 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7475 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7476 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7477 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7485 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7488 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7497 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7502 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7503 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7505 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7506 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7507 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7509 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7510 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7515 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7519 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7521 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7522 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7527 * sysdeps/powerpc/sysdep.h: Likewise.
7528 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7529 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7530 * sysdeps/sh/dl-trampoline.S: Likewise.
7531 * sysdeps/sh/memset.S: Likewise.
7532 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7533 * sysdeps/sh/strlen.S: Likewise.
7534 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7535 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7536 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7537 * sysdeps/sparc/sparc32/rem.S: Likewise.
7538 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7539 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7540 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7541 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7542 * sysdeps/sparc/sparc32/urem.S: Likewise.
7543 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7544 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7545 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7546 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7548 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7549 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7550 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7551 * sysdeps/unix/bsd/times.c: Likewise.
7552 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7553 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7557 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7558 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7559 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7560 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7561 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7562 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7563 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7564 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7567 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7569 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7570 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7571 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7572 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7573 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7574 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7575 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7576 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7577 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7578 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7580 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7581 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7582 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7583 * sysdeps/x86_64/strcspn.S: Likewise.
7585 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7587 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7588 generated file. Regenerate properly from gen-translit.pl.
7589 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7590 locale/C-translit.h.
7592 2013-06-05 Andreas Schwab <schwab@suse.de>
7595 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7596 week as 6 instead of -1.
7597 * time/tst-strptime.c (day_tests): Add test case.
7599 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7601 * sysdeps/generic/math_private.h
7602 (libc_feholdexcept_setround_53bit): Replace with
7603 libc_feholdsetround_53bit.
7604 (libc_feupdateenv_53bit): Replace with
7605 libc_feresetround_53bit.
7606 (SET_RESTORE_ROUND_53BIT): Adjust.
7608 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7610 * string/test-strchrnul.c: Add copyright header.
7612 * posix/tst-getaddrinfo4.c: Increase test timeout.
7614 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7617 * math/libm-test.inc (MAX_EXP): Remove
7619 (ulp): Use MIN_EXP - MANT_DIG.
7620 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7622 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7624 * po/be.po: Revert last change.
7625 * po/zh_CN.po: Likewise.
7626 * po/header.pot: Likewise.
7628 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7630 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7631 link-libc-deps to empty as target-specific variable.
7632 * Makerules (link-libc-args): New variable.
7633 (libc-for-link): Likewise.
7634 (link-libc-deps): Likewise.
7635 (lib%.so): Depend on $(link-libc-deps). Link with
7637 (build-module): Link with $(link-libc-args).
7638 (build-module-asneeded): Likewise.
7639 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7641 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7642 target-specific variable.
7643 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7644 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7645 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7647 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7649 ($(objpfx)libpcprofile.so): Likewise.
7650 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7652 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7653 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7654 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7656 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7657 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7658 * login/Makefile ($(objpfx)libutil.so): Likewise.
7659 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7660 * math/Makefile ($(objpfx)libm.so): Likewise.
7661 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7662 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7663 variable instead of depending directly on libc.
7664 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7665 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7667 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7669 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7670 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7671 ($(objpfx)libanl.so): Likewise.
7672 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7674 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7676 * sysdeps/i386/fpu/Makefile: Remove file.
7677 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7678 ($(objpfx)libm.so): Remove dependency on ld.so.
7680 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7683 * nis/yp_xdr.c (XDRMAXNAME): Define.
7684 (XDRMAXRECORD): Define.
7685 (xdr_domainname): Use XDRMAXNAME.
7686 (xdr_mapname): Likewise.
7687 (xdr_peername): Likewise.
7688 (xdr_keydat): Use XDRMAXRECORD.
7689 (xdr_valdat): Likewise.
7691 2013-05-30 Jeff Law <law@redhat.com>
7694 * manual/errno.texi (ESTALE): Update to account for more than
7695 just NFS file systems.
7696 * sysdeps/gnu/errlist.c: Regenerated.
7698 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7701 * elf/Makefile (tests): Add tst-null-argv.
7702 (modules-names): Add tst-null-argv-lib.
7703 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7704 (tst-null-argv-ENV): Set environment for tst-null-argv.
7705 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7706 (RTLD_PROGNAME): New macro.
7707 * elf/tst-null-argv.c: New test case.
7708 * elf/tst-null-argv-lib.c: Library for test case.
7709 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7710 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7711 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7712 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7713 * elf/dl-init.c (call_init): Likewise.
7714 (_dl_init): Likewise.
7715 * elf/dl-load.c (print_search_path): Likewise.
7716 (_dl_map_object): Likewise.
7717 * elf/dl-lookup.c (do_lookup_x): Likewise.
7718 (add_dependency): Likewise.
7719 (_dl_lookup_symbol_x): Likewise.
7720 (_dl_debug_bindings): Likewise.
7721 * elf/dl-open.c (_dl_show_scope): Likewise.
7722 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7723 * elf/dl-version.c (match_symbol): Likewise.
7724 (_dl_check_map_versions): Likewise.
7725 * elf/rtld.c (dl_main): Likewise.
7726 (print_unresolved): Use RTLD_PROGNAME.
7727 (print_missing_version): Likewise.
7728 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7729 (elf_machine_rela): Likewise.
7730 * sysdeps/powerpc/powerpc32/dl-machine.c
7731 (__process_machine_rela): Likewise.
7732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7745 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7747 * po/be.po: Add descriptive title.
7748 * po/zh_CN.po: Likewise.
7749 * po/header.pot: Likewise.
7751 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7753 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7755 (enlarge_archive): Likewise.
7757 2013-05-28 Ben North <ben@redfrontdoor.org>
7759 * manual/arith.texi (frexp): It is the magnitude of the return
7760 value which lies in [0.5, 1), not the return value itself.
7762 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7766 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7768 * stdio-common/bug26.c (main): Correct fscanf template.
7770 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7771 declare _dl_skip_args.
7773 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7776 * manual/platform.texi: Add missing @end deftypefun.
7778 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7781 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7782 bit of mantissa of 2^16382.
7783 * math/libm-test.inc (hypot_test_data): Add more tests.
7785 * math/libm-test.inc: Add drem and pow10 to list of tested
7787 (pow10_test): New function.
7788 (drem_test): Likewise.
7789 (drem_test_tonearest): Likewise.
7790 (drem_test_towardzero): Likewise.
7791 (drem_test_downward): Likewise.
7792 (drem_test_upward): Likewise.
7793 (main): Call the new functions.
7795 * math/libm-test.inc (finite_test_data): Remove.
7796 (finite_test): Run tests from isfinite_test_data.
7797 (gamma_test_data): Remove.
7798 (gamma_test): Run tests from lgamma_test_data.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7804 * manual/platform.texi: Add PowerPC PPR function set documentation.
7805 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7808 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7810 * math/libm-test.inc (MAX_EXP): Define.
7812 (ulp): New function.
7813 (check_float_internal): Use ULPDIFF.
7814 (cpow_test): Disable failing test.
7815 (check_ulp): Test ulp() implemetnation.
7816 (main): Call check_ulp before starting tests.
7818 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7820 * math/gen-libm-test.pl (generate_testfile): Do not handle
7821 START_DATA and END_DATA.
7822 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7824 (acos_tonearest_test_data): Likewise.
7825 (acos_towardzero_test_data): Likewise.
7826 (acos_downward_test_data): Likewise.
7827 (acos_upward_test_data): Likewise.
7828 (acosh_test_data): Likewise.
7829 (asin_test_data): Likewise.
7830 (asin_tonearest_test_data): Likewise.
7831 (asin_towardzero_test_data): Likewise.
7832 (asin_downward_test_data): Likewise.
7833 (asin_upward_test_data): Likewise.
7834 (asinh_test_data): Likewise.
7835 (atan_test_data): Likewise.
7836 (atanh_test_data): Likewise.
7837 (atan2_test_data): Likewise.
7838 (cabs_test_data): Likewise.
7839 (cacos_test_data): Likewise.
7840 (cacosh_test_data): Likewise.
7841 (carg_test_data): Likewise.
7842 (casin_test_data): Likewise.
7843 (casinh_test_data): Likewise.
7844 (catan_test_data): Likewise.
7845 (catanh_test_data): Likewise.
7846 (cbrt_test_data): Likewise.
7847 (ccos_test_data): Likewise.
7848 (ccosh_test_data): Likewise.
7849 (ceil_test_data): Likewise.
7850 (cexp_test_data): Likewise.
7851 (cimag_test_data): Likewise.
7852 (clog_test_data): Likewise.
7853 (clog10_test_data): Likewise.
7854 (conj_test_data): Likewise.
7855 (copysign_test_data): Likewise.
7856 (cos_test_data): Likewise.
7857 (cos_tonearest_test_data): Likewise.
7858 (cos_towardzero_test_data): Likewise.
7859 (cos_downward_test_data): Likewise.
7860 (cos_upward_test_data): Likewise.
7861 (cosh_test_data): Likewise.
7862 (cosh_tonearest_test_data): Likewise.
7863 (cosh_towardzero_test_data): Likewise.
7864 (cosh_downward_test_data): Likewise.
7865 (cosh_upward_test_data): Likewise.
7866 (cpow_test_data): Likewise.
7867 (cproj_test_data): Likewise.
7868 (creal_test_data): Likewise.
7869 (csin_test_data): Likewise.
7870 (csinh_test_data): Likewise.
7871 (csqrt_test_data): Likewise.
7872 (ctan_test_data): Likewise.
7873 (ctan_tonearest_test_data): Likewise.
7874 (ctan_towardzero_test_data): Likewise.
7875 (ctan_downward_test_data): Likewise.
7876 (ctan_upward_test_data): Likewise.
7877 (ctanh_test_data): Likewise.
7878 (ctanh_tonearest_test_data): Likewise.
7879 (ctanh_towardzero_test_data): Likewise.
7880 (ctanh_downward_test_data): Likewise.
7881 (ctanh_upward_test_data): Likewise.
7882 (erf_test_data): Likewise.
7883 (erfc_test_data): Likewise.
7884 (exp_test_data): Likewise.
7885 (exp_tonearest_test_data): Likewise.
7886 (exp_towardzero_test_data): Likewise.
7887 (exp_downward_test_data): Likewise.
7888 (exp_upward_test_data): Likewise.
7889 (exp10_test_data): Likewise.
7890 (exp2_test_data): Likewise.
7891 (expm1_test_data): Likewise.
7892 (fabs_test_data): Likewise.
7893 (fdim_test_data): Likewise.
7894 (finite_test_data): Likewise.
7895 (floor_test_data): Likewise.
7896 (fma_test_data): Likewise.
7897 (fma_towardzero_test_data): Likewise.
7898 (fma_downward_test_data): Likewise.
7899 (fma_upward_test_data): Likewise.
7900 (fmax_test_data): Likewise.
7901 (fmin_test_data): Likewise.
7902 (fmod_test_data): Likewise.
7903 (fpclassify_test_data): Likewise.
7904 (frexp_test_data): Likewise.
7905 (gamma_test_data): Likewise.
7906 (hypot_test_data): Likewise.
7907 (ilogb_test_data): Likewise.
7908 (isfinite_test_data): Likewise.
7909 (isgreater_test_data): Likewise.
7910 (isgreaterequal_test_data): Likewise.
7911 (isinf_test_data): Likewise.
7912 (isless_test_data): Likewise.
7913 (islessequal_test_data): Likewise.
7914 (islessgreater_test_data): Likewise.
7915 (isnan_test_data): Likewise.
7916 (isnormal_test_data): Likewise.
7917 (issignaling_test_data): Likewise.
7918 (isunordered_test_data): Likewise.
7919 (j0_test_data): Likewise.
7920 (j1_test_data): Likewise.
7921 (jn_test_data): Likewise.
7922 (ldexp_test_data): Likewise.
7923 (lgamma_test_data): Likewise.
7924 (lrint_test_data): Likewise.
7925 (lrint_tonearest_test_data): Likewise.
7926 (lrint_towardzero_test_data): Likewise.
7927 (lrint_downward_test_data): Likewise.
7928 (lrint_upward_test_data): Likewise.
7929 (llrint_test_data): Likewise.
7930 (llrint_tonearest_test_data): Likewise.
7931 (llrint_towardzero_test_data): Likewise.
7932 (llrint_downward_test_data): Likewise.
7933 (llrint_upward_test_data): Likewise.
7934 (log_test_data): Likewise.
7935 (log10_test_data): Likewise.
7936 (log1p_test_data): Likewise.
7937 (log2_test_data): Likewise.
7938 (logb_test_data): Likewise.
7939 (logb_downward_test_data): Likewise.
7940 (lround_test_data): Likewise.
7941 (llround_test_data): Likewise.
7942 (modf_test_data): Likewise.
7943 (nearbyint_test_data): Likewise.
7944 (nextafter_test_data): Likewise.
7945 (nexttoward_test_data): Likewise.
7946 (pow_test_data): Likewise.
7947 (pow_tonearest_test_data): Likewise.
7948 (pow_towardzero_test_data): Likewise.
7949 (pow_downward_test_data): Likewise.
7950 (pow_upward_test_data): Likewise.
7951 (remainder_test_data): Likewise.
7952 (remainder_tonearest_test_data): Likewise.
7953 (remainder_towardzero_test_data): Likewise.
7954 (remainder_downward_test_data): Likewise.
7955 (remainder_upward_test_data): Likewise.
7956 (remquo_test_data): Likewise.
7957 (rint_test_data): Likewise.
7958 (rint_tonearest_test_data): Likewise.
7959 (rint_towardzero_test_data): Likewise.
7960 (rint_downward_test_data): Likewise.
7961 (rint_upward_test_data): Likewise.
7962 (round_test_data): Likewise.
7963 (scalb_test_data): Likewise.
7964 (scalbn_test_data): Likewise.
7965 (scalbln_test_data): Likewise.
7966 (signbit_test_data): Likewise.
7967 (sin_test_data): Likewise.
7968 (sin_tonearest_test_data): Likewise.
7969 (sin_towardzero_test_data): Likewise.
7970 (sin_downward_test_data): Likewise.
7971 (sin_upward_test_data): Likewise.
7972 (sincos_test_data): Likewise.
7973 (sinh_test_data): Likewise.
7974 (sinh_tonearest_test_data): Likewise.
7975 (sinh_towardzero_test_data): Likewise.
7976 (sinh_downward_test_data): Likewise.
7977 (sinh_upward_test_data): Likewise.
7978 (sqrt_test_data): Likewise.
7979 (tan_test_data): Likewise.
7980 (tan_tonearest_test_data): Likewise.
7981 (tan_towardzero_test_data): Likewise.
7982 (tan_downward_test_data): Likewise.
7983 (tan_upward_test_data): Likewise.
7984 (tanh_test_data): Likewise.
7985 (tgamma_test_data): Likewise.
7986 (trunc_test_data): Likewise.
7987 (y0_test_data): Likewise.
7988 (y1_test_data): Likewise.
7989 (yn_test_data): Likewise.
7990 (significand_test_data): Likewise.
7992 * math/gen-libm-test.pl (@functions): Remove variable.
7993 (generate_testfile): Don't handle START and END lines.
7994 * math/libm-test.inc (START): New macro.
7996 (END_COMPLEX): Likewise.
7997 (acos_test): Use END macro without arguments.
7998 (acos_test_tonearest): Likewise.
7999 (acos_test_towardzero): Likewise.
8000 (acos_test_downward): Likewise.
8001 (acos_test_upward): Likewise.
8002 (acosh_test): Likewise.
8003 (asin_test): Likewise.
8004 (asin_test_tonearest): Likewise.
8005 (asin_test_towardzero): Likewise.
8006 (asin_test_downward): Likewise.
8007 (asin_test_upward): Likewise.
8008 (asinh_test): Likewise.
8009 (atan_test): Likewise.
8010 (atanh_test): Likewise.
8011 (atan2_test): Likewise.
8012 (cabs_test): Likewise.
8013 (cacos_test): Use END_COMPLEX macro without arguments.
8014 (cacosh_test): Likewise.
8015 (carg_test): Use END macro without arguments.
8016 (casin_test): Use END_COMPLEX macro without arguments.
8017 (casinh_test): Likewise.
8018 (catan_test): Likewise.
8019 (catanh_test): Likewise.
8020 (cbrt_test): Use END macro without arguments.
8021 (ccos_test): Use END_COMPLEX macro without arguments.
8022 (ccosh_test): Likewise.
8023 (ceil_test): Use END macro without arguments.
8024 (cexp_test): Use END_COMPLEX macro without arguments.
8025 (cimag_test): Use END macro without arguments.
8026 (clog_test): Use END_COMPLEX macro without arguments.
8027 (clog10_test): Likewise.
8028 (conj_test): Likewise.
8029 (copysign_test): Use END macro without arguments.
8030 (cos_test): Likewise.
8031 (cos_test_tonearest): Likewise.
8032 (cos_test_towardzero): Likewise.
8033 (cos_test_downward): Likewise.
8034 (cos_test_upward): Likewise.
8035 (cosh_test): Likewise.
8036 (cosh_test_tonearest): Likewise.
8037 (cosh_test_towardzero): Likewise.
8038 (cosh_test_downward): Likewise.
8039 (cosh_test_upward): Likewise.
8040 (cpow_test): Use END_COMPLEX macro without arguments.
8041 (cproj_test): Likewise.
8042 (creal_test): Use END macro without arguments.
8043 (csin_test): Use END_COMPLEX macro without arguments.
8044 (csinh_test): Likewise.
8045 (csqrt_test): Likewise.
8046 (ctan_test): Likewise.
8047 (ctan_test_tonearest): Likewise.
8048 (ctan_test_towardzero): Likewise.
8049 (ctan_test_downward): Likewise.
8050 (ctan_test_upward): Likewise.
8051 (ctanh_test): Likewise.
8052 (ctanh_test_tonearest): Likewise.
8053 (ctanh_test_towardzero): Likewise.
8054 (ctanh_test_downward): Likewise.
8055 (ctanh_test_upward): Likewise.
8056 (erf_test): Use END macro without arguments.
8057 (erfc_test): Likewise.
8058 (exp_test): Likewise.
8059 (exp_test_tonearest): Likewise.
8060 (exp_test_towardzero): Likewise.
8061 (exp_test_downward): Likewise.
8062 (exp_test_upward): Likewise.
8063 (exp10_test): Likewise.
8064 (exp2_test): Likewise.
8065 (expm1_test): Likewise.
8066 (fabs_test): Likewise.
8067 (fdim_test): Likewise.
8068 (finite_test): Likewise.
8069 (floor_test): Likewise.
8070 (fma_test): Likewise.
8071 (fma_test_towardzero): Likewise.
8072 (fma_test_downward): Likewise.
8073 (fma_test_upward): Likewise.
8074 (fmax_test): Likewise.
8075 (fmin_test): Likewise.
8076 (fmod_test): Likewise.
8077 (fpclassify_test): Likewise.
8078 (frexp_test): Likewise.
8079 (gamma_test): Likewise.
8080 (hypot_test): Likewise.
8081 (ilogb_test): Likewise.
8082 (isfinite_test): Likewise.
8083 (isgreater_test): Likewise.
8084 (isgreaterequal_test): Likewise.
8085 (isinf_test): Likewise.
8086 (isless_test): Likewise.
8087 (islessequal_test): Likewise.
8088 (islessgreater_test): Likewise.
8089 (isnan_test): Likewise.
8090 (isnormal_test): Likewise.
8091 (issignaling_test): Likewise.
8092 (isunordered_test): Likewise.
8093 (j0_test): Likewise.
8094 (j1_test): Likewise.
8095 (jn_test): Likewise.
8096 (ldexp_test): Likewise.
8097 (lgamma_test): Likewise.
8098 (lrint_test): Likewise.
8099 (lrint_test_tonearest): Likewise.
8100 (lrint_test_towardzero): Likewise.
8101 (lrint_test_downward): Likewise.
8102 (lrint_test_upward): Likewise.
8103 (llrint_test): Likewise.
8104 (llrint_test_tonearest): Likewise.
8105 (llrint_test_towardzero): Likewise.
8106 (llrint_test_downward): Likewise.
8107 (llrint_test_upward): Likewise.
8108 (log_test): Likewise.
8109 (log10_test): Likewise.
8110 (log1p_test): Likewise.
8111 (log2_test): Likewise.
8112 (logb_test): Likewise.
8113 (logb_test_downward): Likewise.
8114 (lround_test): Likewise.
8115 (llround_test): Likewise.
8116 (modf_test): Likewise.
8117 (nearbyint_test): Likewise.
8118 (nextafter_test): Likewise.
8119 (nexttoward_test): Likewise.
8120 (pow_test): Likewise.
8121 (pow_test_tonearest): Likewise.
8122 (pow_test_towardzero): Likewise.
8123 (pow_test_downward): Likewise.
8124 (pow_test_upward): Likewise.
8125 (remainder_test): Likewise.
8126 (remainder_test_tonearest): Likewise.
8127 (remainder_test_towardzero): Likewise.
8128 (remainder_test_downward): Likewise.
8129 (remainder_test_upward): Likewise.
8130 (remquo_test): Likewise.
8131 (rint_test): Likewise.
8132 (rint_test_tonearest): Likewise.
8133 (rint_test_towardzero): Likewise.
8134 (rint_test_downward): Likewise.
8135 (rint_test_upward): Likewise.
8136 (round_test): Likewise.
8137 (scalb_test): Likewise.
8138 (scalbn_test): Likewise.
8139 (scalbln_test): Likewise.
8140 (signbit_test): Likewise.
8141 (sin_test): Likewise.
8142 (sin_test_tonearest): Likewise.
8143 (sin_test_towardzero): Likewise.
8144 (sin_test_downward): Likewise.
8145 (sin_test_upward): Likewise.
8146 (sincos_test): Likewise.
8147 (sinh_test): Likewise.
8148 (sinh_test_tonearest): Likewise.
8149 (sinh_test_towardzero): Likewise.
8150 (sinh_test_downward): Likewise.
8151 (sinh_test_upward): Likewise.
8152 (sqrt_test): Likewise.
8153 (tan_test): Likewise.
8154 (tan_test_tonearest): Likewise.
8155 (tan_test_towardzero): Likewise.
8156 (tan_test_downward): Likewise.
8157 (tan_test_upward): Likewise.
8158 (tanh_test): Likewise.
8159 (tgamma_test): Likewise.
8160 (trunc_test): Likewise.
8161 (y0_test): Likewise.
8162 (y1_test): Likewise.
8163 (yn_test): Likewise.
8164 (significand_test): Likewise.
8166 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8169 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8171 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8174 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8175 __ppc_mdoio and __ppc_mdoom.
8176 * manual/platform.texi: Document new functions __ppc_yield,
8177 __ppc_mdoio and __ppc_mdoom.
8179 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8181 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8182 (main): Mention "tls" pseudo-hwcap is legacy.
8183 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8185 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8187 * math/gen-libm-test.pl (parse_args): Output only string of
8188 arguments as text for test name, not full call or descriptions of
8189 tests for extra outputs.
8190 (generate_testfile): Do not pass function name to parse_args.
8191 Generate this_func variable from START.
8192 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8194 (struct test_ff_f_data): Likewise.
8195 (test_ff_f_data_nexttoward): Likewise.
8196 (struct test_fi_f_data): Likewise.
8197 (struct test_fl_f_data): Likewise.
8198 (struct test_if_f_data): Likewise.
8199 (struct test_fff_f_data): Likewise.
8200 (struct test_c_f_data): Likewise.
8201 (struct test_f_f1_data): Likewise. Remove field extra_name.
8202 (struct test_fF_f1_data): Likewise.
8203 (struct test_ffI_f1_data): Likewise.
8204 (struct test_c_c_data): Rename test_name field to arg_str.
8205 (struct test_cc_c_data): Likewise.
8206 (struct test_f_i_data): Likewise.
8207 (struct test_ff_i_data): Likewise.
8208 (struct test_f_l_data): Likewise.
8209 (struct test_f_L_data): Likewise.
8210 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8212 (COMMON_TEST_SETUP): New macro.
8213 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8214 (COMMON_TEST_CLEANUP): Likewise.
8215 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8216 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8218 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8219 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8221 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8222 (RUN_TEST_fff_f): Take argument string. Call new setup and
8224 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8225 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8227 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8228 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8230 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8231 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8233 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8234 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8236 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8237 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8239 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8240 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8242 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8243 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8245 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8246 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8248 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8249 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8251 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8252 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8254 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8255 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8257 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8258 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8260 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8261 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8263 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8264 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8266 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8267 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8269 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8271 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8273 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8274 to _sifields.sigfault.
8275 (si_addr_lsb): Define new macro.
8276 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8280 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8283 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8285 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8287 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8290 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8292 * math/gen-libm-test.pl (parse_args): Do not include expected
8293 result in test name.
8294 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8295 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8296 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8297 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8298 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8303 * benchtests/Makefile: Sort function entries.
8305 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8306 tanh, asinh, acosh, atanh.
8307 * benchtests/acos-inputs: New file.
8308 * benchtests/acosh-inputs: New file.
8309 * benchtests/asin-inputs: New file.
8310 * benchtests/asinh-inputs: New file.
8311 * benchtests/atanh-inputs: New file.
8312 * benchtests/cosh-inputs: New file.
8313 * benchtests/log-inputs: New file.
8314 * benchtests/sinh-inputs: New file.
8315 * benchtests/tanh-inputs: New file.
8317 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8320 * posix/tst-getaddrinfo4.c: New test.
8321 * posix/Makefile (tests): Add it.
8323 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8326 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8327 when no services were used.
8328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8329 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8331 2013-05-21 Andreas Schwab <schwab@suse.de>
8334 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8335 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8337 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8338 redundant variable declarations and reallocation of buffer when
8339 parsing as IPv6 address. Always set NSS status when called from
8340 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8341 buffer too small. Correct computation of needed size.
8342 * nss/Makefile (tests): Add test-digits-dots.
8343 * nss/test-digits-dots.c: New test.
8345 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8347 * benchtests/Makefile: Remove instructions for adding
8349 * benchtests/README: New file to explain how to execute and
8350 enhance the benchmark tests.
8352 2013-05-21 Andreas Schwab <schwab@suse.de>
8355 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8356 * setjmp/tst-sigsetjmp.c: New test.
8358 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8360 * sysdeps/x86_64/memset.S (memset): New implementation.
8361 (__bzero): Likewise.
8362 (__memset_tail): New function.
8364 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8366 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8367 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8368 __memcpy_sse2_unaligned ifunc selection.
8369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8370 Add memcpy-sse2-unaligned.S.
8371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8372 Add: __memcpy_sse2_unaligned.
8374 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8377 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8378 math_force_eval before restoring floating-point envrionment.
8379 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8382 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8384 (__nearbyintl): Use math_force_eval before restoring
8385 floating-point environment.
8386 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8388 * math/gen-libm-test.pl (special_functions): Remove.
8389 (parse_args): Don't handle TEST_extra. Handle functions with no
8391 * math/libm-test.inc (struct test_sincos_data): Replace with
8392 struct test_fFF_11_data.
8393 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8394 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8395 (sincos_test_data): Change element type to struct
8396 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8397 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8398 RUN_TEST_LOOP_sincos.
8399 * math/README.libm-test: Don't mention special handling of
8400 individual functions.
8401 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8403 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8404 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8405 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8408 * math/gen-libm-test.pl (get_variable): Remove function.
8409 (parse_args): Don't show pointer parameters to call in test
8410 names. Use "extra output N" in test names for extra outputs
8411 rather than naming variables.
8413 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8416 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8417 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8418 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8420 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8422 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8425 * math/gen-libm-test.pl (@tests): Remove variable.
8427 (new_test): Remove function.
8428 (show_exceptions): New function.
8429 (special_functions): Use show_exceptions instead of new_test.
8430 (parse_args): Likewise.
8431 (generate_testfile): Pass only function name in generated call to
8432 print_max_error or print_complex_max_error.
8433 (get_ulps): Do not handle complex tests specially.
8434 (output_test): Rename to ...
8435 (get_all_ulps_for_test): ... this. Return a string rather than
8436 printing to a file. Require ulps to be present.
8437 (output_ulps): Generate arrays rather than #defines.
8438 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8439 (struct ulp_data): New type.
8440 (BUILD_COMPLEX_ULP): Remove macro.
8441 (compare_ulp_data): New function.
8442 (find_ulps): Likewise.
8443 (find_test_ulps): Likewise.
8444 (find_function_ulps): Likewise.
8445 (find_complex_function_ulps): Likewise.
8446 (print_max_error): Determine allowed ulps using
8448 (print_complex_max_error): Determine allowed ulps using
8449 find_complex_function_ulps.
8450 (check_float_internal): Determine max ulps using find_test_ulps.
8451 (check_float): Do not take max_ulp parameter. Update call to
8452 check_float_internal.
8453 (check_complex): Likewise.
8454 (check_int): Do not take max_ulp parameter.
8455 (check_long): Likewise.
8456 (check_bool): Likewise.
8457 (check_longlong): Likewise.
8458 (struct test_f_f_data): Remove max_ulp field.
8459 (struct test_ff_f_data): Likewise.
8460 (struct test_ff_f_data_nexttoward): Likewise.
8461 (struct test_fi_f_data): Likewise.
8462 (struct test_fl_f_data): Likewise.
8463 (struct test_if_f_data): Likewise.
8464 (struct test_fff_f_data): Likewise.
8465 (struct test_c_f_data): Likewise.
8466 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8467 (struct test_fF_f1_data): Likewise.
8468 (struct test_ffI_f1_data): Likewise.
8469 (struct test_c_c_data): Remove max_ulp field.
8470 (struct test_cc_c_data): Likewise.
8471 (struct test_f_i_data): Likewise.
8472 (struct test_ff_i_data): Likewise.
8473 (struct test_f_l_data): Likewise.
8474 (struct test_f_L_data): Likewise.
8475 (struct test_sincos_data): Likewise.
8476 (RUN_TEST_f_f): Do not handle ulps.
8477 (RUN_TEST_LOOP_f_f): Likewise.
8478 (RUN_TEST_2_f): Likewise.
8479 (RUN_TEST_LOOP_2_f): Likewise.
8480 (RUN_TEST_fff_f): Likewise.
8481 (RUN_TEST_LOOP_fff_f): Likewise.
8482 (RUN_TEST_c_f): Likewise.
8483 (RUN_TEST_LOOP_c_f): Likewise.
8484 (RUN_TEST_f_f1): Likewise.
8485 (RUN_TEST_LOOP_f_f1): Likewise.
8486 (RUN_TEST_fF_f1): Likewise.
8487 (RUN_TEST_LOOP_fF_f1): Likewise.
8488 (RUN_TEST_fI_f1): Likewise.
8489 (RUN_TEST_LOOP_fI_f1): Likewise.
8490 (RUN_TEST_ffI_f1): Likewise.
8491 (RUN_TEST_LOOP_ffI_f1): Likewise.
8492 (RUN_TEST_c_c): Likewise.
8493 (RUN_TEST_LOOP_c_c): Likewise.
8494 (RUN_TEST_cc_c): Likewise.
8495 (RUN_TEST_LOOP_cc_c): Likewise.
8496 (RUN_TEST_f_i): Likewise.
8497 (RUN_TEST_LOOP_f_i): Likewise.
8498 (RUN_TEST_f_i_tg): Likewise.
8499 (RUN_TEST_LOOP_f_i_tg): Likewise.
8500 (RUN_TEST_ff_i_tg): Likewise.
8501 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8502 (RUN_TEST_f_b): Likewise.
8503 (RUN_TEST_LOOP_f_b): Likewise.
8504 (RUN_TEST_f_b_tg): Likewise.
8505 (RUN_TEST_LOOP_f_b_tg): Likewise.
8506 (RUN_TEST_f_l): Likewise.
8507 (RUN_TEST_LOOP_f_l): Likewise.
8508 (RUN_TEST_f_L): Likewise.
8509 (RUN_TEST_LOOP_f_L): Likewise.
8510 (RUN_TEST_sincos): Likewise.
8511 (RUN_TEST_LOOP_sincos): Likewise.
8513 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8518 main case of finite arguments, set rounding mode to FE_TONEAREST
8519 and discard exceptions.
8520 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8522 (remainder_tonearest_test_data): New variable.
8523 (remainder_test_tonearest): New function.
8524 (remainder_towardzero_test_data): New variable.
8525 (remainder_test_towardzero): New function.
8526 (remainder_downward_test_data): New variable.
8527 (remainder_test_downward): New function.
8528 (remainder_upward_test_data): New variable.
8529 (remainder_test_upward): New function.
8530 (main): Call the new test functions.
8532 * math/libm-test.inc (struct test_f_f1_data): Remove field
8534 (struct test_fF_f1_data): Likewise.
8535 (struct test_ffI_f1_data): Likewise.
8536 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8537 based on value of EXTRA_EXPECTED.
8538 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8539 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8540 EXTRA_VAR based on value of EXTRA_EXPECTED.
8541 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8542 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8543 EXTRA_VAR based on value of EXTRA_EXPECTED.
8544 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8545 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8546 EXTRA_VAR based on value of EXTRA_EXPECTED.
8547 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8548 * math/gen-libm-test.pl (parse_args): Don't output initializers
8549 for extra output values.
8551 * math/libm-test.inc (check_int): Expect result to be exactly
8552 equal to expected value and do not handle ulps.
8553 (check_long): Likewise.
8554 (check_longlong): Likewise.
8556 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8558 (cimag_test_data): Likewise.
8559 (conj_test_data): Likewise.
8560 (copysign_test_data): Likewise.
8561 (cproj_test_data): Likewise.
8562 (creal_test_data): Likewise.
8563 (fabs_test_data): Likewise.
8564 (fdim_test_data): Likewise.
8565 (finite_test_data): Likewise.
8566 (floor_test_data): Likewise.
8567 (fmax_test_data): Likewise.
8568 (fmin_test_data): Likewise.
8569 (fmod_test_data): Likewise.
8570 (fpclassify_test_data): Likewise.
8571 (frexp_test_data): Likewise.
8572 (ilogb_test_data): Likewise.
8573 (isfinite_test_data): Likewise.
8574 (isgreater_test_data): Likewise.
8575 (isgreaterequal_test_data): Likewise.
8576 (isinf_test_data): Likewise.
8577 (isless_test_data): Likewise.
8578 (islessequal_test_data): Likewise.
8579 (islessgreater_test_data): Likewise.
8580 (isnan_test_data): Likewise.
8581 (isnormal_test_data): Likewise.
8582 (issignaling_test_data): Likewise.
8583 (isunordered_test_data): Likewise.
8584 (ldexp_test_data): Likewise.
8585 (lrint_test_data): Likewise.
8586 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8587 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8588 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8589 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8590 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8591 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8593 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8594 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8595 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8596 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8598 (lrint_downward_test_data): Test for "inexact" exceptions.
8599 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8600 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8601 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8603 (lrint_upward_test_data): Test for "inexact" exceptions.
8604 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8606 (llrint_test_data): Test for "inexact" exceptions.
8607 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8608 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8609 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8610 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8611 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8612 (llrint_downward_test_data): Test for "inexact" exceptions.
8613 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8614 (llrint_upward_test_data): Test for "inexact" exceptions.
8615 (logb_test_data): Likewise.
8616 (logb_downward_test_data): Likewise.
8617 (nextafter_test_data): Likewise.
8618 (nexttoward_test_data): Likewise.
8619 (remainder_test_data): Likewise.
8620 (remquo_test_data): Likewise.
8621 (scalbn_test_data): Likewise.
8622 (scalbln_test_data): Likewise.
8623 (signbit_test_data): Likewise.
8624 (sqrt_test_data): Likewise.
8625 (significand_test_data): Likewise.
8627 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8630 * benchtests/bench-modf.c (struct args): Mark arg0 as
8632 * scripts/bench.pl: Mark members of struct args as volatile.
8634 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8638 negative infinity on POWER6 or lower.
8639 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8641 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8644 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8645 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8646 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8647 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8648 (_FP_SETQNAN): New macro.
8649 (_FP_SETQNAN_SEMIRAW): Likewise.
8650 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8651 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8652 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8653 (FP_EXTEND): Use _FP_FRAC_SNANP.
8654 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8655 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8657 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8659 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8662 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8664 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8665 with DIVIDE_BY_ZERO_EXCEPTION.
8666 (gamma_test_data): Likewise.
8667 (lgamma_test_data): Likewise.
8668 (log_test_data): Likewise.
8669 (log10_test_data): Likewise.
8670 (log2_test_data): Likewise.
8671 (tgamma_test_data): Likewise.
8673 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8674 (acos_test_tonearest): Likewise.
8675 (acos_test_towardzero): Likewise.
8676 (acos_test_downward): Likewise.
8677 (acos_test_upward): Likewise.
8678 (acosh_test): Likewise.
8679 (asin_test): Likewise.
8680 (asin_test_tonearest): Likewise.
8681 (asin_test_towardzero): Likewise.
8682 (asin_test_downward): Likewise.
8683 (asin_test_upward): Likewise.
8684 (asinh_test): Likewise.
8685 (atan_test): Likewise.
8686 (atanh_test): Likewise.
8687 (atan2_test): Likewise.
8688 (cabs_test): Likewise.
8689 (cacos_test): Likewise.
8690 (cacosh_test): Likewise.
8691 (casin_test): Likewise.
8692 (casinh_test): Likewise.
8693 (catan_test): Likewise.
8694 (catanh_test): Likewise.
8695 (cbrt_test): Likewise.
8696 (ccos_test): Likewise.
8697 (ccosh_test): Likewise.
8698 (cexp_test): Likewise.
8699 (clog_test): Likewise.
8700 (clog10_test): Likewise.
8701 (cos_test): Likewise.
8702 (cos_test_tonearest): Likewise.
8703 (cos_test_towardzero): Likewise.
8704 (cos_test_downward): Likewise.
8705 (cos_test_upward): Likewise.
8706 (cosh_test): Likewise.
8707 (cosh_test_tonearest): Likewise.
8708 (cosh_test_towardzero): Likewise.
8709 (cosh_test_downward): Likewise.
8710 (cosh_test_upward): Likewise.
8711 (cpow_test): Likewise.
8712 (csin_test): Likewise.
8713 (csinh_test): Likewise.
8714 (csqrt_test): Likewise.
8715 (ctan_test): Likewise.
8716 (ctan_test_tonearest): Likewise.
8717 (ctan_test_towardzero): Likewise.
8718 (ctan_test_downward): Likewise.
8719 (ctan_test_upward): Likewise.
8720 (ctanh_test): Likewise.
8721 (ctanh_test_tonearest): Likewise.
8722 (ctanh_test_towardzero): Likewise.
8723 (ctanh_test_downward): Likewise.
8724 (ctanh_test_upward): Likewise.
8725 (erf_test): Likewise.
8726 (erfc_test): Likewise.
8727 (exp_test): Likewise.
8728 (exp_test_tonearest): Likewise.
8729 (exp_test_towardzero): Likewise.
8730 (exp_test_downward): Likewise.
8731 (exp_test_upward): Likewise.
8732 (exp10_test): Likewise.
8733 (exp2_test): Likewise.
8734 (expm1_test): Likewise.
8735 (fmod_test): Likewise.
8736 (gamma_test): Likewise.
8737 (hypot_test): Likewise.
8738 (j0_test): Likewise.
8739 (j1_test): Likewise.
8740 (jn_test): Likewise.
8741 (lgamma_test): Likewise.
8742 (log_test): Likewise.
8743 (log10_test): Likewise.
8744 (log1p_test): Likewise.
8745 (log2_test): Likewise.
8746 (logb_test_downward): Likewise.
8747 (pow_test): Likewise.
8748 (pow_test_tonearest): Likewise.
8749 (pow_test_towardzero): Likewise.
8750 (pow_test_downward): Likewise.
8751 (pow_test_upward): Likewise.
8752 (remainder_test): Likewise.
8753 (remquo_test): Likewise.
8754 (sin_test): Likewise.
8755 (sin_test_tonearest): Likewise.
8756 (sin_test_towardzero): Likewise.
8757 (sin_test_downward): Likewise.
8758 (sin_test_upward): Likewise.
8759 (sincos_test): Likewise.
8760 (sinh_test): Likewise.
8761 (sinh_test_tonearest): Likewise.
8762 (sinh_test_towardzero): Likewise.
8763 (sinh_test_downward): Likewise.
8764 (sinh_test_upward): Likewise.
8765 (sqrt_test): Likewise.
8766 (tan_test): Likewise.
8767 (tan_test_tonearest): Likewise.
8768 (tan_test_towardzero): Likewise.
8769 (tan_test_downward): Likewise.
8770 (tan_test_upward): Likewise.
8771 (tanh_test): Likewise.
8772 (tgamma_test): Likewise.
8773 (y0_test): Likewise.
8774 (y1_test): Likewise.
8775 (yn_test): Likewise.
8777 * math/gen-libm-test.pl (adjust_arg): Remove function.
8778 (special_function): Remove argument $in_func. Only handle
8779 generating output for tables of tests, not inside functions.
8780 (parse_args): Likewise.
8781 (generate_testfile): Remove variable $in_func. Update call to
8783 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8784 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8785 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8786 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8787 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8788 (MAX_VALUE_INIT): Rename macro to max_value.
8789 (MIN_VALUE_INIT): Rename macro to min_value.
8790 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8791 (plus_zero): Remove variable.
8792 (minus_zero): Likewise.
8793 (plus_infty): Likewise.
8794 (minus_infty): Likewise.
8795 (qnan_value): Likewise.
8796 (max_value): Likewise.
8797 (min_value): Likewise.
8798 (min_subnorm_value): Likewise.
8800 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8802 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8803 uint64_t or uint32_t usage.
8804 * crypt/sha256-block.c: Likewise.
8805 * crypt/sha256-crypt.c: Likewise.
8806 * crypt/sha256.c: Likewise.
8807 * crypt/sha512-block.c: Likewise.
8808 * crypt/sha512-crypt.c: Likewise.
8809 * crypt/sha512.c: Likewise.
8810 * debug/backtrace-tst.c: Likewise.
8811 * debug/pcprofiledump.c: Likewise.
8812 * elf/cache.c: Likewise.
8813 * elf/dl-cache.c: Likewise.
8814 * elf/dl-misc.c: Likewise.
8815 * elf/dl-profile.c: Likewise.
8816 * elf/dl-support.c: Likewise.
8817 * elf/ldconfig.c: Likewise.
8818 * elf/sprof.c: Likewise.
8819 * iconv/dummy-repertoire.c: Likewise.
8820 * iconv/iconv_charmap.c: Likewise.
8821 * iconv/skeleton.c: Likewise.
8822 * iconvdata/8bit-generic.c: Likewise.
8823 * iconvdata/cp737.h: Likewise.
8824 * iconvdata/cp775.h: Likewise.
8825 * iconvdata/ibm1008.h: Likewise.
8826 * iconvdata/ibm1025.h: Likewise.
8827 * iconvdata/ibm1046.h: Likewise.
8828 * iconvdata/ibm1097.h: Likewise.
8829 * iconvdata/ibm1112.h: Likewise.
8830 * iconvdata/ibm1122.h: Likewise.
8831 * iconvdata/ibm1123.h: Likewise.
8832 * iconvdata/ibm1124.h: Likewise.
8833 * iconvdata/ibm1129.h: Likewise.
8834 * iconvdata/ibm1130.h: Likewise.
8835 * iconvdata/ibm1132.h: Likewise.
8836 * iconvdata/ibm1133.h: Likewise.
8837 * iconvdata/ibm1137.h: Likewise.
8838 * iconvdata/ibm1140.h: Likewise.
8839 * iconvdata/ibm1141.h: Likewise.
8840 * iconvdata/ibm1142.h: Likewise.
8841 * iconvdata/ibm1143.h: Likewise.
8842 * iconvdata/ibm1144.h: Likewise.
8843 * iconvdata/ibm1145.h: Likewise.
8844 * iconvdata/ibm1146.h: Likewise.
8845 * iconvdata/ibm1147.h: Likewise.
8846 * iconvdata/ibm1148.h: Likewise.
8847 * iconvdata/ibm1149.h: Likewise.
8848 * iconvdata/ibm1153.h: Likewise.
8849 * iconvdata/ibm1154.h: Likewise.
8850 * iconvdata/ibm1155.h: Likewise.
8851 * iconvdata/ibm1156.h: Likewise.
8852 * iconvdata/ibm1157.h: Likewise.
8853 * iconvdata/ibm1158.h: Likewise.
8854 * iconvdata/ibm1160.h: Likewise.
8855 * iconvdata/ibm1161.h: Likewise.
8856 * iconvdata/ibm1162.h: Likewise.
8857 * iconvdata/ibm1163.h: Likewise.
8858 * iconvdata/ibm1164.h: Likewise.
8859 * iconvdata/ibm1166.h: Likewise.
8860 * iconvdata/ibm1167.h: Likewise.
8861 * iconvdata/ibm12712.h: Likewise.
8862 * iconvdata/ibm1390.h: Likewise.
8863 * iconvdata/ibm1399.h: Likewise.
8864 * iconvdata/ibm16804.h: Likewise.
8865 * iconvdata/ibm4517.h: Likewise.
8866 * iconvdata/ibm4899.h: Likewise.
8867 * iconvdata/ibm4909.h: Likewise.
8868 * iconvdata/ibm4971.h: Likewise.
8869 * iconvdata/ibm5347.h: Likewise.
8870 * iconvdata/ibm803.h: Likewise.
8871 * iconvdata/ibm856.h: Likewise.
8872 * iconvdata/ibm901.h: Likewise.
8873 * iconvdata/ibm902.h: Likewise.
8874 * iconvdata/ibm9030.h: Likewise.
8875 * iconvdata/ibm9066.h: Likewise.
8876 * iconvdata/ibm921.h: Likewise.
8877 * iconvdata/ibm922.h: Likewise.
8878 * iconvdata/ibm9448.h: Likewise.
8879 * iconvdata/isiri-3342.h: Likewise.
8880 * iconvdata/jis0201.h: Likewise.
8881 * include/link.h: Likewise.
8882 * include/netdb.h: Likewise.
8883 * inet/check_native.c: Likewise.
8884 * inet/check_pf.c: Likewise.
8885 * inet/getipv4sourcefilter.c: Likewise.
8886 * inet/getnameinfo.c: Likewise.
8887 * inet/getsourcefilter.c: Likewise.
8888 * inet/htonl.c: Likewise.
8889 * inet/setipv4sourcefilter.c: Likewise.
8890 * inet/setsourcefilter.c: Likewise.
8891 * inet/test-inet6_opt.c: Likewise.
8892 * inet/tst-network.c: Likewise.
8893 * locale/C-collate.c: Likewise.
8894 * locale/C-ctype.c: Likewise.
8895 * locale/C-time.c: Likewise.
8896 * locale/C-translit.h: Likewise.
8897 * locale/loadarchive.c: Likewise.
8898 * locale/programs/3level.h: Likewise.
8899 * locale/programs/charmap.c: Likewise.
8900 * locale/programs/charmap.h: Likewise.
8901 * locale/programs/ld-address.c: Likewise.
8902 * locale/programs/ld-collate.c: Likewise.
8903 * locale/programs/ld-ctype.c: Likewise.
8904 * locale/programs/ld-identification.c: Likewise.
8905 * locale/programs/ld-measurement.c: Likewise.
8906 * locale/programs/ld-messages.c: Likewise.
8907 * locale/programs/ld-monetary.c: Likewise.
8908 * locale/programs/ld-name.c: Likewise.
8909 * locale/programs/ld-numeric.c: Likewise.
8910 * locale/programs/ld-paper.c: Likewise.
8911 * locale/programs/ld-telephone.c: Likewise.
8912 * locale/programs/ld-time.c: Likewise.
8913 * locale/programs/linereader.c: Likewise.
8914 * locale/programs/locale.c: Likewise.
8915 * locale/programs/locarchive.c: Likewise.
8916 * locale/programs/locfile.h: Likewise.
8917 * locale/programs/repertoire.c: Likewise.
8918 * locale/programs/simple-hash.c: Likewise.
8919 * locale/programs/simple-hash.h: Likewise.
8920 * malloc/memusage.c: Likewise.
8921 * malloc/memusagestat.c: Likewise.
8922 * nis/nis_defaults.c: Likewise.
8923 * nis/nis_hash.c: Likewise.
8924 * nis/nis_print.c: Likewise.
8925 * nis/nis_xdr.c: Likewise.
8926 * nscd/connections.c: Likewise.
8927 * nscd/hstcache.c: Likewise.
8928 * nscd/nscd_gethst_r.c: Likewise.
8929 * nscd/nscd_getserv_r.c: Likewise.
8930 * nscd/nscd_helper.c: Likewise.
8931 * nscd/servicescache.c: Likewise.
8932 * nss/makedb.c: Likewise.
8933 * nss/nss_db/db-XXX.c: Likewise.
8934 * nss/nss_db/db-initgroups.c: Likewise.
8935 * nss/nss_db/db-netgrp.c: Likewise.
8936 * nss/nss_files/files-network.c: Likewise.
8937 * nss/nss_files/files-parse.c: Likewise.
8938 * posix/bug-regex5.c: Likewise.
8939 * posix/fnmatch_loop.c: Likewise.
8940 * posix/regcomp.c: Likewise.
8941 * posix/regexec.c: Likewise.
8942 * posix/tst-rfc3484-2.c: Likewise.
8943 * posix/tst-rfc3484-3.c: Likewise.
8944 * posix/tst-rfc3484.c: Likewise.
8945 * resolv/nss_dns/dns-canon.c: Likewise.
8946 * resolv/nss_dns/dns-network.c: Likewise.
8947 * resolv/res_init.c: Likewise.
8948 * resolv/res_mkquery.c: Likewise.
8949 * resolv/tst-aton.c: Likewise.
8950 * stdlib/cxa_atexit.c: Likewise.
8951 * stdlib/cxa_finalize.c: Likewise.
8952 * stdlib/gen-fpioconst.c: Likewise.
8953 * stdlib/strtol_l.c: Likewise.
8954 * string/tst-endian.c: Likewise.
8955 * sunrpc/auth_des.c: Likewise.
8956 * sunrpc/clnt_udp.c: Likewise.
8957 * sunrpc/rtime.c: Likewise.
8958 * sunrpc/svcauth_des.c: Likewise.
8959 * sunrpc/xdr.c: Likewise.
8960 * sunrpc/xdr_intXX_t.c: Likewise.
8961 * sunrpc/xdr_rec.c: Likewise.
8962 * sysdeps/generic/ldconfig.h: Likewise.
8963 * sysdeps/generic/ldsodefs.h: Likewise.
8964 * sysdeps/generic/memusage.h: Likewise.
8965 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8967 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8975 * sysdeps/posix/getaddrinfo.c: Likewise.
8976 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8977 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8978 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8979 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8980 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8981 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8982 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8983 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8984 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8986 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8987 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8988 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8989 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8991 * sysdeps/x86_64/dl-tls.h: Likewise.
8992 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8993 * time/alt_digit.c: Likewise.
8994 * time/era.c: Likewise.
8995 * wcsmbs/tst-c16c32-1.c: Likewise.
8997 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8999 * math/libm-test.inc (struct test_sincos_data): New type.
9000 (RUN_TEST_LOOP_sincos): New macro.
9001 (sincos_test_data): New variable.
9002 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9004 2013-05-16 Richard Henderson <rth@redhat.com>
9006 * math/atest-exp2.c (LIMB64): New macro.
9007 (CONSTSZ): New macro.
9008 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9010 (print_mpn_fp): ... to function scope.
9011 (read_mpn_hex): Remove.
9013 (exp2_mpn): Use mp_log2.
9014 (main): Use mp_exp1.
9016 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9018 * math/libm-test.inc: Remove comment about not testing "inexact"
9020 (INEXACT_EXCEPTION): New macro.
9021 (NO_INEXACT_EXCEPTION): Likewise.
9022 (INVALID_EXCEPTION_OK): Update value.
9023 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9024 (OVERFLOW_EXCEPTION_OK): Likewise.
9025 (UNDERFLOW_EXCEPTION_OK): Likewise.
9026 (IGNORE_ZERO_INF_SIGN): Likewise.
9027 (ERRNO_UNCHANGED): Likewise.
9028 (ERRNO_EDOM): Likewise.
9029 (ERRNO_ERANGE): Likewise.
9030 (test_exceptions): Handle testing "inexact" exceptions.
9031 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9032 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9033 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9034 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9036 (rint_towardzero_test_data): Likewise.
9037 (rint_downward_test_data): Likewise.
9038 (rint_upward_test_data): Likewise.
9040 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9041 with OVERFLOW_EXCEPTION.
9042 (exp10_test_data): Likewise.
9043 (exp2_test_data): Likewise.
9044 (expm1_test_data): Likewise.
9045 (lgamma_test_data): Likewise.
9046 (pow_test_data): Likewise.
9047 (tgamma_test_data): Likewise.
9048 (yn_test_data): Remove duplicate test of overflow.
9050 * math/libm-test.inc (struct test_cc_c_data): New type.
9051 (RUN_TEST_LOOP_cc_c): New macro.
9052 (cpow_test_data): New variable.
9053 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9055 * math/libm-test.inc (struct test_f_L_data): New type.
9056 (RUN_TEST_LOOP_f_L): New macro.
9057 (llrint_test_data): New variable.
9058 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9059 (llrint_tonearest_test_data): New variable.
9060 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9061 (llrint_towardzero_test_data): New variable.
9062 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9063 (llrint_downward_test_data): New variable.
9064 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9065 (llrint_upward_test_data): New variable.
9066 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9067 (llround_test_data): New variable.
9068 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9070 2013-05-13 Peter Collingbourne <pcc@google.com>
9072 * math/atest-exp2.c (get_log2): Remove const attribute.
9074 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9076 * math/libm-test.inc (struct test_f_l_data): New type.
9077 (RUN_TEST_LOOP_f_l): New macro.
9078 (lrint_test_data): New variable.
9079 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9080 (lrint_tonearest_test_data): New variable.
9081 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9082 (lrint_towardzero_test_data): New variable.
9083 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9084 (lrint_downward_test_data): New variable.
9085 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9086 (lrint_upward_test_data): New variable.
9087 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9088 (lround_test_data): New variable.
9089 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9091 2013-05-15 Peter Collingbourne <pcc@google.com>
9093 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9094 (EXTRACT_WORDS64) Use where appropriate.
9095 (INSERT_WORDS64) Likewise.
9097 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9098 constraints with x constraints.
9099 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9101 * malloc/obstack.c (_obstack_compat): Add initializer.
9103 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9105 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9106 si_trapno and add si_addr_lsb to _sifields.sigfault.
9107 (si_trapno): Remove macro.
9108 (si_addr_lsb): Define new macro.
9109 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9111 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9113 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9114 instead of TEST_f_l.
9115 (llrint_test_tonearest): Likewise.
9116 (llrint_test_towardzero): Likewise.
9117 (llrint_test_downward): Likewise.
9118 (llrint_test_upward): Likewise.
9119 (llround_test): Likewise.
9121 * math/libm-test.inc (struct test_f_i_data): Add comment.
9122 (RUN_TEST_LOOP_f_b): New macro.
9123 (RUN_TEST_LOOP_f_b_tg): Likewise.
9124 (finite_test_data): New variable.
9125 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9126 (isfinite_test_data): New variable.
9127 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9128 (isinf_test_data): New variable.
9129 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9130 (isnan_test_data): New variable.
9131 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9132 (isnormal_test_data): New variable.
9133 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9134 (issignaling_test_data): New variable.
9135 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9136 (signbit_test_data): New variable.
9137 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9139 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9140 with INVALID_EXCEPTION.
9141 (acosh_test_data): Likewise.
9142 (asin_test_data): Likewise.
9143 (atanh_test_data): Likewise.
9144 (fmod_test_data): Likewise.
9145 (log_test_data): Likewise.
9146 (log10_test_data): Likewise.
9147 (log2_test_data): Likewise.
9148 (pow_test_data): Likewise.
9149 (sqrt_test_data): Likewise.
9150 (y0_test_data): Likewise.
9151 (y1_test_data): Likewise.
9152 (yn_test_data): Likewise.
9154 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9157 * math/libm-test.inc (struct test_ff_i_data): New type.
9158 (RUN_TEST_LOOP_ff_i_tg): New macro.
9159 (isgreater_test_data): New variable.
9160 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9161 (isgreaterequal_test_data): New variable.
9162 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9163 (isless_test_data): New variable.
9164 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9165 (islessequal_test_data): New variable.
9166 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9167 (islessgreater_test_data): New variable.
9168 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9169 (isunordered_test_data): New variable.
9170 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9172 2013-05-14 David S. Miller <davem@davemloft.net>
9174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9176 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9178 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9180 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9182 (struct test_f_i_data): Change type of max_ulp to int.
9184 * math/libm-test.inc (test_ffI_f1_data): New type.
9185 (RUN_TEST_LOOP_ffI_f1): New macro.
9186 (remquo_test_data): New variable.
9187 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9189 * setjmp/tst-setjmp-fp.c: New file.
9190 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9191 (link-libm): New variable.
9192 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9194 * math/libm-test.inc (struct test_f_i_data): New type.
9195 (RUN_TEST_LOOP_f_i): New macro.
9196 (RUN_TEST_LOOP_f_i_tg): Likewise.
9197 (fpclassify_test_data): New variable.
9198 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9199 (ilogb_test_data): New variable.
9200 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9202 * math/libm-test.inc (scalbln_test): Correct function name in END
9205 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9206 (RUN_TEST_LOOP_fI_f1): New macro.
9207 (frexp_test_data): New variable.
9208 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9210 * math/libm-test.inc (struct test_fF_f1_data): New type.
9211 (RUN_TEST_LOOP_fF_f1): New macro.
9212 (modf_test_data): New variable.
9213 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9215 * math/libm-test.inc (struct test_f_f1_data): New type.
9216 (RUN_TEST_LOOP_f_f1): New macro.
9217 (gamma_test_data): New variable.
9218 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9219 (lgamma_test_data): New variable.
9220 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9222 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9224 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9225 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9226 (main): Comment "tls" pseudo-hwcap.
9228 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9230 * math/libm-test.inc (struct test_fl_f_data): New type.
9231 (RUN_TEST_LOOP_fl_f): New variable.
9232 (scalbln_test_data): New variable.
9233 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9235 * math/libm-test.inc (struct test_fi_f_data): New type.
9236 (RUN_TEST_LOOP_fi_f): New macro.
9237 (ldexp_test_data): New variable.
9238 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9239 (scalbn_test_data): New variable.
9240 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9242 * math/libm-test.inc (struct test_c_f_data): New type.
9243 (RUN_TEST_LOOP_c_f): New macro.
9244 (cabs_test_data): New variable.
9245 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9246 (carg_test_data): New variable.
9247 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9248 (cimag_test_data): New variable.
9249 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9250 (creal_test_data): New variable.
9251 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9253 * math/libm-test.inc (struct test_if_f_data): New type.
9254 (RUN_TEST_LOOP_if_f): New macro.
9255 (jn_test_data): New variable.
9256 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9257 (yn_test_data): New variable.
9258 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9260 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9262 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9264 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9265 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9267 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9269 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9270 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9271 (bench-deps): Add bench-timing.h.
9272 * benchtests-bench-skeleton.c: Include bench-timing.h.
9273 (main): Use TIMING_* macros instead of clock_gettime.
9274 * benchtests/bench-timing.h: New file.
9277 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9278 Renamed from _LIB_VERSION.
9279 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9281 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9283 * math/libm-test.inc (struct test_fff_f_data): New type.
9284 (RUN_TEST_LOOP_fff_f): New macro.
9285 (fma_test_data): New variable.
9286 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9287 (fma_towardzero_test_data): New variable.
9288 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9289 (fma_downward_test_data): New variable.
9290 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9291 (fma_upward_test_data): New variable.
9292 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9294 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9295 (struct test_c_c_data): New type.
9296 (RUN_TEST_LOOP_c_c): New macro.
9297 (cacos_test_data): New variable.
9298 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9299 (cacosh_test_data): New variable.
9300 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9301 (casin_test_data): New variable.
9302 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9303 (casinh_test_data): New variable.
9304 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9305 (catan_test_data): New variable.
9306 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9307 (catanh_test_data): New variable.
9308 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9309 (ccos_test_data): New variable.
9310 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9311 (ccosh_test_data): New variable.
9312 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9313 (cexp_test_data): New variable.
9314 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9315 (clog_test_data): New variable.
9316 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9317 (clog10_test_data): New variable.
9318 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9319 (conj_test_data): New variable.
9320 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9321 (cproj_test_data): New variable.
9322 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9323 (csin_test_data): New variable.
9324 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9325 (csinh_test_data): New variable.
9326 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9327 (csqrt_test_data): New variable.
9328 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9329 (ctan_test_data): New variable.
9330 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9331 (ctan_tonearest_test_data): New variable.
9332 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9333 (ctan_towardzero_test_data): New variable.
9334 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9335 (ctan_downward_test_data): New variable.
9336 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9337 (ctan_upward_test_data): New variable.
9338 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9339 (ctanh_test_data): New variable.
9340 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9341 (ctanh_tonearest_test_data): New variable.
9342 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9343 (ctanh_towardzero_test_data): New variable.
9344 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9345 (ctanh_downward_test_data): New variable.
9346 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9347 (ctanh_upward_test_data): New variable.
9348 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9349 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9352 * math/libm-test.inc (struct test_ff_f_data): New type.
9353 (struct test_ff_f_data_nexttoward): Likewise.
9354 (RUN_TEST_LOOP_2_f): New macro.
9355 (RUN_TEST_LOOP_ff_f): Likewise.
9356 (atan2_test_data): New variable.
9357 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9358 (copysign_test_data): New variable.
9359 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9360 (fdim_test_data): New variable.
9361 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9362 (fmax_test_data): New variable.
9363 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9364 (fmin_test_data): New variable.
9365 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9366 (fmod_test_data): New variable.
9367 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9368 (hypot_test_data): New variable.
9369 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9370 (nextafter_test_data): New variable.
9371 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9372 (nexttoward_test_data): New variable.
9373 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9374 (pow_test_data): New variable.
9375 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9376 (pow_tonearest_test_data): New variable.
9377 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9378 (pow_towardzero_test_data): New variable.
9379 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9380 (pow_downward_test_data): New variable.
9381 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9382 (pow_upward_test_data): New variable.
9383 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9384 (remainder_test_data): New variable.
9385 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9386 (scalb_test_data): New variable.
9387 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9388 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9392 * math/libm-test.inc (fma_test): Use max_value instead of local
9394 (nextafter_test): Likewise.
9396 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9397 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9398 (acos_downward_test_data): New variable.
9399 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9400 (acos_upward_test_data): New variable.
9401 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9402 (acosh_test_data): New variable.
9403 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9404 (asin_test_data): New variable.
9405 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9406 (asin_tonearest_test_data): New variable.
9407 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9408 (asin_towardzero_test_data): New variable.
9409 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9410 (asin_downward_test_data): New variable.
9411 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9412 (asin_upward_test_data): New variable.
9413 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9414 (asinh_test_data): New variable.
9415 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9416 (atan_test_data): New variable.
9417 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9418 (atanh_test_data): New variable.
9419 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9420 (cbrt_test_data): New variable.
9421 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9422 (ceil_test_data): New variable.
9423 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9424 (cos_test_data): New variable.
9425 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9426 (cos_tonearest_test_data): New variable.
9427 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9428 (cos_towardzero_test_data): New variable.
9429 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9430 (cos_downward_test_data): New variable.
9431 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9432 (cos_upward_test_data): New variable.
9433 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9434 (cosh_test_data): New variable.
9435 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9436 (cosh_tonearest_test_data): New variable.
9437 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9438 (cosh_towardzero_test_data): New variable.
9439 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9440 (cosh_downward_test_data): New variable.
9441 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9442 (cosh_upward_test_data): New variable.
9443 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9444 (erf_test_data): New variable.
9445 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9446 (erfc_test_data): New variable.
9447 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9448 (exp_test_data): New variable.
9449 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9450 (exp_tonearest_test_data): New variable.
9451 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9452 (exp_towardzero_test_data): New variable.
9453 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9454 (exp_downward_test_data): New variable.
9455 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9456 (exp_upward_test_data): New variable.
9457 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9458 (exp10_test_data): New variable.
9459 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9460 (exp2_test_data): New variable.
9461 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9462 (expm1_test_data): New variable.
9463 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9464 (fabs_test_data): New variable.
9465 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9466 (floor_test_data): New variable.
9467 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9468 (j0_test_data): New variable.
9469 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9470 (j1_test_data): New variable.
9471 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9472 (log_test_data): New variable.
9473 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9474 (log10_test_data): New variable.
9475 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9476 (log1p_test_data): New variable.
9477 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9478 (log2_test_data): New variable.
9479 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9480 (logb_test_data): New variable.
9481 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9482 (logb_downward_test_data): New variable.
9483 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9484 (nearbyint_test_data): New variable.
9485 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9486 (rint_test_data): New variable.
9487 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9488 (rint_tonearest_test_data): New variable.
9489 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9490 (rint_towardzero_test_data): New variable.
9491 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9492 (rint_downward_test_data): New variable.
9493 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9494 (rint_upward_test_data): New variable.
9495 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9496 (round_test_data): New variable.
9497 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9498 (sin_test_data): New variable.
9499 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9500 (sin_tonearest_test_data): New variable.
9501 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9502 (sin_towardzero_test_data): New variable.
9503 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9504 (sin_downward_test_data): New variable.
9505 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9506 (sin_upward_test_data): New variable.
9507 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9508 (sinh_test_data): New variable.
9509 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9510 (sinh_tonearest_test_data): New variable.
9511 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9512 (sinh_towardzero_test_data): New variable.
9513 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9514 (sinh_downward_test_data): New variable.
9515 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9516 (sinh_upward_test_data): New variable.
9517 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9518 (sqrt_test_data): New variable.
9519 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9520 (tan_test_data): New variable.
9521 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9522 (tan_tonearest_test_data): New variable.
9523 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9524 (tan_towardzero_test_data): New variable.
9525 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9526 (tan_downward_test_data): New variable.
9527 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9528 (tan_upward_test_data): New variable.
9529 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9530 (tanh_test_data): New variable.
9531 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9532 (tgamma_test_data): New variable.
9533 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9534 (trunc_test_data): New variable.
9535 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9536 (y0_test_data): New variable.
9537 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9538 (y1_test_data): New variable.
9539 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9540 (significand_test_data): New variable.
9541 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9543 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9546 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9548 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9550 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9552 2013-05-10 Andreas Jaeger <aj@suse.de>
9555 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9556 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9558 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9560 * math/gen-libm-test.pl (adjust_arg): New function.
9561 (special_functions): Handle generating output in both functions
9563 (parse_args): Likewise.
9564 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9565 $in_func argument to parse_args.
9566 * math/libm-test.inc (struct test_f_f_data): New type.
9567 (IF_ROUND_INIT_): New macro.
9568 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9569 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9570 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9571 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9572 (ROUND_RESTORE_): Likewise.
9573 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9574 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9575 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9576 (ROUND_RESTORE_FE_UPWARD): Likewise.
9577 (RUN_TEST_LOOP_f_f): New macro.
9578 (acos_test_data): New variable.
9579 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9580 (acos_tonearest_test_data): New variable.
9581 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9583 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9585 * benchtests/bench-skeleton.c (startup): Fix coding style.
9587 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9590 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9591 negative infinity argument.
9592 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9593 negative infinity argument.
9594 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9595 negative infinity argument.
9596 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9599 2013-05-10 Florian Weimer <fweimer@redhat.com>
9601 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9602 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9603 * iconv/iconv_prog.c (main): Likewise.
9604 * locale/programs/charmap-dir.c (charmap_readdir)
9605 (fopen_uncompressed): Likewise.
9606 * locale/programs/locfile.c (siblings_uncached)
9607 (write_locale_data): Use lstat64 instead of lstat.
9608 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9611 2013-05-10 Andreas Jaeger <aj@suse.de>
9614 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9618 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9620 * elf/dl-close.c (_dl_close_worker): Add comments.
9622 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9625 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9627 (__ieee754_rem_pio2l): Update comments.
9630 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9632 (__ieee754_rem_pio2l): Update comments.
9634 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9635 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9637 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9640 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9641 (M_PI_34_LOG10El): Likewise.
9642 (M_PI2_LOG10El): Likewise.
9643 (M_PI4_LOG10El): Likewise.
9644 (M_PI_LOG10El): Likewise.
9646 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9650 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9652 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9653 (MINUS_ZERO_INIT): Likewise.
9654 (PLUS_INFTY_INIT): Likewise.
9655 (MINUS_INFTY_INIT): Likewise.
9656 (QNAN_VALUE_INIT): Likewise.
9657 (MAX_VALUE_INIT): Likewise.
9658 (MIN_VALUE_INIT): Likewise.
9659 (MIN_SUBNORM_VALUE_INIT): Likewise.
9660 (plus_zero): Initialize with PLUS_ZERO_INIT.
9661 (minus_zero): Initialize with MINUS_ZERO_INIT.
9662 (plus_infty): Initialize with PLUS_INFTY_INIT.
9663 (minus_infty): Initialize with MINUS_INFTY_INIT.
9664 (qnan_value): Initialize with QNAN_VALUE_INIT.
9665 (max_value): Initialize with MAX_VALUE_INIT.
9666 (min_value): Initialize with MIN_VALUE_INIT.
9667 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9669 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9670 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9671 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9672 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9674 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9675 (RUN_TEST_2_f): Likewise.
9676 (RUN_TEST_ff_f): Likewise.
9677 (RUN_TEST_fi_f): Likewise.
9678 (RUN_TEST_fl_f): Likewise.
9679 (RUN_TEST_fff_f): Likewise.
9680 (RUN_TEST_c_f): Likewise.
9681 (RUN_TEST_f_f1): Likewise.
9682 (RUN_TEST_fF_f1): Likewise.
9683 (RUN_TEST_fI_f1): Likewise.
9684 (RUN_TEST_ffI_f1): Likewise.
9685 (RUN_TEST_c_c): Likewise.
9686 (RUN_TEST_cc_c): Likewise.
9687 (RUN_TEST_f_i): Likewise.
9688 (RUN_TEST_f_i_tg): Likewise.
9689 (RUN_TEST_ff_i_tg): Likewise.
9690 (RUN_TEST_f_b): Likewise.
9691 (RUN_TEST_f_b_tg): Likewise.
9692 (RUN_TEST_f_l): Likewise.
9693 (RUN_TEST_f_L): Likewise.
9694 (RUN_TEST_sincos): Likewise.
9695 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9696 whether to show exceptions. Do not include ");\n" in return
9698 (special_functions): Output call to RUN_TEST_sincos instead of
9699 check_float calls. Update calls to new_test.
9700 (parse_args): Output call to single RUN_TEST_* macro instead of
9701 check_* calls and other assignments. Update calls to new_test.
9707 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9708 input to result for tgamma overflow.
9709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9710 (gamma_coeff): New variable.
9711 (NCOEFF): New macro.
9712 (gamma_positive): New function.
9713 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9714 underflow here. Use gamma_positive instead of exp (lgamma) for
9716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9717 (gamma_coeff): New variable.
9718 (NCOEFF): New macro.
9719 (gammaf_positive): New function.
9720 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9721 underflow here. Use gamma_positive instead of exp (lgamma) for
9723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9724 (gamma_coeff): New variable.
9725 (NCOEFF): New macro.
9726 (gammal_positive): New function.
9727 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9728 underflow here. Use gamma_positive instead of exp (lgamma) for
9730 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9731 (gamma_coeff): New variable.
9732 (NCOEFF): New macro.
9733 (gammal_positive): New function.
9734 (__ieee754_gammal_r): Handle positive infinity, overflow and
9735 underflow here. Handle NaN the same as positive infinity. Remove
9736 check x < 0xffffffff for negative integers. Use gamma_positive
9737 instead of exp (lgamma) for other arguments.
9738 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9739 (gamma_coeff): New variable.
9740 (NCOEFF): New macro.
9741 (gammal_positive): New function.
9742 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9743 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9747 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9748 * sysdeps/generic/math_private.h (__gamma_productf): New
9750 (__gamma_product): Likewise.
9751 (__gamma_productl): Likewise.
9752 * math/Makefile (libm-calls): Add gamma_product.
9753 * math/libm-test.inc (tgamma_test): Add more tests.
9754 * sysdeps/i386/fpu/libm-test-ulps: Update.
9755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9757 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9759 * benchtests/bench-skeleton.c (main): Preheat CPU.
9761 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9763 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9765 2013-05-07 Roland McGrath <roland@hack.frob.com>
9767 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9768 and _dl_skip_args_internal.
9770 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9772 * manual/message.texi (Message Translation): Talk about users.
9773 Message to key mapping impacts design.
9775 2013-05-06 Roland McGrath <roland@hack.frob.com>
9777 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9779 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9781 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9782 * sysdeps/wordsize-64/glob64.c: ... here.
9784 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9785 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9788 * debug/getlogin_r_chk.c: Moved to ...
9789 * login/getlogin_r_chk.c: ... here.
9790 * debug/Makefile (routines): Move getlogin_r_chk to ...
9791 * login/Makefile (routines): ... here.
9792 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9793 * login/Versions (libc: GLIBC_2.4): ... here.
9795 * io/poll.c (__poll): Renamed from poll.
9796 Add libc_hidden_def.
9797 (poll): Define as weak alias.
9799 * debug/ptsname_r_chk.c: Moved to ...
9800 * login/ptsname_r_chk.c: ... here.
9801 * debug/Makefile (routines): Move ptsname_r_chk to ...
9802 * login/Makefile (routines): ... here.
9803 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9804 * login/Versions (libc: GLIBC_2.4): ... here.
9806 * posix/getlogin.c: Moved to ...
9807 * login/getlogin.c: ... here.
9808 * posix/getlogin_r.c: Moved to ...
9809 * login/getlogin_r.c: ... here.
9810 * posix/getlogin_r.c: Moved to ...
9811 * login/getlogin_r.c: ... here.
9812 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9813 * login/Makefile (routines): ... here.
9814 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9815 * login/Versions (libc: GLIBC_2.0): ... here.
9817 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9818 (setrlimit): Define as weak alias.
9820 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9821 Call __ names for open, ftruncate, and close.
9822 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9823 (truncate): Define as weak alias.
9825 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9827 * math/gen-libm-test.pl (parse_args): Initialize x before each
9828 test of frexp, modf and remquo.
9830 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9833 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9839 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9841 2013-05-06 Roland McGrath <roland@hack.frob.com>
9843 * elf/dl-writev.h: New file.
9844 * elf/dl-misc.c: Include it.
9845 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9846 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9848 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9850 * math/libm-test.inc (noXFails): Remove variable.
9851 (noXPasses): Likewise.
9852 (BUILD_COMPLEX_INT): Remove macro.
9853 (print_screen): Remove xfail argument.
9854 (print_screen_max_error): Likewise.
9855 (update_stats): Likewise.
9856 (print_max_error): Likewise. Update calls to other affected
9858 (print_complex_max_error): Likewise.
9859 (test_single_exception): Update calls to print_screen.
9860 (test_single_errno): Likewise.
9861 (check_float_internal): Remove xfail argument. Update calls to
9862 other affected functions.
9863 (check_float): Likewise.
9864 (check_complex): Likewise.
9865 (check_int): Likewise.
9866 (check_long): Likewise.
9867 (check_bool): Likewise.
9868 (check_longlong): Likewise.
9869 (main): Don't print noXFails and noXPasses.
9870 * math/gen-libm-test.pl (top level): Don't mention expected
9871 failure handling in comment.
9872 (new_test): Don't handle expected failures.
9873 (parse_args): Don't mention expected failure handling in comment.
9874 (generate_testfile): Don't handle expected failures.
9875 (parse_ulps): Likewise.
9876 (print_ulps_file): Likewise.
9877 (get_failure): Remove function.
9878 (output_test): Don't handle expected failures.
9879 * make/README.libm-test: Don't mention expected failure handling.
9881 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9882 (minus_zero): Likewise.
9883 (plus_infty): Likewise.
9884 (minus_infty): Likewise.
9885 (qnan_value): Likewise.
9886 (max_value): Likewise.
9887 (min_value): Likewise.
9888 (min_subnorm_value): Likewise.
9889 (initialize): Do not initialize those variables dynamically.
9891 2013-05-03 Roland McGrath <roland@hack.frob.com>
9893 * io/open.c (__open_2): Moved to ...
9894 * io/open_2.c: ... this new file.
9895 * io/open64.c (__open64_2): Moved to ...
9896 * io/open64_2.c: ... this new file.
9897 * io/openat.c (__openat_2): Moved to ...
9898 * io/openat_2.c: ... this new file.
9899 * io/openat64.c (__openat64_2): Moved to ...
9900 * io/openat64_2.c: ... this new file.
9901 * io/Makefile (routines): Add them.
9902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9903 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9904 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9905 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9906 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9907 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9908 (__openat64): Add hidden_ver.
9909 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9910 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9912 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9913 Separately conditionalize setting of GLRO(dl_sysinfo) so
9914 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9915 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9917 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9922 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9923 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9924 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9925 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9926 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9928 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9930 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9933 * math/libm-test.inc (hypot_test): Do not use
9934 IGNORE_ZERO_INF_SIGN.
9936 2013-05-03 Andreas Jaeger <aj@suse.de>
9938 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9940 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9941 (PF_MAX): Adjust for VSOCK change.
9943 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9947 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9950 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9951 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9952 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9954 2013-05-02 David S. Miller <davem@davemloft.net>
9956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9958 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9960 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9962 2013-05-01 Roland McGrath <roland@hack.frob.com>
9964 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9966 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9969 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9970 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9971 Use __attribute__ ((__gnu_inline__)).
9972 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9973 Don't use __attribute__ ((__gnu_inline__)).
9975 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9978 * math/s_catan.c (__catan): Handle small real or imaginary part of
9979 input specially to avoid spurious underflow.
9980 * math/s_catanf.c (__catanf): Likewise.
9981 * math/s_catanh.c (__catanh): Likewise.
9982 * math/s_catanhf.c (__catanhf): Likewise.
9983 * math/s_catanhl.c (__catanhl): Likewise.
9984 * math/s_catanl.c (__catanl): Likewise.
9985 * math/libm-test.inc (catan_test): Add more tests.
9986 (catanh_test): Likewise.
9987 * sysdeps/i386/fpu/libm-test-ulps: Update.
9988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9990 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9994 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9997 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9998 accurately for denominator in atan2.
9999 * math/s_catanf.c (__catanf): Likewise.
10000 * math/s_catanh.c (__catanh): Likewise.
10001 * math/s_catanhf.c (__catanhf): Likewise.
10002 * math/s_catanhl.c (__catanhl): Likewise.
10003 * math/s_catanl.c (__catanl): Likewise.
10004 * math/libm-test.inc (catan_test): Add more tests.
10005 (catanh_test): Likewise.
10006 * sysdeps/i386/fpu/libm-test-ulps: Update.
10007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10011 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10013 * benchtests/Makefile (bench): Remove slow benchmarks.
10014 * benchtests/atan-inputs: Add slow benchmark inputs.
10015 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10016 (BENCH_FUNC): Accept variant offset.
10018 * benchtests/bench-skeleton.c (main): Run benchmark for each
10020 * benchtests/cos-inputs: Add slow benchmark inputs.
10021 * benchtests/exp-inputs: Likewise.
10022 * benchtests/pow-inputs: Likewise.
10023 * benchtests/sin-inputs: Likewise.
10024 * benchtests/slowatan-inputs: Remove.
10025 * benchtests/slowatan.c: Remove.
10026 * benchtests/slowcos-inputs: Remove.
10027 * benchtests/slowcos.c: Remove.
10028 * benchtests/slowexp-inputs: Remove.
10029 * benchtests/slowexp.c: Remove.
10030 * benchtests/slowpow-inputs: Remove.
10031 * benchtests/slowpow.c: Remove.
10032 * benchtests/slowsin-inputs: Remove.
10033 * benchtests/slowsin.c: Remove.
10034 * benchtests/slowtan-inputs: Remove.
10035 * benchtests/slowtan.c: Remove.
10036 * benchtests/tan-inputs: Add slow benchmark inputs.
10037 * scripts/bench.pl: Parse comments and directives.
10039 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10041 ($(objpfx)bench-%.c): Remove *-ITER.
10042 * benchtests/bench-modf.c: Remove definition of ITER.
10043 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10044 (main): Loop for DURATION seconds instead of fixed number of
10046 * scripts/bench.pl: Don't expect iterations in parameters.
10048 2013-04-29 Roland McGrath <roland@hack.frob.com>
10050 * io/fchdir.c (__fchdir): Renamed from fchdir.
10051 (fchdir): Define as weak alias.
10053 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10055 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10056 (ERRNO_EDOM): Likewise.
10057 (ERRNO_ERANGE): Likewise.
10058 (noErrnoTests): New variable.
10059 (init_max_error): Set errno to 0.
10060 (test_single_errno): New function.
10061 (test_errno): Likewise.
10062 (check_float_internal): Call test_errno. Set errno to 0.
10063 (check_complex): Refer to errno tests in comment.
10064 (check_int): Call test_errno. Set errno to 0.
10065 (check_long): Likewise.
10066 (check_bool): Likewise.
10067 (check_longlong): Likewise.
10068 (cos_test): Use ERRNO_* flags for errno tests instead of
10070 (expm1_test): Likewise.
10071 (fmod_test): Likewise.
10072 (ilogb_test): Likewise.
10073 (lgamma_test): Likewise.
10074 (pow_test): Likewise.
10075 (remainder_test): Likewise.
10076 (sin_test): Likewise.
10077 (tan_test): Likewise.
10078 (yn_test): Likewise.
10079 (initialize): Set errno to 0.
10080 (main): Print number of errno tests.
10081 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10083 2013-04-29 Andreas Jaeger <aj@suse.de>
10086 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10090 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10091 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10095 * stdlib/random.c (__initstate): Return NULL if
10099 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10100 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10103 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10107 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10109 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10110 of individual tests.
10111 (casin_test): Likewise.
10112 (casinh_test): Likewise.
10114 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10117 * math/s_catan.c (__catan): Handle arguments with large real or
10118 imaginary part separately without squaring.
10119 * math/s_catanf.c (__catanf): Likewise.
10120 * math/s_catanh.c (__catanh): Likewise.
10121 * math/s_catanhf.c (__catanhf): Likewise.
10122 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10124 (__catanhl): Handle arguments with large real or imaginary part
10125 separately without squaring.
10126 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10128 (__catanl): Handle arguments with large real or imaginary part
10129 separately without squaring.
10130 * math/libm-test.inc (catan_test): Add more tests.
10131 (catanh_test): Likewise.
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10135 2013-04-27 Andreas Jaeger <aj@suse.de>
10138 * stdlib/stdlib.h: Update guards for qecvt.
10139 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10142 2013-04-27 Allan McRae <allan@archlinux.org>
10144 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10149 * math/s_catan.c: Include <float.h>.
10150 (__catan): Ensure underflow exception occurs for underflowed
10152 * math/s_catanf.c: Include <float.h>.
10153 (__catanf): Ensure underflow exception occurs for underflowed
10155 * math/s_catanh.c: Include <float.h>.
10156 (__catanh): Ensure underflow exception occurs for underflowed
10158 * math/s_catanhf.c: Include <float.h>.
10159 (__catanhf): Ensure underflow exception occurs for underflowed
10161 * math/s_catanhl.c: Include <float.h>.
10162 (__catanhl): Ensure underflow exception occurs for underflowed
10164 * math/s_catanl.c: Include <float.h>.
10165 (__catanl): Ensure underflow exception occurs for underflowed
10167 * math/libm-test.inc (catan_test): Add more tests.
10168 (catanh_test): Likewise.
10171 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10172 underflowed result.
10173 * math/s_ccoshf.c (__ccoshf): Likewise.
10174 * math/s_ccoshl.c (__ccoshl): Likewise.
10175 * math/s_csin.c (__csin): Likewise.
10176 * math/s_csinf.c (__csinf): Likewise.
10177 * math/s_csinh.c (__csinh): Likewise.
10178 * math/s_csinhf.c (__csinhf): Likewise.
10179 * math/s_csinhl.c (__csinhl): Likewise.
10180 * math/s_csinl.c (__csinl): Likewise.
10181 * math/libm-test.inc (ccos_test): Add more tests.
10182 (ccosh_test): Likewise.
10183 (csin_test): Likewise.
10184 (csinh_test): Likewise.
10186 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10188 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10189 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10190 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10191 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10192 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10193 powerpc/power5+/fpu folders.
10194 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10197 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10201 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10203 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10204 additions to variable.
10205 [$(config-machine) = x86_64] (modules-names): Likewise.
10206 ($(objpfx)tst-audit3): Remove dependency.
10207 ($(objpfx)tst-audit3.out): Likewise.
10208 ($(objpfx)tst-audit4): Likewise.
10209 ($(objpfx)tst-audit4.out): Likewise.
10210 ($(objpfx)tst-audit5): Likewise.
10211 ($(objpfx)tst-audit5.out): Likewise.
10212 ($(objpfx)tst-audit6): Likewise.
10213 ($(objpfx)tst-audit6.out): Likewise.
10214 ($(objpfx)tst-audit7): Likewise.
10215 ($(objpfx)tst-audit7.out): Likewise.
10216 (tst-audit3-ENV): Remove variable.
10217 (tst-audit4-ENV): Likewise.
10218 (tst-audit5-ENV): Likewise.
10219 (tst-audit6-ENV): Likewise.
10220 (tst-audit7-ENV): Likewise.
10221 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10222 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10223 addition to variable.
10224 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10229 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10230 tst-audit3, tst-audit4 and tst-audit5.
10231 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10232 tst-audit6 and tst-audit7.
10233 [$(subdir) = elf] (modules-names): Add audit modules for those
10235 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10236 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10237 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10238 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10239 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10240 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10241 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10242 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10243 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10244 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10245 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10246 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10247 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10248 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10249 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10250 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10252 [$(subdir) = elf && $(config-cflags-avx) = yes]
10253 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10254 [$(subdir) = elf && $(config-cflags-avx) = yes]
10255 (CFLAGS-tst-auditmod4a.c): Likewise.
10256 [$(subdir) = elf && $(config-cflags-avx) = yes]
10257 (CFLAGS-tst-auditmod4b.c): Likewise.
10258 [$(subdir) = elf && $(config-cflags-avx) = yes]
10259 (CFLAGS-tst-auditmod6b.c): Likewise.
10260 [$(subdir) = elf && $(config-cflags-avx) = yes]
10261 (CFLAGS-tst-auditmod6c.c): Likewise.
10262 [$(subdir) = elf && $(config-cflags-avx) = yes]
10263 (CFLAGS-tst-auditmod7b.c): Likewise.
10264 * elf/tst-audit3.c: Move to ...
10265 * sysdeps/x86_64/tst-audit3.c: ... here.
10266 * elf/tst-audit4.c: Move to ...
10267 * sysdeps/x86_64/tst-audit4.c: ... here.
10268 * elf/tst-audit5.c: Move to ...
10269 * sysdeps/x86_64/tst-audit5.c: ... here.
10270 * elf/tst-audit6.c: Move to ...
10271 * sysdeps/x86_64/tst-audit6.c: ... here.
10272 * elf/tst-audit7.c: Move to ...
10273 * sysdeps/x86_64/tst-audit7.c: ... here.
10274 * elf/tst-auditmod3a.c: Move to ...
10275 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10276 * elf/tst-auditmod3b.c: Move to ...
10277 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10278 * elf/tst-auditmod4a.c: Move to ...
10279 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10280 * elf/tst-auditmod4b.c: Move to ...
10281 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10282 * elf/tst-auditmod5a.c: Move to ...
10283 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10284 * elf/tst-auditmod5b.c: Move to ...
10285 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10286 * elf/tst-auditmod6a.c: Move to ...
10287 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10288 * elf/tst-auditmod6b.c: Move to ...
10289 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10290 * elf/tst-auditmod6c.c: Move to ...
10291 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10292 * elf/tst-auditmod7a.c: Move to ...
10293 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10294 * elf/tst-auditmod7b.c: Move to ...
10295 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10297 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10300 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10301 define unconditionally.
10302 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10303 define unconditionally.
10304 (INT8_C, INT16_C, etc.): Likewise.
10306 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10308 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10309 __ehdr_start with hidden visibility.
10311 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10313 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10315 * math/libm-test.inc (cos_test): Use accurate hex constants.
10316 (sincost_test): Likewise.
10318 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10320 * math/libm-test.inc (catan_test): Add more tests.
10321 (catanh_test): Likewise.
10323 * math/s_catanf.c (__catanf): Use suffixed floating-point
10325 * math/s_catanhf.c (__catanhf): Likewise.
10326 * math/s_catanhl.c (__catanhl): Likewise.
10327 * math/s_catanl.c (__catanl): Likewise.
10330 * math/s_catan.c (__catan): Calculate imaginary part of result
10331 with log1p not log unless computing log of number close to 0.
10332 * math/s_catanf.c (__catanf): Likewise.
10333 * math/s_catanl.c (__catanl): Likewise.
10334 * math/s_catanh.c (__catanh): Calculate real part of result with
10335 log1p not log unless computing log of number close to 0.
10336 * math/s_catanhf.c (__catanhf): Likewise.
10337 * math/s_catanhl.c (__catanhl): Likewise.
10338 * math/libm-test.inc (catan_test): Add more tests.
10339 (catanh_test): Likewise.
10340 * sysdeps/i386/fpu/libm-test-ulps: Update.
10341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10343 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10345 * benchtests/Makefile: Mention files in which fast and slow
10346 paths of math functions are implemented.
10348 2013-04-23 Roland McGrath <roland@hack.frob.com>
10350 * sysdeps/posix/timespec_get.c: New file.
10352 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10356 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10358 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10359 powerpc/power5/fpu folders.
10360 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10361 * benchtests/Makefile: Add modf testcase.
10362 * benchtests/bench-modf.c: New file: Benchmark test for mo
10364 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10367 * time/Makefile (tests): Add tst-strptime-whitespace.
10368 * time/strptime_l.c (get_number): Use ISSPACE.
10369 (__strptime_internal): Likewise.
10370 * time/tst-strptime-whitespace.c: New test case.
10372 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10374 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10376 (_nss_files_init): Set it here.
10378 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10380 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10381 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10384 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10386 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10388 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10390 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10393 2013-04-21 David S. Miller <davem@davemloft.net>
10395 * po/ru.po: Update Russion translation from translation project.
10397 2013-04-17 Adam Conrad <adconrad@0c3.net>
10399 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10402 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10404 * configure.in: Remove i386 configure warning. Remove i386 case.
10405 * configure: Regenerate.
10406 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10407 Add example to error message.
10408 * sysdeps/i386/configure: Regenerate.
10410 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10412 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10414 * benchtests/cos-inputs: New file.
10415 * benchtests/slowcos-inputs: New file.
10416 * benchtests/slowcos.c: New file.
10417 * benchtests/slowtan-inputs: New file.
10418 * benchtests/slowtan.c: New file.
10419 * benchtests/tan-inputs: New file.
10421 2013-04-16 Roland McGrath <roland@hack.frob.com>
10423 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10426 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10428 * benchtests/Makefile: Include cppflags-iterator.mk to add
10429 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10431 * Makefile.in (bench-clean): New target.
10432 * benchtests/Makefile (bench-clean): Likewise.
10434 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10436 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10438 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10440 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10442 2013-04-15 Andreas Schwab <schwab@suse.de>
10444 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10446 * nscd/pwdcache.c (cache_addpw): Likewise.
10447 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10450 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * benchtests/Makefile (bench): Write all output to
10453 bench-out.tmp together.
10455 2013-04-15 Andreas Schwab <schwab@suse.de>
10457 * nscd/nscd.c (main): Don't fork again after closing files.
10459 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10461 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10463 * benchtests/Rules (bench-deps): Collect dependencies into a
10464 single variable. Add Makefile to dependencies.
10465 ($(objpfx)bench-%.c): Depend on bench-deps.
10467 2013-04-12 Roland McGrath <roland@hack.frob.com>
10468 Xavier Roche <roche+kml2@exalead.com>
10471 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10472 just that it's a file descriptor.
10473 * manual/llio.texi (Synchronizing AIO Operations): Update description
10474 for EBADF error from aio_fsync.
10476 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * Rules (bench): Move target definition...
10479 * benchtests/Makefile: ... here.
10481 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10483 * math/libm-test.inc (cos_test): Fix PI/2 test.
10484 (sincos_test): Likewise.
10485 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10486 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10488 2013-04-11 Andreas Schwab <schwab@suse.de>
10491 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10492 accept exponent character only when digits were seen.
10493 * stdio-common/Makefile (tests): Add bug26.
10494 * stdio-common/bug26.c: New file.
10497 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10500 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10502 * Makeconfig (rtld-prefix): Define built linker prefix.
10503 * Rules (run-bench): Use it.
10504 * math/Makefile (run-regen-ulps): Likewise.
10506 * Rules (bench): Remove eval.
10508 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10509 Roland McGrath <roland@hack.frob.com>
10510 Ondrej Bilka <neleai@seznam.cz>
10513 * time/getdate.c: Include ctype.h and alloca.h.
10514 (__getdate_r): Trim leading and trailing spaces of input.
10515 * time/tst-getdate.c (tests): Add tests with leading and
10518 2013-04-08 Roland McGrath <roland@hack.frob.com>
10521 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10522 when computing value.
10524 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10526 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10527 Use testrun.sh to run libm tests.
10530 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10532 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10535 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10537 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10539 * Makefile.in (regen-ulps): New target.
10540 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10541 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10542 [ifneq (no,$(PERL)] (regen-ulps): New target.
10543 [ifeq (no,$(PERL)] (regen-ulps): New target.
10544 * math/libm-test.inc (ulps_file_name): Define.
10545 (output_dir): New variable.
10546 (options): Add "output-dir" option.
10547 (parse_opt): Handle 'o' case.
10548 (main): If output_dir is non-NULL use it as a prefix
10550 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10552 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10554 [BZ #10060, #10062]
10555 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10556 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10557 fail configure if __sync_val_compare_and_swap is not inlined.
10558 * sysdeps/i386/configure: Regenerate.
10559 * configure.in: Build for i686 when configured for i386.
10560 * configure: Regenerate.
10561 * README: Remove i386 reference.
10563 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10565 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10566 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10568 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10570 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10571 (lmsnanval): New variables.
10572 (F): Add conversion tests.
10573 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10574 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10576 * stdio-common/tstdiomisc.c (F): Properly collect individual
10579 [BZ #14686, #15336]
10580 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10581 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10582 Instead, use input NaN values or generate a qNaN by arithmetic
10583 operation. Also fix bugs to comply with the standard.
10584 * math/libm-test.inc (remainder_test): Add more tests.
10586 [BZ #15335, #15342]
10587 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10589 input NaN values or generate a qNaN by arithmetic operation.
10591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10594 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10597 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10600 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10601 underflowed result.
10602 * math/s_cexpf.c (__cexpf): Likewise.
10603 * math/s_cexpl.c (__cexpl): Likewise.
10604 * math/libm-test.inc (cexp_test): Add more tests.
10606 2013-04-03 Andreas Schwab <schwab@suse.de>
10609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10610 order arrays from heap if bigger than alloca cutoff.
10612 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10614 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10615 (SNAN_TESTS_double): Refer to GCC PR56831.
10616 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10619 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10621 * Rules (bench): Move bench.out after the run is complete.
10623 * Rules (bench): Echo currently running benchmark.
10625 * benchtests/Makefile (bench): Add atan and slowatan.
10626 * benchtests/atan-inputs: New file.
10627 * benchtests/slowatan-inputs: New file.
10628 * benchtests/slowatan.c: New file.
10630 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10631 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10635 * sysdeps/unix/sysv/linux/kernel-features.h
10636 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10637 __ASSUME_XFS_RESTRICTED_CHOWN.
10638 * sysdeps/unix/sysv/linux/pathconf.c
10639 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10640 Save and restore errno.
10642 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10645 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10646 arguments using __kernel_casinh.
10647 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10648 arguments using __kernel_casinhf.
10649 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10650 arguments using __kernel_casinhl.
10651 * math/libm-test.inc (cacosh_test): Add more tests.
10652 * sysdeps/i386/fpu/libm-test-ulps: Update.
10653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10657 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10660 * bench/Makefile (bench): Add sin and slowsin.
10661 * benchtests/sin-inputs: New file.
10662 * benchtests/slowsin-inputs: New file.
10663 * benchtests/slowsin.c: New file.
10665 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10666 (bench): Add slowexp and slowpow.
10667 (exp-ITER): Increase iterations.
10668 (pow-ITER): Likewise.
10669 * benchtests/exp-inputs: Change input.
10670 * benchtests/pow-inputs: Likewise.
10671 * benchtests/slowexp-inputs: New file.
10672 * benchtests/slowexp.c: New file.
10673 * benchtests/slowpow-inputs: New file.
10674 * benchtests/slowpow.c: New file.
10676 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10678 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10680 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10681 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10682 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10683 * benchtests/Makefile: Add rint benchtest.
10684 * benchtests/rint-inputs: Input for rint benchtest.
10686 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10688 * Versions.def (libm): Add GLIBC_2.18.
10689 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10690 hidden libm prototypes.
10691 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10692 * math/Makefile (libm-calls): Add s_issignaling.
10693 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10694 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10695 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10697 * math/math.h [__USE_GNU] (issignaling): New macro.
10698 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10699 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10704 * manual/arith.texi (issignaling): New section.
10705 * manual/libm-err-tab.pl (@all_functions): Update comment.
10706 * math/gen-libm-test.pl (parse_args): Apply special handling for
10708 * math/libm-test.inc (print_float, issignaling_test): New
10710 (check_float_internal): Add issignaling checks.
10711 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10712 default definition.
10713 * sysdeps/powerpc/math-tests.h: New file.
10714 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10716 * math/test-snan.c (TEST_FUNC): Likewise.
10718 2013-03-30 David S. Miller <davem@davemloft.net>
10720 * po/de.po: Update from translation team.
10722 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10725 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10726 imaginary part less than 1.0 and real part less than 0.5
10728 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10729 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10730 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10731 (cacos_test): Add more tests.
10732 (casin_test): Likewise.
10733 (casinh_test): Likewise.
10734 * sysdeps/i386/fpu/libm-test-ulps: Update.
10735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10737 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10739 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10740 ONE with its value.
10742 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10743 (__pow_mp): Replace ONE and MONE with their values.
10744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10746 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10747 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10748 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10749 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10751 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10753 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10754 (__pow_mp): Replace ZERO and MZERO with their values.
10755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10756 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10759 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10760 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10763 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10765 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10767 2013-03-28 Roland McGrath <roland@hack.frob.com>
10769 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10770 Declare with __attribute__ ((weak)).
10771 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10772 Call __call_tls_dtors only if it's not NULL.
10774 2013-03-28 Roland McGrath <roland@hack.frob.com>
10776 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10777 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10778 magic __ehdr_start linker symbol if it's defined.
10779 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10780 them up here if it was already done.
10782 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10783 (_dl_aux_init): Use const in cast when setting it.
10784 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10785 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10786 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10788 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10790 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10791 * csu/libc-tls.c: Nor here.
10792 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10794 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10795 (__libc_message): Never call vsyslog.
10797 2013-03-28 Alan Modra <amodra@gmail.com>
10799 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10801 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10804 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10807 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10811 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10814 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10815 Don't add gid passed as argument.
10817 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10819 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10822 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10823 imaginary part between 1.0 and 1.5 and real part less than 0.5
10825 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10826 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10827 * math/libm-test.inc (cacos_test): Add more tests.
10828 (casin_test): Likewise.
10829 (casinh_test): Likewise.
10830 * sysdeps/i386/fpu/libm-test-ulps: Update.
10831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10835 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10838 (denorm): Likewise.
10839 (__dbl_mp): Likewise.
10840 (add_magnitudes): Likewise.
10841 (sub_magnitudes): Likewise.
10849 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10851 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10852 (__dubcos): Likewise.
10853 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10854 (__ieee754_acos): Likewise.
10855 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10856 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10857 (__exp1): Likewise.
10858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10861 (my_log2): Likewise.
10862 (checkint): Likewise.
10863 * sysdeps/ieee754/dbl-64/e_remainder.c
10864 (__ieee754_remainder): Likewise.
10865 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10867 (bsloww): Likewise.
10868 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10870 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10871 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10872 MANTISSA_STORE_T to store computations on mantissa. Use
10873 macros for rounding and division.
10874 (denorm): Likewise.
10875 (__dbl_mp): Likewise.
10876 (add_magnitudes): Likewise.
10877 (sub_magnitudes): Likewise.
10880 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10881 powers of two in terms of TWOPOW macro.
10882 (mp_no): Make type of mantissa as MANTISSA_T.
10883 [!RADIXI]: Define RADIXI.
10884 [!TWO52]: Define TWO52.
10885 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10887 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10889 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10890 llroundl symbol when building for PPC32.
10892 2013-03-24 Mark H Weaver <mhw@netris.org>
10894 * manual/arith.texi (Normalization Functions): Fix prototypes for
10895 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10897 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10901 high value to check if expl overflow.
10902 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10903 to check for underflow and overflow.
10904 * math/libm-test.inc: Add exp test.
10906 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10909 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10912 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10914 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10917 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10919 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10920 wrap blocks consisting of several statements.
10922 * sysdeps/generic/math-tests.h: New file.
10923 * sysdeps/i386/fpu/math-tests.h: Likewise.
10924 * math/test-snan.c: Include it.
10925 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10927 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10930 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10931 (__ieee754_j0l): Do not improve calculations using cos of twice
10932 input for inputs above LDBL_MAX / 2.0L.
10933 (__ieee754_y0l): Likewise.
10934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10935 (__ieee754_j1l): Do not improve calculations using cos of twice
10936 input for inputs above LDBL_MAX / 2.0L.
10937 (__ieee754_y1l): Likewise.
10938 * math/libm-test.inc (j0_test): Add another test.
10939 (j1_test): Likewise.
10940 (y0_test): Likewise.
10941 (y1_test): Likewise.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10944 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10946 * Rules ($(objpfx)bench-%.c): Include code from a C source
10949 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10952 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10953 imaginary part 1.0 and real part less than 0.5 specially.
10954 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10955 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10956 * math/libm-test.inc (cacos_test): Add more tests.
10957 (casin_test): Likewise.
10958 (casinh_test): Likewise.
10959 * sysdeps/i386/fpu/libm-test-ulps: Update.
10960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10962 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10965 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10967 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10969 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10970 * config.make.in (config-cflags-sse4): Remove variable.
10971 (config-cflags-avx): Likewise.
10972 (config-cflags-sse2avx): Likewise.
10973 (config-cflags-novzeroupper): Likewise.
10974 (config-asflags-i686): Likewise.
10975 (have-mfma4): Likewise.
10976 (have-as-vis3): Likewise.
10978 * configure.in (MIG): Do not AC_SUBST.
10979 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10980 (libc_cv_cc_sse4): Do not AC_SUBST.
10981 (libc_cv_cc_avx): Likewise.
10982 (libc_cv_cc_sse2avx): Likewise.
10983 (libc_cv_cc_novzeroupper): Likewise.
10984 (libc_cv_cc_fma4): Likewise.
10985 (libc_cv_as_i686): Likewise.
10986 (libc_cv_sparc_as_vis3): Likewise.
10987 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10989 (config-asflags-i686): Likewise.
10990 (config-cflags-avx): Likewise.
10991 (config-cflags-sse2avx): Likewise.
10992 (have-mfma4): Likewise.
10993 (config-cflags-novzeroupper): Likewise.
10994 * sysdeps/mach/configure.in (MIG): Likewise.
10995 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10996 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10998 (config-cflags-avx): Likewise.
10999 (config-cflags-sse2avx): Likewise.
11000 (have-mfma4): Likewise.
11001 (config-cflags-novzeroupper): Likewise.
11002 * configure: Regenerated.
11003 * sysdeps/i386/configure: Likewise.
11004 * sysdeps/mach/configure: Likewise.
11005 * sysdeps/sparc/configure: Likewise.
11006 * sysdeps/x86_64/configure: Likewise.
11008 2013-03-20 Roland McGrath <roland@hack.frob.com>
11011 * locale/programs/localedef.c (options): Put N_ translation marker
11012 on argument names, not just descriptions.
11014 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11016 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11018 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11021 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11023 2013-03-19 Roland McGrath <roland@hack.frob.com>
11025 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11026 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11027 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11028 [!BEFORE_ABORT] (before_abort): New function.
11029 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11030 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11031 (writev_for_fatal): New function.
11032 (WRITEV_FOR_FATAL): New macro; call that.
11033 (backtrace_and_maps): New function.
11034 (BEFORE_ABORT): New macro; call that.
11035 (struct str_list): Type removed.
11036 (__libc_message, __libc_fatal): Functions removed.
11037 Include <sysdeps/posix/libc_fatal.c> instead.
11039 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11041 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11043 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11046 2013-03-19 Andreas Schwab <schwab@suse.de>
11048 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11049 * sysdeps/gnu/configure: Regenerate.
11051 * configure.in: Substitute libc_cv_rtlddir.
11052 * configure: Regenerate.
11053 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11054 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11055 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11056 * elf/Makefile (install-others, CFLAGS-interp.c)
11057 (ldso_install, common-ldd-rewrite): Likewise.
11058 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11059 $(inst_slibdir)/$(rtld-installed-name).
11060 * scripts/rellns-sh: Add -p option.
11061 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11064 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11066 * manual/nptl.texi: Renamed to ...
11067 * manual/threads.texi: ... this.
11068 * manual/Makefile (chapters): Update.
11070 2013-03-18 Roland McGrath <roland@hack.frob.com>
11073 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11074 on argument names, not just descriptions.
11075 * malloc/memusagestat.c (options): Likewise.
11076 * nss/getent.c (options): Likewise.
11078 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11081 * iconv/iconv_prog.c (options): Put N_ translation marker
11082 on argument names, not just descriptions.
11083 * iconv/iconvconfig.c (options): Likewise.
11085 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11087 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11088 implementation which is faster on all x86_64 architectures.
11089 Tested on AMD, Intel Nehalem, SNB, IVB.
11090 * sysdeps/x86_64/strnlen.S: Likewise.
11092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11093 Remove all multiarch strlen and strnlen versions.
11094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11095 Remove strlen and strnlen related parts.
11097 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11098 Inline strlen part.
11099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11101 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11102 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11103 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11104 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11105 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11106 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11108 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11110 * manual/memory.texi (Malloc Tunable Parameters):
11111 Sort parameters alphabetically. Add comments for missing entries.
11113 2013-03-17 David S. Miller <davem@davemloft.net>
11115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11117 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11121 for arguments at most half maximum finite value.
11122 * math/libm-test.inc (j0_test): Add more tests.
11123 (j1_test): Likewise.
11124 (y0_test): Likewise.
11125 (y1_test): Likewise.
11126 * sysdeps/i386/fpu/libm-test-ulps: Update.
11127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11131 1 / x and functions P and Q for arguments above 0x1p256L.
11132 (__ieee754_y0l): Likewise.
11133 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11134 (__ieee754_y1l): Likewise.
11135 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11136 (j1_test): Likewise.
11137 (y0_test): Likewise.
11138 (y1_test): Likewise.
11140 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11142 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11145 2013-03-15 Roland McGrath <roland@hack.frob.com>
11147 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11148 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11149 zero since it's initialized to EXEC_PAGESIZE.
11151 * sysdeps/unix/sysv/linux/ldsodefs.h
11152 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11153 * sysdeps/generic/ldsodefs.h: ... here.
11155 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11157 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11159 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11161 * math/test-snan.c: Renamed from
11162 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11163 * math/Makefile (tests): Add test-snan.
11164 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11167 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11168 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11170 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11171 __builtin_nan family of functions.
11172 * math/libm-test.inc (initialize): Initialize qnan_value with
11173 __builtin_nan family of functions.
11174 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11176 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11178 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11179 storage class. Initialize qNaN_var and sNaN_var with
11180 __builtin_nan and __builtin_nans families of functions,
11183 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11184 (sqrt_test): Remove duplicate test with qNaN input.
11185 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11186 (round_test, signbit_test, significand_test): Note missing +/-Inf
11187 as well as qNaN tests.
11189 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11190 qNaN_var. Fix a few strings, too.
11191 * math/libm-test.inc (nan_value): Rename to qnan_value.
11192 * math/gen-libm-test.pl (%beautify): Adjust to that.
11193 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11194 * math/test-misc.c (main): Likewise.
11195 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11196 to __qnan_bytes, and __qnan_union, respectively.
11197 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11199 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11200 and lqnanval, respectively.
11201 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11202 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11203 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11204 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11206 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11207 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11210 * math/test-misc.c (main): Fix copy'n'pastos.
11211 * misc/tst-efgcvt.c (special): Likewise.
11213 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11214 Remove declarations.
11216 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11218 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11219 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11220 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11223 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11226 macro to return vdso values correctly in IFUNC implementations.
11227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11228 Optimization by using IFUNC.
11230 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11231 Richard Henderson <rth@redhat.com>
11232 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11234 * Makefile.in (bench): New target.
11235 * NEWS: Mention the benchmark framework.
11236 * Rules (bench): Likewise.
11237 (binaries-bench): Generate binaries for functions to
11239 * benchtests/Makefile: New makefile for benchmark tests.
11240 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11242 * benchtests/exp-inputs: New input file for EXP function.
11243 * benchtests/pow-inputs: New input file for POW function.
11244 * scripts/bench.pl: New script to generate source files for
11245 benchmark programs.
11247 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11249 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11251 computations on mantissa. Use macros for rounding and
11253 (denorm): Likewise.
11254 (__dbl_mp): Likewise.
11255 (add_magnitudes): Likewise.
11256 (sub_magnitudes): Likewise.
11259 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11260 powers of two in terms of TWOPOW macro.
11261 (mp_no): Make type of mantissa as MANTISSA_T.
11262 [!RADIXI]: Define RADIXI.
11263 [!TWO52]: Define TWO52.
11264 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11266 * manual/nptl.texi (cindex): Modify threads to pthreads.
11268 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11270 * sysdeps/x86_64/preconfigure: Regenerated.
11272 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11275 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11277 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11278 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11280 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11281 * math/libm-test.inc (j0_test): Do not allow one spurious
11282 underflow exception.
11283 (y1_test): Likewise.
11285 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11287 * manual/Makefile (chapters): Add nptl.
11288 * manual/debug.texi (Debugging Support): Add link to Threads
11290 * manual/nptl.texi: New file.
11292 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11294 2013-03-14 Petr Baudis <pasky@ucw.cz>
11296 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11297 for non-NULL pointer before the memory validity test. Pointed
11298 out by Holger Brunck <holger.brunck@keymile.com>.
11300 2013-03-13 Andreas Schwab <schwab@suse.de>
11302 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11305 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11307 * timezone/zic.c: Update from tzcode 2013b.
11309 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11311 * manual/install.texi (Configuring and compiling):
11312 Mention i686 and i586.
11313 * INSTALL: Regenerate.
11315 2013-03-12 Roland McGrath <roland@hack.frob.com>
11317 * sysdeps/init_array/elf-init.c: New file.
11319 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11320 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11322 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11323 __gmon_start__ as global, but as static with a .preinit_array pointer.
11324 * sysdeps/init_array/gmon-start.c: New file. Use that.
11325 * sysdeps/init_array/crti.S: New file, empty except for comments.
11326 * sysdeps/init_array/crtn.S: Likewise.
11328 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11330 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11333 Remove Prefer_SSE_for_memop.
11334 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11335 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11336 HAS_PREFER_SSE_FOR_MEMOP.
11337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11340 Remove bzero, memset ifunc support.
11341 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11342 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11343 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11344 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11346 2013-03-11 Andreas Schwab <schwab@suse.de>
11349 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11352 (GLIBC_2.16): Remove pthread_atfork.
11354 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11356 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11357 (ptestcases.h): Likewise.
11359 2013-03-08 Roland McGrath <roland@hack.frob.com>
11361 * Makeconfig ($(common-objpfx)config.status): Depend on
11362 sysdeps/*/preconfigure{,.in} too.
11364 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11366 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11367 (__free_hook): Use void * instead of __malloc_ptr_t.
11368 (__malloc_hook): Likewise.
11369 (__realloc_hook): Likewise.
11370 (__memalign_hook): Likewise.
11371 (__after_morecore_hook): Likewise.
11372 * malloc/arena.c (save_malloc_hook): Likewise.
11373 (save_free_hook): Likewise.
11374 * malloc/hooks.c (malloc_hook_ini): Likewise.
11375 (realloc_hook_ini): Likewise.
11376 (memalign_hook_ini): Likewise.
11377 * malloc/malloc.c (malloc_hook_ini): Likewise.
11378 (realloc_hook_ini): Likewise.
11379 (memalign_hook_ini): Likewise.
11380 (__free_hook): Likewise.
11381 (__malloc_hook): Likewise.
11382 (__realloc_hook): Likewise.
11383 (__memalign_hook): Likewise.
11384 (__libc_malloc): Likewise.
11385 (__libc_free): Likewise.
11386 (__libc_realloc): Likewise.
11387 (__libc_memalign): Likewise.
11388 (__libc_valloc): Likewise.
11389 (__libc_pvalloc): Likewise.
11390 (__libc_calloc): Likewise.
11391 (__posix_memalign): Likewise.
11392 * malloc/morecore.c (__sbrk): Likewise.
11393 (__default_morecore): Likewise.
11395 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11397 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11398 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11399 __malloc_ptrdiff_t.
11401 * malloc/malloc.h (__malloc_size_t): Remove macro.
11402 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11404 (old_memalign_hook): Likewise.
11405 (old_realloc_hook): Likewise.
11406 (struct hdr): Likewise.
11408 (mallochook): Likewise.
11409 (memalignhook): Likewise.
11410 (reallochook): Likewise.
11411 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11412 (tr_old_realloc_hook): Likewise.
11413 (tr_old_memalign_hook): Likewise.
11414 (tr_mallochook): Likewise.
11415 (tr_reallochook): Likewise.
11416 (tr_memalignhook): Likewise.
11418 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11421 default_ldbl_pack and using as default implementation.
11422 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11424 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11425 redundant definition.
11426 (ldbl_insert_mantissa): Likewise.
11427 (ldbl_canonicalize): Likewise.
11428 (ldbl_nearbyint): Likewise.
11429 (ldbl_pack): Rename to ldbl_pack_ppc.
11430 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11431 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11432 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11434 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11437 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11439 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11442 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11443 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11445 2013-03-07 Andreas Jaeger <aj@suse.de>
11447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11450 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11452 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11453 Include mpa.h and declare __MPEXP.
11454 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11456 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11458 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11459 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11460 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11462 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11463 (__slowpow): Use long double EXPL and LOGL functions to
11465 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11466 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11467 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11468 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11469 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11470 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11473 intermediate variable to calculate exponent.
11475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11479 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11480 [!NO__SQR]: Define __sqr.
11481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11482 and NO__SQR. Remove all code except __mul and __sqr. Include
11483 sysdeps/ieee754/dbl-64/mpa.c.
11484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11487 * posix/Makefile (tests): Add tst-pathconf.
11488 * posix/tst-pathconf.c: New test case.
11489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11491 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11493 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11495 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11497 2013-03-06 Andreas Jaeger <aj@suse.de>
11499 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11500 definition via __MAP_ANONYMOUS.
11502 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11503 it's not part of Linux headers.
11505 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11506 (MAP_HUGE_MASK): Define.
11508 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11511 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11513 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11514 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11517 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11519 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11521 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11522 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11523 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11524 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11525 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11526 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11528 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11532 Handle f2fs and efivarfs.
11534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11537 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11538 (EFIVARFS_MAGIC): Add.
11539 (F2FS_LINK_MAX): Add.
11541 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11543 * stdio-common/vfprintf.c: Replace __builtin_expect with
11546 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11549 * sysdeps/generic/bp-sym.h: Remove file.
11550 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11552 <bp-sym.h> and <bp-asm.h>.
11553 (__longjmp): Don't use BP_SYM.
11554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11556 (memcpy): Don't use BP_SYM.
11557 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11558 <bp-sym.h> and <bp-asm.h>.
11559 (memcpy): Don't use BP_SYM.
11560 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11562 (memcpy): Don't use BP_SYM.
11563 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11565 (memset): Don't use BP_SYM.
11566 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11567 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11568 (__bzero): Don't use BP_SYM.
11569 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11570 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11572 <bp-sym.h> and <bp-asm.h>.
11573 (memcmp): Don't use BP_SYM. Remove comment about bounded
11575 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11576 <bp-sym.h> and <bp-asm.h>.
11577 (memcpy): Don't use BP_SYM.
11578 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11579 <bp-sym.h> and <bp-asm.h>.
11580 (memset): Don't use BP_SYM.
11581 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11582 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11583 (__bzero): Don't use BP_SYM.
11584 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11585 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11586 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11587 <bp-sym.h> and <bp-asm.h>.
11588 (strncmp): Don't use BP_SYM. Remove comment about bounded
11590 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11591 <bp-sym.h> and <bp-asm.h>.
11592 (memcpy): Don't use BP_SYM.
11593 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11594 <bp-sym.h> and <bp-asm.h>.
11595 (memset): Don't use BP_SYM.
11596 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11597 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11598 (__bzero): Don't use BP_SYM.
11599 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11600 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11601 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11602 <bp-sym.h> and <bp-asm.h>.
11603 (__memchr): Don't use BP_SYM.
11604 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11605 <bp-sym.h> and <bp-asm.h>.
11606 (memcmp): Don't use BP_SYM. Remove comment about bounded
11608 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11609 <bp-sym.h> and <bp-asm.h>.
11610 (memcpy): Don't use BP_SYM.
11611 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11612 <bp-sym.h> and <bp-asm.h>.
11613 (__mempcpy): Don't use BP_SYM.
11614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11615 <bp-sym.h> and <bp-asm.h>.
11616 (__memrchr): Don't use BP_SYM.
11617 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11618 <bp-sym.h> and <bp-asm.h>.
11619 (memset): Don't use BP_SYM.
11620 (__bzero): Likewise.
11621 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11622 <bp-sym.h> and <bp-asm.h>.
11623 (__rawmemchr): Don't use BP_SYM.
11624 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11625 <bp-sym.h> and <bp-asm.h>.
11626 (__STRCMP): Don't use BP_SYM.
11627 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11628 <bp-sym.h> and <bp-asm.h>.
11629 (strchr): Don't use BP_SYM.
11630 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11631 <bp-sym.h> and <bp-asm.h>.
11632 (__strchrnul): Don't use BP_SYM.
11633 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11634 <bp-sym.h> and <bp-asm.h>.
11635 (strlen): Don't use BP_SYM.
11636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11637 <bp-sym.h> and <bp-asm.h>.
11638 (strncmp): Don't use BP_SYM. Remove comment about bounded
11640 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11641 <bp-sym.h> and <bp-asm.h>.
11642 (__strnlen): Don't use BP_SYM.
11643 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11644 <bp-sym.h> and <bp-asm.h>.
11645 (__GI__setjmp): Don't use BP_SYM.
11646 (_setjmp): Likewise.
11647 (__sigsetjmp): Likewise.
11648 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11649 (L(start_addresses)): Don't use BP_SYM.
11650 (_start): Likewise.
11651 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11653 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11654 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11655 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11656 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11657 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11659 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11660 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11661 about bounded pointers.
11662 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11663 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11664 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11666 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11667 about bounded pointers. Remove GKM FIXME comments.
11668 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11669 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11671 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11672 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11673 Remove GKM FIXME comments.
11674 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11675 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11676 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11678 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11679 about bounded pointers. Remove GKM FIXME comment.
11680 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11682 (strncmp): Don't use BP_SYM. Remove comment about bounded
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11685 <bp-sym.h> and <bp-asm.h>.
11686 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11688 <bp-sym.h> and <bp-asm.h>.
11689 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11692 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11694 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11697 2013-03-05 David S. Miller <davem@davemloft.net>
11699 * po/es.po: Update from translation team.
11701 2013-03-05 Andreas Jaeger <aj@suse.de>
11703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11704 <bits/mman-linux.h>.
11705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11708 <bits/mman-linux.h> to end of file.
11709 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11711 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11712 <bits/mman-linux.h> to end of file.
11713 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11715 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11716 <bits/mman-linux.h> to end of file.
11718 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11719 (MCL_CURRENT, MCL_FUTURE): Define here.
11721 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11726 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11728 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11730 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11731 fourth parameter needed for rt_sigprocmask syscall.
11732 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11733 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11736 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11737 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11739 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11743 comment about bounded pointers.
11744 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11745 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11747 2013-03-04 Andreas Jaeger <aj@suse.de>
11749 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11750 common definitions.
11752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11753 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11754 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11755 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11756 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11759 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11762 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11763 __ieee754_sqrl instead of __sqrl.
11765 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11767 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11768 * sysdeps/powerpc/fpu_control.h: ... here.
11769 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11770 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11771 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11772 * sysdeps/powerpc/bits/mathinline.h: ... here.
11774 2013-03-01 Roland McGrath <roland@hack.frob.com>
11776 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11777 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11778 to just [NEED_DL_SYSINFO_DSO].
11779 * elf/dl-support.c: Likewise.
11780 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11781 * elf/rtld.c (dl_main): Likewise.
11782 * elf/setup-vdso.h (setup_vdso): Likewise.
11783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11784 * sysdeps/unix/sysv/linux/dl-sysdep.c
11785 (_dl_discover_osversion): Likewise.
11787 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11789 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11790 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11792 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11794 * NEWS: Mention libm performance improvements and non-x86 PI
11797 * csu/libc-start.c (__pthread_initialize_minimal): Change
11798 function arguments.
11799 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11801 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11804 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11805 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11806 <bp-sym.h> and <bp-asm.h>.
11807 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11808 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11810 (memcpy): Don't use BP_SYM.
11811 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11813 (__mpn_add_n): Don't use BP_SYM.
11814 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11815 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11817 (__mpn_addmul_1): Don't use BP_SYM.
11818 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11821 (_setjmp): Don't use BP_SYM.
11822 (__novmx_setjmp): Likewise.
11823 (__GI__setjmp): Likewise.
11824 (__vmx_setjmp): Likewise.
11825 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11827 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11828 (__bzero): Don't use BP_SYM.
11829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11831 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11832 <bp-sym.h> and <bp-asm.h>.
11833 (memcpy): Don't use BP_SYM.
11834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11837 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11838 <bp-sym.h> and <bp-asm.h>.
11839 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11840 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11842 (__mpn_lshift): Don't use BP_SYM.
11843 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11844 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11846 (memset): Don't use BP_SYM.
11847 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11848 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11849 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11851 (__mpn_mul_1): Don't use BP_SYM.
11852 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11854 <bp-sym.h> and <bp-asm.h>.
11855 (memcmp): Don't use BP_SYM.
11856 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11857 <bp-sym.h> and <bp-asm.h>.
11858 (memcpy): Don't use BP_SYM.
11859 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11860 <bp-sym.h> and <bp-asm.h>.
11861 (memset): Don't use BP_SYM.
11862 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11863 <bp-sym.h> and <bp-asm.h>.
11864 (strncmp): Don't use BP_SYM.
11865 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11866 <bp-sym.h> and <bp-asm.h>.
11867 (memcpy): Don't use BP_SYM.
11868 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11869 <bp-sym.h> and <bp-asm.h>.
11870 (memset): Don't use BP_SYM.
11871 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11872 <bp-sym.h> and <bp-asm.h>.
11873 (__memchr): Don't use BP_SYM.
11874 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11875 <bp-sym.h> and <bp-asm.h>.
11876 (memcmp): Don't use BP_SYM.
11877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11878 <bp-sym.h> and <bp-asm.h>.
11879 (memcpy): Don't use BP_SYM.
11880 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11881 <bp-sym.h> and <bp-asm.h>.
11882 (__mempcpy): Don't use BP_SYM.
11883 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11884 <bp-sym.h> and <bp-asm.h>.
11885 (__memrchr): Don't use BP_SYM.
11886 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11887 <bp-sym.h> and <bp-asm.h>.
11888 (memset): Don't use BP_SYM.
11889 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11890 <bp-sym.h> and <bp-asm.h>.
11891 (__rawmemchr): Don't use BP_SYM.
11892 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11893 <bp-sym.h> and <bp-asm.h>.
11894 (__STRCMP): Don't use BP_SYM.
11895 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11896 <bp-sym.h> and <bp-asm.h>.
11897 (strchr): Don't use BP_SYM.
11898 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11899 <bp-sym.h> and <bp-asm.h>.
11900 (__strchrnul): Don't use BP_SYM.
11901 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11902 <bp-sym.h> and <bp-asm.h>.
11903 (strlen): Don't use BP_SYM.
11904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11905 <bp-sym.h> and <bp-asm.h>.
11906 (strncmp): Don't use BP_SYM.
11907 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11908 <bp-sym.h> and <bp-asm.h>.
11909 (__strnlen): Don't use BP_SYM.
11910 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11912 (__mpn_rshift): Don't use BP_SYM.
11913 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11914 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (__sigsetjmp): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11918 (L(start_addresses)): Don't use BP_SYM.
11919 (_start): Likewise.
11920 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11922 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11923 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11924 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11925 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11927 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11928 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11929 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11930 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11932 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11934 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11935 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11937 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11939 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11940 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11941 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11943 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11945 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11947 (strncmp): Don't use BP_SYM,
11948 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11950 (__mpn_sub_n): Don't use BP_SYM.
11951 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11952 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11954 (__mpn_submul_1): Don't use BP_SYM.
11955 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11957 <bp-sym.h> and <bp-asm.h>.
11958 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11960 <bp-sym.h> and <bp-asm.h>.
11961 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11964 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11967 Use ZK to minimize writes to Z.
11968 (sub_magnitudes): Simplify code a bit.
11969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11970 Use ZK to minimize writes to Z.
11971 (sub_magnitudes): Simplify code a bit.
11973 2013-02-27 Roland McGrath <roland@hack.frob.com>
11975 * csu/gmon-start.c: Add special exception to license text.
11977 2013-02-27 Richard Henderson <rth@redhat.com>
11979 * scripts/config.guess: Update from config.git.
11980 * scripts/config.sub: Likewise.
11982 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11984 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11986 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11988 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11990 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11992 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11994 2013-02-26 Roland McGrath <roland@hack.frob.com>
11996 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11997 [$(build-shared = yes].
11999 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12001 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12002 (__mul): Reduce iterations for calculating mantissa.
12004 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12006 (__mpranred): Likewise.
12009 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12010 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12012 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12014 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12015 Define __attribute__.
12017 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12019 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12021 * posix/regex_internal.h (__attribute): Remove.
12022 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12023 (re_string_context_at): Likewise.
12024 (bitset_not): Use __attribute__ and mark function as possibly
12026 (bitset_merge): Likewise.
12027 (bitset_mask): Likewise.
12028 (re_string_char_size_at): Likewise.
12029 (re_string_wchar_at): Likewise.
12030 (re_string_elem_size_at): Likewise.
12032 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12034 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12038 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12042 (denorm): Likewise.
12043 (__dbl_mp): Likewise.
12044 (add_magnitudes): Likewise.
12045 (sub_magnitudes): Likewise.
12049 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12052 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12055 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12059 up changes with default code.
12060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12063 2013-02-24 Allan McRae <allan@archlinux.org>
12065 * manual/socket.texi (The Internet Namespace): Order menu items
12066 to match that in the file.
12068 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12069 node listing of the info page menu.
12071 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12074 * sysdeps/i386/bp-asm.h: Remove file.
12075 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12076 (PARMS): Do not use macros from bp-asm.h.
12080 (__mpn_add_n): Do not use BP_SYM
12081 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12083 (PARMS): Do not use macros from bp-asm.h.
12086 (__mpn_addmul_1): Do not use BP_SYM
12087 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12089 (PARMS): Do not use macros from bp-asm.h.
12090 (SIGMSK): Likewise.
12091 (_setjmp): Likewise. Do not use BP_SYM.
12092 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12094 (PARMS): Do not use macros from bp-asm.h.
12095 (SIGMSK): Likewise.
12096 (setjmp): Likewise. Do not use BP_SYM.
12097 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12099 (PARMS): Do not use macros from bp-asm.h.
12100 (__frexp): Do not use BP_SYM.
12102 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12104 (PARMS): Do not use macros from bp-asm.h.
12105 (__frexpf): Do not use BP_SYM.
12106 (frexpf): Likewise.
12107 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12109 (PARMS): Do not use macros from bp-asm.h.
12110 (__frexpl): Do not use BP_SYM.
12111 (frexpl): Likewise.
12112 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12114 (PARMS): Do not use macros from bp-asm.h.
12115 (__remquo): Do not use BP_SYM.
12116 (remquo): Likewise.
12117 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12119 (PARMS): Do not use macros from bp-asm.h.
12120 (__remquof): Do not use BP_SYM.
12121 (remquof): Likewise.
12122 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12124 (PARMS): Do not use macros from bp-asm.h.
12125 (__remquol): Do not use BP_SYM.
12126 (remquol): Likewise.
12127 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12129 (PARMS): Do not use macros from bp-asm.h.
12132 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12133 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12135 (PARMS): Do not use macros from bp-asm.h.
12136 (strlen): Do not use BP_SYM.
12137 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12139 (PARMS): Do not use macros from bp-asm.h.
12143 (__mpn_add_n): Do not use BP_SYM.
12144 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12146 (PARMS): Do not use macros from bp-asm.h.
12149 (__mpn_addmul_1): Do not use BP_SYM.
12150 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12153 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12155 (PARMS): Do not use macros from bp-asm.h.
12158 (__mpn_lshift): Do not use BP_SYM.
12159 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12161 (PARMS): Do not use macros from bp-asm.h.
12165 (memcpy): Likewise. Do not use BP_SYM.
12166 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12167 libc_hidden_def and weak_alias.
12168 (mempcpy): Do not use BP_SYM in weak_alias.
12169 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12171 (PARMS): Do not use macros from bp-asm.h.
12174 [!BZERO_P] (CHR): Likewise.
12175 (memset): Likewise. Do not use BP_SYM.
12176 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12178 (PARMS): Do not use macros from bp-asm.h.
12181 (__mpn_mul_1): Do not use BP_SYM.
12182 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12184 (PARMS): Do not use macros from bp-asm.h.
12187 (__mpn_rshift): Do not use BP_SYM.
12188 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12190 (PARMS): Do not use macros from bp-asm.h.
12193 (strchr): Likewise. Do not use BP_SYM.
12194 (index): Do not use BP_SYM in weak_alias.
12195 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12197 (PARMS): Do not use macros from bp-asm.h.
12200 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12201 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12203 (PARMS): Do not use macros from bp-asm.h.
12204 (strlen): Do not use BP_SYM.
12205 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12207 (PARMS): Do not use macros from bp-asm.h.
12211 (__mpn_sub_n): Do not use BP_SYM.
12212 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12214 (PARMS): Do not use macros from bp-asm.h.
12217 (__mpn_submul_1): Do not use BP_SYM.
12218 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12220 (PARMS): Do not use macros from bp-asm.h.
12224 (__mpn_add_n): Do not use BP_SYM.
12225 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12228 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12230 (PARMS): Do not use macros from bp-asm.h.
12233 (memcmp): Do not use BP_SYM.
12234 (bcmp): Do not use BP_SYM in weak_alias.
12235 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12237 (PARMS): Do not use macros from bp-asm.h.
12241 (memcpy): Likewise. Do not use BP_SYM.
12242 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12244 (PARMS): Do not use macros from bp-asm.h.
12248 (memmove): Likewise. Do not use BP_SYM.
12249 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12251 (PARMS): Do not use macros from bp-asm.h.
12255 (__mempcpy): Likewise. Do not use BP_SYM.
12256 (mempcpy): Do not use BP_SYM in weak_alias.
12257 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12259 (PARMS): Do not use macros from bp-asm.h.
12262 [!BZERO_P] (CHR): Likewise.
12263 (memset): Likewise. Do not use BP_SYM.
12264 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12266 (PARMS): Do not use macros from bp-asm.h.
12268 (strcmp): Do not use BP_SYM.
12269 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12271 (PARMS): Do not use macros from bp-asm.h.
12274 [USE_AS_STRTOK_R] (SAVE): Likewise.
12275 (FUNCTION): Likewise. Do not use BP_SYM.
12276 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12278 (strtok_r): Likewise.
12279 (__GI___strtok_r): Likewise.
12280 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12281 (PARMS): Do not use macros from bp-asm.h.
12284 (__mpn_lshift): Do not use BP_SYM.
12285 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12286 (PARMS): Do not use macros from bp-asm.h.
12289 (__memchr): Do not use BP_SYM.
12290 (memchr): Do not use BP_SYM in weak_alias.
12291 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12292 (PARMS): Do not use macros from bp-asm.h.
12295 (memcmp): Do not use BP_SYM.
12296 (bcmp): Do not use BP_SYM in weak_alias.
12297 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12298 (PARMS): Do not use macros from bp-asm.h.
12301 (__mpn_mul_1): Do not use BP_SYM.
12302 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12304 (PARMS): Do not use macros from bp-asm.h.
12307 (__rawmemchr): Do not use BP_SYM.
12308 (rawmemchr): Do not use BP_SYM in weak_alias.
12309 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12310 (PARMS): Do not use macros from bp-asm.h.
12313 (__mpn_rshift): Do not use BP_SYM.
12314 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12315 (PARMS): Do not use macros from bp-asm.h.
12316 (SIGMSK): Likewise.
12317 (__sigsetjmp): Likewise. Do not use BP_SYM.
12318 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12319 (_start): Do not use BP_SYM.
12320 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12324 (__stpcpy): Likewise. Do not use BP_SYM.
12325 (stpcpy): Do not use BP_SYM in weak_alias.
12326 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12328 (PARMS): Do not use macros from bp-asm.h.
12332 (__stpncpy): Likewise. Do not use BP_SYM.
12333 (stpncpy): Do not use BP_SYM in weak_alias.
12334 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12335 (PARMS): Do not use macros from bp-asm.h.
12338 (strchr): Likewise. Do not use BP_SYM.
12339 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12341 (PARMS): Do not use macros from bp-asm.h.
12344 (__strchrnul): Likewise. Do not use BP_SYM.
12345 (strchrnul): Do not use BP_SYM in weak_alias.
12346 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12348 (PARMS): Do not use macros from bp-asm.h.
12350 (strcspn): Do not use BP_SYM.
12351 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12353 (PARMS): Do not use macros from bp-asm.h.
12356 (strpbrk): Likewise. Do not use BP_SYM.
12357 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12359 (PARMS): Do not use macros from bp-asm.h.
12362 (strrchr): Likewise. Do not use BP_SYM.
12363 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12364 (PARMS): Do not use macros from bp-asm.h.
12366 (strspn): Do not use BP_SYM.
12367 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12368 (PARMS): Do not use macros from bp-asm.h.
12372 (FUNCTION): Likewise. Do not use BP_SYM.
12373 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12375 (strtok_r): Likewise.
12376 (__GI___strtok_r): Likewise.
12377 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12378 (PARMS): Do not use macros from bp-asm.h.
12382 (__mpn_sub_n): Do not use BP_SYM.
12383 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12385 (PARMS): Do not use macros from bp-asm.h.
12388 (__mpn_submul_1): Do not use BP_SYM.
12389 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12391 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12393 (PARMS): Do not use macros from bp-asm.h.
12398 (__clone): Do not use BP_SYM.
12399 (clone): Do not use BP_SYM in weak_alias.
12400 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12402 (PARMS): Do not use macros from bp-asm.h.
12404 (__mmap64): Do not use BP_SYM.
12405 (mmap64): Do not use BP_SYM in weak_alias.
12406 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12407 <bp-sym.h> and <bp-asm.h>.
12408 (PARMS): Do not use macros from bp-asm.h.
12409 (__posix_fadvise64_l64): Do not use BP_SYM.
12410 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12411 (PARMS): Do not use macros from bp-asm.h.
12413 (semtimedop): Do not use BP_SYM.
12414 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12417 2013-02-21 Allan McRae <allan@archlinux.org>
12419 * manual/message.texi (Charset conversion in gettext):
12420 Move @end statement to beginning of line.
12422 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12429 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12430 (denorm): Likewise.
12431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12434 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12436 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12437 tail-call to the resolved function if pltexit isn't needed.
12439 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12442 or Y being zero as being unlikely.
12443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12446 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12448 * manual/nss.texi (System Databases and Name Service Switch):
12449 Remove frobnicate @pxref.
12451 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12453 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12454 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12456 2013-02-20 Petr Machata <pmachata@redhat.com>
12458 * elf/elf.h (R_ARM_TARGET1): New macro.
12459 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12460 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12461 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12462 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12463 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12464 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12465 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12466 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12467 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12468 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12469 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12470 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12471 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12472 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12473 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12474 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12475 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12476 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12477 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12478 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12479 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12480 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12481 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12482 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12483 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12484 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12485 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12486 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12487 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12488 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12489 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12490 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12491 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12492 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12493 (R_ARM_THM_GOT_BREL12): Likewise.
12494 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12495 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12496 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12497 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12498 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12499 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12500 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12501 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12502 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12504 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12506 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12507 __attribute_used__ to __attribute__ ((unused)).
12509 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12514 comment formatting.
12515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12517 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12520 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12522 (ENTER): Remove both macro definitions.
12524 (CHECK_BOUNDS_LOW): Likewise.
12525 (CHECK_BOUNDS_HIGH): Likewise.
12526 (CHECK_BOUNDS_BOTH): Likewise.
12527 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12528 (RETURN_BOUNDED_POINTER): Likewise.
12529 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12530 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12531 (POP_ERRNO_LOCATION_RETURN): Likewise.
12532 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12533 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12534 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12536 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12537 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12538 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12539 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12540 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12541 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12542 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12543 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12544 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12545 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12546 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12547 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12548 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12549 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12551 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12552 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12554 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12555 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12556 * sysdeps/i386/i586/memset.S (memset): Likewise.
12557 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12559 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12561 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12562 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12563 Change uses of L(2) to L(out).
12564 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12565 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12566 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12567 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12570 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12571 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12573 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12575 (RETURN): Do not use macro LEAVE.
12576 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12577 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12578 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12579 * sysdeps/i386/i686/memset.S (memset): Likewise.
12580 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12581 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12582 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12583 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12585 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12586 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12587 L(1_2) and L(1_3) into L(1).
12588 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12589 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12590 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12591 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12592 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12593 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12594 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12595 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12596 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12598 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12599 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12600 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12601 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12602 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12603 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12604 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12605 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12606 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12607 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12608 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12609 * sysdeps/i386/strspn.S (strspn): Likewise.
12610 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12612 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12613 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12614 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12615 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12616 L(1_3) into L(1_1).
12617 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12618 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12619 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12621 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12623 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12625 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12628 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12630 * math/atest-exp.c (exp_mpn): Remove ROUND.
12631 * math/atest-exp2.c (exp_mpn): Likewise.
12632 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12634 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12635 * stdlib/tst-tls-atexit-lib.c: Likewise.
12636 * stdlib/tst-tls-atexit.c: Likewise.
12638 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12640 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12641 and __attribute_alloc_size__.
12643 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12645 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12646 __attribute_alloc_size__.
12647 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12648 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12650 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12652 * include/programs/xmalloc.h: New file.
12653 * catgets/gencat.c: Include it.
12654 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12655 * elf/pldd.c: Likewise.
12656 * iconv/iconv_charmap.c: Likewise.
12657 * iconv/iconvconfig.c: Likewise.
12658 * iconv/strtab.c: Likewise.
12659 * locale/programs/locale.c: Likewise.
12660 * locale/programs/localedef.h: Likewise.
12661 * locale/programs/simple-hash.c: Likewise.
12662 * nscd/nscd.h: Likewise.
12663 * nss/makedb.c: Likewise.
12664 * sysdeps/generic/ldconfig.h: Likewise.
12666 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12668 * Versions.def: Add GLIBC_2.18.
12669 * include/link.h (struct link_map): New member l_tls_dtor_count.
12670 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12671 (__call_tls_dtors): Likewise.
12672 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12673 __cxa_thread_atexit_impl.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12690 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12691 (tests): Add test case tst-tls-atexit.
12692 (modules-names): Add shared library for tst-tls-atexit.
12693 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12694 (GLIBC_PRIVATE): Add __call_tls_dtors.
12695 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12697 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12698 * stdlib/tst-tls-atexit.c: New test case.
12699 * stdlib/tst-tls-atexit-lib.c: New test case.
12701 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12703 * elf/Versions (ld): Add _dl_find_dso_for_object.
12704 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12705 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12706 (dl_open_worker): Use _dl_find_dso_for_object.
12707 * elf/dl-sym.c (do_sym): Likewise.
12708 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12710 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12712 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12713 Syntactic changes only.
12714 (_dl_runtime_profile): Do a tail-call to the resolved function.
12716 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/x86_64/bp-asm.h: Remove file.
12720 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12721 <bp-sym.h> and <bp-asm.h>.
12722 (__clone): Do not use BP_SYM.
12723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12724 <bp-sym.h> and <bp-asm.h>.
12725 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12726 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12728 (_setjmp): Do not use BP_SYM.
12729 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12731 (setjmp): Do not use BP_SYM.
12732 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12734 (mempcpy): Do not use BP_SYM in weak_alias.
12735 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12737 (strchr): Do not use BP_SYM.
12738 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12740 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12741 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12742 (_start): Do not use BP_SYM.
12743 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12745 (strcat): Do not use BP_SYM.
12746 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12748 (STRCMP): Do not use BP_SYM.
12749 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12751 (STRCPY): Do not use BP_SYM.
12752 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12754 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12756 (FUNCTION): Do not use BP_SYM.
12757 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12759 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12761 2013-02-17 Andreas Jaeger <aj@suse.de>
12763 * time/Versions: Sort entries.
12764 * string/Versions: Likewise.
12765 * resolv/Versions: Likewise.
12766 * posix/Versions: Likewise.
12767 * iconv/Versions: Likewise.
12768 * elf/Versions: Likewise.
12769 * wcsmbs/Versions: Likewise.
12771 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12773 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12774 loop termination condition.
12776 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12777 variable to calculate EZ.
12780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12781 the lower precision input.
12783 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12786 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12787 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12788 (run-via-rtld-prefix): Do not handle %-bp tests.
12789 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12790 (all-object-suffixes): Remove .ob.
12791 (bppfx): Remove variable.
12792 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12793 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12794 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12795 [$(build-bounded) = yes] (libtype.ob): Likewise.
12796 * Makerules (elide-routines.ob): Remove variable.
12797 (do-tests-clean): Do not handle *-bp.out.
12798 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12799 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12800 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12801 (tests): Do not include $(tests-bp.out).
12802 (xtests): Do not include $(xtests-bp.out).
12803 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12804 [$(build-bounded) = yes] ($(addprefix
12805 $(objpfx),$(binaries-bounded))): Remove rule.
12806 ($(objpfx)%-bp.out): Remove rule.
12807 * config.make.in (build-bounded): Remove variable.
12808 * crypt/Makefile [$(build-bounded) = yes]
12809 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12810 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12811 append to variable.
12812 [$(build-bounded) = yes] (install-lib): Likewise.
12813 [$(build-bounded) = yes] (generated): Likewise.
12814 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12816 * intl/Makefile [$(build-bounded) = yes]
12817 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12818 * math/Makefile [$(build-bounded) = yes]
12819 ($(tests:%=$(objpfx)%-bp): Likewise.
12820 * misc/Makefile [$(build-bounded) = yes]
12821 ($(objpfx)tst-tsearch-bp): Likewise.
12822 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12823 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12825 * string/Makefile (o-objects.ob): Remove variable.
12826 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12827 (CFLAGS-.ob): Remove variable.
12828 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12829 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12830 both definitions of variable.
12831 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12832 (ASFLAGS-.ob): Remove variable.
12834 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12837 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12838 Remove __BOUNDED_POINTERS__ from condition.
12839 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12840 * string/bits/string2.h [!__NO_STRING_INLINES &&
12841 !__BOUNDED_POINTERS__]: Likewise.
12842 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12844 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12845 Remove conditional code.
12846 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12847 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12848 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12852 * csu/libc-start.c: Do not include <bp-sym.h>.
12853 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12854 * elf/dl-open.c: Do not include <bp-sym.h>.
12855 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12856 * math/fegetenv.c: Do not include <bp-sym.h>.
12857 (fegetenv): Do not use BP_SYM in versioned symbols.
12858 * nptl/sysdeps/pthread/bits/libc-lockP.h
12859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12862 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12864 (__pthread_mutex_destroy): Likewise.
12865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12866 (__pthread_mutex_lock): Likewise.
12867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12868 (__pthread_mutex_trylock): Likewise.
12869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12870 (__pthread_mutex_unlock): Likewise.
12871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12872 (__pthread_mutexattr_init): Likewise.
12873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12874 (__pthread_mutexattr_destroy): Likewise.
12875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12876 (__pthread_mutexattr_settype): Likewise.
12877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12878 (__pthread_rwlock_init): Likewise.
12879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12880 (__pthread_rwlock_destroy): Likewise.
12881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12882 (__pthread_rwlock_rdlock): Likewise.
12883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12884 (__pthread_rwlock_tryrdlock): Likewise.
12885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12886 (__pthread_rwlock_wrlock): Likewise.
12887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12888 (__pthread_rwlock_trywrlock): Likewise.
12889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12890 (__pthread_rwlock_unlock): Likewise.
12891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12892 (__pthread_key_create): Likewise.
12893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12894 (__pthread_setspecific): Likewise.
12895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12896 (__pthread_getspecific): Likewise.
12897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12900 (_pthread_cleanup_push_defer): Likewise.
12901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12902 (_pthread_cleanup_pop_restore): Likewise.
12903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12904 (pthread_setcancelstate): Likewise.
12905 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12907 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12908 (memchr): Do not use BP_SYM in weak_alias.
12909 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12910 (fegetenv): Do not use BP_SYM in versioned symbols.
12911 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12912 (fesetenv): Do not use BP_SYM in versioned symbols.
12913 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12914 (feupdateenv): Do not use BP_SYM in versioned symbols.
12915 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12916 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12917 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12918 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12919 (open64): Do not use BP_SYM in weak_alias.
12920 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12921 (fegetenv): Do not use BP_SYM in versioned symbols.
12922 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12923 (fesetenv): Do not use BP_SYM in versioned symbols.
12924 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12925 (feupdateenv): Do not use BP_SYM in versioned symbols.
12926 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12927 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12928 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12929 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12930 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12931 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12932 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12934 (__libc_start_main): Do not use BP_SYM.
12936 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12939 redundant return line.
12941 (denorm): Likewise.
12942 (dbl_mp): Likewise.
12943 (sub_magnitudes): Likewise.
12949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12951 (denorm): Likewise.
12952 (dbl_mp): Likewise.
12953 (sub_magnitudes): Likewise.
12960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12962 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12963 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12966 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12967 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12969 of __mul for squares.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12974 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12975 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12977 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12980 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12982 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12983 prototype or function definition. Rename ubp_* variables and
12984 parameters. Remove argv definitions conditional on
12985 [__BOUNDED_POINTERS__].
12986 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12987 * elf/dl-runtime.c (_dl_fixup): Likewise.
12988 * include/set-hooks.h (RUN_HOOK): Likewise.
12989 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12991 * string/strcpy.c (strcpy): Do not use __unbounded.
12992 * sysdeps/generic/frame.h (struct layout): Likewise.
12993 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12994 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12995 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12996 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12997 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12998 (__backtrace): Likewise.
12999 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13001 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13002 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13003 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13005 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13006 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13007 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13008 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13009 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13010 Do not use __unbounded.
13011 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13012 Rename __unboundedrlimits parameter to rlimits in prototype.
13013 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13014 Do not use __unbounded.
13015 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13016 not use __ptrvalue.
13017 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13018 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13019 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13020 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13021 __ptrvalue or __unbounded.
13022 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13023 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13025 (__new_msgctl): Do not use __ptrvalue.
13026 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13028 (__libc_msgrcv): Do not use __ptrvalue.
13029 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13030 startup_info): Do not use __unbounded.
13031 (__libc_start_main): Likewise. Rename ubp_* variables and
13032 parameters. Remove argv definitions conditional on
13033 [__BOUNDED_POINTERS__].
13034 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13036 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13038 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13040 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13042 (__new_shmctl): Do not use __ptrvalue.
13043 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13044 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13046 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13048 (__libc_sigaction): Likewise.
13049 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13050 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13052 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13054 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13056 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13058 * string/mempcpy.c: Implement by calling memcpy.
13060 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13068 values in the mantissa.
13070 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13071 minimize writes to Z.
13072 (sub_magnitudes): Simplify code a bit.
13074 2013-02-12 Roland McGrath <roland@hack.frob.com>
13076 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13077 from the message. The linker prefixes all warnings with that already.
13079 2013-02-12 Andreas Schwab <schwab@suse.de>
13082 * posix/regexec.c (extend_buffers): Add parameter min_len.
13083 (check_matching): Pass minimum needed length.
13084 (clean_state_log_if_needed): Likewise.
13085 (get_subexp): Likewise.
13086 * posix/Makefile (tests): Add bug-regex34.
13087 (bug-regex34-ENV): Define.
13088 * posix/bug-regex34.c: New file.
13091 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13092 elements compare against the byte sequence of it, not its name.
13093 * posix/Makefile (tests): Add bug-regex35.
13094 (bug-regex35-ENV): Define.
13095 * posix/bug-regex35.c: New file.
13097 2013-02-11 Tom de Vries <tom@codesourcery.com>
13099 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13101 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13102 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13103 (CHECK_EOL): Add undef.
13105 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13107 * bits/stdlib-bsearch.h: New file.
13108 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13109 * stdlib/stdlib.h: Likewise.
13111 2013-02-11 Roland McGrath <roland@hack.frob.com>
13113 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13114 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13116 * manual/search.texi (Array Search Function): Add missing const in
13118 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13119 declaration to use rlim_t.
13120 (Basic Scheduling Functions): Remove erroneous const from
13121 sched_getparam prototype. Remove erroneous * from
13122 sched_get_priority_max and sched_get_priority_min prototypes.
13123 (Resource Usage): Fix summary @comment on vtimes to refer to
13124 sys/vtimes.h rather than vtimes.h.
13125 Add missing *s in vtimes prototype.
13126 (Limits on Resources): Fix ulimit prototype to return long int.
13127 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13128 prototypes to use long int rather than double.
13129 (BSD Random): Fix initstate and setstate to use char *, not void *.
13130 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13131 prototype to make second argument 'struct aiocb64 *const[]'.
13132 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13133 (Status of AIO Operations): Remove erroneous const in aio_return and
13134 aio_return64 prototypes.
13135 (Synchronizing I/O): Fix sync prototype to return void.
13136 * manual/startup.texi (Suboptions): Remove an erroneous const in
13137 getsubopt prototype.
13138 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13139 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13140 use size_t rather than int.
13141 (Scanning All Users): Likewise for getpwent_r.
13142 (Setting Groups): Add missing const to setgroups prototype.
13143 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13144 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13145 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13146 'const void *' rather than 'const char *'.
13147 (Host Address Functions): Likewise for inet_ntop.
13148 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13149 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13150 ssize_t for return value.
13151 (Sending Data): Likewise for send, sendto, sendmsg.
13152 (Socket Option Functions): Add a missing const in setsockopt prototype.
13153 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13154 use wchar_t for the argument.
13155 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13156 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13158 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13159 double/float/long double for second argument.
13160 Fix return types of significand, significandf, significandl.
13161 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13162 argument in fchmod prototype.
13163 (File Owner): Use uid_t and gid_t in fchown prototype.
13164 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13165 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13166 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13167 use 'const struct dirent **' as argument types to CMP function pointer
13169 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13170 (File Times): Fix summary magic @comment for struct utimbuf and utime
13171 to refer to utime.h, not time.h.
13172 * manual/string.texi (Argz Functions): Add missing const in
13173 argz_extract and argz_next prototypes.
13174 (Finding Tokens in a String): Likewise for basename.
13175 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13176 (Copying and Concatenation): Fix typo in wmemmove prototype.
13177 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13178 (Signal Stack): Remove erroneous const in sigstack prototype.
13179 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13181 (Simple Calendar Time): Likewise for stime.
13182 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13184 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13185 say sys/sysctl.h instead.
13186 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13187 and vsyslog prototypes.
13189 2013-02-11 Tom de Vries <tom@codesourcery.com>
13191 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13194 2013-02-11 Roland McGrath <roland@hack.frob.com>
13196 * misc/sys/mman.h: Fix typo in mremap comment.
13198 2013-02-08 Roland McGrath <roland@hack.frob.com>
13200 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13201 the '\0' terminator.
13203 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13206 * debug/segfault.c: Don't include <bp-checks.h>.
13207 * sysdeps/generic/bp-checks.h: Remove file.
13208 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13209 (__GETDENTS): Don't use CHECK_N.
13210 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13211 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13212 (__getgroups): Don't use CHECK_N.
13213 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13214 (setgroups): Don't use CHECK_N.
13215 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13216 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13217 (__libc_msgrcv): Don't use CHECK_N.
13218 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13219 (__libc_msgsnd): Don't use CHECK_N.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13222 (__libc_pread): Don't use CHECK_N.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13224 include <bp-checks.h>.
13225 (__libc_pread64): Don't use CHECK_N.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13227 include <bp-checks.h>.
13228 (__libc_pwrite): Don't use CHECK_N.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13230 include <bp-checks.h>.
13231 (__libc_pwrite64): Don't use CHECK_N.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13234 (__libc_pread): Don't use CHECK_N.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13236 include <bp-checks.h>.
13237 (__libc_pread64): Don't use CHECK_N.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13239 include <bp-checks.h>.
13240 (__libc_pwrite): Don't use CHECK_N.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13242 include <bp-checks.h>.
13243 (__libc_pwrite64): Don't use CHECK_N.
13244 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13245 (do_pread): Don't use CHECK_N.
13246 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13247 (do_pread64): Don't use CHECK_N.
13248 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13249 (do_pwrite): Don't use CHECK_N.
13250 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13251 (do_pwrite64): Don't use CHECK_N.
13252 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13253 (__libc_readv): Don't use CHECK_N.
13254 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13255 (semop): Don't use CHECK_N.
13256 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13258 (semtimedop): Don't use CHECK_N.
13259 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13260 (__libc_pread): Don't use CHECK_N.
13261 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13263 (__libc_pread64): Don't use CHECK_N.
13264 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13266 (__libc_pwrite): Don't use CHECK_N.
13267 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13269 (__libc_pwrite64): Don't use CHECK_N.
13270 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13272 (__libc_msgrcv): Don't use CHECK_N.
13273 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13274 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13275 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13276 (__libc_writev): Don't use CHECK_N.
13278 2013-02-08 Roland McGrath <roland@hack.frob.com>
13280 * string/strcpy.c: Removed unused variable.
13282 * Makeconfig (+sysdep-includes): Define with := rather than =.
13283 Use an existing include/ subdir of each sysdeps dir before it.
13285 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13287 * nscd/connection.c (register_traced_file): Comment function.
13288 [HAVE_INOTIFY] (union __inev): Define.
13289 [HAVE_INOTIFY] (inotify_check_files): New function.
13290 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13291 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13293 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13295 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13297 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13298 loaded if not already and that a failure is permanent.
13300 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13303 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13304 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13306 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13309 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13310 (CHECK_1_NULL_OK): Likewise.
13311 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13312 (__fxstat): Do not use CHECK_1.
13313 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13315 (___fxstat64): Do not use CHECK_1.
13316 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13318 (__fxstatat): Do not use CHECK_1.
13319 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13321 (__fxstatat64): Do not use CHECK_1.
13322 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13324 (__fxstat): Do not use CHECK_1.
13325 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13327 (__fxstatat): Do not use CHECK_1.
13328 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13330 (__getresgid): Do not use CHECK_1.
13331 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13333 (__getresuid): Do not use CHECK_1.
13334 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13336 (__lxstat): Do not use CHECK_1.
13337 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13339 (__old_msgctl): Do not use CHECK_1.
13340 (__new_msgctl): Likewise.
13341 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13343 (__new_setrlimit): Do not use CHECK_1.
13344 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13346 (__old_shmctl): Do not use CHECK_1.
13347 (__new_shmctl): Likewise.
13348 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13350 (__xstat): Do not use CHECK_1.
13351 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13352 (__lxstat): Do not use CHECK_1.
13353 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13355 (___lxstat64): Do not use CHECK_1.
13356 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13357 (__old_msgctl): Do not use CHECK_1.
13358 (__new_msgctl): Likewise.
13359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13361 (__gettimeofday): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13363 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13366 (__gettimeofday): Do not use CHECK_1.
13367 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13368 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13369 (__new_shmctl): Do not use CHECK_1.
13370 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13372 (do_sigtimedwait): Do not use CHECK_1.
13373 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13375 (do_sigwaitinfo): Do not use CHECK_1.
13376 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13378 (msgctl): Do not use CHECK_1.
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13381 (shmctl): Do not use CHECK_1.
13382 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13383 (ustat): Do not use CHECK_1.
13384 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13386 (__fxstat): Do not use CHECK_1.
13387 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13389 (__fxstatat): Do not use CHECK_1.
13390 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13392 (__lxstat): Do not use CHECK_1.
13393 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13395 (__xstat): Do not use CHECK_1.
13396 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13397 (__xstat): Do not use CHECK_1.
13398 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13399 (___xstat64): Do not use CHECK_1.
13402 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13404 (CHECK_BOUNDS_HIGH): Likewise.
13405 * string/strcpy.c: Do not include <bp-checks.h>.
13406 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13408 2013-02-07 Roland McGrath <roland@hack.frob.com>
13410 * nscd/nscd-client.h (__nscd_drop_map_ref):
13411 Add __attribute__ ((unused)).
13412 * nis/nss-nisplus.h (niserr2nss): Likewise.
13414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13415 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13417 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13418 Remove inline keyword.
13419 * include/rounding-mode.h (round_away): Likewise.
13420 * libio/wfileops.c (adjust_wide_data): Likewise.
13421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13422 (__m128i_strloadu_tolower): Likewise.
13423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13424 (__m128i_strloadu_tolower): Likewise.
13425 * time/mktime.c (ydhms_diff): Likewise.
13426 * locale/elem-hash.h (elem_hash): Likewise.
13427 * locale/setlocale.c (setdata): Likewise.
13428 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13429 (re_string_wchar_at): Likewise.
13430 (bitset_not, bitset_merge, bitset_mask): Likewise.
13431 [!(__GNUC__ > 3)] (inline): Remove macro.
13432 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13433 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13434 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13435 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13436 * string/memcmp.c (memcmp_bytes): Likewise.
13437 * locale/programs/locarchive.c (compute_hashval): Likewise.
13438 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13439 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13440 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13441 * nss/getent.c (print_rpc, print_protocols): Likewise.
13442 (print_passwd, print_group, print_aliases): Likewise.
13443 * nis/nss-nisplus.h (niserr2nss): Likewise.
13444 * nscd/connections.c (restart_p): Likewise.
13445 Change return type to bool.
13447 2013-02-05 Roland McGrath <roland@hack.frob.com>
13449 * Makeconfig (all-Depend-files): Add existing
13450 $(sorted-subdirs:=/Depend) files.
13451 (all-subdirs): Remove nss.
13452 * sysdeps/unix/inet/Subdirs: Add it here instead.
13453 * hesiod/Depend: New file.
13455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13456 instead of calling alloca.
13458 * io/lseek.c (__lseek): Rename to __libc_lseek.
13459 Define __lseek as an alias.
13461 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13463 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13465 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13466 else clause and remove check for non-standard endianness.
13468 2013-02-04 David S. Miller <davem@davemloft.net>
13470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13472 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13475 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13476 (__ubp_memchr): Remove prototype.
13477 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13478 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13479 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13480 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13481 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13483 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13484 (__ubp_memchr): Likewise.
13485 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13486 (__ubp_memchr): Likewise.
13487 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13488 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13489 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13490 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13492 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13493 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13494 (__getcwd): Do not use CHECK_STRING.
13495 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13497 (__real_chown): Do not use CHECK_STRING.
13498 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13500 (fchownat): Do not use CHECK_STRING.
13501 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13503 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13505 (__lchown): Do not use CHECK_STRING.
13506 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13507 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13508 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13509 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13511 include <bp-checks.h>.
13512 (truncate64): Do not use CHECK_STRING.
13513 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13515 (__real_chown): Do not use CHECK_STRING.
13516 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13518 (__lchown): Do not use CHECK_STRING.
13519 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13521 (__chown): Do not use CHECK_STRING.
13522 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13524 (truncate64): Do not use CHECK_STRING.
13525 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13527 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13528 (__xmknod): Do not use CHECK_STRING.
13529 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13531 (__xmknodat): Do not use CHECK_STRING.
13532 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13533 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13535 2013-02-04 Andreas Schwab <schwab@suse.de>
13538 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13539 * include/netdb.h: Likewise for h_errno.
13540 * elf/tst-stackguard1.c: Include <tls.h>.
13542 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13544 * elf/link.h (struct link_map): Extend the l_addr comment.
13545 * include/link.h (struct link_map): Likewise.
13547 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13550 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13551 (BOUNDED_1): Remove macro.
13552 * debug/backtrace.c: Don't include <bp-checks.h>.
13553 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13554 (__backtrace): Likewise.
13555 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13557 (__backtrace): Don't use BOUNDED_1.
13558 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13560 (__backtrace): Don't use BOUNDED_1.
13561 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13562 (__backtrace): Don't use BOUNDED_1.
13563 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13564 (shmat): Don't use BOUNDED_N.
13566 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13569 * sysdeps/generic/bp-start.h: Remove file.
13570 * csu/libc-start.c: Don't include <bp-start.h>.
13571 (LIBC_START_MAIN): Set up __environ directly instead of using
13572 INIT_ARGV_and_ENVIRON.
13573 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13577 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13579 (CHECK_FCNTL): Likewise.
13580 (CHECK_N_PAGES): Likewise.
13583 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13585 (CHECK_SIGSET_NULL_OK): Likewise.
13586 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13588 (sigpending): Don't use CHECK_SIGSET.
13589 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13591 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13592 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13594 (do_sigsuspend): Don't use CHECK_SIGSET.
13595 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13597 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13598 (do_sigwait): Don't use CHECK_SIGSET.
13599 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13602 include <bp-checks.h>.
13603 (sigpending): Don't use CHECK_SIGSET.
13604 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13605 include <bp-checks.h>.
13606 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13607 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13609 (sigpending): Don't use CHECK_SIGSET.
13610 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13612 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13615 * sysdeps/generic/bp-semctl.h: Remove file.
13616 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13617 <bp-checks.h> and <bp-semctl.h>.
13618 (__old_semctl): Don't use CHECK_SEMCTL.
13619 (__new_semctl): Likewise.
13620 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13622 (__old_semctl): Don't use CHECK_SEMCTL.
13623 (__new_semctl): Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13625 <bp-checks.h> and <bp-semctl.h>.
13626 (__old_semctl): Don't use CHECK_SEMCTL.
13627 (__new_semctl): Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13629 <bp-checks.h> and <bp-semctl.h>.
13630 (semctl): Don't use CHECK_SEMCTL.
13633 * Makerules (elide-bp-thunks): Remove variable.
13634 (elide-routines.oS): Don't use $(elide-bp-thunks).
13635 (elide-routines.os): Likewise.
13636 (elide-routines.o): Likewise.
13637 (elide-routines.op): Likewise.
13638 (elide-routines.og): Likewise.
13639 (objects): Don't use $(bp-thunks).
13640 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13642 (common-generated): Do not add s-proto-bp.d.
13643 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13646 Do not generate makefile rules for bounded-pointer thunks.
13647 * sysdeps/generic/bp-thunks.h: Remove file.
13648 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13649 * sysdeps/unix/s-proto-bp.S: Likewise.
13652 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13653 parts of result separately when argument is not close to line from
13654 -i to i and one part of argument is small.
13655 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13656 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13657 * math/libm-test.inc (cacos_test): Add more tests.
13658 (casin_test): Likewise.
13659 (casinh_test): Likewise.
13660 * sysdeps/i386/fpu/libm-test-ulps: Update.
13661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13663 2013-01-31 David S. Miller <davem@davemloft.net>
13665 * po/de.po: Update from translation team.
13667 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13669 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13671 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13673 * configure.in (_AC_PROG_CC_C89): New definition.
13674 * configure: Regenerate.
13676 * configure.in (AC_PROG_CPP): New definition.
13677 * configure: Regenerate.
13679 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13681 * debug/tst-backtrace.h: New file.
13682 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13683 (ret): Remove variable.
13685 (FAIL): Remove macro.
13686 (NO_INLINE): Likewise.
13687 (fn1): Use match function instead of strstr.
13688 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13689 (ret): Remove variable.
13691 (FAIL): Remove macro.
13692 (NO_INLINE): Likewise.
13693 (fn): Use match function instead of strstr.
13694 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13695 (ret): Remove variable.
13697 (FAIL): Remove macro.
13698 (NO_INLINE): Likewise.
13699 (handle_signal): Use match function instead of strstr.
13700 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13701 (ret): Remove variable.
13703 (FAIL): Remove macro.
13704 (NO_INLINE): Likewise.
13705 (handle_signal): Use match function instead of strstr.
13707 2013-01-23 Roland McGrath <roland@hack.frob.com>
13709 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13711 2013-01-23 David S. Miller <davem@davemloft.net>
13713 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13714 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13715 argument of CAS if possible.
13716 * sysdeps/sparc/sparc64/bits/atomic.h
13717 (__arch_compare_and_exchange_val_32_acq): Likewise.
13718 (__arch_compare_and_exchange_val_64_acq): Likewise.
13720 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13722 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13723 * sysdeps/posix/ulimit.c: ... this.
13724 Include <limits.h>.
13725 * sysdeps/unix/bsd/ulimit.c: Remove file.
13727 2013-01-23 Adam Conrad <adconrad@0c3.net>
13729 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13730 (LDFLAGS-tst-array5): Likewise.
13732 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13735 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13736 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13737 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13738 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13740 2013-01-21 David S. Miller <davem@davemloft.net>
13742 * sysdeps/sparc/backtrace.c: New file.
13743 * sysdeps/sparc/sparc32/backtrace.h: New file.
13744 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13745 * sysdeps/sparc/sparc64/backtrace.h: New file.
13746 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13747 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13750 2013-01-21 Andreas Schwab <schwab@suse.de>
13753 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13756 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13762 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13763 Mark Mitchell <mark@codesourcery.com>
13764 Tom de Vries <tom@codesourcery.com>
13765 Paul Pluzhnikov <ppluzhnikov@google.com>
13767 * debug/tst-backtrace2.c: New file.
13768 * debug/tst-backtrace3.c: Likewise.
13769 * debug/tst-backtrace4.c: Likewise.
13770 * debug/tst-backtrace5.c: Likewise.
13771 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13772 (CFLAGS-tst-backtrace3.c): Likewise.
13773 (CFLAGS-tst-backtrace4.c): Likewise.
13774 (CFLAGS-tst-backtrace5.c): Likewise.
13775 (LDFLAGS-tst-backtrace2): Likewise.
13776 (LDFLAGS-tst-backtrace3): Likewise.
13777 (LDFLAGS-tst-backtrace4): Likewise.
13778 (LDFLAGS-tst-backtrace5): Likewise.
13779 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13780 tst-backtrace4 and tst-backtrace5.
13782 2013-01-18 Anton Blanchard <anton@samba.org>
13783 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13785 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13786 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13788 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13790 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13791 "+r" and remove output regs list as redundant. Add explicit inline
13792 asm to specify register of return val to work around compiler codegen
13793 bug. Remove (int) cast on return value. Add return type parameter to
13794 use in macro so that this macro does not truncate return value for
13796 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13797 pass to INTERNAL_VSYSCALL_NCS.
13798 (INLINE_VSYSCALL): Add 'long int' as return type to
13799 INTERNAL_VSYSCALL_NCS macro invocation.
13800 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13801 INTERNAL_VSYSCALL_NCS macro invocation.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13804 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13807 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13808 Fix application of SIMD FP exception mask.
13810 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13811 mp_no from a power of two.
13812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13813 __mpexp_twomm1. Use __pow_mp.
13815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13818 2013-01-17 David S. Miller <davem@davemloft.net>
13820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13822 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13825 * include/complex.h: Condition contents on [!_COMPLEX_H].
13826 (__kernel_casinhf): New prototype.
13827 (__kernel_casinh): Likewise.
13828 (__kernel_casinhl): Likewise.
13829 * math/Makefile (libm_calls): Add k_casinh.
13830 * math/k_casinh.c: New file.
13831 * math/k_casinhf.c: Likewise.
13832 * math/k_casinhl.c: Likewise.
13833 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13834 finite nonzero arguments.
13835 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13836 finite nonzero arguments.
13837 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13838 finite nonzero arguments.
13839 * math/s_casinh.c: Do not include <float.h>.
13840 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13841 * math/s_casinhf.c: Do not include <float.h>.
13842 (__casinhf): Move code for finite nonzero arguments to
13844 * math/s_casinhl.c: Do not include <float.h>.
13845 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13847 (__casinhl): Move code for finite nonzero arguments to
13849 * math/libm-test.inc (cacos_test): Add more tests.
13850 * sysdeps/i386/fpu/libm-test-ulps: Update.
13851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13853 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13855 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13856 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13857 [!HAVE_MREMAP]: Remove [defined linux] case.
13858 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13860 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13862 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13864 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13866 * elf/elf.h (R_386_SIZE32): New relocation.
13867 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13869 (elf_machine_rela): Likewise.
13870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13871 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13873 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13875 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13876 (FP_FAST_FMA): Do not define.
13877 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13878 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13879 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13880 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13881 !_SOFT_FLOAT]: Likewise.
13882 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13883 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13885 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13886 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13889 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13890 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13893 2013-01-16 Andreas Schwab <schwab@suse.de>
13896 * include/stdlib.h (__mktemp): Add declaration.
13897 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13898 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13900 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13902 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13904 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13905 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13906 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13908 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13909 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13913 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13914 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13915 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13917 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13918 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13920 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13922 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13924 2013-01-15 David S. Miller <davem@davemloft.net>
13926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13927 trunc{,f} to libm-sysdep_routes.
13928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13938 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13939 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13940 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13942 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13943 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13946 nearbyint{,f} to libm-sysdep_routes.
13947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13964 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13965 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13967 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13968 libc_feholdexcept and libc_fesetenv.
13970 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13972 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13974 2013-01-14 David S. Miller <davem@davemloft.net>
13976 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13977 (SPARC_ASM_VIS2_IFUNC): Likewise.
13978 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13980 use of 'siam' instruction.
13981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14014 routines to libm-sysdep_routines.
14015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14018 fdim/fdimf to libm-sysdep_routines.
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14027 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14028 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14029 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14030 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14032 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14035 to optimize copies.
14037 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14042 local variable MPTWO.
14043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14046 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14048 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14051 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14053 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14055 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14057 * manual/pattern.texi (glob_t): Document gl_flags.
14058 (glob64_t): Likewise.
14060 2013-01-11 David S. Miller <davem@davemloft.net>
14062 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14063 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14064 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14065 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14066 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14067 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14068 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14069 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14070 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14071 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14072 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14073 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14074 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14076 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14077 sparc V9 rather than using V8 code.
14078 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14079 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14083 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14086 2013-01-11 Roland McGrath <roland@hack.frob.com>
14088 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14089 not in the main loop.
14090 * configure: Regenerated.
14092 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14094 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14095 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14097 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14098 [!__GLIBC_HAVE_LONG_LONG] case.
14099 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14100 condition to just #else.
14101 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14102 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14103 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14104 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14106 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14107 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14108 #elif condition to just #else.
14109 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14110 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14111 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14112 #elif condition to just #else.
14114 2013-01-11 Steve Ellcey <sellcey@mips.com>
14116 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14117 (EF_MIPS_ARCH_64): Fix value.
14118 (EF_MIPS_ARCH_32R2): New.
14119 (EF_MIPS_ARCH_64R2): New.
14121 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14123 * Makeconfig (+link-pie-before-libc): New.
14124 (+link-pie-after-libc): Likewise.
14125 (+link-pie-tests): Likewise.
14126 (+link-pie): Rewritten.
14127 (link-before-libc): Remove $(config-LDFLAGS).
14128 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14129 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14130 (config-LDFLAGS): Renamed to ...
14131 (rtld-LDFLAGS): This.
14132 (rtld-tests-LDFLAGS): New macro.
14133 (link-libc-rpath-link): Likewise.
14134 (link-libc-tests-rpath-link): Likewise.
14135 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14136 (link-libc): Prepand $(link-libc-rpath-link).
14137 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14138 (test-program-prefix): New macro.
14139 (test-via-rtld-prefix): Likewise.
14140 (test-program-cmd): Likewise.
14141 (host-test-program-cmd): Likewise.
14142 * Makefile ($(common-objpfx)testrun.sh): Replace
14143 $(run-program-prefix) with $(test-program-prefix).
14144 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14146 ($(common-objpfx)shlib.lds): Likewise.
14147 (build-module-helper): Likewise.
14148 ($(common-objpfx)format.lds): Likewise.
14149 * Rules (binaries-pie-tests): New.
14150 (binaries-pie-notests): Likewise.
14151 (binaries-pie): Rewritten.
14152 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14153 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14154 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14155 (make-test-out): Replace $(host-built-program-cmd) with
14156 $(host-test-program-cmd).
14157 * config.make.in (build-hardcoded-path-in-tests): New variable.
14158 * configure.in (--enable-hardcoded-path-in-tests): New configure
14160 (hardcoded_path_in_tests): New AC_SUBST.
14161 * configure: Regenerated.
14162 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14163 $(built-program-cmd) with $(test-program-cmd).
14164 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14165 (test_program_cmd): This.
14166 * elf/Makefile ($(objpfx)order.out): Run test with
14167 $(test-program-prefix).
14168 ($(objpfx)order2.out): Likewise.
14169 ($(objpfx)tst-initorder.out): Likewise.
14170 ($(objpfx)tst-initorder2.out): Likewise.
14171 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14172 $(test-program-cmd).
14173 ($(objpfx)tst-array1-static.out): Likewise.
14174 ($(objpfx)tst-array2.out): Likewise.
14175 ($(objpfx)tst-array3.out): Likewise.
14176 ($(objpfx)tst-array4.out): Likewise.
14177 ($(objpfx)tst-array5.out): Likewise.
14178 ($(objpfx)tst-array5-static.out): Likewise.
14179 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14180 $(test-program-cmd).
14181 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14182 $(run-program-prefix) with $(test-program-prefix).
14183 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14184 (test_program_prefix): This.
14185 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14186 $(run-program-prefix) with $(test-program-prefix).
14187 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14188 (test_program_prefix): This.
14189 * iconvdata/tst-tables.sh: Likewise.
14190 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14191 $(run-program-prefix) with $(test-program-prefix).
14192 ($(objpfx)tst-translit.out): Likewise.
14193 ($(objpfx)tst-gettext2.out): Likewise.
14194 ($(objpfx)tst-gettext4.out): Likewise.
14195 ($(objpfx)tst-gettext6.out): Likewise.
14196 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14197 (test_program_prefix): This.
14198 * intl/tst-gettext2.sh: Likewise.
14199 * intl/tst-gettext4.sh Likewise.
14200 * intl/tst-gettext6.sh: Likewise.
14201 * intl/tst-translit.sh: Likewise.
14202 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14203 with $(test-program-cmd).
14204 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14205 $(run-program-prefix) with $(test-program-prefix).
14206 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14207 (test_program_prefix): This.
14208 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14209 $(run-program-prefix) with $(test-program-prefix).
14210 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14211 (test_program_prefix): This.
14212 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14213 * posix/Makefile ($(objpfx)globtest.out): Replace
14214 $(run-via-rtld-prefix) and $(test-wrapper) with
14215 $(test-program-prefix) and $(test-via-rtld-prefix).
14216 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14217 $(test-program-prefix).
14218 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14219 $(host-test-program-cmd).
14220 (tst-spawn-ARGS): Likewise.
14221 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14222 $(test-program-prefix).
14223 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14224 (test_via_rtld_prefix): This.
14225 (test_wrapper): Renamed to ...
14226 (test_program_prefix): This.
14227 (run_program_prefix): Replaced by test_program_prefix.
14228 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14229 (test_program_prefix): This.
14230 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14231 with $(host-test-program-cmd).
14232 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14233 $(run-program-prefix) with $(test-program-prefix).
14234 ($(objpfx)tst-printf.out): Likewise.
14235 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14236 $(test-program-cmd).
14237 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14238 (test_program_prefix): This.
14239 * stdio-common/tst-unbputc.sh: Likewise.
14240 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14241 $(run-program-prefix) with $(test-program-prefix).
14242 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14243 (test_program_prefix): This.
14244 * string/Makefile ($(objpfx)tst-svc.out): Replace
14245 $(built-program-cmd) with $(test-program-cmd).
14247 2013-01-11 Andreas Jaeger <aj@suse.de>
14250 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14251 value. Sync with Linux 3.7.
14253 2013-01-10 David S. Miller <davem@davemloft.net>
14255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14256 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14257 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14259 2013-01-10 Roland McGrath <roland@hack.frob.com>
14261 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14263 * configure: Regenerated.
14265 2013-01-10 David S. Miller <davem@davemloft.net>
14267 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14268 sparc V9 rather than using V8 code.
14269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14272 2013-01-10 Roland McGrath <roland@hack.frob.com>
14274 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14275 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14276 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14277 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14278 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14279 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14280 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14281 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14282 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14283 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14284 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14285 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14286 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14287 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14288 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14289 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14290 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14291 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14292 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14293 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14294 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14295 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14296 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14297 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14298 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14299 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14300 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14302 2013-01-10 David S. Miller <davem@davemloft.net>
14304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14306 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14308 * posix/Makefile (tests-static): New variable.
14309 (tests): Add $(tests-static).
14310 (tst-exec-static-ARGS): New variable.
14311 (tst-spawn-static-ARGS): Likewise.
14312 * posix/tst-exec-static.c: New file.
14313 * posix/tst-spawn-static.c: Likewise.
14314 * posix/tst-exec.c: Support run directly.
14315 * posix/tst-spawn.c: Likewise.
14317 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14319 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14321 * math/bits/mathcalls.h (llrint): Likewise.
14322 (llround): Likewise.
14323 * stdlib/stdlib.h (struct drand48_data): Likewise.
14324 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14325 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14326 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14328 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14331 (elf_greg_t): Likewise.
14332 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14333 (__jmp_buf): Likewise.
14334 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14336 (llrint): Likewise, for all definitions.
14337 (llrintl): Likewise.
14339 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14340 Remove [__GNUC__] condition.
14341 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14342 condition to just [__USE_ISOC99].
14343 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14345 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14348 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14349 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14351 (_POSIX_V6_ILP32_OFF32): Likewise.
14352 (_XBS5_ILP32_OFF32): Likewise.
14353 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14354 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14356 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14358 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14361 doubles __mpexp_twomm1. Adjust usage.
14362 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14365 2013-01-10 Andreas Schwab <schwab@suse.de>
14368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14369 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14371 2013-01-09 David S. Miller <davem@davemloft.net>
14374 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14375 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14376 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14377 TCP_FASTOPEN): Define.
14378 (tcp_repair_opt): New structure.
14379 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14381 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14382 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14383 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14384 (tcp_cookie_transactions): New structure.
14386 2013-01-09 Anton Blanchard <anton@samba.org>
14388 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14389 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14390 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14391 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14393 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14395 * include/features.h (__USE_ANSI): Remove.
14397 2013-01-09 Roland McGrath <roland@hack.frob.com>
14399 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14401 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14403 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14405 * sysdeps/s390/fpu/libm-test-ulps: Update.
14407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14409 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14413 (denorm): Likewise.
14414 (__mp_dbl): Likewise.
14415 (__dbl_mp): Likewise.
14416 (add_magnitudes): Likewise.
14417 (sub_magnitudes): Likewise.
14423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14427 (denorm): Likewise.
14428 (__mp_dbl): Likewise.
14429 (__dbl_mp): Likewise.
14430 (add_magnitudes): Likewise.
14431 (sub_magnitudes): Likewise.
14437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14441 (denorm): Likewise.
14442 (__mp_dbl): Likewise.
14443 (__dbl_mp): Likewise.
14444 (add_magnitudes): Likewise.
14445 (sub_magnitudes): Likewise.
14452 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14454 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14455 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14456 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14457 2 && __USE_EXTERN_INLINES]: Likewise.
14459 2013-01-08 Andreas Jaeger <aj@suse.de>
14462 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14464 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14465 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14467 2013-01-07 Anton Blanchard <anton@samba.org>
14469 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14470 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14471 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14472 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14473 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14474 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14475 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14476 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14478 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14479 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14481 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14482 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14491 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14492 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14493 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14494 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14495 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14496 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14498 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14499 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14501 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14502 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14503 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14504 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14505 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14506 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14508 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14509 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14513 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14515 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14516 (__MALLOC_PMT): Likewise.
14517 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14518 [__GNUC__], only on [_LIBC].
14519 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14520 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14521 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14522 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14523 forward declaration.
14524 (realloc_hook_ini): Likewise.
14525 (memalign_hook_ini): Likewise.
14526 (__libc_memalign): Do not use __MALLOC_PMT in variable
14528 (__libc_valloc): Likewise.
14529 (__libc_pvalloc): Likewise.
14530 (__libc_calloc): Likewise.
14531 (__posix_memalign): Likewise.
14534 * math/s_casinh.c: Include <float.h>.
14535 (__casinh): Do not do computation with squaring and square root
14536 for large arguments.
14537 * math/s_casinhf.c: Include <float.h>.
14538 (__casinhf): Do not do computation with squaring and square root
14539 for large arguments.
14540 * math/s_casinhl.c: Include <float.h>.
14541 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14542 (__casinhl): Do not do computation with squaring and square root
14543 for large arguments.
14544 * math/libm-test.inc (casin_test): Add more tests.
14545 (casinh_test): Likewise.
14546 * sysdeps/i386/fpu/libm-test-ulps: Update.
14547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14549 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14551 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14552 (__x86_64_raw_data_cache_size): Likewise.
14553 (__x86_64_data_cache_size_half): Likewise.
14554 (__x86_64_raw_data_cache_size_half): Likewise.
14555 (__x86_64_shared_cache_size): Likewise.
14556 (__x86_64_raw_shared_cache_size): Likewise.
14557 (__x86_64_shared_cache_size_half): Likewise.
14558 (__x86_64_raw_shared_cache_size_half): Likewise.
14559 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14561 (__x86_data_cache_size): This.
14562 (__x86_64_raw_data_cache_size): Renamed to ...
14563 (__x86_raw_data_cache_size): This.
14564 (__x86_64_data_cache_size_half): Renamed to ...
14565 (__x86_data_cache_size_half): This.
14566 (__x86_64_raw_data_cache_size_half): Renamed to ...
14567 (__x86_raw_data_cache_size_half): This.
14568 (__x86_64_shared_cache_size): Renamed to ...
14569 (__x86_shared_cache_size): This.
14570 (__x86_64_raw_shared_cache_size): Renamed to ...
14571 (__x86_raw_shared_cache_size): This.
14572 (__x86_64_shared_cache_size_half): Renamed to ...
14573 (__x86_shared_cache_size_half): This.
14574 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14575 (__x86_raw_shared_cache_size_half): This.
14576 * sysdeps/x86_64/memcpy.S: Updated.
14577 * sysdeps/x86_64/memset.S: Likewise.
14578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14582 2013-01-04 David S. Miller <davem@davemloft.net>
14584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14586 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14588 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14589 1 to avoid redefinition warning.
14590 (__USE_GNU): Don't define.
14591 (init_signaling_nan): Protoize.
14593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14595 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14597 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14599 (__cpymn): Likewise.
14600 (norm): Remove commented code.
14601 (denorm): Likewise.
14602 (__mp_dbl): Likewise.
14604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14605 (__cpymn): Likewise.
14606 (norm): Remove commented code.
14607 (denorm): Likewise.
14608 (__mp_dbl): Likewise.
14611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14612 mp_no value for 1.0 and 2.0.
14613 (norm): Use RADIXI instead of radixi.d.
14614 (denorm): Likewise.
14615 (__mul): Use 0.0 instead of zero.d.
14616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14617 mp_no value for 1.0 and 2.0.
14618 (norm): Use RADIXI instead of radixi.d.
14619 (denorm): Likewise.
14620 (__mul): Use 0.0 instead of zero.d.
14622 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14625 * math/s_casinh.c (__casinh): Reduce finite argument to first
14626 quadrant then set signs of results at the end.
14627 * math/s_casinhf.c (__casinhf): Likewise.
14628 * math/s_casinhl.c (__casinhl): Likewise.
14629 * math/libm-test.inc (casin_test): Add more tests.
14630 (casinh_test): Likewise.
14631 * sysdeps/i386/fpu/libm-test-ulps: Update.
14632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14634 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14636 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14638 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14640 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14642 (denorm): Likewise.
14643 (__mp_dbl): Likewise.
14646 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14647 and adjust the header comment.
14649 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14650 variable name from declaration.
14652 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14655 Initialize COMMON_CPUID_INDEX_7 element.
14656 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14657 (CPUID_RTM): Likewise.
14658 (HAS_RTM): Likewise.
14659 (COMMON_CPUID_INDEX_7): New enum.
14661 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14664 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14665 size is zero, record memory as freed.
14667 2013-01-03 Andreas Jaeger <aj@suse.de>
14669 * po/ia.po: Add new Interlingua translation.
14671 2012-01-03 Allan McRae <allan@archlinux.org>
14673 * locale/programs/localedef.c: Fix description of '--posix' flag.
14675 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14677 * NEWS: Update dates in second copyright notice.
14678 * README: Update copyright dates in example.
14679 * manual/libc.texinfo: Update copyright dates.
14680 * scripts/test-installation.pl: Update copyright date in --version
14683 * hurd/ctty-input.c: Fix copyright notice formatting.
14684 * hurd/ctty-output.c: Likewise.
14685 * hurd/dtable.c: Likewise.
14686 * hurd/hurd-raise.c: Likewise.
14687 * hurd/hurdprio.c: Likewise.
14688 * hurd/msgportdemux.c: Likewise.
14689 * misc/sys/file.h: Likewise.
14690 * misc/sys/ioctl.h: Likewise.
14691 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14692 * sysdeps/mach/hurd/chdir.c: Likewise.
14693 * sysdeps/mach/hurd/fchdir.c: Likewise.
14694 * sysdeps/mach/hurd/rename.c: Likewise.
14695 * sysdeps/mach/hurd/rmdir.c: Likewise.
14696 * sysdeps/mach/hurd/seekdir.c: Likewise.
14697 * sysdeps/mach/hurd/setsid.c: Likewise.
14698 * sysdeps/posix/wait3.c: Likewise.
14700 * All files with FSF copyright notices: Update copyright dates
14701 using scripts/update-copyrights.
14702 * intl/plural.c: Regenerated.
14703 * locale/programs/charmap-kw.h: Likewise.
14704 * locale/programs/locfile-kw.h: Likewise.
14706 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14708 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14711 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14712 calculation loop and add branch prediction.
14714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14715 check access beyond bounds of m1np.
14717 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14719 (__inv): Remove local variable MPTWO to use the global
14721 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14724 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14725 MP3HALFS static const.
14727 2013-01-01 David S. Miller <davem@davemloft.net>
14729 * po/ca.po: Update from translation team.
14731 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14733 * scripts/update-copyrights: New file.
14734 * Makeconfig: Reformat copyright notice.
14735 * ctype/ctype.h: Likewise.
14736 * debug/swprintf_chk.c: Likewise.
14737 * elf/dl-cache.c: Likewise.
14738 * elf/dl-debug.c: Likewise.
14739 * elf/dl-object.c: Likewise.
14740 * grp/initgroups.c: Likewise.
14741 * hurd/Makefile: Likewise.
14742 * hurd/hurd/signal.h: Likewise.
14743 * hurd/hurdfault.c: Likewise.
14744 * hurd/hurdioctl.c: Likewise.
14745 * hurd/hurdlookup.c: Likewise.
14746 * hurd/intr-msg.c: Likewise.
14747 * iconv/gconv_open.c: Likewise.
14748 * libio/swprintf.c: Likewise.
14749 * locale/lc-ctype.c: Likewise.
14750 * locale/nl_langinfo.c: Likewise.
14751 * mach/Machrules: Likewise.
14752 * mach/Makefile: Likewise.
14753 * malloc/obstack.h: Likewise.
14754 * manual/Makefile: Likewise.
14755 * manual/tsort.awk: Likewise.
14756 * misc/bits/stab.def: Likewise.
14757 * nis/nis_print_group_entry.c: Likewise.
14758 * nis/nis_table.c: Likewise.
14759 * nis/nss_compat/compat-pwd.c: Likewise.
14760 * nis/nss_compat/compat-spwd.c: Likewise.
14761 * po/Makefile: Likewise.
14762 * posix/fnmatch.c: Likewise.
14763 * posix/regex.h: Likewise.
14764 * resolv/Makefile: Likewise.
14765 * resolv/nss_dns/dns-network.c: Likewise.
14766 * resolv/res_hconf.c: Likewise.
14767 * scripts/gen-sorted.awk: Likewise.
14768 * soft-fp/soft-fp.h: Likewise.
14769 * stdio-common/printf.h: Likewise.
14770 * stdlib/monetary.h: Likewise.
14771 * stdlib/random.c: Likewise.
14772 * stdlib/random_r.c: Likewise.
14773 * sysdeps/generic/Makefile: Likewise.
14774 * sysdeps/gnu/Makefile: Likewise.
14775 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14777 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14798 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14799 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14801 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14802 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14803 * sysdeps/mach/hurd/errnos.awk: Likewise.
14804 * sysdeps/mach/hurd/fork.c: Likewise.
14805 * sysdeps/mach/hurd/getcwd.c: Likewise.
14806 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14807 * sysdeps/mach/hurd/mmap.c: Likewise.
14808 * sysdeps/mach/hurd/utimes.c: Likewise.
14809 * sysdeps/mach/hurd/xmknod.c: Likewise.
14810 * sysdeps/posix/profil.c: Likewise.
14811 * sysdeps/posix/readdir_r.c: Likewise.
14812 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14813 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14814 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14817 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14819 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14821 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14822 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14823 * sysdeps/pthread/lio_listio.c: Likewise.
14824 * sysdeps/sparc/dl-procinfo.h: Likewise.
14825 * sysdeps/unix/i386/sysdep.S: Likewise.
14826 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14827 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14828 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14829 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14831 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14832 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14833 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14834 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14835 * sysdeps/wordsize-32/divdi3.c: Likewise.
14836 * time/sys/time.h: Likewise.
14837 * wcsmbs/Makefile: Likewise.
14839 2013-01-01 David S. Miller <davem@davemloft.net>
14841 * po/fr.po: Update from translation team.
14843 * catgets/gencat.c: Update copyright year.
14844 * csu/version.c: Likewise.
14845 * debug/catchsegv.sh: Likewise.
14846 * debug/pcprofiledump.c: Likewise.
14847 * debug/xtrace.sh: Likewise.
14848 * elf/ldconfig.c: Likewise.
14849 * elf/ldd.bash.in: Likewise.
14850 * elf/pldd.c: Likewise.
14851 * elf/sotruss.ksh: Likewise.
14852 * elf/sprof.c: Likewise.
14853 * iconv/iconv_prog.c: Likewise.
14854 * iconv/iconvconfig.c: Likewise.
14855 * locale/programs/locale.c: Likewise.
14856 * locale/programs/localedef.c: Likewise.
14857 * login/programs/pt_chown.c: Likewise.
14858 * malloc/memusage.sh: Likewise.
14859 * malloc/memusagestat.c: Likewise.
14860 * malloc/mtrace.pl: Likewise.
14861 * nscd/nscd.c: Likewise.
14862 * nss/getent.c: Likewise.
14863 * nss/makedb.c: Likewise.
14864 * posix/getconf.c: Likewise.
14866 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14868 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14871 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14873 * math/bits/mathcalls.h (modf): Use __nonnull.
14875 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14877 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14878 (split): Use macro CN instead of the bare value.
14879 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14882 instead of the bare value.
14883 (power1): Likewise.
14885 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14887 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14889 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14891 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14893 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14894 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14895 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14896 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14898 2012-12-28 Andreas Jaeger <aj@suse.de>
14900 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14901 values are from Linux 3.7.
14903 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14904 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14906 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14908 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14911 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14913 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14914 variables with preprocessor constants.
14915 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14916 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14917 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14919 2012-12-27 Bruno Haible <bruno@clisp.org>
14922 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14925 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14928 and use variable directly.
14929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14931 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14933 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14934 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14936 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14938 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14939 include directive. Remove local variable MPONE.
14940 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14941 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14944 2012-12-25 David S. Miller <davem@davemloft.net>
14946 * version.h (RELEASE): Set to "development".
14947 (VERSION): Set to "2.17.90".
14948 * NEWS: Add 2.18 section.
14950 2012-12-21 David S. Miller <davem@davemloft.net>
14952 * po/hr.po: Update from translation team.
14954 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14956 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14958 2012-12-19 Steve Ellcey <sellcey@mips.com>
14960 * NEWS: Mention new memcpy for MIPS.
14962 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14964 * manual/contrib.texi (Contributors): Spelling correction.
14966 2012-12-15 David S. Miller <davem@davemloft.net>
14968 * po/ru.po: Update from translation team.
14970 2012-12-13 David S. Miller <davem@davemloft.net>
14972 * NEWS: Mention IFUNC testsuite enhancements.
14974 * po/pl.po: Update from translation team.
14975 * po/bg.po: Likewise.
14977 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14978 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14980 2012-12-11 David S. Miller <davem@davemloft.net>
14982 * po/sv.po: Update from translation team.
14984 * po/vi.po: Update from translation team.
14986 * po/cs.po: Update from translation team.
14988 * po/de.po: Update from translation team.
14989 * po/eo.po: Likewise.
14990 * po/nl.po: Likewise.
14992 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14995 * manual/argp.texi (Argp Helper Functions): Move node to follow
14996 Argp Parsing State.
14999 * manual/conf.texi (Limits on File System Capacity): Mention if
15000 terminating null is included in the max size.
15002 2012-12-10 Andreas Jaeger <aj@suse.de>
15004 * po/cs.po: Update from translation team.
15006 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15008 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15009 void pointer and cast to uintptr_t.
15010 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15012 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15013 * sysdeps/s390/s390-64/memset.S: Likewise.
15015 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15018 * menual/message.texi (Message Translation): Fix typos.
15019 (Helper programs for gettext): Likewise.
15021 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15024 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15027 2012-12-07 David S. Miller <davem@davemloft.net>
15029 * po/libc.pot: Update.
15031 2012-12-07 Richard Henderson <rth@redhat.com>
15034 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15035 normal/normal case to before the switch.
15036 (_FP_DIV): Likewise.
15038 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15039 Mike Frysinger <vapier@gentoo.org>
15041 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15042 check for __NR_fadvise64_64.
15044 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15046 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15047 0, not just to plain "0" as a statement.
15048 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15051 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15053 * NEWS: Use sourceware.org in Bugzilla URL.
15055 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15058 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15060 * stdio-common/tst-put-error.c (do_test): Add newline to the
15061 padded test to ensure flush.
15063 2012-12-05 Jeff Law <law@redhat.com>
15065 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15067 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15069 * README: Don't refer to ports add-on as distributed separately.
15070 Mention AArch64 in list of systems supported in the ports add-on.
15072 * LICENSES: Add more non-FSF copyright and license notices.
15074 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15077 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15079 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15080 10000 as width of padded output.
15082 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15084 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15086 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15087 variable LX with __attribute__ ((unused)).
15088 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15093 with __attribute__ ((unused)).
15095 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15097 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15099 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15101 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15102 (CFLAGS-nldbl-acos.c): New variable.
15103 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15116 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15202 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15206 whole low double instead of just low 47 bits when splitting values
15209 2012-12-03 Allan McRae <allan@archlinux.org>
15211 * manual/stdio.texi (Predefined Printf Handlers): Remove
15212 @hsep and @vsep usage.
15214 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15216 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15217 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15219 2012-12-03 Jeff Law <law@redhat.com>
15221 * time/sys/time.h (settimeofday): Do not mark TV argument
15224 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15226 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15227 when currently writing and seek to current position when not.
15228 * libio/Makefile (tests): Remove bug-fclose1.
15229 * libio/bug-fclose1.c: Delete.
15231 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15233 * manual/arith.texi (feenableexcept): Fix typo.
15234 (fedisableexcept): Likewise.
15236 2012-11-30 Roland McGrath <roland@hack.frob.com>
15238 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15239 second, differently-typed declaration, rather than a cast.
15241 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15244 * include/rpc/svc.h: ... here.
15246 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15249 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15250 depending n and resplen2 to catch cases where answer
15253 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15255 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15256 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15258 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15262 2012-11-29 Roland McGrath <roland@hack.frob.com>
15264 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15266 2012-11-28 Jeff Law <law@redhat.com>
15269 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15270 dataset_temporary. Track alloca usage into alloca_used.
15271 If dataset is large allocate and release it via malloc/free.
15273 2012-06-04 Florian Weimer <fweimer@redhat.com>
15276 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15278 2012-11-28 David S. Miller <davem@davemloft.net>
15280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15282 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15285 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15286 of pi/2 rounded to nearest to 64 bits.
15287 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15288 nearest to 64 bits.
15289 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15292 2012-11-28 Jeff Law <law@redhat.com>
15293 Martin Osvald <mosvald@redhat.com>
15296 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15297 * sunrpc/svc.c: Include time.h.
15298 (__svc_accept_failed): New function.
15299 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15300 any reason other than EINTR, call __svc_accept_failed.
15301 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15302 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15304 2012-11-28 Andreas Schwab <schwab@suse.de>
15306 * scripts/abilist.awk: Also handle indirect functions in .opd
15309 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15312 * sysdeps/x86/fpu/powl_helper.c: New file.
15313 * sysdeps/x86/fpu/Makefile: Likewise.
15314 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15316 (__ieee754_powl): Use __powl_helper for finite arguments except
15317 integer exponents below 8.
15318 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15320 (__ieee754_powl): Use __powl_helper for finite arguments except
15321 integer exponents below 8.
15322 * math/libm-test.inc (pow_test): Add more tests and enable some
15323 previously disabled tests.
15324 * sysdeps/i386/fpu/libm-test-ulps: Update.
15325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15327 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15328 Carlos O'Donell <carlos_odonell@mentor.com>
15330 * nss/makedb.c (is_prime): Assert that input is odd and greater
15331 than 4. Note that fact in a comment too.
15332 (next_prime): Add 4 to input.
15334 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15337 * libio/Makefile (tests): Add test case tst-fwrite-error.
15338 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15339 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15340 * libio/tst-fwrite-error.c: New test case.
15342 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15344 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15345 before casting to void *.
15346 * include/libc-internal.h (__pointer_type): New macro.
15347 (__integer_if_pointer_type_sub): Likewise.
15348 (__integer_if_pointer_type): Likewise.
15349 (cast_to_integer): Likewise.
15350 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15351 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15352 before casting to atomic64_t.
15353 (atomic_exchange_acq): Likewise.
15354 (__arch_exchange_and_add_body): Likewise.
15355 (__arch_add_body): Likewise.
15356 (atomic_add_negative): Likewise.
15357 (atomic_add_zero): Likewise.
15359 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15361 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15362 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15363 (add_fdes): Likewise.
15364 (linear_search_fdes): Likewise.
15365 (binary_search_unencoded_fdes): Likewise.
15367 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15369 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15371 2012-11-24 Adam Conrad <adconrad@0c3.net>
15373 * configure.in: Autodetect C++ header directories.
15374 * configure: Regenerated.
15376 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15378 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15380 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15384 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15386 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15387 LDBL_MANT_DIG == 106]: Disable some tests.
15388 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15390 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15394 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15395 input for small inputs. Return +/- pi/2 for large inputs.
15396 * math/libm-test.inc (atan_test): Add more tests.
15398 * sysdeps/generic/unwind-dw2-fde-glibc.c
15399 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15400 __attribute__ ((unused)).
15403 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15404 x * y if x and y are nonzero and z is zero.
15407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15408 nonzero exponents with absolute value below 0x1p-117 to +/-
15412 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15413 up arguments below 2**-450, not just those below 2**-500.
15414 * math/libm-test.inc (hypot_test): Add another test.
15417 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15418 Return a+b for ratio over 2**120, not 2**60.
15419 * math/libm-test.inc (hypot_test): Add another test.
15421 * math/libm-test.inc (clog_test): Use
15422 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15423 (clog10_test): Likewise.
15426 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15428 2012-11-22 Andreas Schwab <schwab@suse.de>
15430 * sysdeps/i386/fpu/libm-test-ulps: Update.
15432 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15434 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15435 printf output with newline.
15437 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15440 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15441 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15442 -z nodlopen, -z initfirst and -z execstack support.
15443 * configure: Regenerated.
15445 * elf/elf.h (DF_1_NODIRECT): New macro.
15446 (DF_1_IGNMULDEF): Likewise.
15447 (DF_1_NOKSYMS): Likewise.
15448 (DF_1_NOHDR): Likewise.
15449 (DF_1_EDITED): Likewise.
15450 (DF_1_NORELOC): Likewise.
15451 (DF_1_SYMINTPOSE): Likewise.
15452 (DF_1_GLOBAUDIT): Likewise.
15453 (DF_1_SINGLETON): Likewise.
15454 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15455 DT_1_SUPPORTED_MASK bits.
15456 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15458 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15460 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15462 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15464 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15467 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15468 (sendmmsg): Move declarations...
15469 * socket/sys/socket.h: ... here.
15470 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15471 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15473 * socket/recvmmsg.c: ... this new file.
15474 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15475 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15476 definition of __sendmmsg hidden.
15477 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15478 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15479 Move ENOSYS stub into and include it from...
15480 * socket/sendmmsg.c: ... this new file.
15481 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15482 (sysdep_routines): Move recvmmsg and sendmmsg...
15483 * socket/Makefile (routines): ... here.
15484 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15485 (GLIBC_PRIVATE): Add __sendmmsg.
15486 * include/sys/socket.h (__sendmmsg): Add declarations.
15487 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15490 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15493 variable I1 with __attribute__ ((unused)).
15494 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15496 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15498 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15499 DUMMY variables with __attribute__ ((unused)).
15501 * bits/byteswap.h: Include <bits/types.h>.
15502 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15504 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15506 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15507 string_t. Do not manually set errno.
15508 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15509 length with __strnlen. Make sure to both set errno and return it on
15512 2012-11-19 David S. Miller <davem@davemloft.net>
15514 With help from Joseph Myers.
15515 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15516 very large arguments properly.
15517 * math/libm-test.inc (atan_test): New tests.
15518 (atan2_test): New tests.
15519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15522 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15525 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15528 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15529 [POSIX] (EADDRNOTAVAIL): Likewise.
15530 [POSIX] (EAFNOSUPPORT): Likewise.
15531 [POSIX] (EALREADY): Likewise.
15532 [POSIX] (ECONNABORTED): Likewise.
15533 [POSIX] (ECONNREFUSED): Likewise.
15534 [POSIX] (ECONNRESET): Likewise.
15535 [POSIX] (EDESTADDRREQ): Likewise.
15536 [POSIX] (EDQUOT): Likewise.
15537 [POSIX] (EHOSTUNREACH): Likewise.
15538 [POSIX] (EIDRM): Likewise.
15539 [POSIX] (EISCONN): Likewise.
15540 [POSIX] (ELOOP): Likewise.
15541 [POSIX] (EMULTIHOP): Likewise.
15542 [POSIX] (ENETDOWN): Likewise.
15543 [POSIX] (ENETUNREACH): Likewise.
15544 [POSIX] (ENOBUFS): Likewise.
15545 [POSIX] (ENODATA): Likewise.
15546 [POSIX] (ENOLINK): Likewise.
15547 [POSIX] (ENOMSG): Likewise.
15548 [POSIX] (ENOPROTOOPT): Likewise.
15549 [POSIX] (ENOSR): Likewise.
15550 [POSIX] (ENOSTR): Likewise.
15551 [POSIX] (ENOTCONN): Likewise.
15552 [POSIX] (ENOTSOCK): Likewise.
15553 [POSIX] (EOPNOTSUPP): Likewise.
15554 [POSIX] (EOVERFLOW): Likewise.
15555 [POSIX] (EPROTO): Likewise.
15556 [POSIX] (EPROTONOSUPPORT): Likewise.
15557 [POSIX] (EPROTOTYPE): Likewise.
15558 [POSIX] (ESTALE): Likewise.
15559 [POSIX] (ETIME): Likewise.
15560 [POSIX] (ETXTBSY): Likewise.
15561 [POSIX] (EWOULDBLOCK): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15563 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15564 [POSIX] (SEEK_CUR): Likewise.
15565 [POSIX] (SEEK_END): Likewise.
15566 [POSIX || UNIX98] (mode_t): Do not require.
15567 [POSIX] (off_t): Likewise.
15568 [POSIX] (pid_t): Likewise.
15569 [POSIX] (sys/stat.h): Do not allow header.
15570 [POSIX] (unistd.h): Likewise.
15571 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15572 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15573 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15574 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15576 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15577 sigevent): Specify elements.
15578 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15580 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15581 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15583 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15584 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15585 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15586 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15587 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15588 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15589 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15590 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15592 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15593 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15594 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15595 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15596 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15598 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15604 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15605 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15606 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15608 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15609 Specify lower bound on value.
15610 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15612 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15613 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15615 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15616 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15617 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15619 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15621 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15629 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15638 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15640 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15652 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15653 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15659 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15660 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15661 specify as optional.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15665 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15666 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15667 [XPG3] (NL_LANGMAX): Likewise.
15668 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15669 [POSIX || XPG3] (NL_NMAX): Likewise.
15670 [POSIX || XPG3] (NL_SETMAX): Likewise.
15671 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15672 [XPG3] (NZERO): Likewise.
15673 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15674 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15675 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15676 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15677 (REG_ERANGE): Expect.
15678 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15680 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15681 Use (void) in prototype.
15682 [POSIX] (*_t): Allow.
15683 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15684 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15685 (WRDE_BADVAL): Expect.
15687 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15689 [XPG3 || XPG4] (O_RSYNC): Likewise.
15690 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15692 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15693 [XPG3 || XPG4] (sigqueue): Likewise.
15694 [XPG3 || XPG4] (sigtimedwait): Likewise.
15695 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15696 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15697 [XPG3 || XPG4] (vsnprintf): Likewise.
15698 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15700 [XPG3 || XPG4] (blksize_t): Likewise.
15701 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15703 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15704 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15705 [XPG3 || XPG4] (struct itimerspec): Likewise.
15706 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15707 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15708 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15709 [XPG3 || XPG4] (clockid_t): Likewise.
15710 [XPG3 || XPG4] (timer_t): Likewise.
15711 [XPG3 || XPG4] (clock_getres): Likewise.
15712 [XPG3 || XPG4] (clock_gettime): Likewise.
15713 [XPG3 || XPG4] (clock_settime): Likewise.
15714 [XPG3 || XPG4] (nanosleep): Likewise.
15715 [XPG3 || XPG4] (timer_create): Likewise.
15716 [XPG3 || XPG4] (timer_delete): Likewise.
15717 [XPG3 || XPG4] (timer_gettime): Likewise.
15718 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15719 [XPG3 || XPG4] (timer_settime): Likewise.
15720 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15721 [XPG3 || XPG4] (getlogin_r): Likewise.
15722 [XPG3 || XPG4] (pread): Likewise.
15723 [XPG3 || XPG4] (pthread_atfork): Likewise.
15724 [XPG3 || XPG4] (pwrite): Likewise.
15727 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15730 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15732 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15733 finalizing MALLSTREAM.
15735 * sysdeps/mach/hurd/syncfs.c: New file.
15737 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15740 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15741 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15742 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15743 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15744 (_nss_dns_gethostbyname4_r): Likewise.
15745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15746 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15748 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15751 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15753 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15755 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15756 * elf/cache.c (print_entry): Print ",AArch64" for
15759 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15760 * elf/cache.c (print_entry): Print ",hard-float" for
15763 2012-11-18 David S. Miller <davem@davemloft.net>
15765 With help from Joseph Myers.
15766 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15768 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15770 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15771 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15773 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15774 * math/libm-test.inc (y0_test): New tests.
15775 (y1_test): New tests.
15776 * sysdeps/i386/fpu/libm-test-ulps: Update.
15777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15780 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15782 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15784 * configure: Regenerated.
15786 2012-11-17 David S. Miller <davem@davemloft.net>
15789 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15790 nonzero exponents with absolute value below 0x1p-128 to +/-
15793 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15797 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15799 * posix/getconf-speclist.c: New file.
15800 * posix/posix-envs.def: Likewise.
15801 * posix/confstr.c (START_ENV_GROUP): New macro.
15802 (END_ENV_GROUP): Likewise.
15803 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15804 (KNOWN_PRESENT_ENV_STRING): Likewise.
15805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15806 (UNKNOWN_ENVIRONMENT): Likewise.
15807 (confstr): Include posix-envs.def instead of handling
15808 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15809 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15810 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15811 (END_ENV_GROUP): Likewise.
15812 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15813 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15814 (UNKNOWN_ENVIRONMENT): Likewise.
15815 (__sysconf): Include posix-envs.def instead of handling associated
15816 cases directly here.
15817 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15818 preprocessing getconf-speclist.c rather than running getconf or
15819 generating empty file.
15821 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15823 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15825 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15828 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15830 2012-11-16 David S. Miller <davem@davemloft.net>
15832 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15833 smaller than LDBL_EPSILON/2.0L, just return xm1.
15835 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15837 * elf/tst-array1.c (init): Set constructor priority to 1000.
15838 (fini): Set destructor priority to 1000.
15839 * elf/tst-array2dep.c: Likewise.
15841 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15844 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15845 (_IO_new_file_xsputn): Also return EOF if none of the input
15846 data was written when overflow failed.
15847 * libio/iopadn.c (_IO_padn): Likewise.
15848 * libio/iowpadn.c (_IO_wpadn): Likewise.
15849 * stdio-common/tst-put-error.c: Add copyright notice.
15850 (do_test): Add case for printing padded string.
15851 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15852 _IO_padn returned error.
15853 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15854 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15857 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15859 * libio/libioP.h: Add comment note that the references to C++
15860 bits are now obsolete.
15862 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15864 * math/libm-test.inc (check_complex): Use asprintf.
15866 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15868 * debug/pcprofiledump.c (print_version): Update copyright year.
15869 * malloc/memusagestat.c (print_version): Likewise.
15871 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15874 * elf/Makefile (tests): Add tst-audit8.
15875 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15876 ($(objpfx)tst-audit8.out): New target.
15877 (tst-audit8-ENV): New variable.
15878 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15879 audit if l_reloc_result is NULL.
15880 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15881 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15882 * elf/tst-audit8.c: New file.
15884 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15886 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15887 * misc/Makefile (CFLAGS-select.c): Define.
15888 * posix/Makefile (CFLAGS-pause.c): Define.
15890 2012-11-13 David S. Miller <davem@davemloft.net>
15892 * crypt/Makefile: Move test targets after toplevel Rules
15893 inclusion. Grab any necessary sysdep routines when linking.
15894 * crypt/md5.c (md5_process_block): Remove define, we will always
15895 name it __md5_process_block.
15896 (md5_finish_ctx): Update md5_process_block call.
15897 (md5_stream): Likewise.
15898 (md5_process_bytes): Likewise.
15899 (md5_process_block): Rename to __md5_process_block and move to ...
15900 * crypt/md5-block.c: ... here.
15901 * crypt/sha256.c (sha256_process_block): Move to ...
15902 * crypt/sha256-block.c: ... here.
15903 * crypt/sha512.c (sha512_process_block): Move to ...
15904 * crypt/sha512-block.c: ... here.
15905 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15907 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15908 * sysdeps/sparc/sparc64/multiarch/Makefile
15909 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15911 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15912 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15914 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15915 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15916 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15917 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15918 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15919 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15920 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15921 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15925 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15929 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15931 * timezone/tzselect.ksh: Update from tzcode git revision
15932 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15933 * timezone/zdump.c: Likewise.
15934 * timezone/zic.c: Likewise.
15935 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15936 in TZVERSION setting, not $(PKGVERSION).
15937 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15938 REPORT_BUGS_TO settings.
15941 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15944 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15946 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15947 detection to immediately after _FP_ROUND().
15948 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15951 2012-11-11 David S. Miller <davem@davemloft.net>
15953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15955 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15956 __close rather than their public counterparts.
15958 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15960 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15962 [UNIX98] (sem_timedwait): Do not expect.
15963 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15964 [XPG4 || UNIX98] (sockatmark): Do not expect.
15965 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15966 (clock_getcpuclockid): Do not expect.
15967 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15968 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15970 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15971 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15972 [UNIX98] (vwscanf): Likewise.
15973 [UNIX98] (vswscanf): Likewise.
15975 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15977 * timezone/version.h: Remove file.
15978 * timezone/README: Do not refer to version.h.
15979 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15980 $(objpfx)version.h.
15981 ($(objpfx)zdump.o): Likewise.
15982 ($(objpfx)version.h): New target.
15984 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15986 * timezone/README: Don't mention modification to tzselect.ksh.
15987 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15988 work on unmodified tzselect.ksh. Substitute version numbers in
15991 * Makefile (format-me): Remove.
15992 (INSTALL): Adjust indentation. Use commands directly instead of
15993 using $(format-me).
15995 * aclocal.m4 (ACX_PKGVERSION): New macro.
15996 (ACX_BUGURL): Likewise.
15997 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15998 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15999 (REPORT_BUGS_TO): Likewise.
16000 * configure: Regenerated.
16001 * config.h.in (PKGVERSION): New macro.
16002 (REPORT_BUGS_TO): Likewise.
16003 * config.make.in (PKGVERSION): New variable.
16004 (PKGVERSION_TEXI): Likewise.
16005 (REPORT_BUGS_TO): Likewise.
16006 (REPORT_BUGS_TEXI): Likewise.
16007 * Makefile (format-me): Use -I$(common-objpfx)manual.
16008 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16009 ($(common-objpfx)manual/%): New target.
16010 (manual/%): Remove target.
16011 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16012 (print_version): Use PKGVERSION.
16013 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16014 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16015 and REPORT_BUGS_TO.
16016 ($(objpfx)xtrace): Likewise.
16017 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16018 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16019 (print_version): Use PKGVERSION.
16020 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16021 (do_version): Use PKGVERSION.
16022 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16024 (common-ldd-rewrite): Likewise.
16025 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16026 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16027 (print_version): Use PKGVERSION.
16028 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16029 * elf/pldd.c (argp_program_bug_address): Remove variable.
16030 (more_help): New function.
16031 (argp): Use more_help.
16032 (print_version): Use PKGVERSION.
16033 * elf/sln.c (main): Use PKGVERSION.
16034 (usage): Use REPORT_BUGS_TO.
16035 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16036 (top level): Use PKGVERSION.
16037 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16038 (print_version): Use PKGVERSION.
16039 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16040 (print_version): Use PKGVERSION.
16041 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16042 (print_version): Use PKGVERSION.
16043 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16044 (print_version): Use PKGVERSION.
16045 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16046 (print_version): Use PKGVERSION.
16047 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16048 (print_version): Use PKGVERSION.
16049 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16051 ($(objpfx)memusage): Likewise.
16052 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16053 (do_version): Use PKGVERSION.
16054 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16055 (print_version): Use PKGVERSION.
16056 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16057 ($PKGVERSION): New variable.
16058 ($REPORT_BUGS_TO): Likewise.
16059 (usage): Use $REPORT_BUGS_TO.
16060 (top level): Use $PKGVERSION.
16061 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16062 ($(objpfx)pkgvers.texi): New rule.
16063 ($(objpfx)stamp-pkgvers): Likewise.
16064 * manual/install.texi: Include pkgvers.texi.
16065 (--with-pkgversion): Document new configure option.
16066 (--with-bugurl): Likewise.
16067 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16068 than necessarily for this particular distribution. Use
16069 REPORT_BUGS_TO for where to report bugs.
16070 * INSTALL: Regenerated.
16071 * manual/libc.texinfo: Include pkgvers.texi.
16072 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16073 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16074 (print_version): Use PKGVERSION.
16075 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16076 (print_version): Use PKGVERSION.
16077 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16078 (print_version): Use PKGVERSION.
16079 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16080 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16082 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16083 (print_version): Use PKGVERSION.
16084 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16085 (print_version): Use PKGVERSION.
16086 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16089 * timezone/checktab.awk: Update from tzcode 2012i.
16090 * timezone/ialloc.c: Likewise.
16091 * timezone/private.h: Likewise.
16092 * timezone/scheck.c: Likewise.
16093 * timezone/tzfile.h: Likewise.
16094 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16095 (TZVERSION): Hardcode tzcode version number.
16096 * timezone/zdump.c: Update from tzcode 2012i.
16097 * timezone/zic.c: Likewise.
16098 * timezone/version.h: New file.
16099 * timezone/README: Describe version.h. Update upstream location.
16102 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16103 (mktemp): Enable declaration.
16104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16121 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16122 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16123 for copies of such integer values.
16124 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16125 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16127 2012-11-09 Andreas Jaeger <aj@suse.de>
16129 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16130 definitions and declarations that are provided by
16131 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16133 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16135 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16136 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16137 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16140 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16142 * elf/elf.h: Update comment before AArch64 relocations.
16144 2012-11-07 David S. Miller <davem@davemloft.net>
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16148 (__start_context): Declare.
16149 (__makecontext_ret): Delete.
16150 (__makecontext): Hook up __start_context instead of
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16153 (sysdep_routines): Add __start_context when in stdlib.
16155 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16157 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16158 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16159 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16161 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16162 (READELF): New variable. Use it instead of hardcoded "readelf".
16164 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16166 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16167 * sysdeps/x86/Makefile: Here.
16168 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16169 * sysdeps/x86/tst-xmmymm.sh: This.
16171 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16173 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16175 [UNIX98] (pthread_barrier_t): Do not expect.
16176 [UNIX98] (pthread_barrierattr_t): Likewise.
16177 [UNIX98] (pthread_spinlock_t): Likewise.
16178 [UNIX98] (pthread_barrier_destroy): Likewise.
16179 [UNIX98] (pthread_barrier_init): Likewise.
16180 [UNIX98] (pthread_barrier_wait): Likewise.
16181 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16182 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16183 [UNIX98] (pthread_barrierattr_init): Likewise.
16184 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16185 [UNIX98] (pthread_getcpuclockid): Likewise.
16186 [UNIX98] (pthread_mutex_timedlock): Likewise.
16187 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16188 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16189 [UNIX98] (pthread_sigmask): Likewise.
16190 [UNIX98] (pthread_spin_destroy): Likewise.
16191 [UNIX98] (pthread_spin_init): Likewise.
16192 [UNIX98] (pthread_spin_lock): Likewise.
16193 [UNIX98] (pthread_spin_trylock): Likewise.
16194 [UNIX98] (pthread_spin_unlock): Likewise.
16195 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16197 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16199 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16200 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16201 [XPG3 || XPG4] (pthread_key_t): Likewise.
16202 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16203 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16204 [XPG3 || XPG4] (pthread_once_t): Likewise.
16205 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16206 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16208 [XPG3 || XPG4] (pthread_t): Likewise.
16210 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16212 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16214 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16215 Change function return type to int.
16217 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16218 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16219 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16220 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16221 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16222 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16223 [!POSIX] (posix_madvise): Likewise.
16224 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16226 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16227 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16228 (mode_t): Likewise.
16229 (posix_mem_offset): Likewise.
16230 (posix_typed_mem_get_info): Likewise.
16231 (posix_typed_mem_open): Likewise.
16233 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16234 Change condition to [XOPEN2K8].
16236 * conform/conformtest.pl: Preprocess allow-header data with -x c
16237 instead of from stdin.
16238 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16239 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16240 [C99-based standards] (cerfc): Likewise.
16241 [C99-based standards] (cexp2): Likewise.
16242 [C99-based standards] (cexpm1): Likewise.
16243 [C99-based standards] (clog10): Likewise.
16244 [C99-based standards] (clog1p): Likewise.
16245 [C99-based standards] (clog2): Likewise.
16246 [C99-based standards] (clgamma): Likewise.
16247 [C99-based standards] (ctgamma): Likewise.
16248 [C99-based standards] (cerff): Likewise.
16249 [C99-based standards] (cerfcf): Likewise.
16250 [C99-based standards] (cexp2f): Likewise.
16251 [C99-based standards] (cexpm1f): Likewise.
16252 [C99-based standards] (clog10f): Likewise.
16253 [C99-based standards] (clog1pf): Likewise.
16254 [C99-based standards] (clog2f): Likewise.
16255 [C99-based standards] (clgammaf): Likewise.
16256 [C99-based standards] (ctgammaf): Likewise.
16257 [C99-based standards] (cerfl): Likewise.
16258 [C99-based standards] (cerfcl): Likewise.
16259 [C99-based standards] (cexp2l): Likewise.
16260 [C99-based standards] (cexpm1l): Likewise.
16261 [C99-based standards] (clog10l): Likewise.
16262 [C99-based standards] (clog1pl): Likewise.
16263 [C99-based standards] (clog2l): Likewise.
16264 [C99-based standards] (clgammal): Likewise.
16265 [C99-based standards] (ctgammal): Likewise.
16266 * conform/data/inttypes.h-data [C99-based standards]: Include
16267 stdint.h-data. Remove all expectations for stdint.h contents.
16268 [C99-based standards] (PRI*): Do not allow.
16269 [C99-based standards] (SCN*): Likewise.
16270 [C99-based standards] (*_t): Likewise.
16271 [C99-based-standards] (PRId8): Expect macro.
16272 [C99-based-standards] (PRIi8): Likewise.
16273 [C99-based-standards] (PRIo8): Likewise.
16274 [C99-based-standards] (PRIu8): Likewise.
16275 [C99-based-standards] (PRIx8): Likewise.
16276 [C99-based-standards] (PRIX8): Likewise.
16277 [C99-based-standards] (SCNd8): Likewise.
16278 [C99-based-standards] (SCNi8): Likewise.
16279 [C99-based-standards] (SCNo8): Likewise.
16280 [C99-based-standards] (SCNu8): Likewise.
16281 [C99-based-standards] (SCNx8): Likewise.
16282 [C99-based-standards] (PRIdLEAST8): Likewise.
16283 [C99-based-standards] (PRIiLEAST8): Likewise.
16284 [C99-based-standards] (PRIoLEAST8): Likewise.
16285 [C99-based-standards] (PRIuLEAST8): Likewise.
16286 [C99-based-standards] (PRIxLEAST8): Likewise.
16287 [C99-based-standards] (PRIXLEAST8): Likewise.
16288 [C99-based-standards] (SCNdLEAST8): Likewise.
16289 [C99-based-standards] (SCNiLEAST8): Likewise.
16290 [C99-based-standards] (SCNoLEAST8): Likewise.
16291 [C99-based-standards] (SCNuLEAST8): Likewise.
16292 [C99-based-standards] (SCNxLEAST8): Likewise.
16293 [C99-based-standards] (PRIdFAST8): Likewise.
16294 [C99-based-standards] (PRIiFAST8): Likewise.
16295 [C99-based-standards] (PRIoFAST8): Likewise.
16296 [C99-based-standards] (PRIuFAST8): Likewise.
16297 [C99-based-standards] (PRIxFAST8): Likewise.
16298 [C99-based-standards] (PRIXFAST8): Likewise.
16299 [C99-based-standards] (SCNdFAST8): Likewise.
16300 [C99-based-standards] (SCNiFAST8): Likewise.
16301 [C99-based-standards] (SCNoFAST8): Likewise.
16302 [C99-based-standards] (SCNuFAST8): Likewise.
16303 [C99-based-standards] (SCNxFAST8): Likewise.
16304 [C99-based-standards] (PRId16): Likewise.
16305 [C99-based-standards] (PRIi16): Likewise.
16306 [C99-based-standards] (PRIo16): Likewise.
16307 [C99-based-standards] (PRIu16): Likewise.
16308 [C99-based-standards] (PRIx16): Likewise.
16309 [C99-based-standards] (PRIX16): Likewise.
16310 [C99-based-standards] (SCNd16): Likewise.
16311 [C99-based-standards] (SCNi16): Likewise.
16312 [C99-based-standards] (SCNo16): Likewise.
16313 [C99-based-standards] (SCNu16): Likewise.
16314 [C99-based-standards] (SCNx16): Likewise.
16315 [C99-based-standards] (PRIdLEAST16): Likewise.
16316 [C99-based-standards] (PRIiLEAST16): Likewise.
16317 [C99-based-standards] (PRIoLEAST16): Likewise.
16318 [C99-based-standards] (PRIuLEAST16): Likewise.
16319 [C99-based-standards] (PRIxLEAST16): Likewise.
16320 [C99-based-standards] (PRIXLEAST16): Likewise.
16321 [C99-based-standards] (SCNdLEAST16): Likewise.
16322 [C99-based-standards] (SCNiLEAST16): Likewise.
16323 [C99-based-standards] (SCNoLEAST16): Likewise.
16324 [C99-based-standards] (SCNuLEAST16): Likewise.
16325 [C99-based-standards] (SCNxLEAST16): Likewise.
16326 [C99-based-standards] (PRIdFAST16): Likewise.
16327 [C99-based-standards] (PRIiFAST16): Likewise.
16328 [C99-based-standards] (PRIoFAST16): Likewise.
16329 [C99-based-standards] (PRIuFAST16): Likewise.
16330 [C99-based-standards] (PRIxFAST16): Likewise.
16331 [C99-based-standards] (PRIXFAST16): Likewise.
16332 [C99-based-standards] (SCNdFAST16): Likewise.
16333 [C99-based-standards] (SCNiFAST16): Likewise.
16334 [C99-based-standards] (SCNoFAST16): Likewise.
16335 [C99-based-standards] (SCNuFAST16): Likewise.
16336 [C99-based-standards] (SCNxFAST16): Likewise.
16337 [C99-based-standards] (PRId32): Likewise.
16338 [C99-based-standards] (PRIi32): Likewise.
16339 [C99-based-standards] (PRIo32): Likewise.
16340 [C99-based-standards] (PRIu32): Likewise.
16341 [C99-based-standards] (PRIx32): Likewise.
16342 [C99-based-standards] (PRIX32): Likewise.
16343 [C99-based-standards] (SCNd32): Likewise.
16344 [C99-based-standards] (SCNi32): Likewise.
16345 [C99-based-standards] (SCNo32): Likewise.
16346 [C99-based-standards] (SCNu32): Likewise.
16347 [C99-based-standards] (SCNx32): Likewise.
16348 [C99-based-standards] (PRIdLEAST32): Likewise.
16349 [C99-based-standards] (PRIiLEAST32): Likewise.
16350 [C99-based-standards] (PRIoLEAST32): Likewise.
16351 [C99-based-standards] (PRIuLEAST32): Likewise.
16352 [C99-based-standards] (PRIxLEAST32): Likewise.
16353 [C99-based-standards] (PRIXLEAST32): Likewise.
16354 [C99-based-standards] (SCNdLEAST32): Likewise.
16355 [C99-based-standards] (SCNiLEAST32): Likewise.
16356 [C99-based-standards] (SCNoLEAST32): Likewise.
16357 [C99-based-standards] (SCNuLEAST32): Likewise.
16358 [C99-based-standards] (SCNxLEAST32): Likewise.
16359 [C99-based-standards] (PRIdFAST32): Likewise.
16360 [C99-based-standards] (PRIiFAST32): Likewise.
16361 [C99-based-standards] (PRIoFAST32): Likewise.
16362 [C99-based-standards] (PRIuFAST32): Likewise.
16363 [C99-based-standards] (PRIxFAST32): Likewise.
16364 [C99-based-standards] (PRIXFAST32): Likewise.
16365 [C99-based-standards] (SCNdFAST32): Likewise.
16366 [C99-based-standards] (SCNiFAST32): Likewise.
16367 [C99-based-standards] (SCNoFAST32): Likewise.
16368 [C99-based-standards] (SCNuFAST32): Likewise.
16369 [C99-based-standards] (SCNxFAST32): Likewise.
16370 [C99-based-standards] (PRId64): Likewise.
16371 [C99-based-standards] (PRIi64): Likewise.
16372 [C99-based-standards] (PRIo64): Likewise.
16373 [C99-based-standards] (PRIu64): Likewise.
16374 [C99-based-standards] (PRIx64): Likewise.
16375 [C99-based-standards] (PRIX64): Likewise.
16376 [C99-based-standards] (SCNd64): Likewise.
16377 [C99-based-standards] (SCNi64): Likewise.
16378 [C99-based-standards] (SCNo64): Likewise.
16379 [C99-based-standards] (SCNu64): Likewise.
16380 [C99-based-standards] (SCNx64): Likewise.
16381 [C99-based-standards] (PRIdLEAST64): Likewise.
16382 [C99-based-standards] (PRIiLEAST64): Likewise.
16383 [C99-based-standards] (PRIoLEAST64): Likewise.
16384 [C99-based-standards] (PRIuLEAST64): Likewise.
16385 [C99-based-standards] (PRIxLEAST64): Likewise.
16386 [C99-based-standards] (PRIXLEAST64): Likewise.
16387 [C99-based-standards] (SCNdLEAST64): Likewise.
16388 [C99-based-standards] (SCNiLEAST64): Likewise.
16389 [C99-based-standards] (SCNoLEAST64): Likewise.
16390 [C99-based-standards] (SCNuLEAST64): Likewise.
16391 [C99-based-standards] (SCNxLEAST64): Likewise.
16392 [C99-based-standards] (PRIdFAST64): Likewise.
16393 [C99-based-standards] (PRIiFAST64): Likewise.
16394 [C99-based-standards] (PRIoFAST64): Likewise.
16395 [C99-based-standards] (PRIuFAST64): Likewise.
16396 [C99-based-standards] (PRIxFAST64): Likewise.
16397 [C99-based-standards] (PRIXFAST64): Likewise.
16398 [C99-based-standards] (SCNdFAST64): Likewise.
16399 [C99-based-standards] (SCNiFAST64): Likewise.
16400 [C99-based-standards] (SCNoFAST64): Likewise.
16401 [C99-based-standards] (SCNuFAST64): Likewise.
16402 [C99-based-standards] (SCNxFAST64): Likewise.
16403 [C99-based-standards] (PRIdMAX): Likewise.
16404 [C99-based-standards] (PRIiMAX): Likewise.
16405 [C99-based-standards] (PRIoMAX): Likewise.
16406 [C99-based-standards] (PRIuMAX): Likewise.
16407 [C99-based-standards] (PRIxMAX): Likewise.
16408 [C99-based-standards] (PRIXMAX): Likewise.
16409 [C99-based-standards] (SCNdMAX): Likewise.
16410 [C99-based-standards] (SCNiMAX): Likewise.
16411 [C99-based-standards] (SCNoMAX): Likewise.
16412 [C99-based-standards] (SCNuMAX): Likewise.
16413 [C99-based-standards] (SCNxMAX): Likewise.
16414 [C99-based-standards] (PRIdPTR): Likewise.
16415 [C99-based-standards] (PRIiPTR): Likewise.
16416 [C99-based-standards] (PRIoPTR): Likewise.
16417 [C99-based-standards] (PRIuPTR): Likewise.
16418 [C99-based-standards] (PRIxPTR): Likewise.
16419 [C99-based-standards] (PRIXPTR): Likewise.
16420 [C99-based-standards] (SCNdPTR): Likewise.
16421 [C99-based-standards] (SCNiPTR): Likewise.
16422 [C99-based-standards] (SCNoPTR): Likewise.
16423 [C99-based-standards] (SCNuPTR): Likewise.
16424 [C99-based-standards] (SCNxPTR): Likewise.
16425 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16427 * conform/data/stdint.h-data: Update comments to clarify
16429 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16431 [C99-based standards] (INT8_MAX): Likewise.
16432 [C99-based standards] (INT16_MIN): Likewise.
16433 [C99-based standards] (INT16_MAX): Likewise.
16434 [C99-based standards] (INT32_MIN): Likewise.
16435 [C99-based standards] (INT32_MAX): Likewise.
16436 [C99-based standards] (INT64_MIN): Likewise.
16437 [C99-based standards] (INT64_MAX): Likewise.
16438 [C99-based standards] (UINT8_MAX): Likewise.
16439 [C99-based standards] (UINT16_MAX): Likewise.
16440 [C99-based standards] (UINT32_MAX): Likewise.
16441 [C99-based standards] (UINT64_MAX): Likewise.
16442 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16443 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16444 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16445 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16446 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16447 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16448 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16449 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16450 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16451 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16452 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16453 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16454 [C99-based standards] (INT_FAST8_MIN): Likewise.
16455 [C99-based standards] (INT_FAST8_MAX): Likewise.
16456 [C99-based standards] (INT_FAST16_MIN): Likewise.
16457 [C99-based standards] (INT_FAST16_MAX): Likewise.
16458 [C99-based standards] (INT_FAST32_MIN): Likewise.
16459 [C99-based standards] (INT_FAST32_MAX): Likewise.
16460 [C99-based standards] (INT_FAST64_MIN): Likewise.
16461 [C99-based standards] (INT_FAST64_MAX): Likewise.
16462 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16463 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16464 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16465 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16466 [C99-based standards] (INTPTR_MIN): Likewise.
16467 [C99-based standards] (INTPTR_MAX): Likewise.
16468 [C99-based standards] (UINTPTR_MAX): Likewise.
16469 [C99-based standards] (INTMAX_MIN): Likewise.
16470 [C99-based standards] (INTMAX_MAX): Likewise.
16471 [C99-based standards] (UINTMAX_MAX): Likewise.
16472 [C99-based standards] (PTRDIFF_MIN): Likewise.
16473 [C99-based standards] (PTRDIFF_MAX): Likewise.
16474 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16475 [C99-based standards] (SIZE_MAX): Likewise.
16476 [C99-based standards] (WCHAR_MAX): Likewise.
16477 [C99-based standards] (WINT_MAX): Likewise.
16478 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16479 constraint on value.
16480 [C99-based standards] (WCHAR_MIN): Likewise.
16481 [C99-based standards] (WINT_MIN): Likewise.
16482 [C99-based standards] (*_t): Allow.
16483 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16484 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16485 Include math.h-data and complex.h-data. Remove all expectations
16486 of math.h and complex.h contents.
16487 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16489 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16490 (struct tm): Expect tag.
16491 [C99-based-standards] (wcstof): Expect function.
16492 [C99-based-standards] (wcstold): Likewise.
16493 [C99-based-standards] (wcstoll): Likewise.
16494 [C99-based-standards] (wcstoull): Likewise.
16495 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16496 macro-int-constant. Specify type.
16497 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16498 constraint on value.
16499 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16501 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16503 [ISO C standards]: Do not allow headers.
16504 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16505 wcs[abcdefghijklmnopqrstuvwxyz]*.
16506 [ISO C standards] (*_t): Do not allow.
16507 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16509 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16510 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16512 [ISO C standards]: Do not allow headers.
16513 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16514 is[abcdefghijklmnopqrstuvwxyz]*.
16515 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16516 to[abcdefghijklmnopqrstuvwxyz]*.
16517 [ISO C standards] (*_t): Do not allow.
16518 * conform/data/stdalign.h-data: New file.
16519 * conform/data/stdbool.h-data: Likewise.
16520 * conform/data/stdnoreturn.h-data: Likewise.
16522 2012-11-07 Roland McGrath <roland@hack.frob.com>
16525 * manual/filesys.texi (Directory Entries): Typo fix.
16526 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16528 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16530 * elf/elf.h (EM_AARCH64): New macro.
16531 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16532 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16533 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16534 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16535 (R_AARCH64_TLSDESC): Likewise.
16536 (NT_ARM_TLS): Likewise.
16537 (NT_ARM_HW_BREAK): Likewise.
16538 (NT_ARM_HW_WATCH): Likewise.
16540 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16543 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16544 (__ieee754_powl): Saturate nonzero exponents with absolute value
16545 below 0x1p-79 to +/- 0x1p-79.
16546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16547 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16548 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16549 nonzero exponents with absolute value below 0x1p-32 to +/-
16551 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16552 (__ieee754_powl): Saturate nonzero exponents with absolute value
16553 below 0x1p-79 to +/- 0x1p-79.
16554 * math/libm-test.inc (pow_test): Add more tests.
16556 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16558 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16559 _dl_s390_cap_flags with kernel. Increase string length.
16560 (_dl_s390_platforms): Add z196 and zEC12.
16562 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16564 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16565 Change XOPEN21K to XOPEN2K.
16567 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16569 * string/memmove.c: Use memcpy when possible.
16571 2012-11-06 Andreas Jaeger <aj@suse.de>
16573 * po/eo.po: Update from translation team.
16575 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16579 exponent and small x and y exponents, scale x or y up. Increase
16580 by 2 the exponent used in scaling up.
16581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16583 * math/libm-test.inc (fma_test): Add more tests.
16584 (fma_test_towardzero): Likewise.
16585 (fma_test_downward): Likewise.
16586 (fma_test_upward): Likewise.
16588 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16591 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16595 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16596 namespace for names of struct fields.
16597 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16599 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16600 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16602 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16605 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16607 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16609 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16613 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16616 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16620 definitely overflow as x * y not x * y + z.
16621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16623 * math/libm-test.inc (fma_test): Add more tests.
16624 (fma_test_towardzero): Likewise.
16625 (fma_test_downward): Likewise.
16626 (fma_test_upward): Likewise.
16628 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16632 * include/stub-tag.h: Remove file.
16633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16635 * manual/maint.texi (Porting): Don't reference it.
16636 * Makerules ($(objpfx)stubs): Likewise.
16637 * dirent/closedir.c: Don't include <stub-tag.h>.
16638 * dirent/dirfd.c: Likewise.
16639 * dirent/fdopendir.c: Likewise.
16640 * dirent/getdents.c: Likewise.
16641 * dirent/getdents64.c: Likewise.
16642 * dirent/opendir.c: Likewise.
16643 * dirent/readdir.c: Likewise.
16644 * dirent/readdir64.c: Likewise.
16645 * dirent/readdir64_r.c: Likewise.
16646 * dirent/readdir_r.c: Likewise.
16647 * dirent/rewinddir.c: Likewise.
16648 * dirent/seekdir.c: Likewise.
16649 * dirent/telldir.c: Likewise.
16650 * gmon/profil.c: Likewise.
16651 * grp/setgroups.c: Likewise.
16652 * inet/if_index.c: Likewise.
16653 * io/access.c: Likewise.
16654 * io/chdir.c: Likewise.
16655 * io/chmod.c: Likewise.
16656 * io/chown.c: Likewise.
16657 * io/close.c: Likewise.
16658 * io/dup.c: Likewise.
16659 * io/dup2.c: Likewise.
16660 * io/dup3.c: Likewise.
16661 * io/euidaccess.c: Likewise.
16662 * io/faccessat.c: Likewise.
16663 * io/fchdir.c: Likewise.
16664 * io/fchmod.c: Likewise.
16665 * io/fchmodat.c: Likewise.
16666 * io/fchown.c: Likewise.
16667 * io/fchownat.c: Likewise.
16668 * io/fcntl.c: Likewise.
16669 * io/flock.c: Likewise.
16670 * io/fstatfs.c: Likewise.
16671 * io/fstatfs64.c: Likewise.
16672 * io/fstatvfs.c: Likewise.
16673 * io/fstatvfs64.c: Likewise.
16674 * io/futimens.c: Likewise.
16675 * io/fxstat.c: Likewise.
16676 * io/fxstat64.c: Likewise.
16677 * io/fxstatat.c: Likewise.
16678 * io/fxstatat64.c: Likewise.
16679 * io/getcwd.c: Likewise.
16680 * io/isatty.c: Likewise.
16681 * io/lchmod.c: Likewise.
16682 * io/lchown.c: Likewise.
16683 * io/link.c: Likewise.
16684 * io/linkat.c: Likewise.
16685 * io/lseek.c: Likewise.
16686 * io/lseek64.c: Likewise.
16687 * io/lxstat64.c: Likewise.
16688 * io/mkdir.c: Likewise.
16689 * io/mkdirat.c: Likewise.
16690 * io/mkfifo.c: Likewise.
16691 * io/mkfifoat.c: Likewise.
16692 * io/open.c: Likewise.
16693 * io/open64.c: Likewise.
16694 * io/openat.c: Likewise.
16695 * io/openat64.c: Likewise.
16696 * io/pipe.c: Likewise.
16697 * io/pipe2.c: Likewise.
16698 * io/poll.c: Likewise.
16699 * io/posix_fadvise.c: Likewise.
16700 * io/posix_fadvise64.c: Likewise.
16701 * io/posix_fallocate.c: Likewise.
16702 * io/posix_fallocate64.c: Likewise.
16703 * io/read.c: Likewise.
16704 * io/readlink.c: Likewise.
16705 * io/readlinkat.c: Likewise.
16706 * io/rmdir.c: Likewise.
16707 * io/sendfile.c: Likewise.
16708 * io/sendfile64.c: Likewise.
16709 * io/statfs.c: Likewise.
16710 * io/statfs64.c: Likewise.
16711 * io/statvfs.c: Likewise.
16712 * io/statvfs64.c: Likewise.
16713 * io/symlink.c: Likewise.
16714 * io/symlinkat.c: Likewise.
16715 * io/ttyname.c: Likewise.
16716 * io/ttyname_r.c: Likewise.
16717 * io/umask.c: Likewise.
16718 * io/unlink.c: Likewise.
16719 * io/unlinkat.c: Likewise.
16720 * io/utime.c: Likewise.
16721 * io/utimensat.c: Likewise.
16722 * io/write.c: Likewise.
16723 * io/xmknod.c: Likewise.
16724 * io/xmknodat.c: Likewise.
16725 * io/xstat.c: Likewise.
16726 * io/xstat64.c: Likewise.
16727 * login/getpt.c: Likewise.
16728 * login/grantpt.c: Likewise.
16729 * login/unlockpt.c: Likewise.
16730 * math/e_acoshl.c: Likewise.
16731 * math/e_acosl.c: Likewise.
16732 * math/e_asinl.c: Likewise.
16733 * math/e_atan2l.c: Likewise.
16734 * math/e_atanhl.c: Likewise.
16735 * math/e_coshl.c: Likewise.
16736 * math/e_expl.c: Likewise.
16737 * math/e_fmodl.c: Likewise.
16738 * math/e_gammal_r.c: Likewise.
16739 * math/e_hypotl.c: Likewise.
16740 * math/e_j0l.c: Likewise.
16741 * math/e_j1l.c: Likewise.
16742 * math/e_jnl.c: Likewise.
16743 * math/e_lgammal_r.c: Likewise.
16744 * math/e_log10l.c: Likewise.
16745 * math/e_log2l.c: Likewise.
16746 * math/e_logl.c: Likewise.
16747 * math/e_powl.c: Likewise.
16748 * math/e_rem_pio2l.c: Likewise.
16749 * math/e_sinhl.c: Likewise.
16750 * math/e_sqrtl.c: Likewise.
16751 * math/fclrexcpt.c: Likewise.
16752 * math/fedisblxcpt.c: Likewise.
16753 * math/feenablxcpt.c: Likewise.
16754 * math/fegetenv.c: Likewise.
16755 * math/fegetexcept.c: Likewise.
16756 * math/fegetround.c: Likewise.
16757 * math/feholdexcpt.c: Likewise.
16758 * math/fesetenv.c: Likewise.
16759 * math/fesetround.c: Likewise.
16760 * math/feupdateenv.c: Likewise.
16761 * math/fgetexcptflg.c: Likewise.
16762 * math/fraiseexcpt.c: Likewise.
16763 * math/fsetexcptflg.c: Likewise.
16764 * math/ftestexcept.c: Likewise.
16765 * math/k_cosl.c: Likewise.
16766 * math/k_rem_pio2l.c: Likewise.
16767 * math/k_sinl.c: Likewise.
16768 * math/k_tanl.c: Likewise.
16769 * math/s_asinhl.c: Likewise.
16770 * math/s_atanl.c: Likewise.
16771 * math/s_cbrtl.c: Likewise.
16772 * math/s_erfl.c: Likewise.
16773 * math/s_expm1l.c: Likewise.
16774 * math/s_log1pl.c: Likewise.
16775 * math/s_tanhl.c: Likewise.
16776 * misc/acct.c: Likewise.
16777 * misc/brk.c: Likewise.
16778 * misc/chflags.c: Likewise.
16779 * misc/chroot.c: Likewise.
16780 * misc/fchflags.c: Likewise.
16781 * misc/fgetxattr.c: Likewise.
16782 * misc/flistxattr.c: Likewise.
16783 * misc/fremovexattr.c: Likewise.
16784 * misc/fsetxattr.c: Likewise.
16785 * misc/fsync.c: Likewise.
16786 * misc/ftruncate.c: Likewise.
16787 * misc/futimes.c: Likewise.
16788 * misc/futimesat.c: Likewise.
16789 * misc/getdomain.c: Likewise.
16790 * misc/getdtsz.c: Likewise.
16791 * misc/gethostid.c: Likewise.
16792 * misc/gethostname.c: Likewise.
16793 * misc/getloadavg.c: Likewise.
16794 * misc/getpagesize.c: Likewise.
16795 * misc/getsysstats.c: Likewise.
16796 * misc/getxattr.c: Likewise.
16797 * misc/gtty.c: Likewise.
16798 * misc/ioctl.c: Likewise.
16799 * misc/lgetxattr.c: Likewise.
16800 * misc/listxattr.c: Likewise.
16801 * misc/llistxattr.c: Likewise.
16802 * misc/lremovexattr.c: Likewise.
16803 * misc/lsetxattr.c: Likewise.
16804 * misc/lutimes.c: Likewise.
16805 * misc/madvise.c: Likewise.
16806 * misc/mincore.c: Likewise.
16807 * misc/mlock.c: Likewise.
16808 * misc/mlockall.c: Likewise.
16809 * misc/mmap.c: Likewise.
16810 * misc/mprotect.c: Likewise.
16811 * misc/msync.c: Likewise.
16812 * misc/munlock.c: Likewise.
16813 * misc/munlockall.c: Likewise.
16814 * misc/munmap.c: Likewise.
16815 * misc/preadv.c: Likewise.
16816 * misc/preadv64.c: Likewise.
16817 * misc/ptrace.c: Likewise.
16818 * misc/pwritev.c: Likewise.
16819 * misc/pwritev64.c: Likewise.
16820 * misc/readv.c: Likewise.
16821 * misc/reboot.c: Likewise.
16822 * misc/remap_file_pages.c: Likewise.
16823 * misc/removexattr.c: Likewise.
16824 * misc/revoke.c: Likewise.
16825 * misc/select.c: Likewise.
16826 * misc/setdomain.c: Likewise.
16827 * misc/setegid.c: Likewise.
16828 * misc/seteuid.c: Likewise.
16829 * misc/sethostid.c: Likewise.
16830 * misc/sethostname.c: Likewise.
16831 * misc/setregid.c: Likewise.
16832 * misc/setreuid.c: Likewise.
16833 * misc/setxattr.c: Likewise.
16834 * misc/sstk.c: Likewise.
16835 * misc/stty.c: Likewise.
16836 * misc/swapoff.c: Likewise.
16837 * misc/swapon.c: Likewise.
16838 * misc/sync.c: Likewise.
16839 * misc/syncfs.c: Likewise.
16840 * misc/syscall.c: Likewise.
16841 * misc/truncate.c: Likewise.
16842 * misc/ualarm.c: Likewise.
16843 * misc/usleep.c: Likewise.
16844 * misc/ustat.c: Likewise.
16845 * misc/utimes.c: Likewise.
16846 * misc/vhangup.c: Likewise.
16847 * misc/writev.c: Likewise.
16848 * posix/_exit.c: Likewise.
16849 * posix/alarm.c: Likewise.
16850 * posix/execve.c: Likewise.
16851 * posix/fexecve.c: Likewise.
16852 * posix/fork.c: Likewise.
16853 * posix/fpathconf.c: Likewise.
16854 * posix/getaddrinfo.c: Likewise.
16855 * posix/getegid.c: Likewise.
16856 * posix/geteuid.c: Likewise.
16857 * posix/getgid.c: Likewise.
16858 * posix/getgroups.c: Likewise.
16859 * posix/getlogin.c: Likewise.
16860 * posix/getlogin_r.c: Likewise.
16861 * posix/getpgid.c: Likewise.
16862 * posix/getpid.c: Likewise.
16863 * posix/getppid.c: Likewise.
16864 * posix/getresgid.c: Likewise.
16865 * posix/getresuid.c: Likewise.
16866 * posix/getsid.c: Likewise.
16867 * posix/getuid.c: Likewise.
16868 * posix/glob64.c: Likewise.
16869 * posix/nanosleep.c: Likewise.
16870 * posix/pathconf.c: Likewise.
16871 * posix/pause.c: Likewise.
16872 * posix/posix_madvise.c: Likewise.
16873 * posix/pread.c: Likewise.
16874 * posix/pread64.c: Likewise.
16875 * posix/pwrite.c: Likewise.
16876 * posix/pwrite64.c: Likewise.
16877 * posix/sched_getaffinity.c: Likewise.
16878 * posix/sched_getp.c: Likewise.
16879 * posix/sched_gets.c: Likewise.
16880 * posix/sched_primax.c: Likewise.
16881 * posix/sched_primin.c: Likewise.
16882 * posix/sched_rr_gi.c: Likewise.
16883 * posix/sched_setaffinity.c: Likewise.
16884 * posix/sched_setp.c: Likewise.
16885 * posix/sched_sets.c: Likewise.
16886 * posix/sched_yield.c: Likewise.
16887 * posix/setgid.c: Likewise.
16888 * posix/setlogin.c: Likewise.
16889 * posix/setpgid.c: Likewise.
16890 * posix/setresgid.c: Likewise.
16891 * posix/setresuid.c: Likewise.
16892 * posix/setsid.c: Likewise.
16893 * posix/setuid.c: Likewise.
16894 * posix/sleep.c: Likewise.
16895 * posix/spawni.c: Likewise.
16896 * posix/sysconf.c: Likewise.
16897 * posix/times.c: Likewise.
16898 * posix/wait.c: Likewise.
16899 * posix/wait3.c: Likewise.
16900 * posix/wait4.c: Likewise.
16901 * posix/waitpid.c: Likewise.
16902 * resolv/gai_sigqueue.c: Likewise.
16903 * resource/getpriority.c: Likewise.
16904 * resource/getrlimit.c: Likewise.
16905 * resource/getrusage.c: Likewise.
16906 * resource/nice.c: Likewise.
16907 * resource/setpriority.c: Likewise.
16908 * resource/setrlimit.c: Likewise.
16909 * resource/ulimit.c: Likewise.
16910 * rt/aio_cancel.c: Likewise.
16911 * rt/aio_fsync.c: Likewise.
16912 * rt/aio_read.c: Likewise.
16913 * rt/aio_sigqueue.c: Likewise.
16914 * rt/aio_suspend.c: Likewise.
16915 * rt/aio_write.c: Likewise.
16916 * rt/clock_getres.c: Likewise.
16917 * rt/clock_gettime.c: Likewise.
16918 * rt/clock_nanosleep.c: Likewise.
16919 * rt/clock_settime.c: Likewise.
16920 * rt/lio_listio.c: Likewise.
16921 * rt/mq_close.c: Likewise.
16922 * rt/mq_getattr.c: Likewise.
16923 * rt/mq_notify.c: Likewise.
16924 * rt/mq_open.c: Likewise.
16925 * rt/mq_receive.c: Likewise.
16926 * rt/mq_send.c: Likewise.
16927 * rt/mq_setattr.c: Likewise.
16928 * rt/mq_timedreceive.c: Likewise.
16929 * rt/mq_timedsend.c: Likewise.
16930 * rt/mq_unlink.c: Likewise.
16931 * rt/shm_open.c: Likewise.
16932 * rt/shm_unlink.c: Likewise.
16933 * rt/timer_create.c: Likewise.
16934 * rt/timer_delete.c: Likewise.
16935 * rt/timer_getoverr.c: Likewise.
16936 * rt/timer_gettime.c: Likewise.
16937 * rt/timer_settime.c: Likewise.
16938 * setjmp/__longjmp.c: Likewise.
16939 * setjmp/setjmp.c: Likewise.
16940 * signal/kill.c: Likewise.
16941 * signal/killpg.c: Likewise.
16942 * signal/raise.c: Likewise.
16943 * signal/sigaction.c: Likewise.
16944 * signal/sigaltstack.c: Likewise.
16945 * signal/sigblock.c: Likewise.
16946 * signal/sigignore.c: Likewise.
16947 * signal/sigintr.c: Likewise.
16948 * signal/signal.c: Likewise.
16949 * signal/sigpause.c: Likewise.
16950 * signal/sigpending.c: Likewise.
16951 * signal/sigqueue.c: Likewise.
16952 * signal/sigreturn.c: Likewise.
16953 * signal/sigset.c: Likewise.
16954 * signal/sigsetmask.c: Likewise.
16955 * signal/sigstack.c: Likewise.
16956 * signal/sigsuspend.c: Likewise.
16957 * signal/sigtimedwait.c: Likewise.
16958 * signal/sigvec.c: Likewise.
16959 * signal/sigwait.c: Likewise.
16960 * signal/sigwaitinfo.c: Likewise.
16961 * signal/sysv_signal.c: Likewise.
16962 * socket/accept.c: Likewise.
16963 * socket/accept4.c: Likewise.
16964 * socket/bind.c: Likewise.
16965 * socket/connect.c: Likewise.
16966 * socket/getpeername.c: Likewise.
16967 * socket/getsockname.c: Likewise.
16968 * socket/getsockopt.c: Likewise.
16969 * socket/isfdtype.c: Likewise.
16970 * socket/listen.c: Likewise.
16971 * socket/recv.c: Likewise.
16972 * socket/recvfrom.c: Likewise.
16973 * socket/recvmsg.c: Likewise.
16974 * socket/send.c: Likewise.
16975 * socket/sendmsg.c: Likewise.
16976 * socket/sendto.c: Likewise.
16977 * socket/setsockopt.c: Likewise.
16978 * socket/shutdown.c: Likewise.
16979 * socket/sockatmark.c: Likewise.
16980 * socket/socket.c: Likewise.
16981 * socket/socketpair.c: Likewise.
16982 * stdio-common/ctermid.c: Likewise.
16983 * stdio-common/cuserid.c: Likewise.
16984 * stdio-common/remove.c: Likewise.
16985 * stdio-common/rename.c: Likewise.
16986 * stdio-common/renameat.c: Likewise.
16987 * stdio-common/tempname.c: Likewise.
16988 * stdlib/getcontext.c: Likewise.
16989 * stdlib/makecontext.c: Likewise.
16990 * stdlib/setcontext.c: Likewise.
16991 * stdlib/swapcontext.c: Likewise.
16992 * stdlib/system.c: Likewise.
16993 * streams/fattach.c: Likewise.
16994 * streams/fdetach.c: Likewise.
16995 * streams/getmsg.c: Likewise.
16996 * streams/getpmsg.c: Likewise.
16997 * streams/putmsg.c: Likewise.
16998 * streams/putpmsg.c: Likewise.
16999 * sysdeps/unix/bsd/getpt.c: Likewise.
17000 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17001 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17002 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17005 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17006 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17007 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17008 * sysvipc/msgctl.c: Likewise.
17009 * sysvipc/msgget.c: Likewise.
17010 * sysvipc/msgrcv.c: Likewise.
17011 * sysvipc/msgsnd.c: Likewise.
17012 * sysvipc/semctl.c: Likewise.
17013 * sysvipc/semget.c: Likewise.
17014 * sysvipc/semop.c: Likewise.
17015 * sysvipc/semtimedop.c: Likewise.
17016 * sysvipc/shmat.c: Likewise.
17017 * sysvipc/shmctl.c: Likewise.
17018 * sysvipc/shmdt.c: Likewise.
17019 * sysvipc/shmget.c: Likewise.
17020 * termios/tcdrain.c: Likewise.
17021 * termios/tcflow.c: Likewise.
17022 * termios/tcflush.c: Likewise.
17023 * termios/tcgetattr.c: Likewise.
17024 * termios/tcgetpgrp.c: Likewise.
17025 * termios/tcsendbrk.c: Likewise.
17026 * termios/tcsetattr.c: Likewise.
17027 * termios/tcsetpgrp.c: Likewise.
17028 * time/adjtime.c: Likewise.
17029 * time/clock.c: Likewise.
17030 * time/getitimer.c: Likewise.
17031 * time/gettimeofday.c: Likewise.
17032 * time/setitimer.c: Likewise.
17033 * time/settimeofday.c: Likewise.
17034 * time/stime.c: Likewise.
17035 * time/time.c: Likewise.
17037 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17039 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17042 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17044 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17046 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17050 FE_TONEAREST before applying Dekker multiplication and Knuth
17051 addition. Clear inexact exceptions and check for exact zero
17052 results afterwards.
17053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17054 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17056 * math/libm-test.inc (fma_test): Add more tests.
17057 (fma_test_towardzero): Likewise.
17058 (fma_test_downward): Likewise.
17059 (fma_test_upward): Likewise.
17060 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17062 (libc_fesetround): New macro.
17063 (libc_fesetroundf): Likewise.
17064 (libc_fesetroundl): Likewise.
17065 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17067 (libc_fesetround_387): Likewise.
17068 (libc_fesetroundf): New macro.
17069 (libc_fesetround): Likewise.
17070 (libc_fesetroundl): Likewise.
17071 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17073 (libc_fesetroundf): New macro.
17074 (libc_fesetround): Likewise.
17075 (libc_fesetroundl): Likewise.
17076 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17077 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17078 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17080 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17081 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17083 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17084 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17086 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17090 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17091 integer constant usable in #if and use that to give value to enum
17093 (FE_DIVBYZERO): Likewise.
17094 (FE_UNDERFLOW): Likewise.
17095 (FE_OVERFLOW): Likewise.
17096 (FE_INVALID): Likewise.
17097 (FE_INVALID_SNAN): Likewise.
17098 (FE_INVALID_ISI): Likewise.
17099 (FE_INVALID_IDI): Likewise.
17100 (FE_INVALID_ZDZ): Likewise.
17101 (FE_INVALID_IMZ): Likewise.
17102 (FE_INVALID_COMPARE): Likewise.
17103 (FE_INVALID_SOFTWARE): Likewise.
17104 (FE_INVALID_SQRT): Likewise.
17105 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17106 (FE_TONEAREST): Likewise.
17107 (FE_TOWARDZERO): Likewise.
17108 (FE_UPWARD): Likewise.
17109 (FE_DOWNWARD): Likewise.
17110 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17111 (FE_DIVBYZERO): Likewise.
17112 (FE_OVERFLOW): Likewise.
17113 (FE_UNDERFLOW): Likewise.
17114 (FE_INEXACT): Likewise.
17115 (FE_TONEAREST): Likewise.
17116 (FE_DOWNWARD): Likewise.
17117 (FE_UPWARD): Likewise.
17118 (FE_TOWARDZERO): Likewise.
17119 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17120 (FE_UNDERFLOW): Likewise.
17121 (FE_OVERFLOW): Likewise.
17122 (FE_DIVBYZERO): Likewise.
17123 (FE_INVALID): Likewise.
17124 (FE_TONEAREST): Likewise.
17125 (FE_TOWARDZERO): Likewise.
17126 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17127 (FE_OVERFLOW): Likewise.
17128 (FE_UNDERFLOW): Likewise.
17129 (FE_DIVBYZERO): Likewise.
17130 (FE_INEXACT): Likewise.
17131 (FE_TONEAREST): Likewise.
17132 (FE_TOWARDZERO): Likewise.
17133 (FE_UPWARD): Likewise.
17134 (FE_DOWNWARD): Likewise.
17135 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17136 (FE_DIVBYZERO): Likewise.
17137 (FE_OVERFLOW): Likewise.
17138 (FE_UNDERFLOW): Likewise.
17139 (FE_INEXACT): Likewise.
17140 (FE_TONEAREST): Likewise.
17141 (FE_DOWNWARD): Likewise.
17142 (FE_UPWARD): Likewise.
17143 (FE_TOWARDZERO): Likewise.
17145 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17147 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17149 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17151 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17152 commands. Quote $PWD.
17153 (blacklist_exports): Don't use remove_newlines. Replace "declare
17155 (remove_newlines): Remove.
17157 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17159 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17160 * stdlib/stdlib.h (atof): Moved to ...
17161 * include/bits/stdlib-float.h: Here. New file.
17162 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17163 * stdlib/bits/stdlib-float.h: New file.
17164 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17166 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17169 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17171 * conform/conformtest.pl (@headers): Add fenv.h.
17172 * conform/data/fenv.h-data: New file.
17173 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17174 include of <math/fenv.h>.
17176 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17177 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17178 && !UNIX98]. Enables tests for XOPEN2K8.
17179 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17180 POSIX2008]: Likewise.
17182 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17183 (struct rusage): Do not expect type or its members.
17186 * math/math.h (FP_NAN): Define macro to integer constant usable in
17187 #if and use that to give value to enum constant.
17188 (FP_INFINITE): Likewise.
17189 (FP_ZERO): Likewise.
17190 (FP_SUBNORMAL): Likewise.
17191 (FP_NORMAL): Likewise.
17193 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17195 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17196 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17199 2012-11-02 Roland McGrath <roland@hack.frob.com>
17201 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17202 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17203 autoconf-time if not.
17204 * configure.in: Remove AC_PREREQ.
17206 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17208 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17209 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17210 of the internal implementation.
17212 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17214 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17215 except include of <misc/sys/syslog.h>.
17217 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17220 function returns with a NULL context exit with zero.
17222 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17224 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17226 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17228 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17229 (run_program_cmd): This.
17230 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17231 (tst_langinfo): New variable. Use it.
17233 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17235 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17236 floating point opcodes.
17238 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17240 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17243 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17245 * sysdeps/mach/hurd/powerpc: Remove directory.
17246 * sysdeps/mach/powerpc: Likewise.
17248 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17250 * scripts/check-local-headers.sh: Ignore c++ headers.
17252 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17254 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17255 __libc_cleanup_region_start argument.
17257 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17262 x * y using scaling, not as x * y + z.
17263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17265 * math/libm-test.inc (fma_test): Add more tests.
17266 (fma_test_towardzero): Likewise.
17267 (fma_test_downward): Likewise.
17268 (fma_test_upward): Likewise.
17270 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17272 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17274 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17276 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17279 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17281 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17283 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17290 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17293 Fix the order of the list for glibc 2.17.
17294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17297 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17301 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17305 for low part of x being zero before using __atanl (y).
17306 * math/libm-test.inc (atan2_test): Add another test.
17308 * manual/install.texi (Configuring and compiling): Document
17309 general use of test-wrapper and test-wrapper-env.
17310 * INSTALL: Regenerated.
17312 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17313 (__fma): Do not extract and scale down low bits on after-rounding
17314 systems when result rounded to normal precision would have normal
17316 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17317 (__fmal): Do not extract and scale down low bits on after-rounding
17318 systems when result rounded to normal precision would have normal
17320 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17321 (__fmal): Do not extract and scale down low bits on after-rounding
17322 systems when result rounded to normal precision would have normal
17324 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17326 (fma_test): Add more tests.
17327 (fma_test_towardzero): Likewise.
17328 (fma_test_downward): Likewise.
17329 (fma_test_upward): Likewise.
17331 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17333 * sysdeps/i386/tininess.h: Renamed to ...
17334 * sysdeps/x86/tininess.h: This.
17335 * sysdeps/x86_64/tininess.h: Removed.
17337 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17339 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17340 input. Use $(build-program-cmd).
17341 ($(objpfx)tst-array1-static.out): Likewise.
17342 ($(objpfx)tst-array2.out): Likewise.
17343 ($(objpfx)tst-array3.out): Likewise.
17344 ($(objpfx)tst-array4.out): Likewise.
17345 ($(objpfx)tst-array5.out): Likewise.
17346 ($(objpfx)tst-array5-static.out): Likewise.
17348 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17350 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17353 * nss/nsswitch.h (nss_interface_function): Provide new
17354 macro for use with NSS functions.
17355 * grp/initgroups.c: Use new macro.
17356 * nss/getXXbyYY.c: Likewise.
17357 * nss/getXXbyYY_r.c: Likewise.
17358 * nss/getXXent.c: Likewise.
17359 * nss/getXXent_r.c: Likewise.
17360 * sysdeps/posix/getaddrinfo.c: Likewise.
17362 2012-10-30 Andreas Jaeger <aj@suse.de>
17364 * po/ru.po: Update Russion translation from translation project.
17366 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17371 result and shift together with sticky bit instead of replicating
17372 round-to-nearest rounding.
17373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17374 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17375 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17376 missing underflow exceptions.
17377 (fma_test_towardzero): Add more tests.
17378 (fma_test_downward): Likewise.
17379 (fma_test_upward): Likewise.
17382 * sysdeps/generic/tininess.h: New file.
17383 * sysdeps/i386/tininess.h: Likewise.
17384 * sysdeps/sh/tininess.h: Likewise.
17385 * sysdeps/x86_64/tininess.h: Likewise.
17386 * stdlib/tst-strtod-underflow.c: Likewise.
17387 * stdlib/tst-tininess.c: Likewise.
17388 * stdlib/strtod_l.c: Include <tininess.h>.
17389 (round_and_return): Do not set errno for exact underflow cases.
17390 Force an underflow exception when setting errno for underflow.
17391 Determine underflow based on rounding to normal precision if
17392 TININESS_AFTER_ROUNDING.
17393 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17394 ERANGE for exact underflow cases.
17395 * stdlib/Makefile (tests): Add tst-tininess and
17396 tst-strtod-underflow.
17397 ($(objpfx)tst-tininess): Use $(link-libm).
17398 ($(objpfx)tst-strtod-underflow): Likewise.
17400 2012-10-30 Andreas Jaeger <aj@suse.de>
17403 * elf/Makefile (tests): Remove conditional for have-initfini-array
17404 since this is now always required and the variable does not exist
17406 (tests-static): Likewise.
17407 (modules-names): Likewise.
17409 * po/eo.po: Add Esperanto translation from translation project.
17411 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17412 merged with constructor/destructor.
17413 (init_array): Likewise.
17414 * elf/tst-array2dep.c (fini_array): Likewise.
17415 (init_array): Likewise.
17417 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17419 * manual/message.texi: Delete @cartouche tags.
17421 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17423 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17425 * sysdeps/mach/hurd/fsync.c: Likewise.
17427 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17428 [_POSIX_REALTIME_SIGNALS]: Change condition to
17429 [_POSIX_REALTIME_SIGNALS > 0].
17431 2012-10-27 Andreas Jaeger <aj@suse.de>
17433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17434 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17436 [__WORDSIZE != 64]: Likewise.
17438 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17440 * iconvdata/tst-table.sh: Remove ${SHELL}.
17441 * iconvdata/tst-tables.sh: Likewise.
17443 2012-10-25 David S. Miller <davem@davemloft.net>
17445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17446 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17452 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17453 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17456 2012-10-25 Roland McGrath <roland@hack.frob.com>
17458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17459 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17462 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17463 Jim Blandy <jimb@codesourcery.com>
17465 * scripts/cross-test-ssh.sh: New file.
17466 * manual/install.texi (Configuring and compiling): Document use of
17468 * INSTALL: Regenerated.
17470 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17472 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17475 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17477 * Makeconfig (run-program-prefix): Fix comment.
17479 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17480 Jim Blandy <jimb@codesourcery.com>
17482 * Makeconfig (test-wrapper): New variable,
17483 (test-wrapper-env): Likewise.
17484 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17485 (run-built-tests): Define to yes.
17486 (run-program-prefix): Use $(test-wrapper).
17487 (built-program-cmd): Likewise.
17488 * Rules (make-test-out): Use $(test-wrapper-env) and
17489 $(host-built-program-cmd).
17490 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17491 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17493 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17494 $(test-wrapper-env) to tst-rtld-load-self.sh.
17495 ($(objpfx)order2.out): Use $(test-wrapper).
17496 ($(objpfx)tst-initorder.out): Likewise.
17497 ($(objpfx)tst-initorder2.out): Likewise.
17498 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17499 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17500 (test_wrapper_env): New variable. Use it to run ld.so.
17501 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17502 Use it to run ld.so.
17503 (test_wrapper_env): Likewise.
17504 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17505 $(test-wrapper) to run-iconv-test.sh.
17506 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17507 (ICONV): Use $test_wrapper.
17508 * posix/Makefile ($(objpfx)globtest.out): Pass
17509 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17510 globtest.sh, not $(run-program-prefix).
17511 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17512 (test_wrapper): Likewise.
17513 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17514 set together with run_via_rtld_prefix.
17515 (run_program_prefix): Define in terms of test_wrapper and
17516 run_via_rtld_prefix.
17518 2012-10-24 Roland McGrath <roland@hack.frob.com>
17520 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17521 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17525 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17526 Declare __clock_getres, __clock_gettime, __clock_settime,
17527 __clock_nanosleep, and __clock_getcpuclockid.
17528 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17529 Remove librt_hidden_def (clock_gettime).
17530 * sysdeps/unix/clock_gettime.c: Likewise.
17531 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17533 * rt/clock_getres.c: Define __clock_getres as an alias.
17534 * sysdeps/posix/clock_getres.c: Likewise.
17535 * rt/clock_settime.c: Define __clock_settime as an alias.
17536 * sysdeps/unix/clock_settime.c: Likewise.
17537 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17538 * sysdeps/unix/clock_nanosleep.c: Likewise.
17539 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17540 * rt/clock-compat.c: New file.
17541 * rt/Makefile (librt-routines): Add clock-compat and move
17542 $(clock-routines) to ...
17543 (routines): ... here, new variable.
17544 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17545 Don't add get_clockfreq here.
17546 * rt/Versions (libc: GLIBC_2.17): New version set.
17547 Add clock_* symbols here.
17548 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17549 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17550 (GLIBC_2.17): Add clock_* symbols.
17551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17562 * NEWS: Mention the move.
17564 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17565 Use __open, __read, __close rather than their public counterparts.
17566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17567 (__get_clockfreq_via_cpuinfo): Likewise.
17568 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17569 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17571 * config.h.in (HAVE_IFUNC): New #undef.
17572 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17574 * configure: Regenerated.
17576 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17578 * configure.in: Move READELF check to start of file.
17579 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17580 libc_cv_asm_gnu_indirect_function in the process.
17581 * configure: Regenerated.
17583 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17585 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17586 send the output to /dev/null.
17587 (libc_cv_cc_with_libunwind): Likewise.
17588 (libc_cv_as_noexecstack): Likewise.
17589 * configure: Regenerate.
17591 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17593 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17595 * posix/globtest.sh (TMPDIR): Do not set.
17596 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17597 (testout): Likewise.
17599 2012-10-24 Andreas Jaeger <aj@suse.de>
17601 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17602 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17603 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17604 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17605 posix_fadvise64, posix_fallocate64.
17607 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17608 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17609 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17611 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17613 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17616 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17617 <bits/fcntl-linux.h>.
17618 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17621 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17622 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17623 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17624 [__WORDSIZE != 64]: Likewise.
17626 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17628 * Makeconfig (run-built-tests): New variable.
17629 * Rules [$(cross-compiling) = yes]: Change condition to
17630 [$(run-built-tests) = no].
17631 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17632 to [$(run-built-tests) = yes].
17633 * elf/Makefile [$(cross-compiling) = no]: Likewise
17634 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17635 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17636 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17637 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17638 * io/Makefile [$(cross-compiling) = no]: Likewise.
17639 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17640 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17641 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17642 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17643 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17644 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17645 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17646 * string/Makefile [$(cross-compiling) = no]: Likewise.
17648 * posix/Makefile ($(objpfx)globtest.out): Pass
17649 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17650 $(rtld-installed-name).
17651 * posix/globtest.sh (elf_objpfx): Remove variable.
17652 (rtld_installed_name): Likewise.
17653 (library_path): Likewise.
17654 (run_program_prefix): New variable. Use for running globtest
17657 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17658 Joseph Myers <joseph@codesourcery.com>
17660 * Makeconfig (host-built-program-cmd): New variable.
17661 * elf/Makefile (tst-stackguard1-ARGS): Use
17662 $(host-built-program-cmd).
17663 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17664 (tst-spawn-ARGS): Likewise.
17665 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17667 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17668 Jim Blandy <jimb@codesourcery.com>
17670 * Makeconfig (run-via-rtld-prefix): New variable.
17671 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17672 (built-program-cmd): Likewise.
17674 2012-10-22 Andreas Jaeger <aj@suse.de>
17676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17677 __O_RSYNC if it exists, otherwise to O_SYNC.
17679 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17680 Joseph Myers <joseph@codesourcery.com>
17682 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17684 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17686 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17689 2012-10-22 Andreas Jaeger <aj@suse.de>
17691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17696 bits/fcntl-linux.h.
17698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17699 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17706 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17707 Joseph Myers <joseph@codesourcery.com>
17709 * config.make.in (NM): New variable.
17711 2012-10-21 Andreas Jaeger <aj@suse.de>
17713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17714 definitions and declarations that are provided by
17715 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17717 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17720 * elf/Makefile (tests-static): Add tst-leaks1-static.
17721 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17722 ($(objpfx)tst-leaks1-static): New rule.
17723 ($(objpfx)tst-leaks1-static-mem): Likewise.
17724 (tst-leaks1-static-ENV): New macro.
17725 * elf/dl-open.c (dl_open_worker): Check the main application
17726 only if SHARED is defined.
17727 * elf/tst-leaks1-static.c: New file.
17729 2012-10-20 Andreas Jaeger <aj@suse.de>
17731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17732 generic values for Linux.
17733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17734 and declarations that are provided by <bits/fcntl-linux.h> and
17735 include <bits/fcntl-linux.h>.
17736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17739 2012-10-20 Roland McGrath <roland@hack.frob.com>
17741 * io/fcntl.h: Move include of <bits/types.h> to the top and
17742 include it unconditionally.
17744 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17746 * wcsmbs/Makefile (tests-ifunc): New variable.
17747 (tests): Add $(tests-ifunc).
17748 * wcsmbs/test-wcschr-ifunc.c: New file.
17749 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17750 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17751 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17752 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17753 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17755 * string/Makefile (tests-ifunc): New variable.
17756 (tests): Add $(tests-ifunc).
17757 * string/test-memccpy.c (TEST_NAME): New macro.
17758 * string/test-memchr.c (TEST_NAME): Likewise.
17759 * string/test-memcmp.c (TEST_NAME): Likewise.
17760 * string/test-memcpy.c (TEST_NAME): Likewise.
17761 * string/test-memmem.c (TEST_NAME): Likewise.
17762 * string/test-memmove.c (TEST_NAME): Likewise.
17763 * string/test-memset.c (TEST_NAME): Likewise.
17764 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17765 * string/test-stpcpy.c (TEST_NAME): Likewise.
17766 * string/test-stpncpy.c (TEST_NAME): Likewise.
17767 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17768 * string/test-strcasestr.c (TEST_NAME): Likewise.
17769 * string/test-strcat.c (TEST_NAME): Likewise.
17770 * string/test-strchr.c (TEST_NAME): Likewise.
17771 * string/test-strcmp.c(TEST_NAME): Likewise.
17772 * string/test-strcpy.c (TEST_NAME): Likewise.
17773 * string/test-strcspn.c (TEST_NAME): Likewise.
17774 * string/test-strlen.c (TEST_NAME): Likewise.
17775 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17776 * string/test-strncmp.c (TEST_NAME): Likewise.
17777 * string/test-strncpy.c (TEST_NAME): Likewise.
17778 * string/test-strnlen.c (TEST_NAME): Likewise.
17779 * string/test-strpbrk.c (TEST_NAME): Likewise.
17780 * string/test-strrchr.c (TEST_NAME): Likewise.
17781 * string/test-strspn.c (TEST_NAME): Likewise.
17782 * string/test-strstr.c (TEST_NAME): Likewise.
17783 * string/test-bcopy-ifunc.c: New file.
17784 * string/test-bzero-ifunc.c: Likewise.
17785 * string/test-memccpy-ifunc.c: Likewise.
17786 * string/test-memchr-ifunc.c: Likewise.
17787 * string/test-memcmp-ifunc.c: Likewise.
17788 * string/test-memcpy-ifunc.c: Likewise.
17789 * string/test-memmem-ifunc.c: Likewise.
17790 * string/test-memmove-ifunc.c: Likewise.
17791 * string/test-mempcpy-ifunc.c: Likewise.
17792 * string/test-memset-ifunc.c: Likewise.
17793 * string/test-rawmemchr-ifunc.c: Likewise.
17794 * string/test-stpcpy-ifunc.c: Likewise.
17795 * string/test-stpncpy-ifunc.c: Likewise.
17796 * string/test-strcasecmp-ifunc.c: Likewise.
17797 * string/test-strcasestr-ifunc.c: Likewise.
17798 * string/test-strcat-ifunc.c: Likewise.
17799 * string/test-strchr-ifunc.c: Likewise.
17800 * string/test-strchrnul-ifunc.c: Likewise.
17801 * string/test-strcmp-ifunc.c: Likewise.
17802 * string/test-strcpy-ifunc.c: Likewise.
17803 * string/test-strcspn-ifunc.c: Likewise.
17804 * string/test-strlen-ifunc.c: Likewise.
17805 * string/test-strncasecmp-ifunc.c: Likewise.
17806 * string/test-strncat-ifunc.c: Likewise.
17807 * string/test-strncmp-ifunc.c: Likewise.
17808 * string/test-strncpy-ifunc.c: Likewise.
17809 * string/test-strnlen-ifunc.c: Likewise.
17810 * string/test-strpbrk-ifunc.c: Likewise.
17811 * string/test-strrchr-ifunc.c: Likewise.
17812 * string/test-strspn-ifunc.c: Likewise.
17813 * string/test-strstr-ifunc.c: Likewise.
17815 * debug/Makefile (tests-ifunc): New variable.
17816 (tests): Add $(tests-ifunc).
17817 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17818 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17819 * debug/test-stpcpy_chk-ifunc.c: New file.
17820 * debug/test-strcpy_chk-ifunc.c: Likewise.
17822 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17825 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17826 header is not read in.
17828 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17830 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17831 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17832 directly. Pass built executable to script as
17833 $(built-program-cmd).
17834 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17835 $testprogram without using LD_LIBRARY_PATH and $ldso.
17837 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17838 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17839 $(rtld-installed-name).
17840 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17841 (rtld_installed_name): Likewise.
17842 (library_path): Likewise.
17843 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17844 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17845 $(run-program-prefix) to tst-tables.sh.
17846 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17847 it to run tst-table-from and tst-table-to.
17848 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17849 Pass it to tst-table.sh.
17850 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17851 $(run-program-prefix) to tst-gettext.sh.
17852 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17854 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17856 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17857 to run tst-gettext.
17858 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17859 to run tst-gettext2.
17860 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17861 to run tst-translit.
17862 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17863 $(run-program-prefix) to tst-mtrace.sh.
17864 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17866 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17867 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17868 $(rtld-installed-name).
17869 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17870 (rtld_installed_name): Likewise.
17871 (run_program_prefix): New variable. Use it to run wordexp-test.
17873 * Makeconfig (ARCH): Remove all definitions.
17874 (machine): Likewise.
17875 [ARCH]: Remove conditional code.
17876 [!objdir]: Give error.
17877 [!objdir] (objpfx): Remove.
17878 [!objdir] (common-objpfx): Likewise.
17879 [!objdir] (common-objdir): Likewise.
17880 * configure.in (config_makefile): Remove. Hardcode Makefile in
17881 AC_CONFIG_FILES call.
17882 * configure: Regenerated.
17885 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17887 (testout): Likewise.
17889 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17890 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17891 $(rtld-installed-name).
17892 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17893 (rtld_installed_name): Likwise.
17894 (runit): Remove function.
17895 (run_getconf): New variable, Use it for running getconf binary.
17897 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17900 * string/test-memmem.c (check_result): New function.
17901 (do_one_test): Use it.
17902 (check1): New function.
17903 (test_main): Use it.
17905 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17907 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17909 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17911 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17912 (_G_LSEEK64): Likewise.
17913 (_G_MMAP64): Likewise.
17914 (_G_FSTAT64): Likewise.
17915 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17916 (_G_LSEEK64): Likewise.
17917 (_G_MMAP64): Likewise.
17918 (_G_FSTAT64): Likewise.
17919 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17920 unconditional. Call __mmap64 directly.
17921 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17922 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17923 __lseek64 directly.
17924 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17925 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17927 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17928 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17929 __lseek64 directly.
17930 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17931 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17932 __lseek64 directly.
17933 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17934 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17935 __lseek64 directly.
17936 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17937 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17938 __fxstat64 directly.
17939 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17940 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17942 (freopen64) [!_G_OPEN64]: Remove conditional code.
17943 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17945 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17946 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17948 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17949 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17951 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17952 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17954 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17955 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17957 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17958 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17960 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17961 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17963 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17965 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17968 * manual/memory.texi (Malloc Tunable Parameters): Add note
17969 about free list pointers overwriting some perturb bytes.
17970 Wording suggested by Roland McGrath.
17972 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17974 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17975 (lgamma_test): Likewise.
17976 (tgamma_test): Likewise.
17978 2012-10-16 Florian Weimer <fweimer@redhat.com>
17981 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17982 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17984 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17986 * NEWS: Mention BZ #14716.
17987 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17988 when removing AVAILABLE1_USES_J macro.
17990 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17992 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17993 (__bswap_64): __uint64_t for unsigned 64-bit int.
17995 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17997 * include/string.h (memmem): Declare libc hidden alias.
17998 * string/memmem.c (memmem): Define libc hidden alias.
17999 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18000 __read, __close instead of open, read, close.
18002 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18005 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18007 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18008 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18009 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18011 (__rawmemchr_sse2): Likewise.
18012 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18013 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18014 (__strchr_sse2): Likewise.
18015 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18016 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18017 (__strcasecmp_sse2): Likewise.
18018 (__strncasecmp_sse2): Likewise.
18019 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18020 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18021 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18022 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18023 (__strrchr_sse2): Likewise.
18024 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18026 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18027 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18028 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18029 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18030 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18032 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18033 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18034 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18035 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18036 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18037 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18038 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18039 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18040 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18041 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18042 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18043 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18044 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18045 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18046 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18047 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18048 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18049 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18050 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18051 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18052 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18053 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18054 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18055 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18057 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18059 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18060 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18061 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18062 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18064 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18066 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18067 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18068 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18069 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18089 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18105 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18113 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18114 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18115 * include/ifunc-impl-list.h: New file.
18116 * misc/ifunc-impl-list.c: Likewise.
18117 * misc/Makefile (routines): Add ifunc-impl-list.
18118 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18119 * string/test-string.h: Include <ifunc-impl-list.h>.
18120 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18121 impl_array): New variables.
18122 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18124 (test_init): Call __libc_ifunc_impl_list to initialize
18125 func_list if TEST_IFUNC and TEST_NAME are defined.
18127 * string/Makefile (strop-tests): Add bcopy and bzero.
18128 * string/test-bcopy.c: New file.
18129 * string/test-bzero.c: Likewise.
18130 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18132 * string/test-memset.c: Support bzero test if TEST_BZERO is
18134 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18136 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18138 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18141 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18143 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18144 * configure: Regenerated.
18146 * Makeconfig (+link-static-before-libc): Don't include
18147 $(link-static-libc).
18149 * libio/libio.h (_IO_pos_t): Remove.
18151 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18153 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18156 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18158 * crypt/crypt-entry.c: Include fips-private.h.
18159 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18160 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18161 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18162 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18164 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18166 * crypt/crypt-private.h: Include stdbool.h.
18167 (_ufc_setup_salt_r): Return bool.
18168 * crypt/crypt-entry.c: Include errno.h.
18169 (__crypt_r): Return NULL with EINVAL for bad salt.
18170 * crypt/crypt_util.c (bad_for_salt): New.
18171 (_ufc_setup_salt_r): Check that salt is long enough and within
18172 the specified alphabet.
18173 * crypt/badsalttest.c: New file.
18174 * crypt/Makefile (tests): Add it.
18175 ($(objpfx)badsalttest): New.
18177 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18179 * NEWS: Add entry for BZ #14602.
18181 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18183 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18185 * math/libm-test.inc: Update comment listing what functions and
18187 (isgreater_test): New function.
18188 (isgreaterequal_test): Likewise.
18189 (isless_test): Likewise.
18190 (islessequal_test): Likewise.
18191 (islessgreater_test): Likewise.
18192 (isunordered_test): Likewise.
18193 (main): Call the new functions.
18195 2012-10-09 Roland McGrath <roland@hack.frob.com>
18197 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18198 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18199 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18200 * sysdeps/i386/configure: Regenerated.
18201 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18202 * sysdeps/mach/configure: Regenerated.
18203 * sysdeps/mach/hurd/configure: Regenerated.
18204 * sysdeps/powerpc/configure: Regenerated.
18205 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18206 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18207 * sysdeps/s390/s390-32/configure: Regenerated.
18208 * sysdeps/s390/s390-64/configure: Regenerated.
18209 * sysdeps/sh/configure: Regenerated.
18210 * sysdeps/sparc/configure: Regenerated.
18211 * sysdeps/unix/sysv/linux/configure: Regenerated.
18212 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18213 * sysdeps/x86_64/configure: Regenerated.
18215 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18216 defined. Don't check if MAP is NULL.
18218 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18220 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18221 (_G_stat64): Likewise.
18222 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18223 (_G_stat64): Likewise.
18224 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18225 instead of struct _G_stat64.
18226 * libio/fileops.c (mmap_remap_check): Likewise.
18227 (decide_maybe_mmap): Likewise.
18228 (_IO_new_file_seekoff): Likewise.
18229 (_IO_file_stat): Likewise.
18230 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18232 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18233 instead of struct _G_stat64.
18234 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18236 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18239 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18241 (CHECK_EOL): New macro.
18242 (two_way_short_needle): Check beginning of haystack for EOL. Use
18244 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18245 Replace with CHECK_EOL.
18246 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18247 Replace with CHECK_EOL.
18249 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18251 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18253 * math/libm-test.inc: Update comment listing what functions and
18255 (finite_test): New function.
18256 (isinf_test): Likewise.
18257 (isnan_test): Likewise.
18258 (fpclassify_test): Test subnormal input.
18259 (isfinite_test): Likewise.
18260 (isnormal_test): Likewise.
18261 (main): Call the new functions.
18263 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18266 * Makerules (%.dynsym): Force C locale when running
18267 $(OBJDUMP) --dynamic-syms.
18269 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18271 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18274 2012-10-06 David S. Miller <davem@davemloft.net>
18276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18277 upper 32-bits of the length value in %o2 since we use branch-on-register
18278 tests which consider the entire 64-bit register.
18280 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18282 * string/test-strstr.c (check2): Add a test for page boundary.
18284 2012-10-05 David S. Miller <davem@davemloft.net>
18286 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18287 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18289 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18291 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18292 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18293 and bzero when HWCAP_SPARC_CRYPTO is present.
18295 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18298 * string/test-strstr.c (check2): New function.
18299 (test_main): Call check2.
18301 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18303 * string/bug-strcasestr1.c (do_test): Moved to ...
18304 * string/test-strcasestr.c (check1): Here. New function.
18305 (do_one_test): Break out result checking code into ...
18306 (check_result): This. New function.
18307 (do_one_test): Call check_result.
18308 (test_main): Call check1.
18309 * string/bug-strchr1.c (do_test): Moved to ...
18310 * string/test-strchr.c (check1): Here. New function.
18311 (do_one_test): Break out result checking code into ...
18312 (check_result): This. New function.
18313 (do_one_test): Call check_result.
18314 (test_main): Call check1.
18315 * string/bug-strstr1.c (main): Moved to ...
18316 * string/test-strstr.c (check1): Here. New function.
18317 (do_one_test): Break out result checking code into ...
18318 (check_result): This. New function.
18319 (do_one_test): Call check_result.
18320 (test_main): Call check1.
18321 * string/bug-strcasestr1.c: Removed.
18322 * string/bug-strchr1.c: Likewise.
18323 * string/bug-strstr1.c: Likewise.
18325 * elf/Makefile (dl-routines): Add hwcaps.
18326 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18327 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18328 (_dl_important_hwcaps): Moved to ...
18329 * elf/dl-hwcaps.c: Here. New file.
18330 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18333 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18334 if IS_IN_rtld isn't defined.
18336 * elf/dl-support.c (_dl_sysinfo_map): New.
18337 Include "get-dynamic-info.h" and "setup-vdso.h".
18338 (_dl_non_dynamic_init): Call setup_vdso.
18339 * elf/dynamic-link.h: Don't include <assert.h>.
18340 (elf_get_dynamic_info): Moved to ...
18341 * elf/get-dynamic-info.h: Here. New file.
18342 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18343 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18344 * elf/setup-vdso.h: Here. New file.
18345 * elf/rtld.c: Include "setup-vdso.h".
18346 (dl_main): Call setup_vdso.
18348 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18350 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18351 creal in comment listing functions tested. List finite, isinf,
18352 isnan, isless, islessequal, isgreater, isgreaterequal,
18353 islessgreater, isunordered, lgamma_r and pow10 as functions and
18354 macros not tested. Mention which functions not tested are aliases
18355 for other functions. Fix typo. Note that signs of NaNs are not
18358 * scripts/config.guess: Update from config.git.
18359 * scripts/config.sub: Likewise.
18361 2012-10-04 Roland McGrath <roland@hack.frob.com>
18363 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18364 * misc/madvise.c (madvise): Renamed to __madvise.
18365 Make madvise a weak alias.
18366 * include/sys/mman.h: Declare __madvise.
18367 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18368 * sysdeps/unix/syscalls.list
18369 (madvise): Make __madvise the strong name, and madvise a weak alias.
18370 * sysdeps/unix/sysv/linux/syscalls.list
18371 (madvise, mmap): Remove redundant entries.
18372 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18373 * malloc/malloc.c (mtrim): Likewise.
18374 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18376 2012-10-03 Roland McGrath <roland@hack.frob.com>
18378 * sysdeps/mach/hurd/dl-cache.c: File removed.
18379 * config.h.in (USE_LDCONFIG): New #undef.
18380 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18381 * configure: Regenerated.
18382 * elf/Makefile (dl-routines): Add dl-cache only under
18383 [$(use-ldconfig) = yes].
18384 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18385 cache on [USE_LDCONFIG].
18386 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18388 * elf/rtld.c (dl_main): Likewise.
18390 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18392 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18393 _SC_LEVEL4_CACHE_LINESIZE.
18395 2012-10-03 Roland McGrath <roland@hack.frob.com>
18397 * sysdeps/unix/bsd/confstr.h: File removed.
18399 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18401 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18404 2012-10-02 Roland McGrath <roland@hack.frob.com>
18406 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18407 Make 'mapoff' field ElfW(Off) rather than off_t.
18409 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18411 * nscd/Makefile: Remove nscd-cflags and all its users.
18412 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18413 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18416 * malloc.c (malloc_printerr): Clarify error message.
18418 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18422 Set bit_FMA_Usable if FMA is supported.
18423 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18425 (bit_FMA4_Usable): Updated.
18426 (index_FMA_Usable): New macro.
18427 (CPUID_FMA): Likewise
18428 (HAS_FMA): Defined with bit_FMA_Usable.
18430 2012-10-01 Roland McGrath <roland@hack.frob.com>
18432 * bits/types.h (__swblk_t): Type removed.
18433 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18434 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18436 (__SWBLK_T_TYPE): Likewise.
18437 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18438 (__SWBLK_T_TYPE): Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18440 (__SWBLK_T_TYPE): Likewise.
18441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18442 (__SWBLK_T_TYPE): Likewise.
18444 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18445 Honza Horak <hhorak@redhat.com>
18447 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18448 (xdr_mapname): Use YPMAXMAP as maxsize.
18449 (xdr_peername): Use YPMAXPEER as maxsize.
18450 (xdr_keydat): Use YPAXRECORD as maxsize.
18451 (xdr_valdat): Use YPMAXRECORD as maxsize.
18453 2012-10-01 Roland McGrath <roland@hack.frob.com>
18455 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18457 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18458 * csu/init-first.c: ... here.
18459 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18460 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18461 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18462 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18463 * sysdeps/i386/init-first.c: File removed.
18464 * sysdeps/sh/init-first.c: File removed.
18466 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18470 if x * y might underflow to zero and z is zero.
18471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18473 * math/libm-test.inc (min_subnorm_value): New variable.
18474 (fma_test): Add more tests.
18475 (fma_test_towardzero): Likewise.
18476 (fma_test_downward): Likewise
18477 (fma_test_upward): Likewise.
18478 (initialize): Set min_subnorm_value.
18480 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18486 mode for addition resulting in exact zero.
18487 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18490 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18492 * math/libm-test.inc (fma_test): Add more tests.
18493 (fma_test_towardzero): New function.
18494 (fma_test_downward): Likewise.
18495 (fma_test_upward): Likewise.
18496 (main): Call the new functions.
18498 2012-09-28 David S. Miller <davem@davemloft.net>
18500 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18502 2012-09-28 Roland McGrath <roland@hack.frob.com>
18504 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18505 instead of SIGALRM.
18507 * sysdeps/gnu/_G_config.h: Moved to ...
18508 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18509 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18510 * sysdeps/generic/_G_config.h: ... here.
18512 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18514 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18516 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18517 Conditionalize target on [libnss_test1.so-version].
18519 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18521 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18522 (elfobjdir): Move out of conditionals.
18524 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18525 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18526 (__nss_lookup_function): Conditionalize label remove_from_tree on
18527 [!DO_STATIC_NSS || SHARED], matching its only use.
18529 2012-09-28 David S. Miller <davem@davemloft.net>
18531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18532 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18534 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18538 when HWCAP_SPARC_CRYPTO is present.
18540 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18542 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18544 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18547 * stdio-common/vfprintf.c (process_string_arg): Revert
18550 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18552 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18554 * stdio-common/tst-sprintf.c: Include <locale.h>
18555 (main): Test sprintf's handling of incomplete multibyte
18558 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18560 * elf/dl-runtime.c (VERSYMIDX): Removed.
18561 * elf/dl-version.c (VERSYMIDX): Likewise.
18562 * elf/do-rel.h (VERSYMIDX): Likewise.
18563 (VALIDX): Likewise.
18564 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18565 * elf/rtld.c (VALIDX): Likewise.
18566 (ADDRIDX): Likewise.
18567 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18568 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18569 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18570 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18571 (VALIDX): Likewise.
18572 (ADDRIDX): Likewise.
18574 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18576 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18578 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18581 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18583 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18584 addresses are in the same scope as 192.0.2/24.
18585 * posix/gai.conf: Document new scope table defaults.
18587 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18590 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18591 for ftell. Compute offsets from write pointers instead.
18592 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18594 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18597 * libio/Makefile (tests): New test case tst-fseek.
18598 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18599 combination works in wide mode.
18600 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18601 state when the external buffer state changes.
18603 2012-09-27 David S. Miller <davem@davemloft.net>
18606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18607 pass reloc->r_addend in as the 'high' argument to
18608 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18612 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18614 * rt/tst-aio2.c: Include <pthread.h>.
18615 * rt/tst-aio3.c: Likewise.
18617 2012-09-27 Steve Ellcey <sellcey@mips.com>
18619 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18621 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18623 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18624 contents on [SHARED].
18626 2012-09-26 Marek Polacek <polacek@redhat.com>
18630 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18631 for C++ and GCC <4.3 as well as for non GCC compilers.
18633 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18637 2012-09-25 Roland McGrath <roland@hack.frob.com>
18639 * Makefile.in (all, install): Declare with .PHONY.
18640 Reported by Michael Hope <michael.hope@linaro.org>.
18642 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18644 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18645 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18647 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18649 (sydep_routines): Add the new and the internal functions.
18650 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18651 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18653 (GLIBC_2.17): Add the new function.
18654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18655 (GLIBC_2.17): Likewise.
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18657 (GLIBC_2.17): Likewise.
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18659 (GLIBC_2.17): Likewise.
18660 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18662 2012-09-25 Alan Modra <amodra@gmail.com>
18664 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18665 Add release barrier before setting once_control to say
18666 initialisation is done. Add hints on lwarx. Use macro in
18668 (clear_once_control): Add release barrier.
18670 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18673 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18675 * math/s_clog10.c (__clog10): Likewise.
18676 * math/s_clog10f.c (__clog10f): Likewise.
18677 * math/s_clog10l.c (__clog10l): Likewise.
18678 * math/s_clogf.c (__clogf): Likewise.
18679 * math/s_clogl.c (__clogl): Likewise.
18680 * math/Makefile (libm-calls): Add x2y2m1.
18681 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18682 (__x2y2m1): Likewise.
18683 (__x2y2m1l): Likewise.
18684 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18685 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18688 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18689 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18690 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18691 * sysdeps/i386/fpu/libm-test-ulps: Update.
18692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18695 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18696 int as type of variable DEPTH.
18697 (glob): Use size_t instead of int as type of variables NEWCOUNT
18700 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18702 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18703 Add s_sincosf-sse2.
18704 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18705 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18706 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18707 macros for using routine as __sincosf_ia32.
18708 Use macro for function declaration and weak_alias.
18709 * sysdeps/i386/fpu/libm-test-ulps: Update.
18711 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18714 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18715 subnormal argument.
18716 * math/s_cexpf.c (__cexpf): Likewise.
18717 * math/s_csinf.c (__csinf): Likewise.
18718 * math/s_csinhf.c (__csinhf): Likewise.
18719 * math/s_ctanf.c (__ctanf): Likewise.
18720 * math/s_ctanhf.c (__ctanhf): Likewise.
18721 * math/s_ccosh.c (__ccoshf): Likewise.
18722 * math/s_cexp.c (__cexpl): Likewise.
18723 * math/s_csin.c (__csin): Likewise.
18724 * math/s_csinh.c (__csinh): Likewise.
18725 * math/s_ctan.c (__ctan): Likewise.
18726 * math/s_ctanh.c (ctanh): Likewise.
18727 * math/s_ccoshl.c (__ccoshl): Likewise.
18728 * math/s_cexpl.c (__cexpl): Likewise.
18729 * math/s_csinl.c (__csinl): Likewise.
18730 * math/s_csinhl.c (__csinhl): Likewise.
18731 * math/s_ctanl.c (__ctanl): Likewise.
18732 * math/s_ctanhl.c (__ctanhl): Likewise.
18734 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18736 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18737 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18738 (_IO_off_t): Define to __off_t, not _G_off_t.
18739 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18740 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18741 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18742 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18743 type of __dummy and __dummy2 fields.
18744 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18745 (_G_ssize_t): Likewise.
18746 (_G_off_t): Likewise.
18747 (_G_pid_t): Likewise.
18748 (_G_uid_t): Likewise.
18749 (_G_wchar_t): Likewise.
18750 (_G_wint_t): Likewise.
18751 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18752 (_G_ssize_t): Likewise.
18753 (_G_off_t): Likewise.
18754 (_G_pid_t): Likewise.
18755 (_G_uid_t): Likewise.
18756 (_G_wchar_t): Likewise.
18757 (_G_wint_t): Likewise.
18758 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18759 (_G_ssize_t): Likewise.
18760 (_G_off_t): Likewise.
18761 (_G_pid_t): Likewise.
18762 (_G_uid_t): Likewise.
18763 (_G_wchar_t): Likewise.
18764 (_G_wint_t): Likewise.
18766 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18768 * malloc/arena.c: Include malloc-sysdep.h.
18769 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18770 is sufficient to shrink the heap or an unmap is needed.
18771 * sysdeps/generic/malloc-sysdep.h: New file. Define
18772 new function check_may_shrink_heap.
18773 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18774 new function check_may_shrink_heap.
18776 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18778 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18781 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18783 * catgets/test-gencat.sh: Add "set -e".
18784 * elf/tst-pathopt.sh: Likewise.
18785 * grp/tst_fgetgrent.sh: Likewise.
18786 * iconvdata/run-iconv-test.sh: Likewise.
18787 * intl/tst-gettext.sh: Likewise.
18788 * intl/tst-gettext2.sh: Likewise.
18789 * intl/tst-gettext4.sh: Likewise.
18790 * intl/tst-gettext6.sh: Likewise.
18791 * intl/tst-translit.sh: Likewise.
18792 * io/ftwtest-sh: Likewise.
18793 * libio/test-freopen.sh: Likewise.
18794 * malloc/tst-mtrace.sh: Likewise.
18795 * posix/globtest.sh: Likewise.
18796 * posix/tst-getconf.sh: Likewise.
18797 * posix/wordexp-tst.sh: Likewise.
18798 * stdio-common/tst-printf.sh: Likewise.
18799 * stdio-common/tst-unbputc.sh: Likewise.
18800 * stdlib/tst-fmtmsg.sh: Likewise.
18801 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18802 * catgets/Makefile: Do not specify -e option when running
18803 testsuite shell scripts.
18804 * elf/Makefile: Likewise.
18805 * grp/Makefile: Likewise.
18806 * iconvdata/Makefile: Likewise.
18807 * intl/Makefile: Likewise.
18808 * io/Makefile: Likewise.
18809 * libio/Makefile: Likewise.
18810 * malloc/Makefile: Likewise.
18811 * posix/Makefile: Likewise.
18812 * stdio-common/Makefile: Likewise.
18813 * stdlib/Makefile: Likewise.
18814 * sysdeps/x86_64/Makefile: Likewise.
18816 * io/ftwtest-sh: Add copyright header.
18817 * posix/globtest.sh: Likewise.
18818 * posix/tst-getconf.sh: Likewise.
18819 * posix/wordexp-tst.sh: Likewise.
18820 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18822 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18825 * Makeconfig (+link): Defined as $(+link-static) if
18826 $(build-shared) isn't yes.
18827 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18829 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18831 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18834 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18835 new chunk size with MALLOC_ALIGN_MASK.
18837 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18840 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18842 (__printf_fphex): Determine rounding using get_rounding_mode and
18844 * stdio-common/tst-printf-round.c (struct hex_test): New
18846 (hex_tests): New variable.
18847 (test_hex_in_one_mode): New function.
18848 (do_test): Also run tests for hex float output.
18850 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18852 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18853 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18854 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18855 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18856 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18857 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18858 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18859 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18861 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18863 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18864 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18865 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18866 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18868 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18871 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18873 * elf/tst-rtld-load-self.sh: New test.
18874 * elf/Makefile: Run it.
18876 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18878 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18879 (tst-writev-ENV): Remove.
18880 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18882 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18884 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18886 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18888 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18890 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18892 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18893 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18894 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18897 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18900 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18901 * config.make.in (have-cpp-asm-debuginfo): Removed.
18902 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18903 * configure: Regenerated.
18905 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18908 * stdio-common/printf_fp.c: Include <stdbool.h> and
18910 (___printf_fp): Determine rounding using get_rounding_mode and
18912 * stdio-common/tst-printf-round.c: New file.
18913 * stdio-common/Makefile (tests): Add tst-printf-round.
18914 (link-libm): New variable.
18915 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18917 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18920 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18921 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18923 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18926 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18928 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18929 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18930 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18933 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18936 * include/rounding-mode.h: New file.
18937 * sysdeps/generic/get-rounding-mode.h: Likewise.
18938 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18939 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18940 (MAX_VALUE): New macro.
18941 (MIN_VALUE): Likewise.
18942 (overflow_value): New function.
18943 (underflow_value): Likewise.
18944 (round_and_return): Use overflow_value and underflow_value to
18945 determine return values in overflow and underflow cases. Use
18946 round_away to determine rounding depending on rounding mode.
18947 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18948 determine return values in overflow and underflow cases.
18949 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18950 (struct test_results): New structure.
18951 (struct test): Use struct test_results to store expected results
18952 for all rounding modes.
18953 (TEST): Include expected results for all rounding modes.
18954 (test_in_one_mode): New function.
18955 (do_test): Use test_in_one_mode to compute and check results.
18956 Check results for all rounding modes.
18957 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18960 2012-12-09 Allan McRae <allan@archlinux.org>
18962 * sysdeps/i386/fpu/libm-test-ulps: Update
18964 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18966 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18967 (_G_int32_t): Likewise.
18968 (_G_uint16_t): Likewise.
18969 (_G_uint32_t): Likewise.
18970 (_G_HAVE_BOOL): Likewise.
18971 (_G_HAVE_ATEXIT): Likewise.
18972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18973 (_G_HAVE_IO_FILE_OPEN): Likewise.
18974 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18975 (_G_int32_t): Likewise.
18976 (_G_uint16_t): Likewise.
18977 (_G_uint32_t): Likewise.
18978 (_G_HAVE_BOOL): Likewise.
18979 (_G_HAVE_ATEXIT): Likewise.
18980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18981 (_G_HAVE_IO_FILE_OPEN): Likewise.
18982 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18983 (_G_int32_t): Likewise.
18984 (_G_uint16_t): Likewise.
18985 (_G_uint32_t): Likewise.
18986 (_G_HAVE_BOOL): Likewise.
18987 (_G_HAVE_ATEXIT): Likewise.
18988 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18989 (_G_HAVE_IO_FILE_OPEN): Likewise.
18991 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18993 * csu/libc-tls.c: Update copyright years.
18995 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18997 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18998 [!_G_USING_THUNKS]: Remove conditional code.
18999 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19000 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19002 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19003 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19004 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19005 (_G_VTABLE_LABEL_PREFIX): Likewise.
19006 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19007 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19008 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19009 (_G_VTABLE_LABEL_PREFIX): Likewise.
19010 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19011 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19013 (_G_VTABLE_LABEL_PREFIX): Likewise.
19014 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19016 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19018 * libio/Makefile: Include ../Makeconfig before tests.
19019 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19020 only if $(build-shared) is yes.
19022 * iconv/gconv_db.c: Update copyright years.
19024 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19026 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19027 unwind info if defined PIC. Fix special cases description.
19028 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19030 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19032 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19034 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19036 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19038 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19041 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19042 (LDLIBS-tst-chk4): This.
19043 (LDFLAGS-tst-chk5): Renamed to ...
19044 (LDLIBS-tst-chk5): This.
19045 (LDFLAGS-tst-chk6): Renamed to ...
19046 (LDLIBS-tst-chk6): This.
19047 (LDFLAGS-tst-lfschk4): Renamed to ...
19048 (LDLIBS-tst-lfschk4): This.
19049 (LDFLAGS-tst-lfschk5): Renamed to ...
19050 (LDLIBS-tst-lfschk5): This.
19051 (LDFLAGS-tst-lfschk6): Renamed to ...
19052 (LDLIBS-tst-lfschk6): This.
19054 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19055 on $(common-objpfx)soversions.mk.
19057 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19060 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19063 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19065 * malloc/arena.c (arena_get_retry): New function that gets
19066 another arena for the caller to try its request on.
19067 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19068 current arena cannot fulfill the request.
19069 (__libc_memalign): Likewise.
19070 (__libc_memalign): Likewise.
19071 (__libc_pvalloc): Likewise.
19072 (__libc_calloc): Likewise.
19074 2012-09-05 John Tobey <john.tobey@gmail.com>
19077 * manual/arith.texi (Operations on Complex): Fix description
19078 of carg branch cut.
19080 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19083 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19087 * manual/memory.texi (Memory): Make order of menu items match
19090 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19092 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19093 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19094 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19096 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19098 * csu/libc-tls.c (static_dtv): Renamed to ...
19099 (_dl_static_dtv): This. Make it global.
19100 (_dl_initial_dtv): Removed.
19101 (__libc_setup_tls): Updated.
19102 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19103 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19106 2012-09-06 Petr Machata <pmachata@redhat.com>
19108 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19109 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19110 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19111 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19113 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19116 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19117 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19120 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19123 * Makeconfig (link-static-before-libc): Replace $(+prector)
19125 (link-static-after-libc): Replace $(+postctor) with
19127 (link-bounded): Replace $(+prector)/$(+postctor) with
19128 $(+prectorT)/$(+postctorT).
19129 (+prectorT): New macro.
19130 (+postctorT): Likewise.
19132 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19134 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19135 (round_str): Handle values above the maximum for IBM long double
19137 * stdlib/tst-strtod-round.c (tests): Regenerated.
19139 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19141 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19143 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19144 zarch_nohighgprs around the zarch optimized routines.
19145 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19146 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19147 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19150 2012-09-05 David S. Miller <davem@davemloft.net>
19152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19154 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19155 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19156 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19157 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19160 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19162 * malloc/arena.c: Fold copyright years.
19163 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19165 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19169 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19171 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19175 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19176 change internal state upon failure.
19178 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19180 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19181 * malloc/memusage.c (mmap): Likewise.
19182 (mmap64, mremap): Likewise. Adjust name in comment.
19184 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19186 * libio/fileops.c: Fix typos in comments.
19187 * libio/oldfileops.c: Likewise.
19188 * libio/wfileops.c: Likewise.
19190 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19193 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19194 (tst-malloc-usable-ENV): Set environment for test case.
19195 * malloc/hooks.c (malloc_check_get_size): New function to get
19197 * malloc/malloc.c (musable): Use malloc_check_get_size.
19198 * malloc/tst-malloc-usable.c: New test case.
19200 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19202 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19204 2012-09-05 Allan McRae <allan@archlinux.org>
19207 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19208 determine header location.
19209 * configure: Regenerated.
19211 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19213 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19215 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19216 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19218 (test): Regenerate.
19220 2012-09-04 David S. Miller <davem@davemloft.net>
19222 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19223 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19224 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19226 2012-09-04 Florian Weimer <fweimer@redhat.com>
19228 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19231 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19233 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19236 * libio/iogetdelim.c: Include <limits.h>.
19237 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19238 + len + 1 would overflow.
19240 2012-09-03 Andreas Jaeger <aj@suse.de>
19242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19243 * sysdeps/i386/fpu/libm-test-ulps: Update.
19245 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19247 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19248 Add s_sinf-sse2, s_conf-sse2.
19250 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19251 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19252 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19253 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19255 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19256 for using routine as __sinf_ia32.
19257 Use macro for function declaration and weak_alias.
19258 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19259 for using routine as __cosf_ia32.
19260 Use macro for function declaration and weak_alias.
19262 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19263 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19265 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19266 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19269 * math/libm-test.inc (cos_test): Add more test cases.
19270 (sin_test): Likewise.
19271 (sincos_test): Likewise.
19273 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19276 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19278 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19280 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19283 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19284 first element of the GOT.
19285 (elf_machine_load_address): Return the difference between
19286 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19288 2012-09-01 Allan McRae <allan@archlinux.org>
19291 * configure.in (AWK): Require gawk version 3.0 or later.
19292 * configure: Regenerated.
19294 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19296 * sysdeps/unix/sysv/linux/kernel-features.h
19297 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19298 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19299 [__NR_clock_getres]: Make code unconditional.
19300 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19301 (clock_getcpuclockid): Remove code left unreachable by removal of
19303 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19304 code unconditional.
19305 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19306 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19307 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19308 Make code unconditional.
19309 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19311 * sysdeps/unix/sysv/linux/clock_settime.c
19312 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19314 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19315 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19317 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19320 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19321 scripts/test-installation.pl.
19323 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19324 and $ld_so_version if it is set.
19326 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19329 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19330 failure if reading from procfs failed.
19331 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19333 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/unix/sysv/linux/kernel-features.h
19336 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19337 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19338 Remove conditional code.
19339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19340 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19341 Remove conditional code.
19342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19343 * sysdeps/unix/sysv/linux/i386/fxstat.c
19344 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19346 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19347 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19349 * sysdeps/unix/sysv/linux/i386/lxstat.c
19350 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19352 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19353 Remove conditional code.
19354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19355 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19356 Remove conditional code.
19357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19358 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19359 <kernel-features.h>.
19360 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19362 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19363 Remove conditional code.
19364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19366 Remove conditional.
19368 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19371 * NEWS: Add fixed bug number.
19373 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19376 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19377 underflowing exponent in case of negative sign.
19378 * stdlib/tst-strtod-round-data: Add more tests.
19379 * stdlib/tst-strtod-round.c (tests): Regenerated.
19382 * stdlib/strtod_l.c (NDIG): Remove.
19383 (HEXNDIG): Likewise.
19384 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19385 smallest representable value.
19386 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19387 lie within an exact representation of 1/2 ulp of the result.
19388 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19390 (TENS_P9_IDX): Define unconditionally.
19391 (TENS_P9_SIZE): Likewise.
19392 (TENS_P10_IDX): Likewise.
19393 (TENS_P10_SIZE): Likewise.
19394 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19395 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19396 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19397 entries for 10^2^13 and 10^2^14.
19398 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19399 (TENS_P13_IDX): Define.
19400 (TENS_P13_SIZE): Likewise.
19401 (TENS_P14_IDX): Likewise.
19402 (TENS_P14_SIZE): Likewise.
19403 (_fpioconst_pow10): Change array size to
19404 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19406 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19407 1024]: Add entries for 10^2^13 and 10^2^14.
19408 [LAST_POW10 > _LAST_POW10]: Remove #error.
19409 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19410 (_fpioconst_pow10): Change array size to
19411 FPIOCONST_POW10_ARRAY_SIZE.
19412 * stdlib/gen-fpioconst.c: New file.
19413 * stdlib/gen-tst-strtod-round.c: Likewise.
19414 * stdlib/tst-strtod-round-data: Likewise.
19415 * stdlib/tst-strtod-round.c: Likewise.
19416 * stdlib/Makefile (tests): Add tst-strtod-round.
19419 * stdlib/strtod_l.c: Include <stdint.h>.
19420 (NDEBUG): Do not define.
19421 (round_and_return): Change EXPONENT parameter to type intmax_t.
19422 Rearrange calculations to avoid internal overflow possibilities.
19423 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19424 Rearrange calculations to avoid internal overflow possibilities.
19425 Assert that number fits inside MPNSIZE limbs.
19426 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19427 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19428 calculations and add assertions to avoid internal overflow
19429 possibilities. Add casts to avoid signed/unsigned operations.
19430 * stdlib/tst-strtod-overflow.c: New file.
19431 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19433 2012-08-25 Marek Polacek <polacek@redhat.com>
19435 * time/time.h: Fix some typos in comments.
19437 2012-08-23 Roland McGrath <roland@hack.frob.com>
19439 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19440 * posix/tst-rfc3484-2.c: Likewise.
19441 * posix/tst-rfc3484-3.c: Likewise.
19443 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19445 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19446 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19448 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19451 #include of fxstatat64.c.
19453 2012-08-22 Roland McGrath <roland@hack.frob.com>
19455 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19456 * shadow/getspent_r.c: Likewise.
19457 * shadow/getspnam.c: Likewise.
19458 * shadow/getspnam_r.c: Likewise.
19459 * gshadow/getsgent.c: Likewise.
19460 * gshadow/getsgent_r.c: Likewise.
19461 * gshadow/getsgnam.c: Likewise.
19462 * gshadow/getsgnam_r.c: Likewise.
19463 * inet/getnetbyad.c: Likewise.
19464 * inet/getnetbyad_r.c: Likewise.
19465 * inet/getnetbynm.c: Likewise.
19466 * inet/getnetbynm_r.c: Likewise.
19467 * inet/getnetent.c: Likewise.
19468 * inet/getnetent_r.c: Likewise.
19469 * inet/getproto.c: Likewise.
19470 * inet/getproto_r.c: Likewise.
19471 * inet/getprtent.c: Likewise.
19472 * inet/getprtent_r.c: Likewise.
19473 * inet/getprtname.c: Likewise.
19474 * inet/getprtname_r.c: Likewise.
19475 * inet/getrpcbyname.c: Likewise.
19476 * inet/getrpcbyname_r.c: Likewise.
19477 * inet/getrpcbynumber.c: Likewise.
19478 * inet/getrpcbynumber_r.c: Likewise.
19479 * inet/getrpcent.c: Likewise.
19480 * inet/getrpcent_r.c: Likewise.
19481 * inet/getaliasent.c: Likewise.
19482 * inet/getaliasent_r.c: Likewise.
19483 * inet/getaliasname.c: Likewise.
19484 * inet/getaliasname_r.c: Likewise.
19485 * nscd/getgrgid_r.c: Likewise.
19486 * nscd/getgrnam_r.c: Likewise.
19487 * nscd/gethstbyad_r.c: Likewise.
19488 * nscd/gethstbynm3_r.c: Likewise.
19489 * nscd/getpwnam_r.c: Likewise.
19490 * nscd/getpwuid_r.c: Likewise.
19491 * nscd/getsrvbynm_r.c: Likewise.
19492 * nscd/getsrvbypt_r.c: Likewise.
19493 * nscd/gai.c: Likewise.
19495 * configure.in (build_nscd): New substituted variable, set
19496 by --disable-build-nscd and defaults to $use_nscd.
19497 * configure: Regenerated.
19498 * config.make.in (build-nscd): New substituted variable.
19499 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19500 Change conditional to require [$(build-nscd) = yes] as well.
19501 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19504 * configure.in (use_nscd): New substituted variable, set by
19505 --disable-nscd. If enabled, define USE_NSCD.
19506 * configure: Regenerated.
19507 * config.h.in: Add USE_NSCD.
19508 * config.make.in (use-nscd): New substituted variable.
19509 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19510 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19511 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19512 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19513 (CFLAGS-getgrnam_r.c): Likewise.
19514 (CFLAGS-initgroups.c): Likewise.
19515 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19516 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19518 * inet/getnetgrent_r.c
19519 (nscd_setnetgrent): New function, broken out of ...
19520 (setnetgrent): ... here. Call it.
19521 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19522 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19523 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19524 * nscd/Makefile (routines, aux): Move definitions after include of
19525 Makeconfig. Conditionalize on [$(use-nscd) != no].
19526 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19527 Conditionalize on [USE_NSCD].
19528 (is_nscd, nscd_init_cb): Likewise.
19529 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19530 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19531 * nss/nss_db/db-init.c: Likewise.
19532 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19534 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19535 (make_request): Use it.
19536 (cache_valid_p): New function.
19537 (__check_pf): Use it.
19538 * NEWS: Add item for --disable-nscd.
19540 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19542 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19543 to support sed >= 4.2.1-20-ga9bf076.
19544 * configure: Regenerated.
19546 2012-08-22 Roland McGrath <roland@hack.frob.com>
19548 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19549 Conditionalize whole body on [IREL].
19551 2012-08-22 Jeff Law <law@redhat.com>
19554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19555 if the family is PF_UNSPEC.
19557 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19559 * Makerules (lib-version): Rename from V.
19560 (install-lib-nosubdir): Change V to lib-version.
19562 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19565 * powerpc32/power6/wcschr.c: New file.
19566 * powerpc32/power6/wcscpy.c: New file.
19567 * powerpc32/power6/wcsrchr.c: New file.
19568 * powerpc64/power6/wcschr.c: New file.
19569 * powerpc64/power6/wcscpy.c: New file.
19570 * powerpc64/power6/wcsrchr.c: New file.
19572 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19574 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19575 (two_way_short_needle): Use it.
19576 * string/strstr.c (AVAILABLE1_USES_J): Define.
19577 * string/strcasestr.c: Likewise.
19579 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19581 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19584 * NEWS: Add an entry.
19585 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19586 define their defaults.
19587 (two_way_short_needle): Detect end-of-string on-the-fly.
19588 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19589 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19590 * string/bug-strcasestr1.c: New test.
19591 * string/Makefile: Run it.
19593 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19596 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19597 the first character.
19599 2012-08-21 Roland McGrath <roland@hack.frob.com>
19601 * csu/elf-init.c (__libc_csu_irel): Function removed.
19602 * csu/libc-start.c (apply_irel): New function.
19603 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19605 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19607 * sysdeps/unix/sysv/linux/kernel-features.h
19608 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19609 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19610 <kernel-features.h>.
19611 [__NR_fadvise64_64]: Make code unconditional.
19612 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19613 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19614 !__NR_fadvise64_64)]: Likewise.
19615 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19616 !__NR_fadvise64_64))]: Likewise.
19617 [__NR_fadvise64]: Make code unconditional.
19618 [!__NR_fadvise64]: Remove conditional code.
19619 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19620 <kernel-features.h>.
19621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19626 not include <kernel-features.h>.
19627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19631 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19632 include <kernel-features.h>.
19633 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19635 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19638 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19641 slight instruction rearrangements per scrollpipe analysis.
19642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19644 2012-08-20 Roland McGrath <roland@hack.frob.com>
19646 * manual/syslog.texi (syslog; vsyslog, closelog):
19647 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19648 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19650 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19651 DSOCAPS to match condition on defining it.
19653 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19655 * sysdeps/unix/sysv/linux/kernel-features.h
19656 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19658 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19659 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19661 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19662 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19664 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19665 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19667 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19668 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19670 * sysdeps/unix/sysv/linux/kernel-features.h
19671 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19672 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19674 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19675 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19676 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19677 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19678 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19679 Make code unconditional.
19680 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19681 (__mmap64) [!__NR_mmap2]: Likewise.
19682 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19683 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19684 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19685 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19686 [__NR_mmap2]: Make code unconditional.
19687 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19688 (__mmap64) [!__NR_mmap2]: Likewise.
19690 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19692 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19694 2012-08-18 Andreas Jaeger <aj@suse.de>
19696 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19698 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19700 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19701 * include/unistd.h (__have_sock_cloexec): Likewise.
19702 (__have_pipe2): Likewise.
19703 (__have_dup3): Likewise.
19705 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19708 * include/unistd.h (__have_pipe2): Change define into an extern int.
19709 (__have_dup3): Likewise.
19710 * socket/have_sock_cloexec.c: Include fcntl.h.
19711 (__have_pipe2): New variable.
19712 (__have_dup3): Likewise.
19714 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19716 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19718 2012-08-17 Marek Polacek <polacek@redhat.com>
19720 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19721 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19723 2012-08-17 Roland McGrath <roland@hack.frob.com>
19725 * configure.in: Add AC_SUBST for sysheaders.
19726 * configure: Regenerated.
19727 * config.make.in (sysheaders): New substituted variable.
19729 * sysdeps/unix/mkfifo.c: Moved ...
19730 * sysdeps/posix/mkfifo.c: ... here.
19731 * sysdeps/unix/mkfifoat.c: Moved ...
19732 * sysdeps/posix/mkfifoat.c: ... here.
19734 * sysdeps/unix/utime.c: Moved ...
19735 * sysdeps/posix/utime.c: ... here.
19737 * sysdeps/unix/time.c: Moved ...
19738 * sysdeps/posix/time.c: ... here.
19739 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19740 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19742 * sysdeps/unix/nice.c: Moved ...
19743 * sysdeps/posix/nice.c: ... here.
19745 * sysdeps/unix/alarm.c: Moved ...
19746 * sysdeps/posix/alarm.c: ... here.
19748 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19750 2012-08-17 Jeff Law <law@redhat.com>
19752 * intl/Makefile (codeset_mo): New variable.
19753 ($(codeset_mo)): New target.
19754 (tst-codeset.out): Depend on that. Remove explicit rule.
19755 (tst-gettext3.out, tst-gettext5.out): Likewise.
19756 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19757 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19758 * intl/tst-codeset.sh: Remove.
19759 * intl/tst-gettext3.sh: Likewise.
19760 * intl/tst-gettext5.sh: Likewise.
19762 2012-08-17 Roland McGrath <roland@hack.frob.com>
19764 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19765 * sysdeps/unix/syscalls.list: ... here.
19767 * sysdeps/posix/getaddrinfo.c
19768 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19769 (gaiconf_init, gaiconf_reload): Use them.
19770 [!_STATBUF_ST_NSEC]
19771 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19772 Define using time_t rather than struct timespec.
19774 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19775 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19777 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19779 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19780 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19783 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19784 __libc_cleanup_push argument.
19786 * bits/param.h: New file.
19787 * misc/sys/param.h: New file.
19788 * include/sys/param.h: New file.
19789 * misc/Makefile (headers): Add bits/param.h.
19790 * sysdeps/generic/sys/param.h: File removed.
19791 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19792 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19793 * sysdeps/mach/hurd/bits/param.h: New file.
19794 * sysdeps/mach/hurd/sys/param.h: File removed.
19796 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19799 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19801 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19802 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19805 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19806 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19807 rather than -D_IO_MTSAFE_IO conditionally.
19808 * stdio-common/Makefile (CPPFLAGS): Likewise.
19809 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19810 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19811 Use $(libio-mtsafe).
19812 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19813 of -D_IO_MTSAFE_IO.
19814 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19815 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19816 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19817 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19818 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19819 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19820 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19821 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19822 (CFLAGS-fread_u_chk.c): Likewise.
19823 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19824 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19825 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19826 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19827 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19828 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19829 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19830 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19831 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19833 * libio/Makefile: Test [$(libc-reentrant) = yes]
19834 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19837 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19838 * sysdeps/pthread/configure: File removed.
19839 * sysdeps/pthread/Makeconfig: New file.
19840 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19841 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19843 2012-08-16 Gary Benson <gbenson@redhat.com>
19845 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19846 unmapping the first object in a namespace.
19848 2012-08-16 Roland McGrath <roland@hack.frob.com>
19850 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19851 (__internal_setnetgrent): ... this. Add internal_function to
19852 definition. Add libc_hidden_def.
19853 (setnetgrent): Update caller.
19854 (internal_endnetgrent): Renamed to ...
19855 (__internal_endnetgrent): ... this. Add internal_function to
19856 definition. Add libc_hidden_def.
19857 (endnetgrent): Update caller.
19858 (internal_getnetgrent_r): Renamed to ...
19859 (__internal_getnetgrent_r): ... this. Add internal_function to
19860 definition. Add libc_hidden_def.
19861 (__getnetgrent_r): Update caller.
19862 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19864 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19866 * stdlib/longlong.h: Update from GCC.
19868 2012-08-16 Roland McGrath <roland@hack.frob.com>
19870 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19871 on _QL, which is set by umul_ppmm but never used.
19872 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19873 variables, which are set by GMP macros but never used.
19874 * stdio-common/_itowa.c (_itowa): Likewise.
19875 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19876 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19878 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19880 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19881 struct La_sh_regs is not constant.
19882 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19883 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19884 and struct La_sparc64_regs are not constant.
19886 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19888 * sysdeps/unix/sysv/linux/kernel-features.h
19889 (__ASSUME_POSIX_TIMERS): Remove.
19890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19892 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19893 Make code unconditional.
19894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19895 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19896 Make code unconditional.
19897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19898 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19899 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19901 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19902 Make code unconditional.
19903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19904 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19905 (__libc_missing_posix_timers): Remove.
19907 2012-08-15 Roland McGrath <roland@hack.frob.com>
19909 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19910 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19912 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19914 * elf/dl-sym.c: Include <stdlib.h>.
19916 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19917 constants, which avoids warnings in 32-bit builds.
19919 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19920 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19922 * misc/lseek.c: File moved to ...
19923 * io/lseek.c: ... here.
19925 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19927 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19928 shifting LEN more than 31 bits at once.
19930 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19933 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19934 segmentation fault for a case of two empty input strings.
19935 * string/test-strncasecmp.c (check1): Renamed to...
19936 (bz12205): ...this.
19937 (bz14195): Add new testcase for two empty input strings and N > 0.
19938 (test_main): Call new testcase, adapt for renamed function.
19940 2012-08-15 Andreas Jaeger <aj@suse.de>
19943 * crypt/md5test2.c: New test, based on test supplied by Serge
19944 Belyshev <belyshev@depni.sinp.msu.ru>.
19945 * crypt/Makefile (xtests): Add md5test-giant..
19946 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19948 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19951 * crypt/md5.c (md5_process_block): Don't assume the buffer
19952 length is less than 2**32.
19953 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19954 length is less than 2**64.
19956 2012-08-15 Roland McGrath <roland@hack.frob.com>
19958 * string/str-two-way.h: Include <sys/param.h>.
19959 (MAX): Macro removed.
19961 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19962 Move #define and #undef of memmove to just before and after
19963 including <string.h>.
19965 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19966 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19967 and after including <string.h>. Move declarations of
19968 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19969 to before #include "string/memmove.c".
19971 * include/dirent.h: Declare __getdirentries.
19973 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19974 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19976 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19978 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19979 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19980 * sysdeps/i386/configure: Regenerated.
19981 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19982 STABS_CURRENT_FILE, and STABS_FUN.
19983 (END): Remove call to STABS_FUN_END.
19984 (STABS_CURRENT_FILE1): Delete.
19985 (STABS_CURRENT_FILE): Likewise.
19986 (STABS_FUN): Likewise.
19987 (STABS_FUN_END): Likewise.
19988 (STABS_FUN2): Likewise.
19989 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19990 * sysdeps/x86_64/configure: Regenerated.
19992 2012-08-14 Roland McGrath <roland@hack.frob.com>
19994 * elf/dl-open.c: Include <atomic.h>.
19995 * elf/dl-lookup.c: Likewise.
19997 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19999 * sysdeps/unix/sysv/linux/kernel-features.h
20000 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20001 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20003 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20005 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20006 condition on __ASSUME_CLONE_THREAD_FLAGS.
20008 2012-08-14 Andreas Jaeger <aj@suse.de>
20010 * sysdeps/i386/fpu/libm-test-ulps: Update.
20012 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20014 * include/atomic.h (atomic_exchange_and_add): Split into ...
20015 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20018 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20022 2012-08-13 Jeff Law <law@redhat.com>
20024 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20025 null byte in the output string.
20027 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20029 * sysdeps/unix/sysv/linux/kernel-features.h
20030 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20031 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20032 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20033 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20034 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20035 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20036 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20038 2012-08-09 Jeff Law <law@redhat.com>
20041 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20042 When avoid_arena is set, don't retry in the that arena. Pick the
20043 next one, whatever it might be.
20044 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20045 (arena_lock): Pass in new parameter to arena_get2.
20046 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20048 (__libc_malloc): Unify retrying after main arena failure with
20049 __libc_memalign version.
20050 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20052 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20055 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20056 to __redirect_strstr.
20057 (__strstr_sse42): Use typeof __redirect_strstr.
20058 (__strstr_ia32): Likewise.
20059 (__libc_strstr): New prototype.
20060 (strstr): Renamed to ...
20061 (__libc_strstr): This.
20062 (strstr): New strong alias of __libc_strstr.
20063 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20064 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20067 (__libc_time): New prototype.
20068 (time_ifunc): Replace time with __libc_time.
20069 (time): New strong alias and hidden definition of __libc_time.
20070 (__GI_time): Remove strong alias.
20071 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20072 Include <stddef.h>.
20073 (memmove): Redefined to __redirect_memmove.
20074 (__memmove_sse2): Use typeof __redirect_memmove.
20075 (__memmove_ssse3): Likewise.
20076 (__memmove_ssse3_back): Likewise.
20077 (__libc_memmove): New prototype.
20078 (memmove): Renamed to ...
20079 (__libc_memmove): This.
20080 (memmove): New strong alias of __libc_memmove.
20082 2012-08-08 Mark Salter <msalter@redhat.com>
20085 (R_MN10300_TLS_GD): Define.
20086 (R_MN10300_TLS_LD): Likewise.
20087 (R_MN10300_TLS_LDO): Likewise.
20088 (R_MN10300_TLS_GOTIE): Likewise.
20089 (R_MN10300_TLS_IE): Likewise.
20090 (R_MN10300_TLS_LE): Likewise.
20091 (R_MN10300_TLS_DTPMOD): Likewise.
20092 (R_MN10300_TLS_DTPOFF): Likewise.
20093 (R_MN10300_TLS_TPOFF): Likewise.
20094 (R_MN10300_SYM_DIFF): Likewise.
20095 (R_MN10300_ALIGN): Likewise.
20096 (R_MN10300_NUM): Update.
20098 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20103 2012-08-08 Roland McGrath <roland@hack.frob.com>
20105 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20107 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20108 sysdeps/unix -> sysdeps/posix move.
20109 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20111 2012-08-07 Allan McRae <allan@archlinux.org>
20114 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20115 (SUNOS_CPP): Likewise.
20116 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20118 (open_input): Call CPP using execvp.
20120 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20122 * sysdeps/unix/sysv/linux/kernel-features.h
20123 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20124 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20125 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20126 (__ASSUME_WAITID_SYSCALL): Likewise.
20127 * sysdeps/unix/sysv/linux/dl-execstack.c
20128 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20129 code unconditional.
20130 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20133 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20134 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20136 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20138 [__ASSUME_WAITID_SYSCALL]: Likewise.
20139 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20141 2012-08-07 Roland McGrath <roland@hack.frob.com>
20143 * sysdeps/unix/closedir.c: Renamed to ...
20144 * sysdeps/posix/closedir.c: ... here.
20145 * sysdeps/unix/dirfd.c: Renamed to ...
20146 * sysdeps/posix/dirfd.c: ... here.
20147 * sysdeps/unix/dirstream.h: Renamed to ...
20148 * sysdeps/posix/dirstream.h: ... here.
20149 * sysdeps/unix/fdopendir.c: Renamed to ...
20150 * sysdeps/posix/fdopendir.c: ... here.
20151 * sysdeps/unix/opendir.c: Renamed to ...
20152 * sysdeps/posix/opendir.c: ... here.
20153 * sysdeps/unix/readdir.c: Renamed to ...
20154 * sysdeps/posix/readdir.c: ... here.
20155 * sysdeps/unix/readdir_r.c: Renamed to ...
20156 * sysdeps/posix/readdir_r.c: ... here.
20157 * sysdeps/unix/rewinddir.c: Renamed to ...
20158 * sysdeps/posix/rewinddir.c: ... here.
20159 * sysdeps/unix/seekdir.c: Renamed to ...
20160 * sysdeps/posix/seekdir.c: ... here.
20161 * sysdeps/unix/telldir.c: Renamed to ...
20162 * sysdeps/posix/telldir.c: ... here.
20163 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20164 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20165 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20166 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20168 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20169 * bits/fcntl.h: ... here.
20171 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20173 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20174 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20175 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20176 (struct flock): Move l_start, l_len to the beginning.
20177 Use __pid_t for l_pid.
20178 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20179 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20180 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20181 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20182 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20183 [__USE_LARGEFILE64] (struct flock64): New type.
20184 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20186 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20187 * bits/dirent.h: ... here.
20189 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20190 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20192 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20195 Change from 2.6.0 to 2.6.16.
20196 * sysdeps/unix/sysv/linux/configure: Regenerated.
20197 * sysdeps/unix/sysv/linux/kernel-features.h
20198 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20199 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20201 (__ASSUME_UTIMES): Likewise.
20202 (__ASSUME_CLONE_STOPPED): Remove.
20203 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20204 architectures, not kernel version.
20205 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20206 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20207 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20208 (__ASSUME_WAITID_SYSCALL): Likewise.
20209 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20210 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20211 * README: State 2.6.16 as minimum Linux kernel version. Do not
20212 refer to older versions.
20214 2012-08-06 Roland McGrath <roland@hack.frob.com>
20216 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20217 Define alphasort64 as an alias.
20218 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20219 Define versionsort64 as an alias.
20220 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20221 Define scandir64 as an alias.
20222 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20223 Define scandirat64 as an alias.
20224 * dirent/alphasort64.c (alphasort64):
20225 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20226 * dirent/versionsort64.c: Likewise.
20227 * dirent/scandir64.c: Likewise.
20228 * dirent/scandirat64.c: Likewise.
20229 * sysdeps/wordsize-64/alphasort.c: File removed.
20230 * sysdeps/wordsize-64/alphasort64.c: File removed.
20231 * sysdeps/wordsize-64/scandir.c: File removed.
20232 * sysdeps/wordsize-64/scandir64.c: File removed.
20233 * sysdeps/wordsize-64/scandirat.c: File removed.
20234 * sysdeps/wordsize-64/scandirat64.c: File removed.
20235 * sysdeps/wordsize-64/versionsort.c: File removed.
20236 * sysdeps/wordsize-64/versionsort64.c: File removed.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20239 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20240 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20241 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20242 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20244 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20246 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20248 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20250 [defined __arch64__ || defined __sparcv9]
20251 (__INO_T_MATCHES_INO64_T): New macro.
20252 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20253 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20254 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20255 * sysdeps/unix/sysv/linux/bits/dirent.h
20256 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20257 (_DIRENT_MATCHES_DIRENT64): New macro.
20259 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20260 Define lockf64 as an alias.
20261 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20262 Define fseeko64 as an alias.
20263 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20264 Define ftello64 as an alias.
20265 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20266 Define _IO_fgetpos64 and fgetpos64 as aliases.
20267 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20268 Define _IO_fsetpos64 and fsetpos64 as aliases.
20269 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20270 Conditionalize body on this.
20271 * libio/fseeko64.c: Likewise.
20272 * libio/ftello64.c: Likewise.
20273 * libio/iofgetpos64.c: Likewise.
20274 * libio/iofsetpos64.c: Likewise.
20275 * sysdeps/wordsize-64/lockf.c: File removed.
20276 * sysdeps/wordsize-64/lockf64.c: File removed.
20277 * sysdeps/wordsize-64/fseeko.c: File removed.
20278 * sysdeps/wordsize-64/fseeko64.c: File removed.
20279 * sysdeps/wordsize-64/ftello.c: File removed.
20280 * sysdeps/wordsize-64/ftello64.c: File removed.
20281 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20282 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20283 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20284 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20286 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20287 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20288 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20289 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20290 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20292 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20293 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20294 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20296 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20298 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20300 [defined __arch64__ || defined __sparcv9]
20301 (__OFF_T_MATCHES_OFF64_T): New macro.
20302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20303 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20305 (__OFF_T_MATCHES_OFF64_T): New macro.
20307 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20309 * stdlib/secure-getenv.c (__secure_getenv): Replace
20310 GLIBC_2_16 with GLIBC_2_17.
20312 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20315 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20317 2012-08-03 David S. Miller <davem@davemloft.net>
20319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20321 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20325 (__ASSUME_CORRECT_SI_PID): Likewise.
20326 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20327 (__ASSUME_TMPFS_NAME): Likewise.
20328 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20329 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20330 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20331 (HAVE_AUX_SECURE): Make definition unconditional.
20332 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20333 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20335 2012-08-03 Roland McGrath <roland@hack.frob.com>
20337 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20338 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20339 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20340 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20341 __eloop_threshold instead of SYMLOOP_MAX.
20343 * sysdeps/generic/eloop-threshold.h: New file.
20344 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20346 * elf/chroot_canon.c (chroot_canon): Likewise.
20348 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20352 Change to 2.6.0 everywhere.
20353 * sysdeps/unix/sysv/linux/configure: Regenerated.
20354 * sysdeps/unix/sysv/linux/kernel-features.h
20355 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20356 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20358 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20359 (__ASSUME_FUTEX_REQUEUE): Remove.
20360 (__ASSUME_STATFS64): Define unconditionally.
20361 (__ASSUME_AT_SECURE): Likewise.
20362 (__ASSUME_CORRECT_SI_PID): Likewise.
20363 (__ASSUME_TGKILL): Define without depending on kernel version for
20365 (__ASSUME_UTIMES): Likewise.
20366 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20368 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20369 (__ASSUME_TMPFS_NAME): Likewise.
20370 * README: Update reference to Linux kernel versions.
20372 2012-08-02 Marek Polacek <polacek@redhat.com>
20375 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20376 libc_cv_asm_type_prefix with %.
20377 * configure: Regenerated.
20378 * include/libc-symbols.h: Remove comment about
20379 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20380 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20381 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20382 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20383 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20384 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20385 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20386 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20387 * elf/tst-unique2mod1.c: Likewise.
20388 * elf/tst-unique1mod2.c: Likewise.
20389 * elf/tst-unique1mod1.c: Likewise.
20390 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20391 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20392 Replace ASM_TYPE_DIRECTIVE with .type.
20393 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20394 * sysdeps/i386/sysdep.h: Likewise.
20395 * sysdeps/x86_64/sysdep.h: Likewise.
20396 * sysdeps/sh/sysdep.h: Likewise.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20398 Do not define ASM_TYPE_DIRECTIVE.
20399 * sysdeps/powerpc/sysdep.h: Likewise.
20400 * sysdeps/powerpc/powerpc32/sysdep.h:
20401 Replace ASM_TYPE_DIRECTIVE with .type.
20402 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20404 * sysdeps/i386/fpu/e_powf.S: Likewise.
20405 * sysdeps/i386/fpu/e_expl.S: Likewise.
20406 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20408 * sysdeps/i386/fpu/e_pow.S: Likewise.
20409 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20411 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20412 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20413 * sysdeps/i386/fpu/e_log2.S: Likewise.
20414 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20415 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20416 * sysdeps/i386/fpu/e_powl.S: Likewise.
20417 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20418 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20419 * sysdeps/i386/fpu/e_logl.S: Likewise.
20420 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20421 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20422 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20424 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20425 * sysdeps/i386/fpu/e_log.S: Likewise.
20426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20427 * sysdeps/i386/fpu/e_logf.S: Likewise.
20428 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20430 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20431 * sysdeps/i386/fpu/e_log10.S: Likewise.
20432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20437 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20438 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20439 * sysdeps/i386/i686/strtok.S: Likewise.
20440 * sysdeps/i386/i386-mcount.S: Likewise.
20441 * sysdeps/i386/strtok.S: Likewise.
20442 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20443 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20444 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20445 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20446 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20447 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20448 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20449 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20450 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20451 * sysdeps/x86_64/_mcount.S: Likewise.
20452 * sysdeps/x86_64/strtok.S: Likewise.
20453 * sysdeps/sh/_mcount.S: Likewise.
20455 2012-08-01 Roland McGrath <roland@hack.frob.com>
20457 * libio/iofopen.c: Include <fcntl.h>.
20458 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20459 (_IO_fopen64, fopen64): Define as aliases.
20460 * libio/iofopen64.c: Include <fcntl.h>.
20461 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20462 Conditionalize body on this.
20463 * sysdeps/wordsize-64/iofopen.c: File removed.
20464 * sysdeps/wordsize-64/iofopen64.c: File removed.
20466 2012-08-01 Marek Polacek <polacek@redhat.com>
20468 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20469 Use dlfcn directly instead of a variable.
20470 (binfmt-subdir): Do not define.
20473 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20475 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20476 Remove all definitions.
20477 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20478 <kernel-features.h>.
20479 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20480 (miss_F_GETOWN_EX): Remove all definitions.
20481 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20483 [!__ASSUME_FCNTL64]: Remove conditional code.
20484 [__ASSUME_FCNTL64]: Make code unconditional.
20485 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20486 <kernel-features.h>.
20487 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20488 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20489 (lockf64) [__NR_fcntl64]: Make code unconditional.
20490 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20492 * sysdeps/unix/sysv/linux/kernel-features.h
20493 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20494 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20495 Make code unconditional.
20496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20499 [__NR_vfork]: Make code unconditional.
20500 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20501 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20503 [__NR_vfork]: Make code unconditional.
20504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20507 2012-08-01 Roland McGrath <roland@hack.frob.com>
20509 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20510 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20512 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20513 Define mkstemp64 as an alias.
20514 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20515 Define mkstemps64 as an alias.
20516 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20517 Define mkostemp64 as an alias.
20518 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20519 Define mkostemps64 as an alias.
20520 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20521 Conditionalize body on this.
20522 * misc/mkostemp64.c: Likewise.
20523 * misc/mkostemps64.c: Likewise.
20524 * misc/mkstemps64.c: Likewise.
20525 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20526 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20527 * sysdeps/wordsize-64/mkostemp.c: File removed.
20528 * sysdeps/wordsize-64/mkstemp.c: File removed.
20529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20535 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20536 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20537 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20538 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20540 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20541 compat_symbol macros from <shlib-compat.h> rather than the underlying
20542 default_symbol_version and symbol_version macros, so that DEFAULT
20543 lines in shlib-versions are respected.
20544 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20546 2012-08-01 Florian Weimer <fweimer@redhat.com>
20548 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20549 Declare with warn_unused_result.
20550 (setgid, setregid, setegid, setresgid): Likewise.
20551 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20553 * WUR-REPORT: Remove set*id functions.
20555 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20557 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20559 2012-07-31 Roland McGrath <roland@hack.frob.com>
20562 * include/sys/socket.h (__libc_accept, __libc_accept4):
20563 Add attribute_hidden.
20564 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20566 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20568 * inet/getnetgrent_r.c (setup): Likewise.
20570 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20572 2012-07-31 David S. Miller <davem@davemloft.net>
20574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20576 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20579 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20580 value between 1.0 and 2.0 and smaller part has absolute value less
20582 * math/s_clog10.c (__clog10): Likewise.
20583 * math/s_clog10f.c (__clog10f): Likewise.
20584 * math/s_clog10l.c (__clog10l): Likewise.
20585 * math/s_clogf.c (__clogf): Likewise.
20586 * math/s_clogl.c (__clogl): Likewise.
20587 * math/libm-test.inc (clog_test): Add more tests.
20588 (clog10_test): Likewise.
20589 * sysdeps/i386/fpu/libm-test-ulps: Update.
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20592 2012-07-31 Florian Weimer <fweimer@redhat.com>
20594 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20595 Exit with zero in case no suitable GID is found, and write a
20596 message to standard error.
20598 2012-07-30 Roland McGrath <roland@hack.frob.com>
20600 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20602 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20603 (MAXPATHLEN): Removed.
20604 (NOGROUP, NODEV): New macros.
20605 (setbit, clrbit, isset, isclr): New macros.
20606 (howmany, roundup, powerof2): New macros.
20607 (DEV_BSIZE): New macro.
20609 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20610 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20612 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20613 definition on [!__NO_LONG_DOUBLE_MATH].
20615 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20616 PTR_MANGLE and PTR_DEMANGLE.
20618 * socket/accept4.c (accept4): Rename to __libc_accept4.
20619 Define accept4 as a weak alias.
20621 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20622 on [_DIRENT_HAVE_D_TYPE].
20623 * io/ftw.c (ftw_dir): Likewise.
20625 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20627 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20629 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20630 Use the BSD numbers rather than the arbitrary ones we had.
20631 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20632 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20633 (SIGXCPU, SIGXFSZ): New macros.
20636 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20637 initializer on [_LIBC_REENTRANT].
20639 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20640 definitions inside [_POSIX_MAPPED_FILES].
20642 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20644 * dirent/opendir.c: Include <fcntl.h>.
20646 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20647 (__libc_getspecific): Likewise.
20648 (__libc_key_create): Likewise.
20650 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20651 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20652 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20653 (tmpfile64): Define as alias.
20654 * sysdeps/wordsize-64/tmpfile.c: File removed.
20655 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20656 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20657 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20659 * stdio-common/vfscanf.c: Include <stdbool.h>.
20660 * nss/makedb.c: Likewise.
20661 * stdio-common/_i18n_number.h: Likewise.
20662 * argp/argp-help.c: Likewise.
20663 * posix/wordexp.c: Likewise.
20664 * sysdeps/posix/spawni.c: Likewise.
20665 * nss/nss_files/files-initgroups.c: Likewise.
20666 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20667 * nss/nss_files/files-initgroups.c: Likewise.
20668 * nss/nss_db/db-netgrp.c: Likewise.
20669 * nss/nss_db/db-initgroups.c: Likewise.
20670 * io/fchmodat.c: Include <sys/stat.h>.
20672 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20673 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20675 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20678 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20679 Add multiple inclusion protection.
20681 2012-07-27 David S. Miller <davem@davemloft.net>
20683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20685 2012-07-27 Gary Benson <gbenson@redhat.com>
20688 * elf/rtld.c: Include <stap-probe.h>.
20689 (dl_main): Added static probes "init_start" and "init_complete".
20690 * elf/dl-load.c: Include <stap-probe.h>.
20691 (lose): Take new parameter "nsid".
20692 Added static probe "map_failed".
20693 (_dl_map_object_from_fd): Pass namespace id to lose.
20694 Added static probe "map_start".
20695 (open_verify): Pass namespace id to lose.
20696 * elf/dl-open.c: Include <stap-probe.h>.
20697 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20698 and "reloc_complete".
20699 * elf/dl-close.c: Include <stap-probe.h>.
20700 (_dl_close_worker): Added static probes "unmap_start" and
20702 * elf/rtld-debugger-interface.txt: New file documenting the above.
20704 2012-07-26 Roland McGrath <roland@hack.frob.com>
20706 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20707 rather than a string variable.
20708 * sunrpc/rpc_main.c (h_output): Likewise.
20709 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20711 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20713 * inet/check_native.c: New file.
20715 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20718 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20719 if larger part has absolute value 1.0.
20720 * math/s_clog10.c (__clog10): Likewise.
20721 * math/s_clog10f.c (__clog10f): Likewise.
20722 * math/s_clog10l.c (__clog10l): Likewise.
20723 * math/s_clogf.c (__clogf): Likewise.
20724 * math/s_clogl.c (__clogl): Likewise.
20725 * math/libm-test.inc (clog_test): Add more tests.
20726 (clog10_test): Likewise.
20727 * sysdeps/i386/fpu/libm-test-ulps: Update.
20728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20730 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20731 (pltexit): Likewise.
20732 (La_regs): Likewise.
20733 (La_retval): Likewise.
20734 (int_retval): Likewise.
20735 Update #error for removed macros to refer only to definitions in
20737 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20739 (pltexit): Likewise.
20740 (La_regs): Likewise.
20741 (La_retval): Likewise.
20742 (int_retval): Likewise.
20743 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20745 (pltexit): Likewise.
20746 (La_regs): Likewise.
20747 (La_retval): Likewise.
20748 (int_retval): Likewise.
20749 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20751 (pltexit): Likewise.
20752 (La_regs): Likewise.
20753 (La_retval): Likewise.
20754 (int_retval): Likewise.
20755 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20757 (pltexit): Likewise.
20758 (La_regs): Likewise.
20759 (La_retval): Likewise.
20760 (int_retval): Likewise.
20761 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20763 (pltexit): Likewise.
20764 (La_regs): Likewise.
20765 (La_retval): Likewise.
20766 (int_retval): Likewise.
20767 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20769 (pltexit): Likewise.
20770 (La_regs): Likewise.
20771 (La_retval): Likewise.
20772 (int_retval): Likewise.
20773 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20774 macro definitions in tst-audit.h.
20775 * sysdeps/i386/tst-audit.h: New file.
20776 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20777 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20778 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20779 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20780 * sysdeps/sh/tst-audit.h: Likewise.
20781 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20782 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20783 * sysdeps/x86_64/tst-audit.h: Likewise.
20785 2012-07-26 Andreas Jaeger <aj@suse.de>
20787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20790 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20791 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20792 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20794 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20795 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20796 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20798 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20801 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20803 (si_call_addr, si_syscall, si_arch): Define new macro.
20804 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20806 (si_call_addr, si_syscall, si_arch): Define new marcro.
20807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20809 (si_call_addr, si_syscall, si_arch): Define new macro.
20810 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20812 (si_call_addr, si_syscall, si_arch): Define new macro.
20814 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20818 Change to 2.4.21 where previously 2.4.1.
20819 * sysdeps/unix/sysv/linux/configure: Regenerated.
20820 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20821 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20822 Linux kernel version.
20823 (__ASSUME_STD_AUXV): Remove.
20824 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20826 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20827 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20828 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20829 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20830 (__ASSUME_NETLINK_SUPPORT): Likewise.
20831 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20832 (__no_netlink_support): Remove conditional definition.
20833 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20835 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20836 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20837 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20838 (if_nameindex_ioctl): Remove.
20839 (if_nameindex_netlink): Do not handle __no_netlink_support.
20840 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20842 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20843 Remove conditional code.
20844 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20846 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20848 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20849 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20850 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20852 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20853 [!__ASSUME_STD_AUXV]: Remove conditional code.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20855 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20856 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20858 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20859 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20861 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20863 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20864 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20866 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20868 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20871 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20874 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20875 code unconditional.
20876 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20878 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20880 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20883 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20885 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20888 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20889 code unconditional.
20890 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20892 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20894 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20897 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20898 code unconditional.
20899 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20901 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20903 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20906 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20908 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20909 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20910 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20911 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20912 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20913 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20914 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20915 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20916 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20917 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20918 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20919 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20920 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20921 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20923 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20924 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20926 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20929 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20932 2012-07-25 Florian Weimer <fweimer@redhat.com>
20934 * Versions.def: Add GLIBC_2.17.
20935 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20936 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20937 Introduce __libc_secure_getenv.
20938 * stdlib/Versions (2.17): Add secure_getenv
20939 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20940 * stdlib/secure-getenv.c: Rename __secure_getenv to
20941 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20942 symbol __secure_getenv for GLIBC_2.0.
20943 * stdlib/tst-secure-getenv.c: New.
20944 * stdlib/Makefile (tests): Add testcase.
20945 * manual/startup.texi (Environment Access): Document
20947 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20948 __libc_secure_getenv.
20949 * inet/ruserpass.c (ruserpass): Likewise.
20950 * malloc/mtrace.c (mtrace): Likewise.
20951 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20952 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20953 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20954 * sysdeps/posix/tempname.c: Likewise. Evaluate
20955 HAVE_SECURE_GETENV.
20956 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20957 __secure_getenv to __libc_secure_getenv.
20958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20971 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20973 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20974 (struct La_i86_retval): Likewise.
20975 (struct La_x86_64_regs): Likewise.
20976 (struct La_x86_64_retval): Likewise.
20977 (struct La_x32_regs): Likewise.
20978 (struct La_x32_retval): Likewise.
20979 (struct La_ppc32_regs): Likewise.
20980 (struct La_ppc32_retval): Likewise.
20981 (struct La_ppc64_regs): Likewise.
20982 (struct La_ppc64_retval): Likewise.
20983 (struct La_sh_regs): Likewise.
20984 (struct La_sh_retval): Likewise.
20985 (struct La_s390_32_regs): Likewise.
20986 (struct La_s390_32_retval): Likewise.
20987 (struct La_s390_64_regs): Likewise.
20988 (struct La_s390_64_retval): Likewise.
20989 (struct La_sparc32_regs): Likewise.
20990 (struct La_sparc32_retval): Likewise.
20991 (struct La_sparc64_regs): Likewise.
20992 (struct La_sparc64_retval): Likewise.
20993 (struct audit_ifaces): Remove architecture-specific pltenter and
20995 * sysdeps/i386/ldsodefs.h: New file.
20996 * sysdeps/powerpc/ldsodefs.h: Likewise.
20997 * sysdeps/s390/ldsodefs.h: Likewise.
20998 * sysdeps/sh/ldsodefs.h: Likewise.
20999 * sysdeps/sparc/ldsodefs.h: Likewise.
21000 * sysdeps/x86_64/ldsodefs.h: Likewise.
21002 2012-07-25 Marek Polacek <polacek@redhat.com>
21005 * math/libm-test.inc (yn_test): Add another test.
21006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21007 to ERANGE when the result is +-Inf.
21008 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21009 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21010 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21011 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21013 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21015 * conform/data/time.h-data (NULL): Use macro-constant. Require
21017 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21019 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21021 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21023 * configure.in <sysdeps resolving>: Correct printing
21025 * configure: Regenerate.
21027 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21029 * math/w_ilogb.c: Include <limits.h>.
21030 * math/w_ilogbl.c: Likewise.
21032 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21034 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21035 va_copy. Document allowing for unavailable va_copy only as
21036 pre-C99 compatibility.
21037 * manual/string.texi (Copying and Concatenation): Use va_copy
21038 instead of __va_copy in concat example.
21040 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21042 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21043 (__sendto): Use create_address_port. Initialize APORT and deallocate
21046 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21047 with O_NOLINK passed to __file_name_lookup.
21049 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21050 with O_NOLINK passed to __file_name_lookup.
21052 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21053 negative N or less than NGIDS.
21055 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21056 type to string_t. Set ERANGE as errno and return it if NAME is not big
21057 enough. Use memcpy instead of strncpy.
21059 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21061 * elf/Makefile (check-data): Remove.
21062 (localplt.data): New vpath directive.
21063 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21064 instead of $(check-data).
21065 * scripts/data/localplt-generic.data: Move to ...
21066 * sysdeps/generic/localplt.data: ... here.
21067 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21068 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21069 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21072 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21075 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21078 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21081 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21084 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21088 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21090 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21091 PPC32 and PPC64 files.
21092 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21093 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21095 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21097 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21098 __makecontext_ret to ...
21099 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21100 ... here and call exit if uc_link is NULL. New file.
21101 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21102 __makecontext_ret.S.
21103 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21104 __makecontext_ret to ...
21105 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21106 ... here and call exit if uc_link is NULL. New file.
21107 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21108 __makecontext_ret.S.
21110 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21112 * elf/elf.h (R_390_IRELATIVE): New definition.
21113 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21114 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21115 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21116 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21117 (elf_machine_lazy_rel): Likewise.
21118 * sysdeps/s390/dl-irel.h: New file.
21119 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21120 * sysdeps/s390/s390-64/memset.S: New asm code.
21121 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21122 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21123 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21124 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21125 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21126 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21127 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21128 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21129 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21130 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21131 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21132 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21133 * sysdeps/s390/s390-32/memset.S: New asm code.
21134 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21136 2012-07-17 Marek Polacek <polacek@redhat.com>
21139 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21140 * sysdeps/s390/s390-64/configure.in: Likewise.
21141 * sysdeps/sparc/configure.in: Likewise.
21142 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21143 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21144 * sysdeps/i386/configure.in: Likewise.
21145 * sysdeps/x86_64/configure.in: Likewise.
21146 * sysdeps/sh/configure.in: Likewise.
21147 * sysdeps/s390/s390-32/configure: Regenerated.
21148 * sysdeps/s390/s390-64/configure: Likewise.
21149 * sysdeps/x86_64/configure: Likewise.
21150 * sysdeps/sh/configure: Likewise.
21151 * sysdeps/powerpc/powerpc64/configure: Likewise.
21152 * sysdeps/powerpc/powerpc32/configure: Likewise.
21153 * sysdeps/sparc/configure: Likwise.
21154 * sysdeps/i386/configure: Likewise.
21156 * elf/dl-open.c: Comment fixes.
21158 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21160 * Makefile [CXX] (check-data): Remove.
21161 [CXX] (c++-types.data): New vpath directive.
21162 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21163 vpath. Do not allow for C++ type data being missing.
21164 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21165 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21166 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21167 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21168 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21169 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21170 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21173 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21176 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21179 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21182 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21185 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21188 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21191 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21194 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21195 definitions to architecture-specific files.
21196 (TLS_IE): Likewise.
21197 (TLS_LD): Likewise.
21198 (TLS_GD): Likewise.
21199 * sysdeps/i386/tls-macros.h: New file.
21200 * sysdeps/powerpc/tls-macros.h: Likewise.
21201 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21202 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21203 * sysdeps/sh/tls-macros.h: Likewise.
21204 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21205 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21206 * sysdeps/x86_64/tls-macros.h: Likewise.
21208 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21211 zero value for regular exit case.
21213 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21214 (__start_context): Preserve zero value for regular exit case.
21216 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21217 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21219 * manual/setjmp.texi (setcontext): Clarify normal process
21220 termination when uc_link is the null pointer.
21221 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21224 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21226 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21227 preprocessor. Test for each exception mask separately.
21229 2012-07-16 Andreas Jaeger <aj@suse.de>
21231 * po/ru.po: Update from translation team.
21233 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21235 * conform/data/string.h-data (NULL): Use macro-constant. Require
21237 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21238 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21239 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21240 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21243 2012-07-13 Andreas Jaeger <aj@suse.de>
21245 * po/fr.po: Update from translation team.
21247 2012-07-12 Marek Polacek <polacek@redhat.com>
21250 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21254 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21258 Change to 2.4.1 where previously 2.4.0.
21259 * sysdeps/unix/sysv/linux/configure: Regenerated.
21260 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21261 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21263 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21264 (__ASSUME_AT_CLKTCK): Remove.
21265 (__ASSUME_AT_PAGESIZE): Likewise.
21266 (__ASSUME_AT_XID): Likewise.
21267 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21268 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21269 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21271 (HAVE_AUX_PAGESIZE): Likewise.
21272 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21273 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21274 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21276 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21280 the temporary buffer used to invoke __gethostbyname2_r,
21281 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21282 host_data / struct gaih_addrtuple.
21283 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21284 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21285 header file nss/nsswitch.h.
21286 * nss/nsswitch.h (global scope): Add definition of implementation
21287 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21288 resolv/nss_dns/dns-host.c).
21290 2012-07-11 Andreas Jaeger <aj@suse.de>
21292 * po/fr.po: Update from translation team.
21294 * po/sv.po: Update from translation team
21295 * po/fr.po: Another update from translation team.
21297 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21300 for subnormals or multiply small sinh result by itself.
21301 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21304 2012-07-11 David S. Miller <davem@davemloft.net>
21306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21308 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21311 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21312 (INTERNAL_MARK): Shift it here.
21314 2012-07-10 Marek Polacek <polacek@redhat.com>
21317 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21318 libc_cv_asm_global_directive with .globl.
21319 * configure: Regenerated.
21320 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21322 * sysdeps/i386/configure: Regenerated.
21323 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21325 * sysdeps/x86_64/configure: Regenerated.
21326 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21327 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21328 * elf/tst-unique2mod2.c: Likewise.
21329 * elf/tst-unique2mod1.c: Likewise.
21330 * elf/tst-unique1mod2.c: Likewise.
21331 * elf/tst-unique1mod1.c: Likewise.
21332 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21333 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21335 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21336 * sysdeps/mach/sysdep.h: Likewise.
21337 * sysdeps/i386/sysdep.h: Likewise.
21338 * sysdeps/i386/i386-mcount.S: Likewise.
21339 * sysdeps/x86_64/_mcount.S: Likewise.
21340 * sysdeps/x86_64/sysdep.h: Likewise.
21341 * sysdeps/sh/_mcount.S: Likewise.
21342 * sysdeps/sh/sysdep.h: Likewise.
21343 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21344 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21345 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21346 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21347 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21348 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21349 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21350 * locale/localeinfo.h: Likewise.
21351 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21352 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21354 2012-07-09 Roland McGrath <roland@hack.frob.com>
21357 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21359 * manual/message.texi (The Uniforum approach): Likewise.
21360 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21361 (glibc iconv Implementation): Likewise.
21363 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21366 * math/s_clog.c (__clog): Avoid scaling a value down where that
21367 could result in underflow.
21368 * math/s_clog10.c (__clog10): Likewise.
21369 * math/s_clog10f.c (__clog10f): Likewise.
21370 * math/s_clog10l.c (__clog10l): Likewise.
21371 * math/s_clogf.c (__clogf): Likewise.
21372 * math/s_clogl.c (__clogl): Likewise.
21373 * math/libm-test.inc (clog_test): Add more tests.
21374 (clog10_test): Likewise.
21375 * sysdeps/i386/fpu/libm-test-ulps: Update.
21376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21381 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21382 by 7 not 8 to examine high bit of fractional part.
21385 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21386 for call to __mcount_internal.
21387 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21388 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21389 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21391 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21394 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21395 approximation for values within 0x1p-13f of an odd multiple of
21397 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21398 exception. Add more tests.
21399 * sysdeps/i386/fpu/libm-test-ulps: Update.
21402 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21403 inputs and return -1 for them. Do not check for +Inf in case not
21404 reachable for +Inf.
21405 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21406 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21408 and return -1 for them. Do not check for +Inf in case not
21409 reachable for +Inf.
21410 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21413 and return -1 for them. Do not check for +Inf in case not
21414 reachable for +Inf.
21415 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21416 spurious underflow.
21417 * sysdeps/i386/fpu/libm-test-ulps: Update.
21418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21420 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21422 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21424 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21428 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21429 could result in spurious underflow. Scale down values above
21430 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21431 * math/s_csqrtf.c (__csqrtf): Likewise.
21432 * math/s_csqrtl.c (__csqrtl): Likewise.
21433 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21434 spurious underflow.
21435 * sysdeps/i386/fpu/libm-test-ulps: Update.
21436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21438 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21440 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21442 * catgets/xopen-msg.awk: New file.
21443 * catgets/xopen-msg.sed: Removed.
21445 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21447 * intl/po2test.awk: New file.
21448 * intl/po2test.sed: Removed.
21450 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21453 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21454 or multiply small sinh result by itself.
21455 * math/s_ctanf.c (__ctanf): Likewise.
21456 * math/s_ctanh.c (__ctanh): Likewise.
21457 * math/s_ctanhf.c (__ctanhf): Likewise.
21458 * math/s_ctanhl.c (__ctanhl): Likewise.
21459 * math/s_ctanl.c (__ctanl): Likewise.
21460 * math/libm-test.inc (ctan_test_tonearest): New function.
21461 (ctan_test_towardzero): Likewise.
21462 (ctan_test_downward): Likewise.
21463 (ctan_test_upward): Likewise.
21464 (ctanh_test_tonearest): Likewise.
21465 (ctanh_test_towardzero): Likewise.
21466 (ctanh_test_downward): Likewise.
21467 (ctanh_test_upward): Likewise.
21468 (main): Call these new functions.
21469 * sysdeps/i386/fpu/libm-test-ulps: Update.
21470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21474 * .gitignore: Delete /ports entry.
21476 2012-07-03 Andreas Jaeger <aj@suse.de>
21478 * po/bg.po: Update from translation team.
21479 * po/cs.po: Likewise.
21480 * po/de.po: Likewise.
21481 * po/hr.po: Likewise.
21482 * po/nl.pl: Likewise.
21483 * po/pl.po: Likewise.
21484 * po/vi.po: Likewise.
21486 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21488 * Makeconfig [!+link] (+link-before-libc): New variable.
21489 [!+link] (+link-after-libc): Likewise.
21490 [!+link] (+link-tests): Likewise.
21491 [!+link] (+link): Define in terms of $(+link-before-libc) and
21492 $(+link-after-libc).
21493 [!+link-static] (+link-static-before-libc): New variable.
21494 [!+link-static] (+link-static-after-libc): Likewise.
21495 [!+link-static] (+link-static-tests): Likewise.
21496 [!+link-static] (+link-static): Define in terms of
21497 $(+link-static-before-libc) and $(+link-static-after-libc).
21498 [build-shared] (link-libc-before-gnulib): New variable.
21499 [build-shared] (link-libc-tests): Likewise.
21500 [build-shared] (link-libc): Define in terms of
21501 $(link-libc-before-gnulib).
21502 [!build-shared] (link-libc-tests): New variable.
21503 (link-libc-static-tests): New variable.
21504 [!gnulib] (gnulib-arch): New variable.
21505 [!gnulib] (gnulib-tests): Likewise.
21506 [!gnulib] (static-gnulib-arch): Likewise.
21507 [!gnulib] (static-gnulib-tests): Likewise.
21508 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21509 Define with "=" instead of ":=".
21510 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21511 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21512 * Rules (binaries-all-notests): New variable.
21513 (binaries-all-tests): Likewise.
21514 (binaries-static-notests): Likewise.
21515 (binaries-static-tests): Likewise.
21516 (binaries-all): Define using $(binaries-all-notests) and
21517 $(binaries-all-tests).
21518 (binaries-static): Define using $(binaries-static-notests) and
21519 $(binaries-static-tests).
21520 (binaries-shared-tests): New variable.
21521 (binaries-shared-notests): Likewise.
21522 (binaries-shared): Remove variable.
21523 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21524 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21525 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21526 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21527 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21528 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21529 * elf/Makefile (sln-modules): New variable.
21530 (extra-objs): Add $(sln-modules:=.o).
21531 (ldconfig-modules): Add static-stubs.
21532 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21533 * elf/static-stubs.c: New file.
21536 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21537 by 7 not 8 to examine high bit of fractional part. Use volatile
21538 variables when splitting into final array of floats if
21539 __FLT_EVAL_METHOD__ != 0.
21540 * math/libm-test.inc (cos_test): Add another test.
21541 (sin_test): Likewise.
21542 * sysdeps/i386/fpu/libm-test-ulps: Update.
21545 * math/libm-test.inc (cosh_test): Add more tests.
21547 * version.h (RELEASE): Set to "development".
21548 (VERSION): Set to "2.16.90".
21550 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21552 * NEWS: Update copyright. Remove last-updated date.
21553 Mention math library bug fixes and timezone data changes.
21554 * README: Mention GNU/Hurd, x32, and HPPA support status.
21556 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21558 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21560 2012-06-27 Andreas Jaeger <aj@suse.de>
21562 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21564 2012-06-25 Andreas Jaeger <aj@suse.de>
21566 * sysdeps/s390/fpu/libm-test-ulps: Update.
21568 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21569 Thomas Schwinge <thomas@codesourcery.com>
21571 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21572 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21576 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21578 * sysdeps/mach/start.c: Remove file.
21579 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21580 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21581 * sysdeps/sh/init-first.c: Likewise.
21583 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21584 registers for frame unwinding purposes, add CFI directives.
21585 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21587 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21590 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21591 __fortify_fail returning.
21592 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21595 sysdeps/sh/____longjmp_chk.S.
21596 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21597 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21598 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21599 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21601 * sysdeps/sh/abort-instr.h: New file.
21602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21603 process in case exit returns.
21605 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21606 initialize the GOT register before use.
21608 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21609 calculation of ARGC > 4.
21611 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21612 meaningful names to some local labels.
21614 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21615 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21617 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21618 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21619 (__arch_compare_and_exchange_val_16_acq): Likewise.
21620 (__arch_compare_and_exchange_val_32_acq): Likewise.
21621 (atomic_exchange_and_add): Fix gUSA sequence.
21622 (atomic_add): Likewise.
21623 (atomic_add_negative): Likewise.
21624 (atomic_add_zero): Likewise.
21625 (atomic_bit_test_set): Likewise.
21627 2012-06-22 Andreas Schwab <schwab@redhat.com>
21630 * include/link.h (struct link_map): Add l_free_initfini.
21631 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21633 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21634 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21635 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21638 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21640 * configure.in: Use AC_LANG_SOURCE.
21641 * configure: Regenerate.
21643 2012-06-22 Roland McGrath <roland@hack.frob.com>
21645 * configure.in (libc_cv_localstatedir): New substituted variable.
21646 * configure: Regenerated.
21647 * config.make.in (localstatedir): New variable, substituted from
21648 libc_cv_localstatedir.
21649 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21650 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21651 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21652 * sysdeps/gnu/configure: Regenerated.
21654 2012-06-21 Jeff Law <law@redhat.com>
21657 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21658 free. Simplify list management for _LIBC case.
21660 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21663 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21664 Clear sign bit of 64-bit integer value before comparing against
21667 * sysdeps/mach/configure: Regenerated.
21669 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21672 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21674 2012-06-21 Jeff Law <law@redhat.com>
21677 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21678 uint16_t for elements in the "seen" array to avoid char overflows.
21679 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21680 * elf/dl-open.c (dl_open_worker): Likewise.
21682 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21684 * scripts/list-sources.sh: Scan PORTS for translations.
21685 * po/libc.pot: Regenerated.
21687 2012-06-21 Andreas Jaeger <aj@suse.de>
21690 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21692 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21693 * bits/byteswap-16.h (__bswap_16): Likewise.
21694 * bits/byteswap.h (__bswap_constant_16): Likewise.
21696 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21699 * sysdeps/i386/fpu_control.h: Removed.
21700 * sysdeps/x86_64/fpu_control.h: Moved to ...
21701 * sysdeps/x86/fpu_control.h: Here.
21703 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21704 (_FPU_SETCW): Likewise.
21706 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21709 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21710 * sysdeps/x86/fpu/bits/mathinline.h: This.
21711 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21715 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21716 functions if __x86_64__ is defined.
21718 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21720 * string/endian.h: Add !__ASSEMBLER__ condition for including
21721 conversion interfaces.
21723 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21727 of ABS(x) in calculating zero to negative powers other than odd
21729 * math/libm-test.inc (pow_test): Add more tests.
21731 2012-06-15 Andreas Jaeger <aj@suse.de>
21733 * manual/contrib.texi (Contributors): Update entry of Liubov
21734 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21737 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21739 * string/string.h: Add __wur to GNU version of strerror_r.
21741 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21744 * string/Makefile (tests): Add tst-strtok_r.
21745 * string/tst-strtok_r.c: New file.
21746 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21747 RAX_LP/RDX_LP on SAVE_PTR.
21749 2012-06-14 Roland McGrath <roland@hack.frob.com>
21751 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21753 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21755 * libm_test.inc (csqrt_test): Allow more spurious underflow
21757 (j0_test): Likewise.
21758 (j1_test): Likewise.
21759 (y0_test): Likewise.
21760 (y1_test): Likewise.
21762 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21764 * po/Makefile (libc.pot): Use UTF-8 charset.
21766 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21769 Suppress sign-conversion warning from FD_SET.
21770 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21771 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21772 not unsigned long int.
21773 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21775 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21779 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21780 __extern_always_inline instead of __extern_inline.
21781 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21782 (__signbit): Likewise.
21783 (__signbitl): Support C++ namespace.
21784 (lrintf): New inline function.
21786 (llrintf): Likewise.
21787 (llrint): Likewise.
21797 (floorf): Likewise.
21798 (nearbyint): Likewise.
21799 (nearbyintf): Likewise.
21801 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21803 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21804 non-default versions.
21806 2012-06-11 Roland McGrath <roland@hack.frob.com>
21809 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21811 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21813 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21814 (FE_UPWARD, FE_DOWNWARD): Don't define.
21815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21818 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21820 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21823 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21825 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21827 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21828 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21830 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21833 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21834 * sysdeps/i386/fpu/Implies: New file.
21835 * sysdeps/x86_64/fpu/Implies: Likewise.
21836 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21837 * sysdeps/x86/fpu/bits/fenv.h: This.
21839 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21842 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21845 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21846 character 0xffff that matches the last element of the
21849 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21854 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21857 values higher than 25.6283.
21859 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21862 subnormal exponent extraction and add some __builtin_expect.
21863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21864 Fix for subnormal mantissa calculation.
21866 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21868 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21869 cpu2 is -1 and errno is not ENOSYS.
21871 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21874 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21875 * sysdeps/x86/bits/string.h: This.
21876 * sysdeps/x86_64/bits/string.h: Removed.
21878 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21879 if not compiling for x86-64, but compiling for >= i486.
21881 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21882 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21884 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21885 New macro from Linux kernel 3.4.0.
21886 (FP_XSTATE_MAGIC2): Likewise.
21887 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21888 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21889 (struct _fpx_sw_bytes): New struct.
21890 (struct _xsave_hdr): Likewise.
21891 (struct _ymmh_state): Likewise.
21892 (struct _xstate): Likewise.
21894 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21895 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21896 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21897 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21898 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21899 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21901 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21902 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21903 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21904 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21905 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21906 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21908 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21911 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21912 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21913 (sysdep_headers): Include sys/platform/ppc.h.
21914 * sysdeps/powerpc/test-gettimebase.c: Test for
21915 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21916 * manual/Makefile (appendices): Include platform.texi.
21917 * manual/contrib.texi (Contributors): Update @node pointers.
21918 * manual/maint.texi (Maintenance): Likewise.
21919 (Platform): New node.
21920 * manual/platform.texi: New file. Document the new features.
21922 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21923 Jakub Jelinek <jakub@redhat.com>
21926 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21927 where __builtin_expect is unavailable.
21929 2012-06-03 David S. Miller <davem@davemloft.net>
21931 * stdlib/longlong.h: Updated from GCC.
21933 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21936 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21937 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21940 (GLIBC_2.16): Likewise.
21942 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21944 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21946 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21949 (default-abi): New variable.
21950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21951 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21953 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21955 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21957 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21960 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21961 definition. Document in comment.
21963 2012-06-01 David S. Miller <davem@davemloft.net>
21965 * stdlib/longlong.h: Updated from GCC.
21967 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21970 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21971 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21972 sys/debugreg.h sys/io.h here.
21973 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21974 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21976 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21977 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21979 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21981 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21983 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21984 Define only if __x86_64__ is defined.
21986 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21989 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21990 Use int64_t for variable i.
21991 * math/libm-test.inc (fmod_test): Add more tests.
21993 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21994 z computation is not scheduled after fetestexcept.
21995 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21996 Use math_force_eval instead of asm to ensure calculation scheduled
21997 before exception test.
21998 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21999 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22001 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22004 computation is not scheduled after fetestexcept.
22006 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22009 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22010 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22012 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22014 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22015 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22017 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22020 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22022 (__WCHAR_MIN): Support __WORDSIZE == 64.
22023 (__WCHAR_MAX): Likewise.
22025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22026 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22030 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22033 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22034 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22036 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22037 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22039 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22040 Defined to 1 if __x86_64__ isn't defined.
22041 (_STAT_VER_LINUX_OLD): New.
22042 (st_atime): Remove duplicate.
22043 (st_mtime): Likewise.
22044 (st_ctime): Likewise.
22046 2012-05-31 David S. Miller <davem@davemloft.net>
22048 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22051 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22053 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22057 * elf/dl-reloc.c: Include <_itoa.h>.
22058 (_dl_reloc_bad_type): Remove use of INTUSE.
22059 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22060 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22061 * stdio-common/psiginfo.c (psiginfo): Likewise.
22062 * stdio-common/psignal.c (psignal): Likewise.
22063 * string/strsignal.c (strsignal): Likewise.
22064 * include/signal.h (_sys_siglist): Declare hidden proto.
22065 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22066 INTVARDEF with libc_hidden_data_def.
22067 * stdio-common/itoa-udigits.c: Likewise.
22068 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22069 (_itoa_lower_digits_internal): Remove declaration.
22070 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22071 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22072 (_sys_sigabbrev_internal): Remove aliases.
22073 (_sys_siglist): Define hidden alias.
22075 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22080 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22083 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22084 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22086 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22087 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22088 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22089 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22091 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22093 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22094 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22095 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22097 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22105 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22106 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22107 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22109 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22110 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22111 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22112 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22113 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22114 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22116 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22117 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22119 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22126 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22127 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22129 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22131 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22132 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22133 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22135 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22137 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22139 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22141 * math/math.h (M_El): Use two more decimal places.
22142 (M_LOG2El): Likewise.
22143 (M_LOG10El): Likewise.
22144 (M_LN2l): Likewise.
22145 (M_LN10l): Likewise.
22147 (M_PI_2l): Likewise.
22148 (M_PI_4l): Likewise.
22149 (M_1_PIl): Likewise.
22150 (M_2_PIl): Likewise.
22151 (M_2_SQRTPIl): Likewise.
22152 (M_SQRT2l): Likewise.
22153 (M_SQRT1_2l): Likewise.
22155 2012-05-31 David S. Miller <davem@davemloft.net>
22157 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22158 values between float registers.
22159 * sysdeps/sparc/sparc64/memset.S: Likewise.
22160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22162 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22164 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22165 -D_FORTIFY_SOURCE=1.
22166 (CPPFLAGS-tst-longjmp_chk.c): Define.
22167 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22168 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22169 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22170 CFLAGS-tst-wchar-h.c.
22172 2012-05-31 Marek Polacek <polacek@redhat.com>
22175 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22176 __endmntent_internal): Remove declaration.
22177 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22178 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22179 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22181 2012-05-30 David S. Miller <davem@davemloft.net>
22183 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22184 (___Q_simulate_exceptions): Use real FP ops rather than writing
22186 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22189 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22192 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22193 * sysdeps/x86/bits/xtitypes.h: This.
22195 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22196 * sysdeps/x86/bits/wordsize.h: This.
22198 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22199 * sysdeps/x86/bits/huge_vall.h: This.
22201 * sysdeps/i386/bits/select.h: Removed.
22202 * sysdeps/x86_64/bits/select.h: Renamed to ...
22203 * sysdeps/x86/bits/select.h: This.
22205 * sysdeps/i386/bits/setjmp.h: Removed.
22206 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22207 * sysdeps/x86/bits/setjmp.h: This.
22209 * sysdeps/i386/bits/mathdef.h: Removed.
22210 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22211 * sysdeps/x86/bits/mathdef.h: This.
22213 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22216 * include/sys/socket.h (__connect_internal)
22217 (__libc_sa_len_internal): Remove declaration.
22218 (__connect, __libc_sa_len): Declare hidden_proto.
22219 (SA_LEN): Remove use of INTUSE.
22220 * socket/connect.c: Add libc_hidden_def.
22221 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22222 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22223 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22225 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22226 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22227 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22228 of adding _internal alias.
22230 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22233 * sysdeps/i386/bits/link.h: Removed.
22234 * sysdeps/i386/bits/linkmap.h: Likewise.
22235 * sysdeps/x86_64/bits/link.h: Renamed to ...
22236 * sysdeps/x86/bits/link.h: This.
22237 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22238 * sysdeps/x86/bits/linkmap.h: This.
22240 * sysdeps/i386/bits/endian.h: Removed.
22241 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22242 * sysdeps/x86/bits/endian.h: This.
22244 * sysdeps/i386/bits/byteswap.h: Removed.
22245 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22246 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22247 * sysdeps/x86/bits/byteswap.h: This.
22248 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22249 * sysdeps/x86/bits/byteswap-16.h: This.
22250 * sysdeps/i386/Implies: Add x86.
22251 * sysdeps/x86_64/Implies: Likewise.
22253 2012-05-30 David S. Miller <davem@davemloft.net>
22255 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22256 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22257 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22258 (FP_TRAPPING_EXCEPTIONS): Define.
22259 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22260 (FP_TRAPPING_EXCEPTIONS): Define.
22261 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22262 subnormals only when inexact has been signalled or underflow
22263 exceptions are enabled.
22264 (_FP_PACK_CANONICAL): Likewise.
22266 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22269 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22270 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22272 2012-05-30 Richard Henderson <rth@twiddle.net>
22274 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22275 with #ifndef NOT_IN_libc.
22277 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22278 marked to avoid plt entry.
22280 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22283 * Makeconfig (default-abi): New macro.
22284 (abi-includes): Likewise.
22285 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22286 $(abi-$(default-abi)-lib-soname) for soname if defined.
22287 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22289 * Makefile (installed-stubs): Likewise.
22290 * include/stubs-biarch.h: Removed.
22291 * scripts/lib-names.awk: Only handle one library at a time.
22292 * scripts/soversions.awk: Remove WORDSIZE support.
22293 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22295 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22297 (syscall-list-default-condition): Likewise.
22298 (syscall-list-default-condition): Likewise.
22299 (syscall-list-includes): Likewise.
22300 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22301 syscall-list-* with abi-*. Handle undefined abi-variants.
22302 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22303 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22304 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22305 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22306 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22307 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22309 (syscall-list-32-options): Likewise.
22310 (syscall-list-32-condition): Likewise.
22311 (syscall-list-64-options): Likewise.
22312 (syscall-list-64-condition): Likewise.
22313 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22315 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22318 (abi-64-ld-soname): New macro.
22319 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22320 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22323 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22324 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22326 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22328 * sysdeps/unix/sysv/linux/kernel-features.h
22329 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22330 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22331 include <kernel-features.h>.
22332 [!__NR_ftruncate64]: Remove conditional code.
22333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22334 [__NR_ftruncate64]: Make code unconditional.
22335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22336 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22337 include <kernel-features.h>.
22338 [!__NR_ftruncate64]: Remove conditional code.
22339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22340 [__NR_ftruncate64]: Make code unconditional.
22341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22343 include <kernel-features.h>.
22344 [!__NR_ftruncate64]: Remove conditional code.
22345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22346 [__NR_ftruncate64]: Make code unconditional.
22347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22349 include <kernel-features.h>.
22350 [!__NR_ftruncate64]: Remove conditional code.
22351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22352 [__NR_ftruncate64]: Make code unconditional.
22353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22355 * configure.in (libc_cv_fpie): Weaken to a compile test using
22356 LIBC_TRY_CC_OPTION.
22357 * configure: Regenerated.
22359 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22374 2012-05-27 David S. Miller <davem@davemloft.net>
22376 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22378 (__Q_simulate_exceptions): Return void. Change to simulate
22379 exceptions by writing into the %fsr.
22380 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22381 (__Qp_handle_exceptions): Likewise.
22383 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22384 __Qp_handle_exceptions.
22385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22386 __Qp_handle_exceptions.
22387 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22388 as unused and give dummy FP_RND_NEAREST initializer.
22389 (FP_INHIBIT_RESULTS): Define.
22390 (___Q_simulate_exceptions): Update declaration.
22391 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22393 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22394 as unused and give dummy FP_RND_NEAREST initializer.
22395 (__Qp_handle_exceptions): Update declaration.
22396 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22399 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22401 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22402 the temporary FPU control word.
22403 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22404 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22405 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22406 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22407 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22408 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22409 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22410 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22411 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22412 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22415 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22417 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22420 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22422 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22423 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22424 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22425 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22427 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22428 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22431 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22433 * po/h.po: Update from translation team.
22435 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22437 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22439 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22440 handling of denormals.
22441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22442 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22443 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22444 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22450 2012-05-26 Marek Polacek <polacek@redhat.com>
22453 * math/libm-test.inc (fma_test): Don't always expect underflow
22456 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22459 * elf/tst-execstack.c: Include stackinfo.h.
22460 (do_test): Adjust test case to ensure that pthread_getattr_np
22461 behaviour remains the same after marking stack executable.
22463 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22465 * sysdeps/unix/sysv/linux/kernel-features.h
22466 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22467 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22469 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22470 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22471 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22473 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22474 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22476 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22478 * configure.in: Define the default includes to being none.
22479 * configure: Regenerated.
22481 2012-05-25 Roland McGrath <roland@hack.frob.com>
22483 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22484 * sysdeps/x86_64/setjmp.S: Likewise.
22485 * sysdeps/i386/bsd-setjmp.S: Likewise.
22486 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22487 * sysdeps/i386/setjmp.S: Likewise.
22488 * sysdeps/i386/__longjmp.S: Likewise.
22489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22490 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22492 * include/stap-probe.h: New file.
22493 * configure.in: Handle --enable-systemtap.
22494 * configure: Regenerated.
22495 * config.h.in (USE_STAP_PROBE): New #undef.
22496 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22497 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22498 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22500 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22503 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22504 to 2.4.0 where earlier.
22505 * sysdeps/unix/sysv/linux/configure: Regenerated.
22506 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22507 <kernel-features.h>.
22508 [__ASSUME_32BITUIDS]: Make code unconditional.
22509 [!__ASSUME_32BITUIDS]: Remove conditional code.
22510 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22511 <kernel-features.h>.
22512 [__ASSUME_32BITUIDS]: Make code unconditional.
22513 [!__ASSUME_32BITUIDS]: Remove conditional code.
22514 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22515 [__ASSUME_32BITUIDS]: Make code unconditional.
22516 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22517 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22518 <kernel-features.h>.
22519 [__ASSUME_32BITUIDS]: Make code unconditional.
22520 [!__ASSUME_32BITUIDS]: Remove conditional code.
22521 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22522 <kernel-features.h>.
22523 [__ASSUME_32BITUIDS]: Make code unconditional.
22524 [!__ASSUME_32BITUIDS]: Remove conditional code.
22525 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22526 <kernel-features.h>.
22527 [__ASSUME_32BITUIDS]: Make code unconditional.
22528 [!__ASSUME_32BITUIDS]: Remove conditional code.
22529 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22530 <kernel-features.h>.
22531 [__ASSUME_32BITUIDS]: Make code unconditional.
22532 [!__ASSUME_32BITUIDS]: Remove conditional code.
22533 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22534 <kernel-features.h>.
22535 [__ASSUME_32BITUIDS]: Make code unconditional.
22536 [!__ASSUME_32BITUIDS]: Remove conditional code.
22537 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22538 <kernel-features.h>.
22539 [__ASSUME_32BITUIDS]: Make code unconditional.
22540 [!__ASSUME_32BITUIDS]: Remove conditional code.
22541 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22542 <kernel-features.h>.
22543 [__ASSUME_32BITUIDS]: Make code unconditional.
22544 [!__ASSUME_32BITUIDS]: Remove conditional code.
22545 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22546 <kernel-features.h>.
22547 [__ASSUME_32BITUIDS]: Make code unconditional.
22548 [!__ASSUME_32BITUIDS]: Remove conditional code.
22549 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22550 <kernel-features.h>.
22551 [__ASSUME_32BITUIDS]: Make code unconditional.
22552 [!__ASSUME_32BITUIDS]: Remove conditional code.
22553 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22554 <kernel-features.h>.
22555 [__ASSUME_32BITUIDS]: Make code unconditional.
22556 [!__ASSUME_32BITUIDS]: Remove conditional code.
22557 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22558 <kernel-features.h>.
22559 [__NR_setresgid] (__setresgid): Do not declare.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22563 <kernel-features.h>.
22564 [__NR_setresuid] (__setresuid): Do not declare.
22565 [__ASSUME_32BITUIDS]: Make code unconditional.
22566 [!__ASSUME_32BITUIDS]: Remove conditional code.
22567 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22568 <kernel-features.h>.
22569 [__ASSUME_32BITUIDS]: Make code unconditional.
22570 [!__ASSUME_32BITUIDS]: Remove conditional code.
22571 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22572 <kernel-features.h>.
22573 [__ASSUME_32BITUIDS]: Make code unconditional.
22574 [!__ASSUME_32BITUIDS]: Remove conditional code.
22575 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22576 <kernel-features.h>.
22577 [__ASSUME_32BITUIDS]: Make code unconditional.
22578 [!__ASSUME_32BITUIDS]: Remove conditional code.
22579 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22580 <kernel-features.h>.
22581 [__ASSUME_32BITUIDS]: Make code unconditional.
22582 [!__ASSUME_32BITUIDS]: Remove conditional code.
22583 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22584 <kernel-features.h>.
22585 [__ASSUME_32BITUIDS]: Make code unconditional.
22586 [!__ASSUME_32BITUIDS]: Remove conditional code.
22587 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22588 <kernel-features.h>.
22589 [__ASSUME_32BITUIDS]: Make code unconditional.
22590 [!__ASSUME_32BITUIDS]: Remove conditional code.
22591 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22592 <kernel-features.h>.
22593 [__ASSUME_32BITUIDS]: Make code unconditional.
22594 [!__ASSUME_32BITUIDS]: Remove conditional code.
22595 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22596 <kernel-features.h>.
22597 [__ASSUME_32BITUIDS]: Make code unconditional.
22598 [!__ASSUME_32BITUIDS]: Remove conditional code.
22599 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22600 <kernel-features.h>.
22601 [__ASSUME_32BITUIDS]: Make code unconditional.
22602 [!__ASSUME_32BITUIDS]: Remove conditional code.
22603 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22604 <kernel-features.h>.
22605 [__ASSUME_32BITUIDS]: Make code unconditional.
22606 [!__ASSUME_32BITUIDS]: Remove conditional code.
22607 * sysdeps/unix/sysv/linux/kernel-features.h
22608 (__ASSUME_SETRESUID_SYSCALL): Remove.
22609 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22610 (__ASSUME_32BITUIDS): Likewise.
22611 (__ASSUME_LDT_WORKS): Likewise.
22612 (__ASSUME_O_DIRECTORY): Likewise.
22613 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22614 architecture but not kernel version.
22615 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22616 (__ASSUME_MMAP2_SYSCALL): Likewise.
22617 (__ASSUME_STAT64_SYSCALL): Likewise.
22618 (__ASSUME_IPC64): Likewise.
22619 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22620 <kernel-features.h>.
22621 [__ASSUME_32BITUIDS]: Make code unconditional.
22622 [!__ASSUME_32BITUIDS]: Remove conditional code.
22623 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22624 <kernel-features.h>.
22625 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22626 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22627 132096]: Remove conditional code.
22628 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22629 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22630 <kernel-features.h>.
22631 [__ASSUME_32BITUIDS]: Make code unconditional.
22632 [!__ASSUME_32BITUIDS]: Remove conditional code.
22633 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22634 <kernel-features.h>.
22635 [__ASSUME_32BITUIDS]: Make code unconditional.
22636 [!__ASSUME_32BITUIDS]: Remove conditional code.
22637 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22638 <kernel-features.h>.
22639 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22641 (__setresgid): Do not declare.
22642 [__ASSUME_32BITUIDS]: Make code unconditional.
22643 [!__ASSUME_32BITUIDS]: Remove conditional code.
22644 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22645 <kernel-features.h>.
22646 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22648 (__setresuid): Do not declare.
22649 [__ASSUME_32BITUIDS]: Make code unconditional.
22650 [!__ASSUME_32BITUIDS]: Remove conditional code.
22651 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22652 <kernel-features.h>.
22653 [__ASSUME_32BITUIDS]: Make code unconditional.
22654 [!__ASSUME_32BITUIDS]: Remove conditional code.
22655 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22656 <kernel-features.h>.
22657 [__ASSUME_32BITUIDS]: Make code unconditional.
22658 [!__ASSUME_32BITUIDS]: Remove conditional code.
22660 2012-05-25 Richard Henderson <rth@twiddle.net>
22662 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22663 dl_hwcap to ifunc resolver.
22664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22666 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22667 dl_hwcap to ifunc resolver.
22668 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22670 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22673 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22674 for |x| <= 2**-26, not 2**-57.
22675 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22678 2012-05-24 Jeff Law <law@redhat.com>
22680 * stdio-common/Makefile (tests): Add bug25.
22681 * stdio-common/bug25.c: New test.
22683 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22686 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22687 multiple of MALLOC_ALIGNMENT in size.
22688 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22690 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22692 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22694 (FILENAME_MAX): Use macro-int-constant.
22695 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22696 (_IOFBF): Use macro-int-constant.
22697 (_IOLBF): Likewise.
22698 (_IONBF): Likewise.
22699 (SEEK_CUR): Likewise.
22700 (SEEK_END): Likewise.
22701 (SEEK_SET): Likewise.
22702 (TMP_MAX): Likewise.
22703 (EOF): Use macro-int-constant. Require < 0.
22704 (NULL): Use macro-constant. Require == 0.
22705 (stdin): Require type to be FILE *.
22706 (stdout): Likewise.
22707 (stderr): Likewise.
22708 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22709 macro-int-constant.
22710 (EXIT_SUCCESS): Likewise.
22711 (NULL): Use macro-constant. Require == 0.
22712 (RAND_MAX): Use macro-int-constant.
22713 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22714 [C99-based standards] (strtof): Require function.
22715 [C99-based standards] (strtold): Likewise.
22716 [C99-based standards] (strtoll): Likewise.
22717 [C99-based standards] (strtoull): Likewise.
22718 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22719 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22720 [ISO || ISO99 || ISO11] (math.h): Likewise.
22721 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22722 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22725 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22728 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22729 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22730 * intl/dgettext.c (DCGETTEXT): Likewise.
22731 * intl/gettext.c (DCGETTEXT): Likewise.
22732 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22733 * posix/regex_internal.h (gettext): Likewise.
22734 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22735 Remove declaration.
22736 * include/argz.h (__argz_count_internal)
22737 (__argz_stringify_internal): Remove declaration.
22738 (__argz_count, __argz_stringify): Declare hidden proto.
22739 * intl/dcgettext.c: Remove use of INTDEF.
22740 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22741 * string/argz-stringify.c: Likewise.
22742 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22743 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22744 Declare hidden proto.
22745 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22746 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22747 Declare hidden proto.
22748 * include/stdio.h (__asprintf_internal): Don't declare.
22749 (__asprintf): Don't define as macro. Declare hidden proto.
22750 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22751 (__fsetlocking): Declare hidden proto.
22752 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22753 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22755 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22756 (_IO_setlinebuf): Remove use of INTUSE.
22757 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22758 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22759 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22760 Remove declaration.
22761 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22762 (_IO_do_flush): Remove use of INTUSE.
22763 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22764 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22765 (_IO_adjust_column, _IO_least_wmarker)
22766 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22767 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22768 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22769 (_IO_default_doallocate, _IO_wdefault_doallocate)
22770 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22771 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22772 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22773 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22774 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22775 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22776 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22777 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22778 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22779 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22780 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22781 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22782 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22784 (_IO_flush_all_internal, _IO_adjust_column_internal)
22785 (_IO_default_uflow_internal, _IO_default_finish_internal)
22786 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22787 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22788 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22789 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22790 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22791 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22792 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22793 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22794 (_IO_file_close_internal, _IO_file_close_it_internal)
22795 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22796 (_IO_file_init_internal, _IO_file_attach_internal)
22797 (_IO_file_fopen_internal, _IO_file_read_internal)
22798 (_IO_file_sync_internal, _IO_file_seek_internal)
22799 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22800 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22801 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22802 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22803 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22804 (_IO_list_all_internal, _IO_link_in_internal)
22805 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22806 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22807 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22808 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22809 (_IO_do_write_internal, _IO_padn_internal)
22810 (_IO_getline_info_internal, _IO_getline_internal)
22811 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22812 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22813 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22814 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22815 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22816 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22817 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22818 with libc_hidden_ver, remove use of INTUSE.
22819 * libio/genops.c: Likewise.
22820 * libio/freopen.c: Likewise.
22821 * libio/freopen64.c: Likewise.
22822 * libio/iofclose.c: Likewise.
22823 * libio/iofdopen.c: Likewise.
22824 * libio/iofflush.c: Likewise.
22825 * libio/iofflush_u.c: Likewise.
22826 * libio/iofgets.c: Likewise.
22827 * libio/iofgets_u.c: Likewise.
22828 * libio/iofopen.c: Likewise.
22829 * libio/iofopncook.c: Likewise.
22830 * libio/iofread.c: Likewise.
22831 * libio/iofread_u.c: Likewise.
22832 * libio/ioftell.c: Likewise.
22833 * libio/iofwrite.c: Likewise.
22834 * libio/iogetline.c: Likewise.
22835 * libio/iogets.c: Likewise.
22836 * libio/iogetwline.c: Likewise.
22837 * libio/iopadn.c: Likewise.
22838 * libio/iopopen.c: Likewise.
22839 * libio/ioseekoff.c: Likewise.
22840 * libio/ioseekpos.c: Likewise.
22841 * libio/iosetbuffer.c: Likewise.
22842 * libio/iosetvbuf.c: Likewise.
22843 * libio/ioungetc.c: Likewise.
22844 * libio/ioungetwc.c: Likewise.
22845 * libio/iovdprintf.c: Likewise.
22846 * libio/iovsprintf.c: Likewise.
22847 * libio/iovsscanf.c: Likewise.
22848 * libio/memstream.c: Likewise.
22849 * libio/obprintf.c: Likewise.
22850 * libio/oldfileops.c: Likewise.
22851 * libio/oldiofclose.c: Likewise.
22852 * libio/oldiofdopen.c: Likewise.
22853 * libio/oldiofopen.c: Likewise.
22854 * libio/oldiopopen.c: Likewise.
22855 * libio/oldstdfiles.c: Likewise.
22856 * libio/putc.c: Likewise.
22857 * libio/setbuf.c: Likewise.
22858 * libio/setlinebuf.c: Likewise.
22859 * libio/stdfiles.c: Likewise.
22860 * libio/strops.c: Likewise.
22861 * libio/vasprintf.c: Likewise.
22862 * libio/vscanf.c: Likewise.
22863 * libio/vsnprintf.c: Likewise.
22864 * libio/vswprintf.c: Likewise.
22865 * libio/wfiledoalloc.c: Likewise.
22866 * libio/wfileops.c: Likewise.
22867 * libio/wgenops.c: Likewise.
22868 * libio/wmemstream.c: Likewise.
22869 * libio/wstrops.c: Likewise.
22870 * libio/__fpurge.c: Likewise.
22871 * libio/__fsetlocking.c: Likewise.
22872 * assert/assert.c: Likewise.
22873 * debug/fgets_chk.c: Likewise.
22874 * debug/fgets_u_chk.c: Likewise.
22875 * debug/fread_chk.c: Likewise.
22876 * debug/fread_u_chk.c: Likewise.
22877 * debug/gets_chk.c: Likewise.
22878 * debug/obprintf_chk.c: Likewise.
22879 * debug/vasprintf_chk.c: Likewise.
22880 * debug/vdprintf_chk.c: Likewise.
22881 * debug/vsnprintf_chk.c: Likewise.
22882 * debug/vsprintf_chk.c: Likewise.
22883 * malloc/mtrace.c: Likewise.
22884 * misc/error.c: Likewise.
22885 * misc/syslog.c: Likewise.
22886 * stdio-common/asprintf.c: Likewise.
22887 * stdio-common/fxprintf.c: Likewise.
22888 * stdio-common/getw.c: Likewise.
22889 * stdio-common/isoc99_fscanf.c: Likewise.
22890 * stdio-common/isoc99_scanf.c: Likewise.
22891 * stdio-common/isoc99_vfscanf.c: Likewise.
22892 * stdio-common/isoc99_vscanf.c: Likewise.
22893 * stdio-common/isoc99_vsscanf.c: Likewise.
22894 * stdio-common/printf-prs.c: Likewise.
22895 * stdio-common/printf_fp.c: Likewise.
22896 * stdio-common/printf_fphex.c: Likewise.
22897 * stdio-common/printf_size.c: Likewise.
22898 * stdio-common/putw.c: Likewise.
22899 * stdio-common/scanf.c: Likewise.
22900 * stdio-common/sprintf.c: Likewise.
22901 * stdio-common/tmpfile.c: Likewise.
22902 * stdio-common/vfprintf.c: Likewise.
22903 * stdio-common/vfscanf.c: Likewise.
22904 * stdlib/strfmon_l.c: Likewise.
22905 * sunrpc/openchild.c: Likewise.
22906 * sunrpc/xdr_stdio.c: Likewise.
22907 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22908 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22910 2012-05-24 Roland McGrath <roland@hack.frob.com>
22912 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22914 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22915 in the third column, to generate for the shared library an IFUNC
22916 that uses _dl_vdso_vsym.
22917 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22918 * Makeconfig (object-suffixes-noshared): New variable.
22920 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22921 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22922 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22923 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22926 * include/sys/time.h (__gettimeofday): Remove macro.
22927 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22928 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22930 (__gettimeofday): Add libc_hidden_def.
22931 (gettimeofday): Add libc_hidden_weak.
22932 * sysdeps/mach/gettimeofday.c: Likewise.
22933 * sysdeps/posix/gettimeofday.c: Likewise.
22934 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22935 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22937 (__gettimeofday_internal): Remove strong_alias.
22938 (__gettimeofday): Add libc_hidden_def.
22939 (gettimeofday): Add libc_hidden_weak.
22940 * sysdeps/unix/syscalls.list (gettimeofday):
22941 Remove __gettimeofday_internal alias.
22943 2012-05-24 Daniel Jacobowitz <drow@false.org>
22944 H.J. Lu <hongjiu.lu@intel.com>
22947 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22948 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22949 (largebin_index_32_big): New.
22950 (largebin_index): Use it for 16-byte alignment.
22951 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22952 correction with front_misalign.
22954 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22982 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22983 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22985 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22989 * math/libm-test.inc (exp_test): Add test from bug 14036.
22990 (pow_test): Add test from bug 10846.
22992 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22994 (special_function): Do not include flags in test name.
22995 (parse_args): Likewise.
22996 * sysdeps/i386/fpu/libm-test-ulps: Update.
22997 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22998 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22999 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23002 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23004 * math/libm-test.inc ("Philosophy"): Update comment about
23006 (UNDERFLOW_EXCEPTION): New macro.
23007 (UNDERFLOW_EXCEPTION_OK): Likewise.
23008 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23009 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23010 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23011 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23012 (INVALID_EXCEPTION_OK): Update value.
23013 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23014 (OVERFLOW_EXCEPTION_OK): Likewise.
23015 (IGNORE_ZERO_INF_SIGN): Likewise.
23016 (test_exceptions): Handle underflow exceptions.
23017 (acos_test): Update for underflow exception expectations.
23018 (cexp_test): Likewise.
23019 (clog_test): Likewise.
23020 (clog10_test): Likewise.
23021 (csqrt_test): Likewise.
23022 (ctan_test): Likewise.
23023 (ctanh_test): Likewise.
23024 (exp_test): Likewise.
23025 (exp10_test): Likewise.
23026 (exp2_test): Likewise.
23027 (expm1_test): Likewise.
23028 (fma_test): Likewise.
23029 (j0_test): Likewise.
23030 (jn_test): Likewise.
23031 (nexttoward_test): Likewise.
23032 (pow_test): Likewise.
23033 (scalbn_test): Likewise.
23034 (scalbln_test): Likewise.
23035 (tan_test): Likewise.
23036 (y1_test): Likewise.
23037 * sysdeps/i386/fpu/libm-test-ulps: Update.
23038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23040 2012-05-23 David S. Miller <davem@davemloft.net>
23042 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23043 (__libc_sigaction): Remove unused local variables.
23045 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23047 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23049 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23051 mktime: avoid signed integer overflow
23052 * time/mktime.c (__mktime_internal): Do not mishandle the case
23053 where diff == INT_MIN.
23055 mktime: simplify computation of average
23056 * time/mktime.c (ranged_convert): Use new time_t_avg function
23057 instead of rolling our own (probably-slower) code.
23059 mktime: do not assume signed right shift propagates sign bit
23060 * time/mktime.c (isdst_differ): New static function.
23061 (__mktime_internal): No need to normalize tm_isdst now.
23062 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23065 mktime: merge another wrapv change from gnulib
23066 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23067 from some compilers.
23069 mktime: remove incorrect attempt at unusual arithmetics
23070 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23071 The code didn't really work on such machines anyway.
23072 (TYPE_MINIMUM): Assume two's complement.
23073 (twos_complement_arithmetic): Verify that long_int and time_t
23074 are two's complement (or unsigned, in the latter case).
23076 mktime: check signed shifts on long_int and time_t, too
23077 * time/mktime.c (SHR): Check that shifts work as desired
23078 on the types long_int and time_t too, as SHR is used on
23081 mktime: do not assume 'long' is wide enough
23082 * time/mktime.c (verify): Move decl up.
23083 (long_int): New type.
23084 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23085 to remove assumption in the code that 'long' is wide enough to
23086 store year values. This assumption is not true on x32 and on
23087 some non-glibc platforms.
23089 mktime: merge wrapv change from gnulib
23090 * time/mktime.c (WRAPV): New macro.
23091 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23092 (guess_time_tm, __mktime_internal): Do not assume that signed
23093 integer overflow wraps around; modern compilers generate code
23094 where this assumption is no longer valid.
23096 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23098 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23099 Replace "jmp L(pseudo_end)" with "ret".
23100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23103 2012-05-23 Andreas Jaeger <aj@suse.de>
23105 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23106 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23108 2012-05-23 Andreas Jaeger <aj@suse.de>
23109 Maximilian Attems <max@stro.at>
23111 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23114 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23117 code so that pseudo_end is just ret and the stack pointer is
23118 correct also for static library in error case.
23120 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23122 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23123 move to syscalls.list.
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23129 * manual/install.texi (Running make install): Do not mention Linux
23130 kernel version for which pt_chown is not needed.
23131 (Linux): Do not mention problems with nscd with 2.0 kernels.
23132 * INSTALL: Regenerated.
23134 2012-05-23 Andreas Jaeger <aj@suse.de>
23136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23137 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23139 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23141 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23143 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23149 * sysdeps/unix/sysv/linux/bits/in.h
23150 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23152 2012-05-22 Roland McGrath <roland@hack.frob.com>
23154 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23155 (PREPARE_VERSION): Just use assert instead, it will be elided
23156 under [NDEBUG] anyway.
23158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23160 * sysdeps/unix/sysv/linux/Makefile: Include
23161 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23162 (sysdep_routines): Remove sysctl.
23163 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23164 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23165 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23166 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23167 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23169 2012-05-22 Andreas Jaeger <aj@suse.de>
23171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23172 that pseudo_end is just ret and the stack pointer is correct also
23173 for static library in error case.
23175 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23178 * nss/nsswitch.c (defconfig_entries): New variable.
23179 (__nss_database_lookup): Don't leak defconfig entries.
23180 (nss_parse_service_list): Don't leak on error paths.
23181 (free_database_entries): New function.
23182 (free_defconfig): New function.
23183 (free_mem): Move common code to free_database_entries.
23185 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23187 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23189 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23191 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23192 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23195 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23196 (INTERNAL_SYSCALL_TYPES): Likewise.
23197 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23198 (LOAD_REGS_TYPES_[1-6]): Likewise.
23199 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23200 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23202 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23204 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23205 copysignl for GLIBC_2_0.
23206 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23207 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23209 logbl for GLIBC_2_0.
23210 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23211 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23213 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23216 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23218 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23221 * time/mktime.c: Update copyright years.
23223 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23225 mktime: merge comment-quoting-style change from gnulib
23226 * time/mktime.c: Quote 'like this' in comments.
23227 The GNU coding standards suggest that we no longer quote `like this',
23228 as "`" and "'" are typically rendered asymmetrically nowadays.
23229 The typical gnulib style is to quote 'like this' when quoting
23230 code, and "like this" when quoting English.
23232 * time/mktime.c (compile-command): Add "-I.".
23234 mktime: merge mktime-internal.h change from gnulib
23235 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23237 mktime: merge time_r change from gnulib
23238 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23240 mktime: merge DEBUG change from gnulib
23241 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23242 case system <time.h> has a #define.
23244 mktime: merge <sys/types.h> change from gnulib
23245 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23246 since <time.t> is now guaranteed to define time_t.
23248 mktime: merge HAVE_CONFIG_H change from gnulib
23249 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23251 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23256 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23258 (struct rusage): Use anonymous union to pad each field to
23261 2012-05-21 David S. Miller <davem@davemloft.net>
23263 * Makefules (o-iterator): Remove .s cases.
23264 (compile-command.s): Delete.
23265 (COMPILE.s): Delete.
23266 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23268 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23270 * configure.in (libc_cv_predef_stack_protector): Only consider
23271 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23272 * configure: Regenerated.
23274 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23277 New macro. Use R*LP on int and pointer.
23278 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23279 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23280 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23281 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23283 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23284 [__WORDSIZE_TIME64_COMPAT32] instead of
23285 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23286 (struct utmp): Likewise.
23287 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23288 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23290 (__WORDSIZE_TIME64_COMPAT32): This.
23291 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23292 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23293 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23294 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23296 (__WORDSIZE_TIME64_COMPAT32): New macro.
23298 2012-05-21 Andreas Jaeger <aj@suse.de>
23300 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23301 only if [SHARED]. Add prototype for __wcschr_ia32.
23303 2012-05-21 Roland McGrath <roland@hack.frob.com>
23305 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23306 of %rbp unmolested in the jmp_buf while mangling the low bits.
23307 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23308 unmolested high bits of %rbp while demangling the low bits.
23309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23311 2012-05-21 Andreas Jaeger <aj@suse.de>
23313 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23314 * sunrpc/svc_simple.c: Use it for registerrpc.
23315 * sunrpc/xcrypt.c: Use it for passwd2des.
23317 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23319 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23321 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23322 Don't define if [__SYSCALL_WORDSIZE != 32].
23323 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23326 2012-05-21 Bruno Haible <bruno@clisp.org>
23327 Andreas Jaeger <aj@suse.de>
23329 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23330 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23331 inptr and inend for must_buffer_ch.
23332 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23333 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23334 * stdio-common/Makefile (tests): Remove bug15.
23335 (bug15-ENV): Remove macro.
23336 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23339 2012-05-19 Andreas Jaeger <aj@suse.de>
23340 Roland McGrath <roland@hack.frob.com>
23342 * manual/contrib.texi: Completely rewritten. It contains now an
23343 alphabetical list of contributors and their contributions.
23345 2012-05-21 Richard Henderson <rth@twiddle.net>
23347 * misc/getauxval.c (__getauxval): Use unsigned long int.
23348 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23349 (getauxval): Use unsigned long int.
23351 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23353 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23355 2012-05-21 Roland McGrath <roland@hack.frob.com>
23357 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23358 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23359 __alignof__ (long double).
23361 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23365 2012-05-20 Richard Henderson <rth@twiddle.net>
23367 * misc/getauxval.c: New file.
23368 * misc/sys/auxv.h: New file.
23369 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23370 (routines): Add getauxval.
23371 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23372 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23373 * elf/dl-sysdep.c (_dl_auxv): Remove.
23374 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23375 * elf/dl-support.c (_dl_auxv): New variable.
23376 (_dl_aux_init): Initialize it.
23377 * manual/startup.texi (Auxiliary Vector): New node.
23378 * sysdeps/generic/bits/hwcap.h: New file.
23379 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23380 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23381 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23382 * sysdeps/sparc/sysdep.h: ... here. Include it.
23383 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23396 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23400 2012-05-19 David S. Miller <davem@davemloft.net>
23402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23404 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23407 * math/s_ccosh.c: Include <float.h>
23408 (__ccosh): Avoid internal overflow calculating sinh and cosh
23409 values before multiplying by sin and cos values.
23410 * math/s_ccoshf.c: Likewise.
23411 * math/s_ccoshl.c: Likewise.
23412 * math/s_csin.c: Likewise.
23413 * math/s_csinf.c: Likewise.
23414 * math/s_csinl.c: Likewise.
23415 * math/s_csinh.c: Likewise.
23416 * math/s_csinhf.c: Likewise.
23417 * math/s_csinhl.c: Likewise.
23418 * math/libm-test.inc (ccos_test): Add more tests.
23419 (ccosh_test): Likewise.
23420 (csin_test): Likewise.
23421 (csinh_test): Likewise.
23422 * sysdeps/i386/fpu/libm-test-ulps: Update.
23423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23425 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23427 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23428 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23430 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23432 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23434 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23435 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23436 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23437 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23438 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23439 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23440 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23441 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23442 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23443 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23444 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23445 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23446 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23447 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23448 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23449 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23450 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23451 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23452 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23453 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23454 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23455 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23456 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23457 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23458 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23459 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23460 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23461 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23462 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23463 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23464 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23466 2012-05-18 Andreas Jaeger <aj@suse.de>
23468 * csu/.gitignore: Delete.
23470 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23473 (timex): Use __syscall_slong_t.
23475 2012-05-18 Andreas Jaeger <aj@suse.de>
23476 Carlos O'Donell <carlos_odonell@mentor.com>
23478 * manual/install.texi (Configuring and compiling): Update
23479 description about files modified in the source directory.
23480 * INSTALL: Regenerated.
23482 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23484 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23485 value. Use "or" to set return value to -1.
23486 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23487 negate return value.
23489 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23491 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23492 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23493 failure if the compiler has Graphite support disabled.
23494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23496 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23497 CFLAGS-memmove.c): Likewise.
23498 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23501 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23503 * sysdeps/x86_64/x32/_itoa.h: New file.
23505 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23506 getdents system call only if kernel and user dirents have the
23507 same d_ino and d_off.
23509 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23510 LLONG_MAX != LONG_MAX.
23511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23512 (_fitoa_word): Likewise.
23514 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23517 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23518 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23520 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23521 include <bits/wordsize.h>. Check __x86_64__ instead of
23523 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23524 if __x86_64__ is defined. Use anonymous union on fpstate.
23526 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23529 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23531 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23532 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23533 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23534 Refer to _rtld_local_ro instead of _rtld_global_ro.
23535 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23537 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23539 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23541 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23542 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23543 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23545 * sysdeps/powerpc/powerpc32/dl-machine.c
23546 (__elf_machine_runtime_setup) [PROF]: Don't reference
23549 2012-05-18 Andreas Jaeger <aj@suse.de>
23551 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23552 function only available for GCCs before 3.4 since GCC 3.4
23553 introduced a builtin.
23555 (llrintf): Likewise.
23556 (llrint): Likewise.
23563 (nearbyint): Likewise.
23564 (nearbyintf): Likewise.
23568 (floorf): Likewise.
23570 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23572 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23573 on both fields and cast pointer to __syscall_ulong_t.
23575 * bits/types.h (__fsword_t): New type.
23576 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23577 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23579 (__FSWORD_T_TYPE): Likewise.
23580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23581 (__FSWORD_T_TYPE): Likewise.
23582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23583 (__FSWORD_T_TYPE): Likewise.
23584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23585 (__FSWORD_T_TYPE): Likewise.
23586 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23587 __SWORD_TYPE with __fsword_t.
23588 (statfs64): Likewise.
23590 2012-05-17 David S. Miller <davem@davemloft.net>
23592 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23594 2012-05-17 Andreas Jaeger <aj@suse.de>
23596 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23599 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23601 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23603 2012-05-17 Andreas Jaeger <aj@suse.de>
23605 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23608 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23610 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23612 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23614 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23615 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23617 2012-05-17 Andreas Jaeger <aj@suse.de>
23618 Carlos O'Donell <carlos_odonell@mentor.com>
23621 * sysdeps/x86_64/multiarch/init-arch.h
23622 (bit_YMM_Usable): Rename to...
23623 (bit_AVX_Usable): ... this.
23624 (bit_FMA4_Usable): New macro.
23625 (bit_XMM_state): New macro.
23626 (bit_YMM_state): New macro.
23627 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23628 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23629 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23630 (CPUID_OSXSAVE): New macro.
23631 (CPUID_AVX): New macro.
23632 (CPUID_FMA4): New macro.
23633 (index_YMM_Usable): Rename to...
23634 (index_AVX_Usable): ... this.
23635 (HAS_AVX): Use HAS_ARCH_FEATURE.
23636 (HAS_FMA4): Likewise.
23637 (HAS_YMM_USABLE): Remove.
23638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23639 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23641 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23642 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23643 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23644 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23645 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23647 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23649 * math/libm-test.c: Support platforms without multiple rounding modes.
23650 * math/bug-nextafter.c: Support platforms without FP exceptions.
23651 * math/bug-nexttoward.c: Likewise.
23652 * math/test-fenv.c: Likewise.
23653 * math/test-misc.c: Likewise.
23654 * stdlib/bug-getcontext.c: Likewise.
23656 2012-05-17 Andreas Jaeger <aj@suse.de>
23658 * manual/examples/search.c (critter_cmp): Change signature to
23660 * manual/string.texi (Collation Functions): Likewise.
23662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23664 * bits/types.h: Fold copyright years.
23665 * bits/typesizes.h: Likewise.
23666 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23670 * time/time.h: Likewise.
23672 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23675 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23676 in instead of returning them. Return void.
23677 (__libc_mallinfo): Accumulate over all arenas.
23678 (__malloc_stats): Adjust for change in int_mallinfo interface.
23680 2012-05-16 Roland McGrath <roland@hack.frob.com>
23683 * configure.in (NM): Add AC_CHECK_TOOL for it.
23684 (libc_extra_cflags): New substituted variable.
23685 Check for -fstack-protector being used implicitly.
23686 * configure: Regenerated.
23687 * config.make.in (config-extra-cflags): New variable,
23688 gets @libc_extra_cflags@.
23689 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23692 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23693 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23694 * configure: Regenerated.
23695 * config.make.in (CPPUNDEFS): New substituted variable.
23696 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23697 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23698 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23702 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23703 (mq_attr): Use __syscall_slong_t.
23705 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23707 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23708 Check __x86_64__ instead of __WORDSIZE.
23709 (_STAT_VER_LINUX): Likewise.
23710 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23711 __syscall_ulong_t and __syscall_slong_t.
23712 (stat64): Likewise.
23714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23716 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23720 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23722 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23724 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23727 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23728 include <bits/wordsize.h>. Check __x86_64__ instead of
23730 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23732 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23735 include <bits/wordsize.h>. Check __x86_64__ instead of
23737 (user_regs_struct): Use "__extension__ unsigned long long"
23738 instead of "unsigned long" if __x86_64__ is defined.
23739 (user): Likewise. Pad after pointer field if __ILP32__ is
23742 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23744 * configure.in (makeinfo): Require version 4.5 or later. Allow
23746 * configure: Regenerated.
23747 * manual/install.texi (texinfo): Increase version requirement to
23749 * INSTALL: Regenerated.
23751 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23753 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23755 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23757 * sysdeps/x86_64/x32/ffs.c: New file.
23759 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23761 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23762 defined. Use __syscall_ulong_t.
23763 (shminfo): Use __syscall_ulong_t.
23764 (shm_info): Likewise.
23766 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23769 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23771 (msgqnum_t): Use __syscall_ulong_t.
23772 (msglen_t): Likewise.
23773 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23776 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23777 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23779 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23781 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23782 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23784 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23787 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23788 include <bits/wordsize.h>. Check __x86_64__ instead of
23791 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23792 "unsigned long long int" if __x86_64__ is defined.
23793 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23795 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23796 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23797 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23799 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23801 (GET_PC): Cast to uintptr_t first.
23802 (GET_FRAME): Likewise.
23803 (GET_STACK): Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23811 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23812 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23813 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23818 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23819 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23827 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23829 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23830 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23835 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23837 * Makerules (+depfiles): Also collect depfiles from .oS in
23839 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23840 .oS, $(libnldbl-routines)).
23842 * Makerules (native-compile-mkdep-flags): Define.
23843 * sunrpc/Makefile (extra-objs): Add $(addprefix
23844 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23845 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23846 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23847 calling $(make-target-directory).
23849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23851 * bits/types.h (__snseconds_t): Removed.
23852 * time/time.h (struct timespec): Replace __snseconds_t with
23854 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23855 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23858 (__SNSECONDS_T_TYPE): Likewise.
23859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23860 (__SNSECONDS_T_TYPE): Likewise.
23861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23862 (__SNSECONDS_T_TYPE): Likewise.
23864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23866 * sysdeps/mach/hurd/bits/typesizes.h
23867 (__SYSCALL_SLONG_TYPE): New macro.
23868 (__SYSCALL_ULONG_TYPE): Likewise.
23870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23872 * bits/types.h (__syscall_slong_t): New type.
23873 (__syscall_ulong_t): Likewise.
23875 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23876 (__SYSCALL_ULONG_TYPE): Likewise.
23877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23878 (__SYSCALL_SLONG_TYPE): Likewise.
23879 (__SYSCALL_ULONG_TYPE): Likewise.
23880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23881 (__SYSCALL_SLONG_TYPE): Likewise.
23882 (__SYSCALL_ULONG_TYPE): Likewise.
23883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23884 (__SYSCALL_SLONG_TYPE): Likewise.
23885 (__SYSCALL_ULONG_TYPE): Likewise.
23887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23889 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23890 Add sigaltstack-offsets.sym.
23891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23892 <sigaltstack-offsets.h>.
23893 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23894 longjmp_msg pointer.
23895 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23896 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23898 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23900 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23902 * elf/stackguard-macros.h: Remove file.
23903 * sysdeps/generic/stackguard-macros.h: New file.
23904 * sysdeps/i386/stackguard-macros.h: Likewise.
23905 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23906 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23907 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23908 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23909 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23910 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23911 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23912 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23913 <elf/stackguard-macros.h>.
23916 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23917 __aligned__ in attribute.
23918 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23919 (gregset_t): Likewise.
23921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23923 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23924 * sysdeps/x86_64/64/Implies-after: Here. New file.
23925 * sysdeps/x86_64/x32/Implies-after: New file.
23927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23929 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23930 and access return value for _dl_profile_fixup. Use R10_LP to
23933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23935 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23939 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23940 * sysdeps/x86_64/x32/sysdep.h: New file.
23942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23944 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23945 * sysdeps/x86_64/setjmp.S: Likewise.
23947 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23951 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23952 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23953 remove unused global constant.
23955 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23957 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23958 include of <not-cancel.h>.
23960 2012-05-15 Roland McGrath <roland@hack.frob.com>
23962 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23964 2012-05-15 Jeff Law <law@redhat.com>
23965 Andreas Jaeger <aj@suse.de>
23968 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23970 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23971 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23972 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23973 code changing __hst_map_handle.map.
23975 2012-05-15 Roland McGrath <roland@hack.frob.com>
23977 * configure.in (sysnames): Look for Implies-before and Implies-after
23979 * configure: Regenerated.
23981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23983 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23984 8-byte data alignment with LP_SIZE alignment.
23986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23988 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23993 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23997 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23998 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23999 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24005 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24006 (stackinfo_sub_sp): Likewise.
24008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24025 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24029 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24030 into R11_LP and load __x86_64_shared_cache_size_half into
24033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24038 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24046 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24047 powerpc32/power7/fpu/s_logb.c via #include.
24048 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24049 powerpc32/power7/fpu/s_logbf.c via #include.
24050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24051 powerpc32/power7/fpu/s_logbl.c via #include.
24053 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24055 * README.libm: Remove file.
24057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24059 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24060 count for x32. Use R*_LP and omit operand-size suffix.
24062 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24064 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24065 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24066 * sysdeps/x86_64/x32/shlib-versions: New file.
24068 2012-05-14 Roland McGrath <roland@hack.frob.com>
24070 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24071 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24072 Use _dl_fatal_printf instead.
24074 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24076 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24077 set if not set by the user. Do not allow for being unset.
24078 * sysdeps/unix/sysv/linux/configure: Regenerated.
24080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24082 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24083 the `q' suffix from lea and replace .quad with ASM_ADDR.
24085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24088 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24090 (PTR_DEMANGLE): Likewise.
24092 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24094 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24096 (ASM_ADDR): Likewise.
24097 (RAX_LP): Likewise.
24098 (RBP_LP): Likewise.
24099 (RBX_LP): Likewise.
24100 (RCX_LP): Likewise.
24101 (RDI_LP): Likewise.
24102 (RSI_LP): Likewise.
24103 (RSP_LP): Likewise.
24106 (R10_LP): Likewise.
24107 (R10_LP): Likewise.
24108 (R11_LP): Likewise.
24109 (R12_LP): Likewise.
24110 (R13_LP): Likewise.
24111 (R14_LP): Likewise.
24112 (R15_LP): Likewise.
24114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24116 * sysdeps/x86_64/x32/dl-machine.h: New file.
24118 2012-05-14 Andreas Jaeger <aj@suse.de>
24120 * manual/Makefile (subdir): Remove export of subdir.
24121 (all): Remove target.
24122 (.PHONY): Remove all from list.
24123 (mkinstalldirs): Remove.
24124 (.PHONY): Remove installdirs from list.
24125 ($(inst_infodir)/libc.info): Use make-target-directory.
24126 (installdirs): Remove.
24127 (subdir_%): Remove.
24128 (glibc-targets): Remove.
24131 ($(objpfx)stubs ../po/manual.pot): Remove.
24132 ($(objpfx)stamp%): Remove.
24133 (make-target-directory): Remove.
24134 (subdir_install): Remove.
24135 (routines): Remove.
24142 * manual/.gitignore: Remove, it's not needed anymore.
24143 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24145 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24147 (texis): Renamed to $(objpfx)texis.
24148 (texis-path): New, contains path to generated files.
24149 (chapters.%): Use texis-path for complete path, add extra argument
24151 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24152 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24153 (summary,texi, stamp-summary): Use complete path of
24154 files. Generate files in build dir.
24155 (dir-add.texi): Build in build dir.
24156 (libm-err.texi,stamp-libm-err): Likewise.
24157 (version.texi, stamp-version): Likewise.
24158 (.%c.texi): Likewise.
24159 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24160 (mostlyclean): Remove target.
24161 (realclean): Remove target.
24162 (generated): Add new variable with contents from mostlyclean and
24163 realclean, remove entries duplicated in common-mostlyclean, add
24164 stamp-libm-err and stamp-version.
24165 (generated-dirs): Add libc directory.
24166 ($(inst_infodir)/libc.info): Install files from build dir.
24168 * manual/install.texi (Configuring and compiling): Adjust since
24169 the info files are not part of the tar ball anymore.
24171 2012-05-14 Andreas Jaeger <aj@suse.de>
24173 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24176 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24180 to 2.2.0 where earlier.
24181 * sysdeps/unix/sysv/linux/configure: Regenerated.
24182 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24183 Remove conditional code.
24184 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24185 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24186 Remove conditional code.
24187 [!__NR_lchown]: Likewise.
24188 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24189 [__NR_lchown]: Likewise.
24190 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24191 comment referencing __ASSUME_LCHOWN_SYSCALL.
24192 * sysdeps/unix/sysv/linux/i386/sigaction.c
24193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24195 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24196 Remove conditional code.
24197 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24198 (__protocol_available): Remove #if 0 code.
24199 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24201 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24202 * sysdeps/unix/sysv/linux/kernel-features.h
24203 (__ASSUME_GETCWD_SYSCALL): Don't define.
24204 (__ASSUME_REALTIME_SIGNALS): Likewise.
24205 (__ASSUME_PREAD_SYSCALL): Likewise.
24206 (__ASSUME_PWRITE_SYSCALL): Likewise.
24207 (__ASSUME_POLL_SYSCALL): Likewise.
24208 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24209 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24211 (__ASSUME_SIOCGIFNAME): Don't define.
24212 (__ASSUME_MSG_NOSIGNAL): Likewise.
24213 (__ASSUME_SENDFILE): Define unconditionally.
24214 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24215 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24217 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24218 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24219 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24220 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24221 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24222 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24223 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24237 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24248 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24249 Remove conditional code.
24250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24251 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24252 Remove conditional code.
24253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24254 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24255 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24256 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24257 Remove conditional code.
24258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24259 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24260 Remove conditional code.
24261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24262 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24263 Remove conditional code.
24264 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24265 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24266 Remove conditional code.
24267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24268 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24269 Remove conditional code.
24270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24271 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24274 * sysdeps/unix/sysv/linux/sigaction.c
24275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24277 * sysdeps/unix/sysv/linux/sigpending.c
24278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24280 * sysdeps/unix/sysv/linux/sigprocmask.c
24281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24283 * sysdeps/unix/sysv/linux/sigsuspend.c
24284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24287 (__libc_missing_rt_sigs): Remove.
24288 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24289 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24290 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24291 Remove conditional code.
24292 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24293 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24295 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24296 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24297 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24298 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24300 2012-05-14 Andreas Jaeger <aj@suse.de>
24302 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24303 it's not used in glibc.
24304 (__coshm1): Likewise.
24305 (__acosh1p): Likewise.
24308 * manual/string.texi (Copying and Concatenation): Add missing
24309 variable in concat example.
24310 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24312 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24315 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24316 __builtin_clzl with __builtin_clzll.
24318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24321 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24324 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24326 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24327 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24328 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24329 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24331 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24333 * NEWS: Update ia64 info.
24335 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24337 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24340 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24342 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24343 * sysdeps/unix/syscalls.list (dup3): Likewise.
24344 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24345 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24347 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24349 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24350 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24352 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24354 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24356 (TLS_IE): Use mov/add instead of movq/addq to load thread
24358 (TLS_GD_PREFIX): New.
24361 2012-05-11 David S. Miller <davem@davemloft.net>
24363 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24364 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24365 (_FPU_SETCW): Likewise.
24367 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24369 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24370 is 32-byte aligned.
24372 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24375 * iconvdata/gb18030.c: Update tables.
24376 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24377 characters specially.
24378 (BODY for TO_LOOP): Add encoding of missing ranges.
24380 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24383 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24384 * sysdeps/mach/hurd/dup3.c: Likewise.
24385 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24386 * sysdeps/powerpc/memmove.c:: Likewise.
24388 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24391 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24393 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24395 * elf/elf.h (R_X86_64_RELATIVE64): New.
24396 (R_X86_64_NUM): Updated.
24397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24398 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24399 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24400 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24401 tst-quad1pie tst-quad2pie
24402 (modules-names): Add tst-quadmod1 tst-quadmod2.
24403 ($(objpfx)tst-quad1): New dependency.
24404 ($(objpfx)tst-quad2): Likewise.
24405 ($(objpfx)tst-quad1pie): Likewise.
24406 ($(objpfx)tst-quad2pie): Likewise.
24407 * sysdeps/x86_64/tst-quad1.c: New file.
24408 * sysdeps/x86_64/tst-quad1pie.c: New file.
24409 * sysdeps/x86_64/tst-quad2.c: Likewise.
24410 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24411 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24412 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24413 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24414 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24416 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24418 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24419 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24420 * streams/stropts.h (t_scalar_t): Define type.
24422 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24423 (_PATH_PRESERVE): Set to "/var/lib".
24424 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24426 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24429 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24430 if __dir_mkfile succeeded.
24432 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24433 checking for _hurd_dtablesize. Unlock it right after having
24434 finished _hurd_dtable allocation.
24436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24438 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24439 * sysdeps/mach/hurd/configure: Regenerated.
24440 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24441 special-casing to...
24442 * sysdeps/gnu/configure.in: ... this new file.
24443 * sysdeps/unix/sysv/linux/configure: Regenerated.
24444 * sysdeps/gnu/configure: New generated file.
24446 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24447 for Linux: use nsec instead of usec, as well as:
24448 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24449 members of type struct timespec.
24450 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24452 (struct stat64): Likewise.
24453 (_STATBUF_ST_NSEC): New macro.
24454 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24456 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24457 __strtoul_internal rather than strtoul.
24459 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24461 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24466 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24467 which preserves existing values.
24468 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24470 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24472 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24473 TIMEOUT values. Return EINVAL for NFDS values either negative or
24474 greater than FD_SETSIZE.
24476 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24478 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24479 allocated, call __vm_protect to finish enabling the existing space, and
24480 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24481 allocate the remainder.
24483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24485 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24486 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24488 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24490 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24491 sysdeps/mach/hurd/readlink.c.
24493 * posix/tst-sysconf.c (posix_options): Only use
24494 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24495 _POSIX_SYNCHRONIZED_IO when they are defined
24496 * sysdeps/mach/hurd/bits/posix_opt.h:
24497 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24498 (_XOPEN_REALTIME): Undefine macro.
24499 (_XOPEN_REALTIME_THREADS): Undefine macro.
24500 (_XOPEN_SHM): Undefine macro.
24501 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24503 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24505 (_POSIX_ASYNC_IO): Undefine macro.
24506 (_POSIX_PRIORITIZED_IO): Undefine macro.
24507 (_POSIX_SPIN_LOCKS): Define macro to -1.
24509 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24510 SA_NODEFER, SA_RESETHAND.
24511 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24512 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24515 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24517 * elf/Makefile (pldd-modules): Define unconditionally.
24519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24521 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24525 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24526 Return ENOENT when name is empty.
24527 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24531 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24533 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24535 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537 Fix mlock in all cases except non-readable pages.
24538 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24539 instead of VM_PROT_ALL as parameter to __vm_wire function.
24541 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24542 (__mkdir): When path is `/', just fail with EEXIST.
24543 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24547 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24548 <sys/uio.h> (for writev).
24549 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24550 and <sys/param.h> (for MIN).
24552 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24554 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24555 REQUESTED_TIME. Properly set the remaining time and return EINTR
24558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24560 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24561 Depend on against $(link-rpcuserlibs).
24563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24565 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24566 (__libc_stack_end): Do not use attribute_relro.
24567 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24568 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24569 to libthread-provided value.
24570 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24573 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24576 * bits/libc-lock.h (__libc_once_get): New macro.
24577 * sysdeps/mach/bits/libc-lock.h: Likewise.
24578 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24580 instead of using implementation details.
24582 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24583 * libio/freopen.c: Likewise.
24584 * libio/freopen64.c: Likewise.
24585 * misc/syslog.c: Likewise.
24586 * nscd/connections.c: Likewise.
24587 * nscd/netgroupcache.c: Likewise.
24588 * sysdeps/posix/getcwd.c: Likewise.
24590 2012-05-10 Roland McGrath <roland@hack.frob.com>
24592 * math/w_ilogbf.c: Add #include <limits.h>.
24594 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24596 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24597 path instead of returning without unlocking.
24599 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24600 immediate-write ioctls.
24601 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24605 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24606 __builtin_frame_address instead of making assumptions about the
24607 location of the return address relative to DATA. Force early load of
24608 the return address.
24609 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24610 __builtin_frame_address.
24613 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24614 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24615 implement dup3 and do some further code clean-ups.
24616 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24617 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24621 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24623 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24624 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24625 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24626 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24627 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24630 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24631 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24632 when handler == SIG_ERR, not when handler != SIG_ERR.
24634 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24636 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24637 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24640 accept4 for GNU Hurd.
24641 * include/sys/socket.h (__libc_accept4): New prototype.
24642 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24643 to implement __libc_accept4.
24644 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24646 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24648 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24649 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24650 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24651 signal-defines.sym.
24653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24655 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24657 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24659 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24660 assertion on O_CLOEXEC flag.
24661 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24662 * hurd/intern-fd.c: Likewise.
24663 * hurd/port2fd.c: Likewise.
24665 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24668 * bits/in.h (IPV6_PKTINFO): Define new macro.
24669 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24671 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24676 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24678 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24679 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24682 * math/libm-test.inc (logb_test) : Additional logb tests.
24684 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24685 Andreas Jaeger <aj@suse.de>
24687 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24688 * configure: Regenerated.
24689 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24690 * config.make.in (link-obsolete-rpc): New substituted variable.
24691 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24692 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24693 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24694 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24695 so that libc.a contains the symbols.
24696 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24697 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24698 * sunrpc/auth_none.c: Likewise.
24699 * sunrpc/auth_unix.c: Likewise.
24700 * sunrpc/authdes_prot.c: Likewise.
24701 * sunrpc/authuxprot.c: Likewise.
24702 * sunrpc/clnt_gen.c: Likewise.
24703 * sunrpc/clnt_perr.c: Likewise.
24704 * sunrpc/clnt_raw.c: Likewise.
24705 * sunrpc/clnt_simp.c: Likewise.
24706 * sunrpc/clnt_tcp.c: Likewise.
24707 * sunrpc/clnt_udp.c: Likewise.
24708 * sunrpc/clnt_unix.c: Likewise.
24709 * sunrpc/des_crypt.c: Likewise.
24710 * sunrpc/des_soft.c: Likewise.
24711 * sunrpc/get_myaddr.c: Likewise.
24712 * sunrpc/key_call.c: Likewise.
24713 * sunrpc/key_prot.c: Likewise.
24714 * sunrpc/netname.c: Likewise.
24715 * sunrpc/pm_getmaps.c: Likewise.
24716 * sunrpc/pm_getport.c: Likewise.
24717 * sunrpc/pmap_clnt.c: Likewise.
24718 * sunrpc/pmap_prot.c: Likewise.
24719 * sunrpc/pmap_prot2.c: Likewise.
24720 * sunrpc/pmap_rmt.c: Likewise.
24721 * sunrpc/publickey.c: Likewise.
24722 * sunrpc/rpc_cmsg.c: Likewise.
24723 * sunrpc/rpc_common.c: Likewise.
24724 * sunrpc/rpc_dtable.c: Likewise.
24725 * sunrpc/rpc_prot.c: Likewise.
24726 * sunrpc/rpc_thread.c: Likewise.
24727 * sunrpc/rtime.c: Likewise.
24728 * sunrpc/svc.c: Likewise.
24729 * sunrpc/svc_auth.c: Likewise.
24730 * sunrpc/svc_raw.c: Likewise.
24731 * sunrpc/svc_run.c: Likewise.
24732 * sunrpc/svc_tcp.c: Likewise.
24733 * sunrpc/svc_udp.c: Likewise.
24734 * sunrpc/svc_unix.c: Likewise.
24735 * sunrpc/svcauth_des.c: Likewise.
24736 * sunrpc/xcrypt.c: Likewise.
24737 * sunrpc/xdr.c: Likewise.
24738 * sunrpc/xdr_array.c: Likewise.
24739 * sunrpc/xdr_float.c: Likewise.
24740 * sunrpc/xdr_intXX_t.c: Likewise.
24741 * sunrpc/xdr_mem.c: Likewise.
24742 * sunrpc/xdr_rec.c: Likewise.
24743 * sunrpc/xdr_ref.c: Likewise.
24744 * sunrpc/xdr_sizeof.c: Likewise.
24745 * sunrpc/xdr_stdio.c: Likewise.
24747 2012-05-10 Roland McGrath <roland@hack.frob.com>
24749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24750 change. Update copyright years.
24752 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24754 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24756 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24757 Joseph Myers <joseph@codesourcery.com>
24758 Paul Pluzhnikov <ppluzhnikov@google.com>
24761 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24763 [cross-compiling] (extra-libs): Likewise.
24764 [cross-compiling] (extra-libs-others): Likewise.
24765 [cross-compiling] (librpcsvc-routines): Likewise.
24766 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24767 [cross-compiling] (omit-deps): Likewise.
24768 (sunrpc-CPPFLAGS): New variable.
24769 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24770 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24771 (cross-rpcgen-objs): New variable.
24772 (extra-objs): Append $(cross-rpcgen-objs).
24773 ($(cross-rpcgen-objs)): New rule.
24774 ($(objpfx)cross-rpcgen): Likewise.
24775 (rpcgen-cmd): Define to use $(built-program-file). Expand
24777 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24778 ($(objpfx)x%.stmp): Likewise.
24779 * sunrpc/proto.h [IS_IN_build] (_): Define.
24780 [IS_IN_build] (_libc_intl_domainname): Likewise.
24782 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24785 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24786 and R_X86_64_TPOFF64.
24788 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24790 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24791 sysdeps/unix/sysv/syscalls.list.
24794 * sysdeps/unix/sysv/syscalls.list: Remove file.
24796 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24799 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24800 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24801 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24802 (__LC_IDENTIFICATION): Make these macros useful in #if
24803 expressions, as required by C99.
24805 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24807 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24808 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24811 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24813 * stdlib/longlong.h: Updated from GCC.
24815 2012-05-09 Andreas Jaeger <aj@suse.de>
24817 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24818 default is first entry.
24819 (run_mode): Set type.
24820 (main): Remove informal message about syslog.
24821 (options): Fix typo.
24824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24827 (llrintf): Likewise.
24828 (llrint): Likewise.
24831 (nearbyint): Likewise.
24832 (nearbyintf): Likewise.
24834 2012-05-09 Andreas Jaeger <aj@suse.de>
24835 Pedro Alves <palves@redhat.com>
24837 * nscd/nscd.c (run_mode): Use enum.
24838 (main): Cleanup coding style issue.
24840 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24841 Andreas Jaeger <aj@suse.de>
24843 * nscd/nscd.c (go_background): Replaced with...
24844 (run_mode): ... this.
24845 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24846 (options): Add -F --foreground.
24847 (main): Implement it.
24848 (parse_opt): Parse it.
24850 2012-05-09 Andreas Jaeger <aj@suse.de>
24853 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24854 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24855 -Wconversion warning.
24856 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24859 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24861 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24863 (LC_ALL): Use macro-int-constant.
24864 (LC_COLLATE): Likewise.
24865 (LC_CTYPE): Likewise.
24866 (LC_MESSAGES): Likewise.
24867 (LC_MONETARY): Likewise.
24868 (LC_NUMERIC): Likewise.
24869 (LC_TIME): Likewise.
24870 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24871 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24873 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24875 [C99-based standards] (float_t): Expect type.
24876 [C99-based standards] (double_t): Expect type.
24877 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24879 [C99-based standards] (HUGE_VALL): Likewise.
24880 [C99-based standards] (INFINITY): Likewise.
24881 [C99-based standards] (NAN): Likewise.
24882 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24883 [C99-based standards] (FP_NAN): Likewise.
24884 [C99-based standards] (FP_NORMAL): Likewise.
24885 [C99-based standards] (FP_SUBNORMAL): Likewise.
24886 [C99-based standards] (FP_ZERO): Likewise.
24887 [C99-based standards] (FP_FAST_FMA): Use
24888 optional-macro-int-constant. Specify type. Require == 1.
24889 [C99-based standards] (FP_FAST_FMAF): Likewise.
24890 [C99-based standards] (FP_FAST_FMAL): Likewise.
24891 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24892 [C99-based standards] (FP_ILOGBNAN): Likewise.
24893 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24895 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24896 [C99-based standards] (math_errhandling): Specify type.
24897 [ISO99 || ISO11] (signgam): Do not allow.
24898 [non-C99-based standards] (copysignf): Do not allow.
24899 [non-C99-based standards] (exp2f): Likewise.
24900 [non-C99-based standards] (log2f): Likewise.
24901 [non-C99-based standards] (modff): Allow.
24902 [non-C99-based standards] (erff): Do not allow.
24903 [non-C99-based standards] (erfcf): Likewise.
24904 [non-C99-based standards] (gammaf): Likewise.
24905 [non-C99-based standards] (hypotf): Likewise.
24906 [non-C99-based standards] (j0f): Likewise.
24907 [non-C99-based standards] (j1f): Likewise.
24908 [non-C99-based standards] (jnf): Likewise.
24909 [non-C99-based standards] (lgammaf): Likewise.
24910 [non-C99-based standards] (tgammaf): Likewise.
24911 [non-C99-based standards] (y0f): Likewise.
24912 [non-C99-based standards] (y1f): Likewise.
24913 [non-C99-based standards] (ynf): Likewise.
24914 [non-C99-based standards] (isnanf): Likewise.
24915 [non-C99-based standards] (acoshf): Likewise.
24916 [non-C99-based standards] (asinhf): Likewise.
24917 [non-C99-based standards] (atanhf): Likewise.
24918 [non-C99-based standards] (cbrtf): Likewise.
24919 [non-C99-based standards] (expm1f): Likewise.
24920 [non-C99-based standards] (ilogbf): Likewise.
24921 [non-C99-based standards] (log1pf): Likewise.
24922 [non-C99-based standards] (logbf): Likewise.
24923 [non-C99-based standards] (nextafterf): Likewise.
24924 [non-C99-based standards] (remainderf): Likewise.
24925 [non-C99-based standards] (rintf): Likewise.
24926 [non-C99-based standards] (scalbf): Likewise.
24927 [non-C99-based standards] (copysignl): Likewise.
24928 [non-C99-based standards] (exp2l): Likewise.
24929 [non-C99-based standards] (log2l): Likewise.
24930 [non-C99-based standards] (modfl): Allow.
24931 [non-C99-based standards] (erfl): Do not allow.
24932 [non-C99-based standards] (erfcl): Likewise.
24933 [non-C99-based standards] (gammal): Likewise.
24934 [non-C99-based standards] (hypotl): Likewise.
24935 [non-C99-based standards] (j0l): Likewise.
24936 [non-C99-based standards] (j1l): Likewise.
24937 [non-C99-based standards] (jnl): Likewise.
24938 [non-C99-based standards] (lgammal): Likewise.
24939 [non-C99-based standards] (tgammal): Likewise.
24940 [non-C99-based standards] (y0l): Likewise.
24941 [non-C99-based standards] (y1l): Likewise.
24942 [non-C99-based standards] (ynl): Likewise.
24943 [non-C99-based standards] (isnanl): Likewise.
24944 [non-C99-based standards] (acoshl): Likewise.
24945 [non-C99-based standards] (asinhl): Likewise.
24946 [non-C99-based standards] (atanhl): Likewise.
24947 [non-C99-based standards] (cbrtl): Likewise.
24948 [non-C99-based standards] (expm1l): Likewise.
24949 [non-C99-based standards] (ilogbl): Likewise.
24950 [non-C99-based standards] (log1pl): Likewise.
24951 [non-C99-based standards] (logbl): Likewise.
24952 [non-C99-based standards] (nextafterl): Likewise.
24953 [non-C99-based standards] (remainderl): Likewise.
24954 [non-C99-based standards] (rintl): Likewise.
24955 [non-C99-based standards] (scalbl): Likewise.
24956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24957 [non-C99-based standards] (FP_*): Do not allow.
24958 [C99-based standards] (FP_*): Change to
24959 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24960 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24962 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24963 (SIG_ERR): Likewise.
24964 [X/Open-based standards] (SIG_HOLD): Likewise.
24965 (SIG_IGN): Likewise.
24966 (SIGABRT): Use macro-int-constant. Specify type. Require
24968 (SIGFPE): Likewise.
24969 (SIGILL): Likewise.
24970 (SIGINT): Likewise.
24971 (SIGSEGV): Likewise.
24972 (SIGTER): Likewise.
24973 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24974 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24975 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24976 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24977 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24978 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24979 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24980 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24981 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24982 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24983 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24991 [X/Open-based standards] (SIGTRAP): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24996 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24999 2012-05-08 Ian Wienand <ianw@vmware.com>
25002 * time/tzset.c (__tzset_parse_tz): Update default rules for
25003 daylight time changes in the Energy Policy Act of 2005.
25005 2012-05-09 Andreas Jaeger <aj@suse.de>
25008 * elf/ldconfig.c (parse_conf): Change string to make clear that
25009 ldconfig only issued a warning if ld.so.conf does not exist.
25011 2012-05-08 David S. Miller <davem@davemloft.net>
25013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25014 movxtod instead of popping the value on the stack.
25016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25018 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25020 * config.h.in: Add HAVE_ARM_PCS_VFP.
25022 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25025 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25026 checking but the checks are disabled for any reason.
25028 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25030 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25031 and ELF64_R_TYPE with ELFW(R_TYPE).
25033 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25036 (ulimit): Likewise.
25038 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25039 (settimeofday): Likewise.
25041 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25043 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25044 a struct th_u2 inside the union, and move tu_block/tu_code into
25045 a new th_u3 union of tu_block/tu_code inside of that. Move
25046 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25047 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25048 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25049 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25050 (th_stuff): Change to th_u1.tu_stuff.
25052 (th_msg): Change to th_u1.th_u2.tu_data.
25054 2012-05-07 David S. Miller <davem@davemloft.net>
25056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25059 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25060 (SETUP_PIC_REG): Use it.
25061 (SETUP_PIC_REG_LEAF): Use it.
25063 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25067 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25069 (EXPL_FINITE): Likewise.
25070 (FLDLOG): Likewise.
25071 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25072 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25074 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25076 (EXPL_FINITE): Likewise.
25077 (FLDLOG): Likewise.
25078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25079 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25081 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25082 test of -max_value argument for long double.
25083 * sysdeps/i386/fpu/libm-test-ulps: Update.
25084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25086 2012-05-06 David S. Miller <davem@davemloft.net>
25088 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25089 quad soft-float symbols whose references which are compiler
25091 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25093 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25097 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25099 (EXPL_FINITE): Likewise.
25100 (FLDLOG): Likewise.
25103 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25104 Adjust comments for base varying.
25105 (__expl_finite): Change alias to EXPL_FINITE.
25106 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25108 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25109 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25110 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25111 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25112 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25114 (EXPL_FINITE): Likewise.
25115 (FLDLOG): Likewise.
25118 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25119 Adjust comments for base varying.
25120 (__expl_finite): Change alias to EXPL_FINITE.
25121 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25126 * math/libm-test.inc (check_float_internal): Correct ulp
25127 calculation for subnormal expected results.
25129 2012-05-06 Andreas Jaeger <aj@suse.de>
25131 * Makeconfig (+math-flags): New, set to -frounding-math.
25132 (+cflags): Add +math-flags so that all of glibc gets compiled with
25135 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25137 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25139 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25145 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25146 (__ieee754_expl): Allow for and saturate large arguments.
25147 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25148 (u_threshold): Likewise.
25149 (__exp): Call __ieee754_exp before checking for overflow and
25151 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25152 (u_threshold): Likewise.
25153 (__expf): Call __ieee754_expf before checking for overflow and
25155 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25156 (u_threshold): Likewise.
25157 (__expl): Call __ieee754_expl before checking for overflow and
25159 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25160 (__ieee754_expl): Allow for and saturate large arguments.
25161 * math/libm-test.inc (exp_test): Add another test. Do not allow
25162 missing overflow exception on overflow.
25163 (expm1_test): Do not allow missing overflow exception on overflow.
25165 * sysdeps/i386/fpu/e_expl.c: Move to ...
25166 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25167 rather than using inline asm.
25168 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25169 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25170 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25172 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25175 (signal): Likewise.
25179 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25181 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25182 sysdeps/unix/common/syscalls.list.
25183 (fchmod): Likewise.
25184 (fchown): Likewise.
25185 (ftruncate): Likewise.
25186 (getrusage): Likewise.
25187 (gettimeofday): Likewise.
25188 (setpgid): Likewise.
25189 (setregid): Likewise.
25190 (setreuid): Likewise.
25191 (sigaction): Likewise.
25192 (truncate): Likewise.
25193 (vhangup): Likewise.
25194 * sysdeps/unix/common/syscalls.list: Remove file.
25195 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25196 * sysdeps/unix/sysv/linux/Implies: Likewise.
25198 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25200 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25202 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25206 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25209 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25212 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25218 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25221 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25224 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25228 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25232 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25235 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25239 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25243 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25245 * sysdeps/unix/common/bits/dirent.h: Remove file.
25246 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25248 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25249 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25250 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25251 * sysdeps/unix/bsd/isatty.c: Likewise.
25252 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25253 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25254 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25256 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25260 long double comparison inaccuracies.
25261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25264 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25266 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25269 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25273 nonzero digits before rounding a hex value.
25274 * stdlib/tst-strtod.c (tests): Add another test.
25276 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25278 * sysdeps/s390/fpu/libm-test-ulps: Update.
25280 2012-05-03 Andreas Jaeger <aj@suse.de>
25282 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25283 does not get optimized out.
25284 (malloc_opt_barrier): New.
25286 2012-05-03 Andreas Jaeger <aj@suse.de>
25287 Roland McGrath <roland@hack.frob.com>
25289 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25290 intermediate file deletion.
25291 (generated): Add .symlist files.
25293 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25296 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25297 Redirect under this condition.
25298 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25299 [__USE_GNU] (__dprintf_chk): Not under this condition.
25300 [__USE_GNU] (__vdprintf_chk): Likewise.
25301 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25302 under this condition.
25303 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25304 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25305 [__USE_XOPEN2K8] (vdprintf): Likewise.
25306 [__USE_GNU] (__dprintf_chk): Not under this condition.
25307 [__USE_GNU] (__vdprintf_chk): Likewise.
25308 [__USE_GNU] (dprintf): Likewise.
25309 [__USE_GNU] (vdprintf): Likewise.
25311 2012-05-03 Roland McGrath <roland@hack.frob.com>
25313 * elf/Makefile (common-generated): Set this instead of generated for
25314 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25315 $(all-built-dso)-derived lists.
25317 2012-05-03 Andreas Jaeger <aj@suse.de>
25319 * sysdeps/i386/fpu/libm-test-ulps: Update.
25322 * FAQ.in: Likewise.
25323 * scripts/gen-FAQ.pl: Likewise.
25324 * manual/install.texi (Installation): Point to online location of
25326 * Makefile (files-for-dist): Remove FAQ.
25329 2012-05-02 Allan McRae <allan@archlinux.org>
25331 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25332 (LDFLAGS-reldepmod5.so): Likewise.
25333 (LDFLAGS-reldep6mod1.so): Likewise.
25334 (LDFLAGS-reldep6mod4.so): Likewise.
25335 (LDFLAGS-reldep8mod3.so): Likewise.
25336 (LDFLAGS-unload4mod1.so): Likewise.
25337 (LDFLAGS-unload4mod2.so): Likewise.
25338 (LDFLAGS-tst-initorder): Likewise.
25339 (LDFLAGS-tst-initordera2.so): Likewise.
25340 (LDFLAGS-tst-initordera3.so): Likewise.
25341 (LDFLAGS-tst-initordera4.so): Likewise.
25342 (LDFLAGS-tst-initorderb2.so): Likewise.
25343 (LDFLAGS-noload): Likewise.
25344 (LDFLAGS-next): Likewise.
25345 (LDFLAGS-order2mod1.so): Likewise.
25346 (LDFLAGS-order2mod2.so): Likewise.
25347 (LDFLAGS-tst-initorder2): Likewise.
25348 (LDFLAGS-tst-initorder2a.so): Likewise.
25349 (LDFLAGS-tst-initorder2b.so): Likewise.
25350 (LDFLAGS-tst-initorder2c.so): Likewise.
25351 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25353 2012-05-02 David S. Miller <davem@davemloft.net>
25355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25357 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25360 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25362 2012-05-02 Andreas Jaeger <aj@suse.de>
25364 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25365 since we manipulate rounding mode.
25366 (CPPFLAGS-test-idouble.c): Likewise.
25367 (CPPFLAGS-test-ifloat.c): Likewise.
25368 (CFLAGS-test-ldouble.c): Likewise.
25369 (CFLAGS-test-double.c): Likewise.
25370 (CFLAGS-test-float.c): Likewise.
25371 (CFLAGS-test-misc.c): Likewise.
25372 (CFLAGS-test-test-fenv.c): Likewise.
25374 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25379 comparisons to determine direction to adjust input.
25381 2012-05-01 Roland McGrath <roland@hack.frob.com>
25383 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25384 output to the target.
25386 * scripts/localplt.awk: New file.
25387 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25388 (check-localplt-CFLAGS): Variable removed.
25389 ($(all-built-dso:=.jmprel)): New static pattern rule.
25390 (generated): Add those targets.
25391 (localplt-built-dso): New variable.
25392 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25394 * elf/check-localplt.c: File removed.
25396 * scripts/check-execstack.awk: New file.
25397 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25398 (check-execstack-CFLAGS): Variable removed.
25399 ($(objpfx)check-execstack.h): Target removed.
25400 ($(objpfx)execstack-default): New target.
25401 (generated): Add that instead of check-execstack.h.
25402 ($(all-built-dso:=.phdr)): New static pattern rule.
25403 (generated): Add those targets.
25404 * elf/check-execstack.c: File removed.
25406 * scripts/check-textrel.awk: New file.
25407 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25408 (check-textrel-CFLAGS): Variable removed.
25409 (all-built-dso): Use := to define.o
25410 ($(all-built-dso:=.dyn)): New static pattern rule.
25411 (generated): Add those targets.
25412 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25413 * config.make.in (READELF): New substituted variable.
25414 * elf/check-textrel.c: File removed.
25416 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25418 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25420 * conform/data/ctype.h-data [C99-based standards] (isblank):
25422 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25423 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25425 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25426 Specify type. Require positive value.
25427 (EILSEQ): Likewise.
25428 (ERANGE): Likewise.
25429 [ISO || POSIX] (EILSEQ): Do not expect.
25430 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25431 Specify type. Require positive value.
25432 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25433 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25506 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25507 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25508 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25510 (FLT_ROUNDS): Expect as macro, not constant.
25511 (FLT_MANT_DIG): Use macro-int-constant.
25512 (DBL_MANT_DIG): Likewise.
25513 (LDBL_MANT_DIG): Likewise.
25514 (FLT_DIG): Likewise.
25515 (DBL_DIG): Likewise.
25516 (LDBL_DIG): Likewise.
25517 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25518 (DBL_MIN_EXP): Likewise.
25519 (LDBL_MIN_EXP): Likewise.
25520 (FLT_MAX_EXP): Use macro-int-constant.
25521 (DBL_MAX_EXP): Likewise.
25522 (LDBL_MAX_EXP): Likewise.
25523 (FLT_MAX_10_EXP): Likewise.
25524 (DBL_MAX_10_EXP): Likewise.
25525 (LDBL_MAX_10_EXP): Likewise.
25526 (FLT_MAX): Use macro-constant.
25527 (DBL_MAX): Likewise.
25528 (LDBL_MAX): Likewise.
25529 (FLT_EPSILON): Use macro-constant. Give upper bound.
25530 (DBL_EPSILON): Likewise.
25531 (LDBL_EPSILON): Likewise.
25532 (FLT_MIN): Likewise.
25533 (DBL_MIN): Likewise.
25534 (LDBL_MIN): Likewise.
25535 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25536 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25537 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25538 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25539 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25540 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25541 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25542 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25543 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25544 [ISO11] (FLT_TRUE_MIN): Likewise.
25545 [ISO11] (LDBL_TRUE_MIN): Likewise.
25546 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25547 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25548 (SCHAR_MIN): Use macro-int-constant. Specify type.
25549 (SCHAR_MAX): Likewise.
25550 (UCHAR_MAX): Likewise.
25551 (CHAR_MIN): Likewise.
25552 (CHAR_MAX): Likewise.
25553 (MB_LEN_MAX): Use macro-int-constant.
25554 (SHRT_MIN): Use macro-int-constant. Specify type.
25555 (SHRT_MAX): Likewise.
25556 (USHRT_MAX): Likewise.
25557 (INT_MAX): Likewise.
25558 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25560 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25562 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25564 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25565 bound negative. Suffix upper bound with "L".
25566 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25568 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25570 [C99-based standards] (LLONG_MAX): Likewise.
25571 [C99-based standards] (ULLONG_MAX): Likewise.
25572 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25574 [ISO11] (max_align_t): Require type.
25575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25577 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25578 from $CFLAGS, without defining away __attribute__ calls.
25579 (checknamespace): Use $CFLAGS_namespace.
25581 * conform/conformtest.pl (@keywords): Only include C99 keywords
25582 for standards based on C99 or C11.
25584 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25586 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25589 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25590 usability of symbols in #if.
25592 * conform/conformtest.pl: If macro or constant types start
25593 "promoted:", expect the symbol to be of the following type
25594 promoted by the integer promotions.
25596 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25597 in one place. Also handle "macro-constant".
25599 * conform/conformtest.pl: Only accept expected macro values with
25600 "==". Parse all "macro" lines in one place.
25601 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25603 * conform/conformtest.pl: Handle braced types on "constant" lines
25604 instead of handling "typed-constant".
25605 * conform/data/signal.h-data: Use "constant" instead of
25608 * conform/conformtest.pl: Handle "optional-" at start of lines in
25609 one place rather than duplicating several cases. Handle each
25610 format of "macro" line with initial "optional-".
25612 * conform/conformtest.pl: Only accept expected constant or
25613 optional-constant values with "==". Parse all "constant" lines in
25614 one place. Parse all "optional-constant" lines in one place.
25615 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25616 * conform/data/fmtmsg.h-data: Likewise.
25617 * conform/data/netinet/in.h-data: Likewise.
25618 * conform/data/tar.h-data: Likewise.
25619 * conform/data/limits.h-data: Use "==" form on "constant" and
25620 "optional-constant" lines.
25622 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25623 Use -std=c99 for XOPEN2K.
25624 (@knownproblems): Remove.
25625 (newtoken): Don't check %isknown.
25627 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25628 Do not expect macro.
25629 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25641 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25642 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25659 [XPG3] (acosh): Likewise.
25660 [XPG3] (asinh): Likewise.
25661 [XPG3] (atanh): Likewise.
25662 [XPG3] (cbrt): Likewise.
25663 [XPG3] (expm1): Likewise.
25664 [XPG3] (ilogb): Likewise.
25665 [XPG3] (log1p): Likewise.
25666 [XPG3] (logb): Likewise.
25667 [XPG3] (nextafter): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25670 [XPG3] (remainder): Likewise.
25671 [XPG3] (rint): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25679 [UNIX98 || XOPEN2K] (scalb): Expect.
25680 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25681 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25818 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25819 _XOPEN_SOURCE_EXTENDED for XPG4.
25821 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25823 * Makeconfig (localtime): Remove variable.
25824 (inst_localtime-file): Likewise.
25826 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25847 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25851 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25852 comparisons to determine direction to adjust input.
25853 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25854 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25857 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25864 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25866 * math/libm-test.inc (nexttoward_test): Add more tests.
25868 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25872 in version GLIBC_2.1, not GLIBC_2.0.
25873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25876 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25879 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25881 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25882 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25883 * math/libm-test.inc (acos_test): Add more tests.
25884 (asin_test): Likewise.
25885 * sysdeps/i386/fpu/libm-test-ulps: Update.
25886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25889 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25891 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25892 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25893 * math/libm-test.inc (acos_test_tonearest): New function.
25894 (acos_test_towardzero): Likewise.
25895 (acos_test_downward): Likewise.
25896 (acos_test_upward): Likewise.
25897 (asin_test_tonearest): Likewise.
25898 (asin_test_towardzero): Likewise.
25899 (asin_test_downward): Likewise.
25900 (asin_test_upward): Likewise.
25901 (main): Call the new functions.
25902 * sysdeps/i386/fpu/libm-test-ulps: Update.
25903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25907 * math/e_exp10.c: Include <float.h>.
25908 (__ieee754_exp10): Handle underflow here rather than multiplying
25909 large negative argument by M_LN10.
25910 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25912 * math/e_exp10l.c: Include <float.h>.
25913 (__ieee754_exp10l): Handle underflow here rather than multiplying
25914 large negative argument by M_LN10l.
25915 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25916 spurious overflow exception on underflow.
25918 2012-04-29 Marek Polacek <polacek@redhat.com>
25920 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25921 (__fortify_function): New macro.
25922 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25923 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25924 __extern_always_inline.
25925 * libio/bits/stdio2.h: Likewise.
25926 * libio/bits/stdio.h: Likewise.
25927 * string/string.h: Likewise.
25928 * string/bits/string3.h: Likewise.
25929 * include/stdio.h: Likewise.
25930 * stdlib/bits/stdlib.h: Likewise.
25931 * stdlib/stdlib.h: Likewise.
25932 * rt/bits/mqueue2.h: Likewise.
25933 * rt/mqueue.h: Likewise.
25934 * posix/bits/unistd.h: Likewise.
25935 * posix/unistd.h: Likewise.
25936 * io/bits/poll2.h: Likewise.
25937 * io/bits/fcntl2.h: Likewise.
25938 * io/fcntl.h: Likewise.
25939 * io/sys/poll.h: Likewise.
25940 * misc/bits/syslog.h: Likewise.
25941 * misc/bits/syslog-ldbl.h: Likewise.
25942 * misc/sys/syslog.h: Likewise.
25943 * socket/bits/socket2.h: Likewise.
25944 * socket/sys/socket.h: Likewise.
25945 * debug/tst-chk1.c: Likewise.
25946 * wcsmbs/bits/wchar2.h: Likewise.
25947 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25948 * wcsmbs/wchar.h: Likewise.
25950 2012-04-29 Andreas Jaeger <aj@suse.de>
25952 * Makerules (tests): Remove enable-check-abi protection.
25953 (check-abi-warn): Remove.
25954 (check-abi-%): Remove check-abi-warn usage.
25956 * configure.in: Remove check-abi configure option.
25957 * configure: Regenerated.
25958 * config.make.in (enable-check-abi): Remove.
25960 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25963 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25964 double functions to double *_finite functions.
25967 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25968 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25970 * stdio-common/Makefile (tests): Add tst-sprintf3.
25971 * stdio-common/tst-sprintf3.c: New file.
25973 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25974 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25976 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25978 * conform/conformtest.pl: Remove duplicate typed-constant
25981 2012-04-28 David S. Miller <davem@davemloft.net>
25983 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25984 (check-abi-%): Remove AWK script prerequisite and explicit
25986 (check-abi): Rewrite to just diff the symlist with the abilist.
25987 (config-tls, config-abi-config): Delete, no longer used.
25988 (update-abi-%): Remove AWK script and explicit abilist directory.
25989 (update-abi): Rewrite to simply compare and conditionally copy the
25990 symlist and the sysdep abilist file. Remove update-abi-config
25992 * abilist/ld.abilist: Remove.
25993 * abilist/libBrokenLocale.abilist: Remove.
25994 * abilist/libanl.abilist: Remove.
25995 * abilist/libcrypt.abilist: Remove.
25996 * abilist/libdl.abilist: Remove.
25997 * abilist/librt.abilist: Remove.
25998 * abilist/libthread_db.abilist: Remove.
25999 * abilist/libutil.abilist: Remove.
26000 * scripts/extract-abilist.awk: Remove.
26001 * scripts/merge-abilist.awk: Remove.
26002 * sysdeps/generic/libcidn.abilist: New file.
26003 * sysdeps/generic/libnss_compat.abilist: New file.
26004 * sysdeps/generic/libnss_db.abilist: New file.
26005 * sysdeps/generic/libnss_dns.abilist: New file.
26006 * sysdeps/generic/libnss_files.abilist: New file.
26007 * sysdeps/generic/libnss_hesiod.abilist: New file.
26008 * sysdeps/generic/libnss_nis.abilist: New file.
26009 * sysdeps/generic/libnss_nisplus.abilist: New file.
26010 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26011 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26012 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26015 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26016 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26017 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26018 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26019 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26020 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26021 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26022 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26024 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26025 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26026 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26027 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26029 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26030 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26031 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26032 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26033 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26034 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26036 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26037 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26038 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26040 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26143 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26144 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26145 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26148 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26149 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26150 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26151 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26152 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26153 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26154 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26155 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26156 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26208 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26210 * conform/conformtest.pl: Fix typo in handling typed-constant from
26213 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26215 * README: Cut down references to pre-2.6 Linux kernels and
26216 Linuxthreads. Update lists of configurations in libc and ports
26217 and sort alphabetically. Say "or newer" with Linux kernel version
26220 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26222 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26225 * math/libm-test.inc (logb_test_downward): New test to expose
26226 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26229 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26232 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26234 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26235 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26237 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26239 * sysdeps/unix/i386/brk.S: Remove file.
26240 * sysdeps/unix/i386/dl-brk.S: Likewise.
26241 * sysdeps/unix/i386/pipe.S: Likewise.
26242 * sysdeps/unix/i386/sigreturn.S: Likewise.
26243 * sysdeps/unix/i386/syscall.S: Likewise.
26244 * sysdeps/unix/i386/vfork.S: Likewise.
26245 * sysdeps/unix/i386/wait.S: Likewise.
26247 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26248 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26250 * configure.in (arm*-none*): Do not allow without
26251 --enable-hacker-mode.
26252 (netbsd*): Remove case setting base_os.
26253 (386bsd*): Likewise.
26254 (freebsd*): Likewise.
26257 (sunos*): Likewise.
26258 (ultrix*): Likewise.
26259 (newsos*): Likewise.
26260 (dynix*): Likewise.
26266 (minix*): Likewise.
26267 (irix4*): Likewise.
26268 (irix6*): Likewise.
26269 (solaris[2-9]*): Likewise.
26271 * configure: Regenerated.
26273 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26277 overflow or cancellation in calculating denominator.
26278 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26280 down expression to avoid unexpected rounding in newer GCCs.
26281 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26283 2012-04-26 David S. Miller <davem@davemloft.net>
26285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26286 long-double compat symbols.
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26301 2012-04-25 David S. Miller <davem@davemloft.net>
26303 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26304 HWCAP_* values only after the memory barriers have been defined.
26305 (atomic_full_barrier): Define.
26306 (atomic_read_barrier): Define.
26307 (atomic_write_barrier): Define.
26309 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26311 * shlib-versions: Add libgcc_s version information.
26312 * sysdeps/generic/libgcc_s.h: Remove.
26313 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26315 * sysdeps/gnu/unwind-resume.c: Likewise.
26316 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26318 2012-04-25 David S. Miller <davem@davemloft.net>
26320 * sysdeps/unix/sparc/brk.S: Delete.
26321 * sysdeps/unix/sparc/dl-brk.S: Delete.
26322 * sysdeps/unix/sparc/pipe.S: Delete.
26323 * sysdeps/unix/sparc/sysdep.S: Delete.
26324 * sysdeps/unix/sparc/sysdep.h: Delete.
26325 * sysdeps/unix/sparc/vfork.S: Delete.
26326 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26327 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26328 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26329 ret_ERRVAL, r0, r1, MOVE): Define.
26330 (JUMPTARGET): Remove.
26331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26332 sysdeps/unix/sparc/sysdep.h
26333 (ENTRY, END): Remove.
26334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26336 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26338 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26339 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26342 * timezone/README: Update upstream location and email address for
26344 * timezone/zdump.c: Update from tzcode 2012b.
26345 * timezone/zic.c: Likewise.
26347 * configure.in (libc_cv_as_needed): Remove test.
26348 * configure: Regenerated.
26349 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26350 conditional definition.
26351 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26352 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26353 * config.make.in (have-as-needed): Remove variable.
26355 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 Paul Pluzhnikov <ppluzhnikov@google.com>
26358 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26361 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26363 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26364 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26365 * sysdeps/sh/strlen.S: Likewise.
26367 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26369 * sysdeps/unix/fork.S: Remove file.
26370 * sysdeps/unix/i386/fork.S: Likewise.
26371 * sysdeps/unix/sparc/fork.S: Likewise.
26373 * sysdeps/unix/system.c: Remove file.
26374 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26376 * sysdeps/unix/getegid.S: Remove file.
26377 * sysdeps/unix/geteuid.S: Likewise.
26379 2012-04-24 Roland McGrath <roland@hack.frob.com>
26381 * scripts/check-localplt.awk: New file.
26382 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26384 * scripts/data/localplt-generic.data: Add a comment.
26386 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26387 NODE when __dir_mkfile failed.
26388 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26389 Reported by Ludovic Courtès <ludo@gnu.org>.
26391 2012-04-24 Andreas Jaeger <aj@suse.de>
26393 * Makerules (common-clean): Also remove gen-as-const-headers
26396 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26398 * Makerules (native-compile): Do not change working directory for
26399 build. Use $(OUTPUT_OPTION) in command.
26400 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26402 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26405 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26406 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26407 * math/libm-test.inc (floor_test): Add more tests.
26408 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26410 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26412 * sysdeps/unix/getdents.c: Remove file.
26413 * sysdeps/unix/sysv/getdents.c: Likewise.
26414 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26416 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26417 sysdeps/unix/mman/syscalls.list.
26419 (mprotect): Likewise.
26421 (munmap): Likewise.
26422 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26423 * sysdeps/unix/mman/syscalls.list: Remove.
26424 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26426 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26427 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26428 * configure: Regenerated.
26429 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26430 $(libgcc_s_suffix).
26431 * config.make.in (libgcc_s_suffix): Remove variable.
26433 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26435 * sysdeps/unix/sysv/gethostname.c: Move to ...
26436 * sysdeps/posix/gethostname.c: ... here.
26438 * sysdeps/unix/execve.S: Remove file.
26440 * sysdeps/unix/_exit.S: Remove file.
26442 2012-04-23 Andreas Jaeger <aj@suse.de>
26445 * manual/Makefile: Remove make dist support, there's no
26446 need for a stand-alone documentation tar ball.
26447 (TEXI2DVI): Define always, it's not in Makeconfig.
26450 (edition): Removed.
26451 (glibc-doc-$(edition).tar): Removed
26455 (ETAGS): Remove, it's in Makeconfig.
26456 (move-if-change): Remove, it's in Makeconfig.
26458 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26461 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26462 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26463 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26464 (strtod_l, strtof_l, strtold_l): Remove __wur.
26465 It is not necessarily an error to ignore strtol's return value.
26466 One can reliably look at the stored endptr to decide whether
26467 the number had valid syntax.
26469 2012-04-21 Andreas Jaeger <aj@suse.de>
26472 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26474 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26476 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26477 * sysdeps/unix/sysv/Versions: Remove file.
26479 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26484 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26488 version from __vm86.
26490 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26492 * sysdeps/unix/common/lxstat.c: Remove file.
26493 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26495 * sysdeps/unix/sysv/Makefile: Remove file.
26497 * sysdeps/unix/sysv/direct.h: Remove file.
26499 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26500 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26501 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26502 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26503 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26504 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26505 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26507 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26509 * sysdeps/unix/xmknod.c: Remove file.
26510 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26512 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26514 * sysdeps/unix/sysv/i386/time.S: Remove file.
26516 * sysdeps/unix/fxstat.c: Remove file.
26517 * sysdeps/unix/xstat.c: Likewise.
26518 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26520 * sysdeps/unix/sysv/sigaction.c: Remove file.
26522 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26523 (sysdep_headers): Remove variable.
26524 [termio.h not in sysdep_headers] (generated): Likewise.
26525 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26526 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26527 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26528 * sysdeps/unix/sysv/tcflow.c: Likewise.
26529 * sysdeps/unix/sysv/tcflush.c: Likewise.
26530 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26531 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26532 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26533 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26534 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26536 * sysdeps/unix/siglist.c: Remove file.
26538 * sysdeps/unix/getppid.S: Remove file.
26540 * sysdeps/unix/mkdir.c: Remove file.
26541 * sysdeps/unix/rmdir.c: Likewise.
26543 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26545 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26547 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26548 errlist-compat value.
26550 2012-04-18 David S. Miller <davem@davemloft.net>
26552 * sysdeps/generic/memcopy.h (reg_char): Delete.
26553 * debug/strcat_chk.c: Use char, not reg_char.
26554 * debug/strcpy_chk.c: Likewise.
26555 * debug/strncat_chk.c: Likewise.
26556 * debug/strncpy_chk.c: Likewise.
26557 * string/memchr.c: Likewise.
26558 * string/memrchr.c: Likewise.
26559 * string/rawmemchr.c: Likewise.
26560 * string/strcat.c: Likewise.
26561 * string/strchr.c: Likewise.
26562 * string/strchrnul.c: Likewise.
26563 * string/strcmp.c: Likewise.
26564 * string/strcpy.c: Likewise.
26565 * string/strncat.c: Likewise.
26566 * string/strncmp.c: Likewise.
26567 * string/strncpy.c: Likewise.
26569 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26571 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26572 __builtin_memcopy is called when src and dest ranges are known to not
26575 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26577 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26578 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26579 fwd_align_merge macro call.
26580 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26581 bwd_align_merge macro call.
26582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26584 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26586 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26587 bwd_align_merge macros.
26588 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26589 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26590 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26592 2012-04-18 David S. Miller <davem@davemloft.net>
26594 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26596 2012-04-18 Andreas Jaeger <aj@suse.de>
26599 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26600 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26604 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26607 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26608 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26609 Adjust for changed ldbl-128 files.
26611 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26612 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26613 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26615 2012-04-17 David S. Miller <davem@davemloft.net>
26617 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26619 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26621 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26622 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26623 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26624 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26628 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26631 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26632 * math/libm-test.inc: Add ilogb errno and exception tests.
26633 * math/w_ilogb.c: New file: ilogb wrapper.
26634 * math/w_ilogbf.c: New file: ilogbf wrapper.
26635 * math/w_ilogbl.c: New file: ilogbl wrapper.
26636 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26637 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26638 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26639 exception being thrown with 0.0 as argument.
26640 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26641 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26642 exception being thrown with 0.0 as argument.
26643 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26644 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26645 exception being thrown with 0.0 as argument.
26646 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26647 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26648 exception being thrown with 0.0 as argument.
26649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26650 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26651 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26652 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26653 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26654 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26655 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26656 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26657 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26659 2012-04-17 Petr Baudis <pasky@ucw.cz>
26661 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26664 2012-04-16 Marek Polacek <polacek@redhat.com>
26666 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26668 2012-04-16 Marek Polacek <polacek@redhat.com>
26670 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26671 operands of fdivp instruction.
26673 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26675 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26676 * elf/tst-auditmod3b.c: Likewise.
26677 * elf/tst-auditmod4b.c: Likewise.
26678 * elf/tst-auditmod5b.c: Likewise.
26679 * elf/tst-auditmod6b.c: Likewise.
26680 * elf/tst-auditmod6c.c: Likewise.
26681 * elf/tst-auditmod7b.c: Likewise.
26682 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26683 * sysdeps/x86_64/preconfigure.in: Likewise.
26684 * sysdeps/x86_64/preconfigure: Regenerated.
26686 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26688 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26691 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26694 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26696 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26699 * locale/iso-639.def: Fix gl language name. Spotted by
26702 2012-04-12 Roland McGrath <roland@hack.frob.com>
26705 * libio/libio.h (__io_write_fn): Update comment.
26707 2012-04-12 Petr Baudis <pasky@ucw.cz>
26710 * stdio.texi (Hook Functions): The user provided writer function
26711 is not allowed to return -1.
26713 2012-04-11 David S. Miller <davem@davemloft.net>
26715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26717 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26719 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26720 Add a leading slash to rtkaio.
26722 2012-04-11 Jim Meyering <meyering@redhat.com>
26725 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26726 It is not necessarily an error to ignore fwrite's return
26727 value. One can reliably use ferror to test for errors after
26730 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26732 * bits/types.h (__snseconds_t): New type.
26733 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26735 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26737 (__SNSECONDS_T_TYPE): Likewise.
26738 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26739 (__SNSECONDS_T_TYPE): Likewise.
26740 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26741 (__SNSECONDS_T_TYPE): Likewise.
26743 2012-04-10 Andreas Jaeger <aj@suse.de>
26746 * manual/time.texi (Processor Time): Return type of times is
26747 elapsed real time since an arbitrary point in the past.
26748 (CPU Time): Move CLK_TCK from here...
26749 (Processor Time): ...to here. Correct description.
26750 * manual/conf.texi (Constants for Sysconf): Correct description of
26753 2012-04-10 David S. Miller <davem@davemloft.net>
26756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26757 where the is a gap between DT_REL(A) and DT_JMPREL.
26759 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26761 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26762 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26763 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26765 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26767 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26768 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26769 (dl_main): Handle --inhibit-cache.
26770 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26772 * elf/dl-load.c (_dl_map_object): Use it.
26773 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26775 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26778 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26779 (__ieee754_powl): Saturate large exponents rather than testing for
26780 overflow of y*log2(x).
26781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26782 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26786 * math/s_ctan.c: Include <float.h>.
26787 (__ctan): Avoid internal overflow or cancellation in calculating
26789 * math/s_ctanf.c: Likewise.
26790 * math/s_ctanl.c: Likewise.
26791 * math/s_ctanh.c: Likewise.
26792 * math/s_ctanhf.c: Likewise.
26793 * math/s_ctanhl.c: Likewise.
26794 * math/libm-test.inc (ctan_test): Add more tests.
26795 (ctanh_test): Likewise.
26796 * sysdeps/i386/fpu/libm-test-ulps: Update.
26797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26799 2012-04-09 Andreas Jaeger <aj@suse.de>
26802 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26803 is an optional BSD extension.
26806 * manual/stdio.texi (Opening Streams): Document additional fopen
26809 2012-04-09 Roland McGrath <roland@hack.frob.com>
26811 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26812 %eax without telling the compiler.
26814 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26817 * manual/install.texi: Use sourceware.org.
26819 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26822 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26823 (__ieee754_pow): Generate overflow and underflow using huge*huge
26824 and tiny*tiny rather than just returning constant infinity or zero
26825 for large exponents.
26826 * math/libm-test.inc (pow_test): Require overflow exceptions for
26827 applicable cases of large exponents.
26830 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26831 (__ieee754_pow): Use iterative multiplication algorithm only for
26832 integer exponents with absolute value below 1024. Check for odd
26833 integer exponents when using algorithm for real exponents.
26834 * math/libm-test.inc (pow_test): Add more tests.
26835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26837 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26840 * math/libm-test.inc (exp_test): Do not allow overflow exception
26843 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26846 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26847 instead of __kernel_standard_f.
26849 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26851 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26852 * sysdeps/x86_64/memset_chk.S: Likewise.
26854 2012-04-08 Andreas Jaeger <aj@suse.de>
26857 * manual/startup.texi (Environment Access): Describe return value
26858 for putenv and setenv.
26861 * manual/filesys.texi (Directory Entries): Add description for
26865 * manual/filesys.texi (Directory Entries): Clarify that it's file
26866 system not operating system in the description of DT_UNKNOWN.
26869 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26871 2012-04-08 Stephen Compall <s11@member.fsf.org>
26874 * manual/llio.texi (Opening and Closing Files): Add cross
26875 reference to explain mode argument.
26877 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26879 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26880 * sysdeps/x86_64/memset_chk.S: Likewise.
26882 2012-04-07 David S. Miller <davem@davemloft.net>
26884 * elf/elf.h (R_SPARC_WDISP10): Define.
26885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26887 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26888 R_SPARC_SIZE64 and R_SPARC_H34.
26890 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26893 conditions and remove no longer applicable assertion.
26895 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26897 * bits/byteswap.h: Include <features.h>.
26898 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26899 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26901 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26903 * bits/byteswap.h (__bswap_16): Removed.
26904 Include <bits/byteswap-16.h> to get __bswap_16.
26905 * sysdeps/i386/bits/byteswap.h: Likewise.
26906 * sysdeps/s390/bits/byteswap.h: Likewise.
26907 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26908 * bits/byteswap-16.h: New file.
26909 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26910 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26911 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26912 * string/Makefile (headers): Add bits/byteswap-16.h.
26914 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26917 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26919 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26920 * nss/tst-nss-static.c: New.
26922 2012-04-06 Robert Millan <rmh@gnu.org>
26925 * manual/llio.texi (File Position Primitive): lseek
26926 refers to WHENCE when it really means OFFSET.
26928 2012-04-06 Andreas Jaeger <aj@suse.de>
26930 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26931 strncmp declarations.
26933 * abilist/libc.abilist: Add __poll and __ppoll.
26935 2012-04-05 David S. Miller <davem@davemloft.net>
26937 * scripts/check-local-headers.sh: Accept a host triplet in the
26938 path matched by the exclude regexp.
26940 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26942 * sysdeps/powerpc/powerpc32/dl-machine.h
26943 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26944 * sysdeps/s390/s390-32/dl-machine.h
26945 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26946 * sysdeps/sparc/sparc32/dl-machine.h
26947 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26948 * sysdeps/sparc/sparc64/dl-machine.h
26949 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26951 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26953 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26954 undefined symbol errors.
26956 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26959 2012-04-05 Michael Matz <matz@suse.de>
26962 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26964 2012-04-05 Andreas Jaeger <aj@suse.de>
26967 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26972 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26973 which ROUND is no valid rounding mode.
26975 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26977 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26979 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26981 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26983 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26984 an exception using FPU order intentionally.
26986 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26988 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26989 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26990 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26991 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26993 2012-04-05 Simon Josefsson <simon@josefsson.org>
26996 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26997 EINVAL when BUFLEN is too smal.
26999 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27002 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27003 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27005 2012-04-03 Andreas Jaeger <aj@suse.de>
27008 * manual/setjmp.texi (System V contexts): Fix sentence.
27011 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27012 New macro for this case.
27013 [!__GNUC__] (__bswap_64): New inline function for this case.
27014 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27015 * bits/byteswap.h: Likewise.
27016 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27017 ull, guard with __GLIBC_HAVE_LONG_LONG.
27019 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27020 __GLIBC_HAVE_LONG_LONG.
27022 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27023 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27025 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27028 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27029 inptr and inend, rather than using last_ch.
27031 2012-04-02 David S. Miller <davem@davemloft.net>
27033 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27034 * stdio-common/printf-parse.h (read_int): Change return type to
27035 'int', return -1 on INT_MAX overflow.
27036 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27037 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27038 overflows INT_MAX. Check for overflow of in-format-string precision
27039 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27040 SIZE_MAX not INT_MAX for integer overflow test.
27041 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27042 skip the construct in the format string but do not record anything.
27043 * stdio-common/bug22.c: Adjust to test both width/prevision
27044 INT_MAX overflow as well as total length INT_MAX overflow. Check
27045 explicitly for proper errno values.
27047 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27049 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27051 * string/test-strcmp.c [! WIDE]: Likewise.
27052 * time/tst-mktime2.c: Likewise for INT_MAX.
27053 * string/test-string.h: #include <sys/param.h> for MIN.
27055 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27056 * sysdeps/i386/init-first.c (init): Likewise.
27057 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27058 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27059 * sysdeps/sh/init-first.c (init): Likewise.
27061 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27063 * po/ru.po: Update from translation team.
27064 * po/vi.po: Likewise.
27066 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27068 * resolv/nss_dns/dns-host.c: Merge copyright years.
27070 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27072 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27073 Optimize memcpy with prefetch if
27074 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27075 src, dst pointers have unequal 16 byte alignments.
27077 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27080 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27081 from a CNAME entry and return the minimum ttl for the query.
27082 (gaih_getanswer_slice): Likewise.
27084 2012-03-30 Jeff Law <law@redhat.com>
27086 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27088 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27089 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27091 * resolv/nss_dns/dns-host.c: Update copyright year.
27093 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27095 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27096 requests to save a system call. Fix check that all bytes are sent.
27098 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27099 comments for sendmmsg.
27101 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27104 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27105 with only 1 character between 0x0041 and 0x01b0.
27106 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27107 * wcsmbs/tst-mbsnrtowcs.c: New file.
27109 2012-03-29 David S. Miller <davem@davemloft.net>
27111 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27112 small copies by hand.
27114 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27117 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27118 _nss_compat_initgroups_dyn): Fall back to malloc/free
27119 for large group memberships.
27121 2012-03-28 David S. Miller <davem@davemloft.net>
27123 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27124 that branches into memcpy.
27125 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27128 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27131 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27132 implementation too.
27133 * sysdeps/sparc/mempcpy.S: New file.
27135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27136 the IFUNC routine in the libc case.
27137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27139 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27140 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27141 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27142 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27143 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27144 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27145 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27146 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27148 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27149 loop to 256 bytes instead of 64 bytes and fix test signedness.
27151 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27152 * sysdeps/sparc/sparc32/Makefile: rather than here...
27153 * sysdeps/sparc/sparc64/Makefile: and here.
27155 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27157 * malloc/mallocbug.c: Avoid warnings about unused variables.
27159 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27162 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27163 in the right place. Discard and retry query if response is
27164 larger than input buffer size.
27166 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27172 x for large integer exponent.
27173 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27174 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27175 sign of result as needed afterwards.
27176 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27177 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27178 result for underflowing pow the same as for overflow.
27179 (__kernel_standard_l): Handle powl overflow and underflow here
27180 rather than calling __kernel_standard.
27181 * math/libm-test.inc (pow_test): Add more tests.
27196 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27197 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27198 (__kernel_standard_l): New function.
27199 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27201 * math/w_acosl.c (__acosl): Likewise.
27202 * math/w_asinl.c (__asinl): Likewise.
27203 * math/w_atan2l.c (__atan2l): Likewise.
27204 * math/w_atanhl.c (__atanhl): Likewise.
27205 * math/w_coshl.c (__coshl): Likewise.
27206 * math/w_exp10l.c (__exp10l): Likewise.
27207 * math/w_exp2l.c (__exp2l): Likewise.
27208 * math/w_fmodl.c (__fmodl): Likewise.
27209 * math/w_hypotl.c (__hypotl): Likewise.
27210 * math/w_j0l.c (__j0l, __y0l): Likewise.
27211 * math/w_j1l.c (__j1l, __y1l): Likewise.
27212 * math/w_jnl.c (__jnl, __ynl): Likewise.
27213 * math/w_lgammal.c (__lgammal): Likewise.
27214 * math/w_log10l.c (__log10l): Likewise.
27215 * math/w_log2l.c (__log2l): Likewise.
27216 * math/w_logl.c (__logl): Likewise.
27217 * math/w_powl.c (__powl): Likewise.
27218 * math/w_remainderl.c (__remainderl): Likewise.
27219 * math/w_scalbl.c (sysv_scalbl): Likewise.
27220 * math/w_sinhl.c (__sinhl): Likewise.
27221 * math/w_sqrtl.c (__sqrtl): Likewise.
27222 * math/w_tgammal.c (__tgammal): Likewise.
27223 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27224 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27225 * math/libm-test.inc (acos_test): Add more tests.
27226 (acosh_test): Likewise.
27227 (asin_test): Likewise.
27228 (atanh_test): Likewise.
27229 (exp_test): Likewise.
27230 (exp10_test): Likewise.
27231 (exp2_test): Likewise.
27232 (expm1_test): Likewise.
27233 (lgamma_test): Likewise.
27234 (log_test): Likewise.
27235 (log10_test): Likewise.
27236 (log1p_test): Likewise.
27237 (log2_test): Likewise.
27238 (pow_test): Do not allow some spurious overflow exceptions.
27239 (sqrt_test): Add more tests.
27240 (tgamma_test): Likewise.
27241 (y0_test): Likewise.
27242 (y1_test): Likewise.
27243 (yn_test): Likewise.
27245 2012-03-27 Anton Blanchard <anton@samba.org>
27247 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27253 2012-03-27 David S. Miller <davem@davemloft.net>
27255 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27257 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27258 have-as-vis3 check.
27260 2012-03-27 Andreas Jaeger <aj@suse.de>
27262 * sysdeps/x86_64/elf/configure.in: Moved to ...
27263 * sysdeps/x86_64/configure.in: ... here.
27264 * sysdeps/x86_64/elf/start.S: Moved to ...
27265 * sysdeps/x86_64/start.S: ... here.
27266 * sysdeps/x86_64/elf/configure: Delete.
27268 * sysdeps/x86_64/configure.in: Merge contents from
27269 sysdeps/i386/configure.in (without i686 check).
27271 * sysdeps/i386/elf/Versions: Merge into ...
27272 * sysdeps/i386/Versions: ... this.
27273 * sysdeps/i386/elf/Versions: Delete file.
27274 * sysdeps/i386/elf/start.S: Moved to ...
27275 * sysdeps/i386/start.S: ...here.
27276 * sysdeps/i386/elf/configure.in: Merge into...
27277 * sysdeps/i386/configure.in: ...here.
27278 * sysdeps/i386/elf/configure.in: Delete file.
27279 * sysdeps/i386/elf/configure: Delete file.
27281 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27282 * debug/backtracesyms.c: ... here.
27283 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27284 * debug/backtracesymsfd.c: ... here.
27285 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27286 * sysdeps/generic/ifunc-sel.h: ... here.
27288 * sysdeps/unix/i386/start.c: Delete file.
27289 * sysdeps/unix/sparc/start.c: Delete file.
27290 * sysdeps/unix/start.c: Delete file.
27292 * sysdeps/sh/elf/configure.in: Moved to ...
27293 * sysdeps/sh/configure.in: ... here.
27294 * sysdeps/sh/elf/start.S: Moved to ...
27295 * sysdeps/sh/start.S: ... here.
27296 * sysdeps/sh/elf/configure: Delete file.
27298 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27299 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27300 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27301 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27302 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27303 * sysdeps/powerpc/powerpc64/start.S: here.
27304 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27305 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27306 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27307 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27308 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27310 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27311 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27312 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27313 * sysdeps/powerpc/powerpc32/start.S: ... here.
27314 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27315 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27316 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27318 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27319 * sysdeps/powerpc/ifunc-sel.h: ... here.
27320 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27321 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27323 * sysdeps/sparc/elf/configure.in: Moved to ...
27324 * sysdeps/sparc/configure.in: ... here.
27325 * sysdeps/sparc/elf/configure: Delete file.
27326 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27327 * sysdeps/sparc/sparc32/start.S: ... here.
27328 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27329 * sysdeps/sparc/sparc64/start.S: ... here.
27330 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27331 * sysdeps/sparc/sparc32/Makefile: ... this.
27332 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27333 * sysdeps/sparc/sparc64/Makefile: ... this.
27335 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27336 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27337 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27338 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27339 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27340 * sysdeps/s390/s390-32/setjmp.S: ... here.
27341 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27342 * sysdeps/s390/s390-32/configure.in: ... here.
27343 * sysdeps/s390/s390-32/elf/configure: Delete file.
27344 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27345 * sysdeps/s390/s390-32/start.S: ... here.
27347 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27348 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27349 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27350 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27351 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27352 * sysdeps/s390/s390-64/setjmp.S: ... here.
27353 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27354 * sysdeps/s390/s390-64/configure.in: ... here
27355 * sysdeps/s390/s390-64/elf/configure: Delete file.
27356 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27357 * sysdeps/s390/s390-64/start.S: ... here.
27358 * sysdeps/s390/s390-64/elf/configure: Delete.
27360 * configure.in: Remove support for elf directories in sysdeps.
27362 * configure: Regenerated.
27363 * sysdeps/i386/configure: Regenerated.
27364 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27365 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27366 * sysdeps/s390/s390-32/configure: Regenerated.
27367 * sysdeps/s390/s390-64/configure: Regenerated.
27368 * sysdeps/sh/configure: Regenerated.
27369 * sysdeps/sparc/configure: Regenerated.
27370 * sysdeps/x86_64/configure: Regenerated.
27372 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27377 denormal result into account.
27379 2012-03-25 Roland McGrath <roland@hack.frob.com>
27381 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27382 Reported by Allan McRae <allan@archlinux.org>.
27384 2012-03-23 Jeff Law <law@redhat.com>
27386 * nss/getnssent.c (__nss_getent): Fix typo.
27388 2012-03-23 David S. Miller <davem@davemloft.net>
27390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27392 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27395 to pad to uint64_t for each field.
27396 (dl_tls_index): Replace unsigned long with uint64_t.
27398 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27399 Paul Pluzhnikov <ppluzhnikov@google.com>
27402 * grp/Makefile (otherlibs): Don't set it.
27403 * inet/Makefile (otherlibs): Likewise.
27404 * login/Makefile (otherlibs): Likewise.
27405 * nscd/Makefile (otherlibs): Likewise.
27406 * posix/Makefile (otherlibs): Likewise.
27407 * pwd/Makefile (otherlibs): Likewise.
27408 * rt/Makefile (otherlibs): Likewise.
27409 * sunrpc/Makefile (otherlibs): Likewise.
27410 * nss/Makefile (otherlibs): Likewise.
27411 Add libnss_files to routines and static-only-routines.
27412 ($(objpfx)getent): Remove rule.
27413 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27414 static-only-routines.
27416 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27419 * math/s_cexp.c: Include <float.h>.
27420 (__cexp): Handle exp result overflowing not necessarily
27421 overflowing both real and imaginary parts of result.
27422 * math/s_cexpf.c: Likewise.
27423 * math/s_cexpl.c: Likewise.
27424 * math/libm-test.inc (cexp_test): Add more tests.
27425 * sysdeps/i386/fpu/libm-test-ulps: Update.
27426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27430 * include/link.h (ELFW): New macro.
27431 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27432 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27434 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27436 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27439 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27441 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27443 (struct La_x32_retval): Likewise.
27445 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27447 * sysdeps/x86_64/preconfigure.in: New file.
27448 * sysdeps/x86_64/preconfigure: New generated file.
27450 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27453 * math/e_exp2l.c: Include <float.h>.
27454 (__ieee754_exp2l): Handle overflow and underflow cases
27455 separately. Only pass fractional part of argument to
27457 * math/libm-test.inc (exp2_test): Add more tests.
27459 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27460 negating x to take absolute value.
27461 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27463 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27464 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27466 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27467 computing low part if x was negated.
27468 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27470 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27472 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27473 la_x32_gnu_pltexit.
27474 (pltexit): Cast int_retval to ptrdiff_t.
27475 * elf/tst-auditmod3b.c: Likewise.
27476 * elf/tst-auditmod4b.c: Likewise.
27477 * elf/tst-auditmod5b.c: Likewise.
27478 * elf/tst-auditmod6b.c: Likewise.
27479 * elf/tst-auditmod6c.c: Likewise.
27480 * elf/tst-auditmod7b.c: Likewise.
27482 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27483 and x32_gnu_pltexit.
27485 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27486 __ELF_NATIVE_CLASS.
27487 (La_x32_regs): New macro.
27488 (La_x32_retval): Likewise.
27489 (la_x32_gnu_pltenter): New function prototype.
27490 (la_x32_gnu_pltexit): Likewise.
27492 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27499 * configure.in (libc_cv_cc_nofma): Check for option to disable
27500 generation of FMA instructions.
27501 * configure: Regenerate.
27502 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27503 * sysdeps/ieee754/dbl-64/Makefile: New file.
27504 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27505 Remove brandred-fma4.
27506 (CFLAGS-brandred-fma4.c): Remove.
27507 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27508 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27510 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27513 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27515 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27516 LLONG_MAX != LONG_MAX.
27517 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27518 (_fitoa_word): Likewise.
27519 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27520 LLONG_MAX != LONG_MAX.
27521 * stdio-common/_itowa.h: Include <_itoa.h>.
27522 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27523 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27524 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27525 only if not defined.
27526 (_ITOA_WORD_TYPE): Likewise.
27527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27528 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27530 2012-03-21 David S. Miller <davem@davemloft.net>
27532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27534 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27536 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27537 of x86_64 when setting libc_cv_slibdir, libdir and
27539 * sysdeps/unix/sysv/linux/configure: Regenerated.
27541 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27543 * manual/lang.texi (Old Varargs): Remove section.
27544 (How Variadic): Update menu.
27545 (va_start): Do not mention varargs.h.
27547 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27548 Joseph Myers <joseph@codesourcery.com>
27550 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27552 * configure: Regenerated.
27554 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27556 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27557 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27560 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27563 * Makefile (files-for-dist): Remove NOTES.
27564 (NOTES): Remove rule.
27565 * README: Don't refer to NOTES.
27566 * manual/creature.texi: Don't include macros.texi.
27567 * manual/intro.texi (creature.texi): Remove comment referring to
27570 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27571 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27572 * configure: Regenerated.
27573 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27574 LIBC_TRY_CC_OPTION.
27575 (libc_cv_as_i686): Likewise.
27576 (libc_cv_cc_avx): Likewise.
27577 (libc_cv_cc_sse2avx): Likewise.
27578 (libc_cv_cc_fma4): Likewise.
27579 (libc_cv_cc_novzeroupper): Likewise.
27580 * sysdeps/i386/configure: Regenerated.
27583 * sysdeps/i386/fpu/s_cexp.S: Remove.
27584 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27585 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27586 * math/libm-test.inc (cexp_test): Add more tests.
27587 * sysdeps/i386/fpu/libm-test-ulps: Update.
27588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27590 2012-03-21 Allan McRae <allan@archlinux.org>
27592 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27594 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27597 * math/w_exp2.c: Do not include <float.h>.
27598 (o_threshold, u_threshold): Remove.
27599 (__exp2): Calculate result before checking finiteness and calling
27601 * math/w_exp2f.c: Likewise.
27602 * math/w_exp2l.c: Likewise.
27603 * math/libm-test.inc (exp2_test): Require overflow exception for
27607 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27608 range of signed 64-bit integers before using fistpll. Remove
27609 checks for whether integers fit in mantissa bits.
27610 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27611 the range of signed 32-bit integers before using fistpl. Remove
27612 checks for whether integers fit in mantissa bits.
27613 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27614 (__ieee754_powl): Test for y outside the range of signed 64-bit
27615 integers before using fistpll. Reduce 64-bit values to 63-bit
27617 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27618 divide-by-zero is raised for zero to large negative powers.
27619 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27620 (__ieee754_powl): Test for y outside the range of signed 64-bit
27621 integers before using fistpll. Reduce 64-bit values to 63-bit
27623 * math/libm-test.inc (pow_test): Add more tests.
27625 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27627 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27628 <stdio-common/_itoa.h>.
27629 * debug/segfault.c: Likewise.
27630 * elf/dl-cache.c: Likewise.
27631 * elf/dl-minimal.c: Likewise.
27632 * elf/dl-misc.c: Likewise.
27633 * elf/dl-sysdep.c: Likewise.
27634 * elf/dl-version.c: Likewise.
27635 * elf/rtld.c: Likewise.
27636 * hurd/hurdsock.c: Likewise.
27637 * hurd/lookup-retry.c: Likewise.
27638 * malloc/malloc.c: Likewise.
27639 * malloc/mtrace.c: Likewise.
27640 * nscd/nscd_getgr_r.c: Likewise.
27641 * nscd/nscd_getpw_r.c: Likewise.
27642 * nscd/nscd_getserv_r.c: Likewise.
27643 * posix/getopt_init.c: Likewise.
27644 * posix/wordexp.c: Likewise.
27645 * stdio-common/_itoa.c: Likewise.
27646 * stdio-common/printf_fphex.c: Likewise.
27647 * stdio-common/vfprintf.c: Likewise.
27648 * string/_strerror.c: Likewise.
27649 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27650 * sysdeps/i386/i686/hp-timing.h: Likewise.
27651 * sysdeps/mach/_strerror.c: Likewise.
27652 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27653 * sysdeps/mach/hurd/sethostid.c: Likewise.
27654 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27655 * sysdeps/mach/xpg-strerror.c: Likewise.
27656 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27658 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27659 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27660 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27661 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27663 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27664 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27665 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27666 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27667 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27670 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27671 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27673 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27674 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27675 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27676 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27678 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27680 * stdio-common/_itoa.h: Moved to ...
27681 * sysdeps/generic/_itoa.h: Here.
27683 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27685 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27686 instead of "_itoa.h" and "_itowa.h".
27687 * stdio-common/vfprintf.: Likewise.
27689 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27691 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27693 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27694 (__signbit): Likwise.
27695 (llrintf): Likwise.
27698 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27700 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27703 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27705 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27706 OVERFLOW_EXCEPTION_OK.
27707 * math/libm-test.inc ("Philosophy"): Update comment about
27709 (OVERFLOW_EXCEPTION): Define.
27710 (OVERFLOW_EXCEPTION_OK): Likewise.
27711 (INVALID_EXCEPTION_OK): Renumber.
27712 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27713 (IGNORE_ZERO_INF_SIGN): Likewise.
27714 (test_exceptions): Handle FE_OVERFLOW.
27715 (exp10_test): Expect overflow exceptions.
27716 (exp2_test): Likewise.
27717 (expm1_test): Likewise.
27718 (nextafter_test): Likewise.
27719 (pow_test): Likewise.
27720 (scalbn_test): Likewise.
27721 (scalbln_test): Likewise.
27723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27725 * sysdeps/x86_64/bits/atomic.h
27726 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27728 (atomic_exchange_acq): Likewise.
27729 (__arch_exchange_and_add_body): Likewise.
27730 (__arch_add_body): Likewise.
27731 (atomic_add_negative): Likewise.
27732 (atomic_add_zero): Likewise.
27734 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27736 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27737 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27739 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27741 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27742 Check __x86_64__ instead of __WORDSIZE.
27744 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27746 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27748 2012-03-19 David S. Miller <davem@davemloft.net>
27750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27752 * sysdeps/sparc/fpu/fenv_private.h: New file.
27753 * sysdeps/sparc/fpu/math_private.h: Use it.
27754 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27756 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27757 (libc_feholdexcept_setroundl): Remove.
27758 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27760 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27761 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27766 int64_t instead of long int.
27767 (INSERT_WORDS64): Likwise.
27769 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27771 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27772 _Unwind_GetCFA return to _Unwind_Ptr first.
27774 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27777 * math/s_clog.c: Include <float.h>.
27778 (__clog): Scale large or subnormal inputs.
27779 * math/s_clogf.c: Likewise.
27780 * math/s_clogl.c: Likewise.
27781 * math/s_clog10.c: Include <float.h>.
27782 (M_LOG10_2): Define.
27783 (__clog10): Scale large or subnormal inputs.
27784 * math/s_clog10f.c: Likewise.
27785 * math/s_clog10l.c: Likewise.
27786 * math/libm-test.inc (clog_test): Add more tests.
27787 (clog10_test): Likewise.
27788 * sysdeps/i386/fpu/libm-test-ulps: Update.
27789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27792 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27794 * math/libm-test.inc (atan2_test): Add another test.
27796 * Makerules (common-objdir-compile): Remove.
27797 * sysdeps/unix/Makefile (config-generated): Do not add
27798 $(unix-generated) to variable.
27799 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27800 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27802 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27804 [generic bits/local_lim.h] (before-compile): Do not append to
27806 [generic bits/local_lim.h] (common-generated): Likewise.
27807 [generic sys/param.h] (before-compile): Do not append to variable.
27808 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27809 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27810 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27811 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27813 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27814 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27815 [generic sys/param.h] ($(addprefix
27816 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27817 [generic sys/param.h] (common-generated): Do not append to
27819 [generic sys/param.h] (sysdep_headers): Likewise.
27820 [generic bits/errno.h] (before-compile): Do not append to
27822 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27824 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27825 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27826 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27827 [generic bits/errno.h] (common-generated): Do not append to
27829 [generic bits/ioctls.h] (before-compile): Do not append to
27831 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27833 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27834 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27835 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27837 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27838 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27839 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27840 [generic bits/ioctls.h] (common-generated): Do not append to
27842 [generic sys/syscall.h] (syscall.h): Remove variable.
27843 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27845 [generic sys/syscall.h] (before-compile): Do not append to
27847 [generic sys/syscall.h] (common-generated): Likewise.
27848 * sysdeps/unix/errnos-tmpl.c: Remove file.
27849 * sysdeps/unix/errnos.awk: Likewise.
27850 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27851 * sysdeps/unix/ioctls.awk: Likewise.
27852 * sysdeps/unix/mk-local_lim.c: Likewise.
27853 * sysdeps/unix/snarf-ioctls: Likewise.
27855 2012-03-19 Richard Henderson <rth@twiddle.net>
27857 * sysdeps/i386/fpu/fenv_private.h: New file.
27858 * sysdeps/i386/fpu/math_private.h: Use it.
27859 (math_opt_barrier, math_force_eval): Remove.
27860 (libc_feholdexcept_setround_53bit): Remove.
27861 (libc_feupdateenv_53bit): Remove.
27862 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27863 (math_opt_barrier, math_force_eval): Remove.
27864 (libc_feholdexcept): Remove.
27865 (libc_feholdexcept_setround): Remove.
27866 (libc_fetestexcept, libc_fesetenv): Remove.
27867 (libc_feupdateenv_test): Remove.
27868 (libc_feupdateenv, libc_feholdsetround): Remove.
27869 (libc_feresetround): Remove.
27871 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27872 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27874 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27875 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27876 (libc_feupdateenv_testl): New.
27877 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27878 (libc_feupdateenv_testf): New.
27879 (libc_feupdateenv): Use libc_feupdateenv_test.
27880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27883 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27884 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27885 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27886 (libc_feresetround_noex): New.
27887 (libc_feresetround_noexf): New.
27888 (libc_feresetround_noexl): New.
27889 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27890 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27891 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27892 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27897 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27898 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27899 SET_RESTORE_ROUND_NOEX.
27900 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27901 SET_RESTORE_ROUND_NOEXF.
27902 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27903 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27904 (libc_feholdsetroundf): New.
27905 (libc_feresetround, libc_feresetroundf): New.
27907 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27908 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27909 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27911 * sysdeps/generic/math_private.h: Include <fenv.h>.
27912 (default_libc_feholdexcept): New.
27913 (default_libc_feholdexcept_setround): New.
27914 (default_libc_fesetenv, default_libc_feupdateenv): New.
27915 (libc_feholdexcept): Only define if undefined.
27916 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27918 (libc_feholdexcept_setroundl): Likewise.
27919 (libc_feholdexcept_setround_53bit): Likewise.
27920 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27923 (libc_feupdateenv_53bit): Likewise.
27924 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27925 (libc_feholdexcept): Convert from macro to inline function.
27926 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27927 (libc_fesetenv, libc_feupdateenv): Likewise.
27929 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27930 not previously defined.
27931 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27932 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27933 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27934 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27935 * sysdeps/ieee754/flt-32/math_private.h: New file.
27936 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27937 math_private.h below SET_FLOAT_WORD.
27938 (__isnan, __isinf_ns, __finite): Remove.
27939 (__isnanf, __isinf_nsf, __finitef): Remove.
27941 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27945 2012-03-17 David S. Miller <davem@davemloft.net>
27948 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27951 2012-03-16 David S. Miller <davem@davemloft.net>
27953 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27957 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27959 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27960 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27961 sysdep_routines when subdir is sysvipc.
27962 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27963 __getshmlba helper.
27965 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27967 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27969 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27974 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27975 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27976 (__lround): Renamed to ...
27977 (__llround): This. Replace long int with long long int.
27978 Define lround functions as aliases of llround functions.
27979 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27983 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27984 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27985 adresses to uintptr_t. Replace "long int" and "unsigned long
27986 int" with "greg_t" on va_arg.
27988 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27990 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27991 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27993 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27994 Move e_machine check before EI_CLASS check. Handle x32
27995 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27996 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27997 SKIP_EM_IA_64 and include
27998 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28000 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28001 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28002 (add_system_dir): New macro.
28004 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28005 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28007 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28018 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28020 * math/w_j0f.c (j0f): Likewise.
28022 * math/w_j0l.c (__j0l): Likewise.
28024 * math/w_j1.c (j1): Likewise.
28026 * math/w_j1f.c (j1f): Likewise.
28028 * math/w_j1l.c (__j1l): Likewise.
28030 * math/w_jn.c (jn): Likewise.
28032 * math/w_jnf.c (jnf): Likewise.
28034 * math/w_jnl.c (__jnl): Likewise.
28036 * math/libm-test.inc (j0_test): Add more tests.
28037 (j1_test): Likewise.
28038 (jn_test): Likewise. Add trailing semicolon to existing test.
28039 (y0_test): Likewise.
28040 (y1_test): Likewise.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28046 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28047 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28048 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28049 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28050 (__tanl): Set errno for infinite argument.
28051 * sysdeps/i386/fpu/mptan.c: Remove.
28052 * sysdeps/i386/fpu/s_tan.S: Likewise.
28053 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28054 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28055 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28056 * math/libm-test.inc (tan_test): Add more tests and enable more
28057 tests for double and long double.
28058 * sysdeps/i386/fpu/libm-test-ulps: Update.
28059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28061 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28063 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28064 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28066 2012-03-16 Roland McGrath <roland@hack.frob.com>
28068 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28069 * configure.in: Use it for both main tree and add-ons.
28070 * configure: Regenerated.
28072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28074 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28076 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28078 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28082 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28083 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28088 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28089 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28090 != 0 for prec == 2.
28091 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28092 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28093 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28094 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28095 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28096 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28097 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28098 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28099 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28100 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28101 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28102 * math/libm-test.inc (cos_test): Add more tests and enable more
28103 tests for long double.
28104 (sin_test): Likewise.
28105 (sincos_test): Likewise.
28106 * sysdeps/i386/fpu/libm-test-ulps: Update.
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28109 2012-03-16 David S. Miller <davem@davemloft.net>
28111 * sysdeps/sparc/fpu/math_private.h: New file.
28113 2012-03-15 David S. Miller <davem@davemloft.net>
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28129 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28130 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28132 * sysdeps/sparc/sparc-ifunc.h: New file.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28178 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28180 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28184 2012-03-15 Andreas Jaeger <aj@suse.de>
28187 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28188 ieee754/flt-32 implementation for sin, cos and sincos.
28189 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28190 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28191 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28192 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28193 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28194 ieee754/flt-32 implementation for tan.
28196 * math/libm-test.inc (cos_test): Enable some large input tests for
28198 (sin_test): Likewise.
28199 (sincos_test): Likewise.
28200 (tan_test): Add tests for large input.
28202 * sysdeps/i386/fpu/libm-test-ulps: Update.
28204 2012-03-15 Andreas Jaeger <aj@suse.de>
28207 * math/libm-test.inc (cos_test): Add more test cases.
28208 (sin_test): Likewise.
28209 (sincos_test): Likewise.
28211 2012-03-15 Andreas Jaeger <aj@suse.de>
28214 * math/libm-test.inc (cos_test): Add a test case for large input
28216 (sin_test): Likewise.
28217 (sincos_test): Likewise.
28219 2012-03-15 Andreas Jaeger <aj@suse.de>,
28220 Joseph Myers <joseph@codesourcery.com>
28223 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28224 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28225 * sysdeps/i386/fpu/branred.c: Likewise.
28226 * sysdeps/i386/fpu/dosincos.c: Likewise.
28227 * sysdeps/i386/fpu/mpa.c: Likewise.
28228 * sysdeps/i386/fpu/s_cos.S: Likewise.
28229 * sysdeps/i386/fpu/s_sin.S: Likewise.
28230 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28231 * sysdeps/i386/fpu/sincos32.c: Likewise.
28233 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28235 (libc_feupdateenv_53bit): Define.
28236 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28238 (libc_feupdateenv_53bit): Define.
28240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28241 53 bit (without extend i386 double precision).
28243 * math/libm-test.inc (sincos_test): Add tests for large input.
28247 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28249 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28253 2012-03-15 David S. Miller <davem@davemloft.net>
28255 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28258 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28283 fmin/fmax sysdep routines.
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28286 2012-03-14 David S. Miller <davem@davemloft.net>
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28365 * sysdeps/sparc/configure.in: New file.
28366 * sysdeps/sparc/configure: Generate.
28367 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28368 * configure: Regenerate.
28369 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28370 * config.make.in (have-as-vis3): New.
28371 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28372 available use -Av9d instead of -Av9a.
28373 * sysdeps/sparc/sparc64/Makefile: Likewise.
28374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28383 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28389 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28390 fzeros/fnegs to load 0x80000000 into a float register instead of
28392 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28394 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28398 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28399 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28400 ($(inst_includedir)/bits/syscall.h): Remove rule.
28401 ($(objpfx)bits/syscall.d): Include instead of
28402 $(objpfx)syscall-list.d.
28403 (generated): Change syscall-list.h and syscall-list.d to
28404 bits/syscall.h and bits/syscall.d.
28406 2012-03-14 Roland McGrath <roland@hack.frob.com>
28409 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28411 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28414 * math/s_csqrt.c: Include <float.h>.
28415 (__csqrt): Scale large or subnormal inputs.
28416 * math/s_csqrtf.c: Likewise.
28417 * math/s_csqrtl.c: Likewise.
28418 * math/libm-test.inc (csqrt_test): Add more tests.
28419 * sysdeps/i386/fpu/libm-test-ulps: Update.
28420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28423 * math/libm-test.inc (hypot_test): Add more tests.
28425 2012-03-13 David S. Miller <davem@davemloft.net>
28428 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28429 double-precision for the calculation instead of scaling.
28431 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28433 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28434 manipulate bits before adding and subtracting TWO52[sx].
28435 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28436 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28438 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28440 2012-03-13 David S. Miller <davem@davemloft.net>
28442 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28443 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28445 rtld-global-offsets.h
28446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28448 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28451 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28453 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28454 'err' in the ifdef scope in which it is actually used.
28456 * nss/nss_db/db-init.c: Include string.h
28458 2012-03-12 David S. Miller <davem@davemloft.net>
28460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28461 masking out of the most significant byte of random value used.
28462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28463 Fix coding style in previous change.
28465 * sysdeps/unix/sysv/linux/kernel-features.h
28466 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28467 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28469 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28472 2012-03-11 David S. Miller <davem@davemloft.net>
28474 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28475 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28476 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28477 for 'resultvar' otherwise things get truncated on 64-bit.
28479 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28480 Fix masking out of the most significant byte of random value used.
28482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28484 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28488 2012-03-09 David S. Miller <davem@davemloft.net>
28490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28491 variables with appropriate CPP guards.
28492 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28493 frame pointer, not the stack pointer. Correct layout comments. Fix test
28494 on resulting framesize and the management of the outregs buffer for pltexit.
28495 Preserve floating point return values across _dl_call_pltexit call.
28496 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28497 framesize and the management of the outregs buffer for pltexit.
28498 Preserve floating point return values across _dl_call_pltexit
28500 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28501 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28502 (print_exit): Fix format string for return register value.
28504 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28506 * sunrpc/Makefile (others): Add rpcgen.
28507 ($(objpfx)rpcgen): Remove special build rule and dependency on
28509 * sunrpc/rpcgen.c: New file.
28511 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28514 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28515 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28516 * sysdeps/i386/crti.S: Likewise.
28517 * sysdeps/i386/crtn.S: Likewise.
28518 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28519 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28520 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28521 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28522 * sysdeps/sh/crti.S: Likewise.
28523 * sysdeps/sh/crtn.S: Likewise.
28524 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28527 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28529 * locale/programs/locfile-kw.gperf: Likewise.
28530 * locale/programs/charmap-kw.h: Regenerated.
28531 * locale/programs/locfile-kw.h: Likewise.
28534 * intl/plural.y: Replace FSF snail mail address with URL.
28535 * intl/plural.c: Regenerated.
28537 2012-03-09 Richard Henderson <rth@twiddle.net>
28539 * include/math_private.h: Remove file.
28540 * math/math_private.h: Move file ...
28541 * sysdeps/generic/math_private.h: ... here.
28543 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28544 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28545 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28547 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28548 and <math_private.h>.
28549 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28550 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28551 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28552 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28553 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28637 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28638 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28639 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28640 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28642 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28643 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28644 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28645 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28646 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28649 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28650 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28651 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28652 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28659 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28660 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28662 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28663 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28668 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28669 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28682 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28698 * sysdeps/ieee754/k_standard.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28814 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28818 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28821 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28859 * sysdeps/ieee754/s_lib_version.c: Likewise.
28860 * sysdeps/ieee754/s_matherr.c: Likewise.
28861 * sysdeps/ieee754/s_signgam.c: Likewise.
28862 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28863 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28864 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28865 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28866 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28867 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28868 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28869 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28870 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28871 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28872 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28873 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28874 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28875 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28876 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28877 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28878 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28879 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28880 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28884 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28886 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28887 * sunrpc/rpc_main.c: Likewise.
28888 * sunrpc/rpc_svcout.c: Likewise.
28890 2012-03-09 David S. Miller <davem@davemloft.net>
28892 * include/math_private.h: New file.
28894 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28896 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28897 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28898 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28899 from <bits/socket_type.h>.
28900 (enum __socket_type): Don't define here.
28901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28903 bits/socket_type.h.
28906 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28907 checking __USE_GNU.
28909 * Makerules ($(inst_includedir)/%.h): New rule.
28910 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28911 (install-others): Remove variable setting.
28912 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28914 2012-03-08 Richard Henderson <rth@twiddle.net>
28916 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28917 from macro to inline function; merge with the
28918 !__LIBC_INTERNAL_MATH_INLINES version.
28919 (__ieee754_sqrtf): Likewise.
28921 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28922 to inline function.
28923 (__rintf, __floor, __floorf): Likewise.
28925 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28926 macro to inline function.
28927 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28930 not <math/math_private.h>.
28932 2012-03-08 David S. Miller <davem@davemloft.net>
28934 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28936 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28938 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28940 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28942 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28943 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28945 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28947 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28948 be defined individually, they must be defined as a block. Define
28949 S for printing a string instead of hidint the different by using a
28950 macro for adding the 'l'.
28951 * stdio-common/tst-fphex-wide.c: Adjust.
28953 2012-03-07 Marek Polacek <polacek@redhat.com>
28955 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28957 2012-03-08 Marek Polacek <polacek@redhat.com>
28960 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28961 * stdio-common/tst-fphex.c: Define a few macros to make the
28962 test reusable. Use them.
28963 * stdio-common/tst-fphex-wide.c: New file.
28965 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28968 * manual/macros.texi (gnusystems): New macro.
28969 (nongnusystems): Likewise.
28970 (gnulinuxhurdsystems): Likewise.
28971 (gnuhurdsystems): Likewise..
28972 (gnulinuxsystems): Likewise.
28973 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28974 variants of the GNU system, not "GNU system".
28975 * manual/conf.texi: Likewise.
28976 * manual/errno.texi: Likewise. Update example of errno macro
28978 * manual/filesys.texi: Likewise.
28979 (getumask): Document as specific to GNU/Hurd.
28980 * manual/install.texi: Likewise. Reword some references to
28982 * manual/intro.texi: Likewise.
28983 * manual/io.texi: Likewise.
28984 (File Name Portability): Detail which constraints are inapplicable
28985 to all GNU systems and which are only inapplicable to GNU/Hurd.
28986 * manual/job.texi: Likewise.
28987 * manual/llio.texi: Likewise.
28988 (O_NOCTTY): Document as present on GNU/Linux.
28989 * manual/maint.texi: Likewise.
28990 * manual/memory.texi: Likewise.
28991 * manual/pattern.texi: Likewise.
28992 * manual/pipe.texi: Likewise.
28993 * manual/process.texi: Likewise.
28994 * manual/resource.texi: Likewise.
28995 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28997 * manual/setjmp.texi: Likewise.
28998 * manual/signal.texi: Likewise.
28999 * manual/startup.texi: Likewise.
29000 * manual/stdio.texi: Likewise.
29001 * manual/terminal.texi: Likewise.
29002 (ONLCR): Document as POSIX.
29003 (OXTABS): Document availability on GNU/Linux as XTABS.
29004 (ONOEOT): Document availability separately from other bits.
29005 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29006 * manual/time.texi: Likewise.
29007 * manual/users.texi: Likewise.
29008 * INSTALL: Regenerated.
29009 * sysdeps/gnu/errlist.c: Regenerated.
29011 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29012 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29013 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29015 * configure: Regenerated.
29017 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29019 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29020 default includes instead of AC_HEADER_CHECK.
29021 * sysdeps/i386/configure: Regenerated.
29024 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29025 * math/s_cacoshf.c (__cacoshf): Likewise.
29026 * math/s_cacoshl.c (__cacoshl): Likewise.
29027 * math/s_casinh.c (__casinh): Set signs of result from argument.
29028 * math/s_casinhf.c (__casinhf): Likewise.
29029 * math/s_casinhl.c (__casinhl): Likewise.
29030 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29031 (casinh_test): Add more tests.
29032 * sysdeps/i386/fpu/libm-test-ulps: Update.
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29035 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29037 * po/zh_TW.po: Update from translation team.
29039 * login/Makefile (distribute): Remove variable.
29040 * catgets/Makefile: Likewise.
29041 * mach/Makefile: Likewise.
29042 * malloc/Makefile: Likewise.
29043 * misc/Makefile: Likewise.
29044 * iconv/Makefile: Likewise.
29045 * nscd/Makefile: Likewise.
29046 * hurd/Makefile: Likewise.
29047 * manual/Makefile: Likewise.
29048 * locale/Makefile: Likewise.
29049 * intl/Makefile: Likewise.
29050 * conform/Makefile: Likewise.
29051 * nss/Makefile: Likewise.
29052 * time/Makefile: Likewise.
29053 * soft-fp/Makefile: Likewise.
29054 * dirent/Makefile: Likewise.
29055 * gmon/Makefile: Likewise.
29056 * po/Makefile: Likewise.
29057 * rt/Makefile: Likewise.
29058 * socket/Makefile: Likewise.
29059 * math/Makefile: Likewise.
29060 * signal/Makefile: Likewise.
29061 * debug/Makefile: Likewise.
29062 * elf/Makefile: Likewise.
29063 * timezone/Makefile: Likewise.
29064 * stdlib/Makefile: Likewise.
29065 * iconvdata/Makefile: Likewise.
29066 * sunrpc/Makefile: Likewise.
29067 * io/Makefile: Likewise.
29068 * argp/Makefile: Likewise.
29069 * inet/Makefile: Likewise.
29070 * hesiod/Makefile: Likewise.
29071 * grp/Makefile: Likewise.
29072 * csu/Makefile: Likewise.
29073 * wctype/Makefile: Likewise.
29074 * crypt/Makefile: Likewise.
29075 * libio/Makefile: Likewise.
29076 * string/Makefile: Likewise.
29077 * nis/Makefile: Likewise.
29078 * resolv/Makefile: Likewise.
29079 * stdio-common/Makefile: Likewise.
29080 * wcsmbs/Makefile: Likewise.
29081 * dlfcn/Makefile: Likewise.
29082 * posix/Makefile: Likewise.
29085 * timezone/Makefile: Don't install timezone files, just the programs
29088 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29090 * nss/databases.def: Add missing gshadow entry.
29092 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29094 2012-03-06 Marek Polacek <polacek@redhat.com>
29097 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29098 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29099 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29100 * stdio-common/tst-long-dbl-fphex.c: New file.
29102 2012-03-06 David S. Miller <davem@davemloft.net>
29104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29105 (set_obp_int): New function.
29106 (get_obp_int): New function.
29107 (__get_clockfreq_via_dev_openprom): Likewise.
29108 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29109 Avoid unused variable warnings on 'val' and use builtin_expect.
29110 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29112 (INLINE_CLONE_SYSCALL): Likewise.
29114 2012-03-05 David S. Miller <davem@davemloft.net>
29116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29118 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29123 only for |x| >= 40.
29124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29126 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29129 Replace gettimeofday with __vdso_gettimeofday.
29131 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29132 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29133 __vdso_clock_gettime and __vdso_getcpu.
29135 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29136 time with __vdso_time.
29138 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29140 * manual/lang.texi (size_t): Note types to which size_t may be
29141 equivalent with the GNU C Library, but do not describe when
29142 differences between them are significant.
29144 2012-03-05 Andreas Jaeger <aj@suse.de>
29146 * sysdeps/i386/fpu/libm-test-ulps: Update.
29148 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29151 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29152 (__ieee754_pow): Save and restore rounding mode and use
29153 round-to-nearest for main computations.
29154 * math/libm-test.inc (pow_test_tonearest): New function.
29155 (pow_test_towardzero): Likewise.
29156 (pow_test_downward): Likewise.
29157 (pow_test_upward): Likewise.
29158 (main): Call the new functions.
29159 * sysdeps/i386/fpu/libm-test-ulps: Update.
29160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29163 * math/libm-test.inc (cosh_test_tonearest): New function.
29164 (cosh_test_towardzero): Likewise.
29165 (cosh_test_downward): Likewise.
29166 (cosh_test_upward): Likewise.
29167 (sinh_test_tonearest): Likewise.
29168 (sinh_test_towardzero): Likewise.
29169 (sinh_test_downward): Likewise.
29170 (sinh_test_upward): Likewise.
29171 (main): Call the new functions.
29172 * sysdeps/i386/fpu/libm-test-ulps: Update.
29173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29175 2012-03-05 Tom de Vries <tom@codesourcery.com>
29177 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29178 default stack guard is set in last bytes.
29179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29181 2012-03-05 Kees Cook <keescook@chromium.org>
29183 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29186 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29187 possibly allocate from heap instead of stack.
29188 * stdio-common/bug-vfprintf-nargs.c: New file.
29189 * stdio-common/Makefile (tests): Add nargs overflow test.
29191 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29195 2012-03-03 Marek Polacek <polacek@redhat.com>
29197 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29198 * math/math_private.h: Likewise.
29199 * stdlib/tst-strtod.c: Likewise.
29200 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29201 * sysdeps/x86_64/bits/atomic.h: Likewise.
29203 2012-03-02 David S. Miller <davem@davemloft.net>
29205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29209 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29210 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29211 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29212 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29214 2012-03-02 Roland McGrath <roland@hack.frob.com>
29217 * manual/examples/README: New file, says the example source files
29218 can be used under GPL>=2.
29219 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29220 line containing just "*/".
29221 * manual/examples/add.c: Add copyright header (GPL>=2).
29222 * manual/examples/argp-ex1.c: Likewise.
29223 * manual/examples/argp-ex2.c: Likewise.
29224 * manual/examples/argp-ex3.c: Likewise.
29225 * manual/examples/argp-ex4.c: Likewise.
29226 * manual/examples/atexit.c: Likewise.
29227 * manual/examples/db.c: Likewise.
29228 * manual/examples/dir.c: Likewise.
29229 * manual/examples/dir2.c: Likewise.
29230 * manual/examples/execinfo.c: Likewise.
29231 * manual/examples/filecli.c: Likewise.
29232 * manual/examples/filesrv.c: Likewise.
29233 * manual/examples/fmtmsgexpl.c: Likewise.
29234 * manual/examples/genpass.c: Likewise.
29235 * manual/examples/inetcli.c: Likewise.
29236 * manual/examples/inetsrv.c: Likewise.
29237 * manual/examples/isockad.c: Likewise.
29238 * manual/examples/longopt.c: Likewise.
29239 * manual/examples/memopen.c: Likewise.
29240 * manual/examples/memstrm.c: Likewise.
29241 * manual/examples/mkfsock.c: Likewise.
29242 * manual/examples/mkisock.c: Likewise.
29243 * manual/examples/mygetpass.c: Likewise.
29244 * manual/examples/pipe.c: Likewise.
29245 * manual/examples/popen.c: Likewise.
29246 * manual/examples/rprintf.c: Likewise.
29247 * manual/examples/search.c: Likewise.
29248 * manual/examples/select.c: Likewise.
29249 * manual/examples/setjmp.c: Likewise.
29250 * manual/examples/sigh1.c: Likewise.
29251 * manual/examples/sigusr.c: Likewise.
29252 * manual/examples/stpcpy.c: Likewise.
29253 * manual/examples/strdupa.c: Likewise.
29254 * manual/examples/strftim.c: Likewise.
29255 * manual/examples/strncat.c: Likewise.
29256 * manual/examples/subopt.c: Likewise.
29257 * manual/examples/swapcontext.c: Likewise.
29258 * manual/examples/termios.c: Likewise.
29259 * manual/examples/testopt.c: Likewise.
29260 * manual/examples/testpass.c: Likewise.
29261 * manual/examples/timeval_subtract.c: Likewise.
29264 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29266 * manual/timeval_subtract.c.texi: ... here, new file.
29268 2012-03-02 David S. Miller <davem@davemloft.net>
29270 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29272 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29275 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29276 (__sin): Save and restore rounding mode and use round-to-nearest
29277 for all computations.
29278 (__cos): Save and restore rounding mode and use round-to-nearest
29279 for all computations.
29280 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29282 (tan): Save and restore rounding mode and use round-to-nearest for
29284 * math/libm-test.inc (cos_test_tonearest): New function.
29285 (cos_test_towardzero): Likewise.
29286 (cos_test_downward): Likewise.
29287 (cos_test_upward): Likewise.
29288 (sin_test_tonearest): Likewise.
29289 (sin_test_towardzero): Likewise.
29290 (sin_test_downward): Likewise.
29291 (sin_test_upward): Likewise.
29292 (tan_test_tonearest): Likewise.
29293 (tan_test_towardzero): Likewise.
29294 (tan_test_downward): Likewise.
29295 (tan_test_upward): Likewise.
29296 (main): Call the new functions.
29297 * sysdeps/i386/fpu/libm-test-ulps: Update.
29298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29301 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29302 small n, then large n, before computing and testing k+n.
29303 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29308 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29309 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29316 * math/libm-test.inc (scalbn_test): Add more tests.
29317 (scalbln_test): Likewise.
29319 * manual/filesys.texi (mode_t): Describe constraints on size and
29320 signedness, not exact equivalence to a particular type.
29322 (ino64_t): Likewise.
29324 (nlink_t): Likewise.
29325 (blkcnt_t): Likewise.
29326 (blkcnt64_t): Likewise.
29327 * manual/llio.texi (off_t): Likewise.
29330 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29331 (__ieee754_exp): Save and restore rounding mode and use
29332 round-to-nearest for all computations.
29333 * math/libm-test.inc (exp_test_tonearest): New function.
29334 (exp_test_towardzero): Likewise.
29335 (exp_test_downward): Likewise.
29336 (exp_test_upward): Likewise.
29337 (main): Call the new functions.
29338 * sysdeps/i386/fpu/libm-test-ulps: Update.
29339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341 2012-03-01 Chris Demetriou <cgd@google.com>
29343 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29344 have predictable order.
29346 2012-03-01 David S. Miller <davem@davemloft.net>
29348 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29350 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29351 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29352 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29353 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29355 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29356 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29357 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29359 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29360 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29361 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29362 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29363 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29368 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29369 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29371 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29372 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29373 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29374 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29375 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29378 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29379 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29380 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29381 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29384 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29385 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29387 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29388 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29389 * sysdeps/sparc/elf/configure: Regenerated.
29391 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29393 * configure.in (AS, LD): Require binutils 2.20 or later.
29394 * configure: Regenerated.
29395 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29396 as required minimum version.
29397 * INSTALL: Regenerated.
29401 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29402 before squaring exponent.
29403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29404 bottom long double and 27 bits of top long double before squaring
29406 * math/libm-test.inc (erfc_test): Add more tests.
29407 * sysdeps/i386/fpu/libm-test-ulps: Update.
29408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29411 2012-03-01 Kai Tietz <ktietz@redhat.com>
29413 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29414 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29415 containing bit-fields.
29416 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29417 * soft-fp/single.h (_FP_UNION_S): Likewise.
29418 * soft-fp/double.h (_FP_UNION_D): Likewise.
29420 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29423 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29424 not include ../strcmp.S.
29425 [USE_AS_STRNCASECMP_L]: Likewise.
29426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29427 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29428 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29429 (__strncasecmp_l_ia32): Define as alias to
29430 __strncasecmp_l_nonascii.
29433 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29434 * sysdeps/i386/fpu/libm-test-ulps: Update.
29435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29437 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29440 2012-02-29 Jeff Law <law@redhat.com>
29442 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29443 out of bounds read.
29445 2012-02-29 Marek Polacek <polacek@redhat.com>
29448 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29449 * elf/Makefile: Add rules to run tst-unused-dep.out.
29451 2012-02-28 David S. Miller <davem@davemloft.net>
29453 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29454 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29456 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29457 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29458 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29460 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29462 * math/libm-test.inc (llround_test): Move one test from
29463 lround_test. Use TEST_f_L in moved test.
29464 (lround_test): Move misplaced test to llround_test. Add testcase
29467 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29469 * sysdeps/x86_64/fpu/e_expf.S: New file.
29470 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29472 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29475 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29476 of remain_len that may cause incomplete multi-byte character and
29478 * posix/bug-regex33.c: New file.
29479 * posix/Makefile (tests): Add bug-regex33.
29481 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29483 * manual/macros.texi: New file.
29484 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29485 * manual/libc.texinfo: Include macros.texi.
29486 * manual/creatute.texi: Likewise.
29487 * manual/install.texi: Likewise.
29488 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29489 @glibcadj{} in references to the GNU C Library.
29490 * manual/charset.texi: Likewise.
29491 * manual/conf.texi: Likewise.
29492 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29493 when not using those macros.
29494 * manual/creature.texi: Likewise.
29495 * manual/crypt.texi: Likewise.
29496 * manual/errno.texi: Likewise.
29497 * manual/filesys.texi: Likewise.
29498 * manual/header.texi: Likewise.
29499 * manual/install.texi: Likewise.
29500 * manual/intro.texi: Likewise.
29501 * manual/io.texi: Likewise.
29502 * manual/job.texi: Likewise.
29503 * manual/lang.texi: Likewise.
29504 * manual/libc.texiinfo: Likewise.
29505 * manual/llio.texi: Likewise.
29506 * manual/locale.texi: Likewise.
29507 * manual/maint.texi: Likewise.
29508 * manual/math.texi: Likewise.
29509 * manual/memory.texi: Likewise.
29510 * manual/message.texi: Likewise.
29511 * manual/nss.texi: Likewise.
29512 * manual/pattern.texi: Likewise.
29513 * manual/process.texi: Likewise.
29514 * manual/resource.texi: Likewise.
29515 * manual/search.texi: Likewise.
29516 * manual/setjmp.texi: Likewise.
29517 * manual/signal.texi: Likewise.
29518 * manual/socket.texi: Likewise.
29519 * manual/startup.texi: Likewise.
29520 * manual/stdio.texi: Likewise.
29521 * manual/string.texi: Likewise.
29522 * manual/sysinfo.texi: Likewise.
29523 * manual/syslog.texi: Likewise.
29524 * manual/terminal.texi: Likewise.
29525 * manual/time.texi: Likewise.
29526 * manual/users.texi: Likewise.
29527 * INSTALL: Regenerated.
29528 * NOTES: Regenerated.
29529 * sysdeps/gnu/errlist.c: Regenerated.
29531 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29533 * include/dirent.h: Include <dirstream.h> before
29536 2012-02-28 David S. Miller <davem@davemloft.net>
29538 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29539 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29540 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29541 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29543 2012-02-27 David S. Miller <davem@davemloft.net>
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29547 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29548 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29551 frame pointer instead of stack pointer relative arg slot.
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29553 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29554 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29556 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29559 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29561 2012-02-27 David S. Miller <davem@davemloft.net>
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29567 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29568 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29569 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29570 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29572 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29574 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29575 later. Allow versions 5-9.
29576 * configure: Regenerated.
29577 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29578 required minimum version and 4.6 as recommended version. Do not
29579 mention bugs in GCC 2.7 and 2.8.
29580 * INSTALL: Regenerated.
29582 2012-02-27 David S. Miller <davem@davemloft.net>
29584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29588 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29589 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29590 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29591 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29593 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29594 manipulate bits before adding and subtracting TWO112[sx].
29595 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29597 2012-02-27 Roland McGrath <roland@hack.frob.com>
29600 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29601 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29602 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29603 being in POSIX, because they are in 1003.1-2008.
29605 * rt/tst-aio.c: Include <fcntl.h>.
29606 * rt/tst-aio7.c: Likewise.
29607 * rt/tst-aio64.c: Likewise.
29609 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29611 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29613 * manual/install.texi (--with-headers): Describe headers as
29614 interface headers, not private headers.
29615 (Specific advice for GNU/Linux systems): Describe use of headers
29616 from "make headers_install", not private headers from older
29618 * INSTALL: Regenerated.
29619 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29621 * sysdeps/unix/sysv/linux/configure: Regenerated.
29623 * manual/llio.texi (fclean): Remove documentation.
29625 * manual/Makefile (libc-texi-generated): New variable. Include
29627 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29628 $(libc-texi-generated), not duplicated list of files.
29629 (version.texi, stamp-version): New rules.
29630 (realclean): Remove $(libc-texi-generated), not individual files
29631 from that list. Do not remove dir-add.texinfo.
29632 * manual/libc.texinfo: Comment out uses of edition numbers and
29633 references to printed manual. Remove last-updated dates.
29634 (EDITION): Comment out.
29636 (VERSION, UPDATED): Remove.
29637 (version.texi): Include.
29639 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29641 * sysdeps/posix/spawni.c: Include <signal.h>.
29642 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29643 * sysdeps/pthread/aio_fsync.c: Likewise.
29645 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29647 * conform/Makefile (tests): Run only when not cross-compiling and
29648 when fast-check is not defined.
29650 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29651 * conform/data/limits.h-data: Fixes for POSIX2008.
29652 * conform/run-conformtest.sh: Run all tests.
29653 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29655 * include/bits/dlfcn.h: Likewise.
29656 * include/langinfo.h: Likewise.
29657 * include/monetary.h: Likewise.
29658 * include/sys/poll.h: Likewise.
29660 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29662 * posix/spawn.h: Define __need_sigset_t.
29663 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29664 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29665 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29666 to get sigevent_t only.
29667 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29668 only for __USE_GNU.
29669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29670 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29671 process_vm_writev only for __USE_GNU.
29672 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29674 * conform/Makefile: For now ignore errors from run-conformtest.
29675 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29676 POSIX to avoid namespace pollution. Don't prepend headers.
29677 * conform/data/aio.h-data: Fixes for POSIX testing.
29678 * conform/data/fcntl.h-data: Likewise.
29679 * conform/data/glob.h-data: Likewise.
29680 * conform/data/grp.h-data: Likewise.
29681 * conform/data/pthread.h-data: Likewise.
29682 * conform/data/pwd.h-data: Likewise.
29683 * conform/data/signal.h-data: Likewise.
29684 * conform/data/spawn.h-data: Likewise.
29685 * conform/data/stdio.h-data: Likewise.
29686 * conform/data/stdlib.h-data: Likewise.
29687 * conform/data/stropts.h-data: Likewise.
29688 * conform/data/sys/mman.h-data: Likewise.
29689 * conform/data/sys/stat.h-data: Likewise.
29690 * conform/data/sys/types.h-data: Likewise.
29691 * conform/data/sys/wait.h-data: Likewise.
29692 * conform/data/time.h-data: Likewise.
29693 * conform/data/unistd.h-data: Likewise.
29694 * conform/data/utime.h-data: Likewise.
29696 * io/sys/stat.h: fchmod was always in POSIX.
29697 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29698 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29699 * rt/aio.h: Define __need_timespec before including <time.h>.
29700 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29701 struct. Add forward declaration of pthread_attr_t and use it in
29703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29704 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29705 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29706 always remove CLK_TCK definition.
29708 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29710 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29712 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29714 * conform/run-conformtest.sh: New file.
29715 * conform/Makefile: Run run-conformtest for tests.
29716 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29719 * conform/data/uchar.h-data: New file.
29720 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29721 * conform/data/arpa/inet.h-data: Likewise.
29722 * conform/data/assert.h-data: Likewise.
29723 * conform/data/complex.h-data: Likewise.
29724 * conform/data/cpio.h-data: Likewise.
29725 * conform/data/ctype.h-data: Likewise.
29726 * conform/data/dirent.h-data: Likewise.
29727 * conform/data/dlfcn.h-data: Likewise.
29728 * conform/data/errno.h-data: Likewise.
29729 * conform/data/fcntl.h-data: Likewise.
29730 * conform/data/float.h-data: Likewise.
29731 * conform/data/fmtmsg.h-data: Likewise.
29732 * conform/data/fnmatch.h-data: Likewise.
29733 * conform/data/ftw.h-data: Likewise.
29734 * conform/data/glob.h-data: Likewise.
29735 * conform/data/grp.h-data: Likewise.
29736 * conform/data/iconv.h-data: Likewise.
29737 * conform/data/inttypes.h-data: Likewise.
29738 * conform/data/langinfo.h-data: Likewise.
29739 * conform/data/libgen.h-data: Likewise.
29740 * conform/data/limits.h-data: Likewise.
29741 * conform/data/locale.h-data: Likewise.
29742 * conform/data/math.h-data: Likewise.
29743 * conform/data/monetary.h-data: Likewise.
29744 * conform/data/mqueue.h-data: Likewise.
29745 * conform/data/ndbm.h-data: Likewise.
29746 * conform/data/net/if.h-data: Likewise.
29747 * conform/data/netdb.h-data: Likewise.
29748 * conform/data/netinet/in.h-data: Likewise.
29749 * conform/data/nl_types.h-data: Likewise.
29750 * conform/data/poll.h-data: Likewise.
29751 * conform/data/pthread.h-data: Likewise.
29752 * conform/data/pwd.h-data: Likewise.
29753 * conform/data/regex.h-data: Likewise.
29754 * conform/data/sched.h-data: Likewise.
29755 * conform/data/search.h-data: Likewise.
29756 * conform/data/semaphore.h-data: Likewise.
29757 * conform/data/setjmp.h-data: Likewise.
29758 * conform/data/signal.h-data: Likewise.
29759 * conform/data/spawn.h-data: Likewise.
29760 * conform/data/stdarg.h-data: Likewise.
29761 * conform/data/stdio.h-data: Likewise.
29762 * conform/data/stdlib.h-data: Likewise.
29763 * conform/data/string.h-data: Likewise.
29764 * conform/data/strings.h-data: Likewise.
29765 * conform/data/stropts.h-data: Likewise.
29766 * conform/data/sys/ipc.h-data: Likewise.
29767 * conform/data/sys/mman.h-data: Likewise.
29768 * conform/data/sys/msg.h-data: Likewise.
29769 * conform/data/sys/resource.h-data: Likewise.
29770 * conform/data/sys/select.h-data: Likewise.
29771 * conform/data/sys/sem.h-data: Likewise.
29772 * conform/data/sys/shm.h-data: Likewise.
29773 * conform/data/sys/socket.h-data: Likewise.
29774 * conform/data/sys/stat.h-data: Likewise.
29775 * conform/data/sys/statvfs.h-data: Likewise.
29776 * conform/data/sys/time.h-data: Likewise.
29777 * conform/data/sys/timeb.h-data: Likewise.
29778 * conform/data/sys/times.h-data: Likewise.
29779 * conform/data/sys/types.h-data: Likewise.
29780 * conform/data/sys/uio.h-data: Likewise.
29781 * conform/data/sys/un.h-data: Likewise.
29782 * conform/data/sys/utsname.h-data: Likewise.
29783 * conform/data/sys/wait.h-data: Likewise.
29784 * conform/data/syslog.h-data: Likewise.
29785 * conform/data/tar.h-data: Likewise.
29786 * conform/data/termios.h-data: Likewise.
29787 * conform/data/utime.h-data: Likewise.
29788 * conform/data/utmpx.h-data: Likewise.
29789 * conform/data/varargs.h-data: Likewise.
29790 * conform/data/wchar.h-data: Likewise.
29791 * conform/data/wctype.h-data: Likewise.
29792 * conform/data/wordexp.h-data: Likewise.
29794 * include/stropts.h: New file.
29795 * include/uchar.h: New file.
29796 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29797 * include/assert.h: Likewise.
29798 * include/ctype.h: Likewise.
29799 * include/dirent.h: Likewise.
29800 * include/dlfcn.h: Likewise.
29801 * include/fcntl.h: Likewise.
29802 * include/fnmatch.h: Likewise.
29803 * include/glob.h: Likewise.
29804 * include/grp.h: Likewise.
29805 * include/libio.h: Likewise.
29806 * include/locale.h: Likewise.
29807 * include/math.h: Likewise.
29808 * include/net/if.h: Likewise.
29809 * include/netdb.h: Likewise.
29810 * include/netinet/in.h: Likewise.
29811 * include/pthread.h: Likewise.
29812 * include/pwd.h: Likewise.
29813 * include/regex.h: Likewise.
29814 * include/sched.h: Likewise.
29815 * include/search.h: Likewise.
29816 * include/setjmp.h: Likewise.
29817 * include/signal.h: Likewise.
29818 * include/stdio.h: Likewise.
29819 * include/stdlib.h: Likewise.
29820 * include/string.h: Likewise.
29821 * include/sys/cdefs.h: Likewise.
29822 * include/sys/mman.h: Likewise.
29823 * include/sys/msg.h: Likewise.
29824 * include/sys/resource.h: Likewise.
29825 * include/sys/select.h: Likewise.
29826 * include/sys/socket.h: Likewise.
29827 * include/sys/stat.h: Likewise.
29828 * include/sys/statvfs.h: Likewise.
29829 * include/sys/time.h: Likewise.
29830 * include/sys/times.h: Likewise.
29831 * include/sys/uio.h: Likewise.
29832 * include/sys/utsname.h: Likewise.
29833 * include/sys/wait.h: Likewise.
29834 * include/termios.h: Likewise.
29835 * include/time.h: Likewise.
29836 * include/ulimit.h: Likewise.
29837 * include/unistd.h: Likewise.
29838 * include/utime.h: Likewise.
29839 * include/wchar.h: Likewise.
29840 * include/wctype.h: Likewise.
29841 * include/wordexp.h: Likewise.
29843 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29845 * time/time.h: TIME_UTC must be a macro.
29846 Make timespec_get available for ISO C11 only as well.
29848 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29850 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29851 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29853 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29855 * configure.in: Use -o not -a in test for unsupported multi-arch.
29857 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29859 * manual/texinfo.tex: Update to version 2012-01-19.16.
29861 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29863 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29865 2012-02-24 Roland McGrath <roland@hack.frob.com>
29868 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29869 * manual/fdl-1.3.texi: New file.
29870 * manual/fdl-1.1.texi: File removed.
29873 * manual/libc.texinfo (FDL_VERSION): New @set.
29874 Use it for mention of FDL in cover text.
29875 (Documentation License): Use it in @include file name.
29877 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29878 Roland McGrath <roland@hack.frob.com>
29881 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29882 not LONG_LONG_MAX and LONG_LONG_MIN.
29883 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29884 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29886 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29892 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29893 manipulate bits before adding and subtracting TWO23[sx].
29894 * math/libm-test.inc (nearbyint_test): Add more tests.
29896 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29899 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29900 bits before adding and subtracting TWO23[sx].
29901 * math/libm-test.inc (rint_test): Add more tests.
29902 (rint_test_tonearest): Likewise.
29903 (rint_test_towardzero): Likewise.
29904 (rint_test_downward): Likewise.
29905 (rint_test_upward: Likewise.
29907 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29910 * include/stdc-predef.h: New file. Extracted from features.h.
29911 * include/features.h: Include stdc-predef.h.
29912 * Makefile (headers): Add stdc-predef.h.
29913 * CONFORMANCE (Compiler limitations): Update.
29915 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29917 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29919 2012-02-21 David S. Miller <davem@davemloft.net>
29921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29922 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29924 2012-02-20 David S. Miller <davem@davemloft.net>
29926 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29927 using a normal save/restore sequence, rather than allocating a
29928 dummy stack frame just to store a frame pointer and restore.
29929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29931 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29933 * manual/install.texi: Fix stray word in line-wrapped comment.
29935 2012-02-20 David S. Miller <davem@davemloft.net>
29937 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29938 both binutils and gcc support GOTDATA.
29940 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29941 "rd %pc" in the PIC register setup sequences.
29943 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29944 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29945 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29946 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29947 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29952 (SYSCALL_ERROR_HANDLER): Likewise.
29953 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29954 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29956 (SYSCALL_ERROR_HANDLER): Likewise.
29958 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29959 (HAVE_GCC_GOTDATA): New.
29960 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29961 relocation support in both binutils and gcc.
29962 * sysdeps/sparc/elf/configure: Regenerate.
29964 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29965 * sysdeps/sparc/sparc32/elf/configure: Delete.
29966 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29967 * sysdeps/sparc/sparc64/elf/configure: Delete.
29968 * sysdeps/sparc/elf/configure.in: New file.
29969 * sysdeps/sparc/elf/configure: Generate.
29971 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29972 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29973 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29974 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29975 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29977 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29979 * manual/install.texi: Do not mention specific glibc version
29981 * manual/libc.texinfo (VERSION, UPDATED): Update.
29982 (@copying): Use @copyright{} and range of years.
29984 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29987 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29988 [crti.S not in sysdirs] (generated): Do not append.
29989 [crti.S not in sysdirs] (omit-deps): Likewise.
29990 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29991 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29992 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29993 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29994 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29996 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29997 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29998 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29999 * csu/defs.awk: Remove file.
30000 * sysdeps/generic/initfini.c: Likewise.
30001 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30003 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30008 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30009 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30010 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30011 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30013 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30015 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30016 (__EPOLL_PACKED): Define to empty if not defined by
30018 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30024 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30025 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30027 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30029 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30033 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30035 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30037 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30038 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30039 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30042 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30045 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30047 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30049 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30050 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30052 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30054 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30057 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30059 * math/w_acos.c: Use non-signaling floating-point comparisons.
30060 * math/w_acosf.c: Likewise.
30061 * math/w_acosh.c: Likewise.
30062 * math/w_acoshf.c: Likewise.
30063 * math/w_acoshl.c: Likewise.
30064 * math/w_acosl.c: Likewise.
30065 * math/w_asin.c: Likewise.
30066 * math/w_asinf.c: Likewise.
30067 * math/w_asinl.c: Likewise.
30068 * math/w_atanh.c: Likewise.
30069 * math/w_atanhf.c: Likewise.
30070 * math/w_atanhl.c: Likewise.
30071 * math/w_exp2.c: Likewise.
30072 * math/w_exp2f.c: Likewise.
30073 * math/w_exp2l.c: Likewise.
30074 * math/w_j0.c: Likewise.
30075 * math/w_j0f.c: Likewise.
30076 * math/w_j0l.c: Likewise.
30077 * math/w_j1.c: Likewise.
30078 * math/w_j1f.c: Likewise.
30079 * math/w_j1l.c: Likewise.
30080 * math/w_jn.c: Likewise.
30081 * math/w_jnf.c: Likewise.
30082 * math/w_log.c: Likewise.
30083 * math/w_log10.c: Likewise.
30084 * math/w_log10f.c: Likewise.
30085 * math/w_log10l.c: Likewise.
30086 * math/w_log2.c: Likewise.
30087 * math/w_log2f.c: Likewise.
30088 * math/w_log2l.c: Likewise.
30089 * math/w_logf.c: Likewise.
30090 * math/w_logl.c: Likewise.
30091 * math/w_sqrt.c: Likewise.
30092 * math/w_sqrtf.c: Likewise.
30093 * math/w_sqrtl.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30096 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30097 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30098 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30100 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30103 * manual/string.texi (strnlen): Use correct parameter name in
30104 equivalent expression.
30106 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30109 * manual/users.texi (seteuid): Consistently use neweuid for
30112 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30115 * manual/nss.texi (Services in the NSS configuration): Correct
30116 list of services in example configuration file.
30118 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30121 * manual/arith.texi: Remove statements about negative zero
30122 behaving identically to zero.
30124 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30127 * manual/install.texi: Do not document upgrading from libc5.
30129 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30132 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30134 2012-02-18 David S. Miller <davem@davemloft.net>
30136 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30137 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30138 %o7 across the call.
30139 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30142 SETUP_PIC_REG_LEAF.
30143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30144 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30145 * sysdeps/sparc/crtn.S: Likewise.
30147 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30149 * aout/Makefile: Remove.
30151 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30154 * manual/examples/argp-ex1.c (main): Format definition in GNU
30156 * manual/examples/argp-ex2.c (main): Likewise.
30157 * manual/examples/argp-ex3.c (main): Likewise.
30158 * manual/examples/argp-ex4.c (main): Likewise.
30159 * manual/examples/longopt.c (main): Use new-style prototype
30161 * manual/examples/strncat.c (main): Specify return type and use
30162 (void) for arguments.
30163 * manual/examples/subopt.c (main): Use char **argv argument.
30165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30168 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30171 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30174 * manual/string.texi (strchr): Change when strchrnul is
30177 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30180 * manual/locale.texi (setlocale): Document LOCPATH.
30182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30185 * manual/process.texi (execle): Move @dots{} before last argument.
30187 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30190 * manual/charset.texi (Generic Charset Conversion): Fix typo
30191 (LC_TYPE -> LC_CTYPE).
30193 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30196 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30197 (scalbnf): Likewise.
30198 (scalbnl): Likewise.
30199 (scalbln): Likewise.
30200 (scalblnf): Likewise.
30201 (scalblnl): Likewise.
30202 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30203 (vwarnx): Likewise.
30206 * manual/filesys.texi (telldir): Use braces around return type.
30207 * manual/llio.texi (mmap): Add space after comma.
30208 (mmap64): Likewise.
30209 * manual/math.texi (jn): Use @var{} on parameter names.
30215 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30217 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30219 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30220 (sched_get_priority_max): Likewise.
30221 * manual/signal.texi (sigvec): Add space after comma.
30222 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30224 (if_indextoname): Likewise.
30225 (if_freenameindex): Likewise.
30226 (sendto): Use ',' instead of '.' in prototype.
30227 * manual/startup.texi (syscall): Use @dots{} instead of literal
30229 * manual/stdio.texi (__fpending): Separate initial words of
30230 paragraph from @deftypefun line.
30231 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30233 (vsyslog): Use @var{} on parameter names.
30234 * manual/terminal.texi (stty): Use @var{} on parameter names.
30235 * manual/users.texi (getutmp): Use @var{} on parameter names.
30236 (getutmpx): Likewise.
30238 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30241 * manual/stdio.texi (fopen): Fix typos in description of
30244 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30247 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30248 get clock_id definition.
30250 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30253 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30254 (madvise): Cast every argument to void on its own.
30256 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30259 * manual/startup.texi (Exit Status): Fix typo.
30261 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30264 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30265 * manual/examples/argp-ex2.c: Likewise.
30266 * manual/examples/argp-ex3.c: Likewise.
30268 2012-02-16 Richard Henderson <rth@redhat.com>
30270 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30271 * sysdeps/s390/s390-32/initfini.c: Remove.
30272 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30273 * sysdeps/s390/s390-64/initfini.c: Remove.
30275 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30277 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30278 compiler output for sysdeps/generic/initfini.c.
30279 * sysdeps/sh/elf/initfini.c: Remove file.
30281 2012-02-16 David S. Miller <davem@davemloft.net>
30284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30286 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30287 * sysdeps/sparc/crti.S: New file.
30288 * sysdeps/sparc/crtn.S: New file.
30289 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30290 * sysdeps/sparc/sparc64/Makefile: Likewise.
30292 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30295 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30297 2012-02-15 Roland McGrath <roland@hack.frob.com>
30300 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30302 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30303 (write, read, close): Likewise.
30304 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30306 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30308 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30309 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30310 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30311 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30313 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30317 2012-02-14 Marek Polacek <polacek@redhat.com>
30319 * sysdeps/x86_64/crti.S: New file.
30320 * sysdeps/x86_64/crtn.S: New file.
30321 * sysdeps/x86_64/elf/initfini.c: Remove file.
30323 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30325 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30326 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30327 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30328 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30330 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30334 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30336 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30337 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30338 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30339 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30341 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30345 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30347 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30348 __feraiseexcept instead of feraiseexcept.
30350 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30351 nanosleep invocations.
30352 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30353 strings, and add error checking for a nanosleep invocations.
30355 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30357 Replace FSF snail mail address with URLs, as per GNU coding standards.
30358 Most of the snail mail addresses were wrong anyway, and omitting
30359 them makes the source code easier to maintain. Almost all of the
30360 changes are to license notices and to locale LC_IDENTIFICATION
30361 addresses, except for this one:
30362 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30363 not its snail mail address.
30365 2012-02-09 Richard Henderson <rth@twiddle.net>
30367 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30368 of kernel-features.h.
30370 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30372 2012-02-08 Marek Polacek <polacek@redhat.com>
30374 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30375 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30376 * sysdeps/gnu/_G_config.h: Likewise.
30377 * sysdeps/generic/_G_config.h: Likewise.
30379 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30381 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30385 * sysdeps/powerpc/powerpc32/crti.S: New file.
30386 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30387 * sysdeps/powerpc/powerpc64/crti.S: New file.
30388 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30390 * Makeconfig (have-initfini): Don't set.
30391 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30392 * configure.in (nopic_initfini): Don't substitute.
30393 * config.h.in (HAVE_INITFINI): Don't #undef.
30394 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30395 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30397 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30399 Support crti.S and crtn.S provided directly by architectures.
30400 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30401 [crti.S in sysdirs] (omit-deps): Likewise.
30402 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30403 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30404 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30405 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30406 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30407 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30408 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30409 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30410 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30411 compiler output for sysdeps/generic/initfini.c.
30412 * sysdeps/i386/elf/Makefile: Remove file.
30413 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30415 2012-02-07 Marek Polacek <polacek@redhat.com>
30417 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30418 * sysdeps/gnu/_G_config.h: Likewise.
30419 * sysdeps/mach/hurd/_G_config.h: Likewise.
30421 2012-02-07 Marek Polacek <polacek@redhat.com>
30423 * math/Makefile (tests): Add tst-CMPLX2.
30424 * math/tst-CMPLX2.c: New file.
30426 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30428 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30430 * math/libm-test.inc (jn_test): Add missing L suffix.
30432 2012-02-06 Marek Polacek <polacek@redhat.com>
30434 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30435 * sysdeps/i386/fpu/e_powf.S: Likewise.
30436 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30437 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30439 * sysdeps/i386/fpu/e_pow.S: Likewise.
30440 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30441 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30442 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30443 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30444 * sysdeps/i386/fpu/e_log2.S: Likewise.
30445 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30447 * sysdeps/i386/fpu/e_powl.S: Likewise.
30448 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30450 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30451 * sysdeps/i386/fpu/e_logl.S: Likewise.
30452 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30453 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30454 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30455 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30456 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30457 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30458 * sysdeps/i386/fpu/e_log.S: Likewise.
30459 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30460 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30461 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30462 * sysdeps/i386/fpu/e_logf.S: Likewise.
30463 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30464 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30465 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30466 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30467 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30468 * sysdeps/i386/fpu/e_log10.S: Likewise.
30469 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30471 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30472 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30474 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30475 * sysdeps/i386/asm-syntax.h: Likewise.
30476 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30478 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30479 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30480 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30481 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30482 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30483 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30484 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30485 * sysdeps/powerpc/sysdep.h: Likewise.
30486 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30487 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30489 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30492 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30494 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30496 * sysdeps/i386/sysdep.h: Include <features.h>.
30497 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30500 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30502 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30504 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30507 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30509 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30510 (SETUP_PIC_REG): Use GET_PC_THUNK.
30511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30514 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30516 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30517 for non-PIC compilation.
30518 (SETUP_PIC_REG): Add .p2align directive.
30519 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30520 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30521 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30522 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30524 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30525 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30526 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30561 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30563 * math/tst-CMPLX.c: Include <stdio.h>.
30565 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30567 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30569 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30570 * sysdeps/sparc/bits/mathdef.h: Likewise.
30572 2012-01-31 Marek Polacek <polacek@redhat.com>
30574 * libio/libio.h: Don't define _PARAMS.
30575 * locale/programs/config.h: Don't define PARAMS.
30576 * stdlib/strtol_l.c: Likewise.
30577 (__strtol_l): Remove PARAMS from the prototype.
30579 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30581 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30582 names. Just use the correct names. Remove unnecessary wrapper
30584 * malloc/arena.c: Likewise.
30585 * malloc/hooks.c: Likewise.
30587 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30588 ARENA_TEST says not to. Simplify test for creation of a new arena.
30589 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30591 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30593 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30595 (update_get_addr): New function.
30596 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30597 GET_ADDR_MODULE parameter.
30599 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30601 * crypt/cert.c: Remove __STDC__ conditionals.
30602 * crypt/crypt-entry.c: Likewise.
30603 * crypt/crypt_util.c: Likewise.
30604 * libio/filedoalloc.c: Likewise.
30605 * libio/fileops.c: Likewise.
30606 * libio/genops.c: Likewise.
30607 * libio/iofclose.c: Likewise.
30608 * libio/iofdopen.c: Likewise.
30609 * libio/iofopen.c: Likewise.
30610 * libio/iofopen64.c: Likewise.
30611 * libio/iogetdelim.c: Likewise.
30612 * libio/iopopen.c: Likewise.
30613 * libio/obprintf.c: Likewise.
30614 * libio/oldfileops.c: Likewise.
30615 * libio/oldiofclose.c: Likewise.
30616 * libio/oldiofdopen.c: Likewise.
30617 * libio/oldiofopen.c: Likewise.
30618 * libio/oldiopopen.c: Likewise.
30619 * libio/wfiledoalloc.c: Likewise.
30620 * libio/wgenops.c: Likewise.
30621 * locale/programs/xmalloc.c: Likewise.
30622 * misc/syslog.c: Likewise.
30623 * stdio-common/xbug.c: Likewise.
30624 * string/memchr.c: Likewise.
30625 * string/memcmp.c: Likewise.
30626 * string/memrchr.c: Likewise.
30627 * string/rawmemchr.c: Likewise.
30628 * sysdeps/posix/getcwd.c: Likewise.
30629 * time/strftime_l.c: Likewise.
30631 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30633 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30634 * config.make.in (config-cflags-sse2avx): Define.
30635 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30638 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30640 * scripts/config.guess: Update from upstream config git repository.
30641 * scripts/config.sub: Likewise.
30643 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30645 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30647 (R_TILEPRO_*, R_TILEGX_*): New macros.
30649 * scripts/firstversions.awk: Fix bug in version range handling.
30651 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30653 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30655 * include/sys/epoll.h: New file.
30656 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30659 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30661 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30662 Avoid unnecessary __WORDSIZE == 64 test.
30663 (fmaxf): Use VEX format if possible.
30668 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30669 * math/math_private.h: Remove libc_fegetround* and
30671 * sysdeps/i386/configure.in: Check for -msse2avx.
30672 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30673 also if SSE2AVX is defined.
30674 Remove libc_fegetround* and libc_fesetround*.
30675 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30676 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30685 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30687 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30689 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30691 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30693 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30696 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30698 * Makeconfig (libm): Define.
30699 * elf/Makefile: Add rules to build and run tst-relsort1.
30700 * elf/tst-relsort1.c: New file.
30701 * elf/tst-relsort1mod1.c: New file.
30702 * elf/tst-relsort1mod2.c: New file.
30704 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30706 * math/s_ldexp.c: Remove __STDC__ conditionals.
30707 * math/s_ldexpf.c: Likewise.
30708 * math/s_ldexpl.c: Likewise.
30709 * math/s_nextafter.c: Likewise.
30710 * math/s_nexttowardf.c: Likewise.
30711 * math/s_significand.c: Likewise.
30712 * math/s_significandf.c: Likewise.
30713 * math/s_significandl.c: Likewise.
30714 * math/w_jnl.c: Likewise.
30715 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30716 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30717 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30718 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30719 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30724 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30725 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30727 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30728 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30736 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30737 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30739 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30740 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30741 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30742 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30743 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30746 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30747 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30748 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30749 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30750 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30751 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30752 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30753 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30754 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30755 * sysdeps/ieee754/k_standard.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30817 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30835 * sysdeps/ieee754/s_matherr.c: Likewise.
30836 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30837 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30841 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30843 * crypt/md5.h: Remove __STDC__ conditionals.
30844 * libio/libioP.h: Likewise.
30845 * locale/programs/config.h: Likewise.
30846 * sysdeps/generic/sysdep.h: Likewise.
30847 * sysdeps/i386/asm-syntax.h: Likewise.
30848 * sysdeps/s390/asm-syntax.h: Likewise.
30849 * sysdeps/unix/sysdep.h: Likewise.
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30853 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30855 * libio/libio.h: Remove __STDC__ conditionals.
30856 * malloc/obstack.h: Likewise.
30857 * math/complex.h: Likewise.
30858 * math/math.h: Likewise.
30859 * sysdeps/generic/_G_config.h: Likewise.
30860 * sysdeps/gnu/_G_config.h: Likewise.
30861 * sysdeps/mach/hurd/_G_config.h: Likewise.
30862 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30863 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30864 * sysdeps/sparc/bits/mathdef.h: Likewise.
30866 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30869 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30870 Clean up HAS_* macros.
30871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30872 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30874 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30876 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30877 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30878 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30879 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30880 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30882 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30884 * elf/tst-unique3.cc (gets): Remove declaration.
30885 * elf/tst-unique3lib.cc (gets): Likewise.
30886 * elf/tst-unique3lib2.cc (gets): Likewise.
30887 * elf/tst-unique4.cc (gets): Likewise.
30889 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30891 * include/stdio.h: Add C++ protection. Add gets declarations and
30893 * debug/tst-chk1.c: Don't declare gets here.
30894 * stdio-common/tst-gets.c: Likewise.
30896 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30898 * posix/glob: Remove directory.
30900 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30902 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30904 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30906 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30907 of the non-standard EPFNOSUPPORT.
30909 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30911 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30912 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30913 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30915 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30917 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30919 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30921 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30923 * nscd/grpcache.c (cache_addgr): Likewise.
30924 * nscd/hstcache.c (cache_addhst): Likewise.
30925 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30926 * nscd/pwdcache.c (cache_addpw): Likewise.
30927 * nscd/servicescache.c (cache_addserv): Likewise.
30929 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30931 * malloc/malloc.c: Various cleanups.
30932 * malloc/hooks.c: Likewise.
30934 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30935 * stdlib/bug-fmtmsg1.c: New file.
30937 * stdlib/fmtmsg.c (init): Add missing unlock.
30938 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30940 2012-01-12 Marek Polacek <polacek@redhat.com>
30942 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30945 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30947 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30948 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30949 macro to ensure uniqueness of label name.
30950 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30951 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30953 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30955 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30957 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30958 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30962 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30964 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30966 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30967 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30970 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30972 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30973 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30974 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30977 * math/bits/math-finite.h: Add ldexp support.
30979 2012-01-10 Marek Polacek <polacek@redhat.com>
30981 * locale/programs/localedef.h (show_archive_content): Add noreturn
30984 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30986 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30988 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30990 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30992 * io/Makefile (headers): Add bits/poll2.h.
30994 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30997 typo #include statement.
30999 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31001 * include/sys/cdefs.h: Define __attribute_alloc_size.
31002 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31003 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31004 * elf/pldd.c: Likewise.
31005 * iconv/iconv_charmap.c: Likewise.
31006 * iconv/iconvconfig.c: Likewise.
31007 * iconv/strtab.c: Likewise.
31008 * locale/programs/locale.c: Likewise.
31009 * locale/programs/localedef.h: Likewise.
31010 * locale/programs/simple-hash.c: Likewise.
31011 * nscd/nscd.h: Likewise.
31012 * nss/makedb.c: Likewise.
31013 * sysdeps/generic/ldconfig.h: Likewise.
31014 * locale/programs/localedef.c: Remove xmalloc prototype.
31015 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31017 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31019 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31022 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31024 * math/Makefile (tests): Add tst-CMPLX.
31025 * math/tst-CMPLX.c: New file.
31027 * math/complex.h (CMPLXL): Fix typo.
31029 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31030 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31032 * debug/tst-chk1.c: Add poll and ppoll tests.
31033 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31034 * include/sys/poll.h: Add hidden proto for ppoll.
31035 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31036 * sysdeps/mach/hurd/ppoll.c: Likewise.
31037 * io/ppoll.c: Likewise.
31038 * debug/poll_chk.c: New file.
31039 * debug/ppoll_chk.c: New file.
31040 * include/bits/poll2.h: New file.
31041 * io/bits/poll2.h: New file.
31044 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31046 * configure.in: static is always set to yes. Remove.
31047 * config.make.in: Don't set build-static.
31048 * Makeconfig: Remove use of build-static.
31049 * dlfcn/Makefile: Likewise.
31050 * elf/Makefile: Likewise.
31051 * math/Makefile: Likewise.
31052 * misc/Makefile: Likewise.
31053 * nptl/Makefile: Likewise.
31054 * sysdeps/mach/hurd/Makefile: Likewise.
31056 * configure.in: PWD_P is not used anymore.
31057 * config.make.in: Remove PWD_P entry.
31059 * configure.in: Remove last remnants of RANLIB.
31060 No need to check for signed size_t anymore.
31061 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31063 Remove __builtin_expect test because we require at least gcc 3.4.
31064 * aclocal.m4: Likewise.
31066 * wcsmbs/mbrtoc16.c: Implement using towc function.
31067 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31068 * wcsmbs/wcsmbsload.c: Likewise.
31069 * iconv/gconv_simple.c: Likewise.
31070 * iconv/gconv_int.h: Likewise.
31071 * iconv/gconv_builtin.h: Likewise.
31072 * iconv/iconv_prog.c: Remove CHAR16 handling.
31074 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31076 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31078 * configure.in: Remove --with-elf and --enable-bounded options.
31079 Dont set base_machine for ia64. More non-ELF conditions removed.
31080 Remove testing and setting of leading underscore information.
31081 * config.make.in (build-bounded): Set to no.
31082 * config.h.in: Remove NO_UNDERSCORES entry.
31083 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31085 * csu/start.c: Remove !NO_UNDERSCORE code.
31086 * locale/localeinfo.h: Likewise.
31087 * sysdeps/generic/machine-gmon.h: Likewise.
31088 * sysdeps/generic/sysdep.h: Likewise.
31089 * sysdeps/i386/sysdep.h: Likewise.
31090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31091 * sysdeps/mach/sysdep.h: Likewise.
31092 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31093 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31094 * sysdeps/sh/sysdep.h: Likewise.
31095 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31096 * sysdeps/unix/i386/sysdep.S: Likewise.
31097 * sysdeps/unix/sparc/start.c: Likewise.
31098 * sysdeps/unix/sparc/sysdep.S: Likewise.
31099 * sysdeps/unix/sparc/sysdep.h: Likewise.
31100 * sysdeps/unix/start.c: Likewise.
31101 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31102 * sysdeps/x86_64/sysdep.h: Likewise.
31104 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31107 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31109 * argp/argp-fmtstream.h: Use const instead __const.
31110 * argp/argp.h: Likewise.
31111 * assert/assert.h: Likewise.
31112 * bits/fenv.h: Likewise.
31113 * bits/sched.h: Likewise.
31114 * bits/sigset.h: Likewise.
31115 * bits/sigthread.h: Likewise.
31116 * catgets/nl_types.h: Likewise.
31117 * conform/data/pthread.h-data: Likewise.
31118 * crypt/crypt-private.h: Likewise.
31119 * crypt/crypt.h: Likewise.
31120 * crypt/crypt_util.c: Likewise.
31121 * ctype/ctype.h: Likewise.
31122 * debug/execinfo.h: Likewise.
31123 * debug/mbsnrtowcs_chk.c: Likewise.
31124 * debug/mbsrtowcs_chk.c: Likewise.
31125 * debug/wcsnrtombs_chk.c: Likewise.
31126 * debug/wcsrtombs_chk.c: Likewise.
31127 * debug/wcstombs_chk.c: Likewise.
31128 * dirent/dirent.h: Likewise.
31129 * dlfcn/dlfcn.h: Likewise.
31130 * elf/neededtest4.c: Likewise.
31131 * grp/grp.h: Likewise.
31132 * gshadow/gshadow.h: Likewise.
31133 * iconv/gconv.h: Likewise.
31134 * iconv/gconv_int.h: Likewise.
31135 * iconv/gconv_simple.c: Likewise.
31136 * iconv/iconv.h: Likewise.
31137 * iconv/loop.c: Likewise.
31138 * iconv/skeleton.c: Likewise.
31139 * include/aio.h: Likewise.
31140 * include/aliases.h: Likewise.
31141 * include/argz.h: Likewise.
31142 * include/arpa/inet.h: Likewise.
31143 * include/assert.h: Likewise.
31144 * include/dirent.h: Likewise.
31145 * include/dlfcn.h: Likewise.
31146 * include/execinfo.h: Likewise.
31147 * include/fcntl.h: Likewise.
31148 * include/fenv.h: Likewise.
31149 * include/glob.h: Likewise.
31150 * include/grp.h: Likewise.
31151 * include/libintl.h: Likewise.
31152 * include/mntent.h: Likewise.
31153 * include/netdb.h: Likewise.
31154 * include/pwd.h: Likewise.
31155 * include/rpc/netdb.h: Likewise.
31156 * include/sched.h: Likewise.
31157 * include/search.h: Likewise.
31158 * include/shadow.h: Likewise.
31159 * include/signal.h: Likewise.
31160 * include/stdio.h: Likewise.
31161 * include/stdlib.h: Likewise.
31162 * include/string.h: Likewise.
31163 * include/sys/socket.h: Likewise.
31164 * include/sys/stat.h: Likewise.
31165 * include/sys/statfs.h: Likewise.
31166 * include/sys/statvfs.h: Likewise.
31167 * include/sys/syslog.h: Likewise.
31168 * include/sys/time.h: Likewise.
31169 * include/sys/uio.h: Likewise.
31170 * include/time.h: Likewise.
31171 * include/unistd.h: Likewise.
31172 * include/utmp.h: Likewise.
31173 * include/wchar.h: Likewise.
31174 * include/wctype.h: Likewise.
31175 * inet/aliases.h: Likewise.
31176 * inet/arpa/inet.h: Likewise.
31177 * inet/netinet/ether.h: Likewise.
31178 * inet/netinet/in.h: Likewise.
31179 * intl/libintl.h: Likewise.
31180 * io/bits/fcntl2.h: Likewise.
31181 * io/fcntl.h: Likewise.
31182 * io/ftw.h: Likewise.
31183 * io/sys/poll.h: Likewise.
31184 * io/sys/stat.h: Likewise.
31185 * io/sys/statfs.h: Likewise.
31186 * io/sys/statvfs.h: Likewise.
31187 * io/utime.h: Likewise.
31188 * libio/bits/stdio.h: Likewise.
31189 * libio/bits/stdio2.h: Likewise.
31190 * libio/libio.h: Likewise.
31191 * libio/libioP.h: Likewise.
31192 * libio/stdio.h: Likewise.
31193 * locale/lc-ctype.c: Likewise.
31194 * locale/locale.h: Likewise.
31195 * login/utmp.h: Likewise.
31196 * malloc/arena.c: Likewise.
31197 * malloc/malloc.c: Likewise.
31198 * malloc/malloc.h: Likewise.
31199 * malloc/mcheck.c: Likewise.
31200 * malloc/mtrace.c: Likewise.
31201 * math/bits/mathcalls.h: Likewise.
31202 * math/fenv.h: Likewise.
31203 * math/math_private.h: Likewise.
31204 * misc/bits/error.h: Likewise.
31205 * misc/bits/syslog.h: Likewise.
31206 * misc/err.h: Likewise.
31207 * misc/error.h: Likewise.
31208 * misc/fstab.h: Likewise.
31209 * misc/mntent.h: Likewise.
31210 * misc/regexp.h: Likewise.
31211 * misc/search.h: Likewise.
31212 * misc/sgtty.h: Likewise.
31213 * misc/sys/mman.h: Likewise.
31214 * misc/sys/syslog.h: Likewise.
31215 * misc/sys/uio.h: Likewise.
31216 * misc/sys/xattr.h: Likewise.
31217 * misc/ttyent.h: Likewise.
31218 * nis/rpcsvc/ypclnt.h: Likewise.
31219 * nss/nss.h: Likewise.
31220 * posix/bits/unistd.h: Likewise.
31221 * posix/fnmatch.h: Likewise.
31222 * posix/glob.h: Likewise.
31223 * posix/sched.h: Likewise.
31224 * posix/spawn.h: Likewise.
31225 * posix/sys/wait.h: Likewise.
31226 * posix/unistd.h: Likewise.
31227 * posix/wordexp.h: Likewise.
31228 * pwd/pwd.h: Likewise.
31229 * resolv/netdb.h: Likewise.
31230 * resource/sys/resource.h: Likewise.
31231 * rt/aio.h: Likewise.
31232 * rt/bits/mqueue2.h: Likewise.
31233 * rt/mqueue.h: Likewise.
31234 * shadow/shadow.h: Likewise.
31235 * signal/signal.h: Likewise.
31236 * socket/send.c: Likewise.
31237 * socket/sendto.c: Likewise.
31238 * socket/sys/socket.h: Likewise.
31239 * stdio-common/printf.h: Likewise.
31240 * stdlib/bits/stdlib.h: Likewise.
31241 * stdlib/fmtmsg.h: Likewise.
31242 * stdlib/monetary.h: Likewise.
31243 * stdlib/stdlib.h: Likewise.
31244 * stdlib/ucontext.h: Likewise.
31245 * streams/stropts.h: Likewise.
31246 * string/argz.h: Likewise.
31247 * string/bits/string2.h: Likewise.
31248 * string/string.h: Likewise.
31249 * string/strings.h: Likewise.
31250 * sunrpc/rpc/auth.h: Likewise.
31251 * sunrpc/rpc/auth_des.h: Likewise.
31252 * sunrpc/rpc/clnt.h: Likewise.
31253 * sunrpc/rpc/netdb.h: Likewise.
31254 * sunrpc/rpc/pmap_clnt.h: Likewise.
31255 * sunrpc/rpc/xdr.h: Likewise.
31256 * sysdeps/generic/inttypes.h: Likewise.
31257 * sysdeps/generic/net/if.h: Likewise.
31258 * sysdeps/generic/sys/swap.h: Likewise.
31259 * sysdeps/gnu/net/if.h: Likewise.
31260 * sysdeps/gnu/utmpx.h: Likewise.
31261 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31262 * sysdeps/i386/i486/bits/string.h: Likewise.
31263 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31264 * sysdeps/s390/bits/string.h: Likewise.
31265 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31266 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31267 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31268 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31269 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31270 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31271 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31272 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31273 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31274 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31275 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31276 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31277 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31278 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31279 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31280 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31281 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31283 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31285 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31286 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31287 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31288 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31289 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31290 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31291 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31293 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31295 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31296 * sysvipc/sys/ipc.h: Likewise.
31297 * sysvipc/sys/msg.h: Likewise.
31298 * sysvipc/sys/sem.h: Likewise.
31299 * sysvipc/sys/shm.h: Likewise.
31300 * termios/termios.h: Likewise.
31301 * time/sys/time.h: Likewise.
31302 * time/time.h: Likewise.
31303 * wcsmbs/bits/wchar2.h: Likewise.
31304 * wcsmbs/uchar.h: Likewise.
31305 * wcsmbs/wchar.h: Likewise.
31306 * wctype/wctype.h: Likewise.
31309 * Makeconfig: Remove all but ELF support including AIX support.
31310 * Makerules: Likewise.
31311 * config.h.in: Likewise.
31312 * config.make.in: Likewise.
31313 * configure: Likewise.
31314 * configure.in: Likewise.
31315 * csu/Makefile: Likewise.
31316 * csu/version.c: Likewise.
31317 * debug/Makefile: Likewise.
31318 * dlfcn/Makefile: Likewise.
31319 * elf/Makefile: Likewise.
31320 * extra-lib.mk: Likewise.
31321 * iconv/Makefile: Likewise.
31322 * include/libc-symbols.h: Likewise.
31323 * include/shlib-compat.h: Likewise.
31324 * resolv/Makefile: Likewise.
31325 * resolv/res_libc.c: Likewise.
31326 * rt/Makefile: Likewise.
31327 * sysdeps/i386/asm-syntax.h: Likewise.
31328 * sysdeps/i386/sysdep.h: Likewise.
31329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31330 * sysdeps/mach/sysdep.h: Likewise.
31331 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31332 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31333 * sysdeps/s390/asm-syntax.h: Likewise.
31334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31336 * sysdeps/sh/sysdep.h: Likewise.
31337 * sysdeps/unix/sparc/sysdep.h: Likewise.
31338 * sysdeps/wordsize-32/divdi3.c: Likewise.
31339 * sysdeps/x86_64/sysdep.h: Likewise.
31341 * argp/Versions: Remove _argp_unlock_xxx.
31344 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31345 * abilist/libBrokenLocale.abilist: Likewise.
31346 * abilist/libanl.abilist: Likewise.
31347 * abilist/libc.abilist: Likewise.
31348 * abilist/libcrypt.abilist: Likewise.
31349 * abilist/libdl.abilist: Likewise.
31350 * abilist/libm.abilist: Likewise.
31351 * abilist/libnsl.abilist: Likewise.
31352 * abilist/libpthread.abilist: Likewise.
31353 * abilist/libresolv.abilist: Likewise.
31354 * abilist/librt.abilist: Likewise.
31355 * abilist/libthread_db.abilist: Likewise.
31356 * abilist/libutil.abilist: Likewise.
31357 * abilist/libnss_db.abilist: New file.
31359 * scripts/abilist.awk: Add support for indirect functions.
31361 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31363 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31365 * shlib-versions: Remove entries for ports architectures.
31367 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31369 * elf/stackguard-macros.h: Remove support for IA-64.
31370 * elf/tst-auditmod1.c: Likewise.
31371 * sysdeps/generic/ldsodefs.h: Likewise.
31373 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31374 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31378 * configure.in: Remove --enable-omitfp support.
31380 * config.make.in: Likewise.
31381 * Makeconfig: Likewise.
31382 * manual/install.texi: Likewise.
31384 In case anyone cares, the IA-64 architecture could move to ports.
31385 * sysdeps/ia64/*: Removed.
31386 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31387 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31390 * configure.in: Remove entries for unsupported architectures.
31393 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31394 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31396 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31397 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31398 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31399 fall back to using wcrtomb.
31400 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31401 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31403 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31404 * wcsmbs/tst-c16c32-1.c: New file.
31406 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31409 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31411 * elf/tst-unique3.cc: Add explicit declaration of gets.
31412 * elf/tst-unique3lib.cc: Likewise.
31413 * elf/tst-unique3lib2.cc: Likewise.
31414 * elf/tst-unique4.cc: Likewise.
31416 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31418 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31421 * assert/assert.h (static_assert): Don't define for C++.
31422 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31423 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31425 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31427 * iconv/loop.c (single loop): Fix assertion in storing of
31430 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31432 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31434 * posix/getconf.c: Update copyright year.
31435 * nss/getent.c: Likewise.
31436 * nss/makedb.c: Likewise.
31437 * iconv/iconvconfig.c: Likewise.
31438 * iconv/iconv_prog.c: Likewise.
31439 * elf/ldconfig.c: Likewise.
31440 * elf/pldd.c: Likewise.
31441 * elf/sotruss.ksh: Likewise.
31442 * catgets/gencat.c: Likewise.
31443 * csu/version.c: Likewise.
31444 * elf/ldd.bash.in: Likewise.
31445 * elf/sprof.c (print_version): Likewise.
31446 * locale/programs/locale.c: Likewise.
31447 * locale/programs/localedef.c: Likewise.
31448 * login/programs/pt_chown.c: Likewise.
31449 * nscd/nscd.c (print_version): Likewise.
31450 * debug/xtrace.sh: Likewise.
31451 * malloc/memusage.sh: Likewise.
31452 * malloc/mtrace.pl: Likewise.
31453 * debug/catchsegv.sh: Likewise.
31455 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31457 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31460 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31463 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31464 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31466 * iconv/gconv_int.h: Likewise.
31467 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31468 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31469 from libc for GLIBC_2.16.
31470 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31471 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31472 * wcsmbs/uchar.h: Really define mbstate_t.
31473 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31474 * wcsmbs/c16rtomb.c: New file.
31475 * wcsmbs/mbrtoc16.c: New file.
31476 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31477 for C/POSIX locale.
31478 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31479 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31481 * wcsmbs/wchar.h: Add missing __restrict.
31483 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31486 * time/Makefile (routines): Add timespec_get.
31487 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31488 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31489 timespec for ISO C11.
31490 * time/timespec_get.c: New file.
31491 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31492 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31495 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31496 * stdlib/stdlib.h: Declare aligned_alloc.
31497 * Versions.def: Add GLIBC_2.16 for libc.
31498 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31501 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31504 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31508 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31511 * assert/assert.h (static_assert): Define.
31513 * version.h: Update for 2.16 development version.
31516 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31519 * version.h (RELEASE): Bump for 2.15 release.
31520 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31522 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31523 Patch by Marek Polacek <mpolacek@redhat.com>.
31525 * bits/byteswap.h: Protect long long constants with __extension__.
31526 * sysdeps/i386/bits/byteswap.h: Likewise.
31527 * sysdeps/ia64/bits/byteswap.h: Likewise.
31528 * sysdeps/s390/bits/byteswap.h: Likewise.
31529 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31531 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31535 destination buffer.
31536 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31538 2011-12-23 Marek Polacek <polacek@redhat.com>
31540 * elf/dl-addr.c (determine_info): Add inline keyword.
31541 * elf/tst-auditmod4b.c (check_avx): Likewise.
31542 * elf/tst-auditmod6b.c (check_avx): Likewise.
31543 * elf/tst-auditmod6c.c (check_avx): Likewise.
31544 * elf/tst-auditmod7b.c (check_avx): Likewise.
31546 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31548 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31551 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31554 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31555 processing for last bytes.
31557 2011-08-06 Bruno Haible <bruno@clisp.org>
31560 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31561 U+0385, not to U+1FEE.
31564 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31565 entry for U+00A5 U+0301.
31567 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31570 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31571 buffer for the output is too small.
31573 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31577 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31578 SSE flags if possible.
31580 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31584 processing for last bytes.
31586 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31588 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31589 (syscall-list-default-options, syscall-list-default-condition)
31590 (syscall-list-includes): Define.
31591 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31592 list of ABIs and options and #if conditions for each ABI. Do not
31593 handle common syscalls between ABIs specially.
31594 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31596 (syscall-list-variants, syscall-list-32bit-options)
31597 (syscall-list-32bit-condition, syscall-list-64bit-options)
31598 (syscall-list-64bit-condition): Define.
31599 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31600 (syscall-list-variants, syscall-list-32bit-options)
31601 (syscall-list-32bit-condition, syscall-list-64bit-options)
31602 (syscall-list-64bit-condition): Define.
31603 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31605 (syscall-list-variants, syscall-list-32bit-options)
31606 (syscall-list-32bit-condition, syscall-list-64bit-options)
31607 (syscall-list-64bit-condition): Define.
31608 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31610 (syscall-list-variants, syscall-list-32bit-options)
31611 (syscall-list-32bit-condition, syscall-list-64bit-options)
31612 (syscall-list-64bit-condition): Define.
31614 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31616 * locale/iso-639.def: Add brx entry.
31619 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31620 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31622 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31623 __feraiseexcept_renamed.
31625 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31628 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31629 EPOLLET with unsigned values.
31630 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31631 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31633 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31634 to large cancellation.
31635 * math/s_cacoshf.c: Likewise.
31636 * math/s_cacoshl.c: Likewise.
31638 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31642 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31643 * math/s_cacoshf.c: Likewise.
31644 * math/s_cacoshl.c: Likewise.
31646 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31649 * iconv/gconv.h: Define __GCONV_SWAP.
31650 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31651 * iconvdata/utf-16.c: Likewise.
31652 * iconvdata/utf-32.c: Likewise.
31654 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31657 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31658 numerator after shifting it by one limb.
31660 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31662 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31663 under [__USE_EXTERN_INLINES].
31665 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31668 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31670 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31672 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31673 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31675 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31676 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31677 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31678 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31679 for strncasecmp/strncasecmp_l compilation.
31680 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31681 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31683 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31686 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31689 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31692 * time/tzfile.c (__tzfile_read): Check values from file header.
31694 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31696 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31697 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31698 * powerpc/powerpc32/dl-start.S: Likewise.
31699 * powerpc/powerpc32/elf/start.S: Likewise.
31700 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31701 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31702 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31703 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31704 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31705 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31706 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31707 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31708 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31709 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31710 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31711 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31712 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31713 * powerpc/powerpc32/memset.S: Likewise.
31714 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31715 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31716 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31717 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31718 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31719 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31720 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31721 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31722 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31723 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31724 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31725 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31726 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31728 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31730 * math/libm-test.inc: Added more nearbyint tests.
31731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31732 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31736 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31738 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31741 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31743 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31744 Add wcscpy-ssse3 wcscpy-c.
31745 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31746 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31747 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31748 * sysdeps/x86_64/wcschr.S: New file.
31749 * sysdeps/x86_64/wcsrchr.S: New file.
31750 * string/test-strcmp.c: Remove checking of wcscmp function for
31752 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31753 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31754 wcsrchr-sse2 wcsrchr-c.
31755 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31756 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31757 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31758 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31759 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31760 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31761 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31762 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31763 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31764 * wcsmbc/wcschr.c (WCSCHR): New macro.
31766 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31768 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31769 * wcsmbs/test-wcsrchr.c: New file.
31770 * string/test-strrchr.c: Add wcsrchr support.
31772 * wcsmbs/test-wcscpy.c: New file.
31773 * string/test-strcpy.c: Add wcscpy support.
31776 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31778 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31781 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31784 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31786 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31788 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31789 Minor optimizations.
31791 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31792 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31793 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31795 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31797 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31798 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31799 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31800 for gcc to avoid warnings.
31801 * inet/Makefile (tests): Add tst-checks.
31802 * inet/tst-checks.c: New file.
31804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31807 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31810 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31811 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31813 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31815 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31817 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31820 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31822 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31824 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31825 conditional on GCC version.
31826 (__arch_compare_and_exchange_val_8_acq)
31827 (__arch_compare_and_exchange_val_16_acq)
31828 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31829 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31830 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31832 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31834 * sysdeps/sh/backtrace.c: New file.
31836 2011-12-02 Andreas Schwab <schwab@redhat.com>
31838 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31841 2011-12-01 Andreas Schwab <schwab@redhat.com>
31843 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31844 falling back to utime.
31846 2011-11-30 Andreas Schwab <schwab@redhat.com>
31848 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31849 expectations for float.
31851 2011-11-29 Andreas Schwab <schwab@redhat.com>
31853 * locale/weight.h (findidx): Add parameter len.
31854 * locale/weightwc.h (findidx): Likewise.
31855 * posix/fnmatch_loop.c (FCT): Adjust caller.
31856 * posix/regcomp.c (build_equiv_class): Likewise.
31857 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31858 * posix/regexec.c (check_node_accept_bytes): Likewise.
31859 * string/strcoll_l.c (STRCOLL): Likewise.
31860 * string/strxfrm_l.c (STRXFRM): Likewise.
31862 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31864 * Makefile.in: Remove CVSOPT handling.
31865 * configure.in: Remove use of AC_REVISION.
31866 * iconvdata/Makefile (distribute): No need to filter out CVS.
31867 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31870 2011-11-16 Andreas Schwab <schwab@redhat.com>
31872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31873 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31874 [USE_AS_STRNCASECMP_L]: Likewise.
31875 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31876 NO_TLS_DIRECT_SEG_REFS.
31877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31878 Fix argument offsets for non-PIC.
31879 [USE_AS_STRNCASECMP_L]: Likewise.
31880 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31881 NO_TLS_DIRECT_SEG_REFS.
31883 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31885 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31887 * locale/loadlocale.c (_nl_load_locale): Likewise.
31889 2011-11-15 Andreas Schwab <schwab@redhat.com>
31891 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31892 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31894 (SYSCALL_GETTIME): Set errno on error.
31896 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31897 count references to noai6ai_cached.
31899 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31901 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31903 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31904 FD_CLOEXEC for /proc/self/maps.
31906 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31907 FD_CLOEXEC for /proc/meminfo.
31909 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31912 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31913 FD_CLOEXEC for given file.
31915 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31917 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31918 FD_CLOEXEC for /etc/hosts.
31919 (_gethtent): Likewise.
31921 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31923 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31924 cancellation and set FD_CLOEXEC for /etc/netgroup.
31926 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31927 reading /etc/publickey.
31929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31930 allow cancellation when reading /etc/group.
31932 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31934 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31936 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31937 when using data file.
31939 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31941 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31942 (write_nis_obj): Use "c" and "e" in fopen.
31944 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31946 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31948 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31950 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31952 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31955 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31957 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31959 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31961 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31962 file parsing and set FD_CLOEXEC.
31964 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31966 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31968 2011-11-14 Andreas Schwab <schwab@redhat.com>
31970 * malloc/arena.c (arena_get2): Don't call reused_arena when
31971 _int_new_arena failed.
31973 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31975 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31976 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31977 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31978 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31979 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31981 to compile strcasecmp and strncasecmp.
31982 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31983 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31987 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31989 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31990 locale-defines.sym to gen-as-const-headers.
31991 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31992 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31994 to compile strcasecmp and strncasecmp.
31995 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31996 strcasecmp_l and strncasecmp_l.
31997 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31998 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31999 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32000 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32001 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32002 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32003 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32004 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32005 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32006 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32007 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32009 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32011 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32012 result of SYSDEP_GETTIME_CPU to retval.
32013 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32014 parameter list to macro. Remove trailing semicolon. Adjust users.
32016 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32019 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32021 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32023 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32024 from unused variable.
32026 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32028 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32031 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32034 * sunrpc/rpc_prot.c (rejected): Fix case value.
32036 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32037 unsigned long long int to avoid warnings in shift.
32039 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32041 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32044 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32045 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32046 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32048 * nis/nis_table.c (nis_list): Use variable of correct type for
32049 result of __follow_path call.
32051 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32053 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32054 of math functions ceil, trunc, floor, round, and sqrt, when
32055 avaliable on the platform.
32056 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32058 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32059 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32060 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32062 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32064 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32065 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32067 2011-11-11 Roland McGrath <roland@hack.frob.com>
32069 * include/unistd.h: Fix __readlink return type.
32070 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32072 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32074 * stdlib/ucontext.h: Undo last change for makecontext.
32076 2011-11-11 Andreas Schwab <schwab@redhat.com>
32078 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32080 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32081 * setjmp/setjmp.h: Mark functions as non-leaf.
32082 * setjmp/bits/setjmp2.h: Likewise.
32083 * stdlib/ucontext.h: Likewise.
32085 2011-11-10 Andreas Schwab <schwab@redhat.com>
32087 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32088 (reused_arena): Don't check arena limit.
32089 (arena_get2): Atomically check arena limit.
32091 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32093 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32094 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32099 2011-11-07 Andreas Schwab <schwab@redhat.com>
32101 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32102 handler when locking.
32104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32105 Fix size of allocated buffer.
32107 2011-11-04 Andreas Schwab <schwab@redhat.com>
32110 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32111 declarations for long double functions.
32112 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32114 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32116 2011-11-03 Andreas Schwab <schwab@redhat.com>
32118 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32121 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32124 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32126 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32128 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32130 * include/alloca.h (stackinfo_alloca_round): Define.
32131 (extend_alloca): Use it.
32132 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32133 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32136 * scripts/check-local-headers.sh: Ignore libaudit.h.
32138 * nscd/Makefile (extra-objs): Make recursively expanded.
32140 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32145 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32146 * posix/tst-rfc3484-2.c: Likewise.
32147 * posix/tst-rfc3484-3.c: Likewise.
32149 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32151 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32153 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32154 process_vm_writev from libc using GLIBC_2.15 version.
32156 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32158 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32160 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32163 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32166 * nss/getent.c (initgroups_keys): Show error message in case no group
32169 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32170 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32171 __bump_nl_timestamp.
32172 * nscd/connections (nscd_init): When host database is served open
32173 netlink socket and request notification about configuration changes.
32174 (main_loop_poll): Track netlink file descriptor and bump timestamp
32175 in case data becomes available.
32176 (main_loop_epoll): Likewise.
32177 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32178 (database_pers_head): Add extra_data fileds.
32179 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32180 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32181 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32184 in6ai data, call __free_in6ai.
32185 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32186 Add -DHAVE_NETLINK.
32187 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32188 interface information. Reuse previous data if netlink timestamp
32190 (__bump_nl_timestamp): New function.
32191 (__free_in6ai): New function.
32193 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32196 close_not_cancel_no_status here.
32197 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32199 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32202 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32205 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32206 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32207 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32209 2011-07-03 Andreas Jaeger <aj@suse.de>
32212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32213 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32214 * math/libm-test.inc (sin_test): Add test case.
32216 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32219 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32222 * elf/chroot_canon.c (chroot_canon): Cleanups.
32224 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32227 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32228 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32230 * string/test-strchr.c: Make usable for strchrnul testing.
32231 * string/test-strchrnul.c: New file.
32232 * string/Makefile (strop-tests): Add strchrnul.
32234 * po/it.po: Update from translation team.
32235 * po/es.po: Likewise.
32237 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32239 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32240 the three constants needed as parameters. Drop the others.
32241 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32242 __m128i_strloadu_tolower.
32243 Create and initialize variable zero and use it in all the places
32244 where _mm_setzero_si128 was used.
32246 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32247 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32248 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32249 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32251 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32252 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32253 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32254 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32255 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32256 __mpranred, __mptan.
32257 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32258 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32259 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32260 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32261 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32262 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32264 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32265 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32267 2011-10-28 Andreas Schwab <schwab@redhat.com>
32269 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32270 redefine if SHARED.
32271 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32274 wide char related routines to wcsmbs subdir.
32276 2011-10-27 Andreas Schwab <schwab@redhat.com>
32279 * misc/sys/cdefs.h (__THROWNL): Define.
32280 * posix/unistd.h: Use __THREADNL instead of __THREAD
32281 for memory synchronization functions.
32283 2011-10-26 Roland McGrath <roland@hack.frob.com>
32286 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32288 * manual/stdio.texi (Obstack Streams): Node removed.
32290 2011-10-26 Andreas Schwab <schwab@redhat.com>
32292 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32294 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32296 * math/math_private.h (math_force_eval): Allow non-addressable
32298 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32300 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32302 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32303 file is not needed.
32305 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32306 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32308 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32310 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32312 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32314 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32315 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32316 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32317 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32318 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32319 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32320 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32325 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32327 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32334 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32335 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32338 place. Use VEX encoding when compiling for AVX.
32340 2011-10-25 Andreas Schwab <schwab@redhat.com>
32342 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32343 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32345 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32347 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32349 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32350 useless if() expression.
32351 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32361 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32363 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32365 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32367 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32368 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32369 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32371 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32373 2011-10-25 Andreas Schwab <schwab@redhat.com>
32375 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32377 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32379 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32381 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32382 .text section. Avoid duplicate constants.
32383 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32393 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32395 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32400 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32406 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32407 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32408 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32409 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32410 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32411 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32416 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32417 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32418 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32421 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32422 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32425 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32429 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32431 * sysdeps/x86_64/dla.h: Move to ...
32432 * sysdeps/x86_64/fpu/dla.h: ...here.
32433 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32434 situations. Use __builtin_fma only for gcc 4.6 and up.
32436 * config.make.in: Add have-mfma4 entry.
32437 * configure.in: Substitute libc_cv_cc_fma4.
32438 * math/Makefile (dbl-only-routines): Add sincostab.
32439 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32440 Use __sincostab not sincos.
32441 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32448 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32449 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32450 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32451 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32453 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32454 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32456 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32457 define aliases when function name is a macro.
32458 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32459 sysdeps/ieee754/dbl-64/sincos.tbl.
32460 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32461 fma4-enabled routines.
32462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32463 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32467 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32475 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32485 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32487 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32489 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32491 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32493 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32504 2011-10-24 Andreas Schwab <schwab@redhat.com>
32506 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32508 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32510 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32512 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32514 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32516 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32517 Remove unused variable magic_bits.
32518 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32520 * string/strnlen.c: Define and use STRNLEN macro.
32521 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32522 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32523 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32524 * wcsmbs/wcslen.c: Define and use WCSLEN.
32525 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32526 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32527 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32528 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32529 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32530 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32531 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32533 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32536 strnlen-sse2-no-bsf.
32537 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32539 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32540 Add strnlen support.
32541 (USE_AS_STRNLEN): New macro.
32542 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32543 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32544 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32545 * sysdeps/x86_64/wcslen.S: New file.
32547 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32550 XMM-moves are used for copying on small sizes.
32552 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32554 * wcsmbs/Makefile (strop-tests): Add wcschr.
32555 * wcsmbs/test-wcschr.c: New file.
32556 * string/test-strchr.c: Update.
32557 Add wcschr support.
32560 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32562 * wcsmbs/Makefile (strop-tests): Add wcslen.
32563 * wcsmbs/test-wcslen.c: New file.
32564 * string/test-strlen.c: Update.
32565 Add wcslen support.
32568 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32570 * po/it.po: Update from translation team.
32572 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32574 * sysdeps/x86_64/wcscmp.S: Update.
32575 Fix wrong comparison semantics.
32576 wcscmp shall use signed comparison not unsigned.
32577 Don't use substraction to avoid overflow bug.
32578 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32579 * wcsmbc/wcscmp.c: Likewise.
32580 * string/test-strcmp.c: Likewise.
32581 Add new tests to check cases with negative values.
32583 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32585 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32586 * sysdeps/x86_64/dla.h: ...here. New file.
32587 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32597 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32600 __ynl_finite aliases.
32602 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32606 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32608 [DLA_FMA] (EMULV): Use DLA_FMA.
32609 [DLA_FMA] (MUL12): Use EMULV.
32610 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32611 that are not needed.
32612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32620 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32622 * math/s_nan.c: Undef __nan.
32623 * math/s_nanf.c: Undef __nanf.
32624 * math/s_nanl.c: Undef __nanl.
32625 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32628 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32630 * math/s_catan.c: Add branch predictions.
32631 * math/s_catanf.c: Likewise.
32632 * math/s_catanh.c: Likewise.
32633 * math/s_catanhf.c: Likewise.
32634 * math/s_catanhl.c: Likewise.
32635 * math/s_catanl.c: Likewise.
32636 * math/s_cexp.c: Likewise.
32637 * math/s_cexpf.c: Likewise.
32638 * math/s_cexpl.c: Likewise.
32639 * math/s_clog.c: Likewise.
32640 * math/s_clog10.c: Likewise.
32641 * math/s_clog10f.c: Likewise.
32642 * math/s_clog10l.c: Likewise.
32643 * math/s_clogf.c: Likewise.
32644 * math/s_clogl.c: Likewise.
32645 * math/s_csqrt.c: Likewise.
32646 * math/s_csqrtf.c: Likewise.
32647 * math/s_csqrtl.c: Likewise.
32648 * math/s_ctanf.c: Likewise.
32649 * math/s_ctanh.c: Likewise.
32650 * math/s_ctanhf.c: Likewise.
32651 * math/s_ctanhl.c: Likewise.
32652 * math/s_ctanl.c: Likewise.
32654 * math/math_private.h: Define __nan, __nanf, __nanl.
32655 * math/s_cacosh.c: Include <math_private.h>.
32656 * math/s_cacoshl.c: Likewise.
32657 * math/s_casinh.c: Likewise.
32658 * math/s_casinhf.c: Likewise.
32659 * math/s_casinhl.c: Likewise.
32660 * math/s_ccos.c: Rely entire on ccosh.
32661 * math/s_ccosf.c: Rely entire on ccoshf.
32662 * math/s_ccosl.c: Rely entirely on ccoshl.
32663 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32664 Remove tests for FE_INVALID.
32665 * math/s_ccoshf.c: Likewise.
32666 * math/s_ccoshl.c: Likewise.
32667 * math/s_csin.c: Likewise.
32668 * math/s_csinf.c: Likewise.
32669 * math/s_csinh.c Likewise.
32670 * math/s_csinhf.c: Likewise.
32671 * math/s_csinhl.c: Likewise.
32672 * math/s_csinl.c: Likewise.
32673 * math/s_ctan.c: Likewise.
32674 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32675 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32676 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32678 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32681 compilation problems.
32683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32686 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32688 * sysdeps/i386/configure.in: Test for -mfma4 option.
32689 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32690 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32691 COMMON_CPUID_INDEX_80000001.
32692 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32693 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32694 use it if FMA3 is not supported.
32695 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32697 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32698 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32700 2011-10-20 Andreas Schwab <schwab@redhat.com>
32703 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32704 it would create a cycle with a link time dependency.
32706 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32708 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32710 * string/Makefile (strop-tests): Add rawmemchr.
32711 * string/test-rawmemchr.c: New file.
32713 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32715 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32716 when compiling str{,n}casecmp and when AVX is available. Hook up
32717 new optimized code in initializers.
32719 2011-10-19 Andreas Schwab <schwab@redhat.com>
32721 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32722 __feraiseexcept instead of feraiseexcept.
32724 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32726 * math/math_private.h: Define defaults for libc_fetestexcept and
32728 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32729 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32730 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32731 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32732 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32733 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32734 libc_fetestexcept and libc_feupdateenv.
32736 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32737 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32738 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32739 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32740 libc_feholdexcept_setround.
32742 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32743 Add s_nearbyint-c and s_nearbyintf-c.
32744 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32745 nearbyintf inlines.
32746 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32747 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32748 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32751 * math/math_private.h: Define defaults for libc_fegetround,
32752 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32753 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32754 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32756 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32757 standard functions.
32758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32759 Remove comments and hacks for old compiler versions.
32760 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32761 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32762 libc_feholdexceptl.
32764 2011-10-18 Andreas Schwab <schwab@redhat.com>
32766 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32767 (__feraiseexcept_renamed): Add __NTH.
32768 (feraiseexcept): Add __NTH. Rename local variables to fix
32769 namespace violations.
32771 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32773 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32775 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32777 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32778 recently added interfaces.
32779 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32781 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32782 about macro parameter expansion.
32784 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32785 __NO_MATH_INLINES is defined. Cleanups.
32787 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32788 and __floorf is target has SSE4.1.
32789 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32791 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32792 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32794 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32796 (floorf): Likewise.
32798 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32800 2011-10-17 Andreas Schwab <schwab@redhat.com>
32802 * misc/sys/cdefs.h: Fix last change.
32804 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32807 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32809 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32811 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32812 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32816 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32817 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32818 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32819 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32820 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32821 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32822 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32823 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32824 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32825 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32826 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32827 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32828 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32829 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32830 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32831 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32832 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32834 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32835 ceil, ceilf, floor, floorf.
32837 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32838 Perform IRELATIVE relocations last.
32840 * elf/do-rel.h: Add another parameter nrelative, replacing the
32841 local variable with the same name. Change name of the function
32842 to end in Rel or Rela (uppercase).
32843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32844 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32845 elf_dynamic_do_##reloc function.
32847 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32849 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32850 is sufficient, at least on modern CPUs.
32852 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32854 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32855 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32857 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32859 * math/bits/math-finite.h: Add entries for exp.
32860 * math/e_expl.c: Add __*_finite alias.
32861 * sysdeps/i386/fpu/e_exp.S: Likewise.
32862 * sysdeps/i386/fpu/e_expf.S: Likewise.
32863 * sysdeps/i386/fpu/e_expl.c: Likewise.
32864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32865 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32866 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32867 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32868 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32869 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32870 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32872 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32873 is sufficient, at least on modern CPUs.
32875 * ctype/ctype-info.c (__ctype_init): Define.
32876 * include/ctype.h (__ctype_init): Declare.
32877 (__ctype_b_loc): The variable is always initialized.
32878 (__ctype_toupper_loc): Likewise.
32879 (__ctype_tolower_loc): Likewise.
32880 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32881 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32883 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32885 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32887 * configure.in: Also look in $cxxmachine/include for C++ system
32890 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32892 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32893 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32894 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32895 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32896 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32897 (USE_AS_WMEMCMP): New macro.
32899 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32900 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32901 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32902 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32904 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32905 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32906 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32907 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32908 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32909 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32910 (USE_AS_WMEMCMP): New macro.
32911 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32912 * sysdeps/string/test-memcmp.c: Update.
32913 Fix simple_wmemcmp.
32915 * wcsmbs/wmemcmp.c: Update.
32916 (WMEMCMP): New macro.
32919 2011-10-12 Andreas Jaeger <aj@suse.de>
32922 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32924 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32926 * libio/iofwide.c (do_length): Avoid warning.
32928 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32930 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32932 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32934 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32935 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32936 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32937 * sysdeps/i386/i686/fpu/e_log.S: New file.
32938 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32939 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32941 * ctype/ctype.h: Add support for inlined isXXX functions when
32942 compiling C++ code.
32944 2011-10-14 Andreas Schwab <schwab@redhat.com>
32946 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32948 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32950 2011-10-13 Roland McGrath <roland@hack.frob.com>
32953 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32955 2011-10-13 Andreas Schwab <schwab@redhat.com>
32957 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32958 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32961 * sysdeps/x86_64/memrchr.S: Check for zero size.
32963 * string/stratcliff.c: Add memrchr tests.
32965 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32968 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32969 rawmemchr-sse2 rawmemchr-sse2-bsf.
32970 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32971 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32972 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32973 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32974 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32975 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32976 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32977 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32978 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32979 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32980 * string/memrchr.c (MEMRCHR): New macro.
32982 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32984 Add integration with gcc's -ffinite-math-only and optimize wrapper
32986 * Versions.def: Define GLIBC_2.15 version for libm.
32987 * math/Makefile (headers): Add bits/math-finite.h.
32988 * math/bits/math-finite.h: New file.
32989 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32990 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32991 * math/e_acoshl.c: Add __*_finite alias.
32992 * math/e_acosl.c: Likewise.
32993 * math/e_asinl.c: Likewise.
32994 * math/e_atan2l.c: Likewise.
32995 * math/e_atanhl.c: Likewise.
32996 * math/e_coshl.c: Likewise.
32997 * math/e_exp10.c: Likewise.
32998 * math/e_exp10f.c: Likewise.
32999 * math/e_exp10l.c: Likewise.
33000 * math/e_exp2l.c: Likewise.
33001 * math/e_fmodl.c: Likewise.
33002 * math/e_gammal_r.c: Likewise.
33003 * math/e_hypotl.c: Likewise.
33004 * math/e_j0l.c: Likewise.
33005 * math/e_j1l.c: Likewise.
33006 * math/e_jnl.c: Likewise.
33007 * math/e_lgammal_r.c: Likewise.
33008 * math/e_log10l.c: Likewise.
33009 * math/e_log2l.c: Likewise.
33010 * math/e_logl.c: Likewise.
33011 * math/e_powl.c: Likewise.
33012 * math/e_sinhl.c: Likewise.
33013 * math/e_sqrtl.c: Likewise.
33014 * math/e_scalb.c: Completely rewritten and optimized.
33015 * math/e_scalbf.c: Likewise.
33016 * math/e_scalbl.c: Likewise.
33017 * math/w_acos.c: Likewise.
33018 * math/w_acosf.c: Likewise.
33019 * math/w_acosl.c: Likewise.
33020 * math/w_acosh.c: Likewise.
33021 * math/w_acoshf.c: Likewise.
33022 * math/w_acoshl.c: Likewise.
33023 * math/w_asin.c: Likewise.
33024 * math/w_asinf.c: Likewise.
33025 * math/w_asinl.c: Likewise.
33026 * math/w_atan2.c: Likewise.
33027 * math/w_atan2f.c: Likewise.
33028 * math/w_atan2l.c: Likewise.
33029 * math/w_atanh.c: Likewise.
33030 * math/w_atanhf.c: Likewise.
33031 * math/w_atanhl.c: Likewise.
33032 * math/w_exp10.c: Likewise.
33033 * math/w_exp10f.c: Likewise.
33034 * math/w_exp10l.c: Likewise.
33035 * math/w_fmod.c: Likewise.
33036 * math/w_fmodf.c: Likewise.
33037 * math/w_fmodl.c: Likewise.
33038 * math/w_j0.c: Likewise.
33039 * math/w_j0f.c: Likewise.
33040 * math/w_j0l.c: Likewise.
33041 * math/w_j1.c: Likewise.
33042 * math/w_j1f.c: Likewise.
33043 * math/w_j1l.c: Likewise.
33044 * math/w_jn.c: Likewise.
33045 * math/w_jnf.c: Likewise.
33046 * math/w_log.c: Likewise.
33047 * math/w_logf.c: Likewise.
33048 * math/w_logl.c: Likewise.
33049 * math/w_log10.c: Likewise.
33050 * math/w_log10f.c: Likewise.
33051 * math/w_log10l.c: Likewise.
33052 * math/w_log2.c: Likewise.
33053 * math/w_log2f.c: Likewise.
33054 * math/w_log2l.c: Likewise.
33055 * math/w_pow.c: Likewise.
33056 * math/w_powf.c: Likewise.
33057 * math/w_powl.c: Likewise.
33058 * math/w_remainder.c: Likewise.
33059 * math/w_remainderf.c: Likewise.
33060 * math/w_remainderl.c: Likewise.
33061 * math/w_scalb.c: Likewise.
33062 * math/w_scalbf.c: Likewise.
33063 * math/w_scalbl.c: Likewise.
33064 * math/w_sqrt.c: Likewise.
33065 * math/w_sqrtf.c: Likewise.
33066 * math/w_sqrtl.c: Likewise.
33067 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33068 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33070 * math/math_private.h: Declare __kernel_standard_f.
33071 * math/w_cosh.c: Remove cruft and optimize a bit.
33072 * math/w_coshf.c: Likewise.
33073 * math/w_coshl.c: Likewise.
33074 * math/w_exp2.c: Likewise.
33075 * math/w_exp2f.c: Likewise.
33076 * math/w_exp2l.c: Likewise.
33077 * math/w_hypot.c: Likewise.
33078 * math/w_hypotf.c: Likewise.
33079 * math/w_hypotl.c: Likewise.
33080 * math/w_lgamma.c: Likewise.
33081 * math/w_lgamma_r.c: Likewise.
33082 * math/w_lgammaf.c: Likewise.
33083 * math/w_lgammaf_r.c: Likewise.
33084 * math/w_lgammal.c: Likewise.
33085 * math/w_lgammal_r.c: Likewise.
33086 * math/w_sinh.c: Likewise.
33087 * math/w_sinhf.c: Likewise.
33088 * math/w_sinhl.c: Likewise.
33089 * math/w_tgamma.c: Likewise.
33090 * math/w_tgammaf.c: Likewise.
33091 * math/w_tgammal.c: Likewise.
33092 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33093 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33094 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33095 Minor optimizations. Pretty printing. Remove cruft.
33096 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33097 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33098 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33099 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33100 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33101 * sysdeps/i386/fpu/e_asin.S: Likewise.
33102 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33103 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33104 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33105 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33106 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33107 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33108 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33109 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33110 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33111 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33112 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33113 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33114 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33115 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33116 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33117 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33118 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33119 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33120 * sysdeps/i386/fpu/e_log.S: Likewise.
33121 * sysdeps/i386/fpu/e_log10.S: Likewise.
33122 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33123 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33124 * sysdeps/i386/fpu/e_log2.S: Likewise.
33125 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33126 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33127 * sysdeps/i386/fpu/e_logf.S: Likewise.
33128 * sysdeps/i386/fpu/e_logl.S: Likewise.
33129 * sysdeps/i386/fpu/e_pow.S: Likewise.
33130 * sysdeps/i386/fpu/e_powf.S: Likewise.
33131 * sysdeps/i386/fpu/e_powl.S: Likewise.
33132 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33133 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33134 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33135 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33136 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33137 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33138 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33139 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33140 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33162 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33163 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33165 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33166 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33167 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33168 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33170 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33172 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33173 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33174 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33175 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33176 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33177 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33179 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33180 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33181 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33232 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33233 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33234 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33235 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33236 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33237 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33238 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33239 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33240 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33241 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33242 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33243 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33244 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33245 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33247 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33248 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33249 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33251 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33252 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33253 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33254 (__isnanf): Likewise.
33255 (__isinf_ns): Likewise.
33256 (__isinf_nsf): Likewise.
33257 (__finite): Likewise.
33258 (__finitef): Likewise.
33259 (__ieee754_sqrt): Define as macro.
33260 (__ieee754_sqrtf): Define as macro.
33261 (__ieee754_sqrtl): Define as macro.
33262 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33264 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33265 __FINITE_MATH_ONLY__ consistent.
33266 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33268 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33270 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33275 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33277 * po/ja.po: Update from translation team.
33279 2011-10-08 Roland McGrath <roland@hack.frob.com>
33281 * locale/programs/locarchive.c (prepare_address_space): New function.
33282 (create_archive, enlarge_archive, open_archive): Use it.
33284 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33285 inside [SHARED], where it is used.
33287 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33289 * nss/getent.c (netgroup_keys): Remove unused variable.
33290 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33292 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33294 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33295 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33297 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33298 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33299 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33300 * math/Makefile (libm-calls): Add s_isinf_ns.
33301 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33302 * math/multc3.c: Likewise.
33303 * math/s_casin.c: Likewise.
33304 * math/s_casinf.c: Likewise.
33305 * math/s_casinl.c: Likewise.
33306 * math/s_ccos.c: Likewise.
33307 * math/s_ccosf.c: Likewise.
33308 * math/s_ccosl.c: Likewise.
33309 * math/s_ctan.c: Likewise.
33310 * math/s_ctanf.c: Likewise.
33311 * math/s_ctanh.c: Likewise.
33312 * math/s_ctanhf.c: Likewise.
33313 * math/s_ctanhl.c: Likewise.
33314 * math/s_ctanl.c: Likewise.
33315 * math/w_fmod.c: Likewise.
33316 * math/w_fmodf.c: Likewise.
33317 * math/w_fmodl.c: Likewise.
33318 * math/w_remainder.c: Likewise.
33319 * math/w_remainderf.c: Likewise.
33320 * math/w_remainderl.c: Likewise.
33321 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33322 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33323 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33325 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33326 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33327 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33328 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33330 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33332 * stdio-common/printf_fphex.c: Likewise.
33333 * stdio-common/printf_size.c: Likewise.
33335 * math/e_exp10.c: Include math_private.h using <...> not "...".
33336 * math/e_exp10f.c: Likewise.
33337 * math/e_exp10l.c: Likewise.
33338 * math/e_exp2l.c: Likewise.
33339 * math/e_j0l.c: Likewise.
33340 * math/e_j1l.c: Likewise.
33341 * math/e_jnl.c: Likewise.
33342 * math/e_lgammal_r.c: Likewise.
33343 * math/e_rem_pio2l.c: Likewise.
33344 * math/e_scalb.c: Likewise.
33345 * math/e_scalbf.c: Likewise.
33346 * math/e_scalbl.c: Likewise.
33347 * math/k_cosl.c: Likewise.
33348 * math/k_sinl.c: Likewise.
33349 * math/k_tanl.c: Likewise.
33350 * math/s_cacoshf.c: Likewise.
33351 * math/s_catan.c: Likewise.
33352 * math/s_catanf.c: Likewise.
33353 * math/s_catanh.c: Likewise.
33354 * math/s_catanhf.c: Likewise.
33355 * math/s_catanhl.c: Likewise.
33356 * math/s_catanl.c: Likewise.
33357 * math/s_ccosh.c: Likewise.
33358 * math/s_ccoshf.c: Likewise.
33359 * math/s_ccoshl.c: Likewise.
33360 * math/s_cexp.c: Likewise.
33361 * math/s_cexpf.c: Likewise.
33362 * math/s_cexpl.c: Likewise.
33363 * math/s_clog.c: Likewise.
33364 * math/s_clog10.c: Likewise.
33365 * math/s_clog10f.c: Likewise.
33366 * math/s_clog10l.c: Likewise.
33367 * math/s_clogf.c: Likewise.
33368 * math/s_clogl.c: Likewise.
33369 * math/s_csin.c: Likewise.
33370 * math/s_csinf.c: Likewise.
33371 * math/s_csinh.c: Likewise.
33372 * math/s_csinhf.c: Likewise.
33373 * math/s_csinhl.c: Likewise.
33374 * math/s_csinl.c: Likewise.
33375 * math/s_csqrt.c: Likewise.
33376 * math/s_csqrtf.c: Likewise.
33377 * math/s_csqrtl.c: Likewise.
33378 * math/s_ctan.c: Likewise.
33379 * math/s_ctanf.c: Likewise.
33380 * math/s_ctanh.c: Likewise.
33381 * math/s_ctanhf.c: Likewise.
33382 * math/s_ctanhl.c: Likewise.
33383 * math/s_ctanl.c: Likewise.
33384 * math/s_ldexp.c: Likewise.
33385 * math/s_ldexpf.c: Likewise.
33386 * math/s_ldexpl.c: Likewise.
33387 * math/s_significand.c: Likewise.
33388 * math/s_significandf.c: Likewise.
33389 * math/s_significandl.c: Likewise.
33390 * math/w_acos.c: Likewise.
33391 * math/w_acosf.c: Likewise.
33392 * math/w_acosh.c: Likewise.
33393 * math/w_acoshf.c: Likewise.
33394 * math/w_acoshl.c: Likewise.
33395 * math/w_acosl.c: Likewise.
33396 * math/w_asin.c: Likewise.
33397 * math/w_asinf.c: Likewise.
33398 * math/w_asinl.c: Likewise.
33399 * math/w_atan2.c: Likewise.
33400 * math/w_atan2f.c: Likewise.
33401 * math/w_atan2l.c: Likewise.
33402 * math/w_atanh.c: Likewise.
33403 * math/w_atanhf.c: Likewise.
33404 * math/w_atanhl.c: Likewise.
33405 * math/w_cosh.c: Likewise.
33406 * math/w_coshf.c: Likewise.
33407 * math/w_coshl.c: Likewise.
33408 * math/w_dremf.c: Likewise.
33409 * math/w_exp10.c: Likewise.
33410 * math/w_exp10f.c: Likewise.
33411 * math/w_exp10l.c: Likewise.
33412 * math/w_exp2.c: Likewise.
33413 * math/w_exp2f.c: Likewise.
33414 * math/w_fmod.c: Likewise.
33415 * math/w_fmodf.c: Likewise.
33416 * math/w_fmodl.c: Likewise.
33417 * math/w_hypot.c: Likewise.
33418 * math/w_hypotf.c: Likewise.
33419 * math/w_hypotl.c: Likewise.
33420 * math/w_j0.c: Likewise.
33421 * math/w_j0f.c: Likewise.
33422 * math/w_j0l.c: Likewise.
33423 * math/w_j1.c: Likewise.
33424 * math/w_j1f.c: Likewise.
33425 * math/w_j1l.c: Likewise.
33426 * math/w_jn.c: Likewise.
33427 * math/w_jnf.c: Likewise.
33428 * math/w_jnl.c: Likewise.
33429 * math/w_lgamma.c: Likewise.
33430 * math/w_lgamma_r.c: Likewise.
33431 * math/w_lgammaf.c: Likewise.
33432 * math/w_lgammaf_r.c: Likewise.
33433 * math/w_lgammal.c: Likewise.
33434 * math/w_lgammal_r.c: Likewise.
33435 * math/w_log.c: Likewise.
33436 * math/w_log10.c: Likewise.
33437 * math/w_log10f.c: Likewise.
33438 * math/w_log10l.c: Likewise.
33439 * math/w_log2.c: Likewise.
33440 * math/w_log2f.c: Likewise.
33441 * math/w_log2l.c: Likewise.
33442 * math/w_logf.c: Likewise.
33443 * math/w_logl.c: Likewise.
33444 * math/w_pow.c: Likewise.
33445 * math/w_powf.c: Likewise.
33446 * math/w_powl.c: Likewise.
33447 * math/w_remainder.c: Likewise.
33448 * math/w_remainderf.c: Likewise.
33449 * math/w_remainderl.c: Likewise.
33450 * math/w_scalb.c: Likewise.
33451 * math/w_scalbf.c: Likewise.
33452 * math/w_scalbl.c: Likewise.
33453 * math/w_sinh.c: Likewise.
33454 * math/w_sinhf.c: Likewise.
33455 * math/w_sinhl.c: Likewise.
33456 * math/w_sqrt.c: Likewise.
33457 * math/w_sqrtf.c: Likewise.
33458 * math/w_sqrtl.c: Likewise.
33459 * math/w_tgamma.c: Likewise.
33460 * math/w_tgammaf.c: Likewise.
33461 * math/w_tgammal.c: Likewise.
33463 * po/ja.po: Update from translation team.
33465 2011-09-29 Andreas Jaeger <aj@suse.de>
33468 * sunrpc/netname.c (netname2host): Fix logic.
33472 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33474 * math/w_remainder.c (__remainder): Likewise.
33475 * math/w_remainderf.c (__remainderf): Likewise.
33476 * math/libm-test.inc (remainder_test): Add test cases.
33478 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33480 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33483 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33485 * string/test-memcmp.c: Avoid unncessary #defines.
33486 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33488 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33490 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33491 Use new sse2 version for core i3 - i7 as it's faster
33492 than sse42 version.
33493 (bit_Prefer_PMINUB_for_stringop): New.
33494 * sysdeps/x86_64/rawmemchr.S: Update.
33495 Replace with faster SSE2 version.
33496 * sysdeps/x86_64/memrchr.S: New file.
33497 * sysdeps/x86_64/memchr.S: Update.
33498 Replace with faster SSE2 version.
33500 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33502 * elf/dl-load.c (lose): Add cast to avoid warning.
33504 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33506 * po/ca.po: Update from translation team.
33508 * inet/getnetgrent_r.c: Hook up nscd.
33509 * nscd/Makefile (routines): Add nscd_netgroup.
33510 (nscd-modules): Add netgroupcache.
33511 (CFLAGS-netgroupcache.c): Define.
33512 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33513 (cache_search): Add const to second parameter.
33514 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33516 (dbs): Add netgrdb entry.
33517 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33518 (verify_persistent_db): Handle netgrdb.
33519 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33520 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33522 (netgroup_response_header): Define.
33523 (innetgroup_response_header): Define.
33524 (datahead): Add netgroup_response_header and innetgroup_response_header
33526 * nscd/nscd.conf: Add entries for netgroup cache.
33527 * nscd/nscd.h (dbtype): Add netgrdb.
33528 (_PATH_NSCD_NETGROUP_DB): Define.
33529 (netgroup_iov_disabled): Declare.
33530 (xmalloc, xcalloc, xrealloc): Move declarations here.
33531 (cache_search): Adjust prototype.
33532 Add netgroup-related prototypes.
33533 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33534 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33535 (__nscd_innetgr): Declare.
33536 * nscd/selinux.c (perms): Use access_vector_t as element type and
33537 add netgroup-related initializers.
33538 * nscd/netgroupcache.c: New file.
33539 * nscd/nscd_netgroup.c: New file.
33540 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33541 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33542 For four parameters use innetgr.
33543 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33544 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33545 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33546 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33548 * nscd/connections.c (register_traced_file): Don't register file
33549 for disabled databases.
33551 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33553 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33555 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33556 from tree and freeing node.
33558 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33560 * nss/nsswitch.c (__nss_database_lookup): Handle
33561 nss_parse_service_list out of memory case.
33563 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33565 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33566 out of memory case.
33568 2011-10-04 Andreas Schwab <schwab@redhat.com>
33570 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33571 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33573 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33574 elf_machine_rela, elf_machine_lazy_rel.
33575 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33576 (ELF_DYNAMIC_DO_REL): Likewise.
33577 (ELF_DYNAMIC_DO_RELA): Likewise.
33578 (ELF_DYNAMIC_RELOCATE): Likewise.
33579 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33580 to ELF_DYNAMIC_DO_REL.
33581 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33582 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33583 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33585 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33586 skip_ifunc, don't call ifunc function if non-zero.
33587 (elf_machine_rela): Likewise.
33588 (elf_machine_lazy_rel): Likewise.
33589 (elf_machine_lazy_rela): Likewise.
33590 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33591 (elf_machine_lazy_rel): Likewise.
33592 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33594 (elf_machine_lazy_rel): Likewise.
33595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33597 (elf_machine_lazy_rel): Likewise.
33598 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33599 (elf_machine_lazy_rel): Likewise.
33600 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33601 (elf_machine_lazy_rel): Likewise.
33602 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33603 (elf_machine_lazy_rel): Likewise.
33604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33605 (elf_machine_lazy_rel): Likewise.
33606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33607 (elf_machine_lazy_rel): Likewise.
33608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33609 (elf_machine_lazy_rel): Likewise.
33611 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33613 * nss/nss_files/files-init.c (_nss_files_init): Use static
33614 initialization for all the *_traced_file variables.
33616 2011-09-28 Andreas Schwab <schwab@redhat.com>
33618 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33620 2011-09-27 Roland McGrath <roland@hack.frob.com>
33623 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33625 2011-09-27 Andreas Schwab <schwab@redhat.com>
33627 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33628 Reread the line before reparsing it.
33630 2011-09-26 Andreas Schwab <schwab@redhat.com>
33632 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33634 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33635 Maxim Kuvyrkov <maxim@codesourcery.com>
33636 Joseph Myers <joseph@codesourcery.com>
33638 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33639 if needed for __stack_chk_guard.
33641 2011-09-19 Roland McGrath <roland@hack.frob.com>
33643 * sysdeps/posix/spawni.c (script_execute): Always define it.
33644 It will be optimized away if unused.
33645 (maybe_script_execute): New function.
33646 (__spawni): Call it.
33648 * Makerules: Don't include tls.make.
33649 (config-tls): Always set to thread.
33650 * tls.make.c: File removed.
33652 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33654 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33655 * config.make.in (CPPFLAGS-config): New substituted variable.
33657 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33662 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33663 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33665 2011-09-15 Roland McGrath <roland@hack.frob.com>
33667 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33668 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33670 (CALL_FAIL): Likewise.
33671 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33672 (CALL_FAIL): Macro removed.
33673 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33675 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33677 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33678 for __FINITE_MATH_ONLY__ == 1.
33680 2011-09-15 Andreas Schwab <schwab@redhat.com>
33682 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33683 __ieee754_sqrt instead of sqrt.
33684 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33685 __ieee754_sqrtf instead of sqrtf.
33686 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33687 __floorf instead of floorf.
33688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33689 __floorf, __truncf instead of floorf, truncf.
33691 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33693 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33695 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33696 __extern_always_inline.
33697 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33700 2011-09-14 Andreas Schwab <schwab@redhat.com>
33702 * elf/rtld.c (dl_main): Also relocate in dependency order when
33703 doing symbol dependency testing.
33705 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33708 Always define `refsym'.
33710 2011-09-13 Andreas Schwab <schwab@redhat.com>
33712 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33713 (__FD_ELT): Renamed from __FDELT.
33714 * misc/bits/select2.h (__FD_ELT): Likewise.
33715 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33716 __FD_MASK instead of __FDELT, __FDMASK.
33717 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33719 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33722 * elf/Makefile (gen-ldd): Fix pattern.
33724 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33725 (init_tls): Likewise.
33727 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33731 2011-09-12 Andreas Schwab <schwab@redhat.com>
33733 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33734 `struct cmsghdr *' instead of `void *'.
33735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33738 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33740 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33742 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33743 ldd_rewrite_script.
33745 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33747 * configure.in: Remove --with-tls option.
33748 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33749 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33750 out in case it is missing.
33751 * sysdeps/ia64/elf/configure.in: Likewise.
33752 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33753 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33754 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33755 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33756 * sysdeps/sh/elf/configure.in: Likewise.
33757 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33758 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33759 * sysdeps/x86_64/elf/configure.in: Likewise.
33760 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33761 * sysdeps/mach/hurd/tls.h: Likewise.
33764 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33767 * configure.in: Fix use of AC_INIT.
33769 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33771 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33773 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33775 * malloc/hooks.c: Likewise.
33778 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33779 variables statically.
33780 (narenas): Initialize.
33781 (list_lock): Initialize.
33782 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33783 initializtion of main_arena and list_lock. Small cleanups.
33784 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33785 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33786 Add initializers to main_arena and mp_.
33787 (malloc_state): Remove pagesize member. Change all users to use
33790 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33791 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33792 is always initialized.
33794 * malloc/malloc.c: Removed unused configurations and dead code.
33795 * malloc/arena.c: Likewise.
33796 * malloc/hooks.c: Likewise.
33797 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33799 * include/tls.h: Removed. USE___THREAD must always be defined.
33800 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33801 * elf/dl-libc.c: Likewise.
33802 * elf/dl-tsd.c: Likewise.
33803 * include/errno.h: Likewise.
33804 * include/netdb.h: Likewise.
33805 * include/resolv.h: Likewise.
33806 * inet/herrno-loc.c: Likewise.
33807 * inet/herrno.c: Likewise.
33808 * malloc/arena.c: Likewise.
33809 * malloc/hooks.c: Likewise.
33810 * malloc/malloc.c: Likewise.
33811 * resolv/res-state.c: Likewise.
33812 * resolv/res_libc.c: Likewise.
33813 * sysdeps/i386/dl-machine.h: Likewise.
33814 * sysdeps/ia64/dl-machine.h: Likewise.
33815 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33816 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33817 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33818 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33819 * sysdeps/sh/dl-machine.h: Likewise.
33820 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33821 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33822 * sysdeps/unix/i386/sysdep.S: Likewise.
33823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33824 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33829 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33833 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33834 * sysdeps/x86_64/dl-machine.h: Likewise.
33835 * tls.make.c: Likewise.
33837 * configure.in: Remove --with-__thread option. Make tests for
33838 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33839 tls_model attribute fail if no support is available. Remove
33841 * Makeconfig: Adjust for dropped configure option. All features are
33843 * Makerules: Likewise.
33844 * Versions.def: Likewise.
33845 * argp/argp-fmtstream.c: Likewise.
33846 * argp/argp-fmtstream.h: Likewise.
33847 * argp/argp-help.c: Likewise.
33848 * assert/assert.c: Likewise.
33849 * config.h.in: Likewise.
33850 * config.make.in: Likewise.
33851 * configure: Likewise.
33852 * configure.in: Likewise.
33853 * csu/Versions: Likewise.
33854 * csu/init.c: Likewise.
33855 * elf/tst-audit2.c: Likewise.
33856 * elf/tst-tls10.c: Likewise.
33857 * elf/tst-tls10.h: Likewise.
33858 * elf/tst-tls11.c: Likewise.
33859 * elf/tst-tls12.c: Likewise.
33860 * elf/tst-tls14.c: Likewise.
33861 * elf/tst-tlsmod11.c: Likewise.
33862 * elf/tst-tlsmod12.c: Likewise.
33863 * elf/tst-tlsmod13.c: Likewise.
33864 * elf/tst-tlsmod13a.c: Likewise.
33865 * elf/tst-tlsmod14a.c: Likewise.
33866 * elf/tst-tlsmod15b.c: Likewise.
33867 * elf/tst-tlsmod16a.c: Likewise.
33868 * elf/tst-tlsmod16b.c: Likewise.
33869 * elf/tst-tlsmod7.c: Likewise.
33870 * elf/tst-tlsmod8.c: Likewise.
33871 * elf/tst-tlsmod9.c: Likewise.
33872 * gmon/gmon.c: Likewise.
33873 * grp/fgetgrent_r.c: Likewise.
33874 * grp/putgrent.c: Likewise.
33875 * hurd/fopenport.c: Likewise.
33876 * include/libc-symbols.h: Likewise.
33877 * include/tls.h: Likewise.
33878 * intl/gettextP.h: Likewise.
33879 * intl/loadinfo.h: Likewise.
33880 * locale/global-locale.c: Likewise.
33881 * locale/localeinfo.h: Likewise.
33882 * mach/devstream.c: Likewise.
33883 * malloc/arena.c: Likewise.
33884 * malloc/set-freeres.c: Likewise.
33885 * misc/err.c: Likewise.
33886 * misc/getttyent.c: Likewise.
33887 * misc/mntent_r.c: Likewise.
33888 * posix/getopt.c: Likewise.
33889 * posix/wordexp.c: Likewise.
33890 * pwd/fgetpwent_r.c: Likewise.
33891 * resolv/Versions: Likewise.
33892 * resolv/res_hconf.c: Likewise.
33893 * shadow/fgetspent_r.c: Likewise.
33894 * shadow/putspent.c: Likewise.
33895 * stdio-common/printf_fphex.c: Likewise.
33896 * stdio-common/tmpfile.c: Likewise.
33897 * stdlib/abort.c: Likewise.
33898 * stdlib/fmtmsg.c: Likewise.
33899 * sunrpc/auth_unix.c: Likewise.
33900 * sunrpc/clnt_perr.c: Likewise.
33901 * sunrpc/clnt_tcp.c: Likewise.
33902 * sunrpc/clnt_udp.c: Likewise.
33903 * sunrpc/clnt_unix.c: Likewise.
33904 * sunrpc/openchild.c: Likewise.
33905 * sunrpc/svc_simple.c: Likewise.
33906 * sunrpc/svc_tcp.c: Likewise.
33907 * sunrpc/svc_udp.c: Likewise.
33908 * sunrpc/svc_unix.c: Likewise.
33909 * sunrpc/xdr.c: Likewise.
33910 * sunrpc/xdr_array.c: Likewise.
33911 * sunrpc/xdr_rec.c: Likewise.
33912 * sunrpc/xdr_ref.c: Likewise.
33913 * sunrpc/xdr_stdio.c: Likewise.
33915 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33917 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33919 2011-07-03 Andreas Jaeger <aj@suse.de>
33921 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33922 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33923 regenerate with gen-libm-tests.pl.
33925 2010-05-12 Petr Baudis <pasky@suse.cz>
33928 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33929 around j0() zero points by switching to j1().
33930 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33935 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33937 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33939 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33942 Patch in part by Pavel Roskin <proski@gnu.org>.
33945 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33947 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33948 Free memory block if necessary.
33951 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33952 be NULL. Don't lock in this case.
33954 2011-09-09 Roland McGrath <roland@hack.frob.com>
33956 * elf/elf.h (ELFOSABI_GNU): New macro.
33957 (ELFOSABI_LINUX): Define to that.
33959 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33961 * string/strncat.c (strncat): Undef the symbol in case it has been
33962 defined in bits/string.h.
33964 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33966 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33968 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33971 2011-08-17 Andreas Jaeger <aj@suse.de>
33973 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33975 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33976 Ian Lance Taylor <iant@google.com>
33978 * math/libm-test.inc (lround_test): New testcase.
33979 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33981 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33983 * Makefile: Remove support for automatic cvs check-ins.
33984 * Makerules: Likewise.
33985 * config.make.in: Likewise.
33986 * configure.in: Likewise.
33987 * intl/Makefile: Likewise.
33988 * locale/Makefile: Likewise.
33989 * po/Makefile: Likewise.
33990 * posix/Makefile: Likewise.
33991 * sysdeps/gnu/Makefile: Likewise.
33992 * sysdeps/mach/hurd/Makefile: Likewise.
33993 * sysdeps/sparc/sparc32/Makefile: Likewise.
33996 * posix/Makefile (bug-regex32-ENV): Define.
33997 Patch by John Stanley <jpsinthemix@verizon.net>.
33999 * misc/Makefile (headers): Add bits/select2.h.
34000 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34001 * misc/bits/select2.h: New file.
34002 * include/bits/select2.h: New file.
34003 * debug/Makefile (routines): Add fdelt_chk.
34004 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34005 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34007 * debug/fdelt_chk.c: New file.
34009 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34010 * wcsmbs/test-wmemcmp.c: Likewise.
34011 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34012 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34014 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34016 * string/Makefile (strop-tests): Add memcmp.
34017 * string/test-wmemcmp.c: New file.
34018 * string/test-memcmp.c: Add wmemcmp support.
34020 2011-09-08 Roland McGrath <roland@hack.frob.com>
34023 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34026 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34027 garbage value in a __mach_port_mod_refs call in the cases of the
34028 task-self and thread-self ports.
34030 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34032 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34034 2011-09-08 Andreas Schwab <schwab@redhat.com>
34036 * elf/dl-load.c (lose): Check for non-null L.
34038 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34040 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34042 * elf/dl-libc.c (dlerror_run): Pass back error code from
34046 * elf/dl-load.c (lose): Free l_origin if it is valid.
34048 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34050 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34051 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34053 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34054 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34055 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34057 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34059 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34060 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34061 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34062 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34063 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34064 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34065 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34066 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34067 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34068 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34070 2011-08-15 Alan Modra <amodra@gmail.com>
34073 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34074 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34075 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34076 ppc_mcount to static-only-routines.
34077 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34079 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34080 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34082 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34084 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34085 for finite and infinity parameters.
34087 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34090 and add nop instructions for throughput optimization.
34091 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34093 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34095 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34096 aligned copy for power7 with vector-scalar instructions.
34097 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34099 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34104 2011-09-07 Andreas Schwab <schwab@redhat.com>
34107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34110 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34112 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34113 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34114 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34115 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34118 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34121 Forgot to demangle the pointer.
34123 * sysdeps/i386/sysdep.h: Define atom_text_section.
34124 * sysdeps/x86_64/sysdep.h: Likewise.
34125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34126 section with atom_text_section.
34127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34128 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34129 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34133 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34134 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34135 already be defined. Change to take two parameters and don't assign
34136 result to variable. Adjust all users.
34137 Define INTERNAL_GETTIME if not already defined.
34138 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34141 HAVE_CLOCK_GETTIME_VSYSCALL.
34142 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34145 gettimeofday vsyscall, just use time.
34147 2011-09-06 Andreas Schwab <schwab@redhat.com>
34149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34152 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34154 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34158 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34160 syscall if possible.
34162 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34164 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34165 e_ident. Don't pass to find_mapsXX.
34166 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34168 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34171 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34172 * sysdeps/x86_64/multiarch/strchr.S: Update.
34173 Check bit_slow_BSF bit.
34174 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34175 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34176 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34181 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34183 (tryshell): Define.
34184 (__spawni): Change last parameter to be flag. Test
34185 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34186 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34187 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34188 * posix/spawni.c: Likewise.
34189 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34190 * posix/spawnp.c: Likewise. Change normal version to use
34191 SPAWN_XFLAGS_USE_PATH.
34192 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34193 SPAWN_XFLAGS_TRY_SHELL.
34196 * posix/glob.h: Remove gcc 1.x support.
34199 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34201 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34204 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34206 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34207 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34208 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34210 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34211 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34213 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34215 * sysdeps/x86_64/wcscmp.S: New file.
34217 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34218 wcscmp-c wcscmp-sse2
34219 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34220 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34221 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34222 * wcsmbs/wcscmp.c: Allow renaming.
34224 2011-09-05 David S. Miller <davem@davemloft.net>
34226 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34227 stack slot, rather than the struct return pointer slot.
34228 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34229 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34231 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34233 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34235 * po/ja.po: Update from translation team.
34238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34239 kernel in 64-bit binaries.
34241 2011-09-01 David S. Miller <davem@davemloft.net>
34243 * elf/elf.h (HWCAP_SPARC_*): Move to..
34244 * sysdeps/sparc/sysdep.h: this new file and add new values.
34245 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34246 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34247 _DL_HWCAP_COUNT to 24.
34248 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34250 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34251 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34252 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34254 instead of magic constants.
34255 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34257 2011-08-31 David S. Miller <davem@davemloft.net>
34259 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34261 Reimplement to do errno handling inline.
34262 (SYSCALL_ERROR_HANDLER): New macro.
34263 (__SYSCALL_STRING): Do not do errno handling in asm.
34264 (__CLONE_SYSCALL_STRING): Delete.
34265 (__INTERNAL_SYSCALL_STRING): Delete.
34266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34267 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34268 (PSEUDO): Reimplement to do errno handling inline.
34269 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34270 (SYSCALL_ERROR_HANDLER): New macro.
34271 (__SYSCALL_STRING): Do not do errno handling in asm.
34272 (__CLONE_SYSCALL_STRING): Delete.
34273 (__INTERNAL_SYSCALL_STRING): Delete.
34274 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34275 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34277 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34278 (inline_syscall*): Add 'err' argument.
34279 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34280 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34281 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34282 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34284 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34285 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34287 2011-08-30 Andreas Schwab <schwab@redhat.com>
34289 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34291 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34293 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34296 2011-08-24 David S. Miller <davem@davemloft.net>
34298 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34300 2011-08-24 Andreas Schwab <schwab@redhat.com>
34302 * elf/Makefile: Add rules to build and run unload8 test.
34303 * elf/unload8.c: New file.
34304 * elf/unload8mod1.c: New file.
34305 * elf/unload8mod1x.c: New file.
34306 * elf/unload8mod2.c: New file.
34307 * elf/unload8mod3.c: New file.
34309 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34312 2011-08-23 David S. Miller <davem@davemloft.net>
34314 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34315 subtract stack bias.
34316 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34317 %sp not %fp in calculations.
34318 (_JMPBUF_UNWINDS_ADJ): Likewise.
34320 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34321 (aio_suspend): Call it to force an exception region around the
34322 AIO_MISC_WAIT() invocation.
34324 2011-08-23 Andreas Schwab <schwab@redhat.com>
34326 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34329 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34331 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34333 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34334 and <dl-machine.h>.
34335 (Elf64_FuncDesc): Remove.
34337 2011-08-22 David S. Miller <davem@davemloft.net>
34339 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34340 sigaltstack check, add missing cfi directives.
34341 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34342 missing cfi directives, and sigaltstack handling.
34344 2011-08-16 Andreas Schwab <schwab@redhat.com>
34347 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34348 object is seen twice.
34349 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34351 * elf/Makefile (distribute): Add tst-initorder2.c.
34352 (tests): Add tst-initorder2.
34353 (modules-names): Add tst-initorder2a tst-initorder2b
34354 tst-initorder2c tst-initorder2d. Add rules to build them.
34355 ($(objpfx)tst-initorder2.out): New rule.
34356 * elf/tst-initorder2.c: New file.
34357 * elf/tst-initorder2.exp: New file.
34359 2011-08-22 Andreas Schwab <schwab@redhat.com>
34361 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34363 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34364 dependencies back to end of function.
34366 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34367 $(elfobjdir)/ld.so.
34369 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34371 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34372 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34374 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34375 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34376 of __vdso_gettimeofday.
34377 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34378 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34380 (_libc_vdso_platform_setup): Remove initialization of
34381 __vdso_gettimeofday and __vdso_time.
34383 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34385 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34386 and fgetc_unlocked.
34387 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34390 * elf/dl-open.c (add_to_global): Report additions to the global scope
34391 for LD_DEBUG=scopes.
34392 (dl_open_worker): Also print scope of newly loaded dependencies.
34393 (_dl_show_scope): Indicate if there is no scope.
34396 * stdio-common/Makefile (tests): Add bug24.
34397 * stdio-common/bug24.c: New file.
34399 2011-08-19 Andreas Jaeger <aj@suse.de>
34402 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34403 non-existant file when using close-on-exec mode.
34405 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34408 the very first instruction.
34410 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34411 the CFI state in the end.
34412 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34413 inclusion of dl-trampoline.h.
34414 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34416 2011-08-19 Andreas Schwab <schwab@redhat.com>
34418 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34419 expectations for long double.
34421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34422 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34424 2011-08-14 David S. Miller <davem@davemloft.net>
34426 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34427 artificual limit depends upon the system page size.
34429 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34431 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34432 * resolv/Makefile: Define CFLAGS-libresolv.
34434 2011-08-17 Andreas Schwab <schwab@redhat.com>
34436 * nss/makedb.c (compute_tables): Make variables used in nested
34439 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34441 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34442 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34443 if buffer was too small.
34445 * elf/pldd.c (main): Attach to all threads in the process.
34446 Rewrite /proc handling to use *at functions.
34448 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34450 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34451 specifies first scope to show.
34452 (dl_open_worker): Update callers. Move printing scope of new
34453 object to before the relocation.
34454 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34455 * sysdeps/generic/ldsodefs.h: Update declaration.
34457 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34458 string for the scope number.
34460 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34462 * nscd/servicescache.c (cache_addserv): Make sure written is always
34465 2011-08-14 Roland McGrath <roland@hack.frob.com>
34467 * sysdeps/i386/i486/bits/atomic.h
34468 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34469 statement expression, so as to suppress "set but not used" warning.
34470 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34472 * string/strncat.c (STRNCAT): Use prototype definition.
34474 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34475 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34477 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34478 (localedef-modules): Add localedef.
34479 (locale-modules): Add locale.
34481 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34482 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34483 to avoid a warning.
34485 2011-08-14 David S. Miller <davem@davemloft.net>
34487 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34488 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34490 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34492 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34493 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34494 * elf/rtld.c (dl_main): Set l_name of vDSO.
34495 Call _dl_show_scope when DL_DEBUG_SCOPES.
34496 (process_dl_debug): Recognize scopes flag and also set it for all.
34497 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34498 Declare _dl_show_scope.
34500 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34501 (do_dlopen): Pass caller_dlopen to dl_open.
34502 (__libc_dlopen_mode): Initialize caller_dlopen.
34504 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34505 of libc. Make tolower call locale-independent. Optimize a bit by
34506 using isdigit instead of isalnum.
34507 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34509 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34511 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34512 was a dependency or dynamically loaded.
34514 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34516 * intl/l10nflist.c: Allow architecture-specific pop function.
34517 * sysdeps/x86_64/l10nflist.c: New file.
34519 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34522 2011-08-10 Andreas Schwab <schwab@redhat.com>
34524 * include/dirent.h: Add libc_hidden_proto for scandirat and
34525 scandirat64. Don't declare __scandirat64.
34526 * dirent/scandirat.c: Add libc_hidden_def.
34527 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34528 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34530 2011-08-10 David S. Miller <davem@davemloft.net>
34532 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34538 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34540 * Versions.def [libc]: Add GLIBC_2.15.
34541 * dirent/Makefile (routines): Add scandirat and scandirat64.
34542 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34544 * dirent/dirent.h: Declare scandirat and scandirat64.
34545 * dirent/scandirat.c: New file.
34546 * dirent/scandirat64.c: New file.
34547 * sysdeps/wordsize-64/scandirat.c: New file.
34548 * sysdeps/wordsize-64/scandirat64.c: New file.
34549 * dirent/opendir.c: Define opendirat.
34550 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34552 * dirent/scandir64.c: Adjust for scandir.c change.
34553 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34554 __scandirat64, and __scandir_cancel_handler.
34555 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34556 additional parameter and use openat instead of open (outside of ld.so).
34557 Add new __opendir as wrapper around __opendirat.
34558 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34559 here without requiring old scandirat implementation.
34561 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34563 * dirent/scandir.c (cancel_handler): Renamed to
34564 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34565 defined. Adjust users.
34566 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34567 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34569 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34571 * string/test-string.h (IMPL): Use __STRING to expand name and then
34574 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34577 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34579 * string/Makefile: Update.
34580 (strop-tests): Append strncat.
34581 * string/test-wcscmp.c: New file.
34582 New comprehensive test for wcscmp.
34583 * string/test-strcmp.c: Update.
34584 (WIDE): New define.
34586 2011-07-22 Andreas Schwab <schwab@redhat.com>
34588 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34591 2011-07-26 Andreas Schwab <schwab@redhat.com>
34593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34594 encoding to ACE if AI_IDN.
34596 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34599 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34601 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34603 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34604 Fix overflow bug in strncat.
34605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34607 * string/test-strncat.c: Update.
34608 Add new tests for checking overflow bugs.
34610 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34613 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34614 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34615 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34617 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34618 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34619 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34620 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34622 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34623 (USE_AS_STRCAT): Define.
34624 Add strcat and strncat support.
34625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34627 2011-07-25 Andreas Schwab <schwab@redhat.com>
34629 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34630 __n bigger than INT_MAX+1.
34631 (__strncmp_g): Likewise.
34633 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34635 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34636 * libio/stido.h: Likewise.
34638 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34643 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34644 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34645 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34646 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34647 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34650 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34655 (_dl_x86_64_save_sse): Likewise.
34657 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34661 (_dl_x86_64_save_sse): Likewise.
34663 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34665 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34667 2011-07-21 Andreas Schwab <schwab@redhat.com>
34669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34671 (_dl_x86_64_save_sse): Use correct AVX check.
34673 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34676 bug in strncpy/strncat.
34677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34679 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34681 * string/tester.c (test_strcat): Add tests for different alignments
34682 of source and destination.
34683 (test_strncat): Likewise.
34685 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34688 * posix/glob.c (glob): Check passed in values before using them in
34689 expressions to avoid some overflows.
34690 (glob_in_dir): Likewise.
34693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34694 check for AVX enablement so that we don't crash with old kernels and
34696 * elf/tst-audit4.c: Add same checks here.
34697 * elf/tst-audit6.c: Likewise.
34699 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34701 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34703 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34705 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34707 * po/cs.po: Update from translation team.
34708 * po/bg.po: Likewise.
34710 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34712 * misc/sys/cdefs.h: Add support for const attribute.
34713 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34714 to gnu_dev_{major,minor,makedev} functions.
34716 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34718 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34720 2011-07-20 Andreas Schwab <schwab@redhat.com>
34722 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34725 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34728 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34729 register in order to avoid conflicts with the soft frame pointer
34730 being held in r11 when necessary.
34731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34732 (INTERNAL_VSYSCALL_NCS): Likewise.
34734 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34736 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34737 * elf/dl-fini.c (_dl_fini): Adjust caller.
34738 * elf/dl-close.c (_dl_close_worker): Likewise.
34739 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34741 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34743 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34744 "aux_cache->nlibs < 0".
34746 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34747 in the reload-count case.
34749 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34752 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34753 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34754 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34755 * sysdeps/x86_64/multiarch/strcat.S: New file.
34756 * sysdeps/x86_64/multiarch/strncat.S: New file.
34757 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34758 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34759 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34760 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34761 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34762 (USE_AS_STRCAT): Define.
34763 Add strcat and strncat support.
34764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34765 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34766 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34767 * string/strncat.c: Update.
34768 (USE_AS_STRNCAT): Define.
34769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34770 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34772 * sysdeps/x86_64/multiarch/init-arch.h
34773 (bit_Prefer_PMINUB_for_stringop): New.
34774 (index_Prefer_PMINUB_for_stringop): Likewise.
34775 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34776 bit_Prefer_PMINUB_for_stringop.
34778 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34780 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34782 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34783 of casting of buffer.
34784 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34785 buffer32 and buffer64.
34786 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34787 writes instead of casting of buffer.
34788 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34790 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34793 2011-07-19 Andreas Schwab <schwab@redhat.com>
34795 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34797 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34799 * nscd/nscd.c (termination_handler): Don't do anything for a database
34800 if it has not yet been initialized.
34802 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34804 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34806 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34808 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34810 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34812 * po/nl.po: Update from translation team.
34813 * po/sv.po: Likewise.
34815 2011-07-16 Roland McGrath <roland@hack.frob.com>
34817 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34818 now disallowed by GCC.
34820 * configure.in (use-default-link): Default to yes if a test -shared
34821 link meets our qualifications.
34822 * configure: Regenerated.
34824 * config.make.in (output-format): New variable.
34825 * configure.in: Check for ld --print-output-format support.
34826 * configure: Regenerated.
34827 * Makerules ($(common-objpfx)format.lds)
34828 [$(output-format) != unknown]: Just use $(output-format),
34829 instead of the linker-script munging.
34831 2011-07-14 Roland McGrath <roland@hack.frob.com>
34833 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34834 of $(common-objpfx)shlib.lds.
34835 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34837 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34838 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34840 * configure.in (-z relro check): Adjust test code to add a large
34841 writable data section after it.
34842 * configure: Regenerated.
34844 2011-07-11 Roland McGrath <roland@hack.frob.com>
34846 * configure.in (-z relro check): Fix test code to make the variable
34848 * configure: Regenerated.
34850 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34852 * nscd/nscd.h (struct traced_file): Define.
34853 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34854 elements. Add traced_files.
34855 (inotify_fd): Declare.
34856 (register_traced_file): Declare.
34857 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34858 (inotify_fd): Export.
34859 (resolv_conf_descr): Remove.
34860 (nscd_init): Move inotify descriptor creation to main.
34861 Don't register files for notification here.
34862 (register_traced_file): New function.
34863 (invalidate_cache): Don't use reset_res to determine whether to call
34864 res_init, go through the list of registered files.
34865 (main_loop_poll): The inotify descriptors are now stored in the
34866 structures for the traced files.
34867 (main_loop_epoll): Likewise
34868 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34869 to __nss_disable_nscd.
34870 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34871 for a database anymore. Check the records for all the registered
34873 * nss/Makefile (libnss_files-routines): Add files-init.
34874 (libnss_db-routines): Add db-init.
34875 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34876 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34877 * nss/nss_db/db-init.c: New file.
34878 * nss/nss_files/files-init.c: New file.
34879 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34880 __nss_lookup_function.
34881 (__nss_lookup_function): Call nss_load_library.
34882 (nss_load_all_libraries): New function.
34883 (__nss_disable_nscd): Take parameter with callback function for files
34884 to register. Set is_nscd. Load all the DSOs for the NSS modules
34885 used for the cached services.
34886 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34887 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34888 options for features to all the files in nscd.
34890 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34892 2011-07-10 Roland McGrath <roland@hack.frob.com>
34894 * csu/elf-init.c (__libc_csu_init): Comment typo.
34896 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34898 * po/pl.po: Update from translation team.
34899 * po/ja.po: Likewise.
34900 * po/ru.po: Likewise.
34901 * po/ko.po: Likewise.
34902 * po/fr.po: Likewise.
34904 2011-07-09 Roland McGrath <roland@hack.frob.com>
34906 * configure.in (.ctors/.dtors header and trailer check):
34907 Use an empirical test on a built program.
34908 * configure: Regenerated.
34910 * configure.in (-z relro check): Use an empirical test on a built DSO.
34911 Detect, but do not require, on ia64.
34912 * configure: Regenerated.
34914 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34915 Update tests that use readelf to use $READELF instead.
34916 * configure: Regenerated.
34918 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34920 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34921 if the result is not used.
34923 2011-07-05 Andreas Jaeger <aj@suse.de>
34926 * stdlib/tst-strtod.c: Add testcase.
34928 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34930 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34931 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34932 The latter has a higher limit. Take additional parameter to pass to
34934 (__pathconf): Pass file to __statfs_link_max.
34935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34937 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34941 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34944 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34945 (__statfs_filesize_max): Likewise.
34946 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34948 2011-07-05 Andreas Jaeger <aj@suse.de>
34950 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34952 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34954 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34956 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34959 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34961 * Makefile (strop-tests): Add strncat.
34962 * string/test-strncat.c: New file.
34964 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34966 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34968 2011-06-21 Andreas Jaeger <aj@suse.de>
34970 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34971 Copy rule from iconvdata/Makefile.
34973 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34976 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34977 but no long options are defined, just return 'W'.
34979 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34982 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34984 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34986 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34988 (innetgr): Likewise.
34990 2011-07-05 Roland McGrath <roland@hack.frob.com>
34992 * config.make.in (install_root): Default to $(DESTDIR).
34994 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34998 2011-07-02 Roland McGrath <roland@hack.frob.com>
35000 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35002 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35003 containing directory rather than embedding absolute directory names.
35005 * scripts/check-local-headers.sh: Rewritten using awk.
35006 Match by word, not by line. Print error messages for matches.
35007 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35009 * Makerules [shlib-lds-flags empty]:
35010 ($(common-objpfx)libc_pic.opts): New target.
35011 ($(common-objpfx)libc_pic.os.clean): New target.
35012 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35014 * config.make.in (OBJCOPY): New variable.
35015 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35016 * configure: Regenerated.
35018 * config.make.in (use-default-link): New variable.
35019 * configure.in (use_default_link): Grok --with-default-link to set it.
35020 * configure: Regenerated.
35021 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35022 (shlib-lds, shlib-lds-flags): Define to empty.
35024 * Makerules (shlib-lds): New variable.
35025 (shlib-lds-flags): New variable.
35026 (build-shlib, build-moduile, build-module-asneeded): Use it.
35027 ($(common-objpfx)libc.so): Use $(shlib-lds).
35028 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35029 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35031 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35032 DT_FLAGS/DT_FLAGS_1 with zero flags.
35034 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35035 linker script munging.
35037 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35039 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35041 * crypt/sha512.c (sha512_process_block): Perform total addition using
35042 128-bit if possible.
35043 (__sha512_finish_ctx): Likewise.
35044 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35046 * crypt/sha256.c (SWAP64): Define.
35047 (sha256_process_block): Perform total addition using 64-bit if
35049 (__sha256_finish_ctx): Likewise.
35051 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35053 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35054 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35055 * nscd/hstcache.c (cache_addhst): Likewise.
35056 * nscd/grpcache.c (cache_addgr): Likewise.
35057 * nscd/aicache.c (addhstaiX): Likewise
35058 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35060 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35062 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35064 * nscd/hstcache.c (cache_addhst): Likewise.
35065 * nscd/grpcache.c (cache_addgr): Likewise.
35066 * nscd/aicache.c (addhstaiX): Likewise
35068 2011-07-01 Andreas Schwab <schwab@redhat.com>
35070 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35071 domain only when needed.
35073 2011-06-30 Andreas Schwab <schwab@redhat.com>
35075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35076 is always restored.
35078 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35080 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35081 are re-adding the entry.
35082 * nscd/servicescache.c (cache_addserv): Likewise.
35084 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35086 * sysdeps/generic/dl-irel.h: fix protection against multiple
35088 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35090 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35093 * malloc/memusage.sh: Fix quoting in message.
35094 * debug/xtrace.sh: Likewise.
35096 * configure.in: Remove support for --experimental-malloc option, make
35098 * config.make.in: Likewise.
35099 * malloc/Makefile: Likewise.
35101 2011-06-27 Andreas Schwab <schwab@redhat.com>
35103 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35104 two-byte characters.
35106 2011-06-27 Roland McGrath <roland@hack.frob.com>
35108 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35109 AC_CACHE_CHECK invocation.
35110 * configure: Regenerated.
35112 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35114 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35117 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35118 bit from old_res_options.
35120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35122 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35123 value type for setfct.
35125 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35128 __gettimeofday instead of gettimeofday.
35130 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35132 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35134 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35141 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35144 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35145 strcpy-sse2-unaligned strncpy-sse2-unaligned
35146 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35147 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35148 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35149 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35150 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35153 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35154 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35155 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35156 (STRCPY): Support SSE2 and SSSE3 versions.
35158 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35161 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35162 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35163 kernels which artificially limit size of requests.
35165 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35168 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35169 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35170 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35171 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35172 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35173 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35174 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35175 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35177 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35178 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35179 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35180 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35181 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35183 Enable unaligned load optimization for Intel Core i3, i5 and i7
35185 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35187 (index_Fast_Unaligned_Load): Define.
35188 (HAS_FAST_UNALIGNED_LOAD): Define.
35190 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35192 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35194 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35197 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35198 until it is clear that the information is realy needed.
35199 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35201 2011-06-22 Andreas Schwab <schwab@redhat.com>
35203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35205 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35207 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35208 /sys/devices/system/cpu/online if it is usable.
35210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35211 reading the information from the /proc filesystem to once a second.
35213 2011-06-21 Andreas Jaeger <aj@suse.de>
35215 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35216 NULL after inclusion of kernel headers.
35218 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35220 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35221 calls to internal_setent.
35224 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35225 addresses using gethostbyname4_r ignore IPv4 addresses.
35227 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35228 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35230 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35232 2011-06-20 David S. Miller <davem@davemloft.net>
35234 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35236 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35238 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35239 (elf_irel): Use it.
35240 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35241 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35242 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35243 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35244 * sysdeps/x86_64/dl-irel.h: Likewise.
35246 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35247 * elf/dl-sym.c: Likewise.
35249 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35251 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35252 need to dereference resplen2.
35254 2011-06-14 Andreas Schwab <schwab@redhat.com>
35256 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35258 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35260 * Makeconfig: Define vardbdir and inst_vardbdir.
35261 * nss/Makefile: Add rules to install db-Makefile.
35263 * nss/nss_db/db-XXX.c: Cleanup.
35265 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35266 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35268 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35269 * nss/makedb.c: Implement -g option to specify that value strings
35270 are generated and should not be added to table iterated over for
35272 * nss/nss_db/db-initgroups.c: New file.
35274 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35277 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35278 (internal_getgrouplist): Adjust to name change.
35279 Update use_initgroups_entry if this is not the first call.
35280 * nss/databases.def: Add initgroups entry.
35282 * nss/makedb.c (compute_tables): Check result of multiple hash table
35283 sizes to minimize maximum chain length.
35285 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35287 * Versions.def: Add entry for libnss_db.
35288 * shlib-versions: Likewise.
35289 * nss/Makefile: Add rules to build libnss_db.
35290 * nss/Versions: Add libnss_db information. Organize libnss_files
35292 * nss/db-Makefile: Add gshadow support. Change rules for the new
35293 makedb progra. Some minor improvements to generate smaller files.
35294 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35296 * nss/makedb.c: ...here.
35297 Improve database format to be smaller and require less memory at
35299 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35301 * nss/nss_db/db-netgrp.c: Likewise.
35302 * nss/nss_db/db-open.c: Likewise.
35303 * nss/nss_files/flies-XXX.x: Adjust comments.
35304 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35305 * nss/nss_files/files-grp.c: Likewise.
35306 * nss/nss_files/files-hosts.c: Likewise.
35307 * nss/nss_files/files-network.c: Likewise.
35308 * nss/nss_files/files-proto.c: Likewise.
35309 * nss/nss_files/files-pwd.c: Likewise.
35310 * nss/nss_files/files-rpc.c: Likewise.
35311 * nss/nss_files/files-service.c: Likewise.
35312 * nss/nss_files/files-sgrp.c: Likewise.
35313 * nss/nss_files/files-spwd.c: Likewise.
35314 * nss/nss_db/db-alias.c: Removed.
35315 * nss/nss_db/dummy-db.h: Removed.
35317 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35319 * nss/makedb.c: Rewritten to not use database library.
35320 * nss/Makefile: Update to build new makedb program.
35322 2011-06-14 Andreas Jaeger <aj@suse.de>
35324 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35325 memset declaration.
35327 2011-06-10 Andreas Schwab <schwab@redhat.com>
35329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35332 2011-06-10 Roland McGrath <roland@hack.frob.com>
35334 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35335 * elf/Makefile ($(objpfx)ld.so): Likewise.
35337 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35338 Don't list ld.so twice in dependencies.
35340 * posix/bug-regex31.c: Include <stdlib.h>.
35342 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35344 * nis/nss_compat/compat-spwd.c
35345 (getspent_next_nss_netgr): Remove unused variable.
35346 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35348 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35349 nonmembers" output to use the right array.
35351 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35353 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35355 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35356 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35357 * catgets/gencat.c (read_input_file): Likewise.
35358 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35360 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35361 variable definition inside #if's controlling its use.
35363 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35365 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35367 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35369 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35372 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35374 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35375 * configure: Regenerated.
35377 * Makerules: Revert last change.
35378 * elf/Makefile: Likewise.
35380 2011-06-09 Roland McGrath <roland@hack.frob.com>
35382 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35383 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35384 (reloc-link): Likewise.
35386 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35388 * elf/Makefile: Add rules to build pldd.
35389 * elf/pldd.c: New file.
35390 * elf/pldd-xx.c: New file.
35392 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35394 * version.h: Update for 2.15 development version.
35396 2011-06-07 David S. Miller <davem@davemloft.net>
35398 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35400 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35401 elf_machine_lazy_rel): Likewise.
35402 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35403 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35404 elf_machine_lazy_rel): Likewise.
35405 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35406 dl_hwcap via passed in argument.
35407 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35410 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35412 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35414 2011-06-06 Roland McGrath <roland@hack.frob.com>
35417 * manual/fdl-1.1.texi: New file, verbatim from:
35418 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35419 * manual/lgpl-2.1.texi: New file, verbatim from:
35420 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35421 * manual/Makefile (licenses): New variable, list those new file names.
35423 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35425 * manual/fdl.texi: File removed.
35426 * manual/lesser.texi: File removed.
35427 * manual/libc.texinfo (Copying, Documentation License):
35428 Use new @include file names, put @appendix directive before @include.
35430 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35433 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35434 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35435 (mq_open): Add __NTH.
35437 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35440 Assume Intel Core i3/i5/i7 processor if AVX is available.
35442 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35444 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35447 2011-05-31 Andreas Schwab <schwab@redhat.com>
35449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35450 memory. Use alloca_account. Fix memory leak when retrying.
35452 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35454 * version.h (RELEASE): Bump for 2.14 release.
35455 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35457 * config.make.in (RANLIB): Remove entry.
35459 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35461 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35462 (libc.pot): Work around missing support for .ksh extension in xgettext.
35465 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35466 if both request failed.
35467 (send_dg): In case of server errors clear resplen or *resplen2.
35470 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35471 when there are multiple maps.
35472 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35473 (_dl_fini): Remove test here.
35475 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35477 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35480 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35481 bit from old_res_options.
35482 (gaih_inet): Likewise.
35485 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35488 * resolv/res_init.c (res_setoptions): Make the code more compact.
35491 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35495 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35497 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35500 * malloc/malloc.h: Declare malloc hook variables as volatile.
35502 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35506 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35507 raise in the comment.
35508 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35509 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35510 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35512 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35515 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35516 grow the buffers more if it already has to be sufficient.
35517 (build_wcs_upper_buffer): Likewise.
35518 * posix/regexec.c (check_matching): Likewise.
35519 (clean_state_log_if_needed): Likewise.
35520 (extend_buffers): Don't enlarge buffers beyond size of the input
35522 Patches mostly by Emil Wojak <emil@wojak.eu>.
35523 * posix/bug-regex32.c: New file.
35524 * posix/Makefile (tests): Add bug-regex32.
35526 * locale/findlocale.c (_nl_find_locale): Return right away if
35527 _nl_explode_name failed.
35528 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35530 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35532 * debug/xtrace.sh: Unify messages.
35533 * malloc/memusage.sh: Likewise.
35536 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35537 time symbol from vDSO. Substitute with vsyscall if not available.
35538 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35541 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35542 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35543 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35544 Add sendmmsg and internal_sendmmsg.
35545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35546 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35547 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35549 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35550 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35551 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35553 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35556 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35557 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35559 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35563 * iconvdata/Makefile (tests): Add bug-iconv9.
35564 * iconvdata/bug-iconv9.c: New file.
35566 2011-05-27 Andreas Schwab <schwab@redhat.com>
35569 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35571 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35574 (struct user_regs_struct): Change intcs field back to cs.
35576 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35578 * po/ja.po: Update from translation team.
35580 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35583 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35584 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35586 2011-05-20 Andreas Schwab <schwab@redhat.com>
35588 * stdlib/longlong.h: Update from GCC.
35590 2011-05-23 Andreas Schwab <schwab@redhat.com>
35592 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35594 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35595 Add parameter name.
35596 (__sysconf): Pass it down.
35598 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35601 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35604 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35605 add in in __libc_use_alloca calls. Adjust callers.
35606 (glob): Use malloc in some situations.
35608 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35609 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35612 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35614 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35615 and CLOCK_BOOTTIME_ALARM.
35618 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35621 * string/_strerror.c (__strerror_r): Print negative errors as signed
35625 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35626 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35627 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35629 * configure.in: Fix typo in redirection and correct removal of test
35630 files in two cases.
35633 * locale/setlocale.c (new_composite_name): Fix test to check for
35634 identical name of all categories.
35637 * libio/filedoalloc.c (local_isatty): New function.
35638 (_IO_file_doallocate): Use local_isatty.
35639 * stdio-common/perror.c (perror): In case a new stream is used
35640 forward the stream error.
35641 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35644 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35649 * include/alloca.h (extend_alloca_account): Define.
35652 * posix/regex.h: Fix comments with documentation of user-accessible
35653 fields after compilation and describe correct free'ing of pattern
35654 after re_compile_pattern.
35655 Patch by Reuben Thomas <rrt@sc3d.org>.
35657 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35659 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35660 and -mno-altivec to prevent the compiler from using Altivec and/or
35661 VSX instructions when the corresponding registers are not available.
35663 2011-05-19 Andreas Schwab <schwab@redhat.com>
35665 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35667 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35669 * libio/freopen.c (freopen): Use __dup2, not dup2.
35670 * libio/freopen64.c (freopen64): Likewise.
35672 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35675 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35676 * math/Makefile (tests): Add test-powl.
35677 (CFLAGS-test-powl.c): Define.
35678 * math/test-powl.c: New file.
35680 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35682 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35684 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35687 * iconvdata/gb18030.c: Update to GB18020-2005.
35689 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35691 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35692 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35693 Patch by Aharon Robbins <arnold@skeeve.com>.
35696 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35700 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35701 through underflows.
35704 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35705 point to strings before performing equality test for error_one_per_line
35709 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35713 (struct user_fpregs_struct): Avoid __uint*_t types.
35716 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35717 symbol info. Use it instead of calling _dl_addr locally.
35718 (lock_and_info): New function.
35719 (tr_freehook): Call lock_and_info and pass symbol info as additional
35720 parameter to tr_where.
35721 (tr_mallochook): Likewise.
35722 (tr_reallochook): Likewise.
35723 (tr_memalignhook): Likewise.
35725 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35726 used and couldn't be at all thread-safe.
35728 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35730 * libio/freopen.c (freopen): Don't close old file descriptor
35731 before the new one is opened. Instead dup the new file descriptor
35732 to the old one after the new stream is created.
35733 * libio/freopen64.c (freopen64): Likewise.
35734 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35735 * libio/fileops.c (_IO_new_file_close_it): Handle new
35736 _IO_FLAGS2_NOCLOSE flag.
35737 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35738 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35739 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35740 _IO_FLAGS2_NOCLOSE flag.
35741 * include/unistd.h: Add hidden_proto for dup3.
35742 Define __have_dup3.
35743 * io/dup3.c: Define hidden symbol.
35744 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35747 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35748 when an incomplete long option is used.
35749 * posix/tst-getopt_long1.c: New file.
35750 * posix/Makefile (tests): Add tst-getopt_long1.
35753 * scripts/config.guess: Update from autoconf-2.68.
35754 * scripts/config.sub: Likewise.
35757 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35759 (has_cpuclock): ...this. New function.
35760 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35761 macro here based on has_cpuclock code.
35764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35765 First byte (not low byte) is now always NUL.
35766 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35769 Use non-cancelable interfaces.
35772 * locale/iso-639.def: Add entry for Sorani.
35775 * include/stdlib.h: Move include protection to the right place.
35776 Define abort_msg_s. Declare __abort_msg with it.
35777 * stdlib/abort.c (__abort_msg): Adjust type.
35778 * assert/assert.c (__assert_fail_base): New function. Majority
35779 of code from __assert_fail. Allocate memory for __abort_msg with
35781 (__assert_fail): Now call __assert_fail_base.
35782 * assert/assert-perr.c: Remove bulk of implementation. Use
35783 __assert_fail_base.
35784 * include/assert.hL Declare __assert_fail_base.
35785 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35787 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35789 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35793 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35794 until all modules are registered in the DTV.
35795 * elf/Makefile: Add rules to build and run tst-tls19.
35796 * elf/tst-tls19.c: New file.
35797 * elf/tst-tls19mod1.c: New file.
35798 * elf/tst-tls19mod2.c: New file.
35799 * elf/tst-tls19mod3.c: New file.
35800 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35803 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35807 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35808 two-byte sequence errors.
35809 * iconvdata/Makefile (tests): Add bug-iconv8.
35810 * iconvdata/bug-iconv8.c: New file.
35813 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35816 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35819 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35820 (dummy_getcfa): New function.
35821 (init): Get _Unwind_GetCFA address, use dummy if not found.
35822 (backtrace_helper): In recursion check, also check whether CFA changes.
35823 (__backtrace): Completely initialize arg.
35825 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35826 storing incomplete byte sequence in state object. Avoid testing for
35827 guaranteed too small input if we know there is enough data available.
35829 2011-05-11 Andreas Schwab <schwab@redhat.com>
35831 * Makeconfig (+link-pie): Indent.
35832 * Rules (binaries-pie): Define if $(have-fpie) and
35834 (binaries-shared): Also filter out $(binaries-pie).
35835 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35836 * nscd/Makefile (others-pie): Add nscd.
35837 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35838 ($(objpfx)nscd): Remove command override.
35839 * login/Makefile (others-pie): Add pt_chown.
35840 ($(objpfx)pt_chown): Remove command override.
35841 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35842 remove command overrides.
35844 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35846 * libio/tst_putwc.c: Fix error messages.
35849 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35850 currently writing and seek to current position when not.
35851 * libio/Makefile (tests): Add bug-fclose1.
35852 * libio/bug-fclose1.c: New file.
35854 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35857 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35858 don't set DF_1_NODELETE here.
35859 (do_lookup_x): When entering new entry test for copy relocation
35860 and if necessary set DF_1_NODELETE flag.
35861 * elf/tst-unique4.cc: New file.
35862 * elf/tst-unique4.h: New file.
35863 * elf/tst-unique4lib.cc: New file.
35864 * elf/Makefile: Add rules to build and run tst-unique4.
35865 Patch by Piotr Bury <pbury@goahead.com>.
35867 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35870 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35873 * misc/mntent_r.c (addmntent): Flush the stream after the output
35876 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35877 (is_trusted_path_normalize): Skip initial colon. Append slash
35878 to empty buffer. Duplicate is_trusted_path code but allow
35879 constructed patch to be prefix.
35880 (is_dst): Allow $ORIGIN followed by /.
35881 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35882 Correct testing of result of is_trusted_path_normalize
35883 (decompose_rpath): Fix warning.
35885 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35888 * grp/initgroups.c (internal_getgrouplist): When we found the service
35889 list through the initgroups entry in nsswitch.conf do not always
35890 continue on a successful lookup. Don't always use the
35891 __nss_group_database value if it is set.
35892 * nss/nsswitch.conf (initgroups): Change action for successful db
35893 lookup to continue for compatibility.
35895 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35898 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35900 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35902 * iconvdata/tst-tables.sh: Likewise.
35903 * iconvdata/cp770.c: New file.
35904 * iconvdata/cp771.c: New file.
35905 * iconvdata/cp772.c: New file.
35906 * iconvdata/cp773.c: New file.
35907 * iconvdata/cp774.c: New file.
35908 * iconvdata/testdata/CP770: New file.
35909 * iconvdata/testdata/CP770..UTF8: New file.
35910 * iconvdata/testdata/CP771: New file.
35911 * iconvdata/testdata/CP771..UTF8: New file.
35912 * iconvdata/testdata/CP772: New file.
35913 * iconvdata/testdata/CP772..UTF8: New file.
35914 * iconvdata/testdata/CP773: New file.
35915 * iconvdata/testdata/CP773..UTF8: New file.
35916 * iconvdata/testdata/CP774: New file.
35917 * iconvdata/testdata/CP774..UTF8: New file.
35919 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35921 * iconvdata/gen-8bit-gap.sh: Likewise.
35922 * iconvdata/gen-8bit.sh: Likewise.
35924 * locale/iso-639.def: Add ary entry.
35927 * locale/C-translit.h.in: Add U20A1 transliteration.
35930 * locale/iso-639.def: Add wae entry.
35931 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35934 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35938 * locale/C-translit.h.in: Add entry for U20B9.
35939 Patch by pravin.d.s@gmail.com.
35941 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35944 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35945 ENAMETOOLONG use generic getcwd.
35946 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35947 in rtld. Use *stat64.
35948 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35949 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35950 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35951 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35952 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35953 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35954 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35955 __fstatat64 macros.
35956 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35957 * dirent/rewinddir.c: Add libc_hidden_def.
35958 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35959 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35961 * include/dirent.h (__alloc_dir): Add flags parameter.
35962 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35963 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35965 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35966 from fdopendir if O_CLOEXEC is already set.
35968 2011-03-15 Alan Modra <amodra@gmail.com>
35970 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35971 l_tls_firstbyte_offset non-zero. Save padding offset in
35972 l_tls_firstbyte_offset for later use.
35973 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35974 freeing static tls block.
35976 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35978 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35979 where #ifdef was intended. The intent is to prevent ARG_MAX from
35980 being defined by the kernel headers.
35982 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35985 * resolv/resolv.h: Define RES_NOTLDQUERY.
35986 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35987 no-tld-query and set RES_NOTLDQUERY.
35988 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35989 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35990 modern BIND to search name as TLD unless forbidden.
35992 2011-05-07 Petr Baudis <pasky@suse.cz>
35993 Ulrich Drepper <drepper@gmail.com>
35996 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35997 (is_trusted_path): ...to here.
35998 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35999 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36000 using is_trusted_path_normalize() in setuid scripts.
36002 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36004 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36005 __BEGIN/__END_DECLS.
36007 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36010 NSS_STATUS_NOTFOUND if no record was found.
36012 2011-05-05 Andreas Schwab <schwab@redhat.com>
36014 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36015 (headers-not-in-tirpc): Remove rpc/netdb.h
36016 * resolv/netdb.h: Revert last change.
36018 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36020 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36021 circular dependency between libgcc.a and libc.a.
36023 2011-05-05 Andreas Schwab <schwab@redhat.com>
36025 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36026 * nis/Makefile: Don't install rpcsvc/*.
36027 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36028 instead of <rpc/types.h>.
36029 (MAXHOSTNAMELEN): Define.
36031 2011-05-03 Andreas Schwab <schwab@redhat.com>
36033 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36035 2011-04-28 Maciej Babinski <mbabinski@google.com>
36038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36039 gethostbyname4_r when IPv6 results are possible.
36041 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36044 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36045 _PC_PIPE_BUF handling.
36047 2011-04-30 Bruno Haible <bruno@clisp.org>
36050 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36051 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36053 * inet/getnameinfo.c (getnameinfo): Likewise.
36055 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36057 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36058 to groups setting in database lookup.
36059 * nss/nsswitch.conf: Add initgroups entry.
36061 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36064 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36066 Patch by Eric Blake <eblake@redhat.com>.
36068 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36070 * sunrpc/Makefile (need-export-routines): Add svc_run.
36071 (routines): Remove svc_run.
36072 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36073 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36074 * sunrpc/svc_run.c (svc_run): Likewise.
36075 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36077 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36080 problem in reallocation in last patch.
36082 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36084 * sunrpc/Makefile: Move inclusion of Rules.
36086 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36088 * nss/nss_files/files-initgroups.c: New file.
36089 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36090 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36091 _nss_files_initgroups_dyn.
36093 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36095 * elf/elf.h (R_ARM_IRELATIVE): Define.
36097 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36099 * po/ru.po: Update from translation team.
36101 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36103 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36106 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36109 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36110 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36112 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36115 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36117 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36119 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36120 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36123 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36126 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36128 * stdlib/bug-getcontext.c: New file.
36129 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36131 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36133 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36134 instructions into .machine "z9-109".
36135 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36136 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36138 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36140 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36141 between environment variables and auxiliary vector.
36143 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36145 * Makefile: Add rules to build linkobj/libc.so.
36146 * include/libc-symbols.h: Define libc_hidden_nolink.
36147 * include/rpc/auth.h: Mark functions which are to be hidden.
36148 * include/rpc/auth_des.h: Likewise.
36149 * include/rpc/auth_unix.h: Likewise.
36150 * include/rpc/clnt.h: Likewise.
36151 * include/rpc/des_crypt.h: Likewise.
36152 * include/rpc/key_prot.h: Likewise.
36153 * include/rpc/pmap_clnt.h: Likewise.
36154 * include/rpc/pmap_prot.h: Likewise.
36155 * include/rpc/pmap_rmt.h: Likewise.
36156 * include/rpc/rpc_msg.h: Likewise.
36157 * include/rpc/svc.h: Likewise.
36158 * include/rpc/svc_auth.h: Likewise.
36159 * include/rpc/xdr.h: Likewise.
36160 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36161 * nss/Makefile: Likewise.
36162 * sunrpc/Makefile: Don't install headers. Build library with normal
36163 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36164 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36165 for the compat linking library. Remove use of INTDEF/INTUSE.
36166 * sunrpc/auth_none.c: Likewise.
36167 * sunrpc/auth_unix.c: Likewise.
36168 * sunrpc/authdes_prot.c: Likewise.
36169 * sunrpc/authuxprot.c: Likewise.
36170 * sunrpc/clnt_gen.c: Likewise.
36171 * sunrpc/clnt_perr.c: Likewise.
36172 * sunrpc/clnt_raw.c: Likewise.
36173 * sunrpc/clnt_simp.c: Likewise.
36174 * sunrpc/clnt_tcp.c: Likewise.
36175 * sunrpc/clnt_udp.c: Likewise.
36176 * sunrpc/clnt_unix.c: Likewise.
36177 * sunrpc/des_crypt.c: Likewise.
36178 * sunrpc/des_soft.c: Likewise.
36179 * sunrpc/get_myaddr.c: Likewise.
36180 * sunrpc/key_call.c: Likewise.
36181 * sunrpc/key_prot.c: Likewise.
36182 * sunrpc/netname.c: Likewise.
36183 * sunrpc/pm_getmaps.c: Likewise.
36184 * sunrpc/pm_getport.c: Likewise.
36185 * sunrpc/pmap_clnt.c: Likewise.
36186 * sunrpc/pmap_prot.c: Likewise.
36187 * sunrpc/pmap_prot2.c: Likewise.
36188 * sunrpc/pmap_rmt.c: Likewise.
36189 * sunrpc/publickey.c: Likewise.
36190 * sunrpc/rpc_cmsg.c: Likewise.
36191 * sunrpc/rpc_common.c: Likewise.
36192 * sunrpc/rpc_dtable.c: Likewise.
36193 * sunrpc/rpc_prot.c: Likewise.
36194 * sunrpc/rpc_thread.c: Likewise.
36195 * sunrpc/rtime.c: Likewise.
36196 * sunrpc/svc.c: Likewise.
36197 * sunrpc/svc_auth.c: Likewise.
36198 * sunrpc/svc_authux.c: Likewise.
36199 * sunrpc/svc_raw.c: Likewise.
36200 * sunrpc/svc_run.c: Likewise.
36201 * sunrpc/svc_simple.c: Likewise.
36202 * sunrpc/svc_tcp.c: Likewise.
36203 * sunrpc/svc_udp.c: Likewise.
36204 * sunrpc/svc_unix.c: Likewise.
36205 * sunrpc/svcauth_des.c: Likewise.
36206 * sunrpc/xcrypt.c: Likewise.
36207 * sunrpc/xdr.c: Likewise.
36208 * sunrpc/xdr_array.c: Likewise.
36209 * sunrpc/xdr_float.c: Likewise.
36210 * sunrpc/xdr_intXX_t.c: Likewise.
36211 * sunrpc/xdr_mem.c: Likewise.
36212 * sunrpc/xdr_rec.c: Likewise.
36213 * sunrpc/xdr_ref.c: Likewise.
36214 * sunrpc/xdr_sizeof.c: Likewise.
36215 * sunrpc/xdr_stdio.c: Likewise.
36217 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36220 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36221 * sysdeps/ia64/dl-tls.h: Likewise.
36222 * sysdeps/powerpc/dl-tls.h: Likewise.
36223 * sysdeps/s390/dl-tls.h: Likewise.
36224 * sysdeps/sh/dl-tls.h: Likewise.
36225 * sysdeps/sparc/dl-tls.h: Likewise.
36226 * sysdeps/x86_64/dl-tls.h: Likewise.
36227 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36229 2011-03-14 Andreas Schwab <schwab@redhat.com>
36231 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36232 rpath element also skip the following colon.
36233 (expand_dynamic_string_token): Add is_path parameter and pass
36234 down to DL_DST_REQUIRED and _dl_dst_substitute.
36235 (decompose_rpath): Call expand_dynamic_string_token with
36236 non-zero is_path. Ignore empty rpaths.
36237 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36240 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36245 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36248 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36249 Patch by Filipe David Manana <fdmanana@apache.org>.
36251 2011-04-07 Andreas Schwab <schwab@redhat.com>
36253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36254 Maintain aligned stack.
36255 (CHECK_RSP): Remove unused macro.
36257 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36259 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36260 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36262 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36264 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36266 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36268 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36272 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36273 * sysdeps/x86_64/memmove.c: New file.
36274 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36275 (memcpy): Renamed to ...
36276 (__new_memcpy): This.
36277 (memcpy): Provide GLIBC_2_14 memcpy.
36278 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36279 (memcpy): Provide GLIBC_2_2_5 memcpy.
36281 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36284 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36286 2011-03-30 Andreas Schwab <schwab@redhat.com>
36288 * misc/syncfs.c: New file.
36289 * misc/Makefile (routines): Add syncfs.
36290 * posix/unistd.h: Declare syncfs.
36291 * sysdeps/unix/syscalls.list: Add syncfs.
36293 2011-04-01 Andreas Schwab <schwab@redhat.com>
36295 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36302 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36305 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36315 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36316 sync_file_range.c with -fexceptions.
36317 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36318 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36319 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36320 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36321 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36322 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36324 sync_file_range as cancellation point
36325 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36326 now a wrapper around __call_sync_file_range with cancellation handling.
36327 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36328 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36329 function name to __call_sync_file_range.
36330 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36331 Add call_sync_file_range.
36333 2011-04-01 Andreas Schwab <schwab@redhat.com>
36335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36338 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36340 * iconv/iconv.h: Fix typo in comment.
36341 * io/fcntl.h: Likewise.
36342 * libio/stdio.h: Likewise.
36343 * posix/spawn.h: Likewise.
36344 * posix/unistd.h: Likewise.
36345 * stdlib/stdlib.h: Likewise.
36346 * time/time.h: Likewise.
36347 * wcsmbs/wchar.h: Likewise.
36349 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36350 open_by_handle): Add.
36351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36352 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36353 Augment a few comments.
36354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36355 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36356 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36359 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36362 * io/fcntl.h (AT_EMPTY_PATH): Define.
36364 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36366 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36367 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36368 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36370 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36371 * Versions.def: Add GLIBC_2.14.
36372 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36375 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36377 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36379 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36381 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36384 * string/test-strncmp.c (do_page_test): New function.
36385 (check2): Likewise.
36386 (test_main): Call check2.
36387 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36389 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36393 Handle cache information in CPU leaf 4.
36394 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36396 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36399 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36400 character representation.
36401 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36403 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36405 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36406 END(__isnan) to END(__isnanf) to match function entry point/label
36407 EALIGN(__isnanf,...).
36409 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36411 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36413 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36416 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36417 copy from the symbol referenced in the relocation to initialize the
36419 Patch by Piotr Bury <pbury@goahead.com>.
36420 * elf/Makefile: Add rules to build and tst-unique3.
36421 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36422 * elf/tst-unique3.cc: New file.
36423 * elf/tst-unique3.h: New file.
36424 * elf/tst-unique3lib.cc: New file.
36425 * elf/tst-unique3lib2.cc: New file.
36427 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36429 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36431 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36432 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36435 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36437 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36438 to-be-loaded object along a path to loader is ld.so.
36440 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36441 Ulrich Drepper <drepper@gmail.com>
36443 * sysdeps/x86_64/memset.S: After aligning destination, code
36444 branches to different locations depending on the value of
36445 misalignment, when multiarch is enabled. Fix this.
36447 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36449 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36450 Set _x86_64_preferred_memory_instruction for AMD processsors.
36451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36452 Set bit_Prefer_SSE_for_memop for AMD processors.
36454 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36456 * libio/fmemopen.c (fmemopen): Optimize a bit.
36458 2011-03-03 Andreas Schwab <schwab@redhat.com>
36460 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36462 2011-03-03 Roland McGrath <roland@redhat.com>
36464 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36466 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36468 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36469 __bzero_ultra1 instead of __memset_ultra1.
36471 2011-02-23 Andreas Schwab <schwab@redhat.com>
36472 Ulrich Drepper <drepper@gmail.com>
36475 * include/link.h (struct link_map): Add l_orig_initfini.
36476 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36477 returning unsuccessfully.
36478 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36479 close of a file loaded at startup, restore the original l_initfini
36481 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36482 list, store the pointer.
36483 * elf/Makefile ($(objpfx)noload-mem): New rule.
36484 (noload-ENV): Define.
36485 (tests): Add $(objpfx)noload-mem.
36486 * elf/noload.c: Include <memcheck.h>.
36487 (main): Call mtrace. Close all opened handles.
36489 2011-02-17 Andreas Schwab <schwab@redhat.com>
36492 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36493 dependencies are missing.
36495 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36497 Fix __if_freereq crash: Unlike the generic version which uses free,
36499 * sysdeps/mach/hurd/ifreq.h: New file.
36501 2011-01-27 Petr Baudis <pasky@suse.cz>
36502 Ulrich Drepper <drepper@gmail.com>
36505 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36506 to extend_alloca().
36507 * stdio-common/bug23.c: New file.
36508 * stdio-common/Makefile (tests): Add bug23.
36510 2010-09-28 Andreas Schwab <schwab@redhat.com>
36511 Ulrich Drepper <drepper@gmail.com>
36514 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36515 before performing relro protection. At old place add assertion
36516 to make sure nothing changed.
36518 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36519 Glauber de Oliveira Costa <glommer@gmail.com>
36521 * elf/elf.h: Add new ARM TLS relocs.
36523 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36526 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36528 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36530 * sysdeps/wordsize-64/tst-writev.c: New file.
36532 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36534 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36535 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36536 insns in _dl_start to prevent a TOC reference before relocs are
36539 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36542 * Makeconfig: Remove RANLIB definition.
36543 * Makerules: Don't use RANLIB.
36544 * aclocal.m4: Remove ranlib test.
36545 * configure.in: No need to check for ranlib.
36546 * elf/rtld-Rules: Don't use RANLIB.
36548 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36550 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36552 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36553 inclusion protection macro.
36555 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36556 SIGRTMIN and SIGRTMAX and print information in that case only when
36557 SIGRTMIN is defined.
36559 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36561 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36562 arginfo fn returning -1.
36564 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36565 and thousands string is zero terminated.
36567 2011-02-03 Andreas Schwab <schwab@redhat.com>
36569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36570 sysdeps/unix/sysv/linux/bits/socket.h.
36572 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36574 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36575 (__CPU_COUNT): Remove old macros.
36576 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36577 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36578 (__CPU_ALLOC, __CPU_FREE): Add macros.
36579 (__sched_cpualloc, __sched_cpufree): Add declarations.
36581 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36583 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36584 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36585 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36586 (readdhstai): Return value of addhstaiX call.
36587 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36588 (addgrbyX): Return value returned by cache_addgr.
36589 (readdgrbyname): Return value returned by addgrbyX.
36590 (readdgrbygid): Likewise.
36591 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36592 (addpwbyX): Return value returned by cache_addpw.
36593 (readdpwbyname): Return value returned by addhstbyX.
36594 (readdpwbyuid): Likewise.
36595 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36596 (addservbyX): Return value returned by cache_addserv.
36597 (readdservbyname): Return value returned by addservbyX:
36598 (readdservbyport): Likewise.
36599 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36600 (addhstbyX): Return value returned by cache_addhst.
36601 (readdhstbyname): Return value returned by addhstbyX.
36602 (readdhstbyaddr): Likewise.
36603 (readdhstbynamev6): Likewise.
36604 (readdhstbyaddrv6): Likewise.
36605 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36606 (readdinitgroups): Return value returned by addinitgroupsX.
36607 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36608 (prune_cache): Keep track of timeout value of re-added entries.
36609 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36610 * nscd/nscd.h: Adjust prototypes of readd* functions.
36612 2011-02-04 Roland McGrath <roland@redhat.com>
36614 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36615 (nis_stats): Likewise.
36616 * nis/nis_modify.c (nis_modify): Likewise.
36617 * nis/nis_remove.c (nis_remove): Likewise.
36618 * nis/nis_add.c (nis_add): Likewise.
36620 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36622 * posix/fnmatch_loop.c: Add some consts.
36624 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36626 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36629 * config.make.in (config-cflags-novzeroupper): Define.
36630 * configure.in: Substitute libc_cv_cc_novzeroupper.
36631 * elf/Makefile (AVX-CFLAGS): Define.
36632 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36633 (CFLAGS-tst-auditmod4a.c): Likewise.
36634 (CFLAGS-tst-auditmod4b.c): Likewise.
36635 (CFLAGS-tst-auditmod6b.c): Likewise.
36636 (CFLAGS-tst-auditmod6c.c): Likewise.
36637 (CFLAGS-tst-auditmod7b.c): Likewise.
36638 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36640 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36642 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36643 function to the callback.
36644 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36646 2011-02-02 Andreas Schwab <schwab@redhat.com>
36648 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36651 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36654 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36656 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36658 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36661 * elf/Makefile: Add rules to build and run new test.
36662 * elf/tst-initorder.c: New file.
36663 * elf/tst-initorder.exp: New file.
36664 * elf/tst-initordera1.c: New file.
36665 * elf/tst-initordera2.c: New file.
36666 * elf/tst-initordera3.c: New file.
36667 * elf/tst-initordera4.c: New file.
36668 * elf/tst-initorderb1.c: New file.
36669 * elf/tst-initorderb2.c: New file.
36670 * elf/tst-order-a1.c: New file.
36671 * elf/tst-order-a2.c: New file.
36672 * elf/tst-order-a3.c: New file.
36673 * elf/tst-order-a4.c: New file.
36674 * elf/tst-order-b1.c: New file.
36675 * elf/tst-order-b2.c: New file.
36676 * elf/tst-order-main.c: New file.
36677 New test case by George Gensure <werkt0@gmail.com>.
36679 2010-10-01 Andreas Schwab <schwab@redhat.com>
36681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36682 decoding ACE if AI_CANONIDN.
36684 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36686 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36688 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36690 * version.h (RELEASE): Bump for 2.13 release.
36691 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36693 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36695 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36697 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36698 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36699 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36700 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36701 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36702 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36704 * posix/getconf.c: Update copyright year.
36705 * catgets/gencat.c: Likewise.
36706 * csu/version.c: Likewise.
36707 * debug/catchsegv.sh: Likewise.
36708 * debug/xtrace.sh: Likewise.
36709 * elf/ldconfig.c: Likewise.
36710 * elf/ldd.bash.in: Likewise.
36711 * elf/sprof.c (print_version): Likewise.
36712 * iconv/iconv_prog.c: Likewise.
36713 * iconv/iconvconfig.c: Likewise.
36714 * locale/programs/locale.c: Likewise.
36715 * locale/programs/localedef.c: Likewise.
36716 * malloc/memusage.sh: Likewise.
36717 * malloc/mtrace.pl: Likewise.
36718 * nscd/nscd.c (print_version): Likewise.
36719 * nss/getent.c: Likewise.
36721 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36722 PF_CAIF, and PF_ALG.
36723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36725 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36727 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36728 (modules-names): Use them.
36729 (ifunc-test-modules, ifunc-pie-tests): Define.
36730 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36731 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36732 (test-extras): Likewise.
36733 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36734 $(compile-command.c).
36735 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36736 (all-built-dso): Define.
36737 (check-textrel.out, check-execstack.out): Depend on it.
36739 * configure.in: Don't override --enable-multi-arch.
36741 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36744 * nscd/hstcache.c (tryagain): Define.
36745 (cache_addhst): Return tryagain not notfound for temporary errors.
36746 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36749 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36752 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36753 to make the syscall.
36754 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36757 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36758 and fall back to matching as normal character if the string ends before
36759 the matching ']' is found. This is what POSIX requires.
36760 * posix/testfnm.c: Adjust test result.
36761 * posix/globtest.sh: Adjust test result. Add new test.
36762 * posix/tst-fnmatch.input: Likewise.
36763 * posix/tst-fnmatch2.c: Add new test.
36765 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36767 * elf/Makefile (check-execstack): Revert last change. Depend on
36769 (check-execstack.h): New target.
36770 (generated): Add check-execstack.h.
36771 * elf/check-execstack.c: Include "check-execstack.h".
36772 (main): Revert last change.
36773 (handle_file): Return zero if GNU_STACK is absent and
36774 DEFAULT_STACK_PERMS doesn't include PF_X.
36776 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36778 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36779 in child fails because the descriptor is already closed.
36780 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36781 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36782 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36785 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36789 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36790 temporary buffer used to handle multi lookups locally.
36791 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36793 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36795 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36798 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36800 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36801 alignment for SSE2.
36803 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36806 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36807 characters. When rounding increased number of integer digits recompute
36809 * stdio-common/tst-grouping.c: New file.
36810 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36812 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36814 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36815 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36817 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36819 * bits/select.h: Likewise.
36821 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36823 * po/ja.po: Update from translation team.
36825 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36828 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36829 implementation just like for lxstat, fxstatat, et al.
36831 2010-12-27 Jim Meyering <meyering@redhat.com>
36834 * posix/regexec.c (build_trtable): Return failure indication upon
36835 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36837 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36840 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36841 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36842 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36843 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36846 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36849 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36850 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36852 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36854 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36855 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36856 script has SORT_BY_INIT_PRIORITY.
36857 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36858 NO_CTORS_DTORS_SECTIONS is defined.
36859 * elf/soinit.c: Likewise.
36860 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36861 NO_CTORS_DTORS_SECTIONS is defined.
36862 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36863 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36864 * sysdeps/sh/init-first.c: Likewise.
36865 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36867 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36869 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36870 always use the slow path.
36872 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36874 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36875 similar rule which adds the sysdep directories to the header search in
36876 order to pick up the correct platform stackinfo.h.
36877 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36878 perform test if it is, otherwise return successfully without testing.
36879 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36880 DEFAULT_STACK_PERMS define in stackinfo.h.
36881 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36882 defined in stackinfo.h.
36883 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36884 DEFAULT_STACK_PERMS defined in stackinfo.h.
36885 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36886 * sysdeps/ia64/stackinfo.h: Likewise.
36887 * sysdeps/s390/stackinfo.h: Likewise.
36888 * sysdeps/sh/stackinfo.h: Likewise.
36889 * sysdeps/sparc/stackinfo.h: Likewise.
36890 * sysdeps/x86_64/stackinfo.h: Likewise.
36891 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36892 PF_X for powerpc64. Retain PF_X for powerpc32.
36894 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36896 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36898 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36899 GETDENTS_64BIT_ALIGNED.
36901 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36903 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36905 2010-12-10 Andreas Schwab <schwab@redhat.com>
36907 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36910 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36911 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36913 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36914 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36916 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36919 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36922 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36924 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36926 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36928 * po/it.po: Update from translation team.
36930 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36935 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36937 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36939 2010-11-24 Andreas Schwab <schwab@redhat.com>
36941 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36943 (gaih_getanswer_slice): Likewise.
36945 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36949 2010-05-31 Petr Baudis <pasky@suse.cz>
36952 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36953 silently even in the chroot mode.
36955 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36958 last patch a bit. Pretty printing
36960 2010-05-31 Petr Baudis <pasky@suse.cz>
36963 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36964 initialization of skip_initgroups_dyn.
36966 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36969 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36971 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36973 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36975 2010-11-11 Andreas Schwab <schwab@redhat.com>
36977 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36978 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36979 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36980 ($(objpfx)tst-fnmatch-mem): New rule.
36981 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36982 * posix/tst-fnmatch.c (main): Call mtrace.
36984 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36987 Support Intel processor model 6 and model 0x2c.
36989 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36994 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36997 * string/test-strncasecmp.c (check_result): New function.
36998 (do_one_test): Use it.
36999 (check1): New function.
37000 (test_main): Use it.
37001 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37002 Support strcasecmp and strncasecmp.
37004 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37007 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37010 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37012 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37016 * sysdeps/x86_64/multiarch/bzero.S: New file.
37017 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37018 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37019 * sysdeps/x86_64/multiarch/memset.S: New file.
37020 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37022 Set bit_Prefer_SSE_for_memop for Intel processors.
37023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37025 (index_Prefer_SSE_for_memop): Define.
37026 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37028 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37030 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37031 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37033 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37036 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37037 (__x86_64_raw_data_cache_size_half): Likewise.
37038 (__x86_64_raw_shared_cache_size): Likewise.
37039 (__x86_64_raw_shared_cache_size_half): Likewise.
37041 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37042 (__x86_64_raw_data_cache_size_half): Likewise.
37043 (__x86_64_raw_shared_cache_size): Likewise.
37044 (__x86_64_raw_shared_cache_size_half): Likewise.
37045 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37046 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37047 and __x86_64_raw_shared_cache_size_half. Round
37048 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37049 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37050 to multiple of 256 bytes.
37052 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37055 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37056 of inacessible symlinks. Verify result of symlink before returning it.
37057 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37058 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37060 2010-10-28 Erich Ritz <erichritz@gmail.com>
37062 * math/math.h (isinf): Fix typo in comment.
37064 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37066 * po/da.po: Update from translation team.
37068 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37070 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37071 is added to the list.
37073 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37074 Ulrich Drepper <drepper@gmail.com>
37076 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37077 the global list here. Move code to...
37078 (_dl_add_to_namespace_list): ...here. New function.
37079 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37080 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37081 * elf/dl-load.c (lose): Don't remove the element from the list.
37082 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37083 (_dl_map_object): Likewise.
37085 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37088 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37089 into all bytes of SSE register.
37090 Patch by Richard Li <richardpku@gmail.com>.
37092 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37095 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37098 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37100 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37101 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37102 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37103 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37108 2010-10-22 Andreas Schwab <schwab@redhat.com>
37110 * include/dlfcn.h (__RTLD_SECURE): Define.
37111 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37112 mode & __RTLD_SECURE instead.
37113 (open_path): Rename preloaded parameter to secure.
37114 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37115 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37116 * elf/dl-deps.c (openaux): Likewise.
37117 * elf/rtld.c (struct map_args): Remove is_preloaded.
37118 (map_doit): Don't use it.
37119 (dl_main): Likewise.
37120 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37121 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37123 2010-09-09 Andreas Schwab <schwab@redhat.com>
37125 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37126 (sysd-rules-targets): Remove duplicates.
37127 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37128 rtld-%.$o dependency.
37130 2010-10-18 Andreas Schwab <schwab@redhat.com>
37132 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37133 _dl_map_object do it.
37135 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37137 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37138 fast fma builtins, define the macros in the C99 standard.
37139 (FP_FAST_FMAF): Likewise.
37140 (FP_FAST_FMAL): Likewise.
37141 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37143 * bits/mathdef.h: Update copyright year.
37144 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37146 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37148 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37149 builtins, define the macros in the C99 standard.
37150 (FP_FAST_FMAF): Likewise.
37151 (FP_FAST_FMAL): Likewise.
37152 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37154 (FP_FAST_FMAF): Likewise.
37156 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37159 * math/libm-test.inc (fma_test): Some new testcases.
37160 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37162 y and infinite z. Do multiplication by C already in long double.
37163 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37165 y and infinite z. Do bitwise or of inexact bit into u.d.
37166 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37167 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37168 * sysdeps/i386/fpu/s_fma.S: Removed.
37169 * sysdeps/i386/fpu/s_fmal.S: Removed.
37171 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37174 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37176 computation is not scheduled after fetestexcept. Fix value
37177 of minimum denormal long double.
37179 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37182 * math/libm-test.inc (fma_test): Add some more tests.
37183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37186 2010-10-15 Andreas Schwab <schwab@redhat.com>
37188 * scripts/data/localplt-s390-linux-gnu.data: New file.
37189 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37191 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37194 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37195 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37197 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37199 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37201 if one of x and y is very large and the other is subnormal.
37202 * sysdeps/s390/fpu/s_fmaf.c: New file.
37203 * sysdeps/s390/fpu/s_fma.c: New file.
37204 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37205 * sysdeps/powerpc/fpu/s_fma.S: New file.
37206 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37207 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37208 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37210 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37213 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37215 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37216 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37217 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37218 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37219 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37220 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37223 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37226 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37227 * posix/bug-regex31.input: Add test case.
37229 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37231 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37232 * posix/bug-regex31.input: New file.
37235 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37236 (parse_sub_exp): Fix last change, use postorder.
37238 * posix/bug-regex31.c: New file.
37239 * posix/Makefile: Add rules to build and run bug-regex31.
37241 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37244 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37247 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37248 to have entries in sys_siglist.
37251 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37254 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37257 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37258 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37259 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37260 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37261 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37262 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37263 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37264 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37265 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37266 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37267 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37268 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37269 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37270 * math/ftestexcept.c (fetestexcept): Likewise.
37271 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37272 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37273 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37274 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37275 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37276 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37277 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37279 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37282 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37285 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37287 * string/bug-strstr1.c: New file.
37288 * string/Makefile: Add rules to build and run bug-strstr1.
37290 2010-10-05 Eric Blake <eblake@redhat.com>
37293 * string/str-two-way.h (two_way_long_needle): Always clear memory
37294 when skipping input due to the shift table.
37296 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37299 * malloc/mcheck.c: Handle large requests.
37302 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37303 for strncmp and strncasecmp.
37304 * string/stratcliff.c: Add tests for strcmp and strncmp.
37305 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37307 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37309 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37312 2010-09-30 Andreas Jaeger <aj@suse.de>
37314 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37315 (CGROUP_SUPER_MAGIC): Define.
37316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37317 Handle btrfs and cgroup file systems.
37318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37321 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37323 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37324 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37326 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37329 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37330 trying to locate the ELF header.
37332 2010-09-27 Andreas Schwab <schwab@redhat.com>
37335 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37336 Mask out sign-bit copies when constructing f_fsid.
37338 2010-09-24 Petr Baudis <pasky@suse.cz>
37340 * debug/stack_chk_fail_local.c: Add missing licence exception.
37341 * debug/warning-nop.c: Likewise.
37343 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37345 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37346 implementing getdents64 using getdents syscall, set d_type if
37347 __ASSUME_GETDENTS32_D_TYPE.
37349 2010-09-16 Andreas Schwab <schwab@redhat.com>
37351 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37352 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37354 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37357 * posix/unistd.h: Undo change of feature selection for ftruncate from
37360 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37362 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37365 2010-09-20 Andreas Schwab <schwab@redhat.com>
37367 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37369 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37371 2010-09-14 Andreas Schwab <schwab@redhat.com>
37373 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37374 variables after CHECK_SP call.
37375 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37377 2010-09-13 Andreas Schwab <schwab@redhat.com>
37378 Ulrich Drepper <drepper@redhat.com>
37380 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37381 re-relocationg ld.so.
37382 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37383 _dl_init_paths call.
37384 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37387 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37389 * resolv/res_init.c (__res_vinit): Count the default server we added.
37391 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37392 Ulrich Drepper <drepper@redhat.com>
37395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37396 (____longjmp_chk): Use %ebx for saving value across system call.
37399 2010-09-06 Andreas Schwab <schwab@redhat.com>
37401 * manual/Makefile: Don't mix pattern rules with normal rules.
37403 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37405 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37407 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37408 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37409 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37410 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37414 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37417 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37418 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37420 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37422 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37423 * sysdeps/x86_64/addmul_1.S: Likewise.
37424 * sysdeps/x86_64/lshift.S: Likewise.
37425 * sysdeps/x86_64/mul_1.S: Likewise.
37426 * sysdeps/x86_64/rshift.S: Likewise.
37427 * sysdeps/x86_64/sub_n.S: Likewise.
37428 * sysdeps/x86_64/submul_1.S: Likewise.
37430 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37432 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37433 Define __sched_param instead of SCHED_* and sched_param when
37434 <bits/sched.h> is included with __need_schedparam defined.
37435 * bits/sched.h [__need_schedparam]
37436 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37437 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37438 (__defined_schedparam): Define to 1.
37439 (__sched_param): New structure, identical to sched_param.
37440 (__need_schedparam): Undefine.
37442 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37445 (epoll_create1): Declare.
37447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37449 2010-08-31 Andreas Schwab <schwab@redhat.com>
37452 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37453 shifting retval into place.
37455 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37457 * nis/rpcsvc/nis.h: Update copyright notice.
37458 * nis/rpcsvc/nis.x: Likewise.
37459 * nis/rpcsvc/nis_callback.h: Likewise.
37460 * nis/rpcsvc/nis_callback.x: Likewise.
37461 * nis/rpcsvc/nis_object.x: Likewise.
37462 * nis/rpcsvc/nis_tags.h: Likewise.
37463 * nis/rpcsvc/yp.h: Likewise.
37464 * nis/rpcsvc/yp.x: Likewise.
37465 * nis/rpcsvc/ypupd.h: Likewise.
37466 * nis/yp_xdr.c: Likewise.
37467 * nis/ypupdate_xdr.c: Likewise.
37469 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37470 mainly the body of pmap_getport. Add parameters to specify timeouts.
37471 (pmap_getport): Use __libc_rpc_getport.
37472 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37473 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37474 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37476 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37481 2010-08-27 Roland McGrath <roland@redhat.com>
37483 * sysdeps/i386/i686/multiarch/Makefile
37484 (CFLAGS-varshift.c): New variable.
37486 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37488 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37489 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37493 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37495 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37497 * sysdeps/x86_64/strlen.S: Unroll the loop.
37498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37499 strlen-sse2 strlen-sse2-bsf.
37500 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37501 __strlen_no_bsf if bit_Slow_BSF is set.
37502 (__strlen_sse42): Removed.
37503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37504 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37506 2010-08-25 Roland McGrath <roland@redhat.com>
37508 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37509 * sysdeps/x86_64/multiarch/varshift.c: New file.
37510 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37511 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37512 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37513 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37515 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37518 strlen-sse2 strlen-sse2-bsf.
37519 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37520 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37521 (__strlen_sse2): Removed.
37522 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37523 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37525 bit_Slow_BSF for Atom.
37526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37527 (index_Slow_BSF): Define.
37528 (HAS_SLOW_BSF): Define.
37530 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37533 * resolv/res_init.c (__res_vinit): When no server address at all
37534 is given default to loopback.
37536 2010-08-24 Roland McGrath <roland@redhat.com>
37538 * configure.in: Remove config-name.h generation.
37539 * configure: Regenerated.
37540 * config-name.in: File removed.
37541 * scripts/config-uname.sh: New file.
37542 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37543 ($(objdir)config-name.h): New target.
37545 * sunrpc/rpc_parse.h: Avoid nested comment.
37547 2010-08-24 Richard Henderson <rth@redhat.com>
37548 Ulrich Drepper <drepper@redhat.com>
37549 H.J. Lu <hongjiu.lu@intel.com>
37551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37553 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37554 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37555 _mm_alignr_epi8 with _mm_loadu_si128.
37556 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37557 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37558 (__m128i_shift_right): Removed.
37559 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37560 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37561 * sysdeps/x86_64/multiarch/varshift.h: New file.
37562 * sysdeps/x86_64/multiarch/varshift.S: New file.
37564 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37566 * configure.in: Move assembler checks to before sysdep dir checking.
37568 2010-08-20 Petr Baudis <pasky@suse.cz>
37570 * LICENSES: Sync the sunrpc license.
37572 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37574 * sunrpc/auth_des.c: Update copyright notice once again.
37575 * sunrpc/auth_none.c: Likewise.
37576 * sunrpc/auth_unix.c: Likewise.
37577 * sunrpc/authdes_prot.c: Likewise.
37578 * sunrpc/authuxprot.c: Likewise.
37579 * sunrpc/bindrsvprt.c: Likewise.
37580 * sunrpc/clnt_gen.c: Likewise.
37581 * sunrpc/clnt_perr.c: Likewise.
37582 * sunrpc/clnt_raw.c: Likewise.
37583 * sunrpc/clnt_simp.c: Likewise.
37584 * sunrpc/clnt_tcp.c: Likewise.
37585 * sunrpc/clnt_udp.c: Likewise.
37586 * sunrpc/clnt_unix.c: Likewise.
37587 * sunrpc/des_crypt.c: Likewise.
37588 * sunrpc/des_soft.c: Likewise.
37589 * sunrpc/get_myaddr.c: Likewise.
37590 * sunrpc/getrpcport.c: Likewise.
37591 * sunrpc/key_call.c: Likewise.
37592 * sunrpc/key_prot.c: Likewise.
37593 * sunrpc/openchild.c: Likewise.
37594 * sunrpc/pm_getmaps.c: Likewise.
37595 * sunrpc/pm_getport.c: Likewise.
37596 * sunrpc/pmap_clnt.c: Likewise.
37597 * sunrpc/pmap_prot.c: Likewise.
37598 * sunrpc/pmap_prot2.c: Likewise.
37599 * sunrpc/pmap_rmt.c: Likewise.
37600 * sunrpc/rpc/auth.h: Likewise.
37601 * sunrpc/rpc/auth_unix.h: Likewise.
37602 * sunrpc/rpc/clnt.h: Likewise.
37603 * sunrpc/rpc/des_crypt.h: Likewise.
37604 * sunrpc/rpc/key_prot.h: Likewise.
37605 * sunrpc/rpc/netdb.h: Likewise.
37606 * sunrpc/rpc/pmap_clnt.h: Likewise.
37607 * sunrpc/rpc/pmap_prot.h: Likewise.
37608 * sunrpc/rpc/pmap_rmt.h: Likewise.
37609 * sunrpc/rpc/rpc.h: Likewise.
37610 * sunrpc/rpc/rpc_des.h: Likewise.
37611 * sunrpc/rpc/rpc_msg.h: Likewise.
37612 * sunrpc/rpc/svc.h: Likewise.
37613 * sunrpc/rpc/svc_auth.h: Likewise.
37614 * sunrpc/rpc/types.h: Likewise.
37615 * sunrpc/rpc/xdr.h: Likewise.
37616 * sunrpc/rpc_clntout.c: Likewise.
37617 * sunrpc/rpc_cmsg.c: Likewise.
37618 * sunrpc/rpc_common.c: Likewise.
37619 * sunrpc/rpc_cout.c: Likewise.
37620 * sunrpc/rpc_dtable.c: Likewise.
37621 * sunrpc/rpc_hout.c: Likewise.
37622 * sunrpc/rpc_main.c: Likewise.
37623 * sunrpc/rpc_parse.c: Likewise.
37624 * sunrpc/rpc_parse.h: Likewise.
37625 * sunrpc/rpc_prot.c: Likewise.
37626 * sunrpc/rpc_sample.c: Likewise.
37627 * sunrpc/rpc_scan.c: Likewise.
37628 * sunrpc/rpc_scan.h: Likewise.
37629 * sunrpc/rpc_svcout.c: Likewise.
37630 * sunrpc/rpc_tblout.c: Likewise.
37631 * sunrpc/rpc_util.c: Likewise.
37632 * sunrpc/rpc_util.h: Likewise.
37633 * sunrpc/rpcinfo.c: Likewise.
37634 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37635 * sunrpc/rpcsvc/key_prot.x: Likewise.
37636 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37637 * sunrpc/rpcsvc/mount.x: Likewise.
37638 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37639 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37640 * sunrpc/rpcsvc/rex.x: Likewise.
37641 * sunrpc/rpcsvc/rstat.x: Likewise.
37642 * sunrpc/rpcsvc/rusers.x: Likewise.
37643 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37644 * sunrpc/rpcsvc/spray.x: Likewise.
37645 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37646 * sunrpc/rtime.c: Likewise.
37647 * sunrpc/svc.c: Likewise.
37648 * sunrpc/svc_auth.c: Likewise.
37649 * sunrpc/svc_authux.c: Likewise.
37650 * sunrpc/svc_raw.c: Likewise.
37651 * sunrpc/svc_run.c: Likewise.
37652 * sunrpc/svc_simple.c: Likewise.
37653 * sunrpc/svc_tcp.c: Likewise.
37654 * sunrpc/svc_udp.c: Likewise.
37655 * sunrpc/svc_unix.c: Likewise.
37656 * sunrpc/svcauth_des.c: Likewise.
37657 * sunrpc/xcrypt.c: Likewise.
37658 * sunrpc/xdr.c: Likewise.
37659 * sunrpc/xdr_array.c: Likewise.
37660 * sunrpc/xdr_float.c: Likewise.
37661 * sunrpc/xdr_mem.c: Likewise.
37662 * sunrpc/xdr_rec.c: Likewise.
37663 * sunrpc/xdr_ref.c: Likewise.
37664 * sunrpc/xdr_sizeof.c: Likewise.
37665 * sunrpc/xdr_stdio.c: Likewise.
37667 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37670 2010-08-19 Andreas Schwab <schwab@redhat.com>
37672 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37674 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37676 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37677 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37678 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37679 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37680 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37681 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37682 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37683 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37685 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37686 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37687 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37688 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37689 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37691 2010-07-26 Anton Blanchard <anton@samba.org>
37693 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37694 * malloc/arena.c (heap_trim): Likewise.
37696 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37698 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37701 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37703 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37705 * sysdeps/i386/elf/Makefile: New file.
37707 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37709 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37710 from fanotify_init.
37711 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37714 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37716 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37718 * sysdeps/multiarch/strcmp.S: Likewise.
37720 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37722 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37723 strncase_l-nonascii.
37724 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37725 Add strncase_l-ssse3.
37726 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37727 * sysdeps/x86_64/strcmp.S: Likewise.
37728 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37729 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37730 * sysdeps/x86_64/strncase.S: New file.
37731 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37732 * sysdeps/x86_64/strncase_l.S: New file.
37733 * string/Makefile (strop-tests): Add strncasecmp.
37734 * string/test-strncasecmp.c: New file.
37736 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37739 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37740 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37742 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37744 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37746 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37748 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37749 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37750 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37752 2010-05-01 Alan Modra <amodra@gmail.com>
37754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37755 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37756 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37757 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37758 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37759 tidying. Don't tail-call __sigjmp_save for static lib.
37760 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37762 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37763 (CALL_MCOUNT): Add eh info, and nop after bl.
37764 (TAIL_CALL_SYSCALL_ERROR): New macro.
37765 (PSEUDO_RET): Use it.
37766 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37767 Correct save location of integer regs and cr.
37768 (_dl_profile_resolve): Correct cr save location. Delete nops
37769 after bl when SHARED. Reduce cfi size a little by better
37770 placement of cfi directives.
37771 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37772 make a stack frame. Instead use parm save area as a temp.
37773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37774 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37776 Don't make a stack frame for parent, use parm save area.
37777 Increase child stack frame to 112 bytes. Don't save unused reg,
37778 and adjust reg usage. Set up cfi on error recovery and
37779 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37781 (__makecontext): Add dummy nop after jump to exit.
37782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37783 Use correct parm save area and cr save, reduce stack frame.
37784 Correct cfi for possible PSEUDO_RET frame setup.
37785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37786 Branch to local label emitted by PSEUDO_RET rather than
37789 2010-08-12 Andreas Schwab <schwab@redhat.com>
37792 * locale/programs/locale.c (print_assignment): New function.
37793 (show_locale_vars): Use it.
37795 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37797 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37799 (struct statfs64): Likewise.
37800 (_STATFS_F_FLAGS): Define.
37801 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37803 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37804 (ST_VALID): Define locally.
37805 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37806 __statvfs_getflags, use the provided value.
37807 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37808 __ASSUME_STATFS_F_FLAGS.
37810 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37812 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37813 Add sys/fanotify.h.
37814 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37815 fanotify_mask for GLIBC_2.13.
37816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37817 fanotify_init and fanotify_mark.
37818 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37819 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37821 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37823 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37824 prlimit64 for GLIBC_2.13.
37825 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37830 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37831 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37832 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37835 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37838 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37839 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37841 * nss/Makefile: Add rules to build and run tst-nss-test1.
37842 * shlib-versions: Add entry for libnss_test1.
37843 * nss/nss_test1.c: New file.
37844 * nss/tst-nss-test1.c: New file.
37846 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37847 (__nss_configure_lookup): Set appropriate entry in
37848 __nss_configure_lookup to true.
37849 * nss/nsswitch.h: Define enum with indeces of databases in
37850 databases and __nss_database_custom arrays. Declare
37851 __nss_database_custom.
37852 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37853 to avoid using nscd when custom rules are installed.
37854 * nss/getXXbyYY_r.c: Likewise.
37855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37857 * nss/nss_files/files-parse.c: Whitespace fixes.
37859 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37862 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37863 * posix/fnmatch_loop.c: Likewise.
37865 2010-07-17 Andi Kleen <ak@linux.intel.com>
37867 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37868 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37869 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37870 * Versions.def [GLIBC_2.13]: Add.
37872 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37875 Also fail if tpwd after pwuid call is NULL.
37877 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37879 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37880 when converting to ms.
37882 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37884 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37885 EOPNOTSUPP errors with ENOTTY.
37886 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37887 EOPNOTSUPP errors with ENOTTY.
37889 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37891 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37892 Add strcasecmp_l-ssse3.
37893 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37895 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37896 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37897 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37899 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37901 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37903 * string/Makefile (strop-tests): Add strcasecmp.
37904 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37905 strcasecmp_l-nonascii.
37906 (gen-as-const-headers): Add locale-defines.sym.
37907 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37908 * sysdeps/x86_64/strcasecmp.S: New file.
37909 * sysdeps/x86_64/strcasecmp_l.S: New file.
37910 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37911 * sysdeps/x86_64/locale-defines.sym: New file.
37912 * string/test-strcasecmp.c: New file.
37914 * string/test-strcasestr.c: Test both ends of the range of characters.
37915 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37917 2010-07-29 Roland McGrath <roland@redhat.com>
37920 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37922 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37924 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37927 2010-07-27 Andreas Schwab <schwab@redhat.com>
37929 * manual/memory.texi (Malloc Tunable Parameters): Document
37932 2010-07-26 Roland McGrath <roland@redhat.com>
37935 * configure.in (-fgnu89-inline check): Set and substitute
37936 gnu89_inline, not libc_cv_gnu89_inline.
37937 * configure: Regenerated.
37938 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37940 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37942 * string/test-strnlen.c: New file.
37943 * string/Makefile (strop-tests): Add strnlen.
37944 * string/tester.c (test_strnlen): Add a few more test cases.
37945 * string/tst-strlen.c: Better error reporting.
37947 * sysdeps/x86_64/strnlen.S: New file.
37949 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37951 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37952 lower-latency instructions.
37954 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37956 * string/test-strcasestr.c: New file.
37957 * string/test-strstr.c: New file.
37958 * string/Makefile (strop-tests): Add strstr and strcasestr.
37959 * string/str-two-way.h: Don't undefine MAX.
37960 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37962 2010-07-21 Andreas Schwab <schwab@redhat.com>
37964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37965 strcasestr-nonascii.
37966 (CFLAGS-strcasestr-nonascii.c): Define.
37967 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37969 Remove unused attribute.
37971 2010-07-20 Roland McGrath <roland@redhat.com>
37973 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37974 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37975 ld.so.cache was broken. With it, there is no way to disable dsocaps
37976 like LD_HWCAP_MASK can disable hwcaps.
37978 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37980 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37982 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37984 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37985 call in strcasestr.
37986 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37987 __strcasestr_sse42_nonascii.
37988 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37989 strcasestr-nonascii.c.
37990 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37992 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37995 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37999 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38004 2010-07-06 Andreas Schwab <schwab@redhat.com>
38007 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38010 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38012 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38013 _PC_PIPE_BUF using F_GETPIPE_SZ.
38015 2010-07-05 Roland McGrath <roland@redhat.com>
38017 * manual/arith.texi (Rounding Functions): Fix rint description
38018 implicit in round description.
38020 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38022 * elf/Makefile: Fix linking for a few tests to make recent linker
38025 2010-06-30 Andreas Schwab <schwab@redhat.com>
38027 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38028 $(common-objpfx)libc_nonshared.a.
38030 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38032 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38033 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38034 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38035 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38036 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38037 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38038 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38039 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38054 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38055 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38056 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38057 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38058 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38059 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38060 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38061 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38062 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38063 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38064 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38065 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38081 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38083 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38084 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38085 * string/memmove.c (memmove): Renamed to ...
38086 (MEMMOVE): ...this. Default to memmove.
38087 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38088 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38091 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38092 mempcpy-ssse3-back memmove-ssse3-back.
38093 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38096 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38097 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38098 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38099 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38100 * sysdeps/x86_64/multiarch/memmove.c: New file.
38101 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38102 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38103 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38104 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38105 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38108 (index_Fast_Copy_Backward): Define.
38109 (HAS_ARCH_FEATURE): Define.
38110 (HAS_FAST_REP_STRING): Define.
38111 (HAS_FAST_COPY_BACKWARD): Define.
38113 2010-06-21 Andreas Schwab <schwab@redhat.com>
38115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38116 Restore proper fallback handling.
38118 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38121 * posix/group_member.c (__group_member): Correct checking loop.
38123 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38124 OOM in getpwuid_r correctly. Return error number when the caller
38125 should return, otherwise -1.
38126 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38127 call returning > 0 value.
38128 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38130 2010-06-07 Andreas Schwab <schwab@redhat.com>
38132 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38133 libc_nonshared.a from targets in modules-names.
38135 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38137 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38140 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38142 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38143 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38145 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38147 2010-06-02 Andreas Schwab <schwab@redhat.com>
38149 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38151 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38153 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38162 2010-06-14 Roland McGrath <roland@redhat.com>
38164 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38166 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38168 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38169 __REDIRECT followed by __THROW.
38170 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38171 * posix/getopt.h (getopt): Likewise.
38173 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38175 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38176 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38177 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38179 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38180 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38182 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38186 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38190 Properly check family and model.
38192 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38194 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38196 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38198 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38200 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38202 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38205 2010-05-19 Andreas Schwab <schwab@redhat.com>
38207 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38210 2010-05-21 Andreas Schwab <schwab@redhat.com>
38212 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38213 and internal_recvmmsg.
38214 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38215 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38216 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38217 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38219 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38220 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38221 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38223 2010-05-20 Andreas Schwab <schwab@redhat.com>
38225 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38227 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38229 POWER7 optimizations.
38230 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38231 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38233 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38235 * version.h: Update for 2.13 development version.
38237 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38239 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38240 exceptions. Return 0.
38242 2010-05-07 Roland McGrath <roland@redhat.com>
38244 * elf/ldconfig.c (main): Add a const.
38246 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38248 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38249 (args_options): Add no-idn option.
38250 (ahosts_keys_int): Add idn_flags to ai_flags.
38251 (parse_option): Handle 'i' option to clear idn_flags.
38253 * malloc/malloc.c (_int_free): Possible race in the most recently
38254 added check. Only act on the data if no current modification
38257 See ChangeLog.17 for earlier changes.