1 2014-01-04 Mike Frysinger <vapier@gentoo.org>
3 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4 * sysdeps/unix/sysv/linux/configure: Regenerated.
5 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17 extra tokens at end of #undef directive.
18 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22 2014-01-03 Andrew Hunter <ahh@google.com>
24 * elf/dl-open.c (dl_open_worker): New comment.
25 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
26 atomic_compare_and_exchange_bool_acq
27 (_dl_allocate_static_tls): Block signals.
28 * elf/dl-tls.c (allocate_and_init): Return void.
29 (_dl_update_slotinfo): Block signals, use atomic update.
31 2014-01-03 Joseph Myers <joseph@codesourcery.com>
33 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35 * math/auto-libm-test-in: Mark various tests with
36 xfail-rounding:ldbl-128ibm.
37 * math/auto-libm-test-out: Regenerated.
39 2014-01-02 Joseph Myers <joseph@codesourcery.com>
42 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43 numbers with subnormal high part when calculating exponent.
46 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52 (__ieee754_acoshl): Use __log1pl not __log1p.
54 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
56 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
57 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
58 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
59 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
61 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
62 mem2mem_check, mem2chunk_check, top_check, realloc_check,
63 memalign_check, __malloc_set_state): Likewise.
64 * malloc/mallocbug.c (main): Likewise.
65 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
66 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
67 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
68 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
69 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
70 * malloc/malloc.h: Likewise.
71 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
72 memalignhook, reallochook, mabort): Likewise.
73 * malloc/mcheck.h: Likewise.
74 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
75 mmap64, mremap, munmap, dest): Likewise.
76 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
77 * malloc/morecore.c (__default_morecore): Likewise.
78 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
79 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
80 _obstack_allocated_p, obstack_free, _obstack_memory_used,
81 print_and_abort): Likewise.
82 * malloc/obstack.h: Likewise.
83 * malloc/set-freeres.c (__libc_freeres): Likewise.
84 * malloc/tst-mallocstate.c (main): Likewise.
85 * malloc/tst-mtrace.c (main): Likewise.
86 * malloc/tst-realloc.c (do_test): Likewise.
88 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
91 * nscd/netgroupcache.c (do_notfound): New function.
92 (addgetnetgrentX): Use it.
95 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
98 2014-01-01 Joseph Myers <joseph@codesourcery.com>
100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
103 2014-01-01 Allan McRae <allan@archlinux.org>
105 * scripts/update-copyrights: Update configure input file suffix.
107 * NEWS: Update copyright year.
108 * catgets/gencat.c: Likewise.
109 * csu/version.c: Likewise.
110 * debug/catchsegv.sh: Likewise.
111 * debug/pcprofiledump.c: Likewise.
112 * debug/xtrace.sh: Likewise.
113 * elf/ldconfig.c: Likewise.
114 * elf/ldd.bash.in: Likewise.
115 * elf/pldd.c: Likewise.
116 * elf/sotruss.ksh: Likewise.
117 * elf/sprof.c: Likewise.
118 * iconv/iconv_prog.c: Likewise.
119 * iconv/iconvconfig.c: Likewise.
120 * locale/programs/locale.c: Likewise.
121 * locale/programs/localedef.c: Likewise.
122 * login/programs/pt_chown.c: Likewise.
123 * malloc/memusage.sh: Likewise.
124 * malloc/memusagestat.c: Likewise.
125 * malloc/mtrace.pl: Likewise.
126 * manual/libc.texinfo: Likewise.
127 * nscd/nscd.c: Likewise.
128 * nss/getent.c: Likewise.
129 * nss/makedb.c: Likewise.
130 * posix/getconf.c: Likewise.
131 * scripts/test-installation.pl: Likewise.
133 * All files with FSF copyright notices: Update copyright dates
134 using scripts/update-copyrights.
135 * intl/plural.c: Regenerated.
136 * locale/programs/charmap-kw.h: Likewise.
137 * locale/programs/locfile-kw.h: Likewise.
139 2013-12-31 Mike Frysinger <vapier@gentoo.org>
141 * sysdeps/unix/sysv/linux/configure: Regenerated.
142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
143 the linux/fanotify.h header.
144 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
145 HAVE_LINUX_FANOTIFY_H is defined.
147 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
149 * benchtests/cos-inputs: New inputs.
150 * benchtests/sin-inputs: Likewise.
152 * benchtests/atan-inputs: New inputs. Fix name of multiple
153 precision fallback inputs.
155 * benchtests/atanh-inputs: New inputs.
156 * benchtests/tanh-inputs: Likewise.
158 * benchtests/acosh-inputs: New inputs.
159 * benchtests/asinh-inputs: Likewise.
161 * benchtests/cosh-inputs: New inputs.
162 * benchtests/sinh-inputs: Likewise.
164 * benchtests/acos-inputs: Add more inputs.
165 * benchtests/asin-inputs: Likewise.
167 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
170 * manual/arith.texi: Fix spelling.
171 * manual/charset.texi: Likewise.
172 * manual/errno.texi: Likewise.
173 * manual/filesys.texi: Likewise.
174 * manual/lang.texi: Likewise.
175 * manual/llio.texi: Likewise.
176 * manual/locale.texi: Likewise.
177 * manual/message.texi: Likewise.
178 * manual/resource.texi: Likewise.
179 * manual/search.texi: Likewise.
180 * manual/setjmp.texi: Likewise.
181 * manual/stdio.texi: Likewise.
182 * manual/string.texi: Likewise.
183 * manual/sysinfo.texi: Likewise.
184 * manual/time.texi: Likewise.
186 2013-12-27 Carlos O'Donell <carlos@redhat.com>
188 * po/sl.po: New file.
190 2013-12-27 Mike Frysinger <vapier@gentoo.org>
192 * .gitignore: Add core/.gdbinit/.gdb_history.
194 2013-12-27 Allan McRae <allan@archlinux.org>
197 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
198 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
200 2013-12-24 Brooks Moses <bmoses@google.com>
202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
203 all compilers that claim C++98 compliance, not just GCC.
204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
207 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
209 * NEWS: Restore accidentally deleted bug-fix entries.
211 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
212 Ondřej Bílka <neleai@seznam.cz>
215 * malloc/malloc.c (_int_free): Perform sanity check only if we
218 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
221 * manual/stdio.texi (String Input Conversions): Clarify that character
222 classes are not supported.
224 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
228 2013-12-22 Joseph Myers <joseph@codesourcery.com>
231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
232 Calculate results for small negative arguments directly rather
233 than using reflection formula with special underflow handling.
235 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
236 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
237 sysdeps/unix/bsd/bsd4.4/syscalls.list.
238 (fchflags): Likewise.
240 (setlogin): Likewise.
241 (sigaltstack): Likewise.
244 (sigsetmask): Likewise.
247 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
248 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
250 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
251 * sysdeps/unix/bsd/Makefile: ... here.
252 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
253 * sysdeps/unix/bsd/Versions: ... here.
254 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
255 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
256 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
257 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
258 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
259 * sysdeps/unix/bsd/sigblock.c: ... here.
260 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
261 * sysdeps/unix/bsd/sigsetmask.c: ... here.
262 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
263 * sysdeps/unix/bsd/sigvec.c: ... here.
264 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
265 * sysdeps/unix/bsd/tcdrain.c: ... here.
266 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
267 * sysdeps/unix/bsd/tcgetattr.c: ... here.
268 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
269 * sysdeps/unix/bsd/tcsetattr.c: ... here.
270 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
271 * sysdeps/unix/bsd/wait.c: ... here.
272 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
273 * sysdeps/unix/bsd/wait3.c: ... here.
274 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
275 * sysdeps/unix/bsd/waitpid.c: ... here.
277 2013-12-21 Joseph Myers <joseph@codesourcery.com>
280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
281 round-to-nearest for [!USE_AS_EXPM1L].
282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
283 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
284 more tests of exp and exp10. Expect some exp10 tests to miss
285 exceptions or fail in directed rounding modes.
286 * math/auto-libm-test-out: Regenerated.
287 * math/libm-test.inc (exp10_tonearest_test_data): New array.
288 (exp10_test_tonearest): New function.
289 (exp10_towardzero_test_data): New array.
290 (exp10_test_towardzero): New function.
291 (exp10_downward_test_data): New array.
292 (exp10_test_downward): New function.
293 (exp10_upward_test_data): New array.
294 (exp10_test_upward): New function.
295 (main): Call the new functions.
296 * sysdeps/i386/fpu/libm-test-ulps: Update.
297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
299 2013-12-20 Joseph Myers <joseph@codesourcery.com>
301 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
302 asinh, atan, atan2, atanh, cbrt, cos and cosh.
303 * math/auto-libm-test-out: Regenerated.
304 * math/libm-test.inc (acosh_test_data): Add more tests.
305 (atanh_test_data): Likewise.
306 (ceil_test_data): Likewise.
307 (copysign_test_data): Likewise.
308 * sysdeps/i386/fpu/libm-test-ulps: Update.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311 * timezone/checktab.awk: Update from tzcode 2013i.
312 * timezone/private.h: Likewise.
313 * timezone/scheck.c: Likewise.
314 * timezone/tzfile.h: Likewise.
315 * timezone/tzselect.ksh: Likewise.
316 * timezone/zdump.c: Likewise.
317 * timezone/zic.c: Likewise.
319 * math/auto-libm-test-in: Add tests of cpow.
320 * math/auto-libm-test-out: Regenerated.
321 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
322 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
324 (func_calc_desc): Add mpc_cc_c union field.
325 (test_functions): Add cpow.
326 (special_fill_2pi): New function.
327 (special_real_inputs): Add 2pi.
328 (calc_generic_results): Handle mpc_cc_c.
329 * sysdeps/i386/fpu/libm-test-ulps: Update.
330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
333 csqrt, ctan and ctanh.
334 * math/auto-libm-test-out: Regenerated.
335 * math/libm-test.inc (TEST_COND_x86_64): New macro.
336 (TEST_COND_x86): Likewise.
337 (ccos_test_data): Use AUTO_TESTS_c_c.
338 (ccosh_test_data): Likewise.
339 (cexp_test_data): Likewise.
340 (clog_test_data): Likewise.
341 (csqrt_test_data): Likewise.
342 (ctan_test_data): Likewise.
343 (ctan_tonearest_test_data): Likewise.
344 (ctan_towardzero_test_data): Likewise.
345 (ctan_downward_test_data): Likewise.
346 (ctan_upward_test_data): Likewise.
347 (ctanh_test_data): Likewise.
348 (ctanh_tonearest_test_data): Likewise.
349 (ctanh_towardzero_test_data): Likewise.
350 (ctanh_downward_test_data): Likewise.
351 (ctanh_upward_test_data): Likewise.
352 * math/gen-auto-libm-tests.c (func_calc_method): Add value
354 (func_calc_desc): Add mpc_c_c union field.
355 (FUNC_mpc_c_c): New macro.
356 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
357 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
359 (special_fill_min_subnorm_p120): New function.
360 (special_real_inputs): Add min_subnorm_p120.
361 (calc_generic_results): Handle mpc_c_c.
362 * sysdeps/i386/fpu/libm-test-ulps: Update.
363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
365 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
367 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
368 do_sin_slow): New functions.
369 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
370 cslow2, csloww1, csloww2): Use the new functions.
372 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
373 Use M to change sign of result instead of X. Assume X is
379 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
386 (sloww1): Don't adjust sign of DX.
388 (sloww2): Use X directly and don't adjust sign of DX.
391 2013-12-19 Joseph Myers <joseph@codesourcery.com>
393 * math/auto-libm-test-in: Add tests of cabs and carg.
394 * math/auto-libm-test-out: Regenerated.
395 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
396 (carg_test_data): Likewise.
397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
399 (func_calc_desc): Add mpc_c_f union field.
400 (test_functions): Add cabs and carg.
401 (calc_generic_results): Handle mpc_c_f.
403 * sysdeps/powerpc/powerpc32/libgcc-compat.S
404 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
405 as a macro and a compat symbol.
406 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
407 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
408 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
409 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
410 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
423 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
424 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
427 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
431 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
433 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
434 (__signal_safe_memalign, __signal_safe_free): Use it.
435 (__signal_safe_realloc): Likewise.
437 2013-12-19 Joseph Myers <joseph@codesourcery.com>
439 * manual/texinfo.tex: Update to version 2013-11-26.10 with
440 trailing whitespace removed.
441 * scripts/config.guess: Update to version 2013-11-29.
442 * scripts/config.sub: Update to version 2013-10-01.
444 * math/auto-libm-test-in: Add tests of sincos.
445 * math/auto-libm-test-out: Regenerated.
446 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
447 * math/gen-auto-libm-tests.c (func_calc_method): Add value
449 (func_calc_desc): Add mpfr_f_11 union field.
450 (test_functions): Add sincos.
451 (calc_generic_results): Handle mpfr_f_11.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455 2013-12-19 Andreas Schwab <schwab@suse.de>
457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
461 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
463 2013-12-19 Joseph Myers <joseph@codesourcery.com>
465 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
466 * sysdeps/i386/fpu/libm-test-ulps: Update.
467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
471 round-to-nearest mode when using frndint.
472 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
473 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
474 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
476 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
478 * math/auto-libm-test-out: Regenerated.
479 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
480 (TEST_COND_x86): Likewise.
481 (expm1_tonearest_test_data): New array.
482 (expm1_test_tonearest): New function.
483 (expm1_towardzero_test_data): New array.
484 (expm1_test_towardzero): New function.
485 (expm1_downward_test_data): New array.
486 (expm1_test_downward): New function.
487 (expm1_upward_test_data): New array.
488 (expm1_test_upward): New function.
489 (main): Run the new test functions.
490 * sysdeps/i386/fpu/libm-test-ulps: Update.
491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
493 * include/features.h: Update comment documenting feature test
494 macros. Mention _DEFAULT_SOURCE in comment.
495 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
496 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
497 _BSD_SOURCE and _SVID_SOURCE.
498 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
499 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
500 !_SVID_SOURCE]: Likewise.
501 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
502 (__USE_POSIX_IMPLICITLY): Define.
503 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
504 (_POSIX_SOURCE): Undefine and redefine.
505 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
506 (_POSIX_C_SOURCE): Likewise.
507 * manual/creature.texi (_DEFAULT_SOURCE): Document.
508 (Feature Test Macros): Update documentation of default features.
510 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
512 * benchtests/Makefile: Add bench-strtok.
513 * benchtests/bench-strtok.c: New file: strtok benchtest.
515 2013-12-19 Allan McRae <allan@archlinux.org>
517 * manual/install.texi: Suppress menu for plain text output.
518 * INSTALL: Regenerated.
520 2013-12-18 Andrew Hunter <ahh@google.com>
522 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
523 (__signal_safe_malloc, __signal_safe_free): Likewise.
524 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
525 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
526 (__signal_safe_memalign, __signal_safe_malloc): New function.
527 (__signal_safe_free, __signal_safe_realloc): Likewise.
528 (__signal_safe_calloc): Likewise.
529 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
531 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
533 2013-12-18 Andrew Hunter <ahh@google.com>
535 * elf/Versions (ld): Add _dl_clear_dtv.
536 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
537 * elf/dl-tls.c (_dl_clear_dtv): New function.
538 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
540 2013-12-18 Andrew Hunter <ahh@google.com>
542 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
543 (_dl_unmask_signals): Likewise.
544 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
545 (_dl_unmask_all_signals): Likewise.
546 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
547 (_dl_unmask_all_signals): Likewise.
548 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
549 (_dl_unmask_signals): Likewise.
551 2013-12-18 Brooks Moses <bmoses@google.com>
554 * misc/getauxval.c: Include errno.h.
555 (__getauxval): Set errno to ENOENT if the requested type is not
557 * misc/sys/auxv.h (getauxval): Document that it may set errno;
558 don't declare with __attribute_const__.
559 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
560 * manual/startup.texi: Document that getauxval sets errno.
562 2013-12-18 Joseph Myers <joseph@codesourcery.com>
564 * math/auto-libm-test-in: Add tests of jn and yn.
565 * math/auto-libm-test-out: Regenerated.
566 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
567 (yn_test_data): Likewise.
568 * math/gen-auto-libm-tests.c (func_calc_method): Add value
570 (func_calc_desc): Add mpfr_if_f union field.
571 (FUNC_mpfr_if_f): New macro.
572 (test_functions): Add jn and yn.
573 (calc_generic_results): Assert type of second input for
574 mpfr_ff_f. Handle mpfr_if_f.
575 (output_for_one_input_case): Disable all checking for arguments
576 fitting floating-point types in case of an integer argument.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
581 Don't expect fegetround reference in libm.so.
583 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
585 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
586 $(config-cflags-nofma).
588 2013-12-18 Joseph Myers <joseph@codesourcery.com>
590 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
591 * math/auto-libm-test-out: Regenerated.
594 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
595 to determine exponent and adjust argument to have exponent of -1.
596 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
598 * math/auto-libm-test-out: Regenerated.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
602 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
604 * manual/probes.texi: Remove cases when per-thread arenas are
607 2013-12-18 Andreas Schwab <schwab@suse.de>
609 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
610 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
611 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
612 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
613 * sysdeps/i386/i686/multiarch/Makefile: Update.
614 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
616 2013-12-17 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
619 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
621 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
623 Support TZ transition times < 00:00:00.
624 This is needed for version-3 tz-format files; it supports time
625 stamps past 2037 for America/Godthab (the only entry in the tz
626 database for which this change is relevant).
627 * manual/time.texi (TZ Variable): Document transition times
628 from -167:59:59 through -00:00:01.
629 * time/tzset.c (tz_rule): Time of day is now signed.
630 (__tzset_parse_tz): Parse negative time of day.
632 Document TZ transition times >= 25:00:00.
633 * manual/time.texi (TZ Variable): Document transition times from
634 25:00:00 through 167:59:59. These are already supported, and this
635 support will help with version-3 tz-format files.
637 * manual/time.texi (TZ Variable): Modernize North America example
638 to reflect current (i.e., 2007-and-later) daylight saving rules.
640 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
642 2013-12-17 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
645 * sysdeps/unix/bsd/bits/stat.h: Likewise.
646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
648 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
649 * sysdeps/unix/bsd/bsdstat.h: Likewise.
650 * sysdeps/unix/bsd/clock.c: Likewise.
651 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
652 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
653 * sysdeps/unix/bsd/init-posix.c: Likewise.
654 * sysdeps/unix/bsd/poll.c: Likewise.
655 * sysdeps/unix/bsd/ptsname.c: Likewise.
656 * sysdeps/unix/bsd/seekdir.c: Likewise.
657 * sysdeps/unix/bsd/setegid.c: Likewise.
658 * sysdeps/unix/bsd/seteuid.c: Likewise.
659 * sysdeps/unix/bsd/setgid.c: Likewise.
660 * sysdeps/unix/bsd/setrgid.c: Likewise.
661 * sysdeps/unix/bsd/setruid.c: Likewise.
662 * sysdeps/unix/bsd/setsid.c: Likewise.
663 * sysdeps/unix/bsd/setuid.c: Likewise.
664 * sysdeps/unix/bsd/sigaction.c: Likewise.
665 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
666 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
667 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
668 * sysdeps/unix/bsd/telldir.c: Likewise.
669 * sysdeps/unix/bsd/times.c: Likewise.
670 * sysdeps/unix/bsd/usleep.c: Likewise.
672 * misc/Makefile (install-lib): Remove libbsd-compat.a.
673 ($(objpfx)libbsd-compat.a): Remove rule.
675 * include/features.h (__FAVOR_BSD): Do not define.
676 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
677 features conflicting with POSIX.
678 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
679 (_BSD_SOURCE): Remove description of not being a subset of other
681 * manual/job.texi (getpgrp): Do not document BSD version.
682 (getpgid): Do not document by reference to BSD getpgrp.
683 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
684 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
685 * signal/signal.h [__FAVOR_BSD]: Likewise.
686 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
687 instead of making contents conditional on [__FAVOR_BSD].
688 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
690 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
694 2013-12-17 Joseph Myers <joseph@codesourcery.com>
697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
698 values below 2**-450, not 2**-500.
699 * math/auto-libm-test-in: Don't allow spurious underflow from
701 * math/auto-libm-test-out: Regenerated.
705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
706 values of ha and hb and sort them after adjusting subnormal
708 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
711 values of ea and eb and sort them after adjusting subnormal
713 * math/auto-libm-test-in: Do not expect some hypot tests of
714 subnormals to fail. Add more hypot tests.
715 * math/auto-libm-test-out: Regenerated.
717 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
720 * sysdeps/sh/s_fma.c: New file.
721 * sysdeps/sh/s_fmaf.c: New file.
722 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
724 * sysdeps/sh/Implies: Add sh/soft-fp.
726 2013-12-16 Roland McGrath <roland@hack.frob.com>
728 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
729 level of indirection to members `objname', `errstring', `malloced'.
730 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
731 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
732 it as the __longjmp argument (just pass 1 instead).
733 (_dl_catch_error): Initialize C with argument pointers and address of
734 volatile local ERRCODE rather than copying values out of C at return.
736 2013-12-16 Joseph Myers <joseph@codesourcery.com>
738 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
739 * math/auto-libm-test-out: Regenerated.
740 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
741 (hypot_test_data): Likewise.
742 (pow_test_data): Likewise.
743 (pow_tonearest_test_data): Likewise.
744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
746 (func_calc_desc): Add mpfr_ff_f union field.
747 (FUNC_mpfr_ff_f): New macro.
748 (test_functions): Add atan2, hypot and pow.
749 (special_fill_min): New function.
750 (special_fill_minus_min): Likewise.
751 (special_fill_min_subnorm): Likewise.
752 (special_fill_minus_min_subnorm): Likewise.
753 (special_real_inputs): Add min, -min, min_subnorm and
755 (calc_generic_results): Handle mpfr_ff_f.
756 * sysdeps/i386/fpu/libm-test-ulps: Update.
757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
759 2013-12-16 Will Newton <will.newton@linaro.org>
761 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
762 (Aligned Memory Blocks): Add documentation for aligned_alloc
763 and suggest it as an alternative to posix_memalign.
764 (Hooks for Malloc): Document __memalign_hook is also called
765 for aligned_alloc. (Summary of Malloc): Add summary for
766 aligned alloc. Document __memalign_hook is also called
769 2013-12-16 Will Newton <will.newton@linaro.org>
771 * manual/memory.texi (Malloc Examples): Clarify default
772 alignment documentation. Suggest posix_memalign rather
773 than memalign or valloc.
774 (Aligned Memory Blocks): Remove suggestion to use memalign
775 or valloc. Remove obsolete comment about BSD.
776 Document memalign errno values and mark the function obsolete.
777 Document posix_memalign returned error codes. Mark valloc
778 as obsolete. (Hooks for Malloc): __memalign_hook is also
779 called for posix_memalign and valloc.
780 (Summary of Malloc): Add posix_memalign to function summary.
781 __memalign_hook is also called for posix_memalign and valloc.
783 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
785 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
789 (sloww): Use mynumber union. Expand ternary operator into
791 (cslow): use mynumber union.
793 2013-12-16 Allan McRae <allan@archlinux.org>
795 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
796 * configure: Regenerated.
798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
801 * configure.ac: Added --enable-maintainer-mode. Check for
802 autoconf when enabled.
803 * configure: Regenerated.
805 * nscd/nscd.service: New file.
806 * nscd/nscd.tmpfiles: New file.
808 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
811 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
812 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
813 * sysdeps/x86_64/multiarch/strstr.c: ... here.
814 (strstr): Add __strstr_sse2_unaligned ifunc.
815 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
816 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
817 (strcasestr): Remove __strcasestr_sse42 ifunc.
818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
822 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
824 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
825 * sysdeps/sh/bits/fenv.h: ... here.
826 * sysdeps/sh/sh4/fpu/bits: Remove directory.
828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
835 hypotf multiarch implementations.
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
839 multiarch hypot for PPC64.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
843 multiarch hypotf for PPC64.
845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
848 modff multiarch implementations.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
852 multiarch modf for PPC64.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
856 multiarch modff for PPC64.
858 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
861 and logl multiarch implementations.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
865 multiarch logb for PPC64.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
869 multiarch logb for PPC64.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
873 multiarch logb for PPC64.
875 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
878 isinff multiarch implementation.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
883 multiarch isinf for PPC64.
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
887 multiarch isinff for PPC64.
889 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
892 finitef multiarch implementation.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
897 multiarch finite for PPC64.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
901 multiarch finitef for PPC64.
903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
906 lrint multiarch implementation.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
911 multiarch llrint for PPC64.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
913 multiarch lrint for PPC64.
915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
918 copysignf multiarch implementation.
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
924 multiarch copysign for PPC64.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
926 multiarch copysignf for PPC64.
928 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
931 multiarch implementation.
932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
940 multiarch llround for PPC64.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
942 multiarch trunc for PPC64.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
944 multiarch truncf for PPC64.
946 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
949 multiarch implementation.
950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
958 multiarch llround for PPC64.
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
960 multiarch round for PPC64.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
962 multiarch roundf for PPC64.
964 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
967 multiarch implementation.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
976 multiarch llround for PPC64.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
978 multiarch floor for PPC64.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
980 multiarch floorf for PPC64.
982 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
985 multiarch implementation.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
994 multiarch llround for PPC64.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
996 multiarch ceil for PPC64.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
998 multiarch ceilf for PPC64.
1000 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1003 multiarch implementation.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1011 multiarch llround for PPC64.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1013 multiarch lround for PPC64.
1015 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1018 multiarch implementation.
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1026 multiarch isnan for PPC64.
1027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1028 multiarch isnanf for PPC64.
1030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1032 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1033 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1034 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1036 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1039 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1042 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1049 multiarch implementations.
1050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1051 (__libc_ifunc_impl_list): Likewise.
1052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1053 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1054 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1055 multiarch stpcpy for PPC64.
1057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1060 multiarch implementations.
1061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1062 (__libc_ifunc_impl_list): Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1065 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1066 multiarch strcpy for PPC64.
1068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1071 redefine function name.
1072 (_wordcopy_fwd_dest_aligned): Likewise.
1073 (_wordcopy_bwd_aligned): Likewise.
1074 (_wordcopy_bwd_dest_aligned): Likewise.
1075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1076 multiarch implementations.
1077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1078 (__libc_ifunc_impl_list): Likewise.
1079 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1081 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1083 multiarch wcscpy for PPC64.
1085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1088 multiarch implementations.
1089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1090 (__libc_ifunc_impl_list): Likewise.
1091 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1095 multiarch wcscpy for PPC64.
1097 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1100 multiarch implementations.
1101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1102 (__libc_ifunc_impl_list): Likewise.
1103 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1104 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1106 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1107 multiarch wcsrchr for PPC64.
1109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1112 multiarch implementations.
1113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1114 (__libc_ifunc_impl_list): Likewise.
1115 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1116 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1117 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1119 multiarch wcschr for PPC64.
1121 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1124 multiarch implementations.
1125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1126 (__libc_ifunc_impl_list): Likewise.
1127 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1129 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1130 multiarch strchrnul for PPC64.
1132 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1137 (__libc_ifunc_impl_list): Likewise.
1138 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1139 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1141 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1144 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1149 (__libc_ifunc_impl_list): Likewise.
1150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1153 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1159 multiarch implementations.
1160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1161 (__libc_ifunc_impl_list): Likewise.
1162 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1164 strncasecmp for PPC64.
1165 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1166 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1167 multiarch strncasecmp_l for PPC64.
1169 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1172 multiarch implementations.
1173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1174 (__libc_ifunc_impl_list): Likewise.
1175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1177 multiarch strcasecmp for PPC64.
1178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1180 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1181 multiarch strcasecmp_l for PPC64.
1183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1191 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1194 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1201 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1202 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1205 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1210 (__libc_ifunc_impl_list): Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1212 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1213 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1214 rawmemrchr for PPC64.
1216 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1221 (__libc_ifunc_impl_list): Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1223 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1224 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1227 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1232 (__libc_ifunc_impl_list): Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1234 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1235 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1238 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1243 (__libc_ifunc_impl_list): Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1246 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1252 avoid cretion of __bzero symbol.
1253 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1255 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1257 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1260 multiarch implementations.
1261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1262 (__libc_ifunc_impl_list): Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1268 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1269 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1270 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1271 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1272 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1274 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1282 (__libc_ifunc_impl_list): Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1289 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1292 multiarch for POWER/PPC64.
1293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1301 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1307 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1308 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1309 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1310 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1311 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1312 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1313 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1314 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1315 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1316 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1317 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1318 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1319 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1320 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1329 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1333 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1335 * benchtests/Makefile (bench): Add exp2 and log2.
1336 (LDLIBS-bench-exp2): Add -lm.
1337 (LDLIBS-bench-log2): Likewise.
1338 * benchtests/exp2-inputs: New inputs file.
1339 * benchtests/log2-inputs: New inputs file.
1340 * benchtests/log-inputs: Add new inputs.
1341 * benchtests/tan-inputs: Likewise.
1343 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1347 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1348 csloww1, csloww2): ... from here.
1350 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1351 instead of structures.
1352 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1353 (POLYNOMIAL): Likewise.
1354 (TAYLOR_SLOW): Likewise.
1362 (bsloww1): Likewise.
1363 (bsloww2): Likewise.
1366 (csloww1): Likewise.
1367 (csloww2): Likewise.
1369 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1371 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1372 (__malloc_assert, __libc_realloc, __libc_calloc,
1373 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1375 * malloc/hooks.c (realloc_check): Likewise.
1377 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1379 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1380 * malloc/arena.c: Remove PER_THREAD conditional.
1381 [!PER_THREAD]: Remove code.
1382 (ptmalloc_unlock_all2): Likewise.
1383 (ptmalloc_init): Likewise.
1384 (_int_new_arena): Likewise.
1385 (arena_get2): Likewise.
1386 * malloc/hooks.c (__malloc_get_state): Likewise.
1387 (__malloc_set_state): Likewise.
1388 * malloc/malloc.c: Likewise.
1389 (struct malloc_state): Likewise.
1390 (struct malloc_par): Likewise.
1391 (__libc_realloc): Likewise.
1392 (__libc_mallopt): Likewise.
1394 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1398 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1400 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1401 macro to a function. Check for zero perturb_byte.
1402 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1404 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1406 * malloc/malloc.c: (force_reg): Remove.
1407 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1408 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1409 force_reg by atomic_forced_read.
1410 * malloc/arena.c (ptmalloc_init): Likewise.
1411 * malloc/hooks.c (top_check): Likewise.
1413 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1417 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1421 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1423 * math/auto-libm-test-in: Add tests of lgamma.
1424 * math/auto-libm-test-out: Regenerated.
1425 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1426 (M_LOG_2_SQRT_PIl): Likewise.
1427 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1428 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1430 (func_calc_desc): Add mpfr_f_f1 union field.
1439 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1440 (test_functions): Add lgamma.
1441 (calc_generic_results): Handle mpfr_f_f1.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1448 __mpn_add_n for PowerPC64/POWER7.
1449 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1450 __mpn_sub_n for PowerPC64/POWER7.
1452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1455 __mpn_addmul_1 for PowerPC64.
1456 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1457 __mpn_submul_1 for PowerPC64.
1458 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1460 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1463 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1466 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1468 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1472 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1475 add multiarch folders.
1476 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1477 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1478 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1479 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1480 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1481 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1482 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1483 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1484 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1485 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1486 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1494 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1497 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1503 multiarch __ieee754_hypot for PowerPC32.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1509 multiarch __ieee754_hypotf for PowerPC32.
1511 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1514 long_double_symbol only if __logbl is defined.
1515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1516 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1518 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1520 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1521 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1522 path for implementation.
1523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1526 logb, and logbl multiarch implementations for PowerPC32.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1532 multiarch logb for PowerPC32.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1538 multiarch logbf for PowerPC32.
1539 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1543 multiarch logbl implementation for PowerPC32.
1545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1548 and modff multiarch implementations.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1554 multiarch modf for PowerPC32.
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1560 multiarch modff for PowerPC32.
1562 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1565 and lrintf multiarch implementations.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1571 multiarch lrint for PowerPC32.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1573 file: multiarch lrintf for PowerPC32.
1575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1578 and lroundf multiarch implementations.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1586 multiarch lround for PowerPC32.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1588 file: multiarch lroundf for PowerPC32.
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1593 copysign and copysignf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1599 file: multiarch copysign for PowerPC32.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1601 file: multiarch copysignf for PowerPC32.
1603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1606 and truncf multiarch implementations.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1612 multiarch trunc for PowerPC32.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1618 multiarch truncf for PowerPC32.
1620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1623 and roundf multiarch implementations.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1629 multiarch round for PowerPC32.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1635 multiarch roundf for PowerPC32.
1637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1640 and floorf multiarch implementations.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1646 multiarch floor for PowerPC32.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1652 multiarch floorf for PowerPC32.
1654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1657 and ceilf multiarch implementations.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1663 multiarch ceil for PowerPC32.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1669 multiarch ceilf for PowerPC32.
1671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1675 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1678 and finitef multiarch implementations.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1684 multiarch finite for PowerPC32.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1688 file: multiarch finitef for PowerPC32.
1690 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1693 and isinff multiarch implementations.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1699 multiarch isinf for PowerPC32.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1703 multiarch isinff for PowerPC32.
1705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1708 alias when __isnan is defined.
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1710 and isnanf multiarch implementations.
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1720 multiarch isnan for PowerPC32.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1726 multiarch isnanf for PowerPC32.
1728 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1731 and sqrtf multiarch implementations.
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1737 multiarch sqrt for PowerPC32.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1743 multiarch sqrtf for PowerPC32.
1745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1748 and llroundf multiarch implementations.
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1756 file: multiarch llround for PowerPC32.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1758 file: multiarch llroundf for PowerPC32.
1760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1763 multiarch PowerPC32 fpu implementations.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1769 multiarch llrint for PowerPC32.
1770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1777 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1781 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1787 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1789 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1790 multiarch wordcopy for PPC32.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1794 (__libc_ifunc_impl_list): Likewise.
1795 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1796 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1798 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1800 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1812 multiarch wcscpy for PPC32.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1816 (__libc_ifunc_impl_list): Likewise.
1817 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1818 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1819 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1820 sysdeps/powerpc/power6/wcscpy.c.
1822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1832 multiarch wcsrchr for PPC32.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1836 (__libc_ifunc_impl_list): Likewise.
1837 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1838 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1839 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1840 sysdeps/powerpc/power6/wcsrchr.c.
1842 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1850 multiarch wcschr for PPc32.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1854 (__libc_ifunc_impl_list): Likewise.
1855 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1856 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1857 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1858 sysdeps/powerpc/power6/wcschr.c.
1860 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1866 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1867 file: multiarch strchr for PPC32.
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1871 (__libc_ifunc_impl_list): Likewise.
1873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1877 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1882 multiarch strchrnul for PPC32.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1886 (__libc_ifunc_impl_list): Likewise.
1888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1893 multiarch strncasecmp for PPC32.
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1897 multiarch strncasecmp_l for PPC32.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1899 strncasecmp multiarch objects.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1901 (__libc_ifunc_impl_list): Likewise.
1903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1908 multiarch strncasecmp for PPC32.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1912 multiarch strcasecmp_l for PPC32.
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
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/strncmp-power7.S: New
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1925 multiarch strncmp for PPC32.
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1929 (__libc_ifunc_impl_list): Likewise.
1931 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1934 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1937 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1941 (__libc_ifunc_impl_list): Likewise.
1943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
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/rawmemchr-power7.S: New
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1962 multiarch rawmemchr for PPC32.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
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 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1975 file: memrchr multiarch for PPC32.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1979 (__libc_ifunc_impl_list): Likewise.
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1988 multiarch memchr for PPC32.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1992 (__libc_ifunc_impl_list): Likewise.
1994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2002 file: multiarch mempcpy for PPC32.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2006 (__libc_ifunc_impl_list): Likewise.
2008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2014 multiarch bzero for PPC32.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2020 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2021 file: multiarch memset for PPC32.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2024 memset multiarch objects.
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/memcmp-power7.S: New
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2039 (__libc_ifunc_impl_list): Likewise.
2041 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2052 multiarch memcpy for PPC32.
2053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2056 (__libc_ifunc_impl_list): Likewise.
2058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2061 support multiarch for POWER/PPC32.
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2066 Implies file to make multiarch folder appers before the fpu and
2067 default folder for power4 configuration.
2069 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * scripts/bench.pl: Append volatile keyword to type.
2073 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2075 * sysdeps/sh/sotruss-lib.c: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2078 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2082 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2085 * math/w_tgamma.c: Include <errno.h>.
2086 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2087 * math/w_tgammaf.c: Include <errno.h>.
2088 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2089 * math/w_tgammal.c: Include <errno.h>.
2090 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2091 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2092 underflow. Add more tgamma tests.
2093 * math/auto-libm-test-out: Regenerated.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2098 sin, sinh, tan, tanh, tgamma, y0 and y1.
2099 * math/auto-libm-test-out: Regenerated.
2100 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2101 (TEST_COND_x86): Likewise.
2102 (M_E2l): Remove macro.
2104 (M_2_SQRT_PIl): Likewise.
2105 (M_SQRT_PIl): Likewise.
2106 (M_1_DIV_El): Likewise.
2107 (log_test_data): Use AUTO_TESTS_f_f.
2108 (log10_test_data): Likewise.
2109 (log1p_test_data): Likewise.
2110 (log2_test_data): Likewise.
2111 (sin_test_data): Likewise.
2112 (sin_tonearest_test_data): Likewise.
2113 (sin_towardzero_test_data): Likewise.
2114 (sin_downward_test_data): Likewise.
2115 (sin_upward_test_data): Likewise.
2116 (sinh_test_data): Likewise.
2117 (sinh_tonearest_test_data): Likewise.
2118 (sinh_towardzero_test_data): Likewise.
2119 (sinh_downward_test_data): Likewise.
2120 (sinh_upward_test_data): Likewise.
2121 (tan_test_data): Likewise.
2122 (tan_tonearest_test_data): Likewise.
2123 (tan_towardzero_test_data): Likewise.
2124 (tan_downward_test_data): Likewise.
2125 (tan_upward_test_data): Likewise.
2126 (tanh_test_data): Likewise.
2127 (tgamma_test_data): Likewise.
2128 (y0_test_data): Likewise.
2129 (y1_test_data): Likewise.
2130 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2131 (special_real_inputs): Add pi/4.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2138 "longjmp_target" static probes.
2139 (__longjmp): Rename to __longjmp_symbol.
2140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2141 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2142 on which longjmp to generate.
2143 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2147 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2148 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2150 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2151 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2153 __longjmp_symbol based on which __longjmp to generate.
2154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2156 (setjmp): Rename to setjmp_symbol.
2157 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2158 (_setjmp): Rename to _setjmp_symbol.
2159 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2160 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2161 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2162 which setjmp to generate.
2163 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2164 "longjmp_target" static probes.
2166 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2168 * benchtests/README: Add note about output arguments.
2169 * benchtests/bench-sincos.c: Remove file.
2170 * benchtests/sincos-inputs: New file.
2171 * scripts/bench.pl: Identify output arguments and define
2172 static variables for them.
2174 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2177 * Makefile (INSTALL): Add install-plain.texi as the primary
2179 * manual/install-plain.texi: New file.
2180 * manual/install.texi: Include node directive only for
2181 non-plaintext output.
2183 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2185 * stdlib/longlong.h: Update from GCC.
2189 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2190 * math/w_j0f.c (y0f): Likewise.
2191 * math/w_j0l.c (__y0l): Likewise.
2192 * math/w_j1.c (y1): Likewise.
2193 * math/w_j1f.c (y1f): Likewise.
2194 * math/w_j1l.c (__y1l): Likewise
2195 * math/w_jn.c (yn): Likewise.
2196 * math/w_jnf.c (ynf): Likewise.
2197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2198 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2199 value for Bessel function domain errors outside _SVID_ mode.
2200 Adjust sign of return value for yn (negative integer, 0).
2201 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2202 by zero in return for negative x and set sign appropriately for
2204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2205 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2206 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2207 expectations in error cases.
2208 (y1_test_data): Likewise.
2209 (yn_test_data): Likewise.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2213 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2215 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2216 "64" to "64-v1". Add "64-v2".
2217 (abi-64-options): Rename to ...
2218 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2219 (abi-64-condition): Rename to ...
2220 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2221 (abi-64-ld-soname): Rename to ...
2222 (abi-64-v1-ld-soname): ... this.
2223 (abi-64-v2-options): Define.
2224 (abi-64-v2-condition): Likewise.
2225 (abi-64-v2-ld-soname): Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2227 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2232 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2233 Alan Modra <amodra@gmail.com>
2235 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2236 New versions for use with the ELFv2 ABI.
2237 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2238 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2240 (struct La_ppc64v2_retval): Likewise.
2241 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2242 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2243 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2244 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2245 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2246 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2247 Do not save or restore CR.
2248 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2249 (_dl_profile_resolve): Do no save or restore CR. Support extended
2250 return values for ELFv2 ABI. Fix location of FPR return registers.
2251 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2252 updated values for _CALL_ELF == 2.
2253 (La_regs, La_retval, int_retval): Likewise.
2255 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2257 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2258 (FRAME_MIN_SIZE_PARM): Likewise.
2259 (FRAME_BACKCHAIN): Likewise.
2260 (FRAME_CR_SAVE): Likewise.
2261 (FRAME_LR_SAVE): Likewise.
2262 (FRAME_TOC_SAVE): Likewise.
2263 (FRAME_PARM_SAVE): Likewise.
2264 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2265 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2266 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2267 (call_mcount_parm_offset): New macro.
2268 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2269 (PROF): Use symbolic stack frame offsets.
2270 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2272 Redefine in terms of FRAME_MIN_SIZE.
2273 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2274 (_dl_profile_resolve): Likewise. Update comment.
2275 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2276 symbols stack frame offsets.
2277 (__sigsetjmp): Likewise.
2278 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2279 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2280 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2281 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2284 (FRAME_BACKCHAIN): Remove.
2285 (FRAME_CR_SAVE): Likewise.
2286 (FRAME_LR_SAVE): Likewise.
2287 (FRAME_COMPILER_DW): Likewise.
2288 (FRAME_LINKER_DW): Likewise.
2289 (FRAME_TOC_SAVE): Likewise.
2290 (FRAME_PARM_SAVE): Likewise.
2291 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2292 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2293 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2295 (CHECK_SP): Use symbolic stack frame offsets.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2297 zone" instead of caller's parameter save area for temp storage.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2299 Likewise. Also, use symbolic stack frame offsets.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2301 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2302 our own stack frame instead of the caller's.
2303 (__socket): Use symbolic stack frame offsets.
2305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2306 Alan Modra <amodra@gmail.com>
2308 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2310 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2311 PPC64_LOCAL_ENTRY_OFFSET): Define.
2312 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2314 (elf_machine_fixup_plt): Call it.
2315 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2317 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2318 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2319 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2320 r2 before calling target.
2322 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2323 Alan Modra <amodra@gmail.com>
2325 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2326 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2327 versions of macros to support ELFv2 ABI.
2328 (LOCALENTRY): New macro.
2329 (ENTRY, EALIGN): Use it.
2330 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2331 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2332 fall through into ENTRY entry point.
2333 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2334 Only define if _CALL_ELF != 2.
2336 (elf_machine_matches_host): Verify ABI version matches.
2337 (RTLD_START): Use LOCALENTRY.
2338 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2339 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2340 (PLT_ENTRY_WORDS): New macro.
2341 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2342 (elf_machine_runtime_setup): Support ELFv2 ABI.
2343 (elf_machine_fixup_plt): Likewise.
2344 (elf_machine_plt_conflict): Likewise.
2345 (resolve_ifunc): Likewise.
2346 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2350 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2352 (makecontext): Support ELFv2 ABI.
2353 * elf/elf.h (EF_PPC64_ABI): Define.
2355 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2357 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2358 New assembler macro.
2359 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2360 [ASSEMBLER] (ENTRY): ... but instead here ...
2361 [ASSEMBLER] (EALIGN): ... and here.
2362 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2363 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2364 [!ASSEMBLER] (ENTRY_2): Use it.
2365 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2366 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2368 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2369 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2371 Use PPC64_LOAD_FUNCPTR.
2373 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2375 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2377 2013-12-04 Alan Modra <amodra@gmail.com>
2379 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2380 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2381 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2382 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2385 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2386 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2387 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2388 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2389 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2394 (__makecontext): Fix incorrect CFI when backtracing out of
2395 context created via makecontext.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2397 (__setcontext): Fix incorrect CFI during switch to new context.
2398 (__novec_setcontext): Likewise.
2400 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2403 * time/strptime_l.c (__strptime_internal): Allow modifiers
2405 * time/tst-strptime.c (day_tests): Add testcase.
2408 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2410 * scripts/bench.pl: Skip over blank lines.
2412 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2415 * manual/time.texi (Calendar Time): Clarify what timezone functions
2418 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2422 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2424 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2426 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2427 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2428 * debug/memset_chk.c (__memset_chk): Likewise.
2429 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2430 * debug/strncpy_chk.c: Likewise.
2432 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2436 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2437 (__ieee754_exp): For possibly underflowing results, check size of
2438 result and force underflow exception if required.
2439 * math/auto-libm-test-in: Add more tests of exp.
2440 * math/auto-libm-test-out: Regenerated.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2445 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2446 * math/w_exp2f.c (__exp2f): Likewise.
2447 * math/w_exp2l.c (__exp2l): Likewise.
2448 * math/auto-libm-test-in: Do not allow missing errno on exp2
2450 * math/auto-libm-test-out: Regenerated.
2452 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2455 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2456 handle filename validation.
2457 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2460 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2463 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2464 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2465 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2467 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2468 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2469 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2471 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2473 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2474 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2475 Add more erfc tests.
2476 * math/auto-libm-test-out: Regenerated.
2477 * sysdeps/i386/fpu/libm-test-ulps: Update.
2478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2480 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2481 exp2, expm1, j0 and j1.
2482 * math/auto-libm-test-out: Regenerated.
2483 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2484 (erfc_test_data): Likewise.
2485 (exp_test_data): Likewise.
2486 (exp_tonearest_test_data): Likewise.
2487 (exp_towardzero_test_data): Likewise.
2488 (exp_downward_test_data): Likewise.
2489 (exp_upward_test_data): Likewise.
2490 (exp10_test_data): Likewise.
2491 (exp2_test_data): Likewise.
2492 (expm1_test_data): Likewise.
2493 (j0_test_data): Likewise.
2494 (j1_test_data): Likewise.
2495 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2496 (input_flag_type): Add flag_xfail_rounding.
2497 (input_flags): Add xfail-rounding.
2498 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2499 (output_for_one_input_case): Handle flag_xfail_rounding.
2500 * sysdeps/i386/fpu/libm-test-ulps: Update.
2501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2506 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2509 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2512 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2513 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2514 (STAP_PROBE0): New macro.
2515 (STAP_PROBE1): Likewise.
2516 (STAP_PROBE2): Likewise.
2517 (STAP_PROBE3): Likewise.
2518 (STAP_PROBE4): Likewise.
2520 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2522 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2524 2013-12-02 Steve Ellcey <sellcey@mips.com>
2526 * benchtests/Makefile (bench): Add sqrt.
2527 (LDLIBS-bench-sqrt): New.
2528 * benchtests/sqrt-input: New.
2530 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2532 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2533 (GAIH_EAI): Likewise.
2534 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2535 (gaih_inet): Likewise.
2536 (getaddrinfo): Don't use GAIH_EAI.
2538 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2539 (struct gaih): Remove definition.
2541 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2543 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2544 Use HERRNOP directly.
2546 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2550 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2552 * math/gen-auto-libm-tests.c (test_functions): Add more
2553 single-argument functions.
2554 (special_fill_pi_2): New function.
2555 (special_fill_minus_pi_2): Likewise.
2556 (special_fill_pi_6): Likewise.
2557 (special_fill_minus_pi_6): Likewise.
2558 (special_fill_pi_3): Likewise.
2559 (special_fill_2pi_3): Likewise.
2560 (special_fill_e): Likewise.
2561 (special_fill_1_e): Likewise.
2562 (special_fill_e_minus_1): Likewise.
2563 (special_real_inputs): Add more special inputs.
2564 (output_for_one_input_case): Do not require ERANGE on underflow to
2565 zero if round-to-nearest result does not underflow to zero, unless
2566 exact results required.
2567 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2568 atan, atanh, cbrt, cos and cosh.
2569 * math/auto-libm-test-out: Regenerated.
2570 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2571 (acos_tonearest_test_data): Likewise.
2572 (acos_towardzero_test_data): Likewise.
2573 (acos_downward_test_data): Likewise.
2574 (acos_upward_test_data): Likewise.
2575 (acosh_test_data): Likewise.
2576 (asin_test_data): Likewise.
2577 (asin_tonearest_test_data): Likewise.
2578 (asin_towardzero_test_data): Likewise.
2579 (asin_upward_test_data): Likewise.
2580 (asinh_test_data): Likewise.
2581 (atan_test_data): Likewise.
2582 (atanh_test_data): Likewise.
2583 (cbrt_test_data): Likewise.
2584 (cos_test_data): Likewise.
2585 (cos_tonearest_test_data): Likewise.
2586 (cos_towardzero_test_data): Likewise.
2587 (cos_downward_test_data): Likewise.
2588 (cos_upward_test_data): Likewise.
2589 (cosh_test_data): Likewise.
2590 (cosh_tonearest_test_data): Likewise.
2591 (cosh_towardzero_test_data): Likewise.
2592 (cosh_downward_test_data): Likewise.
2593 (cosh_upward_test_data): Likewise.
2594 * sysdeps/i386/fpu/libm-test-ulps: Update.
2595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2600 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2601 * math/w_exp10f.c (__exp10f): Likewise.
2602 * math/w_exp10l.c (__exp10l): Likewise.
2603 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2604 errno settings in existing tests.
2607 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2608 precision control set to double precision.
2609 * sysdeps/i386/fpu/w_sqrt.c: New file.
2610 * math/auto-libm-test-in: Add more tests.
2611 * math/auto-libm-test-out: Update.
2613 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2614 (sqrt_test_tonearest): New function.
2615 (sqrt_towardzero_test_data): New variable.
2616 (sqrt_test_towardzero): New function.
2617 (sqrt_downward_test_data): New variable.
2618 (sqrt_test_downward): New function.
2619 (sqrt_upward_test_data): New variable.
2620 (sqrt_test_upward): New function.
2621 (main): Call the new functions.
2623 * math/gen-auto-libm-tests.c: New file.
2624 * math/auto-libm-test-in: Likewise.
2625 * math/auto-libm-test-out: New generated file.
2626 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2628 (%beautify): Add generated representations of zero.
2629 (top level): Set $auto_input and call parse_auto_input.
2630 (beautify): Remove trailing "f" from hex float constants.
2631 (parse_args): Handle XFAIL_TEST.
2632 (convert_condition): New function.
2633 (or_value): Likewise.
2634 (or_cond_value): Likewise.
2635 (generate_testfile): Handle AUTO_TESTS_* lines.
2636 (parse_auto_input): New function.
2637 * math/libm-test.inc (XFAIL_TEST): New macro.
2638 (ERRNO_UNCHANGED): Update value.
2639 (ERRNO_EDOM): Likewise.
2640 (ERRNO_ERANGE): Likewise.
2641 (IGNORE_RESULT): Likewise.
2642 (TEST_COND_flt_32): New macro.
2643 (TEST_COND_dbl_64): Likewise.
2644 (TEST_COND_ldbl_96_intel): Likewise.
2645 (TEST_COND_ldbl_96_m68k): Likewise.
2646 (TEST_COND_ldbl_128): Likewise.
2647 (TEST_COND_ldbl_128ibm): Likewise.
2648 (TEST_COND_long32): Likewise.
2649 (TEST_COND_long64): Likewise.
2650 (TEST_COND_before_rounding): Likewise.
2651 (TEST_COND_after_rounding): Likewise.
2652 (enable_test): Handle XFAIL_TEST flag.
2653 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2654 with finite results.
2655 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2658 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2659 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2662 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2663 __tls_get_addr_internal instead of __tls_get_offset in order to
2664 avoid GOT pointer dependency. Make rtld export
2665 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2666 __tls_get_addr since we are a __tls_get_offset platform.
2667 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2668 GOT pointer being set up before.
2669 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2671 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2673 * manual/math.texi (Errors in Math Functions): Document accuracy
2677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2678 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2680 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2681 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2682 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2683 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2684 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2692 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2694 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2695 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2696 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2697 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2700 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2702 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2705 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2706 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2707 atomic-feupdateenv and flt-rounds.
2708 * sysdeps/powerpc/nofpu/Versions (libc): Add
2709 __atomic_feholdexcept, __atomic_feclearexcept,
2710 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2712 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2713 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2714 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2719 * manual/arith.texi (FP Exceptions): Document that exceptions may
2720 not be raised when matherr is used.
2721 (Math Error Reporting): Document overflow in directed rounding
2722 modes. Document that errno may not be set when finite values are
2723 returned on overflow. Document intent to set errno on underflow
2724 only for underflow to zero.
2727 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2728 round-to-nearest then adjust result for other rounding modes.
2729 * include/fenv.h (fegetround): Use libm_hidden_proto.
2730 * math/fegetround.c (fegetround): Use libm_hidden_def.
2731 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2732 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2733 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2736 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2737 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2738 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2739 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2741 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2744 * nss/Versions (libnss_files): Add
2745 _nss_files_gethostbyname3_r.
2746 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2748 (HOST_DB_LOOKUP): Remove macro.
2749 (_nss_files_gethostbyname_r): Implement function without the
2750 HOST_DB_LOOKUP macro.
2751 (_nss_files_gethostbyname2_r): Likewise.
2753 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2755 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2757 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2759 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2760 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2763 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2765 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2766 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2767 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2768 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2769 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2770 __fe_nomask_env_priv and attribute_hidden.
2771 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2772 (libc_feupdateenv_test_ppc): Likewise.
2773 (libc_feresetround_ppc): Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2775 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2776 compat_symbol macro.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2778 (__fe_nomask_env): Likewise.
2779 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2781 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2783 * string/Makefile: Remove ifunc tests.
2784 * string/test-string.h: Define TEST_IFUNC.
2785 * string/test-bcopy-ifunc.c: Remove.
2786 * string/test-bzero-ifunc.c: Likewise.
2787 * string/test-memccpy-ifunc.c: Likewise.
2788 * string/test-memchr-ifunc.c: Likewise.
2789 * string/test-memcmp-ifunc.c: Likewise.
2790 * string/test-memcpy-ifunc.c: Likewise.
2791 * string/test-memmem-ifunc.c: Likewise.
2792 * string/test-memmove-ifunc.c: Likewise.
2793 * string/test-mempcpy-ifunc.c: Likewise.
2794 * string/test-memrchr-ifunc.c: Likewise.
2795 * string/test-memset-ifunc.c: Likewise.
2796 * string/test-rawmemchr-ifunc.c: Likewise.
2797 * string/test-stpcpy-ifunc.c: Likewise.
2798 * string/test-stpncpy-ifunc.c: Likewise.
2799 * string/test-strcasecmp-ifunc.c: Likewise.
2800 * string/test-strcasestr-ifunc.c: Likewise.
2801 * string/test-strcat-ifunc.c: Likewise.
2802 * string/test-strchr-ifunc.c: Likewise.
2803 * string/test-strchrnul-ifunc.c: Likewise.
2804 * string/test-strcmp-ifunc.c: Likewise.
2805 * string/test-strcpy-ifunc.c: Likewise.
2806 * string/test-strcspn-ifunc.c: Likewise.
2807 * string/test-strlen-ifunc.c: Likewise.
2808 * string/test-strncasecmp-ifunc.c: Likewise.
2809 * string/test-strncat-ifunc.c: Likewise.
2810 * string/test-strncmp-ifunc.c: Likewise.
2811 * string/test-strncpy-ifunc.c: Likewise.
2812 * string/test-strnlen-ifunc.c: Likewise.
2813 * string/test-strpbrk-ifunc.c: Likewise.
2814 * string/test-strrchr-ifunc.c: Likewise.
2815 * string/test-strspn-ifunc.c: Likewise.
2816 * string/test-strstr-ifunc.c: Likewise.
2818 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2820 * benchtests/Makefile: Remove ifunc tests.
2821 * benchtests/bench-string.h: Define TEST_IFUNC.
2822 * benchtests/bench-bcopy-ifunc.c: Remove.
2823 * benchtests/bench-bzero-ifunc.c: Likewise.
2824 * benchtests/bench-memccpy-ifunc.c: Likewise.
2825 * benchtests/bench-memchr-ifunc.c: Likewise.
2826 * benchtests/bench-memcmp-ifunc.c: Likewise.
2827 * benchtests/bench-memcpy-ifunc.c: Likewise.
2828 * benchtests/bench-memmem-ifunc.c: Likewise.
2829 * benchtests/bench-memmove-ifunc.c: Likewise.
2830 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2831 * benchtests/bench-memrchr-ifunc.c: Likewise.
2832 * benchtests/bench-memset-ifunc.c: Likewise.
2833 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2834 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2835 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2836 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2837 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2838 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2839 * benchtests/bench-strcat-ifunc.c: Likewise.
2840 * benchtests/bench-strchr-ifunc.c: Likewise.
2841 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2842 * benchtests/bench-strcmp-ifunc.c: Likewise.
2843 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2844 * benchtests/bench-strcpy-ifunc.c: Likewise.
2845 * benchtests/bench-strcspn-ifunc.c: Likewise.
2846 * benchtests/bench-strlen-ifunc.c: Likewise.
2847 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2848 * benchtests/bench-strncat-ifunc.c: Likewise.
2849 * benchtests/bench-strncmp-ifunc.c: Likewise.
2850 * benchtests/bench-strncpy-ifunc.c: Likewise.
2851 * benchtests/bench-strnlen-ifunc.c: Likewise.
2852 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2853 * benchtests/bench-strrchr-ifunc.c: Likewise.
2854 * benchtests/bench-strsep-ifunc.c: Likewise.
2855 * benchtests/bench-strspn-ifunc.c: Likewise.
2856 * benchtests/bench-strstr-ifunc.c: Likewise.
2858 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2860 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2862 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2864 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2865 * rt/aio.h: Likewise.
2866 * sysdeps/gnu/bits/utmp.h: Likewise.
2867 * sysdeps/gnu/bits/utmpx.h: Likewise.
2868 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2869 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2870 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2871 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2872 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2873 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2874 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2875 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2885 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2888 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2889 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2890 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2891 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2892 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2896 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2897 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2901 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2904 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2905 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2906 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2907 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2908 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2909 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2911 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2914 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2915 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2917 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2919 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2920 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2923 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2926 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2927 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2928 (__fesetround): Remove define.
2929 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2930 rounding and exceptions handling.
2931 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2932 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2933 (__fe_nomask_env): Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2935 __fegetround instead of fegetround.
2936 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2939 2013-11-21 Roland McGrath <roland@hack.frob.com>
2941 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2944 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2946 2013-11-21 Meador Inge <meadori@codesourcery.com>
2949 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2950 (encrypt_r): Likewise.
2951 * malloc/obstack.h (obstack_free): Likewise.
2952 * posix/unistd.h (encrypt): Likewise.
2954 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2956 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2957 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2958 DL_CALL_DT_FINI() that call the functions directly.
2959 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2960 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2961 * elf/dl-fini.c: Likewise.
2963 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2965 * malloc/hooks.c (memalign_check): Add alignment rounding.
2966 * malloc/malloc.c (_mid_memalign): New function.
2967 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2968 Implement by calling _mid_memalign.
2969 * manual/probes.texi (Memory Allocation Probes): Remove
2970 memory_valloc_retry and memory_pvalloc_retry.
2972 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2974 * locale/programs/locarchive.c (open_archive): Add const
2975 qualifier to ARCHIVEFNAME and copy default fname to
2979 * libio/tst-widetext.input: Rename Oriya to Odia.
2980 * locale/iso-639.def: Likewise.
2982 * manual/probes.texi (Mathematical Function Probes): Add
2983 documentation for sin, cos, asin and acos probes.
2984 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2985 (__sin32): Add slowasin probe.
2986 (__cos32): Add slowacos probe.
2987 (__mpsin): Add slowsin probe.
2988 (__mpcos): Add slowcos probe.
2990 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2993 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2994 thread-local __sim_exceptions_thread and global
2995 __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 (__simulate_exceptions): Use thread-local floating-point state and
3002 set global state from it as needed.
3003 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3004 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3005 __sim_round_mode_thread.
3006 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3007 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3008 and global __sim_exceptions_global.
3009 (__sim_disabled_exceptions): Change to thread-local
3010 __sim_disabled_exceptions_thread and global
3011 __sim_disabled_exceptions_global.
3012 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3013 and global __sim_round_mode_global.
3014 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3015 (SIM_SET_GLOBAL): Likewise.
3016 * sysdeps/powerpc/soft-fp/sfp-machine.h
3017 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3018 __sim_round_mode_thread.
3019 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3020 __sim_disabled_exceptions_thread.
3021 (__sim_exceptions): Change to __sim_exceptions_thread.
3022 (__sim_disabled_exceptions): Change to
3023 __sim_disabled_exceptions_thread.
3024 (__sim_round_mode): Change to __sim_round_mode_thread.
3025 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3026 thread-local floating-point state and set global state from it as
3028 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3029 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3030 (__sim_disabled_exceptions): Remove extern declaration.
3031 (feenableexcept): Use thread-local floating-point state and set
3032 global state from it as needed.
3033 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3035 (__sim_disabled_exceptions): Likewise.
3036 (__sim_round_mode): Likewise.
3037 (__fegetenv): Use thread-local floating-point state.
3038 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3039 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3040 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3041 floating-point state and set global state from it as needed.
3042 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3043 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3044 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3046 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3047 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3049 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3050 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3051 Use __sim_round_mode_thread.
3052 * math/test-fenv-tls.c: New file.
3053 * math/Makefile (tests): Add test-fenv-tls.
3054 ($(objpfx)test-fenv-tls): Depend on
3055 $(common-objpfx)nptl/libpthread.so.
3057 2013-11-19 Andreas Schwab <schwab@suse.de>
3059 * locale/programs/locale.c (show_info): Decode wordarray elements.
3060 * locale/categories.def (LC_MONETARY): Add element for
3061 _NL_MONETARY_CRNCYSTR.
3062 * locale/C-monetary.c (conversion_rate): New variable.
3063 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3066 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3068 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3069 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3071 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3073 * elf/Makefile (tst-auxv): New test.
3074 * elf/tst-auxv.c: New
3075 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3077 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3079 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3080 (hidden_proto): Caller changed.
3081 (hidden_tls_proto): New macro.
3082 (libc_hidden_tls_proto): Likewise.
3083 (rtld_hidden_tls_proto): Likewise.
3084 (libm_hidden_tls_proto): Likewise.
3085 (libresolv_hidden_tls_proto): Likewise.
3086 (librt_hidden_tls_proto): Likewise.
3087 (libdl_hidden_tls_proto): Likewise.
3088 (libnss_files_hidden_tls_proto): Likewise.
3089 (libnsl_hidden_tls_proto): Likewise.
3090 (libnss_nisplus_hidden_tls_proto): Likewise.
3091 (libutil_hidden_tls_proto): Likewise.
3093 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3096 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3097 (decompose_rpath): Defer expansion to fillin_rpath.
3098 (_dl_init_paths): Pass linkmap to fillin_rpath.
3100 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3102 * benchtests/Makefile: Add strsep.
3103 * benchtests/bench-strsep.c: New file: strsep benchtest.
3104 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3106 2013-11-18 Andreas Schwab <schwab@suse.de>
3108 * locale/programs/locale.c (show_info) [case byte]: Check for
3109 '\377' instead of '\177'.
3110 * locale/C-monetary.c (not_available): Always use "\377".
3111 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3112 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3113 detect unavailable sign_posn locale elements.
3114 * locale/localeconv.c (__localeconv): For grouping and
3115 mon_grouping handle "\177" and "\377" like no grouping.
3116 (INT_ELEM): New macro. Use it to set all numeric members.
3117 * locale/programs/ld-monetary.c (monetary_read)
3118 <tok_mon_grouping>: Normalize single -1 to the empty string.
3119 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3122 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3125 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3126 when we match (nil).
3127 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3129 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3131 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3132 (NO_TEST_INLINE): Update value.
3133 (ERRNO_UNCHANGED): Likewise.
3134 (ERRNO_EDOM): Likewise.
3135 (ERRNO_ERANGE): Likewise.
3136 (IGNORE_RESULT): Likewise.
3137 (check_float_internal): Check signs of NaN results if
3139 (check_complex): Pass TEST_NAN_SIGN flag through to second
3140 check_float_internal call.
3141 (copysign_test_data): Add tests with quiet NaNs as second
3142 argument. Use TEST_NAN_SIGN.
3143 (fabs_test_data): Add test of negative quiet NaN argument. Use
3145 (signbit_test_data): Add tests of quiet NaN argument.
3146 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3148 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3150 (parse_args): Handle function results specified as IGNORE.
3151 * math/libm-test.inc (IGNORE_RESULT): New macro.
3152 (check_float_internal): Do not check numerical result if flag
3154 (check_complex): Pass through IGNORE_RESULT to second
3155 check_float_internal call.
3156 (check_int): Do not check numerical result if flag IGNORE_RESULT
3158 (check_long): Likewise.
3159 (check_bool): Likewise.
3160 (check_longlong): Likewise.
3161 (lrint_test_data): Add tests of infinite and NaN arguments.
3162 (lrint_tonearest_test_data): Likewise.
3163 (lrint_towardzero_test_data): Likewise.
3164 (lrint_downward_test_data): Likewise.
3165 (lrint_upward_test_data): Likewise.
3166 (llrint_test_data): Likewise.
3167 (llrint_tonearest_test_data): Likewise.
3168 (llrint_towardzero_test_data): Likewise.
3169 (llrint_downward_test_data): Likewise.
3170 (llrint_upward_test_data): Likewise.
3171 (lround_test_data): Likewise.
3172 (llround_test_data): Likewise.
3174 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3175 (ERRNO_UNCHANGED): Update value.
3176 (ERRNO_EDOM): Likewise.
3177 (ERRNO_ERANGE): Likewise.
3178 (NO_TEST_INLINE_FLOAT): New macro.
3179 (NO_TEST_INLINE_DOUBLE): Likewise.
3180 (enable_test): New function.
3181 (RUN_TEST_f_f): Check enable_test before running test.
3182 (RUN_TEST_2_f): Likewise.
3183 (RUN_TEST_fff_f): Likewise.
3184 (RUN_TEST_c_f): Likewise.
3185 (RUN_TEST_f_f1): Likewise.
3186 (RUN_TEST_fF_f1): Likewise.
3187 (RUN_TEST_fI_f1): Likewise.
3188 (RUN_TEST_ffI_f1): Likewise.
3189 (RUN_TEST_c_c): Likewise.
3190 (RUN_TEST_cc_c): Likewise.
3191 (RUN_TEST_f_i): Likewise.
3192 (RUN_TEST_f_i_tg): Likewise.
3193 (RUN_TEST_ff_i_tg): Likewise.
3194 (RUN_TEST_f_b): Likewise.
3195 (RUN_TEST_f_b_tg): Likewise.
3196 (RUN_TEST_f_l): Likewise.
3197 (RUN_TEST_f_L): Likewise.
3198 (RUN_TEST_fFF_11): Likewise.
3199 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3201 (cosh_test_data): Likewise.
3202 (exp_test_data): Likewise.
3203 (expm1_test_data): Likewise.
3204 (hypot_test_data): Likewise.
3205 (pow_test_data): Likewise.
3206 (sinh_test_data): Likewise.
3207 (tanh_test_data): Likewise.
3208 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3211 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3212 tests with quiet NaN input and output.
3213 (acosh_test_data): Likewise.
3214 (asin_test_data): Likewise.
3215 (asinh_test_data): Likewise.
3216 (atan_test_data): Likewise.
3217 (atanh_test_data): Likewise.
3218 (atan2_test_data): Likewise.
3219 (cbrt_test_data): Likewise.
3220 (cos_test_data): Likewise.
3221 (cosh_test_data): Likewise.
3222 (erf_test_data): Likewise.
3223 (erfc_test_data): Likewise.
3224 (exp_test_data): Likewise.
3225 (exp10_test_data): Likewise.
3226 (exp2_test_data): Likewise.
3227 (expm1_test_data): Likewise.
3228 (hypot_test_data): Likewise.
3229 (j0_test_data): Likewise.
3230 (j1_test_data): Likewise.
3231 (jn_test_data): Likewise.
3232 (lgamma_test_data): Likewise.
3233 (log_test_data): Likewise.
3234 (log10_test_data): Likewise.
3235 (log1p_test_data): Likewise.
3236 (log2_test_data): Likewise.
3237 (pow_test_data): Likewise.
3238 (scalb_test_data): Likewise.
3239 (sin_test_data): Likewise.
3240 (sincos_test_data): Likewise.
3241 (sinh_test_data): Likewise.
3242 (tan_test_data): Likewise.
3243 (tanh_test_data): Likewise.
3244 (tgamma_test_data): Likewise.
3245 (y0_test_data): Likewise.
3246 (y1_test_data): Likewise.
3247 (yn_test_data): Likewise.
3250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3251 argument being NaN and avoid computations with second argument in
3253 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3254 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3255 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3257 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3259 * locale/iso-639.def: Add Chitwani Tharu (the).
3261 2013-11-14 Andreas Schwab <schwab@suse.de>
3263 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3264 word instead of empty string.
3266 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3269 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3271 (__fe_nomask_env): Likewise.
3273 2013-11-13 Steve Ellcey <sellcey@mips.com>
3275 * benchtests/bench-timing.h: Include time.h.
3277 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3280 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3282 * sysdeps/unix/sysv/linux/configure: Regenerated.
3284 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3287 * stdlib/strtod_l.c (round_and_return): Do not consider
3288 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3289 exponent one less than half the least subnormal exponent.
3290 * stdlib/test-strtod-round-data: Add more tests.
3291 * stdlib/tst-strtod-round.c (tests): Regenerated.
3293 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3297 (__fe_mask_env): Likewise.
3298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3299 libm_hidden_proto and add function prototype.
3300 (__fe_mask_env): Add function prototype.
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3302 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3304 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3306 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3308 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3310 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3311 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3313 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3315 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3316 of htab_find_slot().
3318 2013-11-11 David S. Miller <davem@davemloft.net>
3321 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3322 symbol in the non-vis3 case in static builds.
3323 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3324 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3325 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3326 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3328 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3331 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3334 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336 * benchtests/Makefile: Add bench-strtod.
3337 * benchtests/bench-strtod.c: New file: strtod benchtest
3339 2013-11-11 Andreas Schwab <schwab@suse.de>
3342 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3343 terminating NUL in key length.
3345 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3348 Add artificial ODP entry for vDSO symbol for PPC64.
3349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3350 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3352 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3355 * nss/getent.c (services_keys): Recognize services starting with digit.
3357 2013-11-06 David S. Miller <davem@davemloft.net>
3360 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3361 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3363 2013-11-06 Will Newton <will.newton@linaro.org>
3365 * manual/memory.texi (Malloc Examples): Remove register
3366 keyword from examples.
3368 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3370 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3372 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3374 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3375 depending on [__GCC_IEC_559 > 0].
3376 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3377 depending on [__GCC_IEC_559_COMPLEX > 0].
3379 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3381 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3384 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3386 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3388 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3391 * malloc/malloc (malloc_info): Do not handle first bin as
3394 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3396 * locale/iso-639.def: Add Central Nahuatl (nhn).
3398 2013-11-01 Bruno Haible <bruno@clisp.org>
3401 * manual/math.texi (BSD Random): Specify range upper bound as
3404 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3406 * locale/iso-639.def: Add Meadow Mari (mhr).
3408 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3410 [BZ #14752], [BZ #15763]
3411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3413 * rt/tst_shm.c: Add test for escaping directory.
3415 2013-10-31 Andreas Schwab <schwab@suse.de>
3418 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3419 followed by 'x' as part of digit sequence.
3420 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3422 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3425 * configure.ac: allow GNU Make 4.0 and greater.
3426 * configure: Regenerated.
3428 2013-10-30 Will Newton <will.newton@linaro.org>
3431 * malloc/hooks.c (memalign_check): Limit alignment to the
3432 maximum representable power of two.
3433 * malloc/malloc.c (__libc_memalign): Likewise.
3434 * malloc/tst-memalign.c (do_test): Add test for very
3435 large alignment values.
3436 * malloc/tst-posix_memalign.c (do_test): Likewise.
3438 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3441 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3442 (munmap_chunk): Likewise.
3443 (mremap_chunk): Likewise.
3445 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3448 * stdlib/div.c (div): Remove obsolete code.
3449 * stdlib/ldiv.c (ldiv): Likewise.
3450 * stdlib/lldiv.c (lldiv): Likewise.
3452 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3455 * nss/nss_files/files-XXX.c (get_contents_ret): New
3457 (get_contents): New function.
3458 (internal_getent): Use it. Expand size of LINEBUFLEN.
3460 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3462 * configure.in: Moved to ...
3463 * configure.ac: ... here. Change reference to configure.in
3465 * sysdeps/arm/preconfigure.ac: ... here.
3466 configure.in to configure.ac.
3467 * sysdeps/gnu/configure.in: Moved to ...
3468 * sysdeps/gnu/configure.ac: ... here.
3469 * sysdeps/i386/configure.in: Moved to ...
3470 * sysdeps/i386/configure.ac: ... here.
3471 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3472 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3473 * sysdeps/mach/configure.in: Moved to ...
3474 * sysdeps/mach/configure.ac: ... here.
3475 * sysdeps/mach/hurd/configure.in: Moved to ...
3476 * sysdeps/mach/hurd/configure.ac: ... here.
3477 * sysdeps/powerpc/configure.in: Moved to ...
3478 * sysdeps/powerpc/configure.ac: ... here.
3479 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3480 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3481 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3482 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3483 * sysdeps/s390/s390-32/configure.in: Moved to ...
3484 * sysdeps/s390/s390-32/configure.ac: ... here.
3485 * sysdeps/s390/s390-64/configure.in: Moved to ...
3486 * sysdeps/s390/s390-64/configure.ac: ... here.
3487 * sysdeps/sh/configure.in: Moved to ...
3488 * sysdeps/sh/configure.ac: ... here.
3489 * sysdeps/sparc/configure.in: Moved to ...
3490 * sysdeps/sparc/configure.ac: ... here.
3491 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3492 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3493 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3494 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3495 * sysdeps/x86_64/configure.in: Moved to ...
3496 * sysdeps/x86_64/configure.ac: ... here.
3497 * sysdeps/x86_64/preconfigure.in: Moved to ...
3498 * sysdeps/x86_64/preconfigure.ac: ... here.
3499 * aclocal.m4: Change reference to configure.in to configure.ac.
3500 * config.h.in: Likewise.
3501 * manual/install.texi: Likewise.
3502 * manual/maint.texi: Likewise.
3503 * Makefile: Likewise.
3504 * malloc/Makefile: Likewise.
3505 * nscd/Makefile: Likewise.
3506 * Makeconfig: Change reference to configure.in and
3507 preconfigure.in to configure.ac and preconfigure.ac
3509 * INSTALL: Regenerated.
3510 * configure: Likewise.
3511 * sysdeps/gnu/configure: Likewise.
3512 * sysdeps/i386/configure: Likewise.
3513 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3514 * sysdeps/mach/configure: Likewise.
3515 * sysdeps/mach/hurd/configure: Likewise.
3516 * sysdeps/powerpc/configure: Likewise.
3517 * sysdeps/powerpc/powerpc32/configure: Likewise.
3518 * sysdeps/powerpc/powerpc64/configure: Likewise.
3519 * sysdeps/s390/s390-32/configure: Likewise.
3520 * sysdeps/s390/s390-64/configure: Likewise.
3521 * sysdeps/sh/configure: Likewise.
3522 * sysdeps/sparc/configure: Likewise.
3523 * sysdeps/unix/sysv/linux/configure: Likewise.
3524 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3525 * sysdeps/x86_64/configure: Likewise.
3526 * sysdeps/x86_64/preconfigure: Likewise.
3528 2013-10-29 Andreas Schwab <schwab@suse.de>
3530 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3532 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3534 * benchtests/pow-inputs: Add new inputs.
3536 * benchtests/exp-inputs: Add new inputs.
3538 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3539 conditional check for return value.
3540 (__cos32): Likewise.
3542 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3544 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3545 to provide a boost for large inputs with word alignment.
3546 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3547 implementation based on optimized PPC64 strcpy.
3548 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3549 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3550 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3551 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3553 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3556 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3558 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3561 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3562 * time/tst-strptime.c (day_tests): Add testcase.
3564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3567 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3569 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3572 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3573 MAP_FAILED on error.
3575 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3578 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3579 heap for large requests.
3581 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3584 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3585 result if the result has no associated interface.
3586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3587 interface for all 127.X.Y.Z addresses.
3589 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3591 * locale/iso-639.def: Add Ligurian (lij)
3593 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3596 * sunrpc/rpc_main.c: Document rpcgen -5.
3598 2013-10-19 Michael Stahl <mstahl@redhat.com>
3600 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3602 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3605 * posix/glob.c: Match only directories when trailing slash is present.
3606 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3607 (main): Add testcase.
3609 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3612 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3614 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3616 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3617 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3618 AUTH_DES and cindex for FIPS 140-2.
3619 (DES Encryption): Add cindex FIPS 46-3.
3621 * locale/locarchive.h (struct locarhandle): Add fname.
3622 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3623 if an optional argument was specified to --list-archive,
3625 * locale/programs/locarchive.c (show_archive_content): Take new
3626 argument fname and pass it via ah.fname to open_archive.
3627 * locale/programs/localedef.h: Update decl.
3628 (open_archive): If AH->fname is non-null, open that file
3629 rather than the default file name, and don't ignore ENOENT.
3630 (create_archive): Set AH.fname to NULL.
3631 (delete_locales_from_archive): Likewise.
3632 (add_locales_to_archive): Likewise.
3633 * locale/programs/locfile.c (write_all_categories): Likewise.
3635 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3636 Aldy Hernandez <aldyh@redhat.com>
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3640 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3641 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3642 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3643 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3647 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3648 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3649 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3650 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3654 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3656 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3660 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3661 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3663 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3664 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3666 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3668 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3670 * sysdeps/powerpc/preconfigure: Likewise.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3673 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3674 Replace contents of file by #include of <fenv_libc.h>.
3675 * sysdeps/powerpc/soft-fp/sfp-machine.h
3676 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3678 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3691 Allow copysignl PLT reference to be missing.
3693 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3694 Joseph Myers <joseph@codesourcery.com
3697 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3699 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3701 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3703 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3704 * elf/tst-tls1.c: Likewise.
3705 * elf/tst-tls10.h: Likewise.
3706 * elf/tst-tls14.c: Likewise.
3707 * elf/tst-tls2.c: Likewise.
3708 * elf/tst-tls3.c: Likewise.
3709 * elf/tst-tls4.c: Likewise.
3710 * elf/tst-tls5.c: Likewise.
3711 * elf/tst-tls6.c: Likewise.
3712 * elf/tst-tls7.c: Likewise.
3713 * elf/tst-tls8.c: Likewise.
3714 * elf/tst-tls9.c: Likewise.
3715 * elf/tst-tlsmod1.c: Likewise.
3716 * elf/tst-tlsmod13.c: Likewise.
3717 * elf/tst-tlsmod13a.c: Likewise.
3718 * elf/tst-tlsmod14a.c: Likewise.
3719 * elf/tst-tlsmod16a.c: Likewise.
3720 * elf/tst-tlsmod16b.c: Likewise.
3721 * elf/tst-tlsmod2.c: Likewise.
3722 * elf/tst-tlsmod3.c: Likewise.
3723 * elf/tst-tlsmod4.c: Likewise.
3724 * elf/tst-tlsmod5.c: Likewise.
3725 * elf/tst-tlsmod6.c: Likewise.
3727 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3730 * malloc/malloc.c: remove checks for statistics.
3732 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3735 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3736 * inet/tst-network.c: Add testcase.
3738 2013-10-17 Andreas Schwab <schwab@suse.de>
3741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3742 to determine canonical name.
3744 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3746 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3747 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3770 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3805 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3808 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3809 make result into a quiet NaN.
3811 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3813 * soft-fp/adddf3.c: Fix horizontal whitespace.
3814 * soft-fp/addsf3.c: Likewise.
3815 * soft-fp/addtf3.c: Likewise.
3816 * soft-fp/divdf3.c: Likewise.
3817 * soft-fp/divsf3.c: Likewise.
3818 * soft-fp/divtf3.c: Likewise.
3819 * soft-fp/double.h: Likewise.
3820 * soft-fp/eqdf2.c: Likewise.
3821 * soft-fp/eqsf2.c: Likewise.
3822 * soft-fp/eqtf2.c: Likewise.
3823 * soft-fp/extenddftf2.c: Likewise.
3824 * soft-fp/extended.h: Likewise.
3825 * soft-fp/extendsfdf2.c: Likewise.
3826 * soft-fp/extendsftf2.c: Likewise.
3827 * soft-fp/extendxftf2.c: Likewise.
3828 * soft-fp/fixdfdi.c: Likewise.
3829 * soft-fp/fixdfsi.c: Likewise.
3830 * soft-fp/fixdfti.c: Likewise.
3831 * soft-fp/fixsfdi.c: Likewise.
3832 * soft-fp/fixsfsi.c: Likewise.
3833 * soft-fp/fixsfti.c: Likewise.
3834 * soft-fp/fixtfdi.c: Likewise.
3835 * soft-fp/fixtfsi.c: Likewise.
3836 * soft-fp/fixtfti.c: Likewise.
3837 * soft-fp/fixunsdfdi.c: Likewise.
3838 * soft-fp/fixunsdfsi.c: Likewise.
3839 * soft-fp/fixunsdfti.c: Likewise.
3840 * soft-fp/fixunssfdi.c: Likewise.
3841 * soft-fp/fixunssfsi.c: Likewise.
3842 * soft-fp/fixunssfti.c: Likewise.
3843 * soft-fp/fixunstfdi.c: Likewise.
3844 * soft-fp/fixunstfsi.c: Likewise.
3845 * soft-fp/fixunstfti.c: Likewise.
3846 * soft-fp/floatdidf.c: Likewise.
3847 * soft-fp/floatdisf.c: Likewise.
3848 * soft-fp/floatditf.c: Likewise.
3849 * soft-fp/floatsidf.c: Likewise.
3850 * soft-fp/floatsisf.c: Likewise.
3851 * soft-fp/floatsitf.c: Likewise.
3852 * soft-fp/floattidf.c: Likewise.
3853 * soft-fp/floattisf.c: Likewise.
3854 * soft-fp/floattitf.c: Likewise.
3855 * soft-fp/floatundidf.c: Likewise.
3856 * soft-fp/floatundisf.c: Likewise.
3857 * soft-fp/floatunditf.c: Likewise.
3858 * soft-fp/floatunsidf.c: Likewise.
3859 * soft-fp/floatunsisf.c: Likewise.
3860 * soft-fp/floatunsitf.c: Likewise.
3861 * soft-fp/floatuntidf.c: Likewise.
3862 * soft-fp/floatuntisf.c: Likewise.
3863 * soft-fp/floatuntitf.c: Likewise.
3864 * soft-fp/fmadf4.c: Likewise.
3865 * soft-fp/fmasf4.c: Likewise.
3866 * soft-fp/fmatf4.c: Likewise.
3867 * soft-fp/gedf2.c: Likewise.
3868 * soft-fp/gesf2.c: Likewise.
3869 * soft-fp/getf2.c: Likewise.
3870 * soft-fp/ledf2.c: Likewise.
3871 * soft-fp/lesf2.c: Likewise.
3872 * soft-fp/letf2.c: Likewise.
3873 * soft-fp/muldf3.c: Likewise.
3874 * soft-fp/mulsf3.c: Likewise.
3875 * soft-fp/multf3.c: Likewise.
3876 * soft-fp/negdf2.c: Likewise.
3877 * soft-fp/negsf2.c: Likewise.
3878 * soft-fp/negtf2.c: Likewise.
3879 * soft-fp/op-1.h: Likewise.
3880 * soft-fp/op-2.h: Likewise.
3881 * soft-fp/op-4.h: Likewise.
3882 * soft-fp/op-8.h: Likewise.
3883 * soft-fp/op-common.h: Likewise.
3884 * soft-fp/quad.h: Likewise.
3885 * soft-fp/single.h: Likewise.
3886 * soft-fp/soft-fp.h: Likewise.
3887 * soft-fp/sqrtdf2.c: Likewise.
3888 * soft-fp/sqrtsf2.c: Likewise.
3889 * soft-fp/sqrttf2.c: Likewise.
3890 * soft-fp/subdf3.c: Likewise.
3891 * soft-fp/subsf3.c: Likewise.
3892 * soft-fp/subtf3.c: Likewise.
3893 * soft-fp/truncdfsf2.c: Likewise.
3894 * soft-fp/trunctfdf2.c: Likewise.
3895 * soft-fp/trunctfsf2.c: Likewise.
3896 * soft-fp/trunctfxf2.c: Likewise.
3897 * soft-fp/unorddf2.c: Likewise.
3898 * soft-fp/unordsf2.c: Likewise.
3899 * soft-fp/unordtf2.c: Likewise.
3901 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3903 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3904 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3906 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3908 * elf/dl-libc.c: Clear initfini list after freeing.
3910 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3912 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3913 * soft-fp/addsf3.c: Likewise.
3914 * soft-fp/addtf3.c: Likewise.
3915 * soft-fp/divdf3.c: Likewise.
3916 * soft-fp/divsf3.c: Likewise.
3917 * soft-fp/divtf3.c: Likewise.
3918 * soft-fp/double.h: Likewise.
3919 * soft-fp/eqdf2.c: Likewise.
3920 * soft-fp/eqsf2.c: Likewise.
3921 * soft-fp/eqtf2.c: Likewise.
3922 * soft-fp/extenddftf2.c: Likewise.
3923 * soft-fp/extended.h: Likewise.
3924 * soft-fp/extendsfdf2.c: Likewise.
3925 * soft-fp/extendsftf2.c: Likewise.
3926 * soft-fp/extendxftf2.c: Likewise.
3927 * soft-fp/fixdfdi.c: Likewise.
3928 * soft-fp/fixdfsi.c: Likewise.
3929 * soft-fp/fixdfti.c: Likewise.
3930 * soft-fp/fixsfdi.c: Likewise.
3931 * soft-fp/fixsfsi.c: Likewise.
3932 * soft-fp/fixsfti.c: Likewise.
3933 * soft-fp/fixtfdi.c: Likewise.
3934 * soft-fp/fixtfsi.c: Likewise.
3935 * soft-fp/fixtfti.c: Likewise.
3936 * soft-fp/fixunsdfdi.c: Likewise.
3937 * soft-fp/fixunsdfsi.c: Likewise.
3938 * soft-fp/fixunsdfti.c: Likewise.
3939 * soft-fp/fixunssfdi.c: Likewise.
3940 * soft-fp/fixunssfsi.c: Likewise.
3941 * soft-fp/fixunssfti.c: Likewise.
3942 * soft-fp/fixunstfdi.c: Likewise.
3943 * soft-fp/fixunstfsi.c: Likewise.
3944 * soft-fp/fixunstfti.c: Likewise.
3945 * soft-fp/floatdidf.c: Likewise.
3946 * soft-fp/floatdisf.c: Likewise.
3947 * soft-fp/floatditf.c: Likewise.
3948 * soft-fp/floatsidf.c: Likewise.
3949 * soft-fp/floatsisf.c: Likewise.
3950 * soft-fp/floatsitf.c: Likewise.
3951 * soft-fp/floattidf.c: Likewise.
3952 * soft-fp/floattisf.c: Likewise.
3953 * soft-fp/floattitf.c: Likewise.
3954 * soft-fp/floatundidf.c: Likewise.
3955 * soft-fp/floatundisf.c: Likewise.
3956 * soft-fp/floatunsidf.c: Likewise.
3957 * soft-fp/floatunsisf.c: Likewise.
3958 * soft-fp/floatuntidf.c: Likewise.
3959 * soft-fp/floatuntisf.c: Likewise.
3960 * soft-fp/floatuntitf.c: Likewise.
3961 * soft-fp/fmadf4.c: Likewise.
3962 * soft-fp/fmasf4.c: Likewise.
3963 * soft-fp/fmatf4.c: Likewise.
3964 * soft-fp/gedf2.c: Likewise.
3965 * soft-fp/gesf2.c: Likewise.
3966 * soft-fp/getf2.c: Likewise.
3967 * soft-fp/ledf2.c: Likewise.
3968 * soft-fp/lesf2.c: Likewise.
3969 * soft-fp/letf2.c: Likewise.
3970 * soft-fp/muldf3.c: Likewise.
3971 * soft-fp/mulsf3.c: Likewise.
3972 * soft-fp/multf3.c: Likewise.
3973 * soft-fp/negdf2.c: Likewise.
3974 * soft-fp/negsf2.c: Likewise.
3975 * soft-fp/negtf2.c: Likewise.
3976 * soft-fp/op-1.h: Likewise.
3977 * soft-fp/op-2.h: Likewise.
3978 * soft-fp/op-4.h: Likewise.
3979 * soft-fp/op-8.h: Likewise.
3980 * soft-fp/op-common.h: Likewise.
3981 * soft-fp/quad.h: Likewise.
3982 * soft-fp/single.h: Likewise.
3983 * soft-fp/soft-fp.h: Likewise.
3984 * soft-fp/sqrtdf2.c: Likewise.
3985 * soft-fp/sqrtsf2.c: Likewise.
3986 * soft-fp/sqrttf2.c: Likewise.
3987 * soft-fp/subdf3.c: Likewise.
3988 * soft-fp/subsf3.c: Likewise.
3989 * soft-fp/subtf3.c: Likewise.
3990 * soft-fp/truncdfsf2.c: Likewise.
3991 * soft-fp/trunctfdf2.c: Likewise.
3992 * soft-fp/trunctfsf2.c: Likewise.
3993 * soft-fp/trunctfxf2.c: Likewise.
3994 * soft-fp/unorddf2.c: Likewise.
3995 * soft-fp/unordsf2.c: Likewise.
3996 * soft-fp/unordtf2.c: Likewise.
3998 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4001 * misc/error.c (error_tail): Fix possible buffer overflow.
4003 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4006 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4009 2013-10-14 P. J. McDermott <pj@pehjota.net>
4012 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4013 testing pipefail option.
4015 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4017 * soft-fp/double.h: Indent preprocessor directives inside #if.
4018 * soft-fp/extended.h: Likewise.
4019 * soft-fp/op-2.h: Likewise.
4020 * soft-fp/op-4.h: Likewise.
4021 * soft-fp/op-common.h: Likewise.
4022 * soft-fp/quad.h: Likewise.
4023 * soft-fp/single.h: Likewise.
4024 * soft-fp/soft-fp.h: Likewise.
4026 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4028 * iconv/iconv_prog.c: Fix typos.
4029 * stdio-common/psiginfo-data.h: Likewise.
4031 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4034 * locale/setlocale.c: Fix typo.
4036 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4039 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4040 signaling NaN arguments.
4041 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4042 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4045 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4047 * soft-fp/gesf2.c (__gesf2): Likewise.
4048 * soft-fp/getf2.c (__getf2): Likewise.
4049 * soft-fp/ledf2.c (__ledf2): Likewise.
4050 * soft-fp/lesf2.c (__lesf2): Likewise.
4051 * soft-fp/letf2.c (__letf2): Likewise.
4053 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4054 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4055 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4056 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4057 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4058 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4059 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4060 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4061 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4062 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4063 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4064 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4065 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4066 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4067 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4068 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4069 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4070 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4071 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4072 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4073 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4074 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4075 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4076 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4077 * soft-fp/floattidf.c (__floattidf): Likewise.
4078 * soft-fp/floattisf.c (__floattisf): Likewise.
4079 * soft-fp/floattitf.c (__floattitf): Likewise.
4080 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4081 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4082 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4083 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4084 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4085 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4086 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4087 * soft-fp/gesf2.c (__gesf2): Likewise.
4088 * soft-fp/getf2.c (__getf2): Likewise.
4089 * soft-fp/ledf2.c (__ledf2): Likewise.
4090 * soft-fp/lesf2.c (__lesf2): Likewise.
4091 * soft-fp/letf2.c (__letf2): Likewise.
4093 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4094 Undefine and redefine.
4095 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4096 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4097 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4098 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4099 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4100 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4101 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4102 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4103 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4104 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4105 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4106 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4107 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4108 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4109 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4112 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4113 without decrementing exponent if mantissa >= that for the
4115 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4116 denominator, not >. Decrement exponent in < case instead of
4117 incrementing in >= case.
4118 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4119 without decrementing exponent if mantissa >= that for the
4122 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4123 computing saturated result for unsigned overflow.
4125 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4126 Jeff Law <law@redhat.com>
4128 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4129 (atan2Mp): Add systemtap probe marker.
4130 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4131 (__ieee754_log): Add systemtap probe marker.
4132 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4133 (atanMp): Add systemtap probe marker.
4134 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4135 (tanMp): Add systemtap probe marker.
4136 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4137 (__slowexp): Add systemtap probe marker.
4138 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4139 (__slowpow): Add systemtap probe marker.
4140 * manual/probes.texi: Document probes.
4142 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4145 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4147 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4149 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4150 written to buffer but not flushed.
4151 * libio/iofwrite_u.c: Likewise.
4152 * libio/iopadn.c: Return bytes returned even if EOF was
4154 * libio/iowpadn.c: Likewise.
4155 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4156 if _IO_padn does not write the whole buffer.
4157 [!COMPILE_WPRINTF] (PAD): Likewise.
4159 2013-10-10 David S. Miller <davem@davemloft.net>
4161 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4164 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4166 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4167 instead of FSF address.
4168 * soft-fp/fixdfti.c: Likewise.
4169 * soft-fp/fixsfti.c: Likewise.
4170 * soft-fp/fixtfti.c: Likewise.
4171 * soft-fp/fixunsdfti.c: Likewise.
4172 * soft-fp/fixunssfti.c: Likewise.
4173 * soft-fp/fixunstfti.c: Likewise.
4174 * soft-fp/floattidf.c: Likewise.
4175 * soft-fp/floattisf.c: Likewise.
4176 * soft-fp/floattitf.c: Likewise.
4177 * soft-fp/floatuntidf.c: Likewise.
4178 * soft-fp/floatuntisf.c: Likewise.
4179 * soft-fp/floatuntitf.c: Likewise.
4180 * soft-fp/trunctfxf2.c: Likewise.
4182 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4183 * soft-fp/fixdfti.c: Likewise.
4184 * soft-fp/fixsfti.c: Likewise.
4185 * soft-fp/fixtfti.c: Likewise.
4186 * soft-fp/fixunsdfti.c: Likewise.
4187 * soft-fp/fixunssfti.c: Likewise.
4188 * soft-fp/fixunstfti.c: Likewise.
4189 * soft-fp/floattidf.c: Likewise.
4190 * soft-fp/floattisf.c: Likewise.
4191 * soft-fp/floattitf.c: Likewise.
4192 * soft-fp/floatuntidf.c: Likewise.
4193 * soft-fp/floatuntisf.c: Likewise.
4194 * soft-fp/floatuntitf.c: Likewise.
4195 * soft-fp/trunctfxf2.c: Likewise.
4197 2013-10-10 David S. Miller <davem@davemloft.net>
4199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4201 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4203 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4204 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4205 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4206 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4207 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4208 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4209 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4212 for NaNs before doing comparisons on argument.
4213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4216 2013-10-10 Will Newton <will.newton@linaro.org>
4218 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4219 passed to _int_memalign does not overflow.
4221 2013-10-10 Torvald Riegel <triegel@redhat.com>
4223 * scripts/bench.pl: Add include-sources directive.
4224 * benchtests/README: Update documentation.
4226 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4228 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4229 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4230 instead of FP_INIT_ROUNDMODE.
4231 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4232 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4235 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4236 copy class of input value.
4237 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4238 not handle exceptions.
4239 * soft-fp/negsf2.c (__negsf2): Likewise.
4240 * soft-fp/negtf2.c (__negtf2): Likewise.
4241 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4243 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4245 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4246 semicolon. From Linux kernel.
4248 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4250 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4252 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4255 * manual/socket.texi: Added statement about buffer
4256 for gethostbyname2_r.
4258 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4260 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4261 Use .p2align directive instead, throughout.
4262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4263 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4264 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4267 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4268 * sysdeps/x86_64/strchr.S: Likewise.
4269 * sysdeps/x86_64/strrchr.S: Likewise.
4271 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4273 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4275 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4277 * sysdeps/generic/math_private.h (__mpsin1): Remove
4279 (__mpcos1): Likewise.
4280 (__mpsin): New argument __range_reduce.
4281 (__mpcos): Likewise.
4282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4283 (slow): Use __mpsin and __mpcos.
4290 (bsloww1): Likewise.
4291 (bsloww2): Likewise.
4294 (csloww1): Likewise.
4295 (csloww2): Likewise.
4296 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4297 range_reduce. Merge in __mpsin1.
4298 (__mpcos): Likewise.
4300 (__mpcos1): Likewise.
4302 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4304 * locale/loadlocale.c (_nl_intern_locale_data): Use
4306 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4307 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4308 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4309 obstack data is appropriately aligned.
4310 (obstack_int32_grow_fast): Likewise.
4311 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4312 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4313 (add_locale_uint32_array): Likewise.
4315 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4317 * benchtests/Makefile: Remove ARGLIST and RET variables.
4318 ($(objpfx)bench-%.c): Pass only function name to the script.
4319 * benchtests/README: Update documentation.
4320 * benchtests/acos-inputs: Add new directives.
4321 * benchtests/acosh-inputs: Likewise.
4322 * benchtests/asin-inputs: Likewise.
4323 * benchtests/asinh-inputs: Likewise.
4324 * benchtests/atan-inputs: Likewise.
4325 * benchtests/atanh-inputs: Likewise.
4326 * benchtests/cos-inputs: Likewise.
4327 * benchtests/cosh-inputs: Likewise.
4328 * benchtests/exp-inputs: Likewise.
4329 * benchtests/log-inputs: Likewise.
4330 * benchtests/pow-inputs: Likewise.
4331 * benchtests/rint-inputs: Likewise.
4332 * benchtests/sin-inputs: Likewise.
4333 * benchtests/sinh-inputs: Likewise.
4334 * benchtests/tan-inputs: Likewise.
4335 * benchtests/tanh-inputs: Likewise.
4336 * scripts/bench.pl: Add support for new directives.
4338 2013-10-07 Alan Modra <amodra@gmail.com>
4340 * README: Fix careless merge.
4342 2013-10-05 Alan Modra <amodra@gmail.com>
4344 * NEWS: Mention powerpc64le support and bugs fixed.
4345 * README: Both big-endian and little-endian powerpc64 supported.
4347 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4349 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4350 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4351 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4352 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4354 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4356 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4359 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4361 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4362 Move -mhard-float appending from
4363 ports/sysdeps/powerpc/powerpc32/Makefile.
4364 [$(with-fp) = yes] (ASFLAGS): Likewise.
4365 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4366 * sysdeps/powerpc/nofpu: Move directory from
4367 ports/sysdeps/powerpc/nofpu.
4368 * sysdeps/powerpc/soft-fp: Move directory from
4369 ports/sysdeps/powerpc/soft-fp.
4370 * sysdeps/powerpc/powerpc32/405: Move directory from
4371 ports/sysdeps/powerpc/powerpc32/405.
4372 * sysdeps/powerpc/powerpc32/440: Move directory from
4373 ports/sysdeps/powerpc/powerpc32/440.
4374 * sysdeps/powerpc/powerpc32/464: Move directory from
4375 ports/sysdeps/powerpc/powerpc32/464.
4376 * sysdeps/powerpc/powerpc32/476: Move directory from
4377 ports/sysdeps/powerpc/powerpc32/476.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4381 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4383 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4388 * README: Update for powerpc-*-linux-gnu software floating point
4391 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4392 case to powerpc/powerpc32*.
4393 * sysdeps/unix/sysv/linux/configure: Regenerated.
4395 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4396 (_FPU_MASK_OM): Define as 0x04.
4397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4412 and setcontext_e500.
4414 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4416 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4418 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4420 * manual/threads.texi (Default Thread Attributes): Fix typo.
4422 2013-10-04 Will Newton <will.newton@linaro.org>
4424 * malloc/Makefile: Add tst-memalign.
4425 * malloc/tst-memalign.c: New file.
4427 * malloc/tst-posix_memalign.c: Add comments.
4428 (do_test): Add comments and call free on all potentially
4429 allocated pointers. Add space after cast.
4431 * malloc/tst-pvalloc.c: Add comments.
4432 (do_test): Add comments and call free on all potentially
4433 allocated pointers. Remove duplicate check for NULL pointer.
4434 Add space after cast.
4436 * malloc/tst-valloc.c: Add comments.
4437 (do_test): Add comments and call free on all potentially
4438 allocated pointers. Remove duplicate check for NULL pointer.
4439 Add space after cast.
4441 2013-10-04 Alan Modra <amodra@gmail.com>
4443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4444 Use stdint types in rather than __attribute__((mode())).
4445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4447 2013-10-04 Alan Modra <amodra@gmail.com>
4449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4450 Correct handling of unaligned relocs for little-endian.
4451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4453 2013-10-04 Alan Modra <amodra@gmail.com>
4455 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4456 * configure: Regenerate.
4457 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4458 * shlib-versions: Likewise.
4460 2013-10-04 Alan Modra <amodra@gmail.com>
4462 * string/tester.c (test_memrchr): Increment reported test cycle.
4464 2013-10-04 Alan Modra <amodra@gmail.com>
4466 * string/test-memcpy.c (do_one_test): When reporting errors, print
4467 string address and don't overrun end of string.
4469 2013-10-04 Alan Modra <amodra@gmail.com>
4471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4472 insrdi. Make better use of reg selection to speed exit slightly.
4473 Schedule entry path a little better. Remove useless "are we done"
4474 checks on entry to main loop. Handle wrapping around zero address.
4475 Correct main loop count. Handle single left-over word from main
4476 loop inline rather than by using loop_small. Remove extra word
4477 case in loop_small caused by wrong loop count. Add little-endian
4479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4484 support. Avoid rlwimi.
4485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4487 2013-10-04 Alan Modra <amodra@gmail.com>
4489 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4491 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4492 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4493 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4494 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4498 2013-10-04 Alan Modra <amodra@gmail.com>
4500 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4504 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4507 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4508 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4509 use of regs. Use power7 mtocrf. Tidy function tails.
4511 2013-10-04 Alan Modra <amodra@gmail.com>
4513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4514 Formatting. Consistently use rXXX register defines or rN defines.
4515 Use early exit labels that avoid restoring unused non-volatile regs.
4516 Make cr field use more consistent with rWORDn compares. Rename
4517 regs used as shift registers for unaligned loop, using rN defines
4518 for short lifetime/multiple use regs.
4519 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4521 addi 1,1,64 to pop stack frame. Simplify return value code.
4522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4524 2013-10-04 Alan Modra <amodra@gmail.com>
4526 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4527 support. Correct typos, formatting. Optimize tail. Use insrdi
4529 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4530 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4531 little-endian support. Correct typos.
4532 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4534 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4535 in loop and entry code to keep "and." results.
4536 (strchr): Add little-endian support. Comment. Move cntlzd
4538 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4540 2013-10-04 Alan Modra <amodra@gmail.com>
4542 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4543 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4547 2013-10-04 Alan Modra <amodra@gmail.com>
4549 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4550 (rTMP): Define as r11.
4551 (strcmp): Add little-endian support. Optimise tail.
4552 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4555 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4560 2013-10-04 Alan Modra <amodra@gmail.com>
4562 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4563 little-endian support. Remove unnecessary "are we done" tests.
4564 Handle "s" wrapping around zero and extremely large "size".
4565 Correct main loop count. Handle single left-over word from main
4566 loop inline rather than by using small_loop. Correct comments.
4567 Delete "zero" tail, use "end_max" instead.
4568 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4570 2013-10-04 Alan Modra <amodra@gmail.com>
4572 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4573 support. Don't branch over align.
4574 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4576 support. Rearrange tmp reg use to suit. Comment.
4577 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4579 2013-10-04 Alan Modra <amodra@gmail.com>
4581 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4583 2013-10-04 Alan Modra <amodra@gmail.com>
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4586 conditional form of branch and link when obtaining pc.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4589 2013-10-04 Alan Modra <amodra@gmail.com>
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4596 2013-10-04 Alan Modra <amodra@gmail.com>
4598 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4599 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4601 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4602 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4603 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4604 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4605 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4607 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4609 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4610 Alistair Popple <alistair@ozlabs.au.ibm.com>
4611 Alan Modra <amodra@gmail.com>
4614 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4615 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4616 _dl_hwcap access for little-endian.
4617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4618 destroy vmx regs when saving unaligned.
4619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4620 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4621 destroy vmx regs when saving unaligned.
4623 2013-10-04 Alan Modra <amodra@gmail.com>
4625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4626 Don't use a union to pack hi/low value.
4628 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4630 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4632 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4636 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4638 2013-10-04 Alan Modra <amodra@gmail.com>
4640 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4641 constants to usual value for .cst8 section, and remove redundant
4643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4644 constant for 0x1p52. Load little-endian words of double from
4645 correct stack offsets.
4647 2013-10-04 Alan Modra <amodra@gmail.com>
4649 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4650 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4651 words of double from correct stack offsets.
4652 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4653 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4654 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4657 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4659 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4666 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4668 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4670 2013-10-04 Alan Modra <amodra@gmail.com>
4672 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4673 64-bit int/double union.
4674 (_FPU_SETCW): Likewise.
4675 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4676 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4678 2013-10-04 Alan Modra <amodra@gmail.com>
4680 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4681 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4683 2013-10-04 Alan Modra <amodra@gmail.com>
4685 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4686 use vector int constants.
4687 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4689 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4691 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4692 array with long long.
4693 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4694 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4695 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4696 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4698 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4699 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4700 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4701 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4702 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4703 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4704 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4705 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4707 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4709 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4710 (__signbit): Likewise. Correct for little-endian.
4711 (__signbitl): Call __signbit.
4712 (lrint): Correct for little-endian.
4713 (lrintf): Call lrint.
4715 2013-10-04 Alan Modra <amodra@gmail.com>
4717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4718 union 32-bit int array member with 64-bit int array.
4719 (t515, tm256): Double rather than long double.
4720 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4722 2013-10-04 Alan Modra <amodra@gmail.com>
4724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4726 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4728 version of math_ldbl.h.
4730 2013-10-04 Alan Modra <amodra@gmail.com>
4732 [BZ #15734], [BZ #15735]
4733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4734 all uses of ieee875 long double macros and unions. Simplify test
4735 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4736 ldbl_extract_mantissa value for ix,iy exponents. Properly
4737 normalize after ldbl_extract_mantissa, and don't add hidden bit
4738 already handled. Don't treat low word of ieee854 mantissa like
4739 low word of IBM long double and mask off bit when testing for
4741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4742 all uses of ieee875 long double macros and unions. Simplify tests
4743 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4744 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4745 two1022, instead use their values. Recognise that tests for large
4746 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4748 Rewrite all uses of ieee875 long double macros and unions. Simplify
4749 test for 0.0L and nan. Correct negation.
4750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4751 ieee875 long double macros and unions. Correct output for large
4752 magnitude x. Correct absolute value calculation.
4753 (__erfcl): Likewise.
4754 * math/libm-test.inc: Add tests for errors discovered in IBM long
4755 double versions of fmodl, remainderl, erfl and erfcl.
4757 2013-10-04 Alan Modra <amodra@gmail.com>
4759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4760 all uses of ieee854 long double macros and unions. Simplify tests
4761 for long doubles that are fully specified by the high double.
4762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4764 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4765 Remove dead code too.
4766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4767 (__ieee754_ynl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4771 Remove dead code too.
4772 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4782 Comment on variable precision.
4783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4792 2013-10-04 Alan Modra <amodra@gmail.com>
4794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4796 all uses of ieee854 long double macros and unions.
4797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4810 Simplify sign and nan test too.
4811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4816 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4826 2013-10-04 Alan Modra <amodra@gmail.com>
4828 * stdio-common/printf_size.c (__printf_size): Don't use
4829 union ieee854_long_double in fpnum union.
4830 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4831 signbit macro to retrieve sign from long double.
4832 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4833 retrieve sign from long double.
4834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4835 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4836 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4837 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4838 * math/test-misc.c (main): Don't use union ieee854_long_double.
4840 2013-10-04 Alan Modra <amodra@gmail.com>
4843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4845 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4846 calculation. Remove unnecessary test for denormal exponent.
4847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4848 Correct handling of denormals. Avoid undefined shift behaviour.
4849 Correct normalisation of low mantissa when low double is denormal.
4850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4851 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4852 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4853 Correct normalisation of low mantissa. Test for overflow of high
4854 mantissa and normalise.
4855 (ldbl_nearbyint): Use more readable constant for two52.
4856 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4857 (__mpn_construct_long_double): Fix test for overflow of high
4858 mantissa and correct normalisation. Avoid undefined shift.
4860 2013-10-04 Alan Modra <amodra@gmail.com>
4862 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4863 (union ibm_extended_long_double): Define as an array of ieee754_double.
4864 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4866 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4867 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4876 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4878 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4879 page size instead of calling getpagesize.
4881 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4882 (LOCFILE_ALIGN_MASK): Likewise.
4883 (LOCFILE_ALIGN_UP): Likewise.
4884 (LOCFILE_ALIGNED_P): Likewise.
4885 * locale/programs/ld-collate.c (collate_output): Use the new
4886 macros instead of __alignof__ (int32_t).
4887 * locale/weight.h (findidx): Likewise.
4889 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4892 * manual/string.texi: Fix strncat and wcsncat.
4894 2013-10-03 Brooks Moses <bmoses@google.com>
4897 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4898 * Makerules: ...here, and adjust associated comments.
4900 2013-10-02 Will Newton <will.newton@linaro.org>
4902 * malloc/Makefile: Add tst-pvalloc.
4903 * malloc/tst-pvalloc.c: New file.
4905 2013-10-02 Will Newton <will.newton@linaro.org>
4907 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4908 improve test coverage.
4910 2013-10-02 Will Newton <will.newton@linaro.org>
4912 * malloc/Makefile: Add tst-posix_memalign.
4913 * malloc/tst-posix_memalign.c: New file.
4915 2013-10-01 Eric Blake <eblake@redhat.com>
4917 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4918 Use __THROWNL rather than __THROW on static functions.
4920 2013-09-30 Petr Machata <pmachata@redhat.com>
4922 * elf/elf.h (R_AARCH64_ABS16): New macro.
4923 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4924 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4925 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4926 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4927 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4928 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4929 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4930 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4931 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4932 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4933 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4934 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4935 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4936 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4937 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4938 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4939 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4940 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4941 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4942 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4943 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4944 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4945 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4946 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4947 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4948 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4949 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4950 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4951 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4952 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4953 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4954 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4955 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4956 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4957 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4958 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4959 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4960 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4961 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4962 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4963 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4964 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4965 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4966 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4967 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4968 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4969 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4970 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4971 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4972 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4973 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4974 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4975 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4976 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4977 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4978 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4979 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4980 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4981 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4982 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4983 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4984 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4985 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4986 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4987 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4988 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4989 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4990 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4991 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4992 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4993 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4994 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4995 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4996 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4997 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4998 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4999 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5000 (R_AARCH64_TLSDESC_LDR): Likewise.
5001 (R_AARCH64_TLSDESC_ADD): Likewise.
5002 (R_AARCH64_TLSDESC_CALL): Likewise.
5004 2013-09-30 Andreas Schwab <schwab@suse.de>
5007 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5008 the nss database lookup.
5009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5012 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5014 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5016 2013-09-28 P. J. McDermott <pj@pehjota.net>
5018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5019 ${Bash-specific parameter/pattern/string} parameter expansion.
5020 * sysdeps/unix/make-syscalls.sh: Likewise.
5022 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5024 * sysdeps/sh/stackguard-macros.h: New file.
5026 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5030 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5031 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5033 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5035 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5037 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5038 Fix thread ID register.
5040 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5042 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5043 [POSIX || UNIX98]: Require rather than permitting all symbols from
5045 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5046 element of struct sched_param.
5047 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5048 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5049 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5050 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5053 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5055 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5056 argument calculation.
5058 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5060 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5062 [POSIX] (pthread_attr_t): Do not require type.
5063 [POSIX] (pthread_cond_t): Likewise.
5064 [POSIX] (pthread_condattr_t): Likewise.
5065 [POSIX] (pthread_key_t): Likewise.
5066 [POSIX] (pthread_mutex_t): Likewise.
5067 [POSIX] (pthread_mutexattr_t): Likewise.
5068 [POSIX] (pthread_once_t): Likewise.
5069 [POSIX] (pthread_t): Likewise.
5070 [POSIX-based standards] (pthread_atfork): Expect function.
5072 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5073 Richard Sandiford <richard@codesourcery.com>
5075 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5076 (swap_endianness_p): New extern variable.
5077 (set_big_endian): New inline function.
5078 (maybe_swap_uint32): Likewise.
5079 (maybe_swap_uint32_array): Likewise.
5080 (maybe_swap_uint32_obstack): Likewise.
5081 * locale/programs/locfile.c: Include <stdbool.h>.
5082 (swap_endianness_p): New variable.
5083 (add_locale_uint32): Call maybe_swap_uint32.
5084 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5085 (write_locale_data): Call maybe_swap_uint32_array.
5086 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5088 (obstack_int32_grow_fast): Likewise.
5089 (output_weightwc): Call maybe_swap_uint32_obstack.
5090 (collate_output): Likewise.
5091 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5092 (OPT_LITTLE_ENDIAN): Likewise.
5093 (options): Add --little-endian and --big-endian options.
5094 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5095 * locale/programs/locarchive.c: Include "locfile.h".
5099 (create_archive): Use the new macros to access fields of
5100 structures directly mapped from or written to locale archives.
5101 (oldlocrecentcmp): Likewise.
5102 (enlarge_archive): Likewise.
5103 (insert_name): Likewise.
5104 (add_alias): Likewise.
5105 (add_locale): Likewise.
5106 (delete_locales_from_archive): Likewise.
5107 (show_archive_content): Likewise.
5108 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5111 2013-09-24 Roland McGrath <roland@hack.frob.com>
5113 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5114 http://www.gnu.org/doc/freemanuals.texi.
5115 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5117 2013-09-24 Will Newton <will.newton@linaro.org>
5119 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5122 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5124 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5127 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5129 * manual/threads.texi (POSIX Threads): Fix a typo.
5131 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5134 * string/tst-strcoll-overflow.c: New test case.
5135 * string/Makefile (xtests): Add tst-strcoll-overflow.
5136 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5137 cache if string sizes may cause integer overflow.
5140 * string/strcoll_l.c (coll_seq): New members rule, idx,
5141 save_idx and back_us.
5142 (get_next_seq_nocache): New function.
5143 (do_compare_nocache): New function.
5144 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5147 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5150 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5151 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5152 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5155 * elf/Makefile (tests): Add tst-ptrguard1.
5156 (tests-static): Add tst-ptrguard1-static.
5157 (tst-ptrguard1-ARGS): Define.
5158 (tst-ptrguard1-static-ARGS): Define.
5159 * elf/tst-ptrguard1.c: New file.
5160 * elf/tst-ptrguard1-static.c: New file.
5161 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5162 * sysdeps/i386/stackguard-macros.h: Likewise.
5163 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5164 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5165 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5166 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5167 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5168 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5170 2013-09-23 Hector Marco <hecmargi@upv.es>
5171 Ismael Ripoll <iripoll@disca.upv.es>
5172 Carlos O'Donell <carlos@redhat.com>
5175 * sysdeps/generic/stackguard-macros.h: Define
5176 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5177 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5178 Define __pointer_chk_guard_local.
5179 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5180 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5182 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5185 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5187 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5189 * include/string.h (__ffs): Declare as hidden.
5190 * string/ffs.c (__ffs): Define as hidden.
5191 * sysdeps/i386/ffs.c (__ffs): Likewise.
5192 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5193 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5194 * sysdeps/s390/ffs.c (__ffs): Likewise.
5195 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5197 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5199 * NEWS: Mention malloc probes.
5201 * malloc/arena.c (new_heap): New memory_heap_new probe.
5202 (grow_heap): New memory_heap_more probe.
5203 (shrink_heap): New memory_heap_less probe.
5204 (heap_trim): New memory_heap_free probe.
5205 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5206 (systrim): New memory_sbrk_less probe.
5207 * manual/probes.texi: Document them.
5209 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5210 * manual/probes.texi: Document it.
5212 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5213 (__libc_realloc): Add memory_realloc_retry probe.
5214 (__libc_memalign): Add memory_memalign_retry probe.
5215 (__libc_valloc): Add memory_valloc_retry probe.
5216 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5217 (__libc_calloc): Add memory_calloc_retry probe.
5218 * manual/probes.texi: Document them.
5220 * malloc/arena.c (get_free_list): Add probe
5221 memory_arena_reuse_free_list.
5222 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5223 and memory_arena_reuse.
5224 (arena_get2) [!PER_THREAD]: Likewise.
5225 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5226 memory_arena_reuse_realloc.
5227 * manual/probes.texi: Document them.
5229 * malloc/malloc.c (__libc_free): Add
5230 memory_mallopt_free_dyn_thresholds probe.
5231 (__libc_mallopt): Add multiple memory_mallopt probes.
5232 * manual/probes.texi: Document them.
5234 * malloc/malloc.c: Include stap-probe.h.
5235 (__libc_mallopt): Add memory_mallopt probe.
5236 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5237 * manual/probes.texi: New.
5238 * manual/Makefile (chapters): Add probes.
5239 * manual/threads.texi: Set next node.
5241 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5244 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5245 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5246 Add `Chinese' to `nan' entry name.
5248 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5250 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5251 (POLYNOMIAL): Likewise.
5252 (TAYLOR_SINCOS): Likewise.
5253 (TAYLOR_SLOW): Likewise.
5254 (__sin): Use TAYLOR_SINCOS.
5256 (slow): Use TAYLOR_SLOW.
5261 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5263 * stdlib/strtod_l.c: Fix buffer overrun.
5265 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5267 * benchtests/Makefile (bench): Add sincos.
5268 * benchtests/bench-sincos.c: New file.
5270 * math/libm-test.inc (cos_test_data): New test inputs.
5271 (sin_test_data): Likewise.
5273 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5281 (bsloww1): Likewise.
5282 (bsloww2): Likewise.
5284 (csloww1): Likewise.
5285 (csloww2): Likewise.
5287 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5296 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5298 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5299 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5300 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5301 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5302 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5303 * elf/cache.c (print_entry): Handle the new cache flags.
5305 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5306 Aldy Hernandez <aldyh@redhat.com>
5308 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5309 Change condition to [_SOFT_FLOAT].
5310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5322 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5325 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5328 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5330 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5331 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5332 (__longjmp): Use LOAD_GP to load saved GPRs.
5333 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5334 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5335 (__sigsetjmp): Use SAVE_GP to save GPRs.
5337 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5338 Do not append -msoft-float.
5339 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5341 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5343 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5345 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5348 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5349 (_FPU_GETCW): Use initial "__" on variable and field names but not
5350 on macro parameter name.
5351 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5352 parentheses around reference to macro parameter.
5354 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5356 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5358 (ctype_startup): Use uint32_t in cast and sizeof for
5361 2013-09-11 Jia Liu <proljc@gmail.com>
5363 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5365 [__FreeBSD__]: Likewise.
5367 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5370 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5371 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5372 (strchr): Remove __strchr_sse42 ifunc selection.
5373 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5374 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5376 2013-09-11 Will Newton <will.newton@linaro.org>
5378 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5379 parameter to RES. Remove hardcoded 1000 value.
5380 * benchtests/bench-skeleton.c (main): Pass RES parameter
5381 to TIMING_INIT and multiply result by 1000.
5383 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5387 2013-09-11 Andreas Schwab <schwab@suse.de>
5389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5391 (O_TMPFILE) [__USE_GNU]: Define.
5392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5395 2013-09-11 Will Newton <will.newton@linaro.org>
5398 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5401 2013-09-11 Will Newton <will.newton@linaro.org>
5404 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5407 2013-09-11 Will Newton <will.newton@linaro.org>
5410 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5413 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5415 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5421 2013-09-10 Allan McRae <allan@archlinux.org>
5424 * manual/arith.texi (Parsing of Floats): Clarify
5428 * manual/install.texi (Running make install): Mention
5430 * INSTALL: Regenerated.
5432 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5434 * csu/init-first.c (_init): Remove the !SHARED condition around
5435 FPU control word initialization.
5436 * elf/dl-support.c (_dl_fpu_control): New variable.
5437 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5438 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5439 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5440 * math/test-fpucw-static.c: New file.
5441 * math/test-fpucw-ieee.c: New file.
5442 * math/test-fpucw-ieee-static.c: New file.
5443 * math/Makefile (tests): Add `test-fpucw-ieee' and
5445 (tests-static): New variable.
5446 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5448 [($(build-shared),yes)]
5449 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5451 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5454 2013-09-09 Allan McRae <allan@archlinux.org>
5457 * manual/string.texi (Collation Functions): Fix typo in
5459 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5462 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5465 * libio/memstream.c (open_memstream): Fix memory leak.
5466 * libio/wmemstream.c (open_wmemstream): Likewise.
5469 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5471 2013-09-09 Will Newton <will.newton@linaro.org>
5473 * malloc/Makefile: Add tst-realloc to tests.
5474 * malloc/tst-realloc.c: New file.
5476 2013-09-09 Allan McRae <allan@archlinux.org>
5479 * COPYING: Update from GNU website to fix FSF address.
5480 * COPYING.LIB: Likewise.
5482 2013-09-06 David S. Miller <davem@davemloft.net>
5484 * po/zh_TW.po: Update Chinese (traditional) translation from
5485 translation project.
5487 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5488 Joseph Myers <joseph@codesourcery.com>
5490 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5492 (obstack_chunk_alloc): New macro.
5493 (obstack_chunk_free): Likewise.
5494 (record_offset): New function.
5495 (init_locale_data): Likewise.
5496 (align_locale_data): Likewise.
5497 (add_locale_empty): Likewise.
5498 (add_locale_raw_data): Likewise.
5499 (add_locale_raw_obstack): Likewise.
5500 (add_locale_string): Likewise.
5501 (add_locale_wstring): Likewise.
5502 (add_locale_uint32): Likewise.
5503 (add_locale_uint32_array): Likewise.
5504 (add_locale_char): Likewise.
5505 (start_locale_structure): Likewise.
5506 (end_locale_structure): Likewise.
5507 (start_locale_prelude): Likewise.
5508 (end_locale_prelude): Likewise.
5509 (write_locale_data): Take locale_file structure rather than an
5511 * locale/programs/locfile.h: Include "obstack.h".
5512 (struct locale_file): Change to store locale file contents instead
5514 (init_locale_data): New prototype.
5515 (align_locale_data): Likewise.
5516 (add_locale_empty): Likewise.
5517 (add_locale_raw_data): Likewise.
5518 (add_locale_raw_obstack): Likewise.
5519 (add_locale_string): Likewise.
5520 (add_locale_wstring): Likewise.
5521 (add_locale_uint32): Likewise.
5522 (add_locale_uint32_array): Likewise.
5523 (add_locale_char): Likewise.
5524 (start_locale_structure): Likewise.
5525 (end_locale_structure): Likewise.
5526 (start_locale_prelude): Likewise.
5527 (end_locale_prelude): Likewise.
5528 (write_locale_data): Update prototype.
5529 * locale/programs/3level.h (struct TABLE): Remove result field.
5530 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5531 Use new locale_file interface.
5532 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5533 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5534 * locale/programs/ld-address.c (address_output): Use new
5535 locale_file interface.
5536 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5538 (collate_finish): Don't call collseq_table_finalize.
5539 (collate_output): Use new locale_file interface.
5540 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5542 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5543 (TABLE): Move defines earlier in file.
5544 (ELEMENT): Likewise.
5545 (DEFAULT): Likewise.
5546 (wctrans_table_add): Move macro and inline function earlier in
5548 (struct wctype_table): Move type earlier in file.
5549 (add_locale_wctype_table): New static prototype.
5550 (struct locale_ctype_t): Use logical types instead of struct iovec
5551 pointers for members.
5552 (ctype_output): Use new locale_file interface.
5553 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5554 new locale_file interface.
5555 (allocate_arrays): Update for use of new locale_file interface.
5556 * locale/programs/ld-identification.c (identification_output): Use
5557 new locale_file interface.
5558 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5559 * locale/programs/ld-messages.c (messages_output): Likewise.
5560 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5561 * locale/programs/ld-name.c (name_output): Likewise.
5562 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5563 * locale/programs/ld-paper.c (paper_output): Likewise.
5564 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5565 * locale/programs/ld-time.c (time_output): Likewise.
5567 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569 * benchtests/Makefile: Add memrchr benchmark.
5570 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5571 benchmark as memrchr.
5572 * benchtests/bench-memrchr-ifunc.c: New file.
5573 * benchtests/bench-memrchr.c: New file.
5575 2013-09-06 Will Newton <will.newton@linaro.org>
5577 * benchtests/Makefile (string-bench): Add memcpy.
5579 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5580 Cong Wang <amwang@redhat.com>
5582 * sysdeps/unix/sysv/linux/bits/in.h
5583 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5584 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5585 before __USE_KERNEL_IPV6_DEFS uses.
5586 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5588 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5589 sockaddr_in6, or ipv6_mreq.
5591 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5594 memory access for final bytes in some large inputs.
5595 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5597 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * string/test-memrchr.c: New file.
5600 * string/test-memrchr-ifunc.c: New file.
5601 * string/Makefile: Add new memrchr testcase.
5603 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5605 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5606 fanotify_init returns EPERM.
5608 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5610 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5612 (top level): Treat second token from macro or constant entries for
5613 allowed headers as allowed.
5614 * include/complex.h: Condition internal declarations on
5616 * include/fenv.h: Condition include of <stdbool.h> and internal
5617 declarations on [!_ISOMAC].
5619 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5622 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5624 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5626 * configure.in (--enable-versioning): Remove configure option.
5627 (libc_cv_asm_symver_directive): Remove configure test.
5628 (libc_cv_ld_version_script_option): Likewise.
5629 (VERSIONING): Remove variable and AC_SUBST.
5630 (DO_VERSIONING): Remove AC_DEFINE.
5631 * configure: Regenerated.
5632 * config.h.in (DO_VERSIONING): Remove macro.
5633 * Makerules [$(versioning) = yes]: Change conditionals to
5634 [$(build-shared) = yes].
5635 * config.make.in (versioning): Remove variable.
5636 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5637 [$(build-shared) = yes].
5638 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5639 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5640 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5641 [$(build-shared) = yes].
5642 * extra-lib.mk [$(versioning) = yes]: Likewise.
5643 * hurd/Makefile [$(versioning) = yes]: Likewise.
5644 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5646 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5648 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5649 [SHARED && !NO_HIDDEN].
5650 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5652 [SHARED && DO_VERSIONING]: Likewise..
5653 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5654 [$(build-shared) = yes].
5655 * manual/install.texi (--disable-versioning): Remove
5657 * INSTALL: Regenerated.
5658 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5660 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5661 [$(build-shared) = yes].
5662 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5663 * sysdeps/i386/i686/multiarch/strstr-c.c
5664 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5665 [SHARED && !NO_HIDDEN].
5666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5667 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5668 * sysdeps/powerpc/powerpc32/dl-machine.c
5669 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5670 * sysdeps/powerpc/powerpc32/sysdep.h
5671 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5672 to [SHARED && PIC && !NO_HIDDEN].
5673 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5674 conditional to [SHARED].
5676 2013-09-04 Will Newton <will.newton@linaro.org>
5678 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5679 * benchtests/bench-string.h: Include bench-timing.h instead
5680 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5681 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5682 call to HP_TIMING_DIFF_INIT.
5683 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5684 instead of hp-timing.h macros.
5685 * benchtests/bench-memchr.c: Likewise.
5686 * benchtests/bench-memcmp.c: Likewise.
5687 * benchtests/bench-memcpy.c: Likewise.
5688 * benchtests/bench-memmem.c: Likewise.
5689 * benchtests/bench-memmove.c: Likewise.
5690 * benchtests/bench-memset.c: Likewise.
5691 * benchtests/bench-rawmemchr.c: Likewise.
5692 * benchtests/bench-strcasecmp.c: Likewise.
5693 * benchtests/bench-strcasestr.c: Likewise.
5694 * benchtests/bench-strcat.c: Likewise.
5695 * benchtests/bench-strchr.c: Likewise.
5696 * benchtests/bench-strcmp.c: Likewise.
5697 * benchtests/bench-strcpy.c: Likewise.
5698 * benchtests/bench-strcpy_chk.c: Likewise.
5699 * benchtests/bench-strlen.c: Likewise.
5700 * benchtests/bench-strncasecmp.c: Likewise.
5701 * benchtests/bench-strncat.c: Likewise.
5702 * benchtests/bench-strncmp.c: Likewise.
5703 * benchtests/bench-strncpy.c: Likewise.
5704 * benchtests/bench-strnlen.c: Likewise.
5705 * benchtests/bench-strpbrk.c: Likewise.
5706 * benchtests/bench-strrchr.c: Likewise.
5707 * benchtests/bench-strspn.c: Likewise.
5708 * benchtests/bench-strstr.c: Likewise.
5710 2013-09-04 Will Newton <will.newton@linaro.org>
5712 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5714 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5718 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5719 * math/libm-test.inc (lgamma_test_data): Add more tests.
5720 * sysdeps/i386/fpu/libm-test-ulps: Update.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5723 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5725 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5729 Add strcmp-sse2-unaligned
5730 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5732 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5734 * Versions.def (libc): Add GLIBC_2.19.
5736 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5738 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5739 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5741 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5745 intermediate calculations in recurrence.
5746 (__ieee754_ynf): Likewise.
5747 * math/libm-test.inc (jn_test_data): Do not allow spurious
5748 underflow exception. Add more tests.
5749 (yn_test_data): Add more tests.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5753 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5755 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5757 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5759 * csu/init-first.c: Fix then/than typos.
5760 * locale/programs/ld-collate.c: Likewise.
5761 * locale/programs/linereader.h: Likewise.
5762 * manual/charset.texi: Likewise.
5763 * manual/filesys.texi: Likewise.
5764 * manual/stdio.texi: Likewise.
5765 * manual/string.texi: Likewise.
5766 * stdlib/fmtmsg.c: Likewise.
5767 * sysdeps/i386/stpncpy.S: Likewise.
5768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5771 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5773 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5775 * elf/dl-open.c: Fix typos.
5776 * iconvdata/gbbig5.c: Likewise.
5777 * iconvdata/iso-2022-jp.c: Likewise.
5778 * iconv/gconv_int.h: Likewise.
5779 * iconv/loop.c: Likewise.
5780 * nis/rpcsvc/nis.h: Likewise.
5781 * resolv/ns_name.c: Likewise.
5782 * stdio-common/vfscanf.c: Likewise.
5783 * streams/stropts.h: Likewise.
5784 * sunrpc/rpc_thread.c: Likewise.
5785 * sysdeps/i386/strpbrk.S: Likewise.
5786 * sysdeps/ieee754/k_standard.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5789 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5790 * sysdeps/mach/hurd/profil.c: Likewise.
5791 * sysdeps/s390/dl-procinfo.h: Likewise.
5792 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5795 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5798 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5800 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5803 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5807 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5814 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5816 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5817 Roland McGrath <roland@hack.frob.com>
5819 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5820 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5822 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5824 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5825 __executable_start symbol instead of _start.
5827 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5829 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5830 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5832 * sysdeps/gnu/ldsodefs.h: ... this new file.
5834 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5835 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5836 instead of ELFOSABI_LINUX.
5838 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5839 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5840 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5841 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5843 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5844 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5845 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5847 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5848 (ibm_extended_long_double): Add ieee_nan member.
5849 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5850 (do_test): New function.
5852 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5854 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5855 functions, renamed from truncdfsf_test, trunctfsf_test,
5857 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5859 (do_test): Run all these.
5861 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5863 * argp/argp-help.c: Fix typos.
5864 * argp/argp-parse.c: Likewise.
5865 * debug/backtracesyms.c: Likewise.
5866 * elf/elf.h: Likewise.
5867 * malloc/malloc.c: Likewise.
5868 * nis/nis_print.c: Likewise.
5869 * resolv/res_comp.c: Likewise.
5870 * stdlib/stdlib.h: Likewise.
5871 * sunrpc/clnt_tcp.c: Likewise.
5872 * sunrpc/clnt_udp.c: Likewise.
5873 * sunrpc/clnt_unix.c: Likewise.
5874 * sysdeps/unix/bsd/ptsname.c: Likewise.
5875 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5876 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5883 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5885 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5887 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5890 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5893 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5894 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5895 ($(objpfx)bug-dl-leaf): New rule.
5896 ($(objpfx)bug-dl-leaf.so): Likewise.
5897 ($(objpfx)bug-dl-leaf.out): Likewise.
5898 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5899 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5900 * dlfcn/bug-dl-leaf.c: New test.
5901 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5902 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5903 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5904 (dlclose): Likewise.
5905 (dlmopen): Likewise.
5907 2013-08-27 Roland McGrath <roland@hack.frob.com>
5909 * include/netdb.h [!_ISOMAC]:
5910 Don't include <tls.h>.
5911 (h_errno, __libc_h_errno): Move declaration and macros out of
5914 * include/resolv.h [_RESOLV_H_]:
5915 Don't include <tls.h>.
5916 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5917 * resolv/res_libc.c: Don't include <tls.h>.
5918 (_res): Use __attribute__ ((nocommon)) in place of
5919 __attribute__ ((section (".bss"))).
5921 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5922 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5924 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5926 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5927 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5929 * resolv/res_mkquery.c: Include <sys/time.h>.
5931 * inet/ifreq.c: Moved to ...
5932 * sysdeps/unix/ifreq.c: ... here.
5933 * inet/ifreq.c: New file, true stub version.
5935 * socket/sa_len.c: New file.
5936 * socket/Makefile (aux): Add it.
5937 * sysdeps/unix/sysv/linux/Makefile
5938 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5939 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5940 and #include <socket/sa_len.c>.
5941 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5942 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5945 * bits/socket.h: ... here.
5947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5948 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5949 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5951 2013-08-27 Andreas Schwab <schwab@suse.de>
5954 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5955 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5956 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5957 * string/test-strcasecmp.c (test_main): Run tests in several
5959 * string/test-strncasecmp.c (test_main): Likewise.
5961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5962 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5963 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5965 (__strncasecmp_ssse3) [PIC]: Likewise.
5967 2013-08-26 Roland McGrath <roland@hack.frob.com>
5969 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5971 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5972 instead of explicitly declaring xdecrypt.
5973 * nis/nss_nis/nis-publickey.c: Likewise.
5975 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5978 * nscd/aicache.c: Include res_hconf.h.
5979 (addhstaiX): Initialize res_hconf.
5981 2013-08-26 Andreas Schwab <schwab@suse.de>
5983 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5984 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5986 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5988 * nscd/aicache.c (addhstaiX): Fix indentation.
5990 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5992 * configure.ac: Quote $build_pt_chown test.
5993 * configure: Regenerated.
5995 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5998 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5999 * math/s_cexpf.c (__cexpf): Likewise.
6000 * math/s_cexpl.c (__cexpl): Likewise.
6001 * math/libm-test.inc (cexp_test_data): Correct expected return
6002 value for NaN + i0. Add another test.
6004 2013-08-22 David S. Miller <davem@davemloft.net>
6006 * po/ca.po: Update Catalan translation from translation project.
6007 * po/uk.po: Add Ukrainian translations from translation project.
6009 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6012 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6013 is infinite, not alongside NaN test.
6014 * math/s_fdimf.c (__fdimf): Likewise.
6015 * math/s_fdiml.c (__fdiml): Likewise.
6016 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6019 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6021 * argp/argp-help.c: Fix typos.
6022 * crypt/speeds.c: Likewise.
6023 * csu/check_fds.c: Likewise.
6024 * elf/dl-load.c: Likewise.
6025 * elf/dl-open.c: Likewise.
6026 * elf/reldep3.c: Likewise.
6027 * elf/reldep.c: Likewise.
6028 * elf/sprof.c: Likewise.
6029 * iconv/iconv_charmap.c: Likewise.
6030 * iconv/skeleton.c: Likewise.
6031 * iconv/strtab.c: Likewise.
6032 * io/lockf64.c: Likewise.
6033 * libio/libioP.h: Likewise.
6034 * resolv/gai_notify.c: Likewise.
6035 * resolv/ns_name.c: Likewise.
6036 * resolv/ns_samedomain.c: Likewise.
6037 * resolv/res_send.c: Likewise.
6038 * stdlib/random.c: Likewise.
6039 * sunrpc/rpc/xdr.h: Likewise.
6040 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6048 * sysdeps/mach/hurd/check_fds.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6050 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6054 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6055 * sysdeps/pthread/aio_notify.c: Likewise.
6056 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6057 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6060 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6062 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6064 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6065 version if bit_Slow_SSE4_2 is set.
6066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6069 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6073 trampoline stack frame information.
6074 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6076 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6077 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6078 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6080 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6081 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6083 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6084 interrupting a syscall and set with option SA_SIGINFO.
6086 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6089 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6090 argument is infinite.
6091 * math/s_cprojf.c (__cprojf): Likewise.
6092 * math/s_cprojl.c (__cprojl): Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6094 * math/libm-test.inc (cproj_test_data): Add more tests.
6096 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6098 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6099 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6100 size. Use __ffs to determine corresponding shift.
6102 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6103 Roland McGrath <roland@hack.frob.com>
6105 * Makefile (INSTALL): Remove trailing blank lines from output of
6108 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6110 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6111 Align 32 bit compat elf_greg to 8 bytes.
6113 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6115 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6117 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6119 * string/strcoll_l.c (coll_seq): New structure.
6120 (get_next_seq_cached): New function.
6121 (get_next_seq): New function.
6122 (do_compare): New function.
6123 (STRCOLL): Use GNU style definition. Simplify implementation
6124 by using get_next_seq, get_next_seq_cached and do_compare.
6126 2013-08-16 Florian Weimer <fweimer@redhat.com>
6130 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6132 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6134 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6135 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6136 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6138 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6139 GETDENTS_64BIT_ALIGNED.
6140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6141 * manual/filesys.texi (Reading/Closing Directory): Document
6142 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6144 * manual/conf.texi (Limits for Files): Add portability note to
6146 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6148 2013-08-13 Andreas Schwab <schwab@suse.de>
6151 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6153 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6154 LDBL_MAX_EXP >= 16384]: Add tests for it.
6156 2013-08-12 David S. Miller <davem@davemloft.net>
6158 * version.h (RELEASE): Set to "development".
6159 (VERSION): Set to "2.18.90".
6160 * NEWS: Add 2.19 section.
6162 2013-08-03 David S. Miller <davem@davemloft.net>
6164 * po/ko.po: Update Korean translation from translation project.
6166 2013-08-01 David S. Miller <davem@davemloft.net>
6168 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6169 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6172 2013-07-30 David S. Miller <davem@davemloft.net>
6174 * po/fr.po: Update French translation from translation project.
6176 2013-07-28 David S. Miller <davem@davemloft.net>
6178 * po/cs.po: Update Czech translation from translation project.
6180 * po/sv.po: Update Swedish translation from translation project.
6182 2013-07-27 David S. Miller <davem@davemloft.net>
6184 * po/eo.po: Update Esperanto translation from translation project.
6186 * po/vi.po: Update Vietnamese translation from translation project.
6188 * po/de.po: Update German translation from translation project.
6190 2013-07-26 David S. Miller <davem@davemloft.net>
6192 * po/bg.po: Update Bulgarian translation from translation project.
6194 * po/nl.po: Update Dutch translation from translation project.
6195 * po/pl.po: Update Polish translation from translation project.
6196 * po/ru.po: Update Russian translation from translation project.
6198 2013-07-24 David S. Miller <davem@davemloft.net>
6200 * po/libc.pot: Update.
6202 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6204 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6206 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6208 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6210 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6212 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6214 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6215 Andreas Schwab <schwab@suse.de>
6216 Roland McGrath <roland@hack.frob.com>
6217 Joseph Myers <joseph@codesourcery.com>
6218 Carlos O'Donell <carlos@redhat.com>
6221 * config.h.in: Define HAVE_PT_CHOWN.
6222 * config.make.in (build-pt-chown): New variable.
6223 * configure.in (--enable-pt_chown): New configure option.
6224 * configure: Regenerate.
6225 * login/Makefile: Include Makeconfig. Build pt_chown only if
6226 build-pt-chown is enabled.
6227 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6228 pt_chown to fix pty ownership.
6229 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6231 * manual/install.texi (Configuring and compiling): Mention
6232 --enable-pt_chown. Add @findex for grantpt.
6233 * INSTALL: Regenerate.
6235 2013-07-20 David S. Miller <davem@davemloft.net>
6237 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6238 difference between 32-bit and 64-bit.
6240 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6243 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6244 Avoid system header dependency with -ffreestanding.
6245 ($(objpfx)bits/syscall%d): Likewise.
6247 2013-07-13 David S. Miller <davem@davemloft.net>
6249 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6250 underflows from atanl/atan2l due to bug 15319.
6251 (casinh_test_data): Likewise.
6253 2013-07-07 David S. Miller <davem@davemloft.net>
6255 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6257 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6259 * sysdeps/i386/fpu/libm-test-ulps: Update.
6260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6262 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6264 * configure.in (--enable-lock-elision): Fix message text.
6265 * INSTALL: Regenerate.
6266 * configure: Regenerate.
6268 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6272 2013-07-03 Andreas Jaeger <aj@suse.de>
6274 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6276 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6277 (ptrace_peeksiginfo_args): Add.
6278 (__ptrace_peeksiginfo_flags): Add.
6279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6283 2013-07-03 Allan McRae <allan@archlinux.org>
6285 * sysdeps/i386/fpu/libm-test-ulps: Update.
6287 2013-07-02 David S. Miller <davem@davemloft.net>
6289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6291 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6295 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6300 2013-07-02 Andi Kleen <ak@linux.intel.com>
6302 * config.h.in (ENABLE_LOCK_ELISION): Add.
6303 * configure.in (--enable-lock-elision): Add option.
6304 * manual/install.texi: Document --enable lock elision.
6305 * configure: Regenerate
6306 * INSTALL: Regenerate.
6308 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6310 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6311 SSE4.2 strcasecmp for libc.a.
6312 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6314 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6317 * soft-fp/op-common.h (_FP_FMA): New macro.
6318 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6319 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6320 (_FP_MUL_MEAT_1_imm): ... here.
6321 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6322 (_FP_MUL_MEAT_1_wide): ... here.
6323 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6324 (_FP_MUL_MEAT_1_hard): ... here.
6325 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6326 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6327 (_FP_MUL_MEAT_2_wide): ... here.
6328 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6329 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6330 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6331 (_FP_MUL_MEAT_2_gmp): ... here.
6332 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6333 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6334 (_FP_MUL_MEAT_4_wide): ... here.
6335 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6336 (_FP_MUL_MEAT_4_gmp): ... here.
6337 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6338 (_FP_WFRACBITS_DW_S): Likewise.
6339 (_FP_WFRACXBITS_DW_S): Likewise.
6340 (_FP_HIGHBIT_DW_S): Likewise.
6341 (FP_FMA_S): Likewise.
6342 (_FP_FRAC_HIGH_DW_S): Likewise.
6343 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6344 (_FP_WFRACBITS_DW_D): Likewise.
6345 (_FP_WFRACXBITS_DW_D): Likewise.
6346 (_FP_HIGHBIT_DW_D): Likewise.
6347 (FP_FMA_D): Likewise.
6348 (_FP_FRAC_HIGH_DW_D): Likewise.
6349 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6350 (_FP_WFRACBITS_DW_E): Likewise.
6351 (_FP_WFRACXBITS_DW_E): Likewise.
6352 (_FP_HIGHBIT_DW_E): Likewise.
6353 (FP_FMA_E): Likewise.
6354 (_FP_FRAC_HIGH_DW_E): Likewise.
6355 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6356 (_FP_WFRACBITS_DW_Q): Likewise.
6357 (_FP_WFRACXBITS_DW_Q): Likewise.
6358 (_FP_HIGHBIT_DW_Q): Likewise.
6359 (FP_FMA_Q): Likewise.
6360 (_FP_FRAC_HIGH_DW_Q): Likewise.
6361 * soft-fp/fmasf4.c: New file.
6362 * soft-fp/fmadf4.c: Likewise.
6363 * soft-fp/fmatf4.c: Likewise.
6365 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6368 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6372 (index_Slow_SSE4_2): Likewise.
6373 (index_Prefer_PMINUB_for_stringop): Likewise.
6374 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6375 bit_Slow_SSE4_2 is set.
6376 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6379 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6381 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6382 rtld_global._dl_hwcap2.
6383 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6386 POWER8 feature descriptions defined in _dl_hwcap2.
6387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6388 string handling for POWER8 feature bits.
6389 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6390 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6391 _dl_powerpc_cap_flags.
6392 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6393 * sysdeps/powerpc/rtld-global-offsets.sym
6394 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6395 _dl_hwcap2 in the rtld_global_ro structure.
6397 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6399 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6400 hardware capabilities in support of AT_HWCAP2.
6401 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6402 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6404 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6405 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6406 explicitly the unknown a_type display mechanism is used.
6407 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6408 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6410 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6411 to macro prototype for AT_HWCAP2 support.
6412 * sysdeps/i386/dl-procinfo.h: Likewise.
6413 * sysdeps/s390/dl-procinfo.h: Likewise.
6414 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6415 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6416 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6417 return -1 for unknown a_type display fallback.
6418 * sysdeps/sparc/dl-procinfo.h: Likewise.
6419 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6420 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6422 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6424 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6425 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6427 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6430 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6431 mprotect making __stack_prot writable.
6433 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6434 Joseph Myers <joseph@codesourcery.com>
6436 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6437 as being properly aligned.
6439 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6441 * dlfcn/modstatic5.c: New file.
6442 * dlfcn/tststatic5.c: New file.
6443 * dlfcn/Makefile (tests): Add tststatic5.
6444 (tests-static): Likewise.
6445 (modules-names): Add modstatic5.
6446 (tststatic5-ENV): New variable.
6447 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6450 * elf/dl-support.c (_dl_main_map): New variable.
6451 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6452 (_dl_nns, _dl_load_adds): Set to 1.
6453 (_dl_initial_searchlist): Refer to _dl_main_map.
6454 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6455 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6456 call to _dl_get_origin.
6457 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6459 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6460 * dlfcn/modstatic3.c: New file.
6461 * dlfcn/tststatic3.c: New file.
6462 * dlfcn/tststatic4.c: New file.
6463 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6464 (tests-static): Likewise.
6465 (modules-names): Add modstatic3.
6466 (tststatic3-ENV, tststatic4-ENV): New variables.
6467 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6468 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6470 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6472 * configure.in (CC): Require GCC version 4.4 or later.
6473 * configure: Regenerated.
6474 * manual/install.texi (Tools for Compilation): Update GCC version
6476 * INSTALL: Regenerated.
6478 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6481 * string/test-memcmp.c (check2): New.
6482 (main): Call check2.
6484 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6486 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6489 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6491 (dl_open_worker) [!SHARED]: ... here.
6493 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6495 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6497 2013-06-25 Richard Henderson <rth@redhat.com>
6499 * locale/programs/locarchive.c: Include <libc-internal.h>
6501 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6503 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6504 trailing whitespace removed.
6506 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6509 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6510 * locale/programs/locarchive.c: Include libc-mmap.h.
6511 (prepare_address_space): Take two new outputs (the mmap base and len).
6512 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6514 (create_archive): Declare new mmap base and len values for
6515 prepare_address_space, and store the result in ah.
6516 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6517 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6518 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6519 Declare new mmap base and len values for
6520 prepare_address_space, and store the result in new_ah.
6521 (open_archive): Declare new mmap base and len values for
6522 prepare_address_space, and store the result in ah.
6523 (close_archive): If ah->mmap_base is not NULL, use that and
6524 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6525 * sysdeps/generic/libc-mmap.h: New file.
6527 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6529 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6530 (ALIGN_UP): Likewise.
6531 (PTR_ALIGN_DOWN): Likewise.
6532 (PTR_ALIGN_UP): Likewise.
6534 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6536 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6537 entry mapped to PPC_PLATFORM_POWER8.
6538 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6540 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6541 (_dl_string_platform): Add case for exporting platform position for
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6544 search path to sysdeps/powerpc/powerpc32/power8 directory.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6546 search path to sysdeps/powerpc/powerpc64/power8 directory.
6547 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6549 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6552 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6554 * INSTALL: Regenerate.
6556 * nscd/connections.c (nscd_init): Fix comment.
6558 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6560 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6563 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6564 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6566 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6568 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6570 (DL_DST_REQ_STATIC): Remove macro.
6572 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6575 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6576 with a shift of 0 bits.
6578 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6580 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6583 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6586 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6588 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6590 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6591 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6592 accepts -fno-tree-loop-distribute-patterns.
6593 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6594 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6596 * string/memset.c (memset): Likewise.
6597 * string/test-memmove.c (simple_memmove): Disable loop transformation
6599 * string/test-memset.c (simple_memset): Likewise.
6600 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6601 * benchtests/bench-memset.c (simple_memset): Likewise.
6602 * configure: Regenerated.
6604 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6606 * math/test-misc.c (main): Ignore fesetround failure when failures
6607 of subsequent rounding tests would be ignored.
6610 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6611 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6612 * math/fegetenv.c (__fegetenv): Return 0.
6613 * math/fegetexcept.c (fegetexcept): Return 0.
6614 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6616 * math/feholdexcpt.c (feholdexcept): Return 0.
6617 * math/fesetenv.c (__fesetenv): Return 0.
6618 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6619 argument FE_TONEAREST.
6620 * math/feupdateenv.c (__feupdateenv): Return 0.
6621 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6623 2013-06-18 Roland McGrath <roland@hack.frob.com>
6625 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6626 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6627 ($(objpfx)rtld-%.os rules): Use them.
6629 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6634 2013-06-17 Roland McGrath <roland@hack.frob.com>
6636 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6637 length of target pattern, then descending length of dependency pattern.
6638 * configure.in (AWK): Require gawk 3.1.2 or newer.
6639 * manual/install.texi (Tools for Compilation): Say that we do.
6640 * configure: Regenerated.
6642 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6643 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6644 * scripts/sysd-rules.awk: ... this new script.
6645 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6646 than a glob-style pattern.
6648 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6650 * math/test-misc.c (main): Do not treat incorrectly rounded
6651 conversions as failure unless ROUNDING_TESTS passes.
6653 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6657 restore exception state around main square root computation, then
6658 check for inexactness explicitly.
6660 * math/libm-test.inc (fma_test_data): Add another test.
6662 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6664 * manual/threads.texi (Non-POSIX Extensions): New document
6665 node. Document pthread_getattr_default_np and
6666 pthread_setattr_default_np.
6668 * Versions.def (libpthread): Add GLIBC_2.18.
6669 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6678 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6689 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6692 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6694 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6695 H.J. Lu <hjl.tools@gmail.com>
6698 * sysdeps/x86_64/rtld-memset.c: Remove file.
6699 * sysdeps/x86_64/rtld-memset.S: New file.
6701 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6703 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6704 (test_in_one_mode): Take arguments for whether the rounding mode
6705 is supported for each floating-point type.
6706 (do_test): Pass new arguments to test_in_one_mode using
6709 2013-06-13 Roland McGrath <roland@hack.frob.com>
6711 * posix/tst-waitid.c (do_test): Distinguish different instances of
6712 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6713 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6714 before entering the kernel for waitpid.
6716 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 * NEWS: Fix note on clock function precision. Text by Roland
6721 2013-06-13 Roland McGrath <roland@hack.frob.com>
6723 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6724 it into place only when and if the sanity check passes.
6726 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6728 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6729 output for whether conversion result is exact. Take argument
6730 indicating whether type is IBM long double.
6731 (round_for_all): Change need_exact field to ibm_ld.
6732 * stdlib/tst-strtod-round.c (struct exactness): New type.
6733 (struct test): Change bool ld_ok field to struct exactness exact.
6734 (TEST): Update all definitions for change to field.
6735 (tests): Regenerate array contents.
6736 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6737 field value. Check for IBM long double here.
6738 (do_test): Update calls to test_in_one_mode.
6740 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6743 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6744 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6746 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6750 generated by the compiler on loop optimizations.
6751 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6752 general definitions.
6754 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6756 * math/bug-nextafter.c: Include <math-tests.h>.
6757 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6759 * math/bug-nexttoward.c: Include <math-tests.h>.
6760 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6762 * math/test-misc.c: Include <math-tests.h>.
6763 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6766 2013-06-12 Andreas Jaeger <aj@suse.de>
6768 * po/ia.po: Update Interlingua translation from translation
6771 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6773 * include/fenv.h: Include stdbool.h.
6774 (struct rm_ctx): New structure.
6775 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6777 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6778 (SET_RESTORE_ROUNDF): Likewise.
6779 (SET_RESTORE_ROUNDL): Likewise.
6780 (SET_RESTORE_ROUND_NOEX): Likewise.
6781 (SET_RESTORE_ROUND_NOEXF): Likewise.
6782 (SET_RESTORE_ROUND_NOEXL): Likewise.
6783 (SET_RESTORE_ROUND_53BIT): Likewise.
6784 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6785 (libc_feresetround_noexf_ctx): Likewise.
6786 (libc_feresetround_noexl_ctx): Likewise.
6787 (libc_feholdsetround_53bit_ctx): Likewise.
6788 (libc_feresetround_53bit_ctx): Likewise.
6789 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6790 (libc_feholdexcept_setround_sse_ctx): New function.
6791 (libc_fesetenv_sse_ctx): Likewise.
6792 (libc_feupdateenv_sse_ctx): Likewise.
6793 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6794 (libc_feholdexcept_setround_387_ctx): Likewise.
6795 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6796 (libc_feholdsetround_387_prec_ctx): Likewise.
6797 (libc_feholdsetround_387_ctx): Likewise.
6798 (libc_feholdsetround_387_53bit_ctx): Likewise.
6799 (libc_feholdsetround_sse_ctx): Likewise.
6800 (libc_feresetround_sse_ctx): Likewise.
6801 (libc_feresetround_387_ctx): Likewise.
6802 (libc_feupdateenv_387_ctx): Likewise.
6803 (libc_feholdexcept_setroundf_ctx): Define macro.
6804 (libc_fesetenvf_ctx): Likewise.
6805 (libc_feupdateenvf_ctx): Likewise.
6806 (libc_feholdsetroundf_ctx): Likewise.
6807 (libc_feresetroundf_ctx): Likewise.
6808 (libc_feholdexcept_setround_ctx): Likewise.
6809 (libc_fesetenv_ctx): Likewise.
6810 (libc_feupdateenv_ctx): Likewise.
6811 (libc_feholdsetround_ctx): Likewise.
6812 (libc_feresetround_ctx): Likewise.
6813 (libc_feholdexcept_setroundl_ctx): Likewise.
6814 (libc_feupdateenvl_ctx): Likewise.
6815 (libc_feholdsetroundl_ctx): Likewise.
6816 (libc_feresetroundl_ctx): Likewise.
6817 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6818 (libc_feresetround_53bit_ctx): Likewise.
6820 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * locale/iso-639.def: Convert to UTF-8.
6824 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6826 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6827 (EXCEPTION_TESTS_double): Likewise.
6828 (EXCEPTION_TESTS_long_double): Likewise.
6829 (EXCEPTION_TESTS): Likewise.
6830 * math/libm-test.inc (test_exceptions): Only test exceptions if
6831 EXCEPTION_TESTS (FLOAT).
6833 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6835 * benchtests/Makefile (string-bench): Add strcpy_chk and
6837 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6838 * benchtests/bench-stpcpy_chk.c: New file.
6839 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6840 * benchtests/bench-strcpy_chk.c: New file.
6841 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6843 (do_test): Likewise.
6845 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6848 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6849 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6850 with tabs where appropriate.
6851 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6853 [PPC_PLATFORM_PPC440]: Likewise.
6854 [PPC_PLATFORM_PPC464]: Likewise.
6855 [PPC_PLATFORM_PPC476]: Likewise.
6856 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6857 ppc464, and ppc476 platform strings merging from ports/
6860 2013-06-11 Andreas Schwab <schwab@suse.de>
6863 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6864 (from_ucs4_idx): Regenerate.
6865 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6866 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6867 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6868 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6869 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6870 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6871 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6872 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6873 from FROM_LOOP and TO_LOOP specific macros.
6874 (BODY): Handle combining characters.
6875 * iconvdata/BIG5HKSCS.irreversible: Update.
6876 * iconvdata/BIG5HKSCS.precomposed: New file.
6877 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6879 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6881 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6883 * include/sys/time.h: Fix indentation and add copyright header.
6885 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6886 (do_test): Likewise.
6887 * string/test-memchr.c (do_one_test): Likewise.
6888 (do_test): Likewise.
6889 * string/test-memcmp.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-memcpy.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-memmem.c (do_one_test): Likewise.
6894 (do_test): Likewise.
6895 (do_random_tests): Likewise.
6896 * string/test-memmove.c (do_one_test): Likewise.
6897 (do_test): Likewise.
6898 * string/test-memset.c (do_one_test): Likewise.
6899 (do_test): Likewise.
6900 * string/test-rawmemchr.c (do_one_test): Likewise.
6901 (do_test): Likewise.
6902 * string/test-strcasecmp.c (do_one_test): Likewise.
6903 (do_test): Likewise.
6904 * string/test-strcasestr.c (do_one_test): Likewise.
6905 (do_test): Likewise.
6906 * string/test-strcat.c (do_one_test): Likewise.
6907 (do_test): Likewise.
6908 * string/test-strchr.c (do_one_test): Likewise.
6909 (do_test): Likewise.
6910 * string/test-strcmp.c (do_one_test): Likewise.
6911 (do_test): Likewise.
6912 * string/test-strcpy.c (do_one_test): Likewise.
6913 (do_test): Likewise.
6914 * string/test-string.h: Likewise.
6915 (test_init): Likewise.
6916 * string/test-strlen.c (do_one_test): Likewise.
6917 (do_test): Likewise.
6918 * string/test-strncasecmp.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-strncat.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 * string/test-strncmp.c (do_one_test): Likewise.
6923 (do_test_limit): Likewise.
6924 (do_test): Likewise.
6925 * string/test-strncpy.c (do_one_test): Likewise.
6926 (do_test): Likewise.
6927 * string/test-strnlen.c (do_one_test): Likewise.
6928 (do_test): Likewise.
6929 * string/test-strpbrk.c (do_one_test): Likewise.
6930 (do_test): Likewise.
6931 * string/test-strrchr.c (do_one_test): Likewise.
6932 (do_test): Likewise.
6933 * string/test-strspn.c (do_one_test): Likewise.
6934 (do_test): Likewise.
6935 * string/test-strstr.c (do_one_test): Likewise.
6936 (do_test): Likewise.
6938 * benchtests/Makefile (string-bench): Add string benchmarks.
6939 * benchtests/bench-bcopy-ifunc.c: New file.
6940 * benchtests/bench-bcopy.c: New file.
6941 * benchtests/bench-bzero-ifunc.c: New file.
6942 * benchtests/bench-bzero.c: New file.
6943 * benchtests/bench-memccpy-ifunc.c: New file.
6944 * benchtests/bench-memccpy.c: New file.
6945 * benchtests/bench-memchr-ifunc.c: New file.
6946 * benchtests/bench-memchr.c: New file.
6947 * benchtests/bench-memcmp-ifunc.c: New file.
6948 * benchtests/bench-memcmp.c: New file.
6949 * benchtests/bench-memmem-ifunc.c: New file.
6950 * benchtests/bench-memmem.c: New file.
6951 * benchtests/bench-memmove-ifunc.c: New file.
6952 * benchtests/bench-memmove.c: New file.
6953 * benchtests/bench-mempcpy-ifunc.c: New file.
6954 * benchtests/bench-mempcpy.c: New file.
6955 * benchtests/bench-memset-ifunc.c: New file.
6956 * benchtests/bench-memset.c: New file.
6957 * benchtests/bench-rawmemchr-ifunc.c: New file.
6958 * benchtests/bench-rawmemchr.c: New file.
6959 * benchtests/bench-stpcpy-ifunc.c: New file.
6960 * benchtests/bench-stpcpy.c: New file.
6961 * benchtests/bench-stpncpy-ifunc.c: New file.
6962 * benchtests/bench-stpncpy.c: New file.
6963 * benchtests/bench-strcasecmp-ifunc.c: New file.
6964 * benchtests/bench-strcasecmp.c: New file.
6965 * benchtests/bench-strcasestr-ifunc.c: New file.
6966 * benchtests/bench-strcasestr.c: New file.
6967 * benchtests/bench-strcat-ifunc.c: New file.
6968 * benchtests/bench-strcat.c: New file.
6969 * benchtests/bench-strchr-ifunc.c: New file.
6970 * benchtests/bench-strchr.c: New file.
6971 * benchtests/bench-strchrnul-ifunc.c: New file.
6972 * benchtests/bench-strchrnul.c: New file.
6973 * benchtests/bench-strcmp-ifunc.c: New file.
6974 * benchtests/bench-strcmp.c: New file.
6975 * benchtests/bench-strcpy-ifunc.c: New file.
6976 * benchtests/bench-strcpy.c: New file.
6977 * benchtests/bench-strcspn-ifunc.c: New file.
6978 * benchtests/bench-strcspn.c: New file.
6979 * benchtests/bench-strlen-ifunc.c: New file.
6980 * benchtests/bench-strlen.c: New file.
6981 * benchtests/bench-strncasecmp-ifunc.c: New file.
6982 * benchtests/bench-strncasecmp.c: New file.
6983 * benchtests/bench-strncat-ifunc.c: New file.
6984 * benchtests/bench-strncat.c: New file.
6985 * benchtests/bench-strncmp-ifunc.c: New file.
6986 * benchtests/bench-strncmp.c: New file.
6987 * benchtests/bench-strncpy-ifunc.c: New file.
6988 * benchtests/bench-strncpy.c: New file.
6989 * benchtests/bench-strnlen-ifunc.c: New file.
6990 * benchtests/bench-strnlen.c: New file.
6991 * benchtests/bench-strpbrk-ifunc.c: New file.
6992 * benchtests/bench-strpbrk.c: New file.
6993 * benchtests/bench-strrchr-ifunc.c: New file.
6994 * benchtests/bench-strrchr.c: New file.
6995 * benchtests/bench-strspn-ifunc.c: New file.
6996 * benchtests/bench-strspn.c: New file.
6997 * benchtests/bench-strstr-ifunc.c: New file.
6998 * benchtests/bench-strstr.c: New file.
7000 * benchtests/Makefile: Disable parallel execution of targets.
7001 (string-bench): Add memcpy.
7002 (benchset): New variable to store a list of benchmark sets.
7003 (bench-func): Renamed from bench.
7004 (bench-set): New target.
7005 (bench): Depend on bench-func and bench-set.
7006 * benchtests/README: Add section on benchmark sets.
7007 * benchtests/bench-memcpy-ifunc.c: New file.
7008 * benchtests/bench-memcpy.c: New file.
7009 * benchtests/bench-string.h: New file.
7011 2013-06-11 Andreas Schwab <schwab@suse.de>
7014 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7015 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7016 values in the triple.
7017 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7018 terminator in the group key.
7020 2013-06-11 Andreas Jaeger <aj@suse.de>
7022 * po/zh_TW.po: Update Chinese (traditional) translation from
7023 translation project.
7025 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7027 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7028 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7029 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7031 (clock_getcpuclockid): Likewise.
7032 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7033 Add weak_alias and libc_hidden_def.
7034 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7035 * rt/clock_gettime.c (clock_gettime): Rename to
7036 __clock_gettime. Add weak_alias and libc_hidden_def.
7037 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7038 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7039 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7040 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7041 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7043 * rt/clock_settime.c (clock_settime): Rename to
7044 __clock_settime. Add weak_alias and libc_hidden_def.
7045 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7047 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7049 * mach/err_boot.sub: Remove trailing whitespace.
7050 * mach/err_ipc.sub: Likewise.
7051 * mach/err_mach.sub: Likewise.
7053 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7054 (ROUNDING_TESTS_double): Likewise.
7055 (ROUNDING_TESTS_long_double): Likewise.
7056 (ROUNDING_TESTS): Likewise.
7057 * math/libm-test.inc: Include <math-tests.h>.
7058 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7059 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7060 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7061 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7063 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7065 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7068 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7070 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7071 otherwise empty TRANS lines.
7072 * sysdeps/gnu/errlist.c: Regenerated.
7074 * catgets/gencat.c (error_print): Use (void) in function
7076 * crypt/crypt_util.c (__init_des): Likewise.
7077 * crypt/speeds.c (Stop): Likewise.
7079 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7080 * inet/ruserpass.c (token): Likewise.
7081 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7082 * intl/localealias.c (extend_alias_table): Likewise.
7083 * intl/plural-exp.c (init_germanic_plural): Likewise.
7084 * libio/fcloseall.c (__fcloseall): Likewise.
7085 * libio/genops.c (_IO_flush_all): Likewise.
7086 (_IO_flush_all_linebuffered): Likewise.
7087 (_IO_cleanup): Likewise.
7088 (_IO_iter_begin): Likewise.
7089 (_IO_iter_end): Likewise.
7090 (_IO_list_lock): Likewise.
7091 (_IO_list_unlock): Likewise.
7092 (_IO_list_resetlock): Likewise.
7093 * libio/getchar.c (getchar): Likewise.
7094 * libio/getchar_u.c (getchar_unlocked): Likewise.
7095 * libio/getwchar.c (getwchar): Likewise.
7096 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7097 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7098 * login/getpt.c (__getpt): Likewise.
7099 * login/tst-utmp.c (main): Likewise.
7100 * malloc/hooks.c (__malloc_check_init): Likewise.
7101 * malloc/malloc.c (__malloc_stats): Likewise.
7102 * malloc/mtrace.c (tr_break): Likewise.
7104 (muntrace): Likewise.
7105 * misc/fstab.c (endfsent): Likewise.
7106 * misc/getclktck.c (__getclktck): Likewise.
7107 * misc/getdtsz.c (__getdtablesize): Likewise.
7108 * misc/gethostid.c (gethostid): Likewise.
7109 * misc/getpagesize.c (__getpagesize): Likewise.
7110 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7111 (__get_nprocs): Likewise.
7112 (__get_phys_pages): Likewise.
7113 (__get_avphys_pages): Likewise.
7114 * misc/getttyent.c (getttyent): Likewise.
7115 (setttyent): Likewise.
7116 (endttyent): Likewise.
7117 * misc/getusershell.c (getusershell): Likewise.
7118 (endusershell): Likewise.
7119 (setusershell): Likewise.
7120 (initshells): Likewise.
7121 * misc/hsearch.c (__hdestroy): Likewise.
7122 * misc/sync.c (sync): Likewise.
7123 * misc/syslog.c (closelog_internal): Likewise.
7124 (closelog): Likewise.
7125 * misc/ttyslot.c (ttyslot): Likewise.
7126 * misc/vhangup.c (vhangup): Likewise.
7127 * posix/fork.c (__fork): Likewise.
7128 * posix/getegid.c (__getegid): Likewise.
7129 * posix/geteuid.c (__geteuid): Likewise.
7130 * posix/getgid.c (__getgid): Likewise.
7131 * posix/getpid.c (__getpid): Likewise.
7132 * posix/getppid.c (__getppid): Likewise.
7133 * posix/getuid.c (__getuid): Likewise.
7134 * posix/pause.c (pause): Likewise.
7135 * posix/setpgrp.c (setpgrp): Likewise.
7136 * posix/setsid.c (__setsid): Likewise.
7137 * posix/test-vfork.c (noop): Likewise.
7138 * resolv/gethnamaddr.c (_endhtent): Likewise.
7139 (_gethtent): Likewise.
7140 (ht_endhostent): Likewise.
7141 (gethostent): Likewise.
7142 (dns_service): Likewise.
7143 * stdlib/drand48.c (drand48): Likewise.
7144 * stdlib/lrand48.c (lrand48): Likewise.
7145 * stdlib/mrand48.c (mrand48): Likewise.
7146 * stdlib/rand.c (rand): Likewise.
7147 * stdlib/random.c (__random): Likewise.
7148 * stdlib/setenv.c (clearenv): Likewise.
7149 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7150 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7151 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7152 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7153 (__get_nprocs): Likewise.
7154 (__get_phys_pages): Likewise.
7155 (__get_avphys_pages): Likewise.
7156 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7157 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7158 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7159 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7160 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7161 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7162 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7163 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7164 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7165 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7166 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7167 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7168 * sysdeps/posix/clock.c (clock): Likewise.
7169 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7170 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7171 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7172 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7173 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7175 (__get_nprocs_conf): Likewise.
7176 (__get_phys_pages): Likewise.
7177 (__get_avphys_pages): Likewise.
7178 * time/clock.c (clock): Likewise.
7179 * time/tzset.c (__tzname_max): Likewise.
7181 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7183 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7184 (__bswap_32): Do not use "register".
7185 * crypt/crypt.c (_ufc_doit_r): Likewise.
7186 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7187 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7188 * gmon/gmon.c (__monstartup): Likewise.
7189 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7190 * hurd/hurdmalloc.c (more_memory): Likewise.
7193 (realloc): Likewise.
7194 (malloc_fork_prepare): Likewise.
7195 (malloc_fork_parent): Likewise.
7196 (malloc_fork_child): Likewise.
7197 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7198 (_svcauth_des): Likewise.
7199 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7200 * inet/inet_net.c (inet_network): Likewise.
7201 * inet/inet_netof.c (inet_netof): Likewise.
7202 * inet/rcmd.c (__validuser2_sa): Likewise.
7203 * io/fts.c (fts_open): Likewise.
7204 (fts_load): Likewise.
7205 (fts_close): Likewise.
7206 (fts_read): Likewise.
7207 (fts_children): Likewise.
7208 (fts_build): Likewise.
7209 (fts_stat): Likewise.
7210 (fts_sort): Likewise.
7211 (fts_alloc): Likewise.
7212 (fts_lfree): Likewise.
7213 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7214 (_IO_file_xsgetn): Likewise.
7215 (_IO_file_xsgetn_mmap): Likewise.
7216 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7217 (_IO_cookie_write): Likewise.
7218 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7219 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7220 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7221 * malloc/obstack.c (_obstack_begin): Likewise.
7222 (_obstack_begin_1): Likewise.
7223 (_obstack_newchunk): Likewise.
7224 (_obstack_allocated_p): Likewise.
7225 (obstack_free): Likewise.
7226 (_obstack_memory_used): Likewise.
7227 * misc/getttyent.c (getttynam): Likewise.
7228 (getttyent): Likewise.
7231 * misc/getusershell.c (initshells): Likewise.
7232 * misc/syslog.c (__vsyslog_chk): Likewise.
7233 * misc/ttyslot.c (ttyslot): Likewise.
7234 * nis/nis_hash.c (__nis_hash): Likewise.
7235 * posix/fnmatch_loop.c (FCT): Likewise.
7236 * posix/getconf.c (print_all): Likewise.
7238 * posix/getopt.c (exchange): Likewise.
7239 * posix/glob.c (globfree): Likewise.
7240 (prefix_array): Likewise.
7241 (__glob_pattern_type): Likewise.
7242 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7243 (NS_GET32): Likewise.
7244 (NS_PUT16): Likewise.
7245 (NS_PUT32): Likewise.
7246 * resolv/gethnamaddr.c (getanswer): Likewise.
7247 (gethostbyname2): Likewise.
7248 (gethostbyaddr): Likewise.
7249 (_gethtent): Likewise.
7250 (_gethtbyname2): Likewise.
7251 (_gethtbyaddr): Likewise.
7252 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7253 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7254 * resolv/res_init.c (__res_vinit): Likewise.
7255 (net_mask): Likewise.
7256 * resolv/res_mkquery.c (outchar): Likewise.
7258 * stdio-common/printf_fp.c (outchar): Likewise.
7260 * stdio-common/printf_fphex.c (outchar): Likewise.
7262 * stdio-common/printf_size.c (outchar): Likewise.
7264 * stdio-common/test_rdwr.c (main): Likewise.
7265 * stdio-common/tfformat.c (matches): Likewise.
7266 * stdio-common/vfprintf.c (outchar): Likewise.
7267 (printf_unknown): Likewise.
7268 (buffered_vfprintf): Likewise.
7269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7270 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7271 (ReadFile): Likewise.
7272 * stdlib/qsort.c (SWAP): Likewise.
7273 (_quicksort): Likewise.
7274 * stdlib/setenv.c (__add_to_environ): Likewise.
7275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7276 * stdlib/strtol_l.c (__strtol_l): Likewise.
7277 * stdlib/tst-strtod.c (main): Likewise.
7278 * stdlib/tst-strtol.c (main): Likewise.
7279 * stdlib/tst-strtoll.c (main): Likewise.
7280 * string/bits/string2.h (__strcmp_cc): Likewise.
7281 (__strcmp_cg): Likewise.
7282 (__strcspn_c1): Likewise.
7283 (__strcspn_c2): Likewise.
7284 (__strcspn_c3): Likewise.
7285 (__strspn_c1): Likewise.
7286 (__strspn_c2): Likewise.
7287 (__strspn_c3): Likewise.
7288 (__strsep_1c): Likewise.
7289 (__strsep_2c): Likewise.
7290 (__strsep_3c): Likewise.
7291 * string/memccpy.c (__memccpy): Likewise.
7292 * string/stpcpy.c (__stpcpy): Likewise.
7293 * string/strcmp.c (strcmp): Likewise.
7294 * string/strrchr.c (strrchr): Likewise.
7295 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7297 * sysdeps/mach/hurd/getcwd.c
7298 (_hurd_canonicalize_directory_name_internal): Likewise.
7299 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7300 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7301 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7302 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7303 Likewise, in both definitions.
7304 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7306 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7307 64] (__bswap_64): Likewise.
7308 * time/test_time.c (main): Likewise.
7309 * time/tzfile.c (__tzfile_read): Likewise.
7310 (__tzfile_compute): Likewise.
7311 * time/tzset.c (__tzset_parse_tz): Likewise.
7312 (tzset_internal): Likewise.
7313 (compute_change): Likewise.
7314 * wcsmbs/wcscat.c (__wcscat): Likewise.
7315 * wcsmbs/wcschr.c (wcschr): Likewise.
7316 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7317 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7318 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7319 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7320 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7321 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7322 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7323 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7324 * wcsmbs/wmemset.c (wmemset): Likewise.
7326 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7328 * scripts/config.guess: Update to version 2013-05-16.
7329 * scripts/config.sub: Update to version 2013-04-24.
7330 * scripts/install-sh: Update to version 2011-11-20.07.
7331 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7332 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7334 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7336 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7337 * elf/sln.c: Likewise.
7338 * hurd/hurd/ioctl.h: Likewise.
7339 * hurd/hurdmalloc.c: Likewise.
7340 * hurd/xattr.c: Likewise.
7341 * include/shlib-compat.h: Likewise.
7342 * inet/ruserpass.c: Likewise.
7343 * libio/iofgets_u.c: Likewise.
7344 * libio/iofgetws_u.c: Likewise.
7345 * locale/programs/ld-identification.c: Likewise.
7346 * locale/programs/ld-time.c: Likewise.
7347 * mach/msg-destroy.c: Likewise.
7348 * nss/nss_files/files-netgrp.c: Likewise.
7349 * resolv/res_data.c: Likewise.
7350 * soft-fp/op-1.h: Likewise.
7351 * soft-fp/op-2.h: Likewise.
7352 * soft-fp/op-4.h: Likewise.
7353 * soft-fp/op-common.h: Likewise.
7354 * stdio-common/printf_fphex.c: Likewise.
7355 * stdlib/strtod_l.c: Likewise.
7356 * sunrpc/rpc/clnt.h: Likewise.
7357 * sysdeps/generic/framestate.c: Likewise.
7358 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7359 * sysdeps/i386/bsd-setjmp.S: Likewise.
7360 * sysdeps/i386/__longjmp.S: Likewise.
7361 * sysdeps/i386/setjmp.S: Likewise.
7362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7363 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7380 * sysdeps/ieee754/support.c: Likewise.
7381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7382 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7383 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7384 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7385 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7386 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7387 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7388 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7389 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7390 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7391 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7392 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7394 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7395 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7396 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7400 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7402 * posix/transbug.c: Remove executable mode.
7404 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7406 * crypt/speeds.c: Remove trailing whitespace.
7407 * dlfcn/default.c: Likewise.
7408 * elf/ifuncdep2.c: Likewise.
7409 * elf/ifuncmain1.c: Likewise.
7410 * elf/ifuncmain1vis.c: Likewise.
7411 * elf/testobj.h: Likewise.
7412 * elf/tst-stackguard1.c: Likewise.
7413 * gmon/sys/gmon.h: Likewise.
7414 * hurd/hurdmsg.c: Likewise.
7415 * hurd/new-fd.c: Likewise.
7416 * hurd/ports-get.c: Likewise.
7417 * iconvdata/ibm1008_420.c: Likewise.
7418 * inet/tst-getni1.c: Likewise.
7419 * inet/tst-getni2.c: Likewise.
7420 * libio/ioungetc.c: Likewise.
7421 * libio/wfiledoalloc.c: Likewise.
7422 * manual/libm-err-tab.pl: Likewise.
7423 * math/w_dremf.c: Likewise.
7424 * misc/ftruncate.c: Likewise.
7425 * posix/bug-glob2.c: Likewise.
7426 * posix/tst-pcre.c: Likewise.
7427 * posix/wait4.c: Likewise.
7428 * resolv/README: Likewise.
7429 * resolv/res_debug.h: Likewise.
7430 * resolv/tst-inet_ntop.c: Likewise.
7431 * setjmp/bug269-setjmp.c: Likewise.
7432 * soft-fp/extended.h: Likewise.
7433 * soft-fp/op-1.h: Likewise.
7434 * soft-fp/op-2.h: Likewise.
7435 * soft-fp/op-4.h: Likewise.
7436 * soft-fp/op-8.h: Likewise.
7437 * soft-fp/testit.c: Likewise.
7438 * stdio-common/bug16.c: Likewise.
7439 * stdlib/random.c: Likewise.
7440 * sunrpc/rpcsvc/rquota.x: Likewise.
7441 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7470 * sysdeps/ieee754/s_lib_version.c: Likewise.
7471 * sysdeps/mach/hurd/check_fds.c: Likewise.
7472 * sysdeps/mach/hurd/getsockname.c: Likewise.
7473 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7474 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7475 * sysdeps/powerpc/bits/link.h: Likewise.
7476 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7477 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7478 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7479 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7480 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7481 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7482 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7484 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7497 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7500 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7501 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7510 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7513 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7514 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7515 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7519 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7521 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7528 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7530 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7535 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7537 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7538 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7540 * sysdeps/powerpc/sysdep.h: Likewise.
7541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7542 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7543 * sysdeps/sh/dl-trampoline.S: Likewise.
7544 * sysdeps/sh/memset.S: Likewise.
7545 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7546 * sysdeps/sh/strlen.S: Likewise.
7547 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7548 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7549 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7550 * sysdeps/sparc/sparc32/rem.S: Likewise.
7551 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7552 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7553 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7554 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7555 * sysdeps/sparc/sparc32/urem.S: Likewise.
7556 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7558 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7559 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7561 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7562 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7563 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7564 * sysdeps/unix/bsd/times.c: Likewise.
7565 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7566 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7570 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7571 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7577 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7578 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7580 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7581 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7583 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7584 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7585 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7589 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7590 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7591 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7593 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7594 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7595 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7596 * sysdeps/x86_64/strcspn.S: Likewise.
7598 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7600 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7601 generated file. Regenerate properly from gen-translit.pl.
7602 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7603 locale/C-translit.h.
7605 2013-06-05 Andreas Schwab <schwab@suse.de>
7608 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7609 week as 6 instead of -1.
7610 * time/tst-strptime.c (day_tests): Add test case.
7612 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7614 * sysdeps/generic/math_private.h
7615 (libc_feholdexcept_setround_53bit): Replace with
7616 libc_feholdsetround_53bit.
7617 (libc_feupdateenv_53bit): Replace with
7618 libc_feresetround_53bit.
7619 (SET_RESTORE_ROUND_53BIT): Adjust.
7621 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7623 * string/test-strchrnul.c: Add copyright header.
7625 * posix/tst-getaddrinfo4.c: Increase test timeout.
7627 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7630 * math/libm-test.inc (MAX_EXP): Remove
7632 (ulp): Use MIN_EXP - MANT_DIG.
7633 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7635 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7637 * po/be.po: Revert last change.
7638 * po/zh_CN.po: Likewise.
7639 * po/header.pot: Likewise.
7641 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7643 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7644 link-libc-deps to empty as target-specific variable.
7645 * Makerules (link-libc-args): New variable.
7646 (libc-for-link): Likewise.
7647 (link-libc-deps): Likewise.
7648 (lib%.so): Depend on $(link-libc-deps). Link with
7650 (build-module): Link with $(link-libc-args).
7651 (build-module-asneeded): Likewise.
7652 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7654 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7655 target-specific variable.
7656 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7657 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7658 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7660 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7662 ($(objpfx)libpcprofile.so): Likewise.
7663 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7665 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7666 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7667 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7669 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7670 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7671 * login/Makefile ($(objpfx)libutil.so): Likewise.
7672 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7673 * math/Makefile ($(objpfx)libm.so): Likewise.
7674 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7675 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7676 variable instead of depending directly on libc.
7677 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7678 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7680 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7682 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7683 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7684 ($(objpfx)libanl.so): Likewise.
7685 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7687 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7689 * sysdeps/i386/fpu/Makefile: Remove file.
7690 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7691 ($(objpfx)libm.so): Remove dependency on ld.so.
7693 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7696 * nis/yp_xdr.c (XDRMAXNAME): Define.
7697 (XDRMAXRECORD): Define.
7698 (xdr_domainname): Use XDRMAXNAME.
7699 (xdr_mapname): Likewise.
7700 (xdr_peername): Likewise.
7701 (xdr_keydat): Use XDRMAXRECORD.
7702 (xdr_valdat): Likewise.
7704 2013-05-30 Jeff Law <law@redhat.com>
7707 * manual/errno.texi (ESTALE): Update to account for more than
7708 just NFS file systems.
7709 * sysdeps/gnu/errlist.c: Regenerated.
7711 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7714 * elf/Makefile (tests): Add tst-null-argv.
7715 (modules-names): Add tst-null-argv-lib.
7716 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7717 (tst-null-argv-ENV): Set environment for tst-null-argv.
7718 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7719 (RTLD_PROGNAME): New macro.
7720 * elf/tst-null-argv.c: New test case.
7721 * elf/tst-null-argv-lib.c: Library for test case.
7722 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7723 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7724 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7725 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7726 * elf/dl-init.c (call_init): Likewise.
7727 (_dl_init): Likewise.
7728 * elf/dl-load.c (print_search_path): Likewise.
7729 (_dl_map_object): Likewise.
7730 * elf/dl-lookup.c (do_lookup_x): Likewise.
7731 (add_dependency): Likewise.
7732 (_dl_lookup_symbol_x): Likewise.
7733 (_dl_debug_bindings): Likewise.
7734 * elf/dl-open.c (_dl_show_scope): Likewise.
7735 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7736 * elf/dl-version.c (match_symbol): Likewise.
7737 (_dl_check_map_versions): Likewise.
7738 * elf/rtld.c (dl_main): Likewise.
7739 (print_unresolved): Use RTLD_PROGNAME.
7740 (print_missing_version): Likewise.
7741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7742 (elf_machine_rela): Likewise.
7743 * sysdeps/powerpc/powerpc32/dl-machine.c
7744 (__process_machine_rela): Likewise.
7745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7747 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7749 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7751 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7758 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7760 * po/be.po: Add descriptive title.
7761 * po/zh_CN.po: Likewise.
7762 * po/header.pot: Likewise.
7764 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7766 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7768 (enlarge_archive): Likewise.
7770 2013-05-28 Ben North <ben@redfrontdoor.org>
7772 * manual/arith.texi (frexp): It is the magnitude of the return
7773 value which lies in [0.5, 1), not the return value itself.
7775 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7779 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7781 * stdio-common/bug26.c (main): Correct fscanf template.
7783 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7784 declare _dl_skip_args.
7786 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7789 * manual/platform.texi: Add missing @end deftypefun.
7791 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7795 bit of mantissa of 2^16382.
7796 * math/libm-test.inc (hypot_test_data): Add more tests.
7798 * math/libm-test.inc: Add drem and pow10 to list of tested
7800 (pow10_test): New function.
7801 (drem_test): Likewise.
7802 (drem_test_tonearest): Likewise.
7803 (drem_test_towardzero): Likewise.
7804 (drem_test_downward): Likewise.
7805 (drem_test_upward): Likewise.
7806 (main): Call the new functions.
7808 * math/libm-test.inc (finite_test_data): Remove.
7809 (finite_test): Run tests from isfinite_test_data.
7810 (gamma_test_data): Remove.
7811 (gamma_test): Run tests from lgamma_test_data.
7812 * sysdeps/i386/fpu/libm-test-ulps: Update.
7813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7817 * manual/platform.texi: Add PowerPC PPR function set documentation.
7818 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7821 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7823 * math/libm-test.inc (MAX_EXP): Define.
7825 (ulp): New function.
7826 (check_float_internal): Use ULPDIFF.
7827 (cpow_test): Disable failing test.
7828 (check_ulp): Test ulp() implemetnation.
7829 (main): Call check_ulp before starting tests.
7831 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7833 * math/gen-libm-test.pl (generate_testfile): Do not handle
7834 START_DATA and END_DATA.
7835 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7837 (acos_tonearest_test_data): Likewise.
7838 (acos_towardzero_test_data): Likewise.
7839 (acos_downward_test_data): Likewise.
7840 (acos_upward_test_data): Likewise.
7841 (acosh_test_data): Likewise.
7842 (asin_test_data): Likewise.
7843 (asin_tonearest_test_data): Likewise.
7844 (asin_towardzero_test_data): Likewise.
7845 (asin_downward_test_data): Likewise.
7846 (asin_upward_test_data): Likewise.
7847 (asinh_test_data): Likewise.
7848 (atan_test_data): Likewise.
7849 (atanh_test_data): Likewise.
7850 (atan2_test_data): Likewise.
7851 (cabs_test_data): Likewise.
7852 (cacos_test_data): Likewise.
7853 (cacosh_test_data): Likewise.
7854 (carg_test_data): Likewise.
7855 (casin_test_data): Likewise.
7856 (casinh_test_data): Likewise.
7857 (catan_test_data): Likewise.
7858 (catanh_test_data): Likewise.
7859 (cbrt_test_data): Likewise.
7860 (ccos_test_data): Likewise.
7861 (ccosh_test_data): Likewise.
7862 (ceil_test_data): Likewise.
7863 (cexp_test_data): Likewise.
7864 (cimag_test_data): Likewise.
7865 (clog_test_data): Likewise.
7866 (clog10_test_data): Likewise.
7867 (conj_test_data): Likewise.
7868 (copysign_test_data): Likewise.
7869 (cos_test_data): Likewise.
7870 (cos_tonearest_test_data): Likewise.
7871 (cos_towardzero_test_data): Likewise.
7872 (cos_downward_test_data): Likewise.
7873 (cos_upward_test_data): Likewise.
7874 (cosh_test_data): Likewise.
7875 (cosh_tonearest_test_data): Likewise.
7876 (cosh_towardzero_test_data): Likewise.
7877 (cosh_downward_test_data): Likewise.
7878 (cosh_upward_test_data): Likewise.
7879 (cpow_test_data): Likewise.
7880 (cproj_test_data): Likewise.
7881 (creal_test_data): Likewise.
7882 (csin_test_data): Likewise.
7883 (csinh_test_data): Likewise.
7884 (csqrt_test_data): Likewise.
7885 (ctan_test_data): Likewise.
7886 (ctan_tonearest_test_data): Likewise.
7887 (ctan_towardzero_test_data): Likewise.
7888 (ctan_downward_test_data): Likewise.
7889 (ctan_upward_test_data): Likewise.
7890 (ctanh_test_data): Likewise.
7891 (ctanh_tonearest_test_data): Likewise.
7892 (ctanh_towardzero_test_data): Likewise.
7893 (ctanh_downward_test_data): Likewise.
7894 (ctanh_upward_test_data): Likewise.
7895 (erf_test_data): Likewise.
7896 (erfc_test_data): Likewise.
7897 (exp_test_data): Likewise.
7898 (exp_tonearest_test_data): Likewise.
7899 (exp_towardzero_test_data): Likewise.
7900 (exp_downward_test_data): Likewise.
7901 (exp_upward_test_data): Likewise.
7902 (exp10_test_data): Likewise.
7903 (exp2_test_data): Likewise.
7904 (expm1_test_data): Likewise.
7905 (fabs_test_data): Likewise.
7906 (fdim_test_data): Likewise.
7907 (finite_test_data): Likewise.
7908 (floor_test_data): Likewise.
7909 (fma_test_data): Likewise.
7910 (fma_towardzero_test_data): Likewise.
7911 (fma_downward_test_data): Likewise.
7912 (fma_upward_test_data): Likewise.
7913 (fmax_test_data): Likewise.
7914 (fmin_test_data): Likewise.
7915 (fmod_test_data): Likewise.
7916 (fpclassify_test_data): Likewise.
7917 (frexp_test_data): Likewise.
7918 (gamma_test_data): Likewise.
7919 (hypot_test_data): Likewise.
7920 (ilogb_test_data): Likewise.
7921 (isfinite_test_data): Likewise.
7922 (isgreater_test_data): Likewise.
7923 (isgreaterequal_test_data): Likewise.
7924 (isinf_test_data): Likewise.
7925 (isless_test_data): Likewise.
7926 (islessequal_test_data): Likewise.
7927 (islessgreater_test_data): Likewise.
7928 (isnan_test_data): Likewise.
7929 (isnormal_test_data): Likewise.
7930 (issignaling_test_data): Likewise.
7931 (isunordered_test_data): Likewise.
7932 (j0_test_data): Likewise.
7933 (j1_test_data): Likewise.
7934 (jn_test_data): Likewise.
7935 (ldexp_test_data): Likewise.
7936 (lgamma_test_data): Likewise.
7937 (lrint_test_data): Likewise.
7938 (lrint_tonearest_test_data): Likewise.
7939 (lrint_towardzero_test_data): Likewise.
7940 (lrint_downward_test_data): Likewise.
7941 (lrint_upward_test_data): Likewise.
7942 (llrint_test_data): Likewise.
7943 (llrint_tonearest_test_data): Likewise.
7944 (llrint_towardzero_test_data): Likewise.
7945 (llrint_downward_test_data): Likewise.
7946 (llrint_upward_test_data): Likewise.
7947 (log_test_data): Likewise.
7948 (log10_test_data): Likewise.
7949 (log1p_test_data): Likewise.
7950 (log2_test_data): Likewise.
7951 (logb_test_data): Likewise.
7952 (logb_downward_test_data): Likewise.
7953 (lround_test_data): Likewise.
7954 (llround_test_data): Likewise.
7955 (modf_test_data): Likewise.
7956 (nearbyint_test_data): Likewise.
7957 (nextafter_test_data): Likewise.
7958 (nexttoward_test_data): Likewise.
7959 (pow_test_data): Likewise.
7960 (pow_tonearest_test_data): Likewise.
7961 (pow_towardzero_test_data): Likewise.
7962 (pow_downward_test_data): Likewise.
7963 (pow_upward_test_data): Likewise.
7964 (remainder_test_data): Likewise.
7965 (remainder_tonearest_test_data): Likewise.
7966 (remainder_towardzero_test_data): Likewise.
7967 (remainder_downward_test_data): Likewise.
7968 (remainder_upward_test_data): Likewise.
7969 (remquo_test_data): Likewise.
7970 (rint_test_data): Likewise.
7971 (rint_tonearest_test_data): Likewise.
7972 (rint_towardzero_test_data): Likewise.
7973 (rint_downward_test_data): Likewise.
7974 (rint_upward_test_data): Likewise.
7975 (round_test_data): Likewise.
7976 (scalb_test_data): Likewise.
7977 (scalbn_test_data): Likewise.
7978 (scalbln_test_data): Likewise.
7979 (signbit_test_data): Likewise.
7980 (sin_test_data): Likewise.
7981 (sin_tonearest_test_data): Likewise.
7982 (sin_towardzero_test_data): Likewise.
7983 (sin_downward_test_data): Likewise.
7984 (sin_upward_test_data): Likewise.
7985 (sincos_test_data): Likewise.
7986 (sinh_test_data): Likewise.
7987 (sinh_tonearest_test_data): Likewise.
7988 (sinh_towardzero_test_data): Likewise.
7989 (sinh_downward_test_data): Likewise.
7990 (sinh_upward_test_data): Likewise.
7991 (sqrt_test_data): Likewise.
7992 (tan_test_data): Likewise.
7993 (tan_tonearest_test_data): Likewise.
7994 (tan_towardzero_test_data): Likewise.
7995 (tan_downward_test_data): Likewise.
7996 (tan_upward_test_data): Likewise.
7997 (tanh_test_data): Likewise.
7998 (tgamma_test_data): Likewise.
7999 (trunc_test_data): Likewise.
8000 (y0_test_data): Likewise.
8001 (y1_test_data): Likewise.
8002 (yn_test_data): Likewise.
8003 (significand_test_data): Likewise.
8005 * math/gen-libm-test.pl (@functions): Remove variable.
8006 (generate_testfile): Don't handle START and END lines.
8007 * math/libm-test.inc (START): New macro.
8009 (END_COMPLEX): Likewise.
8010 (acos_test): Use END macro without arguments.
8011 (acos_test_tonearest): Likewise.
8012 (acos_test_towardzero): Likewise.
8013 (acos_test_downward): Likewise.
8014 (acos_test_upward): Likewise.
8015 (acosh_test): Likewise.
8016 (asin_test): Likewise.
8017 (asin_test_tonearest): Likewise.
8018 (asin_test_towardzero): Likewise.
8019 (asin_test_downward): Likewise.
8020 (asin_test_upward): Likewise.
8021 (asinh_test): Likewise.
8022 (atan_test): Likewise.
8023 (atanh_test): Likewise.
8024 (atan2_test): Likewise.
8025 (cabs_test): Likewise.
8026 (cacos_test): Use END_COMPLEX macro without arguments.
8027 (cacosh_test): Likewise.
8028 (carg_test): Use END macro without arguments.
8029 (casin_test): Use END_COMPLEX macro without arguments.
8030 (casinh_test): Likewise.
8031 (catan_test): Likewise.
8032 (catanh_test): Likewise.
8033 (cbrt_test): Use END macro without arguments.
8034 (ccos_test): Use END_COMPLEX macro without arguments.
8035 (ccosh_test): Likewise.
8036 (ceil_test): Use END macro without arguments.
8037 (cexp_test): Use END_COMPLEX macro without arguments.
8038 (cimag_test): Use END macro without arguments.
8039 (clog_test): Use END_COMPLEX macro without arguments.
8040 (clog10_test): Likewise.
8041 (conj_test): Likewise.
8042 (copysign_test): Use END macro without arguments.
8043 (cos_test): Likewise.
8044 (cos_test_tonearest): Likewise.
8045 (cos_test_towardzero): Likewise.
8046 (cos_test_downward): Likewise.
8047 (cos_test_upward): Likewise.
8048 (cosh_test): Likewise.
8049 (cosh_test_tonearest): Likewise.
8050 (cosh_test_towardzero): Likewise.
8051 (cosh_test_downward): Likewise.
8052 (cosh_test_upward): Likewise.
8053 (cpow_test): Use END_COMPLEX macro without arguments.
8054 (cproj_test): Likewise.
8055 (creal_test): Use END macro without arguments.
8056 (csin_test): Use END_COMPLEX macro without arguments.
8057 (csinh_test): Likewise.
8058 (csqrt_test): Likewise.
8059 (ctan_test): Likewise.
8060 (ctan_test_tonearest): Likewise.
8061 (ctan_test_towardzero): Likewise.
8062 (ctan_test_downward): Likewise.
8063 (ctan_test_upward): Likewise.
8064 (ctanh_test): Likewise.
8065 (ctanh_test_tonearest): Likewise.
8066 (ctanh_test_towardzero): Likewise.
8067 (ctanh_test_downward): Likewise.
8068 (ctanh_test_upward): Likewise.
8069 (erf_test): Use END macro without arguments.
8070 (erfc_test): Likewise.
8071 (exp_test): Likewise.
8072 (exp_test_tonearest): Likewise.
8073 (exp_test_towardzero): Likewise.
8074 (exp_test_downward): Likewise.
8075 (exp_test_upward): Likewise.
8076 (exp10_test): Likewise.
8077 (exp2_test): Likewise.
8078 (expm1_test): Likewise.
8079 (fabs_test): Likewise.
8080 (fdim_test): Likewise.
8081 (finite_test): Likewise.
8082 (floor_test): Likewise.
8083 (fma_test): Likewise.
8084 (fma_test_towardzero): Likewise.
8085 (fma_test_downward): Likewise.
8086 (fma_test_upward): Likewise.
8087 (fmax_test): Likewise.
8088 (fmin_test): Likewise.
8089 (fmod_test): Likewise.
8090 (fpclassify_test): Likewise.
8091 (frexp_test): Likewise.
8092 (gamma_test): Likewise.
8093 (hypot_test): Likewise.
8094 (ilogb_test): Likewise.
8095 (isfinite_test): Likewise.
8096 (isgreater_test): Likewise.
8097 (isgreaterequal_test): Likewise.
8098 (isinf_test): Likewise.
8099 (isless_test): Likewise.
8100 (islessequal_test): Likewise.
8101 (islessgreater_test): Likewise.
8102 (isnan_test): Likewise.
8103 (isnormal_test): Likewise.
8104 (issignaling_test): Likewise.
8105 (isunordered_test): Likewise.
8106 (j0_test): Likewise.
8107 (j1_test): Likewise.
8108 (jn_test): Likewise.
8109 (ldexp_test): Likewise.
8110 (lgamma_test): Likewise.
8111 (lrint_test): Likewise.
8112 (lrint_test_tonearest): Likewise.
8113 (lrint_test_towardzero): Likewise.
8114 (lrint_test_downward): Likewise.
8115 (lrint_test_upward): Likewise.
8116 (llrint_test): Likewise.
8117 (llrint_test_tonearest): Likewise.
8118 (llrint_test_towardzero): Likewise.
8119 (llrint_test_downward): Likewise.
8120 (llrint_test_upward): Likewise.
8121 (log_test): Likewise.
8122 (log10_test): Likewise.
8123 (log1p_test): Likewise.
8124 (log2_test): Likewise.
8125 (logb_test): Likewise.
8126 (logb_test_downward): Likewise.
8127 (lround_test): Likewise.
8128 (llround_test): Likewise.
8129 (modf_test): Likewise.
8130 (nearbyint_test): Likewise.
8131 (nextafter_test): Likewise.
8132 (nexttoward_test): Likewise.
8133 (pow_test): Likewise.
8134 (pow_test_tonearest): Likewise.
8135 (pow_test_towardzero): Likewise.
8136 (pow_test_downward): Likewise.
8137 (pow_test_upward): Likewise.
8138 (remainder_test): Likewise.
8139 (remainder_test_tonearest): Likewise.
8140 (remainder_test_towardzero): Likewise.
8141 (remainder_test_downward): Likewise.
8142 (remainder_test_upward): Likewise.
8143 (remquo_test): Likewise.
8144 (rint_test): Likewise.
8145 (rint_test_tonearest): Likewise.
8146 (rint_test_towardzero): Likewise.
8147 (rint_test_downward): Likewise.
8148 (rint_test_upward): Likewise.
8149 (round_test): Likewise.
8150 (scalb_test): Likewise.
8151 (scalbn_test): Likewise.
8152 (scalbln_test): Likewise.
8153 (signbit_test): Likewise.
8154 (sin_test): Likewise.
8155 (sin_test_tonearest): Likewise.
8156 (sin_test_towardzero): Likewise.
8157 (sin_test_downward): Likewise.
8158 (sin_test_upward): Likewise.
8159 (sincos_test): Likewise.
8160 (sinh_test): Likewise.
8161 (sinh_test_tonearest): Likewise.
8162 (sinh_test_towardzero): Likewise.
8163 (sinh_test_downward): Likewise.
8164 (sinh_test_upward): Likewise.
8165 (sqrt_test): Likewise.
8166 (tan_test): Likewise.
8167 (tan_test_tonearest): Likewise.
8168 (tan_test_towardzero): Likewise.
8169 (tan_test_downward): Likewise.
8170 (tan_test_upward): Likewise.
8171 (tanh_test): Likewise.
8172 (tgamma_test): Likewise.
8173 (trunc_test): Likewise.
8174 (y0_test): Likewise.
8175 (y1_test): Likewise.
8176 (yn_test): Likewise.
8177 (significand_test): Likewise.
8179 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8182 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8184 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8187 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8188 __ppc_mdoio and __ppc_mdoom.
8189 * manual/platform.texi: Document new functions __ppc_yield,
8190 __ppc_mdoio and __ppc_mdoom.
8192 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8194 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8195 (main): Mention "tls" pseudo-hwcap is legacy.
8196 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8198 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8200 * math/gen-libm-test.pl (parse_args): Output only string of
8201 arguments as text for test name, not full call or descriptions of
8202 tests for extra outputs.
8203 (generate_testfile): Do not pass function name to parse_args.
8204 Generate this_func variable from START.
8205 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8207 (struct test_ff_f_data): Likewise.
8208 (test_ff_f_data_nexttoward): Likewise.
8209 (struct test_fi_f_data): Likewise.
8210 (struct test_fl_f_data): Likewise.
8211 (struct test_if_f_data): Likewise.
8212 (struct test_fff_f_data): Likewise.
8213 (struct test_c_f_data): Likewise.
8214 (struct test_f_f1_data): Likewise. Remove field extra_name.
8215 (struct test_fF_f1_data): Likewise.
8216 (struct test_ffI_f1_data): Likewise.
8217 (struct test_c_c_data): Rename test_name field to arg_str.
8218 (struct test_cc_c_data): Likewise.
8219 (struct test_f_i_data): Likewise.
8220 (struct test_ff_i_data): Likewise.
8221 (struct test_f_l_data): Likewise.
8222 (struct test_f_L_data): Likewise.
8223 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8225 (COMMON_TEST_SETUP): New macro.
8226 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8227 (COMMON_TEST_CLEANUP): Likewise.
8228 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8229 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8231 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8232 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8234 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8235 (RUN_TEST_fff_f): Take argument string. Call new setup and
8237 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8238 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8240 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8241 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8243 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8244 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8246 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8247 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8249 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8250 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8252 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8253 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8255 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8256 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8258 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8259 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8261 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8262 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8264 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8265 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8267 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8268 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8270 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8271 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8273 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8274 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8276 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8277 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8279 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8280 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8282 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8284 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8286 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8287 to _sifields.sigfault.
8288 (si_addr_lsb): Define new macro.
8289 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8290 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8293 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8296 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8298 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8300 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8303 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8305 * math/gen-libm-test.pl (parse_args): Do not include expected
8306 result in test name.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8309 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8311 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8314 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8316 * benchtests/Makefile: Sort function entries.
8318 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8319 tanh, asinh, acosh, atanh.
8320 * benchtests/acos-inputs: New file.
8321 * benchtests/acosh-inputs: New file.
8322 * benchtests/asin-inputs: New file.
8323 * benchtests/asinh-inputs: New file.
8324 * benchtests/atanh-inputs: New file.
8325 * benchtests/cosh-inputs: New file.
8326 * benchtests/log-inputs: New file.
8327 * benchtests/sinh-inputs: New file.
8328 * benchtests/tanh-inputs: New file.
8330 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8333 * posix/tst-getaddrinfo4.c: New test.
8334 * posix/Makefile (tests): Add it.
8336 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8339 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8340 when no services were used.
8341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8342 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8344 2013-05-21 Andreas Schwab <schwab@suse.de>
8347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8348 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8350 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8351 redundant variable declarations and reallocation of buffer when
8352 parsing as IPv6 address. Always set NSS status when called from
8353 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8354 buffer too small. Correct computation of needed size.
8355 * nss/Makefile (tests): Add test-digits-dots.
8356 * nss/test-digits-dots.c: New test.
8358 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8360 * benchtests/Makefile: Remove instructions for adding
8362 * benchtests/README: New file to explain how to execute and
8363 enhance the benchmark tests.
8365 2013-05-21 Andreas Schwab <schwab@suse.de>
8368 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8369 * setjmp/tst-sigsetjmp.c: New test.
8371 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8373 * sysdeps/x86_64/memset.S (memset): New implementation.
8374 (__bzero): Likewise.
8375 (__memset_tail): New function.
8377 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8379 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8380 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8381 __memcpy_sse2_unaligned ifunc selection.
8382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8383 Add memcpy-sse2-unaligned.S.
8384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8385 Add: __memcpy_sse2_unaligned.
8387 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8391 math_force_eval before restoring floating-point envrionment.
8392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8397 (__nearbyintl): Use math_force_eval before restoring
8398 floating-point environment.
8399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8401 * math/gen-libm-test.pl (special_functions): Remove.
8402 (parse_args): Don't handle TEST_extra. Handle functions with no
8404 * math/libm-test.inc (struct test_sincos_data): Replace with
8405 struct test_fFF_11_data.
8406 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8407 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8408 (sincos_test_data): Change element type to struct
8409 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8410 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8411 RUN_TEST_LOOP_sincos.
8412 * math/README.libm-test: Don't mention special handling of
8413 individual functions.
8414 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8421 * math/gen-libm-test.pl (get_variable): Remove function.
8422 (parse_args): Don't show pointer parameters to call in test
8423 names. Use "extra output N" in test names for extra outputs
8424 rather than naming variables.
8426 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8429 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8430 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8431 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8433 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8435 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8438 * math/gen-libm-test.pl (@tests): Remove variable.
8440 (new_test): Remove function.
8441 (show_exceptions): New function.
8442 (special_functions): Use show_exceptions instead of new_test.
8443 (parse_args): Likewise.
8444 (generate_testfile): Pass only function name in generated call to
8445 print_max_error or print_complex_max_error.
8446 (get_ulps): Do not handle complex tests specially.
8447 (output_test): Rename to ...
8448 (get_all_ulps_for_test): ... this. Return a string rather than
8449 printing to a file. Require ulps to be present.
8450 (output_ulps): Generate arrays rather than #defines.
8451 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8452 (struct ulp_data): New type.
8453 (BUILD_COMPLEX_ULP): Remove macro.
8454 (compare_ulp_data): New function.
8455 (find_ulps): Likewise.
8456 (find_test_ulps): Likewise.
8457 (find_function_ulps): Likewise.
8458 (find_complex_function_ulps): Likewise.
8459 (print_max_error): Determine allowed ulps using
8461 (print_complex_max_error): Determine allowed ulps using
8462 find_complex_function_ulps.
8463 (check_float_internal): Determine max ulps using find_test_ulps.
8464 (check_float): Do not take max_ulp parameter. Update call to
8465 check_float_internal.
8466 (check_complex): Likewise.
8467 (check_int): Do not take max_ulp parameter.
8468 (check_long): Likewise.
8469 (check_bool): Likewise.
8470 (check_longlong): Likewise.
8471 (struct test_f_f_data): Remove max_ulp field.
8472 (struct test_ff_f_data): Likewise.
8473 (struct test_ff_f_data_nexttoward): Likewise.
8474 (struct test_fi_f_data): Likewise.
8475 (struct test_fl_f_data): Likewise.
8476 (struct test_if_f_data): Likewise.
8477 (struct test_fff_f_data): Likewise.
8478 (struct test_c_f_data): Likewise.
8479 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8480 (struct test_fF_f1_data): Likewise.
8481 (struct test_ffI_f1_data): Likewise.
8482 (struct test_c_c_data): Remove max_ulp field.
8483 (struct test_cc_c_data): Likewise.
8484 (struct test_f_i_data): Likewise.
8485 (struct test_ff_i_data): Likewise.
8486 (struct test_f_l_data): Likewise.
8487 (struct test_f_L_data): Likewise.
8488 (struct test_sincos_data): Likewise.
8489 (RUN_TEST_f_f): Do not handle ulps.
8490 (RUN_TEST_LOOP_f_f): Likewise.
8491 (RUN_TEST_2_f): Likewise.
8492 (RUN_TEST_LOOP_2_f): Likewise.
8493 (RUN_TEST_fff_f): Likewise.
8494 (RUN_TEST_LOOP_fff_f): Likewise.
8495 (RUN_TEST_c_f): Likewise.
8496 (RUN_TEST_LOOP_c_f): Likewise.
8497 (RUN_TEST_f_f1): Likewise.
8498 (RUN_TEST_LOOP_f_f1): Likewise.
8499 (RUN_TEST_fF_f1): Likewise.
8500 (RUN_TEST_LOOP_fF_f1): Likewise.
8501 (RUN_TEST_fI_f1): Likewise.
8502 (RUN_TEST_LOOP_fI_f1): Likewise.
8503 (RUN_TEST_ffI_f1): Likewise.
8504 (RUN_TEST_LOOP_ffI_f1): Likewise.
8505 (RUN_TEST_c_c): Likewise.
8506 (RUN_TEST_LOOP_c_c): Likewise.
8507 (RUN_TEST_cc_c): Likewise.
8508 (RUN_TEST_LOOP_cc_c): Likewise.
8509 (RUN_TEST_f_i): Likewise.
8510 (RUN_TEST_LOOP_f_i): Likewise.
8511 (RUN_TEST_f_i_tg): Likewise.
8512 (RUN_TEST_LOOP_f_i_tg): Likewise.
8513 (RUN_TEST_ff_i_tg): Likewise.
8514 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8515 (RUN_TEST_f_b): Likewise.
8516 (RUN_TEST_LOOP_f_b): Likewise.
8517 (RUN_TEST_f_b_tg): Likewise.
8518 (RUN_TEST_LOOP_f_b_tg): Likewise.
8519 (RUN_TEST_f_l): Likewise.
8520 (RUN_TEST_LOOP_f_l): Likewise.
8521 (RUN_TEST_f_L): Likewise.
8522 (RUN_TEST_LOOP_f_L): Likewise.
8523 (RUN_TEST_sincos): Likewise.
8524 (RUN_TEST_LOOP_sincos): Likewise.
8526 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8530 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8531 main case of finite arguments, set rounding mode to FE_TONEAREST
8532 and discard exceptions.
8533 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8535 (remainder_tonearest_test_data): New variable.
8536 (remainder_test_tonearest): New function.
8537 (remainder_towardzero_test_data): New variable.
8538 (remainder_test_towardzero): New function.
8539 (remainder_downward_test_data): New variable.
8540 (remainder_test_downward): New function.
8541 (remainder_upward_test_data): New variable.
8542 (remainder_test_upward): New function.
8543 (main): Call the new test functions.
8545 * math/libm-test.inc (struct test_f_f1_data): Remove field
8547 (struct test_fF_f1_data): Likewise.
8548 (struct test_ffI_f1_data): Likewise.
8549 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8550 based on value of EXTRA_EXPECTED.
8551 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8552 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8553 EXTRA_VAR based on value of EXTRA_EXPECTED.
8554 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8555 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8556 EXTRA_VAR based on value of EXTRA_EXPECTED.
8557 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8558 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8559 EXTRA_VAR based on value of EXTRA_EXPECTED.
8560 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8561 * math/gen-libm-test.pl (parse_args): Don't output initializers
8562 for extra output values.
8564 * math/libm-test.inc (check_int): Expect result to be exactly
8565 equal to expected value and do not handle ulps.
8566 (check_long): Likewise.
8567 (check_longlong): Likewise.
8569 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8571 (cimag_test_data): Likewise.
8572 (conj_test_data): Likewise.
8573 (copysign_test_data): Likewise.
8574 (cproj_test_data): Likewise.
8575 (creal_test_data): Likewise.
8576 (fabs_test_data): Likewise.
8577 (fdim_test_data): Likewise.
8578 (finite_test_data): Likewise.
8579 (floor_test_data): Likewise.
8580 (fmax_test_data): Likewise.
8581 (fmin_test_data): Likewise.
8582 (fmod_test_data): Likewise.
8583 (fpclassify_test_data): Likewise.
8584 (frexp_test_data): Likewise.
8585 (ilogb_test_data): Likewise.
8586 (isfinite_test_data): Likewise.
8587 (isgreater_test_data): Likewise.
8588 (isgreaterequal_test_data): Likewise.
8589 (isinf_test_data): Likewise.
8590 (isless_test_data): Likewise.
8591 (islessequal_test_data): Likewise.
8592 (islessgreater_test_data): Likewise.
8593 (isnan_test_data): Likewise.
8594 (isnormal_test_data): Likewise.
8595 (issignaling_test_data): Likewise.
8596 (isunordered_test_data): Likewise.
8597 (ldexp_test_data): Likewise.
8598 (lrint_test_data): Likewise.
8599 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8600 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8601 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8602 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8603 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8604 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8606 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8607 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8608 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8609 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8611 (lrint_downward_test_data): Test for "inexact" exceptions.
8612 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8613 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8614 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8616 (lrint_upward_test_data): Test for "inexact" exceptions.
8617 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8619 (llrint_test_data): Test for "inexact" exceptions.
8620 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8621 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8622 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8623 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8624 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8625 (llrint_downward_test_data): Test for "inexact" exceptions.
8626 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8627 (llrint_upward_test_data): Test for "inexact" exceptions.
8628 (logb_test_data): Likewise.
8629 (logb_downward_test_data): Likewise.
8630 (nextafter_test_data): Likewise.
8631 (nexttoward_test_data): Likewise.
8632 (remainder_test_data): Likewise.
8633 (remquo_test_data): Likewise.
8634 (scalbn_test_data): Likewise.
8635 (scalbln_test_data): Likewise.
8636 (signbit_test_data): Likewise.
8637 (sqrt_test_data): Likewise.
8638 (significand_test_data): Likewise.
8640 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 * benchtests/bench-modf.c (struct args): Mark arg0 as
8645 * scripts/bench.pl: Mark members of struct args as volatile.
8647 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8650 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8651 negative infinity on POWER6 or lower.
8652 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8654 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8657 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8658 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8659 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8660 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8661 (_FP_SETQNAN): New macro.
8662 (_FP_SETQNAN_SEMIRAW): Likewise.
8663 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8664 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8665 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8666 (FP_EXTEND): Use _FP_FRAC_SNANP.
8667 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8668 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8670 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8675 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8677 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8678 with DIVIDE_BY_ZERO_EXCEPTION.
8679 (gamma_test_data): Likewise.
8680 (lgamma_test_data): Likewise.
8681 (log_test_data): Likewise.
8682 (log10_test_data): Likewise.
8683 (log2_test_data): Likewise.
8684 (tgamma_test_data): Likewise.
8686 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8687 (acos_test_tonearest): Likewise.
8688 (acos_test_towardzero): Likewise.
8689 (acos_test_downward): Likewise.
8690 (acos_test_upward): Likewise.
8691 (acosh_test): Likewise.
8692 (asin_test): Likewise.
8693 (asin_test_tonearest): Likewise.
8694 (asin_test_towardzero): Likewise.
8695 (asin_test_downward): Likewise.
8696 (asin_test_upward): Likewise.
8697 (asinh_test): Likewise.
8698 (atan_test): Likewise.
8699 (atanh_test): Likewise.
8700 (atan2_test): Likewise.
8701 (cabs_test): Likewise.
8702 (cacos_test): Likewise.
8703 (cacosh_test): Likewise.
8704 (casin_test): Likewise.
8705 (casinh_test): Likewise.
8706 (catan_test): Likewise.
8707 (catanh_test): Likewise.
8708 (cbrt_test): Likewise.
8709 (ccos_test): Likewise.
8710 (ccosh_test): Likewise.
8711 (cexp_test): Likewise.
8712 (clog_test): Likewise.
8713 (clog10_test): Likewise.
8714 (cos_test): Likewise.
8715 (cos_test_tonearest): Likewise.
8716 (cos_test_towardzero): Likewise.
8717 (cos_test_downward): Likewise.
8718 (cos_test_upward): Likewise.
8719 (cosh_test): Likewise.
8720 (cosh_test_tonearest): Likewise.
8721 (cosh_test_towardzero): Likewise.
8722 (cosh_test_downward): Likewise.
8723 (cosh_test_upward): Likewise.
8724 (cpow_test): Likewise.
8725 (csin_test): Likewise.
8726 (csinh_test): Likewise.
8727 (csqrt_test): Likewise.
8728 (ctan_test): Likewise.
8729 (ctan_test_tonearest): Likewise.
8730 (ctan_test_towardzero): Likewise.
8731 (ctan_test_downward): Likewise.
8732 (ctan_test_upward): Likewise.
8733 (ctanh_test): Likewise.
8734 (ctanh_test_tonearest): Likewise.
8735 (ctanh_test_towardzero): Likewise.
8736 (ctanh_test_downward): Likewise.
8737 (ctanh_test_upward): Likewise.
8738 (erf_test): Likewise.
8739 (erfc_test): Likewise.
8740 (exp_test): Likewise.
8741 (exp_test_tonearest): Likewise.
8742 (exp_test_towardzero): Likewise.
8743 (exp_test_downward): Likewise.
8744 (exp_test_upward): Likewise.
8745 (exp10_test): Likewise.
8746 (exp2_test): Likewise.
8747 (expm1_test): Likewise.
8748 (fmod_test): Likewise.
8749 (gamma_test): Likewise.
8750 (hypot_test): Likewise.
8751 (j0_test): Likewise.
8752 (j1_test): Likewise.
8753 (jn_test): Likewise.
8754 (lgamma_test): Likewise.
8755 (log_test): Likewise.
8756 (log10_test): Likewise.
8757 (log1p_test): Likewise.
8758 (log2_test): Likewise.
8759 (logb_test_downward): Likewise.
8760 (pow_test): Likewise.
8761 (pow_test_tonearest): Likewise.
8762 (pow_test_towardzero): Likewise.
8763 (pow_test_downward): Likewise.
8764 (pow_test_upward): Likewise.
8765 (remainder_test): Likewise.
8766 (remquo_test): Likewise.
8767 (sin_test): Likewise.
8768 (sin_test_tonearest): Likewise.
8769 (sin_test_towardzero): Likewise.
8770 (sin_test_downward): Likewise.
8771 (sin_test_upward): Likewise.
8772 (sincos_test): Likewise.
8773 (sinh_test): Likewise.
8774 (sinh_test_tonearest): Likewise.
8775 (sinh_test_towardzero): Likewise.
8776 (sinh_test_downward): Likewise.
8777 (sinh_test_upward): Likewise.
8778 (sqrt_test): Likewise.
8779 (tan_test): Likewise.
8780 (tan_test_tonearest): Likewise.
8781 (tan_test_towardzero): Likewise.
8782 (tan_test_downward): Likewise.
8783 (tan_test_upward): Likewise.
8784 (tanh_test): Likewise.
8785 (tgamma_test): Likewise.
8786 (y0_test): Likewise.
8787 (y1_test): Likewise.
8788 (yn_test): Likewise.
8790 * math/gen-libm-test.pl (adjust_arg): Remove function.
8791 (special_function): Remove argument $in_func. Only handle
8792 generating output for tables of tests, not inside functions.
8793 (parse_args): Likewise.
8794 (generate_testfile): Remove variable $in_func. Update call to
8796 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8797 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8798 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8799 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8800 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8801 (MAX_VALUE_INIT): Rename macro to max_value.
8802 (MIN_VALUE_INIT): Rename macro to min_value.
8803 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8804 (plus_zero): Remove variable.
8805 (minus_zero): Likewise.
8806 (plus_infty): Likewise.
8807 (minus_infty): Likewise.
8808 (qnan_value): Likewise.
8809 (max_value): Likewise.
8810 (min_value): Likewise.
8811 (min_subnorm_value): Likewise.
8813 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8815 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8816 uint64_t or uint32_t usage.
8817 * crypt/sha256-block.c: Likewise.
8818 * crypt/sha256-crypt.c: Likewise.
8819 * crypt/sha256.c: Likewise.
8820 * crypt/sha512-block.c: Likewise.
8821 * crypt/sha512-crypt.c: Likewise.
8822 * crypt/sha512.c: Likewise.
8823 * debug/backtrace-tst.c: Likewise.
8824 * debug/pcprofiledump.c: Likewise.
8825 * elf/cache.c: Likewise.
8826 * elf/dl-cache.c: Likewise.
8827 * elf/dl-misc.c: Likewise.
8828 * elf/dl-profile.c: Likewise.
8829 * elf/dl-support.c: Likewise.
8830 * elf/ldconfig.c: Likewise.
8831 * elf/sprof.c: Likewise.
8832 * iconv/dummy-repertoire.c: Likewise.
8833 * iconv/iconv_charmap.c: Likewise.
8834 * iconv/skeleton.c: Likewise.
8835 * iconvdata/8bit-generic.c: Likewise.
8836 * iconvdata/cp737.h: Likewise.
8837 * iconvdata/cp775.h: Likewise.
8838 * iconvdata/ibm1008.h: Likewise.
8839 * iconvdata/ibm1025.h: Likewise.
8840 * iconvdata/ibm1046.h: Likewise.
8841 * iconvdata/ibm1097.h: Likewise.
8842 * iconvdata/ibm1112.h: Likewise.
8843 * iconvdata/ibm1122.h: Likewise.
8844 * iconvdata/ibm1123.h: Likewise.
8845 * iconvdata/ibm1124.h: Likewise.
8846 * iconvdata/ibm1129.h: Likewise.
8847 * iconvdata/ibm1130.h: Likewise.
8848 * iconvdata/ibm1132.h: Likewise.
8849 * iconvdata/ibm1133.h: Likewise.
8850 * iconvdata/ibm1137.h: Likewise.
8851 * iconvdata/ibm1140.h: Likewise.
8852 * iconvdata/ibm1141.h: Likewise.
8853 * iconvdata/ibm1142.h: Likewise.
8854 * iconvdata/ibm1143.h: Likewise.
8855 * iconvdata/ibm1144.h: Likewise.
8856 * iconvdata/ibm1145.h: Likewise.
8857 * iconvdata/ibm1146.h: Likewise.
8858 * iconvdata/ibm1147.h: Likewise.
8859 * iconvdata/ibm1148.h: Likewise.
8860 * iconvdata/ibm1149.h: Likewise.
8861 * iconvdata/ibm1153.h: Likewise.
8862 * iconvdata/ibm1154.h: Likewise.
8863 * iconvdata/ibm1155.h: Likewise.
8864 * iconvdata/ibm1156.h: Likewise.
8865 * iconvdata/ibm1157.h: Likewise.
8866 * iconvdata/ibm1158.h: Likewise.
8867 * iconvdata/ibm1160.h: Likewise.
8868 * iconvdata/ibm1161.h: Likewise.
8869 * iconvdata/ibm1162.h: Likewise.
8870 * iconvdata/ibm1163.h: Likewise.
8871 * iconvdata/ibm1164.h: Likewise.
8872 * iconvdata/ibm1166.h: Likewise.
8873 * iconvdata/ibm1167.h: Likewise.
8874 * iconvdata/ibm12712.h: Likewise.
8875 * iconvdata/ibm1390.h: Likewise.
8876 * iconvdata/ibm1399.h: Likewise.
8877 * iconvdata/ibm16804.h: Likewise.
8878 * iconvdata/ibm4517.h: Likewise.
8879 * iconvdata/ibm4899.h: Likewise.
8880 * iconvdata/ibm4909.h: Likewise.
8881 * iconvdata/ibm4971.h: Likewise.
8882 * iconvdata/ibm5347.h: Likewise.
8883 * iconvdata/ibm803.h: Likewise.
8884 * iconvdata/ibm856.h: Likewise.
8885 * iconvdata/ibm901.h: Likewise.
8886 * iconvdata/ibm902.h: Likewise.
8887 * iconvdata/ibm9030.h: Likewise.
8888 * iconvdata/ibm9066.h: Likewise.
8889 * iconvdata/ibm921.h: Likewise.
8890 * iconvdata/ibm922.h: Likewise.
8891 * iconvdata/ibm9448.h: Likewise.
8892 * iconvdata/isiri-3342.h: Likewise.
8893 * iconvdata/jis0201.h: Likewise.
8894 * include/link.h: Likewise.
8895 * include/netdb.h: Likewise.
8896 * inet/check_native.c: Likewise.
8897 * inet/check_pf.c: Likewise.
8898 * inet/getipv4sourcefilter.c: Likewise.
8899 * inet/getnameinfo.c: Likewise.
8900 * inet/getsourcefilter.c: Likewise.
8901 * inet/htonl.c: Likewise.
8902 * inet/setipv4sourcefilter.c: Likewise.
8903 * inet/setsourcefilter.c: Likewise.
8904 * inet/test-inet6_opt.c: Likewise.
8905 * inet/tst-network.c: Likewise.
8906 * locale/C-collate.c: Likewise.
8907 * locale/C-ctype.c: Likewise.
8908 * locale/C-time.c: Likewise.
8909 * locale/C-translit.h: Likewise.
8910 * locale/loadarchive.c: Likewise.
8911 * locale/programs/3level.h: Likewise.
8912 * locale/programs/charmap.c: Likewise.
8913 * locale/programs/charmap.h: Likewise.
8914 * locale/programs/ld-address.c: Likewise.
8915 * locale/programs/ld-collate.c: Likewise.
8916 * locale/programs/ld-ctype.c: Likewise.
8917 * locale/programs/ld-identification.c: Likewise.
8918 * locale/programs/ld-measurement.c: Likewise.
8919 * locale/programs/ld-messages.c: Likewise.
8920 * locale/programs/ld-monetary.c: Likewise.
8921 * locale/programs/ld-name.c: Likewise.
8922 * locale/programs/ld-numeric.c: Likewise.
8923 * locale/programs/ld-paper.c: Likewise.
8924 * locale/programs/ld-telephone.c: Likewise.
8925 * locale/programs/ld-time.c: Likewise.
8926 * locale/programs/linereader.c: Likewise.
8927 * locale/programs/locale.c: Likewise.
8928 * locale/programs/locarchive.c: Likewise.
8929 * locale/programs/locfile.h: Likewise.
8930 * locale/programs/repertoire.c: Likewise.
8931 * locale/programs/simple-hash.c: Likewise.
8932 * locale/programs/simple-hash.h: Likewise.
8933 * malloc/memusage.c: Likewise.
8934 * malloc/memusagestat.c: Likewise.
8935 * nis/nis_defaults.c: Likewise.
8936 * nis/nis_hash.c: Likewise.
8937 * nis/nis_print.c: Likewise.
8938 * nis/nis_xdr.c: Likewise.
8939 * nscd/connections.c: Likewise.
8940 * nscd/hstcache.c: Likewise.
8941 * nscd/nscd_gethst_r.c: Likewise.
8942 * nscd/nscd_getserv_r.c: Likewise.
8943 * nscd/nscd_helper.c: Likewise.
8944 * nscd/servicescache.c: Likewise.
8945 * nss/makedb.c: Likewise.
8946 * nss/nss_db/db-XXX.c: Likewise.
8947 * nss/nss_db/db-initgroups.c: Likewise.
8948 * nss/nss_db/db-netgrp.c: Likewise.
8949 * nss/nss_files/files-network.c: Likewise.
8950 * nss/nss_files/files-parse.c: Likewise.
8951 * posix/bug-regex5.c: Likewise.
8952 * posix/fnmatch_loop.c: Likewise.
8953 * posix/regcomp.c: Likewise.
8954 * posix/regexec.c: Likewise.
8955 * posix/tst-rfc3484-2.c: Likewise.
8956 * posix/tst-rfc3484-3.c: Likewise.
8957 * posix/tst-rfc3484.c: Likewise.
8958 * resolv/nss_dns/dns-canon.c: Likewise.
8959 * resolv/nss_dns/dns-network.c: Likewise.
8960 * resolv/res_init.c: Likewise.
8961 * resolv/res_mkquery.c: Likewise.
8962 * resolv/tst-aton.c: Likewise.
8963 * stdlib/cxa_atexit.c: Likewise.
8964 * stdlib/cxa_finalize.c: Likewise.
8965 * stdlib/gen-fpioconst.c: Likewise.
8966 * stdlib/strtol_l.c: Likewise.
8967 * string/tst-endian.c: Likewise.
8968 * sunrpc/auth_des.c: Likewise.
8969 * sunrpc/clnt_udp.c: Likewise.
8970 * sunrpc/rtime.c: Likewise.
8971 * sunrpc/svcauth_des.c: Likewise.
8972 * sunrpc/xdr.c: Likewise.
8973 * sunrpc/xdr_intXX_t.c: Likewise.
8974 * sunrpc/xdr_rec.c: Likewise.
8975 * sysdeps/generic/ldconfig.h: Likewise.
8976 * sysdeps/generic/ldsodefs.h: Likewise.
8977 * sysdeps/generic/memusage.h: Likewise.
8978 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8981 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8988 * sysdeps/posix/getaddrinfo.c: Likewise.
8989 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8990 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8991 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8993 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8995 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8996 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8997 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8999 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9000 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9001 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9002 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9003 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9004 * sysdeps/x86_64/dl-tls.h: Likewise.
9005 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9006 * time/alt_digit.c: Likewise.
9007 * time/era.c: Likewise.
9008 * wcsmbs/tst-c16c32-1.c: Likewise.
9010 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9012 * math/libm-test.inc (struct test_sincos_data): New type.
9013 (RUN_TEST_LOOP_sincos): New macro.
9014 (sincos_test_data): New variable.
9015 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9017 2013-05-16 Richard Henderson <rth@redhat.com>
9019 * math/atest-exp2.c (LIMB64): New macro.
9020 (CONSTSZ): New macro.
9021 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9023 (print_mpn_fp): ... to function scope.
9024 (read_mpn_hex): Remove.
9026 (exp2_mpn): Use mp_log2.
9027 (main): Use mp_exp1.
9029 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9031 * math/libm-test.inc: Remove comment about not testing "inexact"
9033 (INEXACT_EXCEPTION): New macro.
9034 (NO_INEXACT_EXCEPTION): Likewise.
9035 (INVALID_EXCEPTION_OK): Update value.
9036 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9037 (OVERFLOW_EXCEPTION_OK): Likewise.
9038 (UNDERFLOW_EXCEPTION_OK): Likewise.
9039 (IGNORE_ZERO_INF_SIGN): Likewise.
9040 (ERRNO_UNCHANGED): Likewise.
9041 (ERRNO_EDOM): Likewise.
9042 (ERRNO_ERANGE): Likewise.
9043 (test_exceptions): Handle testing "inexact" exceptions.
9044 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9045 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9046 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9047 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9049 (rint_towardzero_test_data): Likewise.
9050 (rint_downward_test_data): Likewise.
9051 (rint_upward_test_data): Likewise.
9053 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9054 with OVERFLOW_EXCEPTION.
9055 (exp10_test_data): Likewise.
9056 (exp2_test_data): Likewise.
9057 (expm1_test_data): Likewise.
9058 (lgamma_test_data): Likewise.
9059 (pow_test_data): Likewise.
9060 (tgamma_test_data): Likewise.
9061 (yn_test_data): Remove duplicate test of overflow.
9063 * math/libm-test.inc (struct test_cc_c_data): New type.
9064 (RUN_TEST_LOOP_cc_c): New macro.
9065 (cpow_test_data): New variable.
9066 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9068 * math/libm-test.inc (struct test_f_L_data): New type.
9069 (RUN_TEST_LOOP_f_L): New macro.
9070 (llrint_test_data): New variable.
9071 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9072 (llrint_tonearest_test_data): New variable.
9073 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9074 (llrint_towardzero_test_data): New variable.
9075 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9076 (llrint_downward_test_data): New variable.
9077 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9078 (llrint_upward_test_data): New variable.
9079 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9080 (llround_test_data): New variable.
9081 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9083 2013-05-13 Peter Collingbourne <pcc@google.com>
9085 * math/atest-exp2.c (get_log2): Remove const attribute.
9087 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9089 * math/libm-test.inc (struct test_f_l_data): New type.
9090 (RUN_TEST_LOOP_f_l): New macro.
9091 (lrint_test_data): New variable.
9092 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9093 (lrint_tonearest_test_data): New variable.
9094 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9095 (lrint_towardzero_test_data): New variable.
9096 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9097 (lrint_downward_test_data): New variable.
9098 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9099 (lrint_upward_test_data): New variable.
9100 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9101 (lround_test_data): New variable.
9102 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9104 2013-05-15 Peter Collingbourne <pcc@google.com>
9106 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9107 (EXTRACT_WORDS64) Use where appropriate.
9108 (INSERT_WORDS64) Likewise.
9110 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9111 constraints with x constraints.
9112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9114 * malloc/obstack.c (_obstack_compat): Add initializer.
9116 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9118 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9119 si_trapno and add si_addr_lsb to _sifields.sigfault.
9120 (si_trapno): Remove macro.
9121 (si_addr_lsb): Define new macro.
9122 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9124 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9126 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9127 instead of TEST_f_l.
9128 (llrint_test_tonearest): Likewise.
9129 (llrint_test_towardzero): Likewise.
9130 (llrint_test_downward): Likewise.
9131 (llrint_test_upward): Likewise.
9132 (llround_test): Likewise.
9134 * math/libm-test.inc (struct test_f_i_data): Add comment.
9135 (RUN_TEST_LOOP_f_b): New macro.
9136 (RUN_TEST_LOOP_f_b_tg): Likewise.
9137 (finite_test_data): New variable.
9138 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9139 (isfinite_test_data): New variable.
9140 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9141 (isinf_test_data): New variable.
9142 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9143 (isnan_test_data): New variable.
9144 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9145 (isnormal_test_data): New variable.
9146 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9147 (issignaling_test_data): New variable.
9148 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9149 (signbit_test_data): New variable.
9150 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9152 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9153 with INVALID_EXCEPTION.
9154 (acosh_test_data): Likewise.
9155 (asin_test_data): Likewise.
9156 (atanh_test_data): Likewise.
9157 (fmod_test_data): Likewise.
9158 (log_test_data): Likewise.
9159 (log10_test_data): Likewise.
9160 (log2_test_data): Likewise.
9161 (pow_test_data): Likewise.
9162 (sqrt_test_data): Likewise.
9163 (y0_test_data): Likewise.
9164 (y1_test_data): Likewise.
9165 (yn_test_data): Likewise.
9167 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9170 * math/libm-test.inc (struct test_ff_i_data): New type.
9171 (RUN_TEST_LOOP_ff_i_tg): New macro.
9172 (isgreater_test_data): New variable.
9173 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9174 (isgreaterequal_test_data): New variable.
9175 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9176 (isless_test_data): New variable.
9177 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9178 (islessequal_test_data): New variable.
9179 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9180 (islessgreater_test_data): New variable.
9181 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9182 (isunordered_test_data): New variable.
9183 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9185 2013-05-14 David S. Miller <davem@davemloft.net>
9187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9189 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9191 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9193 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9195 (struct test_f_i_data): Change type of max_ulp to int.
9197 * math/libm-test.inc (test_ffI_f1_data): New type.
9198 (RUN_TEST_LOOP_ffI_f1): New macro.
9199 (remquo_test_data): New variable.
9200 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9202 * setjmp/tst-setjmp-fp.c: New file.
9203 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9204 (link-libm): New variable.
9205 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9207 * math/libm-test.inc (struct test_f_i_data): New type.
9208 (RUN_TEST_LOOP_f_i): New macro.
9209 (RUN_TEST_LOOP_f_i_tg): Likewise.
9210 (fpclassify_test_data): New variable.
9211 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9212 (ilogb_test_data): New variable.
9213 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9215 * math/libm-test.inc (scalbln_test): Correct function name in END
9218 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9219 (RUN_TEST_LOOP_fI_f1): New macro.
9220 (frexp_test_data): New variable.
9221 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9223 * math/libm-test.inc (struct test_fF_f1_data): New type.
9224 (RUN_TEST_LOOP_fF_f1): New macro.
9225 (modf_test_data): New variable.
9226 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9228 * math/libm-test.inc (struct test_f_f1_data): New type.
9229 (RUN_TEST_LOOP_f_f1): New macro.
9230 (gamma_test_data): New variable.
9231 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9232 (lgamma_test_data): New variable.
9233 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9235 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9237 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9238 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9239 (main): Comment "tls" pseudo-hwcap.
9241 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9243 * math/libm-test.inc (struct test_fl_f_data): New type.
9244 (RUN_TEST_LOOP_fl_f): New variable.
9245 (scalbln_test_data): New variable.
9246 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9248 * math/libm-test.inc (struct test_fi_f_data): New type.
9249 (RUN_TEST_LOOP_fi_f): New macro.
9250 (ldexp_test_data): New variable.
9251 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9252 (scalbn_test_data): New variable.
9253 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9255 * math/libm-test.inc (struct test_c_f_data): New type.
9256 (RUN_TEST_LOOP_c_f): New macro.
9257 (cabs_test_data): New variable.
9258 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9259 (carg_test_data): New variable.
9260 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9261 (cimag_test_data): New variable.
9262 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9263 (creal_test_data): New variable.
9264 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9266 * math/libm-test.inc (struct test_if_f_data): New type.
9267 (RUN_TEST_LOOP_if_f): New macro.
9268 (jn_test_data): New variable.
9269 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9270 (yn_test_data): New variable.
9271 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9273 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9275 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9277 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9278 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9280 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9282 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9283 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9284 (bench-deps): Add bench-timing.h.
9285 * benchtests-bench-skeleton.c: Include bench-timing.h.
9286 (main): Use TIMING_* macros instead of clock_gettime.
9287 * benchtests/bench-timing.h: New file.
9290 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9291 Renamed from _LIB_VERSION.
9292 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9294 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9296 * math/libm-test.inc (struct test_fff_f_data): New type.
9297 (RUN_TEST_LOOP_fff_f): New macro.
9298 (fma_test_data): New variable.
9299 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9300 (fma_towardzero_test_data): New variable.
9301 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9302 (fma_downward_test_data): New variable.
9303 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9304 (fma_upward_test_data): New variable.
9305 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9307 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9308 (struct test_c_c_data): New type.
9309 (RUN_TEST_LOOP_c_c): New macro.
9310 (cacos_test_data): New variable.
9311 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9312 (cacosh_test_data): New variable.
9313 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9314 (casin_test_data): New variable.
9315 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9316 (casinh_test_data): New variable.
9317 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9318 (catan_test_data): New variable.
9319 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9320 (catanh_test_data): New variable.
9321 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9322 (ccos_test_data): New variable.
9323 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9324 (ccosh_test_data): New variable.
9325 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9326 (cexp_test_data): New variable.
9327 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9328 (clog_test_data): New variable.
9329 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9330 (clog10_test_data): New variable.
9331 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9332 (conj_test_data): New variable.
9333 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9334 (cproj_test_data): New variable.
9335 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9336 (csin_test_data): New variable.
9337 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9338 (csinh_test_data): New variable.
9339 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9340 (csqrt_test_data): New variable.
9341 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9342 (ctan_test_data): New variable.
9343 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9344 (ctan_tonearest_test_data): New variable.
9345 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9346 (ctan_towardzero_test_data): New variable.
9347 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9348 (ctan_downward_test_data): New variable.
9349 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9350 (ctan_upward_test_data): New variable.
9351 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9352 (ctanh_test_data): New variable.
9353 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9354 (ctanh_tonearest_test_data): New variable.
9355 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9356 (ctanh_towardzero_test_data): New variable.
9357 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9358 (ctanh_downward_test_data): New variable.
9359 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9360 (ctanh_upward_test_data): New variable.
9361 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9362 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9365 * math/libm-test.inc (struct test_ff_f_data): New type.
9366 (struct test_ff_f_data_nexttoward): Likewise.
9367 (RUN_TEST_LOOP_2_f): New macro.
9368 (RUN_TEST_LOOP_ff_f): Likewise.
9369 (atan2_test_data): New variable.
9370 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9371 (copysign_test_data): New variable.
9372 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9373 (fdim_test_data): New variable.
9374 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9375 (fmax_test_data): New variable.
9376 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9377 (fmin_test_data): New variable.
9378 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9379 (fmod_test_data): New variable.
9380 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9381 (hypot_test_data): New variable.
9382 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9383 (nextafter_test_data): New variable.
9384 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9385 (nexttoward_test_data): New variable.
9386 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9387 (pow_test_data): New variable.
9388 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9389 (pow_tonearest_test_data): New variable.
9390 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9391 (pow_towardzero_test_data): New variable.
9392 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9393 (pow_downward_test_data): New variable.
9394 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9395 (pow_upward_test_data): New variable.
9396 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9397 (remainder_test_data): New variable.
9398 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9399 (scalb_test_data): New variable.
9400 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9401 * sysdeps/i386/fpu/libm-test-ulps: Update.
9403 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9405 * math/libm-test.inc (fma_test): Use max_value instead of local
9407 (nextafter_test): Likewise.
9409 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9410 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9411 (acos_downward_test_data): New variable.
9412 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9413 (acos_upward_test_data): New variable.
9414 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9415 (acosh_test_data): New variable.
9416 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9417 (asin_test_data): New variable.
9418 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9419 (asin_tonearest_test_data): New variable.
9420 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9421 (asin_towardzero_test_data): New variable.
9422 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9423 (asin_downward_test_data): New variable.
9424 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9425 (asin_upward_test_data): New variable.
9426 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9427 (asinh_test_data): New variable.
9428 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9429 (atan_test_data): New variable.
9430 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9431 (atanh_test_data): New variable.
9432 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9433 (cbrt_test_data): New variable.
9434 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9435 (ceil_test_data): New variable.
9436 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9437 (cos_test_data): New variable.
9438 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9439 (cos_tonearest_test_data): New variable.
9440 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9441 (cos_towardzero_test_data): New variable.
9442 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9443 (cos_downward_test_data): New variable.
9444 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9445 (cos_upward_test_data): New variable.
9446 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9447 (cosh_test_data): New variable.
9448 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (cosh_tonearest_test_data): New variable.
9450 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9451 (cosh_towardzero_test_data): New variable.
9452 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9453 (cosh_downward_test_data): New variable.
9454 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9455 (cosh_upward_test_data): New variable.
9456 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9457 (erf_test_data): New variable.
9458 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9459 (erfc_test_data): New variable.
9460 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9461 (exp_test_data): New variable.
9462 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9463 (exp_tonearest_test_data): New variable.
9464 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9465 (exp_towardzero_test_data): New variable.
9466 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9467 (exp_downward_test_data): New variable.
9468 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9469 (exp_upward_test_data): New variable.
9470 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9471 (exp10_test_data): New variable.
9472 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9473 (exp2_test_data): New variable.
9474 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9475 (expm1_test_data): New variable.
9476 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9477 (fabs_test_data): New variable.
9478 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9479 (floor_test_data): New variable.
9480 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9481 (j0_test_data): New variable.
9482 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9483 (j1_test_data): New variable.
9484 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9485 (log_test_data): New variable.
9486 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9487 (log10_test_data): New variable.
9488 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9489 (log1p_test_data): New variable.
9490 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9491 (log2_test_data): New variable.
9492 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9493 (logb_test_data): New variable.
9494 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9495 (logb_downward_test_data): New variable.
9496 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9497 (nearbyint_test_data): New variable.
9498 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9499 (rint_test_data): New variable.
9500 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9501 (rint_tonearest_test_data): New variable.
9502 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9503 (rint_towardzero_test_data): New variable.
9504 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9505 (rint_downward_test_data): New variable.
9506 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9507 (rint_upward_test_data): New variable.
9508 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9509 (round_test_data): New variable.
9510 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9511 (sin_test_data): New variable.
9512 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9513 (sin_tonearest_test_data): New variable.
9514 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9515 (sin_towardzero_test_data): New variable.
9516 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9517 (sin_downward_test_data): New variable.
9518 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9519 (sin_upward_test_data): New variable.
9520 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9521 (sinh_test_data): New variable.
9522 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9523 (sinh_tonearest_test_data): New variable.
9524 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9525 (sinh_towardzero_test_data): New variable.
9526 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9527 (sinh_downward_test_data): New variable.
9528 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9529 (sinh_upward_test_data): New variable.
9530 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9531 (sqrt_test_data): New variable.
9532 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9533 (tan_test_data): New variable.
9534 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9535 (tan_tonearest_test_data): New variable.
9536 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9537 (tan_towardzero_test_data): New variable.
9538 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9539 (tan_downward_test_data): New variable.
9540 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9541 (tan_upward_test_data): New variable.
9542 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9543 (tanh_test_data): New variable.
9544 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9545 (tgamma_test_data): New variable.
9546 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9547 (trunc_test_data): New variable.
9548 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9549 (y0_test_data): New variable.
9550 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9551 (y1_test_data): New variable.
9552 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9553 (significand_test_data): New variable.
9554 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9556 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9559 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9561 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9563 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9565 2013-05-10 Andreas Jaeger <aj@suse.de>
9568 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9569 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9571 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9573 * math/gen-libm-test.pl (adjust_arg): New function.
9574 (special_functions): Handle generating output in both functions
9576 (parse_args): Likewise.
9577 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9578 $in_func argument to parse_args.
9579 * math/libm-test.inc (struct test_f_f_data): New type.
9580 (IF_ROUND_INIT_): New macro.
9581 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9582 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9583 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9584 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9585 (ROUND_RESTORE_): Likewise.
9586 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9587 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9588 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9589 (ROUND_RESTORE_FE_UPWARD): Likewise.
9590 (RUN_TEST_LOOP_f_f): New macro.
9591 (acos_test_data): New variable.
9592 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9593 (acos_tonearest_test_data): New variable.
9594 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9596 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9598 * benchtests/bench-skeleton.c (startup): Fix coding style.
9600 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9603 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9604 negative infinity argument.
9605 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9606 negative infinity argument.
9607 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9608 negative infinity argument.
9609 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9612 2013-05-10 Florian Weimer <fweimer@redhat.com>
9614 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9615 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9616 * iconv/iconv_prog.c (main): Likewise.
9617 * locale/programs/charmap-dir.c (charmap_readdir)
9618 (fopen_uncompressed): Likewise.
9619 * locale/programs/locfile.c (siblings_uncached)
9620 (write_locale_data): Use lstat64 instead of lstat.
9621 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9624 2013-05-10 Andreas Jaeger <aj@suse.de>
9627 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9631 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9633 * elf/dl-close.c (_dl_close_worker): Add comments.
9635 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9638 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9640 (__ieee754_rem_pio2l): Update comments.
9643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9645 (__ieee754_rem_pio2l): Update comments.
9647 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9648 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9650 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9653 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9654 (M_PI_34_LOG10El): Likewise.
9655 (M_PI2_LOG10El): Likewise.
9656 (M_PI4_LOG10El): Likewise.
9657 (M_PI_LOG10El): Likewise.
9659 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9663 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9665 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9666 (MINUS_ZERO_INIT): Likewise.
9667 (PLUS_INFTY_INIT): Likewise.
9668 (MINUS_INFTY_INIT): Likewise.
9669 (QNAN_VALUE_INIT): Likewise.
9670 (MAX_VALUE_INIT): Likewise.
9671 (MIN_VALUE_INIT): Likewise.
9672 (MIN_SUBNORM_VALUE_INIT): Likewise.
9673 (plus_zero): Initialize with PLUS_ZERO_INIT.
9674 (minus_zero): Initialize with MINUS_ZERO_INIT.
9675 (plus_infty): Initialize with PLUS_INFTY_INIT.
9676 (minus_infty): Initialize with MINUS_INFTY_INIT.
9677 (qnan_value): Initialize with QNAN_VALUE_INIT.
9678 (max_value): Initialize with MAX_VALUE_INIT.
9679 (min_value): Initialize with MIN_VALUE_INIT.
9680 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9682 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9683 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9684 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9685 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9687 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9688 (RUN_TEST_2_f): Likewise.
9689 (RUN_TEST_ff_f): Likewise.
9690 (RUN_TEST_fi_f): Likewise.
9691 (RUN_TEST_fl_f): Likewise.
9692 (RUN_TEST_fff_f): Likewise.
9693 (RUN_TEST_c_f): Likewise.
9694 (RUN_TEST_f_f1): Likewise.
9695 (RUN_TEST_fF_f1): Likewise.
9696 (RUN_TEST_fI_f1): Likewise.
9697 (RUN_TEST_ffI_f1): Likewise.
9698 (RUN_TEST_c_c): Likewise.
9699 (RUN_TEST_cc_c): Likewise.
9700 (RUN_TEST_f_i): Likewise.
9701 (RUN_TEST_f_i_tg): Likewise.
9702 (RUN_TEST_ff_i_tg): Likewise.
9703 (RUN_TEST_f_b): Likewise.
9704 (RUN_TEST_f_b_tg): Likewise.
9705 (RUN_TEST_f_l): Likewise.
9706 (RUN_TEST_f_L): Likewise.
9707 (RUN_TEST_sincos): Likewise.
9708 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9709 whether to show exceptions. Do not include ");\n" in return
9711 (special_functions): Output call to RUN_TEST_sincos instead of
9712 check_float calls. Update calls to new_test.
9713 (parse_args): Output call to single RUN_TEST_* macro instead of
9714 check_* calls and other assignments. Update calls to new_test.
9720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9721 input to result for tgamma overflow.
9722 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9723 (gamma_coeff): New variable.
9724 (NCOEFF): New macro.
9725 (gamma_positive): New function.
9726 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9727 underflow here. Use gamma_positive instead of exp (lgamma) for
9729 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9730 (gamma_coeff): New variable.
9731 (NCOEFF): New macro.
9732 (gammaf_positive): New function.
9733 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9734 underflow here. Use gamma_positive instead of exp (lgamma) for
9736 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9737 (gamma_coeff): New variable.
9738 (NCOEFF): New macro.
9739 (gammal_positive): New function.
9740 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9741 underflow here. Use gamma_positive instead of exp (lgamma) for
9743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9744 (gamma_coeff): New variable.
9745 (NCOEFF): New macro.
9746 (gammal_positive): New function.
9747 (__ieee754_gammal_r): Handle positive infinity, overflow and
9748 underflow here. Handle NaN the same as positive infinity. Remove
9749 check x < 0xffffffff for negative integers. Use gamma_positive
9750 instead of exp (lgamma) for other arguments.
9751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9752 (gamma_coeff): New variable.
9753 (NCOEFF): New macro.
9754 (gammal_positive): New function.
9755 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9756 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9760 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9761 * sysdeps/generic/math_private.h (__gamma_productf): New
9763 (__gamma_product): Likewise.
9764 (__gamma_productl): Likewise.
9765 * math/Makefile (libm-calls): Add gamma_product.
9766 * math/libm-test.inc (tgamma_test): Add more tests.
9767 * sysdeps/i386/fpu/libm-test-ulps: Update.
9768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9770 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9772 * benchtests/bench-skeleton.c (main): Preheat CPU.
9774 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9776 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9778 2013-05-07 Roland McGrath <roland@hack.frob.com>
9780 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9781 and _dl_skip_args_internal.
9783 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9785 * manual/message.texi (Message Translation): Talk about users.
9786 Message to key mapping impacts design.
9788 2013-05-06 Roland McGrath <roland@hack.frob.com>
9790 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9792 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9794 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9795 * sysdeps/wordsize-64/glob64.c: ... here.
9797 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9798 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9801 * debug/getlogin_r_chk.c: Moved to ...
9802 * login/getlogin_r_chk.c: ... here.
9803 * debug/Makefile (routines): Move getlogin_r_chk to ...
9804 * login/Makefile (routines): ... here.
9805 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9806 * login/Versions (libc: GLIBC_2.4): ... here.
9808 * io/poll.c (__poll): Renamed from poll.
9809 Add libc_hidden_def.
9810 (poll): Define as weak alias.
9812 * debug/ptsname_r_chk.c: Moved to ...
9813 * login/ptsname_r_chk.c: ... here.
9814 * debug/Makefile (routines): Move ptsname_r_chk to ...
9815 * login/Makefile (routines): ... here.
9816 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9817 * login/Versions (libc: GLIBC_2.4): ... here.
9819 * posix/getlogin.c: Moved to ...
9820 * login/getlogin.c: ... here.
9821 * posix/getlogin_r.c: Moved to ...
9822 * login/getlogin_r.c: ... here.
9823 * posix/getlogin_r.c: Moved to ...
9824 * login/getlogin_r.c: ... here.
9825 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9826 * login/Makefile (routines): ... here.
9827 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9828 * login/Versions (libc: GLIBC_2.0): ... here.
9830 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9831 (setrlimit): Define as weak alias.
9833 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9834 Call __ names for open, ftruncate, and close.
9835 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9836 (truncate): Define as weak alias.
9838 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9840 * math/gen-libm-test.pl (parse_args): Initialize x before each
9841 test of frexp, modf and remquo.
9843 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9846 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9850 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9854 2013-05-06 Roland McGrath <roland@hack.frob.com>
9856 * elf/dl-writev.h: New file.
9857 * elf/dl-misc.c: Include it.
9858 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9859 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9861 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9863 * math/libm-test.inc (noXFails): Remove variable.
9864 (noXPasses): Likewise.
9865 (BUILD_COMPLEX_INT): Remove macro.
9866 (print_screen): Remove xfail argument.
9867 (print_screen_max_error): Likewise.
9868 (update_stats): Likewise.
9869 (print_max_error): Likewise. Update calls to other affected
9871 (print_complex_max_error): Likewise.
9872 (test_single_exception): Update calls to print_screen.
9873 (test_single_errno): Likewise.
9874 (check_float_internal): Remove xfail argument. Update calls to
9875 other affected functions.
9876 (check_float): Likewise.
9877 (check_complex): Likewise.
9878 (check_int): Likewise.
9879 (check_long): Likewise.
9880 (check_bool): Likewise.
9881 (check_longlong): Likewise.
9882 (main): Don't print noXFails and noXPasses.
9883 * math/gen-libm-test.pl (top level): Don't mention expected
9884 failure handling in comment.
9885 (new_test): Don't handle expected failures.
9886 (parse_args): Don't mention expected failure handling in comment.
9887 (generate_testfile): Don't handle expected failures.
9888 (parse_ulps): Likewise.
9889 (print_ulps_file): Likewise.
9890 (get_failure): Remove function.
9891 (output_test): Don't handle expected failures.
9892 * make/README.libm-test: Don't mention expected failure handling.
9894 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9895 (minus_zero): Likewise.
9896 (plus_infty): Likewise.
9897 (minus_infty): Likewise.
9898 (qnan_value): Likewise.
9899 (max_value): Likewise.
9900 (min_value): Likewise.
9901 (min_subnorm_value): Likewise.
9902 (initialize): Do not initialize those variables dynamically.
9904 2013-05-03 Roland McGrath <roland@hack.frob.com>
9906 * io/open.c (__open_2): Moved to ...
9907 * io/open_2.c: ... this new file.
9908 * io/open64.c (__open64_2): Moved to ...
9909 * io/open64_2.c: ... this new file.
9910 * io/openat.c (__openat_2): Moved to ...
9911 * io/openat_2.c: ... this new file.
9912 * io/openat64.c (__openat64_2): Moved to ...
9913 * io/openat64_2.c: ... this new file.
9914 * io/Makefile (routines): Add them.
9915 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9916 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9917 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9918 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9919 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9920 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9921 (__openat64): Add hidden_ver.
9922 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9923 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9925 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9926 Separately conditionalize setting of GLRO(dl_sysinfo) so
9927 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9928 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9930 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9935 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9936 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9937 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9938 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9939 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9941 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9943 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9946 * math/libm-test.inc (hypot_test): Do not use
9947 IGNORE_ZERO_INF_SIGN.
9949 2013-05-03 Andreas Jaeger <aj@suse.de>
9951 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9954 (PF_MAX): Adjust for VSOCK change.
9956 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9960 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9963 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9964 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9965 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9967 2013-05-02 David S. Miller <davem@davemloft.net>
9969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9971 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9973 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9975 2013-05-01 Roland McGrath <roland@hack.frob.com>
9977 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9979 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9982 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9983 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9984 Use __attribute__ ((__gnu_inline__)).
9985 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9986 Don't use __attribute__ ((__gnu_inline__)).
9988 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9991 * math/s_catan.c (__catan): Handle small real or imaginary part of
9992 input specially to avoid spurious underflow.
9993 * math/s_catanf.c (__catanf): Likewise.
9994 * math/s_catanh.c (__catanh): Likewise.
9995 * math/s_catanhf.c (__catanhf): Likewise.
9996 * math/s_catanhl.c (__catanhl): Likewise.
9997 * math/s_catanl.c (__catanl): Likewise.
9998 * math/libm-test.inc (catan_test): Add more tests.
9999 (catanh_test): Likewise.
10000 * sysdeps/i386/fpu/libm-test-ulps: Update.
10001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10007 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10010 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10011 accurately for denominator in atan2.
10012 * math/s_catanf.c (__catanf): Likewise.
10013 * math/s_catanh.c (__catanh): Likewise.
10014 * math/s_catanhf.c (__catanhf): Likewise.
10015 * math/s_catanhl.c (__catanhl): Likewise.
10016 * math/s_catanl.c (__catanl): Likewise.
10017 * math/libm-test.inc (catan_test): Add more tests.
10018 (catanh_test): Likewise.
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10022 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10024 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10026 * benchtests/Makefile (bench): Remove slow benchmarks.
10027 * benchtests/atan-inputs: Add slow benchmark inputs.
10028 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10029 (BENCH_FUNC): Accept variant offset.
10031 * benchtests/bench-skeleton.c (main): Run benchmark for each
10033 * benchtests/cos-inputs: Add slow benchmark inputs.
10034 * benchtests/exp-inputs: Likewise.
10035 * benchtests/pow-inputs: Likewise.
10036 * benchtests/sin-inputs: Likewise.
10037 * benchtests/slowatan-inputs: Remove.
10038 * benchtests/slowatan.c: Remove.
10039 * benchtests/slowcos-inputs: Remove.
10040 * benchtests/slowcos.c: Remove.
10041 * benchtests/slowexp-inputs: Remove.
10042 * benchtests/slowexp.c: Remove.
10043 * benchtests/slowpow-inputs: Remove.
10044 * benchtests/slowpow.c: Remove.
10045 * benchtests/slowsin-inputs: Remove.
10046 * benchtests/slowsin.c: Remove.
10047 * benchtests/slowtan-inputs: Remove.
10048 * benchtests/slowtan.c: Remove.
10049 * benchtests/tan-inputs: Add slow benchmark inputs.
10050 * scripts/bench.pl: Parse comments and directives.
10052 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10054 ($(objpfx)bench-%.c): Remove *-ITER.
10055 * benchtests/bench-modf.c: Remove definition of ITER.
10056 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10057 (main): Loop for DURATION seconds instead of fixed number of
10059 * scripts/bench.pl: Don't expect iterations in parameters.
10061 2013-04-29 Roland McGrath <roland@hack.frob.com>
10063 * io/fchdir.c (__fchdir): Renamed from fchdir.
10064 (fchdir): Define as weak alias.
10066 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10068 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10069 (ERRNO_EDOM): Likewise.
10070 (ERRNO_ERANGE): Likewise.
10071 (noErrnoTests): New variable.
10072 (init_max_error): Set errno to 0.
10073 (test_single_errno): New function.
10074 (test_errno): Likewise.
10075 (check_float_internal): Call test_errno. Set errno to 0.
10076 (check_complex): Refer to errno tests in comment.
10077 (check_int): Call test_errno. Set errno to 0.
10078 (check_long): Likewise.
10079 (check_bool): Likewise.
10080 (check_longlong): Likewise.
10081 (cos_test): Use ERRNO_* flags for errno tests instead of
10083 (expm1_test): Likewise.
10084 (fmod_test): Likewise.
10085 (ilogb_test): Likewise.
10086 (lgamma_test): Likewise.
10087 (pow_test): Likewise.
10088 (remainder_test): Likewise.
10089 (sin_test): Likewise.
10090 (tan_test): Likewise.
10091 (yn_test): Likewise.
10092 (initialize): Set errno to 0.
10093 (main): Print number of errno tests.
10094 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10096 2013-04-29 Andreas Jaeger <aj@suse.de>
10099 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10103 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10104 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10108 * stdlib/random.c (__initstate): Return NULL if
10112 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10113 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10116 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10120 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10122 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10123 of individual tests.
10124 (casin_test): Likewise.
10125 (casinh_test): Likewise.
10127 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10130 * math/s_catan.c (__catan): Handle arguments with large real or
10131 imaginary part separately without squaring.
10132 * math/s_catanf.c (__catanf): Likewise.
10133 * math/s_catanh.c (__catanh): Likewise.
10134 * math/s_catanhf.c (__catanhf): Likewise.
10135 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10137 (__catanhl): Handle arguments with large real or imaginary part
10138 separately without squaring.
10139 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10141 (__catanl): Handle arguments with large real or imaginary part
10142 separately without squaring.
10143 * math/libm-test.inc (catan_test): Add more tests.
10144 (catanh_test): Likewise.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148 2013-04-27 Andreas Jaeger <aj@suse.de>
10151 * stdlib/stdlib.h: Update guards for qecvt.
10152 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10155 2013-04-27 Allan McRae <allan@archlinux.org>
10157 * sysdeps/i386/fpu/libm-test-ulps: Update.
10159 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10162 * math/s_catan.c: Include <float.h>.
10163 (__catan): Ensure underflow exception occurs for underflowed
10165 * math/s_catanf.c: Include <float.h>.
10166 (__catanf): Ensure underflow exception occurs for underflowed
10168 * math/s_catanh.c: Include <float.h>.
10169 (__catanh): Ensure underflow exception occurs for underflowed
10171 * math/s_catanhf.c: Include <float.h>.
10172 (__catanhf): Ensure underflow exception occurs for underflowed
10174 * math/s_catanhl.c: Include <float.h>.
10175 (__catanhl): Ensure underflow exception occurs for underflowed
10177 * math/s_catanl.c: Include <float.h>.
10178 (__catanl): Ensure underflow exception occurs for underflowed
10180 * math/libm-test.inc (catan_test): Add more tests.
10181 (catanh_test): Likewise.
10184 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10185 underflowed result.
10186 * math/s_ccoshf.c (__ccoshf): Likewise.
10187 * math/s_ccoshl.c (__ccoshl): Likewise.
10188 * math/s_csin.c (__csin): Likewise.
10189 * math/s_csinf.c (__csinf): Likewise.
10190 * math/s_csinh.c (__csinh): Likewise.
10191 * math/s_csinhf.c (__csinhf): Likewise.
10192 * math/s_csinhl.c (__csinhl): Likewise.
10193 * math/s_csinl.c (__csinl): Likewise.
10194 * math/libm-test.inc (ccos_test): Add more tests.
10195 (ccosh_test): Likewise.
10196 (csin_test): Likewise.
10197 (csinh_test): Likewise.
10199 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10201 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10202 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10203 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10204 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10205 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10206 powerpc/power5+/fpu folders.
10207 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10210 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10214 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10216 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10217 additions to variable.
10218 [$(config-machine) = x86_64] (modules-names): Likewise.
10219 ($(objpfx)tst-audit3): Remove dependency.
10220 ($(objpfx)tst-audit3.out): Likewise.
10221 ($(objpfx)tst-audit4): Likewise.
10222 ($(objpfx)tst-audit4.out): Likewise.
10223 ($(objpfx)tst-audit5): Likewise.
10224 ($(objpfx)tst-audit5.out): Likewise.
10225 ($(objpfx)tst-audit6): Likewise.
10226 ($(objpfx)tst-audit6.out): Likewise.
10227 ($(objpfx)tst-audit7): Likewise.
10228 ($(objpfx)tst-audit7.out): Likewise.
10229 (tst-audit3-ENV): Remove variable.
10230 (tst-audit4-ENV): Likewise.
10231 (tst-audit5-ENV): Likewise.
10232 (tst-audit6-ENV): Likewise.
10233 (tst-audit7-ENV): Likewise.
10234 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10235 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10236 addition to variable.
10237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10242 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10243 tst-audit3, tst-audit4 and tst-audit5.
10244 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10245 tst-audit6 and tst-audit7.
10246 [$(subdir) = elf] (modules-names): Add audit modules for those
10248 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10249 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10250 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10251 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10252 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10253 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10254 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10255 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10256 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10257 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10258 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10259 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10260 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10261 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10262 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10263 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10265 [$(subdir) = elf && $(config-cflags-avx) = yes]
10266 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10267 [$(subdir) = elf && $(config-cflags-avx) = yes]
10268 (CFLAGS-tst-auditmod4a.c): Likewise.
10269 [$(subdir) = elf && $(config-cflags-avx) = yes]
10270 (CFLAGS-tst-auditmod4b.c): Likewise.
10271 [$(subdir) = elf && $(config-cflags-avx) = yes]
10272 (CFLAGS-tst-auditmod6b.c): Likewise.
10273 [$(subdir) = elf && $(config-cflags-avx) = yes]
10274 (CFLAGS-tst-auditmod6c.c): Likewise.
10275 [$(subdir) = elf && $(config-cflags-avx) = yes]
10276 (CFLAGS-tst-auditmod7b.c): Likewise.
10277 * elf/tst-audit3.c: Move to ...
10278 * sysdeps/x86_64/tst-audit3.c: ... here.
10279 * elf/tst-audit4.c: Move to ...
10280 * sysdeps/x86_64/tst-audit4.c: ... here.
10281 * elf/tst-audit5.c: Move to ...
10282 * sysdeps/x86_64/tst-audit5.c: ... here.
10283 * elf/tst-audit6.c: Move to ...
10284 * sysdeps/x86_64/tst-audit6.c: ... here.
10285 * elf/tst-audit7.c: Move to ...
10286 * sysdeps/x86_64/tst-audit7.c: ... here.
10287 * elf/tst-auditmod3a.c: Move to ...
10288 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10289 * elf/tst-auditmod3b.c: Move to ...
10290 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10291 * elf/tst-auditmod4a.c: Move to ...
10292 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10293 * elf/tst-auditmod4b.c: Move to ...
10294 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10295 * elf/tst-auditmod5a.c: Move to ...
10296 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10297 * elf/tst-auditmod5b.c: Move to ...
10298 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10299 * elf/tst-auditmod6a.c: Move to ...
10300 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10301 * elf/tst-auditmod6b.c: Move to ...
10302 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10303 * elf/tst-auditmod6c.c: Move to ...
10304 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10305 * elf/tst-auditmod7a.c: Move to ...
10306 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10307 * elf/tst-auditmod7b.c: Move to ...
10308 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10310 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10313 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10314 define unconditionally.
10315 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10316 define unconditionally.
10317 (INT8_C, INT16_C, etc.): Likewise.
10319 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10321 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10322 __ehdr_start with hidden visibility.
10324 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10326 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10328 * math/libm-test.inc (cos_test): Use accurate hex constants.
10329 (sincost_test): Likewise.
10331 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10333 * math/libm-test.inc (catan_test): Add more tests.
10334 (catanh_test): Likewise.
10336 * math/s_catanf.c (__catanf): Use suffixed floating-point
10338 * math/s_catanhf.c (__catanhf): Likewise.
10339 * math/s_catanhl.c (__catanhl): Likewise.
10340 * math/s_catanl.c (__catanl): Likewise.
10343 * math/s_catan.c (__catan): Calculate imaginary part of result
10344 with log1p not log unless computing log of number close to 0.
10345 * math/s_catanf.c (__catanf): Likewise.
10346 * math/s_catanl.c (__catanl): Likewise.
10347 * math/s_catanh.c (__catanh): Calculate real part of result with
10348 log1p not log unless computing log of number close to 0.
10349 * math/s_catanhf.c (__catanhf): Likewise.
10350 * math/s_catanhl.c (__catanhl): Likewise.
10351 * math/libm-test.inc (catan_test): Add more tests.
10352 (catanh_test): Likewise.
10353 * sysdeps/i386/fpu/libm-test-ulps: Update.
10354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10356 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10358 * benchtests/Makefile: Mention files in which fast and slow
10359 paths of math functions are implemented.
10361 2013-04-23 Roland McGrath <roland@hack.frob.com>
10363 * sysdeps/posix/timespec_get.c: New file.
10365 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10369 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10371 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10372 powerpc/power5/fpu folders.
10373 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10374 * benchtests/Makefile: Add modf testcase.
10375 * benchtests/bench-modf.c: New file: Benchmark test for mo
10377 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10380 * time/Makefile (tests): Add tst-strptime-whitespace.
10381 * time/strptime_l.c (get_number): Use ISSPACE.
10382 (__strptime_internal): Likewise.
10383 * time/tst-strptime-whitespace.c: New test case.
10385 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10387 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10389 (_nss_files_init): Set it here.
10391 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10394 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10397 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10399 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10401 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10406 2013-04-21 David S. Miller <davem@davemloft.net>
10408 * po/ru.po: Update Russion translation from translation project.
10410 2013-04-17 Adam Conrad <adconrad@0c3.net>
10412 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10415 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10417 * configure.in: Remove i386 configure warning. Remove i386 case.
10418 * configure: Regenerate.
10419 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10420 Add example to error message.
10421 * sysdeps/i386/configure: Regenerate.
10423 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10425 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10427 * benchtests/cos-inputs: New file.
10428 * benchtests/slowcos-inputs: New file.
10429 * benchtests/slowcos.c: New file.
10430 * benchtests/slowtan-inputs: New file.
10431 * benchtests/slowtan.c: New file.
10432 * benchtests/tan-inputs: New file.
10434 2013-04-16 Roland McGrath <roland@hack.frob.com>
10436 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10439 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10441 * benchtests/Makefile: Include cppflags-iterator.mk to add
10442 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10444 * Makefile.in (bench-clean): New target.
10445 * benchtests/Makefile (bench-clean): Likewise.
10447 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10449 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10451 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10453 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10455 2013-04-15 Andreas Schwab <schwab@suse.de>
10457 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10459 * nscd/pwdcache.c (cache_addpw): Likewise.
10460 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10463 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10465 * benchtests/Makefile (bench): Write all output to
10466 bench-out.tmp together.
10468 2013-04-15 Andreas Schwab <schwab@suse.de>
10470 * nscd/nscd.c (main): Don't fork again after closing files.
10472 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10474 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10476 * benchtests/Rules (bench-deps): Collect dependencies into a
10477 single variable. Add Makefile to dependencies.
10478 ($(objpfx)bench-%.c): Depend on bench-deps.
10480 2013-04-12 Roland McGrath <roland@hack.frob.com>
10481 Xavier Roche <roche+kml2@exalead.com>
10484 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10485 just that it's a file descriptor.
10486 * manual/llio.texi (Synchronizing AIO Operations): Update description
10487 for EBADF error from aio_fsync.
10489 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10491 * Rules (bench): Move target definition...
10492 * benchtests/Makefile: ... here.
10494 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10496 * math/libm-test.inc (cos_test): Fix PI/2 test.
10497 (sincos_test): Likewise.
10498 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10499 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10501 2013-04-11 Andreas Schwab <schwab@suse.de>
10504 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10505 accept exponent character only when digits were seen.
10506 * stdio-common/Makefile (tests): Add bug26.
10507 * stdio-common/bug26.c: New file.
10510 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10513 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10515 * Makeconfig (rtld-prefix): Define built linker prefix.
10516 * Rules (run-bench): Use it.
10517 * math/Makefile (run-regen-ulps): Likewise.
10519 * Rules (bench): Remove eval.
10521 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10522 Roland McGrath <roland@hack.frob.com>
10523 Ondrej Bilka <neleai@seznam.cz>
10526 * time/getdate.c: Include ctype.h and alloca.h.
10527 (__getdate_r): Trim leading and trailing spaces of input.
10528 * time/tst-getdate.c (tests): Add tests with leading and
10531 2013-04-08 Roland McGrath <roland@hack.frob.com>
10534 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10535 when computing value.
10537 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10539 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10540 Use testrun.sh to run libm tests.
10543 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10545 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10548 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10550 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10552 * Makefile.in (regen-ulps): New target.
10553 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10554 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10555 [ifneq (no,$(PERL)] (regen-ulps): New target.
10556 [ifeq (no,$(PERL)] (regen-ulps): New target.
10557 * math/libm-test.inc (ulps_file_name): Define.
10558 (output_dir): New variable.
10559 (options): Add "output-dir" option.
10560 (parse_opt): Handle 'o' case.
10561 (main): If output_dir is non-NULL use it as a prefix
10563 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10565 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10567 [BZ #10060, #10062]
10568 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10569 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10570 fail configure if __sync_val_compare_and_swap is not inlined.
10571 * sysdeps/i386/configure: Regenerate.
10572 * configure.in: Build for i686 when configured for i386.
10573 * configure: Regenerate.
10574 * README: Remove i386 reference.
10576 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10578 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10581 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10583 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10584 (lmsnanval): New variables.
10585 (F): Add conversion tests.
10586 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10587 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10589 * stdio-common/tstdiomisc.c (F): Properly collect individual
10592 [BZ #14686, #15336]
10593 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10594 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10595 Instead, use input NaN values or generate a qNaN by arithmetic
10596 operation. Also fix bugs to comply with the standard.
10597 * math/libm-test.inc (remainder_test): Add more tests.
10599 [BZ #15335, #15342]
10600 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10602 input NaN values or generate a qNaN by arithmetic operation.
10604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10607 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10610 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10613 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10614 underflowed result.
10615 * math/s_cexpf.c (__cexpf): Likewise.
10616 * math/s_cexpl.c (__cexpl): Likewise.
10617 * math/libm-test.inc (cexp_test): Add more tests.
10619 2013-04-03 Andreas Schwab <schwab@suse.de>
10622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10623 order arrays from heap if bigger than alloca cutoff.
10625 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10627 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10628 (SNAN_TESTS_double): Refer to GCC PR56831.
10629 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10632 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10634 * Rules (bench): Move bench.out after the run is complete.
10636 * Rules (bench): Echo currently running benchmark.
10638 * benchtests/Makefile (bench): Add atan and slowatan.
10639 * benchtests/atan-inputs: New file.
10640 * benchtests/slowatan-inputs: New file.
10641 * benchtests/slowatan.c: New file.
10643 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10648 * sysdeps/unix/sysv/linux/kernel-features.h
10649 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10650 __ASSUME_XFS_RESTRICTED_CHOWN.
10651 * sysdeps/unix/sysv/linux/pathconf.c
10652 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10653 Save and restore errno.
10655 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10658 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10659 arguments using __kernel_casinh.
10660 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10661 arguments using __kernel_casinhf.
10662 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10663 arguments using __kernel_casinhl.
10664 * math/libm-test.inc (cacosh_test): Add more tests.
10665 * sysdeps/i386/fpu/libm-test-ulps: Update.
10666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10668 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10670 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10673 * bench/Makefile (bench): Add sin and slowsin.
10674 * benchtests/sin-inputs: New file.
10675 * benchtests/slowsin-inputs: New file.
10676 * benchtests/slowsin.c: New file.
10678 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10679 (bench): Add slowexp and slowpow.
10680 (exp-ITER): Increase iterations.
10681 (pow-ITER): Likewise.
10682 * benchtests/exp-inputs: Change input.
10683 * benchtests/pow-inputs: Likewise.
10684 * benchtests/slowexp-inputs: New file.
10685 * benchtests/slowexp.c: New file.
10686 * benchtests/slowpow-inputs: New file.
10687 * benchtests/slowpow.c: New file.
10689 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10691 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10693 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10694 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10695 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10696 * benchtests/Makefile: Add rint benchtest.
10697 * benchtests/rint-inputs: Input for rint benchtest.
10699 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10701 * Versions.def (libm): Add GLIBC_2.18.
10702 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10703 hidden libm prototypes.
10704 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10705 * math/Makefile (libm-calls): Add s_issignaling.
10706 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10707 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10708 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10710 * math/math.h [__USE_GNU] (issignaling): New macro.
10711 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10712 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10717 * manual/arith.texi (issignaling): New section.
10718 * manual/libm-err-tab.pl (@all_functions): Update comment.
10719 * math/gen-libm-test.pl (parse_args): Apply special handling for
10721 * math/libm-test.inc (print_float, issignaling_test): New
10723 (check_float_internal): Add issignaling checks.
10724 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10725 default definition.
10726 * sysdeps/powerpc/math-tests.h: New file.
10727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10729 * math/test-snan.c (TEST_FUNC): Likewise.
10731 2013-03-30 David S. Miller <davem@davemloft.net>
10733 * po/de.po: Update from translation team.
10735 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10738 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10739 imaginary part less than 1.0 and real part less than 0.5
10741 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10742 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10743 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10744 (cacos_test): Add more tests.
10745 (casin_test): Likewise.
10746 (casinh_test): Likewise.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10750 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10752 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10753 ONE with its value.
10755 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10756 (__pow_mp): Replace ONE and MONE with their values.
10757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10762 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10764 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10766 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10767 (__pow_mp): Replace ZERO and MZERO with their values.
10768 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10773 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10776 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10778 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10780 2013-03-28 Roland McGrath <roland@hack.frob.com>
10782 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10783 Declare with __attribute__ ((weak)).
10784 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10785 Call __call_tls_dtors only if it's not NULL.
10787 2013-03-28 Roland McGrath <roland@hack.frob.com>
10789 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10790 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10791 magic __ehdr_start linker symbol if it's defined.
10792 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10793 them up here if it was already done.
10795 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10796 (_dl_aux_init): Use const in cast when setting it.
10797 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10798 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10799 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10801 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10803 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10804 * csu/libc-tls.c: Nor here.
10805 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10807 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10808 (__libc_message): Never call vsyslog.
10810 2013-03-28 Alan Modra <amodra@gmail.com>
10812 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10814 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10817 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10824 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10828 Don't add gid passed as argument.
10830 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10832 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10835 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10836 imaginary part between 1.0 and 1.5 and real part less than 0.5
10838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10840 * math/libm-test.inc (cacos_test): Add more tests.
10841 (casin_test): Likewise.
10842 (casinh_test): Likewise.
10843 * sysdeps/i386/fpu/libm-test-ulps: Update.
10844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10848 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10851 (denorm): Likewise.
10852 (__dbl_mp): Likewise.
10853 (add_magnitudes): Likewise.
10854 (sub_magnitudes): Likewise.
10862 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10864 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10865 (__dubcos): Likewise.
10866 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10867 (__ieee754_acos): Likewise.
10868 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10869 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10870 (__exp1): Likewise.
10871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10874 (my_log2): Likewise.
10875 (checkint): Likewise.
10876 * sysdeps/ieee754/dbl-64/e_remainder.c
10877 (__ieee754_remainder): Likewise.
10878 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10880 (bsloww): Likewise.
10881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10883 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10885 MANTISSA_STORE_T to store computations on mantissa. Use
10886 macros for rounding and division.
10887 (denorm): Likewise.
10888 (__dbl_mp): Likewise.
10889 (add_magnitudes): Likewise.
10890 (sub_magnitudes): Likewise.
10893 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10894 powers of two in terms of TWOPOW macro.
10895 (mp_no): Make type of mantissa as MANTISSA_T.
10896 [!RADIXI]: Define RADIXI.
10897 [!TWO52]: Define TWO52.
10898 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10900 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10902 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10903 llroundl symbol when building for PPC32.
10905 2013-03-24 Mark H Weaver <mhw@netris.org>
10907 * manual/arith.texi (Normalization Functions): Fix prototypes for
10908 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10910 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10914 high value to check if expl overflow.
10915 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10916 to check for underflow and overflow.
10917 * math/libm-test.inc: Add exp test.
10919 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10922 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10925 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10930 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10932 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10933 wrap blocks consisting of several statements.
10935 * sysdeps/generic/math-tests.h: New file.
10936 * sysdeps/i386/fpu/math-tests.h: Likewise.
10937 * math/test-snan.c: Include it.
10938 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10940 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10944 (__ieee754_j0l): Do not improve calculations using cos of twice
10945 input for inputs above LDBL_MAX / 2.0L.
10946 (__ieee754_y0l): Likewise.
10947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10948 (__ieee754_j1l): Do not improve calculations using cos of twice
10949 input for inputs above LDBL_MAX / 2.0L.
10950 (__ieee754_y1l): Likewise.
10951 * math/libm-test.inc (j0_test): Add another test.
10952 (j1_test): Likewise.
10953 (y0_test): Likewise.
10954 (y1_test): Likewise.
10955 * sysdeps/i386/fpu/libm-test-ulps: Update.
10957 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10959 * Rules ($(objpfx)bench-%.c): Include code from a C source
10962 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10965 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10966 imaginary part 1.0 and real part less than 0.5 specially.
10967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10969 * math/libm-test.inc (cacos_test): Add more tests.
10970 (casin_test): Likewise.
10971 (casinh_test): Likewise.
10972 * sysdeps/i386/fpu/libm-test-ulps: Update.
10973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10975 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10978 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10980 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10982 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10983 * config.make.in (config-cflags-sse4): Remove variable.
10984 (config-cflags-avx): Likewise.
10985 (config-cflags-sse2avx): Likewise.
10986 (config-cflags-novzeroupper): Likewise.
10987 (config-asflags-i686): Likewise.
10988 (have-mfma4): Likewise.
10989 (have-as-vis3): Likewise.
10991 * configure.in (MIG): Do not AC_SUBST.
10992 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10993 (libc_cv_cc_sse4): Do not AC_SUBST.
10994 (libc_cv_cc_avx): Likewise.
10995 (libc_cv_cc_sse2avx): Likewise.
10996 (libc_cv_cc_novzeroupper): Likewise.
10997 (libc_cv_cc_fma4): Likewise.
10998 (libc_cv_as_i686): Likewise.
10999 (libc_cv_sparc_as_vis3): Likewise.
11000 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11002 (config-asflags-i686): Likewise.
11003 (config-cflags-avx): Likewise.
11004 (config-cflags-sse2avx): Likewise.
11005 (have-mfma4): Likewise.
11006 (config-cflags-novzeroupper): Likewise.
11007 * sysdeps/mach/configure.in (MIG): Likewise.
11008 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11009 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11011 (config-cflags-avx): Likewise.
11012 (config-cflags-sse2avx): Likewise.
11013 (have-mfma4): Likewise.
11014 (config-cflags-novzeroupper): Likewise.
11015 * configure: Regenerated.
11016 * sysdeps/i386/configure: Likewise.
11017 * sysdeps/mach/configure: Likewise.
11018 * sysdeps/sparc/configure: Likewise.
11019 * sysdeps/x86_64/configure: Likewise.
11021 2013-03-20 Roland McGrath <roland@hack.frob.com>
11024 * locale/programs/localedef.c (options): Put N_ translation marker
11025 on argument names, not just descriptions.
11027 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11029 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11031 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11034 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11036 2013-03-19 Roland McGrath <roland@hack.frob.com>
11038 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11039 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11040 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11041 [!BEFORE_ABORT] (before_abort): New function.
11042 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11043 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11044 (writev_for_fatal): New function.
11045 (WRITEV_FOR_FATAL): New macro; call that.
11046 (backtrace_and_maps): New function.
11047 (BEFORE_ABORT): New macro; call that.
11048 (struct str_list): Type removed.
11049 (__libc_message, __libc_fatal): Functions removed.
11050 Include <sysdeps/posix/libc_fatal.c> instead.
11052 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11054 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11056 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11059 2013-03-19 Andreas Schwab <schwab@suse.de>
11061 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11062 * sysdeps/gnu/configure: Regenerate.
11064 * configure.in: Substitute libc_cv_rtlddir.
11065 * configure: Regenerate.
11066 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11067 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11068 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11069 * elf/Makefile (install-others, CFLAGS-interp.c)
11070 (ldso_install, common-ldd-rewrite): Likewise.
11071 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11072 $(inst_slibdir)/$(rtld-installed-name).
11073 * scripts/rellns-sh: Add -p option.
11074 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11077 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11079 * manual/nptl.texi: Renamed to ...
11080 * manual/threads.texi: ... this.
11081 * manual/Makefile (chapters): Update.
11083 2013-03-18 Roland McGrath <roland@hack.frob.com>
11086 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11087 on argument names, not just descriptions.
11088 * malloc/memusagestat.c (options): Likewise.
11089 * nss/getent.c (options): Likewise.
11091 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11094 * iconv/iconv_prog.c (options): Put N_ translation marker
11095 on argument names, not just descriptions.
11096 * iconv/iconvconfig.c (options): Likewise.
11098 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11100 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11101 implementation which is faster on all x86_64 architectures.
11102 Tested on AMD, Intel Nehalem, SNB, IVB.
11103 * sysdeps/x86_64/strnlen.S: Likewise.
11105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11106 Remove all multiarch strlen and strnlen versions.
11107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11108 Remove strlen and strnlen related parts.
11110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11111 Inline strlen part.
11112 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11114 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11115 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11116 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11117 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11118 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11119 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11121 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11123 * manual/memory.texi (Malloc Tunable Parameters):
11124 Sort parameters alphabetically. Add comments for missing entries.
11126 2013-03-17 David S. Miller <davem@davemloft.net>
11128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11130 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11133 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11134 for arguments at most half maximum finite value.
11135 * math/libm-test.inc (j0_test): Add more tests.
11136 (j1_test): Likewise.
11137 (y0_test): Likewise.
11138 (y1_test): Likewise.
11139 * sysdeps/i386/fpu/libm-test-ulps: Update.
11140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11143 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11144 1 / x and functions P and Q for arguments above 0x1p256L.
11145 (__ieee754_y0l): Likewise.
11146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11147 (__ieee754_y1l): Likewise.
11148 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11149 (j1_test): Likewise.
11150 (y0_test): Likewise.
11151 (y1_test): Likewise.
11153 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11155 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11158 2013-03-15 Roland McGrath <roland@hack.frob.com>
11160 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11161 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11162 zero since it's initialized to EXEC_PAGESIZE.
11164 * sysdeps/unix/sysv/linux/ldsodefs.h
11165 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11166 * sysdeps/generic/ldsodefs.h: ... here.
11168 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11170 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11172 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11174 * math/test-snan.c: Renamed from
11175 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11176 * math/Makefile (tests): Add test-snan.
11177 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11180 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11181 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11183 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11184 __builtin_nan family of functions.
11185 * math/libm-test.inc (initialize): Initialize qnan_value with
11186 __builtin_nan family of functions.
11187 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11189 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11191 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11192 storage class. Initialize qNaN_var and sNaN_var with
11193 __builtin_nan and __builtin_nans families of functions,
11196 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11197 (sqrt_test): Remove duplicate test with qNaN input.
11198 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11199 (round_test, signbit_test, significand_test): Note missing +/-Inf
11200 as well as qNaN tests.
11202 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11203 qNaN_var. Fix a few strings, too.
11204 * math/libm-test.inc (nan_value): Rename to qnan_value.
11205 * math/gen-libm-test.pl (%beautify): Adjust to that.
11206 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11207 * math/test-misc.c (main): Likewise.
11208 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11209 to __qnan_bytes, and __qnan_union, respectively.
11210 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11212 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11213 and lqnanval, respectively.
11214 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11215 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11217 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11219 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11220 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11223 * math/test-misc.c (main): Fix copy'n'pastos.
11224 * misc/tst-efgcvt.c (special): Likewise.
11226 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11227 Remove declarations.
11229 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11231 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11232 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11233 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11234 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11236 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11239 macro to return vdso values correctly in IFUNC implementations.
11240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11241 Optimization by using IFUNC.
11243 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11244 Richard Henderson <rth@redhat.com>
11245 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11247 * Makefile.in (bench): New target.
11248 * NEWS: Mention the benchmark framework.
11249 * Rules (bench): Likewise.
11250 (binaries-bench): Generate binaries for functions to
11252 * benchtests/Makefile: New makefile for benchmark tests.
11253 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11255 * benchtests/exp-inputs: New input file for EXP function.
11256 * benchtests/pow-inputs: New input file for POW function.
11257 * scripts/bench.pl: New script to generate source files for
11258 benchmark programs.
11260 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11262 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11264 computations on mantissa. Use macros for rounding and
11266 (denorm): Likewise.
11267 (__dbl_mp): Likewise.
11268 (add_magnitudes): Likewise.
11269 (sub_magnitudes): Likewise.
11272 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11273 powers of two in terms of TWOPOW macro.
11274 (mp_no): Make type of mantissa as MANTISSA_T.
11275 [!RADIXI]: Define RADIXI.
11276 [!TWO52]: Define TWO52.
11277 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11279 * manual/nptl.texi (cindex): Modify threads to pthreads.
11281 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11283 * sysdeps/x86_64/preconfigure: Regenerated.
11285 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11288 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11290 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11291 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11293 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11294 * math/libm-test.inc (j0_test): Do not allow one spurious
11295 underflow exception.
11296 (y1_test): Likewise.
11298 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11300 * manual/Makefile (chapters): Add nptl.
11301 * manual/debug.texi (Debugging Support): Add link to Threads
11303 * manual/nptl.texi: New file.
11305 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11307 2013-03-14 Petr Baudis <pasky@ucw.cz>
11309 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11310 for non-NULL pointer before the memory validity test. Pointed
11311 out by Holger Brunck <holger.brunck@keymile.com>.
11313 2013-03-13 Andreas Schwab <schwab@suse.de>
11315 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11318 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11320 * timezone/zic.c: Update from tzcode 2013b.
11322 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11324 * manual/install.texi (Configuring and compiling):
11325 Mention i686 and i586.
11326 * INSTALL: Regenerate.
11328 2013-03-12 Roland McGrath <roland@hack.frob.com>
11330 * sysdeps/init_array/elf-init.c: New file.
11332 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11333 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11335 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11336 __gmon_start__ as global, but as static with a .preinit_array pointer.
11337 * sysdeps/init_array/gmon-start.c: New file. Use that.
11338 * sysdeps/init_array/crti.S: New file, empty except for comments.
11339 * sysdeps/init_array/crtn.S: Likewise.
11341 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11343 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11346 Remove Prefer_SSE_for_memop.
11347 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11348 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11349 HAS_PREFER_SSE_FOR_MEMOP.
11350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11353 Remove bzero, memset ifunc support.
11354 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11355 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11356 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11357 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11359 2013-03-11 Andreas Schwab <schwab@suse.de>
11362 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11365 (GLIBC_2.16): Remove pthread_atfork.
11367 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11369 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11370 (ptestcases.h): Likewise.
11372 2013-03-08 Roland McGrath <roland@hack.frob.com>
11374 * Makeconfig ($(common-objpfx)config.status): Depend on
11375 sysdeps/*/preconfigure{,.in} too.
11377 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11379 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11380 (__free_hook): Use void * instead of __malloc_ptr_t.
11381 (__malloc_hook): Likewise.
11382 (__realloc_hook): Likewise.
11383 (__memalign_hook): Likewise.
11384 (__after_morecore_hook): Likewise.
11385 * malloc/arena.c (save_malloc_hook): Likewise.
11386 (save_free_hook): Likewise.
11387 * malloc/hooks.c (malloc_hook_ini): Likewise.
11388 (realloc_hook_ini): Likewise.
11389 (memalign_hook_ini): Likewise.
11390 * malloc/malloc.c (malloc_hook_ini): Likewise.
11391 (realloc_hook_ini): Likewise.
11392 (memalign_hook_ini): Likewise.
11393 (__free_hook): Likewise.
11394 (__malloc_hook): Likewise.
11395 (__realloc_hook): Likewise.
11396 (__memalign_hook): Likewise.
11397 (__libc_malloc): Likewise.
11398 (__libc_free): Likewise.
11399 (__libc_realloc): Likewise.
11400 (__libc_memalign): Likewise.
11401 (__libc_valloc): Likewise.
11402 (__libc_pvalloc): Likewise.
11403 (__libc_calloc): Likewise.
11404 (__posix_memalign): Likewise.
11405 * malloc/morecore.c (__sbrk): Likewise.
11406 (__default_morecore): Likewise.
11408 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11410 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11411 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11412 __malloc_ptrdiff_t.
11414 * malloc/malloc.h (__malloc_size_t): Remove macro.
11415 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11417 (old_memalign_hook): Likewise.
11418 (old_realloc_hook): Likewise.
11419 (struct hdr): Likewise.
11421 (mallochook): Likewise.
11422 (memalignhook): Likewise.
11423 (reallochook): Likewise.
11424 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11425 (tr_old_realloc_hook): Likewise.
11426 (tr_old_memalign_hook): Likewise.
11427 (tr_mallochook): Likewise.
11428 (tr_reallochook): Likewise.
11429 (tr_memalignhook): Likewise.
11431 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11434 default_ldbl_pack and using as default implementation.
11435 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11437 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11438 redundant definition.
11439 (ldbl_insert_mantissa): Likewise.
11440 (ldbl_canonicalize): Likewise.
11441 (ldbl_nearbyint): Likewise.
11442 (ldbl_pack): Rename to ldbl_pack_ppc.
11443 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11444 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11445 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11447 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11450 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11452 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11455 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11456 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11458 2013-03-07 Andreas Jaeger <aj@suse.de>
11460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11463 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11465 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11466 Include mpa.h and declare __MPEXP.
11467 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11469 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11472 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11473 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11475 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11476 (__slowpow): Use long double EXPL and LOGL functions to
11478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11479 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11482 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11486 intermediate variable to calculate exponent.
11488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11492 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11493 [!NO__SQR]: Define __sqr.
11494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11495 and NO__SQR. Remove all code except __mul and __sqr. Include
11496 sysdeps/ieee754/dbl-64/mpa.c.
11497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11500 * posix/Makefile (tests): Add tst-pathconf.
11501 * posix/tst-pathconf.c: New test case.
11502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11506 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11508 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11510 2013-03-06 Andreas Jaeger <aj@suse.de>
11512 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11513 definition via __MAP_ANONYMOUS.
11515 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11516 it's not part of Linux headers.
11518 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11519 (MAP_HUGE_MASK): Define.
11521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11527 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11534 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11535 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11536 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11537 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11538 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11539 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11541 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11545 Handle f2fs and efivarfs.
11547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11550 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11551 (EFIVARFS_MAGIC): Add.
11552 (F2FS_LINK_MAX): Add.
11554 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11556 * stdio-common/vfprintf.c: Replace __builtin_expect with
11559 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11562 * sysdeps/generic/bp-sym.h: Remove file.
11563 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11564 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11565 <bp-sym.h> and <bp-asm.h>.
11566 (__longjmp): Don't use BP_SYM.
11567 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11569 (memcpy): Don't use BP_SYM.
11570 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11571 <bp-sym.h> and <bp-asm.h>.
11572 (memcpy): Don't use BP_SYM.
11573 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11575 (memcpy): Don't use BP_SYM.
11576 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11578 (memset): Don't use BP_SYM.
11579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11581 (__bzero): Don't use BP_SYM.
11582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11585 <bp-sym.h> and <bp-asm.h>.
11586 (memcmp): Don't use BP_SYM. Remove comment about bounded
11588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (memcpy): Don't use BP_SYM.
11591 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (memset): Don't use BP_SYM.
11594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11596 (__bzero): Don't use BP_SYM.
11597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11599 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11600 <bp-sym.h> and <bp-asm.h>.
11601 (strncmp): Don't use BP_SYM. Remove comment about bounded
11603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (memcpy): Don't use BP_SYM.
11606 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11607 <bp-sym.h> and <bp-asm.h>.
11608 (memset): Don't use BP_SYM.
11609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11611 (__bzero): Don't use BP_SYM.
11612 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11613 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11615 <bp-sym.h> and <bp-asm.h>.
11616 (__memchr): Don't use BP_SYM.
11617 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11618 <bp-sym.h> and <bp-asm.h>.
11619 (memcmp): Don't use BP_SYM. Remove comment about bounded
11621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11622 <bp-sym.h> and <bp-asm.h>.
11623 (memcpy): Don't use BP_SYM.
11624 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11625 <bp-sym.h> and <bp-asm.h>.
11626 (__mempcpy): Don't use BP_SYM.
11627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11628 <bp-sym.h> and <bp-asm.h>.
11629 (__memrchr): Don't use BP_SYM.
11630 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11631 <bp-sym.h> and <bp-asm.h>.
11632 (memset): Don't use BP_SYM.
11633 (__bzero): Likewise.
11634 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11635 <bp-sym.h> and <bp-asm.h>.
11636 (__rawmemchr): Don't use BP_SYM.
11637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11638 <bp-sym.h> and <bp-asm.h>.
11639 (__STRCMP): Don't use BP_SYM.
11640 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11641 <bp-sym.h> and <bp-asm.h>.
11642 (strchr): Don't use BP_SYM.
11643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11644 <bp-sym.h> and <bp-asm.h>.
11645 (__strchrnul): Don't use BP_SYM.
11646 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11647 <bp-sym.h> and <bp-asm.h>.
11648 (strlen): Don't use BP_SYM.
11649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11650 <bp-sym.h> and <bp-asm.h>.
11651 (strncmp): Don't use BP_SYM. Remove comment about bounded
11653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11654 <bp-sym.h> and <bp-asm.h>.
11655 (__strnlen): Don't use BP_SYM.
11656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11657 <bp-sym.h> and <bp-asm.h>.
11658 (__GI__setjmp): Don't use BP_SYM.
11659 (_setjmp): Likewise.
11660 (__sigsetjmp): Likewise.
11661 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11662 (L(start_addresses)): Don't use BP_SYM.
11663 (_start): Likewise.
11664 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11666 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11667 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11668 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11669 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11670 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11672 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11673 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11674 about bounded pointers.
11675 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11676 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11677 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11679 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11680 about bounded pointers. Remove GKM FIXME comments.
11681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11682 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11684 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11685 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11686 Remove GKM FIXME comments.
11687 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11688 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11689 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11691 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11692 about bounded pointers. Remove GKM FIXME comment.
11693 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11695 (strncmp): Don't use BP_SYM. Remove comment about bounded
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11698 <bp-sym.h> and <bp-asm.h>.
11699 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11701 <bp-sym.h> and <bp-asm.h>.
11702 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11705 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11707 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11710 2013-03-05 David S. Miller <davem@davemloft.net>
11712 * po/es.po: Update from translation team.
11714 2013-03-05 Andreas Jaeger <aj@suse.de>
11716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11717 <bits/mman-linux.h>.
11718 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11721 <bits/mman-linux.h> to end of file.
11722 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11724 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11725 <bits/mman-linux.h> to end of file.
11726 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11729 <bits/mman-linux.h> to end of file.
11731 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11732 (MCL_CURRENT, MCL_FUTURE): Define here.
11734 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11737 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11741 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11744 fourth parameter needed for rt_sigprocmask syscall.
11745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11749 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11750 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11752 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11755 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11756 comment about bounded pointers.
11757 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11758 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11760 2013-03-04 Andreas Jaeger <aj@suse.de>
11762 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11763 common definitions.
11765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11766 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11772 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11776 __ieee754_sqrl instead of __sqrl.
11778 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11780 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11781 * sysdeps/powerpc/fpu_control.h: ... here.
11782 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11783 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11784 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11785 * sysdeps/powerpc/bits/mathinline.h: ... here.
11787 2013-03-01 Roland McGrath <roland@hack.frob.com>
11789 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11790 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11791 to just [NEED_DL_SYSINFO_DSO].
11792 * elf/dl-support.c: Likewise.
11793 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11794 * elf/rtld.c (dl_main): Likewise.
11795 * elf/setup-vdso.h (setup_vdso): Likewise.
11796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11797 * sysdeps/unix/sysv/linux/dl-sysdep.c
11798 (_dl_discover_osversion): Likewise.
11800 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11802 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11803 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11805 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11807 * NEWS: Mention libm performance improvements and non-x86 PI
11810 * csu/libc-start.c (__pthread_initialize_minimal): Change
11811 function arguments.
11812 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11814 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11819 <bp-sym.h> and <bp-asm.h>.
11820 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11823 (memcpy): Don't use BP_SYM.
11824 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11826 (__mpn_add_n): Don't use BP_SYM.
11827 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11828 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11830 (__mpn_addmul_1): Don't use BP_SYM.
11831 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11832 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11834 (_setjmp): Don't use BP_SYM.
11835 (__novmx_setjmp): Likewise.
11836 (__GI__setjmp): Likewise.
11837 (__vmx_setjmp): Likewise.
11838 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11840 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11841 (__bzero): Don't use BP_SYM.
11842 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11843 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11845 <bp-sym.h> and <bp-asm.h>.
11846 (memcpy): Don't use BP_SYM.
11847 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11848 <bp-sym.h> and <bp-asm.h>.
11849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11850 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11851 <bp-sym.h> and <bp-asm.h>.
11852 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11853 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11855 (__mpn_lshift): Don't use BP_SYM.
11856 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11857 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11859 (memset): Don't use BP_SYM.
11860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11862 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11864 (__mpn_mul_1): Don't use BP_SYM.
11865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11867 <bp-sym.h> and <bp-asm.h>.
11868 (memcmp): Don't use BP_SYM.
11869 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11870 <bp-sym.h> and <bp-asm.h>.
11871 (memcpy): Don't use BP_SYM.
11872 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (memset): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (strncmp): Don't use BP_SYM.
11878 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (memcpy): Don't use BP_SYM.
11881 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (memset): Don't use BP_SYM.
11884 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11885 <bp-sym.h> and <bp-asm.h>.
11886 (__memchr): Don't use BP_SYM.
11887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11888 <bp-sym.h> and <bp-asm.h>.
11889 (memcmp): Don't use BP_SYM.
11890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (memcpy): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (__mempcpy): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (__memrchr): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11900 <bp-sym.h> and <bp-asm.h>.
11901 (memset): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11903 <bp-sym.h> and <bp-asm.h>.
11904 (__rawmemchr): Don't use BP_SYM.
11905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11906 <bp-sym.h> and <bp-asm.h>.
11907 (__STRCMP): Don't use BP_SYM.
11908 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11909 <bp-sym.h> and <bp-asm.h>.
11910 (strchr): Don't use BP_SYM.
11911 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__strchrnul): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (strlen): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (strncmp): Don't use BP_SYM.
11920 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__strnlen): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11925 (__mpn_rshift): Don't use BP_SYM.
11926 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11927 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11928 <bp-sym.h> and <bp-asm.h>.
11929 (__sigsetjmp): Don't use BP_SYM.
11930 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11931 (L(start_addresses)): Don't use BP_SYM.
11932 (_start): Likewise.
11933 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11935 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11936 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11937 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11938 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11940 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11943 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11948 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11950 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11952 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11953 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11954 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11956 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11958 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11960 (strncmp): Don't use BP_SYM,
11961 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11963 (__mpn_sub_n): Don't use BP_SYM.
11964 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11965 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11967 (__mpn_submul_1): Don't use BP_SYM.
11968 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11970 <bp-sym.h> and <bp-asm.h>.
11971 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11973 <bp-sym.h> and <bp-asm.h>.
11974 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11977 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11980 Use ZK to minimize writes to Z.
11981 (sub_magnitudes): Simplify code a bit.
11982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11983 Use ZK to minimize writes to Z.
11984 (sub_magnitudes): Simplify code a bit.
11986 2013-02-27 Roland McGrath <roland@hack.frob.com>
11988 * csu/gmon-start.c: Add special exception to license text.
11990 2013-02-27 Richard Henderson <rth@redhat.com>
11992 * scripts/config.guess: Update from config.git.
11993 * scripts/config.sub: Likewise.
11995 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11999 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12001 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12003 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12005 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12007 2013-02-26 Roland McGrath <roland@hack.frob.com>
12009 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12010 [$(build-shared = yes].
12012 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12014 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12015 (__mul): Reduce iterations for calculating mantissa.
12017 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12019 (__mpranred): Likewise.
12022 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12023 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12025 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12027 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12028 Define __attribute__.
12030 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12032 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12034 * posix/regex_internal.h (__attribute): Remove.
12035 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12036 (re_string_context_at): Likewise.
12037 (bitset_not): Use __attribute__ and mark function as possibly
12039 (bitset_merge): Likewise.
12040 (bitset_mask): Likewise.
12041 (re_string_char_size_at): Likewise.
12042 (re_string_wchar_at): Likewise.
12043 (re_string_elem_size_at): Likewise.
12045 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12047 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12051 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12055 (denorm): Likewise.
12056 (__dbl_mp): Likewise.
12057 (add_magnitudes): Likewise.
12058 (sub_magnitudes): Likewise.
12062 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12065 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12068 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12072 up changes with default code.
12073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12076 2013-02-24 Allan McRae <allan@archlinux.org>
12078 * manual/socket.texi (The Internet Namespace): Order menu items
12079 to match that in the file.
12081 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12082 node listing of the info page menu.
12084 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12087 * sysdeps/i386/bp-asm.h: Remove file.
12088 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12089 (PARMS): Do not use macros from bp-asm.h.
12093 (__mpn_add_n): Do not use BP_SYM
12094 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12096 (PARMS): Do not use macros from bp-asm.h.
12099 (__mpn_addmul_1): Do not use BP_SYM
12100 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12102 (PARMS): Do not use macros from bp-asm.h.
12103 (SIGMSK): Likewise.
12104 (_setjmp): Likewise. Do not use BP_SYM.
12105 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12107 (PARMS): Do not use macros from bp-asm.h.
12108 (SIGMSK): Likewise.
12109 (setjmp): Likewise. Do not use BP_SYM.
12110 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12112 (PARMS): Do not use macros from bp-asm.h.
12113 (__frexp): Do not use BP_SYM.
12115 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12117 (PARMS): Do not use macros from bp-asm.h.
12118 (__frexpf): Do not use BP_SYM.
12119 (frexpf): Likewise.
12120 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12122 (PARMS): Do not use macros from bp-asm.h.
12123 (__frexpl): Do not use BP_SYM.
12124 (frexpl): Likewise.
12125 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12127 (PARMS): Do not use macros from bp-asm.h.
12128 (__remquo): Do not use BP_SYM.
12129 (remquo): Likewise.
12130 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12132 (PARMS): Do not use macros from bp-asm.h.
12133 (__remquof): Do not use BP_SYM.
12134 (remquof): Likewise.
12135 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12137 (PARMS): Do not use macros from bp-asm.h.
12138 (__remquol): Do not use BP_SYM.
12139 (remquol): Likewise.
12140 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12142 (PARMS): Do not use macros from bp-asm.h.
12145 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12146 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12148 (PARMS): Do not use macros from bp-asm.h.
12149 (strlen): Do not use BP_SYM.
12150 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12152 (PARMS): Do not use macros from bp-asm.h.
12156 (__mpn_add_n): Do not use BP_SYM.
12157 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12159 (PARMS): Do not use macros from bp-asm.h.
12162 (__mpn_addmul_1): Do not use BP_SYM.
12163 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12166 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12168 (PARMS): Do not use macros from bp-asm.h.
12171 (__mpn_lshift): Do not use BP_SYM.
12172 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12174 (PARMS): Do not use macros from bp-asm.h.
12178 (memcpy): Likewise. Do not use BP_SYM.
12179 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12180 libc_hidden_def and weak_alias.
12181 (mempcpy): Do not use BP_SYM in weak_alias.
12182 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12184 (PARMS): Do not use macros from bp-asm.h.
12187 [!BZERO_P] (CHR): Likewise.
12188 (memset): Likewise. Do not use BP_SYM.
12189 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12191 (PARMS): Do not use macros from bp-asm.h.
12194 (__mpn_mul_1): Do not use BP_SYM.
12195 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12197 (PARMS): Do not use macros from bp-asm.h.
12200 (__mpn_rshift): Do not use BP_SYM.
12201 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12203 (PARMS): Do not use macros from bp-asm.h.
12206 (strchr): Likewise. Do not use BP_SYM.
12207 (index): Do not use BP_SYM in weak_alias.
12208 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12210 (PARMS): Do not use macros from bp-asm.h.
12213 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12214 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12216 (PARMS): Do not use macros from bp-asm.h.
12217 (strlen): Do not use BP_SYM.
12218 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12220 (PARMS): Do not use macros from bp-asm.h.
12224 (__mpn_sub_n): Do not use BP_SYM.
12225 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12227 (PARMS): Do not use macros from bp-asm.h.
12230 (__mpn_submul_1): Do not use BP_SYM.
12231 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12233 (PARMS): Do not use macros from bp-asm.h.
12237 (__mpn_add_n): Do not use BP_SYM.
12238 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12241 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12243 (PARMS): Do not use macros from bp-asm.h.
12246 (memcmp): Do not use BP_SYM.
12247 (bcmp): Do not use BP_SYM in weak_alias.
12248 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12250 (PARMS): Do not use macros from bp-asm.h.
12254 (memcpy): Likewise. Do not use BP_SYM.
12255 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12257 (PARMS): Do not use macros from bp-asm.h.
12261 (memmove): Likewise. Do not use BP_SYM.
12262 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12264 (PARMS): Do not use macros from bp-asm.h.
12268 (__mempcpy): Likewise. Do not use BP_SYM.
12269 (mempcpy): Do not use BP_SYM in weak_alias.
12270 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12272 (PARMS): Do not use macros from bp-asm.h.
12275 [!BZERO_P] (CHR): Likewise.
12276 (memset): Likewise. Do not use BP_SYM.
12277 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12279 (PARMS): Do not use macros from bp-asm.h.
12281 (strcmp): Do not use BP_SYM.
12282 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12284 (PARMS): Do not use macros from bp-asm.h.
12287 [USE_AS_STRTOK_R] (SAVE): Likewise.
12288 (FUNCTION): Likewise. Do not use BP_SYM.
12289 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12291 (strtok_r): Likewise.
12292 (__GI___strtok_r): Likewise.
12293 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12294 (PARMS): Do not use macros from bp-asm.h.
12297 (__mpn_lshift): Do not use BP_SYM.
12298 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12299 (PARMS): Do not use macros from bp-asm.h.
12302 (__memchr): Do not use BP_SYM.
12303 (memchr): Do not use BP_SYM in weak_alias.
12304 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12305 (PARMS): Do not use macros from bp-asm.h.
12308 (memcmp): Do not use BP_SYM.
12309 (bcmp): Do not use BP_SYM in weak_alias.
12310 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12311 (PARMS): Do not use macros from bp-asm.h.
12314 (__mpn_mul_1): Do not use BP_SYM.
12315 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12317 (PARMS): Do not use macros from bp-asm.h.
12320 (__rawmemchr): Do not use BP_SYM.
12321 (rawmemchr): Do not use BP_SYM in weak_alias.
12322 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12323 (PARMS): Do not use macros from bp-asm.h.
12326 (__mpn_rshift): Do not use BP_SYM.
12327 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12328 (PARMS): Do not use macros from bp-asm.h.
12329 (SIGMSK): Likewise.
12330 (__sigsetjmp): Likewise. Do not use BP_SYM.
12331 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12332 (_start): Do not use BP_SYM.
12333 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12337 (__stpcpy): Likewise. Do not use BP_SYM.
12338 (stpcpy): Do not use BP_SYM in weak_alias.
12339 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12341 (PARMS): Do not use macros from bp-asm.h.
12345 (__stpncpy): Likewise. Do not use BP_SYM.
12346 (stpncpy): Do not use BP_SYM in weak_alias.
12347 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12348 (PARMS): Do not use macros from bp-asm.h.
12351 (strchr): Likewise. Do not use BP_SYM.
12352 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12354 (PARMS): Do not use macros from bp-asm.h.
12357 (__strchrnul): Likewise. Do not use BP_SYM.
12358 (strchrnul): Do not use BP_SYM in weak_alias.
12359 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12361 (PARMS): Do not use macros from bp-asm.h.
12363 (strcspn): Do not use BP_SYM.
12364 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12366 (PARMS): Do not use macros from bp-asm.h.
12369 (strpbrk): Likewise. Do not use BP_SYM.
12370 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12372 (PARMS): Do not use macros from bp-asm.h.
12375 (strrchr): Likewise. Do not use BP_SYM.
12376 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12377 (PARMS): Do not use macros from bp-asm.h.
12379 (strspn): Do not use BP_SYM.
12380 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12381 (PARMS): Do not use macros from bp-asm.h.
12385 (FUNCTION): Likewise. Do not use BP_SYM.
12386 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12388 (strtok_r): Likewise.
12389 (__GI___strtok_r): Likewise.
12390 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12391 (PARMS): Do not use macros from bp-asm.h.
12395 (__mpn_sub_n): Do not use BP_SYM.
12396 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12398 (PARMS): Do not use macros from bp-asm.h.
12401 (__mpn_submul_1): Do not use BP_SYM.
12402 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12404 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12406 (PARMS): Do not use macros from bp-asm.h.
12411 (__clone): Do not use BP_SYM.
12412 (clone): Do not use BP_SYM in weak_alias.
12413 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12415 (PARMS): Do not use macros from bp-asm.h.
12417 (__mmap64): Do not use BP_SYM.
12418 (mmap64): Do not use BP_SYM in weak_alias.
12419 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12420 <bp-sym.h> and <bp-asm.h>.
12421 (PARMS): Do not use macros from bp-asm.h.
12422 (__posix_fadvise64_l64): Do not use BP_SYM.
12423 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12424 (PARMS): Do not use macros from bp-asm.h.
12426 (semtimedop): Do not use BP_SYM.
12427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12430 2013-02-21 Allan McRae <allan@archlinux.org>
12432 * manual/message.texi (Charset conversion in gettext):
12433 Move @end statement to beginning of line.
12435 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12443 (denorm): Likewise.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12447 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12449 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12450 tail-call to the resolved function if pltexit isn't needed.
12452 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12455 or Y being zero as being unlikely.
12456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12459 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12461 * manual/nss.texi (System Databases and Name Service Switch):
12462 Remove frobnicate @pxref.
12464 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12466 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12467 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12469 2013-02-20 Petr Machata <pmachata@redhat.com>
12471 * elf/elf.h (R_ARM_TARGET1): New macro.
12472 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12473 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12474 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12475 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12476 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12477 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12478 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12479 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12480 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12481 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12482 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12483 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12484 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12485 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12486 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12487 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12488 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12489 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12490 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12491 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12492 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12493 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12494 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12495 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12496 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12497 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12498 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12499 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12500 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12501 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12502 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12503 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12504 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12505 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12506 (R_ARM_THM_GOT_BREL12): Likewise.
12507 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12508 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12509 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12510 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12511 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12512 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12513 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12514 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12515 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12517 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12520 __attribute_used__ to __attribute__ ((unused)).
12522 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12524 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12527 comment formatting.
12528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12530 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12533 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12535 (ENTER): Remove both macro definitions.
12537 (CHECK_BOUNDS_LOW): Likewise.
12538 (CHECK_BOUNDS_HIGH): Likewise.
12539 (CHECK_BOUNDS_BOTH): Likewise.
12540 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12541 (RETURN_BOUNDED_POINTER): Likewise.
12542 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12543 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12544 (POP_ERRNO_LOCATION_RETURN): Likewise.
12545 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12546 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12547 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12549 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12550 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12551 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12552 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12553 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12554 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12555 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12556 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12557 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12558 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12559 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12560 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12562 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12565 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12569 * sysdeps/i386/i586/memset.S (memset): Likewise.
12570 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12571 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12572 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12575 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12576 Change uses of L(2) to L(out).
12577 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12578 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12579 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12581 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12583 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12584 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12586 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12587 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12588 (RETURN): Do not use macro LEAVE.
12589 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12590 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12591 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12592 * sysdeps/i386/i686/memset.S (memset): Likewise.
12593 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12594 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12595 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12596 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12599 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12600 L(1_2) and L(1_3) into L(1).
12601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12603 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12604 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12605 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12607 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12609 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12611 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12612 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12613 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12614 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12615 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12616 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12617 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12618 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12619 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12620 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12621 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12622 * sysdeps/i386/strspn.S (strspn): Likewise.
12623 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12626 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12628 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12629 L(1_3) into L(1_1).
12630 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12632 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12634 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12636 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12638 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12641 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12643 * math/atest-exp.c (exp_mpn): Remove ROUND.
12644 * math/atest-exp2.c (exp_mpn): Likewise.
12645 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12647 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12648 * stdlib/tst-tls-atexit-lib.c: Likewise.
12649 * stdlib/tst-tls-atexit.c: Likewise.
12651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12653 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12654 and __attribute_alloc_size__.
12656 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12658 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12659 __attribute_alloc_size__.
12660 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12661 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12663 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12665 * include/programs/xmalloc.h: New file.
12666 * catgets/gencat.c: Include it.
12667 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12668 * elf/pldd.c: Likewise.
12669 * iconv/iconv_charmap.c: Likewise.
12670 * iconv/iconvconfig.c: Likewise.
12671 * iconv/strtab.c: Likewise.
12672 * locale/programs/locale.c: Likewise.
12673 * locale/programs/localedef.h: Likewise.
12674 * locale/programs/simple-hash.c: Likewise.
12675 * nscd/nscd.h: Likewise.
12676 * nss/makedb.c: Likewise.
12677 * sysdeps/generic/ldconfig.h: Likewise.
12679 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12681 * Versions.def: Add GLIBC_2.18.
12682 * include/link.h (struct link_map): New member l_tls_dtor_count.
12683 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12684 (__call_tls_dtors): Likewise.
12685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12686 __cxa_thread_atexit_impl.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12703 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12704 (tests): Add test case tst-tls-atexit.
12705 (modules-names): Add shared library for tst-tls-atexit.
12706 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12707 (GLIBC_PRIVATE): Add __call_tls_dtors.
12708 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12710 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12711 * stdlib/tst-tls-atexit.c: New test case.
12712 * stdlib/tst-tls-atexit-lib.c: New test case.
12714 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12716 * elf/Versions (ld): Add _dl_find_dso_for_object.
12717 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12718 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12719 (dl_open_worker): Use _dl_find_dso_for_object.
12720 * elf/dl-sym.c (do_sym): Likewise.
12721 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12723 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12725 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12726 Syntactic changes only.
12727 (_dl_runtime_profile): Do a tail-call to the resolved function.
12729 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12732 * sysdeps/x86_64/bp-asm.h: Remove file.
12733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12734 <bp-sym.h> and <bp-asm.h>.
12735 (__clone): Do not use BP_SYM.
12736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12737 <bp-sym.h> and <bp-asm.h>.
12738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12739 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12741 (_setjmp): Do not use BP_SYM.
12742 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12744 (setjmp): Do not use BP_SYM.
12745 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12747 (mempcpy): Do not use BP_SYM in weak_alias.
12748 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12750 (strchr): Do not use BP_SYM.
12751 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12753 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12754 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12755 (_start): Do not use BP_SYM.
12756 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12758 (strcat): Do not use BP_SYM.
12759 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12761 (STRCMP): Do not use BP_SYM.
12762 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12764 (STRCPY): Do not use BP_SYM.
12765 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12767 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12769 (FUNCTION): Do not use BP_SYM.
12770 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12772 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12774 2013-02-17 Andreas Jaeger <aj@suse.de>
12776 * time/Versions: Sort entries.
12777 * string/Versions: Likewise.
12778 * resolv/Versions: Likewise.
12779 * posix/Versions: Likewise.
12780 * iconv/Versions: Likewise.
12781 * elf/Versions: Likewise.
12782 * wcsmbs/Versions: Likewise.
12784 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12787 loop termination condition.
12789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12790 variable to calculate EZ.
12793 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12794 the lower precision input.
12796 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12799 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12800 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12801 (run-via-rtld-prefix): Do not handle %-bp tests.
12802 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12803 (all-object-suffixes): Remove .ob.
12804 (bppfx): Remove variable.
12805 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12806 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12807 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12808 [$(build-bounded) = yes] (libtype.ob): Likewise.
12809 * Makerules (elide-routines.ob): Remove variable.
12810 (do-tests-clean): Do not handle *-bp.out.
12811 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12812 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12813 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12814 (tests): Do not include $(tests-bp.out).
12815 (xtests): Do not include $(xtests-bp.out).
12816 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12817 [$(build-bounded) = yes] ($(addprefix
12818 $(objpfx),$(binaries-bounded))): Remove rule.
12819 ($(objpfx)%-bp.out): Remove rule.
12820 * config.make.in (build-bounded): Remove variable.
12821 * crypt/Makefile [$(build-bounded) = yes]
12822 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12823 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12824 append to variable.
12825 [$(build-bounded) = yes] (install-lib): Likewise.
12826 [$(build-bounded) = yes] (generated): Likewise.
12827 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12829 * intl/Makefile [$(build-bounded) = yes]
12830 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12831 * math/Makefile [$(build-bounded) = yes]
12832 ($(tests:%=$(objpfx)%-bp): Likewise.
12833 * misc/Makefile [$(build-bounded) = yes]
12834 ($(objpfx)tst-tsearch-bp): Likewise.
12835 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12836 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12838 * string/Makefile (o-objects.ob): Remove variable.
12839 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12840 (CFLAGS-.ob): Remove variable.
12841 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12843 both definitions of variable.
12844 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12845 (ASFLAGS-.ob): Remove variable.
12847 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12850 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12851 Remove __BOUNDED_POINTERS__ from condition.
12852 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12853 * string/bits/string2.h [!__NO_STRING_INLINES &&
12854 !__BOUNDED_POINTERS__]: Likewise.
12855 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12857 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12858 Remove conditional code.
12859 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12860 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12861 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12865 * csu/libc-start.c: Do not include <bp-sym.h>.
12866 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12867 * elf/dl-open.c: Do not include <bp-sym.h>.
12868 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12869 * math/fegetenv.c: Do not include <bp-sym.h>.
12870 (fegetenv): Do not use BP_SYM in versioned symbols.
12871 * nptl/sysdeps/pthread/bits/libc-lockP.h
12872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12875 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12877 (__pthread_mutex_destroy): Likewise.
12878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12879 (__pthread_mutex_lock): Likewise.
12880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12881 (__pthread_mutex_trylock): Likewise.
12882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12883 (__pthread_mutex_unlock): Likewise.
12884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12885 (__pthread_mutexattr_init): Likewise.
12886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12887 (__pthread_mutexattr_destroy): Likewise.
12888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12889 (__pthread_mutexattr_settype): Likewise.
12890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12891 (__pthread_rwlock_init): Likewise.
12892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12893 (__pthread_rwlock_destroy): Likewise.
12894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12895 (__pthread_rwlock_rdlock): Likewise.
12896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12897 (__pthread_rwlock_tryrdlock): Likewise.
12898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12899 (__pthread_rwlock_wrlock): Likewise.
12900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12901 (__pthread_rwlock_trywrlock): Likewise.
12902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12903 (__pthread_rwlock_unlock): Likewise.
12904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12905 (__pthread_key_create): Likewise.
12906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12907 (__pthread_setspecific): Likewise.
12908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12909 (__pthread_getspecific): Likewise.
12910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12913 (_pthread_cleanup_push_defer): Likewise.
12914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12915 (_pthread_cleanup_pop_restore): Likewise.
12916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12917 (pthread_setcancelstate): Likewise.
12918 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12920 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12921 (memchr): Do not use BP_SYM in weak_alias.
12922 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12923 (fegetenv): Do not use BP_SYM in versioned symbols.
12924 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12925 (fesetenv): Do not use BP_SYM in versioned symbols.
12926 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12927 (feupdateenv): Do not use BP_SYM in versioned symbols.
12928 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12929 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12930 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12931 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12932 (open64): Do not use BP_SYM in weak_alias.
12933 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12934 (fegetenv): Do not use BP_SYM in versioned symbols.
12935 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12936 (fesetenv): Do not use BP_SYM in versioned symbols.
12937 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12938 (feupdateenv): Do not use BP_SYM in versioned symbols.
12939 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12940 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12941 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12942 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12943 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12947 (__libc_start_main): Do not use BP_SYM.
12949 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12952 redundant return line.
12954 (denorm): Likewise.
12955 (dbl_mp): Likewise.
12956 (sub_magnitudes): Likewise.
12962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12964 (denorm): Likewise.
12965 (dbl_mp): Likewise.
12966 (sub_magnitudes): Likewise.
12973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12976 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12980 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12982 of __mul for squares.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12990 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12993 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12995 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12996 prototype or function definition. Rename ubp_* variables and
12997 parameters. Remove argv definitions conditional on
12998 [__BOUNDED_POINTERS__].
12999 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13000 * elf/dl-runtime.c (_dl_fixup): Likewise.
13001 * include/set-hooks.h (RUN_HOOK): Likewise.
13002 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13004 * string/strcpy.c (strcpy): Do not use __unbounded.
13005 * sysdeps/generic/frame.h (struct layout): Likewise.
13006 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13007 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13008 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13009 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13010 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13011 (__backtrace): Likewise.
13012 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13014 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13015 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13016 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13018 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13019 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13020 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13021 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13022 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13023 Do not use __unbounded.
13024 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13025 Rename __unboundedrlimits parameter to rlimits in prototype.
13026 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13027 Do not use __unbounded.
13028 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13029 not use __ptrvalue.
13030 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13031 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13032 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13033 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13034 __ptrvalue or __unbounded.
13035 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13038 (__new_msgctl): Do not use __ptrvalue.
13039 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13041 (__libc_msgrcv): Do not use __ptrvalue.
13042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13043 startup_info): Do not use __unbounded.
13044 (__libc_start_main): Likewise. Rename ubp_* variables and
13045 parameters. Remove argv definitions conditional on
13046 [__BOUNDED_POINTERS__].
13047 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13049 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13053 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13055 (__new_shmctl): Do not use __ptrvalue.
13056 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13057 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13059 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13061 (__libc_sigaction): Likewise.
13062 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13063 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13065 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13067 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13069 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13071 * string/mempcpy.c: Implement by calling memcpy.
13073 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13081 values in the mantissa.
13083 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13084 minimize writes to Z.
13085 (sub_magnitudes): Simplify code a bit.
13087 2013-02-12 Roland McGrath <roland@hack.frob.com>
13089 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13090 from the message. The linker prefixes all warnings with that already.
13092 2013-02-12 Andreas Schwab <schwab@suse.de>
13095 * posix/regexec.c (extend_buffers): Add parameter min_len.
13096 (check_matching): Pass minimum needed length.
13097 (clean_state_log_if_needed): Likewise.
13098 (get_subexp): Likewise.
13099 * posix/Makefile (tests): Add bug-regex34.
13100 (bug-regex34-ENV): Define.
13101 * posix/bug-regex34.c: New file.
13104 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13105 elements compare against the byte sequence of it, not its name.
13106 * posix/Makefile (tests): Add bug-regex35.
13107 (bug-regex35-ENV): Define.
13108 * posix/bug-regex35.c: New file.
13110 2013-02-11 Tom de Vries <tom@codesourcery.com>
13112 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13114 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13115 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13116 (CHECK_EOL): Add undef.
13118 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13120 * bits/stdlib-bsearch.h: New file.
13121 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13122 * stdlib/stdlib.h: Likewise.
13124 2013-02-11 Roland McGrath <roland@hack.frob.com>
13126 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13127 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13129 * manual/search.texi (Array Search Function): Add missing const in
13131 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13132 declaration to use rlim_t.
13133 (Basic Scheduling Functions): Remove erroneous const from
13134 sched_getparam prototype. Remove erroneous * from
13135 sched_get_priority_max and sched_get_priority_min prototypes.
13136 (Resource Usage): Fix summary @comment on vtimes to refer to
13137 sys/vtimes.h rather than vtimes.h.
13138 Add missing *s in vtimes prototype.
13139 (Limits on Resources): Fix ulimit prototype to return long int.
13140 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13141 prototypes to use long int rather than double.
13142 (BSD Random): Fix initstate and setstate to use char *, not void *.
13143 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13144 prototype to make second argument 'struct aiocb64 *const[]'.
13145 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13146 (Status of AIO Operations): Remove erroneous const in aio_return and
13147 aio_return64 prototypes.
13148 (Synchronizing I/O): Fix sync prototype to return void.
13149 * manual/startup.texi (Suboptions): Remove an erroneous const in
13150 getsubopt prototype.
13151 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13152 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13153 use size_t rather than int.
13154 (Scanning All Users): Likewise for getpwent_r.
13155 (Setting Groups): Add missing const to setgroups prototype.
13156 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13157 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13158 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13159 'const void *' rather than 'const char *'.
13160 (Host Address Functions): Likewise for inet_ntop.
13161 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13162 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13163 ssize_t for return value.
13164 (Sending Data): Likewise for send, sendto, sendmsg.
13165 (Socket Option Functions): Add a missing const in setsockopt prototype.
13166 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13167 use wchar_t for the argument.
13168 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13169 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13171 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13172 double/float/long double for second argument.
13173 Fix return types of significand, significandf, significandl.
13174 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13175 argument in fchmod prototype.
13176 (File Owner): Use uid_t and gid_t in fchown prototype.
13177 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13178 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13179 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13180 use 'const struct dirent **' as argument types to CMP function pointer
13182 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13183 (File Times): Fix summary magic @comment for struct utimbuf and utime
13184 to refer to utime.h, not time.h.
13185 * manual/string.texi (Argz Functions): Add missing const in
13186 argz_extract and argz_next prototypes.
13187 (Finding Tokens in a String): Likewise for basename.
13188 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13189 (Copying and Concatenation): Fix typo in wmemmove prototype.
13190 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13191 (Signal Stack): Remove erroneous const in sigstack prototype.
13192 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13194 (Simple Calendar Time): Likewise for stime.
13195 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13197 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13198 say sys/sysctl.h instead.
13199 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13200 and vsyslog prototypes.
13202 2013-02-11 Tom de Vries <tom@codesourcery.com>
13204 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13207 2013-02-11 Roland McGrath <roland@hack.frob.com>
13209 * misc/sys/mman.h: Fix typo in mremap comment.
13211 2013-02-08 Roland McGrath <roland@hack.frob.com>
13213 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13214 the '\0' terminator.
13216 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13219 * debug/segfault.c: Don't include <bp-checks.h>.
13220 * sysdeps/generic/bp-checks.h: Remove file.
13221 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13222 (__GETDENTS): Don't use CHECK_N.
13223 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13225 (__getgroups): Don't use CHECK_N.
13226 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13227 (setgroups): Don't use CHECK_N.
13228 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13229 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13230 (__libc_msgrcv): Don't use CHECK_N.
13231 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13232 (__libc_msgsnd): Don't use CHECK_N.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13235 (__libc_pread): Don't use CHECK_N.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13237 include <bp-checks.h>.
13238 (__libc_pread64): Don't use CHECK_N.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13240 include <bp-checks.h>.
13241 (__libc_pwrite): Don't use CHECK_N.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13243 include <bp-checks.h>.
13244 (__libc_pwrite64): Don't use CHECK_N.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13247 (__libc_pread): Don't use CHECK_N.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13249 include <bp-checks.h>.
13250 (__libc_pread64): Don't use CHECK_N.
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13252 include <bp-checks.h>.
13253 (__libc_pwrite): Don't use CHECK_N.
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13255 include <bp-checks.h>.
13256 (__libc_pwrite64): Don't use CHECK_N.
13257 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13258 (do_pread): Don't use CHECK_N.
13259 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13260 (do_pread64): Don't use CHECK_N.
13261 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13262 (do_pwrite): Don't use CHECK_N.
13263 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13264 (do_pwrite64): Don't use CHECK_N.
13265 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13266 (__libc_readv): Don't use CHECK_N.
13267 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13268 (semop): Don't use CHECK_N.
13269 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13271 (semtimedop): Don't use CHECK_N.
13272 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13273 (__libc_pread): Don't use CHECK_N.
13274 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13276 (__libc_pread64): Don't use CHECK_N.
13277 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13279 (__libc_pwrite): Don't use CHECK_N.
13280 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13282 (__libc_pwrite64): Don't use CHECK_N.
13283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13285 (__libc_msgrcv): Don't use CHECK_N.
13286 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13287 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13288 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13289 (__libc_writev): Don't use CHECK_N.
13291 2013-02-08 Roland McGrath <roland@hack.frob.com>
13293 * string/strcpy.c: Removed unused variable.
13295 * Makeconfig (+sysdep-includes): Define with := rather than =.
13296 Use an existing include/ subdir of each sysdeps dir before it.
13298 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13300 * nscd/connection.c (register_traced_file): Comment function.
13301 [HAVE_INOTIFY] (union __inev): Define.
13302 [HAVE_INOTIFY] (inotify_check_files): New function.
13303 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13304 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13306 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13308 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13310 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13311 loaded if not already and that a failure is permanent.
13313 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13316 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13317 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13319 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13322 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13323 (CHECK_1_NULL_OK): Likewise.
13324 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13325 (__fxstat): Do not use CHECK_1.
13326 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13328 (___fxstat64): Do not use CHECK_1.
13329 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13331 (__fxstatat): Do not use CHECK_1.
13332 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13334 (__fxstatat64): Do not use CHECK_1.
13335 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13337 (__fxstat): Do not use CHECK_1.
13338 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13340 (__fxstatat): Do not use CHECK_1.
13341 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13343 (__getresgid): Do not use CHECK_1.
13344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13346 (__getresuid): Do not use CHECK_1.
13347 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13349 (__lxstat): Do not use CHECK_1.
13350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13352 (__old_msgctl): Do not use CHECK_1.
13353 (__new_msgctl): Likewise.
13354 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13356 (__new_setrlimit): Do not use CHECK_1.
13357 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13359 (__old_shmctl): Do not use CHECK_1.
13360 (__new_shmctl): Likewise.
13361 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13363 (__xstat): Do not use CHECK_1.
13364 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13365 (__lxstat): Do not use CHECK_1.
13366 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13368 (___lxstat64): Do not use CHECK_1.
13369 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13370 (__old_msgctl): Do not use CHECK_1.
13371 (__new_msgctl): Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13374 (__gettimeofday): Do not use CHECK_1.
13375 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13376 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13379 (__gettimeofday): Do not use CHECK_1.
13380 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13381 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13382 (__new_shmctl): Do not use CHECK_1.
13383 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13385 (do_sigtimedwait): Do not use CHECK_1.
13386 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13388 (do_sigwaitinfo): Do not use CHECK_1.
13389 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13391 (msgctl): Do not use CHECK_1.
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13394 (shmctl): Do not use CHECK_1.
13395 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13396 (ustat): Do not use CHECK_1.
13397 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13399 (__fxstat): Do not use CHECK_1.
13400 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13402 (__fxstatat): Do not use CHECK_1.
13403 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13405 (__lxstat): Do not use CHECK_1.
13406 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13408 (__xstat): Do not use CHECK_1.
13409 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13410 (__xstat): Do not use CHECK_1.
13411 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13412 (___xstat64): Do not use CHECK_1.
13415 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13417 (CHECK_BOUNDS_HIGH): Likewise.
13418 * string/strcpy.c: Do not include <bp-checks.h>.
13419 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13421 2013-02-07 Roland McGrath <roland@hack.frob.com>
13423 * nscd/nscd-client.h (__nscd_drop_map_ref):
13424 Add __attribute__ ((unused)).
13425 * nis/nss-nisplus.h (niserr2nss): Likewise.
13427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13428 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13430 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13431 Remove inline keyword.
13432 * include/rounding-mode.h (round_away): Likewise.
13433 * libio/wfileops.c (adjust_wide_data): Likewise.
13434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13435 (__m128i_strloadu_tolower): Likewise.
13436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13437 (__m128i_strloadu_tolower): Likewise.
13438 * time/mktime.c (ydhms_diff): Likewise.
13439 * locale/elem-hash.h (elem_hash): Likewise.
13440 * locale/setlocale.c (setdata): Likewise.
13441 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13442 (re_string_wchar_at): Likewise.
13443 (bitset_not, bitset_merge, bitset_mask): Likewise.
13444 [!(__GNUC__ > 3)] (inline): Remove macro.
13445 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13446 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13447 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13448 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13449 * string/memcmp.c (memcmp_bytes): Likewise.
13450 * locale/programs/locarchive.c (compute_hashval): Likewise.
13451 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13452 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13453 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13454 * nss/getent.c (print_rpc, print_protocols): Likewise.
13455 (print_passwd, print_group, print_aliases): Likewise.
13456 * nis/nss-nisplus.h (niserr2nss): Likewise.
13457 * nscd/connections.c (restart_p): Likewise.
13458 Change return type to bool.
13460 2013-02-05 Roland McGrath <roland@hack.frob.com>
13462 * Makeconfig (all-Depend-files): Add existing
13463 $(sorted-subdirs:=/Depend) files.
13464 (all-subdirs): Remove nss.
13465 * sysdeps/unix/inet/Subdirs: Add it here instead.
13466 * hesiod/Depend: New file.
13468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13469 instead of calling alloca.
13471 * io/lseek.c (__lseek): Rename to __libc_lseek.
13472 Define __lseek as an alias.
13474 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13476 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13478 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13479 else clause and remove check for non-standard endianness.
13481 2013-02-04 David S. Miller <davem@davemloft.net>
13483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13485 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13488 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13489 (__ubp_memchr): Remove prototype.
13490 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13491 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13492 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13493 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13494 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13496 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13497 (__ubp_memchr): Likewise.
13498 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13499 (__ubp_memchr): Likewise.
13500 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13501 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13502 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13505 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13506 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13507 (__getcwd): Do not use CHECK_STRING.
13508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13510 (__real_chown): Do not use CHECK_STRING.
13511 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13513 (fchownat): Do not use CHECK_STRING.
13514 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13518 (__lchown): Do not use CHECK_STRING.
13519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13521 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13522 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13524 include <bp-checks.h>.
13525 (truncate64): Do not use CHECK_STRING.
13526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13528 (__real_chown): Do not use CHECK_STRING.
13529 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13531 (__lchown): Do not use CHECK_STRING.
13532 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13534 (__chown): Do not use CHECK_STRING.
13535 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13537 (truncate64): Do not use CHECK_STRING.
13538 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13540 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13541 (__xmknod): Do not use CHECK_STRING.
13542 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13544 (__xmknodat): Do not use CHECK_STRING.
13545 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13546 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13548 2013-02-04 Andreas Schwab <schwab@suse.de>
13551 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13552 * include/netdb.h: Likewise for h_errno.
13553 * elf/tst-stackguard1.c: Include <tls.h>.
13555 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13557 * elf/link.h (struct link_map): Extend the l_addr comment.
13558 * include/link.h (struct link_map): Likewise.
13560 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13563 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13564 (BOUNDED_1): Remove macro.
13565 * debug/backtrace.c: Don't include <bp-checks.h>.
13566 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13567 (__backtrace): Likewise.
13568 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13570 (__backtrace): Don't use BOUNDED_1.
13571 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13573 (__backtrace): Don't use BOUNDED_1.
13574 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13575 (__backtrace): Don't use BOUNDED_1.
13576 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13577 (shmat): Don't use BOUNDED_N.
13579 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13582 * sysdeps/generic/bp-start.h: Remove file.
13583 * csu/libc-start.c: Don't include <bp-start.h>.
13584 (LIBC_START_MAIN): Set up __environ directly instead of using
13585 INIT_ARGV_and_ENVIRON.
13586 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13590 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13592 (CHECK_FCNTL): Likewise.
13593 (CHECK_N_PAGES): Likewise.
13596 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13598 (CHECK_SIGSET_NULL_OK): Likewise.
13599 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13601 (sigpending): Don't use CHECK_SIGSET.
13602 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13605 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13607 (do_sigsuspend): Don't use CHECK_SIGSET.
13608 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13610 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13611 (do_sigwait): Don't use CHECK_SIGSET.
13612 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13615 include <bp-checks.h>.
13616 (sigpending): Don't use CHECK_SIGSET.
13617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13618 include <bp-checks.h>.
13619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13620 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13622 (sigpending): Don't use CHECK_SIGSET.
13623 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13628 * sysdeps/generic/bp-semctl.h: Remove file.
13629 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13630 <bp-checks.h> and <bp-semctl.h>.
13631 (__old_semctl): Don't use CHECK_SEMCTL.
13632 (__new_semctl): Likewise.
13633 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13635 (__old_semctl): Don't use CHECK_SEMCTL.
13636 (__new_semctl): Likewise.
13637 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13638 <bp-checks.h> and <bp-semctl.h>.
13639 (__old_semctl): Don't use CHECK_SEMCTL.
13640 (__new_semctl): Likewise.
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13642 <bp-checks.h> and <bp-semctl.h>.
13643 (semctl): Don't use CHECK_SEMCTL.
13646 * Makerules (elide-bp-thunks): Remove variable.
13647 (elide-routines.oS): Don't use $(elide-bp-thunks).
13648 (elide-routines.os): Likewise.
13649 (elide-routines.o): Likewise.
13650 (elide-routines.op): Likewise.
13651 (elide-routines.og): Likewise.
13652 (objects): Don't use $(bp-thunks).
13653 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13655 (common-generated): Do not add s-proto-bp.d.
13656 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13659 Do not generate makefile rules for bounded-pointer thunks.
13660 * sysdeps/generic/bp-thunks.h: Remove file.
13661 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13662 * sysdeps/unix/s-proto-bp.S: Likewise.
13665 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13666 parts of result separately when argument is not close to line from
13667 -i to i and one part of argument is small.
13668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13670 * math/libm-test.inc (cacos_test): Add more tests.
13671 (casin_test): Likewise.
13672 (casinh_test): Likewise.
13673 * sysdeps/i386/fpu/libm-test-ulps: Update.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13676 2013-01-31 David S. Miller <davem@davemloft.net>
13678 * po/de.po: Update from translation team.
13680 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13682 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13684 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13686 * configure.in (_AC_PROG_CC_C89): New definition.
13687 * configure: Regenerate.
13689 * configure.in (AC_PROG_CPP): New definition.
13690 * configure: Regenerate.
13692 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13694 * debug/tst-backtrace.h: New file.
13695 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13696 (ret): Remove variable.
13698 (FAIL): Remove macro.
13699 (NO_INLINE): Likewise.
13700 (fn1): Use match function instead of strstr.
13701 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13702 (ret): Remove variable.
13704 (FAIL): Remove macro.
13705 (NO_INLINE): Likewise.
13706 (fn): Use match function instead of strstr.
13707 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13708 (ret): Remove variable.
13710 (FAIL): Remove macro.
13711 (NO_INLINE): Likewise.
13712 (handle_signal): Use match function instead of strstr.
13713 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13714 (ret): Remove variable.
13716 (FAIL): Remove macro.
13717 (NO_INLINE): Likewise.
13718 (handle_signal): Use match function instead of strstr.
13720 2013-01-23 Roland McGrath <roland@hack.frob.com>
13722 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13724 2013-01-23 David S. Miller <davem@davemloft.net>
13726 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13727 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13728 argument of CAS if possible.
13729 * sysdeps/sparc/sparc64/bits/atomic.h
13730 (__arch_compare_and_exchange_val_32_acq): Likewise.
13731 (__arch_compare_and_exchange_val_64_acq): Likewise.
13733 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13735 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13736 * sysdeps/posix/ulimit.c: ... this.
13737 Include <limits.h>.
13738 * sysdeps/unix/bsd/ulimit.c: Remove file.
13740 2013-01-23 Adam Conrad <adconrad@0c3.net>
13742 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13743 (LDFLAGS-tst-array5): Likewise.
13745 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13748 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13749 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13750 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13753 2013-01-21 David S. Miller <davem@davemloft.net>
13755 * sysdeps/sparc/backtrace.c: New file.
13756 * sysdeps/sparc/sparc32/backtrace.h: New file.
13757 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13758 * sysdeps/sparc/sparc64/backtrace.h: New file.
13759 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13760 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13763 2013-01-21 Andreas Schwab <schwab@suse.de>
13766 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13769 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13775 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13776 Mark Mitchell <mark@codesourcery.com>
13777 Tom de Vries <tom@codesourcery.com>
13778 Paul Pluzhnikov <ppluzhnikov@google.com>
13780 * debug/tst-backtrace2.c: New file.
13781 * debug/tst-backtrace3.c: Likewise.
13782 * debug/tst-backtrace4.c: Likewise.
13783 * debug/tst-backtrace5.c: Likewise.
13784 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13785 (CFLAGS-tst-backtrace3.c): Likewise.
13786 (CFLAGS-tst-backtrace4.c): Likewise.
13787 (CFLAGS-tst-backtrace5.c): Likewise.
13788 (LDFLAGS-tst-backtrace2): Likewise.
13789 (LDFLAGS-tst-backtrace3): Likewise.
13790 (LDFLAGS-tst-backtrace4): Likewise.
13791 (LDFLAGS-tst-backtrace5): Likewise.
13792 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13793 tst-backtrace4 and tst-backtrace5.
13795 2013-01-18 Anton Blanchard <anton@samba.org>
13796 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13799 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13801 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13803 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13804 "+r" and remove output regs list as redundant. Add explicit inline
13805 asm to specify register of return val to work around compiler codegen
13806 bug. Remove (int) cast on return value. Add return type parameter to
13807 use in macro so that this macro does not truncate return value for
13809 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13810 pass to INTERNAL_VSYSCALL_NCS.
13811 (INLINE_VSYSCALL): Add 'long int' as return type to
13812 INTERNAL_VSYSCALL_NCS macro invocation.
13813 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13814 INTERNAL_VSYSCALL_NCS macro invocation.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13817 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13820 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13821 Fix application of SIMD FP exception mask.
13823 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13824 mp_no from a power of two.
13825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13826 __mpexp_twomm1. Use __pow_mp.
13828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13831 2013-01-17 David S. Miller <davem@davemloft.net>
13833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13835 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13838 * include/complex.h: Condition contents on [!_COMPLEX_H].
13839 (__kernel_casinhf): New prototype.
13840 (__kernel_casinh): Likewise.
13841 (__kernel_casinhl): Likewise.
13842 * math/Makefile (libm_calls): Add k_casinh.
13843 * math/k_casinh.c: New file.
13844 * math/k_casinhf.c: Likewise.
13845 * math/k_casinhl.c: Likewise.
13846 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13847 finite nonzero arguments.
13848 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13849 finite nonzero arguments.
13850 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13851 finite nonzero arguments.
13852 * math/s_casinh.c: Do not include <float.h>.
13853 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13854 * math/s_casinhf.c: Do not include <float.h>.
13855 (__casinhf): Move code for finite nonzero arguments to
13857 * math/s_casinhl.c: Do not include <float.h>.
13858 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13860 (__casinhl): Move code for finite nonzero arguments to
13862 * math/libm-test.inc (cacos_test): Add more tests.
13863 * sysdeps/i386/fpu/libm-test-ulps: Update.
13864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13866 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13868 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13869 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13870 [!HAVE_MREMAP]: Remove [defined linux] case.
13871 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13873 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13875 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13877 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13879 * elf/elf.h (R_386_SIZE32): New relocation.
13880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13882 (elf_machine_rela): Likewise.
13883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13884 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13886 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13888 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13889 (FP_FAST_FMA): Do not define.
13890 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13891 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13892 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13893 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13894 !_SOFT_FLOAT]: Likewise.
13895 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13899 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13900 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13902 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13903 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13906 2013-01-16 Andreas Schwab <schwab@suse.de>
13909 * include/stdlib.h (__mktemp): Add declaration.
13910 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13911 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13913 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13915 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13918 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13919 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13922 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13926 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13927 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13931 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13935 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13937 2013-01-15 David S. Miller <davem@davemloft.net>
13939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13940 trunc{,f} to libm-sysdep_routes.
13941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13951 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13955 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13956 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13959 nearbyint{,f} to libm-sysdep_routes.
13960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13977 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13978 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13981 libc_feholdexcept and libc_fesetenv.
13983 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13985 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13987 2013-01-14 David S. Miller <davem@davemloft.net>
13989 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13990 (SPARC_ASM_VIS2_IFUNC): Likewise.
13991 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13993 use of 'siam' instruction.
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14027 routines to libm-sysdep_routines.
14028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14031 fdim/fdimf to libm-sysdep_routines.
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14040 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14041 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14045 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14048 to optimize copies.
14050 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14055 local variable MPTWO.
14056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14059 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14061 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14064 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14066 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14068 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14070 * manual/pattern.texi (glob_t): Document gl_flags.
14071 (glob64_t): Likewise.
14073 2013-01-11 David S. Miller <davem@davemloft.net>
14075 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14076 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14077 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14078 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14079 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14080 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14081 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14082 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14083 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14084 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14085 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14086 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14087 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14090 sparc V9 rather than using V8 code.
14091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14094 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14099 2013-01-11 Roland McGrath <roland@hack.frob.com>
14101 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14102 not in the main loop.
14103 * configure: Regenerated.
14105 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14107 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14108 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14110 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14111 [!__GLIBC_HAVE_LONG_LONG] case.
14112 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14113 condition to just #else.
14114 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14115 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14116 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14117 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14119 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14120 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14121 #elif condition to just #else.
14122 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14123 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14124 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14125 #elif condition to just #else.
14127 2013-01-11 Steve Ellcey <sellcey@mips.com>
14129 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14130 (EF_MIPS_ARCH_64): Fix value.
14131 (EF_MIPS_ARCH_32R2): New.
14132 (EF_MIPS_ARCH_64R2): New.
14134 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14136 * Makeconfig (+link-pie-before-libc): New.
14137 (+link-pie-after-libc): Likewise.
14138 (+link-pie-tests): Likewise.
14139 (+link-pie): Rewritten.
14140 (link-before-libc): Remove $(config-LDFLAGS).
14141 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14142 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14143 (config-LDFLAGS): Renamed to ...
14144 (rtld-LDFLAGS): This.
14145 (rtld-tests-LDFLAGS): New macro.
14146 (link-libc-rpath-link): Likewise.
14147 (link-libc-tests-rpath-link): Likewise.
14148 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14149 (link-libc): Prepand $(link-libc-rpath-link).
14150 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14151 (test-program-prefix): New macro.
14152 (test-via-rtld-prefix): Likewise.
14153 (test-program-cmd): Likewise.
14154 (host-test-program-cmd): Likewise.
14155 * Makefile ($(common-objpfx)testrun.sh): Replace
14156 $(run-program-prefix) with $(test-program-prefix).
14157 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14159 ($(common-objpfx)shlib.lds): Likewise.
14160 (build-module-helper): Likewise.
14161 ($(common-objpfx)format.lds): Likewise.
14162 * Rules (binaries-pie-tests): New.
14163 (binaries-pie-notests): Likewise.
14164 (binaries-pie): Rewritten.
14165 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14166 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14167 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14168 (make-test-out): Replace $(host-built-program-cmd) with
14169 $(host-test-program-cmd).
14170 * config.make.in (build-hardcoded-path-in-tests): New variable.
14171 * configure.in (--enable-hardcoded-path-in-tests): New configure
14173 (hardcoded_path_in_tests): New AC_SUBST.
14174 * configure: Regenerated.
14175 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14176 $(built-program-cmd) with $(test-program-cmd).
14177 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14178 (test_program_cmd): This.
14179 * elf/Makefile ($(objpfx)order.out): Run test with
14180 $(test-program-prefix).
14181 ($(objpfx)order2.out): Likewise.
14182 ($(objpfx)tst-initorder.out): Likewise.
14183 ($(objpfx)tst-initorder2.out): Likewise.
14184 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14185 $(test-program-cmd).
14186 ($(objpfx)tst-array1-static.out): Likewise.
14187 ($(objpfx)tst-array2.out): Likewise.
14188 ($(objpfx)tst-array3.out): Likewise.
14189 ($(objpfx)tst-array4.out): Likewise.
14190 ($(objpfx)tst-array5.out): Likewise.
14191 ($(objpfx)tst-array5-static.out): Likewise.
14192 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14193 $(test-program-cmd).
14194 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14195 $(run-program-prefix) with $(test-program-prefix).
14196 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14197 (test_program_prefix): This.
14198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14199 $(run-program-prefix) with $(test-program-prefix).
14200 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14201 (test_program_prefix): This.
14202 * iconvdata/tst-tables.sh: Likewise.
14203 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14204 $(run-program-prefix) with $(test-program-prefix).
14205 ($(objpfx)tst-translit.out): Likewise.
14206 ($(objpfx)tst-gettext2.out): Likewise.
14207 ($(objpfx)tst-gettext4.out): Likewise.
14208 ($(objpfx)tst-gettext6.out): Likewise.
14209 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14210 (test_program_prefix): This.
14211 * intl/tst-gettext2.sh: Likewise.
14212 * intl/tst-gettext4.sh Likewise.
14213 * intl/tst-gettext6.sh: Likewise.
14214 * intl/tst-translit.sh: Likewise.
14215 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14216 with $(test-program-cmd).
14217 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14218 $(run-program-prefix) with $(test-program-prefix).
14219 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14220 (test_program_prefix): This.
14221 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14222 $(run-program-prefix) with $(test-program-prefix).
14223 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14224 (test_program_prefix): This.
14225 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14226 * posix/Makefile ($(objpfx)globtest.out): Replace
14227 $(run-via-rtld-prefix) and $(test-wrapper) with
14228 $(test-program-prefix) and $(test-via-rtld-prefix).
14229 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14230 $(test-program-prefix).
14231 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14232 $(host-test-program-cmd).
14233 (tst-spawn-ARGS): Likewise.
14234 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14235 $(test-program-prefix).
14236 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14237 (test_via_rtld_prefix): This.
14238 (test_wrapper): Renamed to ...
14239 (test_program_prefix): This.
14240 (run_program_prefix): Replaced by test_program_prefix.
14241 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14242 (test_program_prefix): This.
14243 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14244 with $(host-test-program-cmd).
14245 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14246 $(run-program-prefix) with $(test-program-prefix).
14247 ($(objpfx)tst-printf.out): Likewise.
14248 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14249 $(test-program-cmd).
14250 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14251 (test_program_prefix): This.
14252 * stdio-common/tst-unbputc.sh: Likewise.
14253 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14254 $(run-program-prefix) with $(test-program-prefix).
14255 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14256 (test_program_prefix): This.
14257 * string/Makefile ($(objpfx)tst-svc.out): Replace
14258 $(built-program-cmd) with $(test-program-cmd).
14260 2013-01-11 Andreas Jaeger <aj@suse.de>
14263 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14264 value. Sync with Linux 3.7.
14266 2013-01-10 David S. Miller <davem@davemloft.net>
14268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14276 * configure: Regenerated.
14278 2013-01-10 David S. Miller <davem@davemloft.net>
14280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14281 sparc V9 rather than using V8 code.
14282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14285 2013-01-10 Roland McGrath <roland@hack.frob.com>
14287 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14288 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14289 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14290 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14291 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14292 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14293 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14294 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14295 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14296 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14297 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14298 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14299 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14300 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14301 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14302 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14303 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14304 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14305 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14306 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14307 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14308 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14309 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14310 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14311 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14312 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14313 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14315 2013-01-10 David S. Miller <davem@davemloft.net>
14317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14319 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14321 * posix/Makefile (tests-static): New variable.
14322 (tests): Add $(tests-static).
14323 (tst-exec-static-ARGS): New variable.
14324 (tst-spawn-static-ARGS): Likewise.
14325 * posix/tst-exec-static.c: New file.
14326 * posix/tst-spawn-static.c: Likewise.
14327 * posix/tst-exec.c: Support run directly.
14328 * posix/tst-spawn.c: Likewise.
14330 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14332 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14334 * math/bits/mathcalls.h (llrint): Likewise.
14335 (llround): Likewise.
14336 * stdlib/stdlib.h (struct drand48_data): Likewise.
14337 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14338 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14341 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14343 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14344 (elf_greg_t): Likewise.
14345 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14346 (__jmp_buf): Likewise.
14347 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14349 (llrint): Likewise, for all definitions.
14350 (llrintl): Likewise.
14352 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14353 Remove [__GNUC__] condition.
14354 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14355 condition to just [__USE_ISOC99].
14356 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14358 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14361 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14362 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14364 (_POSIX_V6_ILP32_OFF32): Likewise.
14365 (_XBS5_ILP32_OFF32): Likewise.
14366 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14367 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14369 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14371 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14374 doubles __mpexp_twomm1. Adjust usage.
14375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14378 2013-01-10 Andreas Schwab <schwab@suse.de>
14381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14382 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14384 2013-01-09 David S. Miller <davem@davemloft.net>
14387 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14388 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14389 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14390 TCP_FASTOPEN): Define.
14391 (tcp_repair_opt): New structure.
14392 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14394 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14395 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14396 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14397 (tcp_cookie_transactions): New structure.
14399 2013-01-09 Anton Blanchard <anton@samba.org>
14401 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14406 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14408 * include/features.h (__USE_ANSI): Remove.
14410 2013-01-09 Roland McGrath <roland@hack.frob.com>
14412 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14414 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14416 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14418 * sysdeps/s390/fpu/libm-test-ulps: Update.
14420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14422 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14426 (denorm): Likewise.
14427 (__mp_dbl): Likewise.
14428 (__dbl_mp): Likewise.
14429 (add_magnitudes): Likewise.
14430 (sub_magnitudes): Likewise.
14436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14440 (denorm): Likewise.
14441 (__mp_dbl): Likewise.
14442 (__dbl_mp): Likewise.
14443 (add_magnitudes): Likewise.
14444 (sub_magnitudes): Likewise.
14450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14454 (denorm): Likewise.
14455 (__mp_dbl): Likewise.
14456 (__dbl_mp): Likewise.
14457 (add_magnitudes): Likewise.
14458 (sub_magnitudes): Likewise.
14465 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14467 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14468 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14469 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14470 2 && __USE_EXTERN_INLINES]: Likewise.
14472 2013-01-08 Andreas Jaeger <aj@suse.de>
14475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14477 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14478 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14480 2013-01-07 Anton Blanchard <anton@samba.org>
14482 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14484 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14485 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14486 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14488 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14506 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14507 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14508 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14512 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14515 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14524 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14526 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14528 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14529 (__MALLOC_PMT): Likewise.
14530 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14531 [__GNUC__], only on [_LIBC].
14532 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14533 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14534 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14535 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14536 forward declaration.
14537 (realloc_hook_ini): Likewise.
14538 (memalign_hook_ini): Likewise.
14539 (__libc_memalign): Do not use __MALLOC_PMT in variable
14541 (__libc_valloc): Likewise.
14542 (__libc_pvalloc): Likewise.
14543 (__libc_calloc): Likewise.
14544 (__posix_memalign): Likewise.
14547 * math/s_casinh.c: Include <float.h>.
14548 (__casinh): Do not do computation with squaring and square root
14549 for large arguments.
14550 * math/s_casinhf.c: Include <float.h>.
14551 (__casinhf): Do not do computation with squaring and square root
14552 for large arguments.
14553 * math/s_casinhl.c: Include <float.h>.
14554 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14555 (__casinhl): Do not do computation with squaring and square root
14556 for large arguments.
14557 * math/libm-test.inc (casin_test): Add more tests.
14558 (casinh_test): Likewise.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14565 (__x86_64_raw_data_cache_size): Likewise.
14566 (__x86_64_data_cache_size_half): Likewise.
14567 (__x86_64_raw_data_cache_size_half): Likewise.
14568 (__x86_64_shared_cache_size): Likewise.
14569 (__x86_64_raw_shared_cache_size): Likewise.
14570 (__x86_64_shared_cache_size_half): Likewise.
14571 (__x86_64_raw_shared_cache_size_half): Likewise.
14572 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14574 (__x86_data_cache_size): This.
14575 (__x86_64_raw_data_cache_size): Renamed to ...
14576 (__x86_raw_data_cache_size): This.
14577 (__x86_64_data_cache_size_half): Renamed to ...
14578 (__x86_data_cache_size_half): This.
14579 (__x86_64_raw_data_cache_size_half): Renamed to ...
14580 (__x86_raw_data_cache_size_half): This.
14581 (__x86_64_shared_cache_size): Renamed to ...
14582 (__x86_shared_cache_size): This.
14583 (__x86_64_raw_shared_cache_size): Renamed to ...
14584 (__x86_raw_shared_cache_size): This.
14585 (__x86_64_shared_cache_size_half): Renamed to ...
14586 (__x86_shared_cache_size_half): This.
14587 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14588 (__x86_raw_shared_cache_size_half): This.
14589 * sysdeps/x86_64/memcpy.S: Updated.
14590 * sysdeps/x86_64/memset.S: Likewise.
14591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14595 2013-01-04 David S. Miller <davem@davemloft.net>
14597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14599 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14602 1 to avoid redefinition warning.
14603 (__USE_GNU): Don't define.
14604 (init_signaling_nan): Protoize.
14606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14608 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14610 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14612 (__cpymn): Likewise.
14613 (norm): Remove commented code.
14614 (denorm): Likewise.
14615 (__mp_dbl): Likewise.
14617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14618 (__cpymn): Likewise.
14619 (norm): Remove commented code.
14620 (denorm): Likewise.
14621 (__mp_dbl): Likewise.
14624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14625 mp_no value for 1.0 and 2.0.
14626 (norm): Use RADIXI instead of radixi.d.
14627 (denorm): Likewise.
14628 (__mul): Use 0.0 instead of zero.d.
14629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14630 mp_no value for 1.0 and 2.0.
14631 (norm): Use RADIXI instead of radixi.d.
14632 (denorm): Likewise.
14633 (__mul): Use 0.0 instead of zero.d.
14635 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14638 * math/s_casinh.c (__casinh): Reduce finite argument to first
14639 quadrant then set signs of results at the end.
14640 * math/s_casinhf.c (__casinhf): Likewise.
14641 * math/s_casinhl.c (__casinhl): Likewise.
14642 * math/libm-test.inc (casin_test): Add more tests.
14643 (casinh_test): Likewise.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14649 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14651 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14653 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14655 (denorm): Likewise.
14656 (__mp_dbl): Likewise.
14659 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14660 and adjust the header comment.
14662 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14663 variable name from declaration.
14665 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14668 Initialize COMMON_CPUID_INDEX_7 element.
14669 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14670 (CPUID_RTM): Likewise.
14671 (HAS_RTM): Likewise.
14672 (COMMON_CPUID_INDEX_7): New enum.
14674 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14677 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14678 size is zero, record memory as freed.
14680 2013-01-03 Andreas Jaeger <aj@suse.de>
14682 * po/ia.po: Add new Interlingua translation.
14684 2012-01-03 Allan McRae <allan@archlinux.org>
14686 * locale/programs/localedef.c: Fix description of '--posix' flag.
14688 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14690 * NEWS: Update dates in second copyright notice.
14691 * README: Update copyright dates in example.
14692 * manual/libc.texinfo: Update copyright dates.
14693 * scripts/test-installation.pl: Update copyright date in --version
14696 * hurd/ctty-input.c: Fix copyright notice formatting.
14697 * hurd/ctty-output.c: Likewise.
14698 * hurd/dtable.c: Likewise.
14699 * hurd/hurd-raise.c: Likewise.
14700 * hurd/hurdprio.c: Likewise.
14701 * hurd/msgportdemux.c: Likewise.
14702 * misc/sys/file.h: Likewise.
14703 * misc/sys/ioctl.h: Likewise.
14704 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14705 * sysdeps/mach/hurd/chdir.c: Likewise.
14706 * sysdeps/mach/hurd/fchdir.c: Likewise.
14707 * sysdeps/mach/hurd/rename.c: Likewise.
14708 * sysdeps/mach/hurd/rmdir.c: Likewise.
14709 * sysdeps/mach/hurd/seekdir.c: Likewise.
14710 * sysdeps/mach/hurd/setsid.c: Likewise.
14711 * sysdeps/posix/wait3.c: Likewise.
14713 * All files with FSF copyright notices: Update copyright dates
14714 using scripts/update-copyrights.
14715 * intl/plural.c: Regenerated.
14716 * locale/programs/charmap-kw.h: Likewise.
14717 * locale/programs/locfile-kw.h: Likewise.
14719 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14721 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14725 calculation loop and add branch prediction.
14727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14728 check access beyond bounds of m1np.
14730 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14732 (__inv): Remove local variable MPTWO to use the global
14734 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14738 MP3HALFS static const.
14740 2013-01-01 David S. Miller <davem@davemloft.net>
14742 * po/ca.po: Update from translation team.
14744 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14746 * scripts/update-copyrights: New file.
14747 * Makeconfig: Reformat copyright notice.
14748 * ctype/ctype.h: Likewise.
14749 * debug/swprintf_chk.c: Likewise.
14750 * elf/dl-cache.c: Likewise.
14751 * elf/dl-debug.c: Likewise.
14752 * elf/dl-object.c: Likewise.
14753 * grp/initgroups.c: Likewise.
14754 * hurd/Makefile: Likewise.
14755 * hurd/hurd/signal.h: Likewise.
14756 * hurd/hurdfault.c: Likewise.
14757 * hurd/hurdioctl.c: Likewise.
14758 * hurd/hurdlookup.c: Likewise.
14759 * hurd/intr-msg.c: Likewise.
14760 * iconv/gconv_open.c: Likewise.
14761 * libio/swprintf.c: Likewise.
14762 * locale/lc-ctype.c: Likewise.
14763 * locale/nl_langinfo.c: Likewise.
14764 * mach/Machrules: Likewise.
14765 * mach/Makefile: Likewise.
14766 * malloc/obstack.h: Likewise.
14767 * manual/Makefile: Likewise.
14768 * manual/tsort.awk: Likewise.
14769 * misc/bits/stab.def: Likewise.
14770 * nis/nis_print_group_entry.c: Likewise.
14771 * nis/nis_table.c: Likewise.
14772 * nis/nss_compat/compat-pwd.c: Likewise.
14773 * nis/nss_compat/compat-spwd.c: Likewise.
14774 * po/Makefile: Likewise.
14775 * posix/fnmatch.c: Likewise.
14776 * posix/regex.h: Likewise.
14777 * resolv/Makefile: Likewise.
14778 * resolv/nss_dns/dns-network.c: Likewise.
14779 * resolv/res_hconf.c: Likewise.
14780 * scripts/gen-sorted.awk: Likewise.
14781 * soft-fp/soft-fp.h: Likewise.
14782 * stdio-common/printf.h: Likewise.
14783 * stdlib/monetary.h: Likewise.
14784 * stdlib/random.c: Likewise.
14785 * stdlib/random_r.c: Likewise.
14786 * sysdeps/generic/Makefile: Likewise.
14787 * sysdeps/gnu/Makefile: Likewise.
14788 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14816 * sysdeps/mach/hurd/errnos.awk: Likewise.
14817 * sysdeps/mach/hurd/fork.c: Likewise.
14818 * sysdeps/mach/hurd/getcwd.c: Likewise.
14819 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14820 * sysdeps/mach/hurd/mmap.c: Likewise.
14821 * sysdeps/mach/hurd/utimes.c: Likewise.
14822 * sysdeps/mach/hurd/xmknod.c: Likewise.
14823 * sysdeps/posix/profil.c: Likewise.
14824 * sysdeps/posix/readdir_r.c: Likewise.
14825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14826 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14827 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14831 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14836 * sysdeps/pthread/lio_listio.c: Likewise.
14837 * sysdeps/sparc/dl-procinfo.h: Likewise.
14838 * sysdeps/unix/i386/sysdep.S: Likewise.
14839 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14840 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14841 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14842 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14844 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14845 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14846 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14847 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14848 * sysdeps/wordsize-32/divdi3.c: Likewise.
14849 * time/sys/time.h: Likewise.
14850 * wcsmbs/Makefile: Likewise.
14852 2013-01-01 David S. Miller <davem@davemloft.net>
14854 * po/fr.po: Update from translation team.
14856 * catgets/gencat.c: Update copyright year.
14857 * csu/version.c: Likewise.
14858 * debug/catchsegv.sh: Likewise.
14859 * debug/pcprofiledump.c: Likewise.
14860 * debug/xtrace.sh: Likewise.
14861 * elf/ldconfig.c: Likewise.
14862 * elf/ldd.bash.in: Likewise.
14863 * elf/pldd.c: Likewise.
14864 * elf/sotruss.ksh: Likewise.
14865 * elf/sprof.c: Likewise.
14866 * iconv/iconv_prog.c: Likewise.
14867 * iconv/iconvconfig.c: Likewise.
14868 * locale/programs/locale.c: Likewise.
14869 * locale/programs/localedef.c: Likewise.
14870 * login/programs/pt_chown.c: Likewise.
14871 * malloc/memusage.sh: Likewise.
14872 * malloc/memusagestat.c: Likewise.
14873 * malloc/mtrace.pl: Likewise.
14874 * nscd/nscd.c: Likewise.
14875 * nss/getent.c: Likewise.
14876 * nss/makedb.c: Likewise.
14877 * posix/getconf.c: Likewise.
14879 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14881 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14884 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14886 * math/bits/mathcalls.h (modf): Use __nonnull.
14888 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14890 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14891 (split): Use macro CN instead of the bare value.
14892 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14895 instead of the bare value.
14896 (power1): Likewise.
14898 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14904 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14908 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14909 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14911 2012-12-28 Andreas Jaeger <aj@suse.de>
14913 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14914 values are from Linux 3.7.
14916 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14917 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14919 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14921 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14924 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14926 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14927 variables with preprocessor constants.
14928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14929 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14932 2012-12-27 Bruno Haible <bruno@clisp.org>
14935 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14938 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14941 and use variable directly.
14942 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14951 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14952 include directive. Remove local variable MPONE.
14953 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14954 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14957 2012-12-25 David S. Miller <davem@davemloft.net>
14959 * version.h (RELEASE): Set to "development".
14960 (VERSION): Set to "2.17.90".
14961 * NEWS: Add 2.18 section.
14963 2012-12-21 David S. Miller <davem@davemloft.net>
14965 * po/hr.po: Update from translation team.
14967 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14969 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14971 2012-12-19 Steve Ellcey <sellcey@mips.com>
14973 * NEWS: Mention new memcpy for MIPS.
14975 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14977 * manual/contrib.texi (Contributors): Spelling correction.
14979 2012-12-15 David S. Miller <davem@davemloft.net>
14981 * po/ru.po: Update from translation team.
14983 2012-12-13 David S. Miller <davem@davemloft.net>
14985 * NEWS: Mention IFUNC testsuite enhancements.
14987 * po/pl.po: Update from translation team.
14988 * po/bg.po: Likewise.
14990 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14991 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14993 2012-12-11 David S. Miller <davem@davemloft.net>
14995 * po/sv.po: Update from translation team.
14997 * po/vi.po: Update from translation team.
14999 * po/cs.po: Update from translation team.
15001 * po/de.po: Update from translation team.
15002 * po/eo.po: Likewise.
15003 * po/nl.po: Likewise.
15005 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15008 * manual/argp.texi (Argp Helper Functions): Move node to follow
15009 Argp Parsing State.
15012 * manual/conf.texi (Limits on File System Capacity): Mention if
15013 terminating null is included in the max size.
15015 2012-12-10 Andreas Jaeger <aj@suse.de>
15017 * po/cs.po: Update from translation team.
15019 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15021 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15022 void pointer and cast to uintptr_t.
15023 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15025 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15026 * sysdeps/s390/s390-64/memset.S: Likewise.
15028 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15031 * menual/message.texi (Message Translation): Fix typos.
15032 (Helper programs for gettext): Likewise.
15034 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15037 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15040 2012-12-07 David S. Miller <davem@davemloft.net>
15042 * po/libc.pot: Update.
15044 2012-12-07 Richard Henderson <rth@redhat.com>
15047 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15048 normal/normal case to before the switch.
15049 (_FP_DIV): Likewise.
15051 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15052 Mike Frysinger <vapier@gentoo.org>
15054 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15055 check for __NR_fadvise64_64.
15057 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15059 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15060 0, not just to plain "0" as a statement.
15061 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15064 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15066 * NEWS: Use sourceware.org in Bugzilla URL.
15068 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15073 * stdio-common/tst-put-error.c (do_test): Add newline to the
15074 padded test to ensure flush.
15076 2012-12-05 Jeff Law <law@redhat.com>
15078 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15080 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15082 * README: Don't refer to ports add-on as distributed separately.
15083 Mention AArch64 in list of systems supported in the ports add-on.
15085 * LICENSES: Add more non-FSF copyright and license notices.
15087 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15092 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15093 10000 as width of padded output.
15095 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15097 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15100 variable LX with __attribute__ ((unused)).
15101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15106 with __attribute__ ((unused)).
15108 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15110 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15112 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15114 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15115 (CFLAGS-nldbl-acos.c): New variable.
15116 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15200 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15201 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15202 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15203 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15204 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15205 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15206 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15207 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15208 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15209 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15210 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15211 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15212 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15215 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15219 whole low double instead of just low 47 bits when splitting values
15222 2012-12-03 Allan McRae <allan@archlinux.org>
15224 * manual/stdio.texi (Predefined Printf Handlers): Remove
15225 @hsep and @vsep usage.
15227 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15229 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15230 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15232 2012-12-03 Jeff Law <law@redhat.com>
15234 * time/sys/time.h (settimeofday): Do not mark TV argument
15237 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15239 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15240 when currently writing and seek to current position when not.
15241 * libio/Makefile (tests): Remove bug-fclose1.
15242 * libio/bug-fclose1.c: Delete.
15244 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15246 * manual/arith.texi (feenableexcept): Fix typo.
15247 (fedisableexcept): Likewise.
15249 2012-11-30 Roland McGrath <roland@hack.frob.com>
15251 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15252 second, differently-typed declaration, rather than a cast.
15254 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15256 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15257 * include/rpc/svc.h: ... here.
15259 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15262 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15263 depending n and resplen2 to catch cases where answer
15266 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15269 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15271 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15275 2012-11-29 Roland McGrath <roland@hack.frob.com>
15277 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15279 2012-11-28 Jeff Law <law@redhat.com>
15282 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15283 dataset_temporary. Track alloca usage into alloca_used.
15284 If dataset is large allocate and release it via malloc/free.
15286 2012-06-04 Florian Weimer <fweimer@redhat.com>
15289 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15291 2012-11-28 David S. Miller <davem@davemloft.net>
15293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15295 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15299 of pi/2 rounded to nearest to 64 bits.
15300 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15301 nearest to 64 bits.
15302 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15305 2012-11-28 Jeff Law <law@redhat.com>
15306 Martin Osvald <mosvald@redhat.com>
15309 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15310 * sunrpc/svc.c: Include time.h.
15311 (__svc_accept_failed): New function.
15312 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15313 any reason other than EINTR, call __svc_accept_failed.
15314 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15315 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15317 2012-11-28 Andreas Schwab <schwab@suse.de>
15319 * scripts/abilist.awk: Also handle indirect functions in .opd
15322 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15325 * sysdeps/x86/fpu/powl_helper.c: New file.
15326 * sysdeps/x86/fpu/Makefile: Likewise.
15327 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15329 (__ieee754_powl): Use __powl_helper for finite arguments except
15330 integer exponents below 8.
15331 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15333 (__ieee754_powl): Use __powl_helper for finite arguments except
15334 integer exponents below 8.
15335 * math/libm-test.inc (pow_test): Add more tests and enable some
15336 previously disabled tests.
15337 * sysdeps/i386/fpu/libm-test-ulps: Update.
15338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15340 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 Carlos O'Donell <carlos_odonell@mentor.com>
15343 * nss/makedb.c (is_prime): Assert that input is odd and greater
15344 than 4. Note that fact in a comment too.
15345 (next_prime): Add 4 to input.
15347 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15350 * libio/Makefile (tests): Add test case tst-fwrite-error.
15351 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15352 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15353 * libio/tst-fwrite-error.c: New test case.
15355 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15357 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15358 before casting to void *.
15359 * include/libc-internal.h (__pointer_type): New macro.
15360 (__integer_if_pointer_type_sub): Likewise.
15361 (__integer_if_pointer_type): Likewise.
15362 (cast_to_integer): Likewise.
15363 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15364 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15365 before casting to atomic64_t.
15366 (atomic_exchange_acq): Likewise.
15367 (__arch_exchange_and_add_body): Likewise.
15368 (__arch_add_body): Likewise.
15369 (atomic_add_negative): Likewise.
15370 (atomic_add_zero): Likewise.
15372 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15374 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15375 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15376 (add_fdes): Likewise.
15377 (linear_search_fdes): Likewise.
15378 (binary_search_unencoded_fdes): Likewise.
15380 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15382 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15384 2012-11-24 Adam Conrad <adconrad@0c3.net>
15386 * configure.in: Autodetect C++ header directories.
15387 * configure: Regenerated.
15389 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15391 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15393 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15397 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15399 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15400 LDBL_MANT_DIG == 106]: Disable some tests.
15401 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15403 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15408 input for small inputs. Return +/- pi/2 for large inputs.
15409 * math/libm-test.inc (atan_test): Add more tests.
15411 * sysdeps/generic/unwind-dw2-fde-glibc.c
15412 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15413 __attribute__ ((unused)).
15416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15417 x * y if x and y are nonzero and z is zero.
15420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15421 nonzero exponents with absolute value below 0x1p-117 to +/-
15425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15426 up arguments below 2**-450, not just those below 2**-500.
15427 * math/libm-test.inc (hypot_test): Add another test.
15430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15431 Return a+b for ratio over 2**120, not 2**60.
15432 * math/libm-test.inc (hypot_test): Add another test.
15434 * math/libm-test.inc (clog_test): Use
15435 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15436 (clog10_test): Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15441 2012-11-22 Andreas Schwab <schwab@suse.de>
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15445 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15447 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15448 printf output with newline.
15450 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15453 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15454 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15455 -z nodlopen, -z initfirst and -z execstack support.
15456 * configure: Regenerated.
15458 * elf/elf.h (DF_1_NODIRECT): New macro.
15459 (DF_1_IGNMULDEF): Likewise.
15460 (DF_1_NOKSYMS): Likewise.
15461 (DF_1_NOHDR): Likewise.
15462 (DF_1_EDITED): Likewise.
15463 (DF_1_NORELOC): Likewise.
15464 (DF_1_SYMINTPOSE): Likewise.
15465 (DF_1_GLOBAUDIT): Likewise.
15466 (DF_1_SINGLETON): Likewise.
15467 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15468 DT_1_SUPPORTED_MASK bits.
15469 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15471 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15473 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15475 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15477 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15480 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15481 (sendmmsg): Move declarations...
15482 * socket/sys/socket.h: ... here.
15483 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15484 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15486 * socket/recvmmsg.c: ... this new file.
15487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15488 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15489 definition of __sendmmsg hidden.
15490 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15491 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15492 Move ENOSYS stub into and include it from...
15493 * socket/sendmmsg.c: ... this new file.
15494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15495 (sysdep_routines): Move recvmmsg and sendmmsg...
15496 * socket/Makefile (routines): ... here.
15497 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15498 (GLIBC_PRIVATE): Add __sendmmsg.
15499 * include/sys/socket.h (__sendmmsg): Add declarations.
15500 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15503 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15506 variable I1 with __attribute__ ((unused)).
15507 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15509 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15511 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15512 DUMMY variables with __attribute__ ((unused)).
15514 * bits/byteswap.h: Include <bits/types.h>.
15515 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15517 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15519 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15520 string_t. Do not manually set errno.
15521 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15522 length with __strnlen. Make sure to both set errno and return it on
15525 2012-11-19 David S. Miller <davem@davemloft.net>
15527 With help from Joseph Myers.
15528 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15529 very large arguments properly.
15530 * math/libm-test.inc (atan_test): New tests.
15531 (atan2_test): New tests.
15532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15535 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15538 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15541 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15542 [POSIX] (EADDRNOTAVAIL): Likewise.
15543 [POSIX] (EAFNOSUPPORT): Likewise.
15544 [POSIX] (EALREADY): Likewise.
15545 [POSIX] (ECONNABORTED): Likewise.
15546 [POSIX] (ECONNREFUSED): Likewise.
15547 [POSIX] (ECONNRESET): Likewise.
15548 [POSIX] (EDESTADDRREQ): Likewise.
15549 [POSIX] (EDQUOT): Likewise.
15550 [POSIX] (EHOSTUNREACH): Likewise.
15551 [POSIX] (EIDRM): Likewise.
15552 [POSIX] (EISCONN): Likewise.
15553 [POSIX] (ELOOP): Likewise.
15554 [POSIX] (EMULTIHOP): Likewise.
15555 [POSIX] (ENETDOWN): Likewise.
15556 [POSIX] (ENETUNREACH): Likewise.
15557 [POSIX] (ENOBUFS): Likewise.
15558 [POSIX] (ENODATA): Likewise.
15559 [POSIX] (ENOLINK): Likewise.
15560 [POSIX] (ENOMSG): Likewise.
15561 [POSIX] (ENOPROTOOPT): Likewise.
15562 [POSIX] (ENOSR): Likewise.
15563 [POSIX] (ENOSTR): Likewise.
15564 [POSIX] (ENOTCONN): Likewise.
15565 [POSIX] (ENOTSOCK): Likewise.
15566 [POSIX] (EOPNOTSUPP): Likewise.
15567 [POSIX] (EOVERFLOW): Likewise.
15568 [POSIX] (EPROTO): Likewise.
15569 [POSIX] (EPROTONOSUPPORT): Likewise.
15570 [POSIX] (EPROTOTYPE): Likewise.
15571 [POSIX] (ESTALE): Likewise.
15572 [POSIX] (ETIME): Likewise.
15573 [POSIX] (ETXTBSY): Likewise.
15574 [POSIX] (EWOULDBLOCK): Likewise.
15575 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15576 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15577 [POSIX] (SEEK_CUR): Likewise.
15578 [POSIX] (SEEK_END): Likewise.
15579 [POSIX || UNIX98] (mode_t): Do not require.
15580 [POSIX] (off_t): Likewise.
15581 [POSIX] (pid_t): Likewise.
15582 [POSIX] (sys/stat.h): Do not allow header.
15583 [POSIX] (unistd.h): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15585 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15587 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15589 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15590 sigevent): Specify elements.
15591 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15593 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15594 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15596 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15597 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15598 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15599 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15600 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15601 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15602 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15603 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15605 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15606 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15607 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15608 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15617 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15619 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15622 Specify lower bound on value.
15623 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15629 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15651 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15653 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15665 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15672 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15673 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15674 specify as optional.
15675 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15678 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15679 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15680 [XPG3] (NL_LANGMAX): Likewise.
15681 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15682 [POSIX || XPG3] (NL_NMAX): Likewise.
15683 [POSIX || XPG3] (NL_SETMAX): Likewise.
15684 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15685 [XPG3] (NZERO): Likewise.
15686 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15687 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15688 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15689 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15690 (REG_ERANGE): Expect.
15691 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15693 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15694 Use (void) in prototype.
15695 [POSIX] (*_t): Allow.
15696 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15697 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15698 (WRDE_BADVAL): Expect.
15700 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15702 [XPG3 || XPG4] (O_RSYNC): Likewise.
15703 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15705 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15706 [XPG3 || XPG4] (sigqueue): Likewise.
15707 [XPG3 || XPG4] (sigtimedwait): Likewise.
15708 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15709 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15710 [XPG3 || XPG4] (vsnprintf): Likewise.
15711 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15713 [XPG3 || XPG4] (blksize_t): Likewise.
15714 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15716 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15717 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15718 [XPG3 || XPG4] (struct itimerspec): Likewise.
15719 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15720 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15721 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15722 [XPG3 || XPG4] (clockid_t): Likewise.
15723 [XPG3 || XPG4] (timer_t): Likewise.
15724 [XPG3 || XPG4] (clock_getres): Likewise.
15725 [XPG3 || XPG4] (clock_gettime): Likewise.
15726 [XPG3 || XPG4] (clock_settime): Likewise.
15727 [XPG3 || XPG4] (nanosleep): Likewise.
15728 [XPG3 || XPG4] (timer_create): Likewise.
15729 [XPG3 || XPG4] (timer_delete): Likewise.
15730 [XPG3 || XPG4] (timer_gettime): Likewise.
15731 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15732 [XPG3 || XPG4] (timer_settime): Likewise.
15733 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15734 [XPG3 || XPG4] (getlogin_r): Likewise.
15735 [XPG3 || XPG4] (pread): Likewise.
15736 [XPG3 || XPG4] (pthread_atfork): Likewise.
15737 [XPG3 || XPG4] (pwrite): Likewise.
15740 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15743 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15745 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15746 finalizing MALLSTREAM.
15748 * sysdeps/mach/hurd/syncfs.c: New file.
15750 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15754 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15756 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15757 (_nss_dns_gethostbyname4_r): Likewise.
15758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15759 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15761 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15764 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15766 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15768 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15769 * elf/cache.c (print_entry): Print ",AArch64" for
15772 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15773 * elf/cache.c (print_entry): Print ",hard-float" for
15776 2012-11-18 David S. Miller <davem@davemloft.net>
15778 With help from Joseph Myers.
15779 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15781 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15783 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15784 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15787 * math/libm-test.inc (y0_test): New tests.
15788 (y1_test): New tests.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15793 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15795 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15797 * configure: Regenerated.
15799 2012-11-17 David S. Miller <davem@davemloft.net>
15802 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15803 nonzero exponents with absolute value below 0x1p-128 to +/-
15806 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15808 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15810 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15812 * posix/getconf-speclist.c: New file.
15813 * posix/posix-envs.def: Likewise.
15814 * posix/confstr.c (START_ENV_GROUP): New macro.
15815 (END_ENV_GROUP): Likewise.
15816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15817 (KNOWN_PRESENT_ENV_STRING): Likewise.
15818 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15819 (UNKNOWN_ENVIRONMENT): Likewise.
15820 (confstr): Include posix-envs.def instead of handling
15821 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15822 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15823 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15824 (END_ENV_GROUP): Likewise.
15825 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15826 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15827 (UNKNOWN_ENVIRONMENT): Likewise.
15828 (__sysconf): Include posix-envs.def instead of handling associated
15829 cases directly here.
15830 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15831 preprocessing getconf-speclist.c rather than running getconf or
15832 generating empty file.
15834 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15836 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15838 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15841 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15843 2012-11-16 David S. Miller <davem@davemloft.net>
15845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15846 smaller than LDBL_EPSILON/2.0L, just return xm1.
15848 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15850 * elf/tst-array1.c (init): Set constructor priority to 1000.
15851 (fini): Set destructor priority to 1000.
15852 * elf/tst-array2dep.c: Likewise.
15854 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15857 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15858 (_IO_new_file_xsputn): Also return EOF if none of the input
15859 data was written when overflow failed.
15860 * libio/iopadn.c (_IO_padn): Likewise.
15861 * libio/iowpadn.c (_IO_wpadn): Likewise.
15862 * stdio-common/tst-put-error.c: Add copyright notice.
15863 (do_test): Add case for printing padded string.
15864 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15865 _IO_padn returned error.
15866 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15867 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15870 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15872 * libio/libioP.h: Add comment note that the references to C++
15873 bits are now obsolete.
15875 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15877 * math/libm-test.inc (check_complex): Use asprintf.
15879 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15881 * debug/pcprofiledump.c (print_version): Update copyright year.
15882 * malloc/memusagestat.c (print_version): Likewise.
15884 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15887 * elf/Makefile (tests): Add tst-audit8.
15888 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15889 ($(objpfx)tst-audit8.out): New target.
15890 (tst-audit8-ENV): New variable.
15891 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15892 audit if l_reloc_result is NULL.
15893 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15894 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15895 * elf/tst-audit8.c: New file.
15897 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15899 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15900 * misc/Makefile (CFLAGS-select.c): Define.
15901 * posix/Makefile (CFLAGS-pause.c): Define.
15903 2012-11-13 David S. Miller <davem@davemloft.net>
15905 * crypt/Makefile: Move test targets after toplevel Rules
15906 inclusion. Grab any necessary sysdep routines when linking.
15907 * crypt/md5.c (md5_process_block): Remove define, we will always
15908 name it __md5_process_block.
15909 (md5_finish_ctx): Update md5_process_block call.
15910 (md5_stream): Likewise.
15911 (md5_process_bytes): Likewise.
15912 (md5_process_block): Rename to __md5_process_block and move to ...
15913 * crypt/md5-block.c: ... here.
15914 * crypt/sha256.c (sha256_process_block): Move to ...
15915 * crypt/sha256-block.c: ... here.
15916 * crypt/sha512.c (sha512_process_block): Move to ...
15917 * crypt/sha512-block.c: ... here.
15918 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15920 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15921 * sysdeps/sparc/sparc64/multiarch/Makefile
15922 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15924 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15925 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15927 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15928 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15929 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15930 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15931 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15932 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15933 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15934 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15942 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15944 * timezone/tzselect.ksh: Update from tzcode git revision
15945 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15946 * timezone/zdump.c: Likewise.
15947 * timezone/zic.c: Likewise.
15948 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15949 in TZVERSION setting, not $(PKGVERSION).
15950 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15951 REPORT_BUGS_TO settings.
15954 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15957 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15959 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15960 detection to immediately after _FP_ROUND().
15961 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15964 2012-11-11 David S. Miller <davem@davemloft.net>
15966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15968 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15969 __close rather than their public counterparts.
15971 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15973 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15975 [UNIX98] (sem_timedwait): Do not expect.
15976 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15977 [XPG4 || UNIX98] (sockatmark): Do not expect.
15978 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15979 (clock_getcpuclockid): Do not expect.
15980 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15981 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15983 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15984 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15985 [UNIX98] (vwscanf): Likewise.
15986 [UNIX98] (vswscanf): Likewise.
15988 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15990 * timezone/version.h: Remove file.
15991 * timezone/README: Do not refer to version.h.
15992 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15993 $(objpfx)version.h.
15994 ($(objpfx)zdump.o): Likewise.
15995 ($(objpfx)version.h): New target.
15997 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15999 * timezone/README: Don't mention modification to tzselect.ksh.
16000 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16001 work on unmodified tzselect.ksh. Substitute version numbers in
16004 * Makefile (format-me): Remove.
16005 (INSTALL): Adjust indentation. Use commands directly instead of
16006 using $(format-me).
16008 * aclocal.m4 (ACX_PKGVERSION): New macro.
16009 (ACX_BUGURL): Likewise.
16010 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16011 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16012 (REPORT_BUGS_TO): Likewise.
16013 * configure: Regenerated.
16014 * config.h.in (PKGVERSION): New macro.
16015 (REPORT_BUGS_TO): Likewise.
16016 * config.make.in (PKGVERSION): New variable.
16017 (PKGVERSION_TEXI): Likewise.
16018 (REPORT_BUGS_TO): Likewise.
16019 (REPORT_BUGS_TEXI): Likewise.
16020 * Makefile (format-me): Use -I$(common-objpfx)manual.
16021 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16022 ($(common-objpfx)manual/%): New target.
16023 (manual/%): Remove target.
16024 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16025 (print_version): Use PKGVERSION.
16026 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16027 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16028 and REPORT_BUGS_TO.
16029 ($(objpfx)xtrace): Likewise.
16030 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16031 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16032 (print_version): Use PKGVERSION.
16033 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16034 (do_version): Use PKGVERSION.
16035 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16037 (common-ldd-rewrite): Likewise.
16038 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16039 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16040 (print_version): Use PKGVERSION.
16041 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16042 * elf/pldd.c (argp_program_bug_address): Remove variable.
16043 (more_help): New function.
16044 (argp): Use more_help.
16045 (print_version): Use PKGVERSION.
16046 * elf/sln.c (main): Use PKGVERSION.
16047 (usage): Use REPORT_BUGS_TO.
16048 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16049 (top level): Use PKGVERSION.
16050 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16051 (print_version): Use PKGVERSION.
16052 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16053 (print_version): Use PKGVERSION.
16054 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16055 (print_version): Use PKGVERSION.
16056 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16057 (print_version): Use PKGVERSION.
16058 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16059 (print_version): Use PKGVERSION.
16060 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16061 (print_version): Use PKGVERSION.
16062 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16064 ($(objpfx)memusage): Likewise.
16065 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16066 (do_version): Use PKGVERSION.
16067 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16068 (print_version): Use PKGVERSION.
16069 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16070 ($PKGVERSION): New variable.
16071 ($REPORT_BUGS_TO): Likewise.
16072 (usage): Use $REPORT_BUGS_TO.
16073 (top level): Use $PKGVERSION.
16074 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16075 ($(objpfx)pkgvers.texi): New rule.
16076 ($(objpfx)stamp-pkgvers): Likewise.
16077 * manual/install.texi: Include pkgvers.texi.
16078 (--with-pkgversion): Document new configure option.
16079 (--with-bugurl): Likewise.
16080 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16081 than necessarily for this particular distribution. Use
16082 REPORT_BUGS_TO for where to report bugs.
16083 * INSTALL: Regenerated.
16084 * manual/libc.texinfo: Include pkgvers.texi.
16085 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16086 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16087 (print_version): Use PKGVERSION.
16088 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16089 (print_version): Use PKGVERSION.
16090 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16091 (print_version): Use PKGVERSION.
16092 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16093 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16095 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16096 (print_version): Use PKGVERSION.
16097 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16098 (print_version): Use PKGVERSION.
16099 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16102 * timezone/checktab.awk: Update from tzcode 2012i.
16103 * timezone/ialloc.c: Likewise.
16104 * timezone/private.h: Likewise.
16105 * timezone/scheck.c: Likewise.
16106 * timezone/tzfile.h: Likewise.
16107 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16108 (TZVERSION): Hardcode tzcode version number.
16109 * timezone/zdump.c: Update from tzcode 2012i.
16110 * timezone/zic.c: Likewise.
16111 * timezone/version.h: New file.
16112 * timezone/README: Describe version.h. Update upstream location.
16115 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16116 (mktemp): Enable declaration.
16117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16134 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16135 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16136 for copies of such integer values.
16137 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16138 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16140 2012-11-09 Andreas Jaeger <aj@suse.de>
16142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16143 definitions and declarations that are provided by
16144 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16146 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16148 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16149 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16150 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16153 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16155 * elf/elf.h: Update comment before AArch64 relocations.
16157 2012-11-07 David S. Miller <davem@davemloft.net>
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16161 (__start_context): Declare.
16162 (__makecontext_ret): Delete.
16163 (__makecontext): Hook up __start_context instead of
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16166 (sysdep_routines): Add __start_context when in stdlib.
16168 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16170 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16171 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16172 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16174 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16175 (READELF): New variable. Use it instead of hardcoded "readelf".
16177 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16179 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16180 * sysdeps/x86/Makefile: Here.
16181 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16182 * sysdeps/x86/tst-xmmymm.sh: This.
16184 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16186 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16188 [UNIX98] (pthread_barrier_t): Do not expect.
16189 [UNIX98] (pthread_barrierattr_t): Likewise.
16190 [UNIX98] (pthread_spinlock_t): Likewise.
16191 [UNIX98] (pthread_barrier_destroy): Likewise.
16192 [UNIX98] (pthread_barrier_init): Likewise.
16193 [UNIX98] (pthread_barrier_wait): Likewise.
16194 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16195 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16196 [UNIX98] (pthread_barrierattr_init): Likewise.
16197 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16198 [UNIX98] (pthread_getcpuclockid): Likewise.
16199 [UNIX98] (pthread_mutex_timedlock): Likewise.
16200 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16201 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16202 [UNIX98] (pthread_sigmask): Likewise.
16203 [UNIX98] (pthread_spin_destroy): Likewise.
16204 [UNIX98] (pthread_spin_init): Likewise.
16205 [UNIX98] (pthread_spin_lock): Likewise.
16206 [UNIX98] (pthread_spin_trylock): Likewise.
16207 [UNIX98] (pthread_spin_unlock): Likewise.
16208 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16210 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16212 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16213 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16214 [XPG3 || XPG4] (pthread_key_t): Likewise.
16215 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16216 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16217 [XPG3 || XPG4] (pthread_once_t): Likewise.
16218 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16219 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16221 [XPG3 || XPG4] (pthread_t): Likewise.
16223 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16225 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16227 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16228 Change function return type to int.
16230 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16231 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16232 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16233 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16234 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16235 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16236 [!POSIX] (posix_madvise): Likewise.
16237 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16239 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16240 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16241 (mode_t): Likewise.
16242 (posix_mem_offset): Likewise.
16243 (posix_typed_mem_get_info): Likewise.
16244 (posix_typed_mem_open): Likewise.
16246 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16247 Change condition to [XOPEN2K8].
16249 * conform/conformtest.pl: Preprocess allow-header data with -x c
16250 instead of from stdin.
16251 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16252 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16253 [C99-based standards] (cerfc): Likewise.
16254 [C99-based standards] (cexp2): Likewise.
16255 [C99-based standards] (cexpm1): Likewise.
16256 [C99-based standards] (clog10): Likewise.
16257 [C99-based standards] (clog1p): Likewise.
16258 [C99-based standards] (clog2): Likewise.
16259 [C99-based standards] (clgamma): Likewise.
16260 [C99-based standards] (ctgamma): Likewise.
16261 [C99-based standards] (cerff): Likewise.
16262 [C99-based standards] (cerfcf): Likewise.
16263 [C99-based standards] (cexp2f): Likewise.
16264 [C99-based standards] (cexpm1f): Likewise.
16265 [C99-based standards] (clog10f): Likewise.
16266 [C99-based standards] (clog1pf): Likewise.
16267 [C99-based standards] (clog2f): Likewise.
16268 [C99-based standards] (clgammaf): Likewise.
16269 [C99-based standards] (ctgammaf): Likewise.
16270 [C99-based standards] (cerfl): Likewise.
16271 [C99-based standards] (cerfcl): Likewise.
16272 [C99-based standards] (cexp2l): Likewise.
16273 [C99-based standards] (cexpm1l): Likewise.
16274 [C99-based standards] (clog10l): Likewise.
16275 [C99-based standards] (clog1pl): Likewise.
16276 [C99-based standards] (clog2l): Likewise.
16277 [C99-based standards] (clgammal): Likewise.
16278 [C99-based standards] (ctgammal): Likewise.
16279 * conform/data/inttypes.h-data [C99-based standards]: Include
16280 stdint.h-data. Remove all expectations for stdint.h contents.
16281 [C99-based standards] (PRI*): Do not allow.
16282 [C99-based standards] (SCN*): Likewise.
16283 [C99-based standards] (*_t): Likewise.
16284 [C99-based-standards] (PRId8): Expect macro.
16285 [C99-based-standards] (PRIi8): Likewise.
16286 [C99-based-standards] (PRIo8): Likewise.
16287 [C99-based-standards] (PRIu8): Likewise.
16288 [C99-based-standards] (PRIx8): Likewise.
16289 [C99-based-standards] (PRIX8): Likewise.
16290 [C99-based-standards] (SCNd8): Likewise.
16291 [C99-based-standards] (SCNi8): Likewise.
16292 [C99-based-standards] (SCNo8): Likewise.
16293 [C99-based-standards] (SCNu8): Likewise.
16294 [C99-based-standards] (SCNx8): Likewise.
16295 [C99-based-standards] (PRIdLEAST8): Likewise.
16296 [C99-based-standards] (PRIiLEAST8): Likewise.
16297 [C99-based-standards] (PRIoLEAST8): Likewise.
16298 [C99-based-standards] (PRIuLEAST8): Likewise.
16299 [C99-based-standards] (PRIxLEAST8): Likewise.
16300 [C99-based-standards] (PRIXLEAST8): Likewise.
16301 [C99-based-standards] (SCNdLEAST8): Likewise.
16302 [C99-based-standards] (SCNiLEAST8): Likewise.
16303 [C99-based-standards] (SCNoLEAST8): Likewise.
16304 [C99-based-standards] (SCNuLEAST8): Likewise.
16305 [C99-based-standards] (SCNxLEAST8): Likewise.
16306 [C99-based-standards] (PRIdFAST8): Likewise.
16307 [C99-based-standards] (PRIiFAST8): Likewise.
16308 [C99-based-standards] (PRIoFAST8): Likewise.
16309 [C99-based-standards] (PRIuFAST8): Likewise.
16310 [C99-based-standards] (PRIxFAST8): Likewise.
16311 [C99-based-standards] (PRIXFAST8): Likewise.
16312 [C99-based-standards] (SCNdFAST8): Likewise.
16313 [C99-based-standards] (SCNiFAST8): Likewise.
16314 [C99-based-standards] (SCNoFAST8): Likewise.
16315 [C99-based-standards] (SCNuFAST8): Likewise.
16316 [C99-based-standards] (SCNxFAST8): Likewise.
16317 [C99-based-standards] (PRId16): Likewise.
16318 [C99-based-standards] (PRIi16): Likewise.
16319 [C99-based-standards] (PRIo16): Likewise.
16320 [C99-based-standards] (PRIu16): Likewise.
16321 [C99-based-standards] (PRIx16): Likewise.
16322 [C99-based-standards] (PRIX16): Likewise.
16323 [C99-based-standards] (SCNd16): Likewise.
16324 [C99-based-standards] (SCNi16): Likewise.
16325 [C99-based-standards] (SCNo16): Likewise.
16326 [C99-based-standards] (SCNu16): Likewise.
16327 [C99-based-standards] (SCNx16): Likewise.
16328 [C99-based-standards] (PRIdLEAST16): Likewise.
16329 [C99-based-standards] (PRIiLEAST16): Likewise.
16330 [C99-based-standards] (PRIoLEAST16): Likewise.
16331 [C99-based-standards] (PRIuLEAST16): Likewise.
16332 [C99-based-standards] (PRIxLEAST16): Likewise.
16333 [C99-based-standards] (PRIXLEAST16): Likewise.
16334 [C99-based-standards] (SCNdLEAST16): Likewise.
16335 [C99-based-standards] (SCNiLEAST16): Likewise.
16336 [C99-based-standards] (SCNoLEAST16): Likewise.
16337 [C99-based-standards] (SCNuLEAST16): Likewise.
16338 [C99-based-standards] (SCNxLEAST16): Likewise.
16339 [C99-based-standards] (PRIdFAST16): Likewise.
16340 [C99-based-standards] (PRIiFAST16): Likewise.
16341 [C99-based-standards] (PRIoFAST16): Likewise.
16342 [C99-based-standards] (PRIuFAST16): Likewise.
16343 [C99-based-standards] (PRIxFAST16): Likewise.
16344 [C99-based-standards] (PRIXFAST16): Likewise.
16345 [C99-based-standards] (SCNdFAST16): Likewise.
16346 [C99-based-standards] (SCNiFAST16): Likewise.
16347 [C99-based-standards] (SCNoFAST16): Likewise.
16348 [C99-based-standards] (SCNuFAST16): Likewise.
16349 [C99-based-standards] (SCNxFAST16): Likewise.
16350 [C99-based-standards] (PRId32): Likewise.
16351 [C99-based-standards] (PRIi32): Likewise.
16352 [C99-based-standards] (PRIo32): Likewise.
16353 [C99-based-standards] (PRIu32): Likewise.
16354 [C99-based-standards] (PRIx32): Likewise.
16355 [C99-based-standards] (PRIX32): Likewise.
16356 [C99-based-standards] (SCNd32): Likewise.
16357 [C99-based-standards] (SCNi32): Likewise.
16358 [C99-based-standards] (SCNo32): Likewise.
16359 [C99-based-standards] (SCNu32): Likewise.
16360 [C99-based-standards] (SCNx32): Likewise.
16361 [C99-based-standards] (PRIdLEAST32): Likewise.
16362 [C99-based-standards] (PRIiLEAST32): Likewise.
16363 [C99-based-standards] (PRIoLEAST32): Likewise.
16364 [C99-based-standards] (PRIuLEAST32): Likewise.
16365 [C99-based-standards] (PRIxLEAST32): Likewise.
16366 [C99-based-standards] (PRIXLEAST32): Likewise.
16367 [C99-based-standards] (SCNdLEAST32): Likewise.
16368 [C99-based-standards] (SCNiLEAST32): Likewise.
16369 [C99-based-standards] (SCNoLEAST32): Likewise.
16370 [C99-based-standards] (SCNuLEAST32): Likewise.
16371 [C99-based-standards] (SCNxLEAST32): Likewise.
16372 [C99-based-standards] (PRIdFAST32): Likewise.
16373 [C99-based-standards] (PRIiFAST32): Likewise.
16374 [C99-based-standards] (PRIoFAST32): Likewise.
16375 [C99-based-standards] (PRIuFAST32): Likewise.
16376 [C99-based-standards] (PRIxFAST32): Likewise.
16377 [C99-based-standards] (PRIXFAST32): Likewise.
16378 [C99-based-standards] (SCNdFAST32): Likewise.
16379 [C99-based-standards] (SCNiFAST32): Likewise.
16380 [C99-based-standards] (SCNoFAST32): Likewise.
16381 [C99-based-standards] (SCNuFAST32): Likewise.
16382 [C99-based-standards] (SCNxFAST32): Likewise.
16383 [C99-based-standards] (PRId64): Likewise.
16384 [C99-based-standards] (PRIi64): Likewise.
16385 [C99-based-standards] (PRIo64): Likewise.
16386 [C99-based-standards] (PRIu64): Likewise.
16387 [C99-based-standards] (PRIx64): Likewise.
16388 [C99-based-standards] (PRIX64): Likewise.
16389 [C99-based-standards] (SCNd64): Likewise.
16390 [C99-based-standards] (SCNi64): Likewise.
16391 [C99-based-standards] (SCNo64): Likewise.
16392 [C99-based-standards] (SCNu64): Likewise.
16393 [C99-based-standards] (SCNx64): Likewise.
16394 [C99-based-standards] (PRIdLEAST64): Likewise.
16395 [C99-based-standards] (PRIiLEAST64): Likewise.
16396 [C99-based-standards] (PRIoLEAST64): Likewise.
16397 [C99-based-standards] (PRIuLEAST64): Likewise.
16398 [C99-based-standards] (PRIxLEAST64): Likewise.
16399 [C99-based-standards] (PRIXLEAST64): Likewise.
16400 [C99-based-standards] (SCNdLEAST64): Likewise.
16401 [C99-based-standards] (SCNiLEAST64): Likewise.
16402 [C99-based-standards] (SCNoLEAST64): Likewise.
16403 [C99-based-standards] (SCNuLEAST64): Likewise.
16404 [C99-based-standards] (SCNxLEAST64): Likewise.
16405 [C99-based-standards] (PRIdFAST64): Likewise.
16406 [C99-based-standards] (PRIiFAST64): Likewise.
16407 [C99-based-standards] (PRIoFAST64): Likewise.
16408 [C99-based-standards] (PRIuFAST64): Likewise.
16409 [C99-based-standards] (PRIxFAST64): Likewise.
16410 [C99-based-standards] (PRIXFAST64): Likewise.
16411 [C99-based-standards] (SCNdFAST64): Likewise.
16412 [C99-based-standards] (SCNiFAST64): Likewise.
16413 [C99-based-standards] (SCNoFAST64): Likewise.
16414 [C99-based-standards] (SCNuFAST64): Likewise.
16415 [C99-based-standards] (SCNxFAST64): Likewise.
16416 [C99-based-standards] (PRIdMAX): Likewise.
16417 [C99-based-standards] (PRIiMAX): Likewise.
16418 [C99-based-standards] (PRIoMAX): Likewise.
16419 [C99-based-standards] (PRIuMAX): Likewise.
16420 [C99-based-standards] (PRIxMAX): Likewise.
16421 [C99-based-standards] (PRIXMAX): Likewise.
16422 [C99-based-standards] (SCNdMAX): Likewise.
16423 [C99-based-standards] (SCNiMAX): Likewise.
16424 [C99-based-standards] (SCNoMAX): Likewise.
16425 [C99-based-standards] (SCNuMAX): Likewise.
16426 [C99-based-standards] (SCNxMAX): Likewise.
16427 [C99-based-standards] (PRIdPTR): Likewise.
16428 [C99-based-standards] (PRIiPTR): Likewise.
16429 [C99-based-standards] (PRIoPTR): Likewise.
16430 [C99-based-standards] (PRIuPTR): Likewise.
16431 [C99-based-standards] (PRIxPTR): Likewise.
16432 [C99-based-standards] (PRIXPTR): Likewise.
16433 [C99-based-standards] (SCNdPTR): Likewise.
16434 [C99-based-standards] (SCNiPTR): Likewise.
16435 [C99-based-standards] (SCNoPTR): Likewise.
16436 [C99-based-standards] (SCNuPTR): Likewise.
16437 [C99-based-standards] (SCNxPTR): Likewise.
16438 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16440 * conform/data/stdint.h-data: Update comments to clarify
16442 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16444 [C99-based standards] (INT8_MAX): Likewise.
16445 [C99-based standards] (INT16_MIN): Likewise.
16446 [C99-based standards] (INT16_MAX): Likewise.
16447 [C99-based standards] (INT32_MIN): Likewise.
16448 [C99-based standards] (INT32_MAX): Likewise.
16449 [C99-based standards] (INT64_MIN): Likewise.
16450 [C99-based standards] (INT64_MAX): Likewise.
16451 [C99-based standards] (UINT8_MAX): Likewise.
16452 [C99-based standards] (UINT16_MAX): Likewise.
16453 [C99-based standards] (UINT32_MAX): Likewise.
16454 [C99-based standards] (UINT64_MAX): Likewise.
16455 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16456 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16457 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16458 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16459 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16460 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16461 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16462 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16463 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16464 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16465 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16466 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16467 [C99-based standards] (INT_FAST8_MIN): Likewise.
16468 [C99-based standards] (INT_FAST8_MAX): Likewise.
16469 [C99-based standards] (INT_FAST16_MIN): Likewise.
16470 [C99-based standards] (INT_FAST16_MAX): Likewise.
16471 [C99-based standards] (INT_FAST32_MIN): Likewise.
16472 [C99-based standards] (INT_FAST32_MAX): Likewise.
16473 [C99-based standards] (INT_FAST64_MIN): Likewise.
16474 [C99-based standards] (INT_FAST64_MAX): Likewise.
16475 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16476 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16477 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16478 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16479 [C99-based standards] (INTPTR_MIN): Likewise.
16480 [C99-based standards] (INTPTR_MAX): Likewise.
16481 [C99-based standards] (UINTPTR_MAX): Likewise.
16482 [C99-based standards] (INTMAX_MIN): Likewise.
16483 [C99-based standards] (INTMAX_MAX): Likewise.
16484 [C99-based standards] (UINTMAX_MAX): Likewise.
16485 [C99-based standards] (PTRDIFF_MIN): Likewise.
16486 [C99-based standards] (PTRDIFF_MAX): Likewise.
16487 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16488 [C99-based standards] (SIZE_MAX): Likewise.
16489 [C99-based standards] (WCHAR_MAX): Likewise.
16490 [C99-based standards] (WINT_MAX): Likewise.
16491 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16492 constraint on value.
16493 [C99-based standards] (WCHAR_MIN): Likewise.
16494 [C99-based standards] (WINT_MIN): Likewise.
16495 [C99-based standards] (*_t): Allow.
16496 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16497 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16498 Include math.h-data and complex.h-data. Remove all expectations
16499 of math.h and complex.h contents.
16500 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16502 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16503 (struct tm): Expect tag.
16504 [C99-based-standards] (wcstof): Expect function.
16505 [C99-based-standards] (wcstold): Likewise.
16506 [C99-based-standards] (wcstoll): Likewise.
16507 [C99-based-standards] (wcstoull): Likewise.
16508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16509 macro-int-constant. Specify type.
16510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16511 constraint on value.
16512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16514 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16516 [ISO C standards]: Do not allow headers.
16517 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16518 wcs[abcdefghijklmnopqrstuvwxyz]*.
16519 [ISO C standards] (*_t): Do not allow.
16520 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16522 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16525 [ISO C standards]: Do not allow headers.
16526 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16527 is[abcdefghijklmnopqrstuvwxyz]*.
16528 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16529 to[abcdefghijklmnopqrstuvwxyz]*.
16530 [ISO C standards] (*_t): Do not allow.
16531 * conform/data/stdalign.h-data: New file.
16532 * conform/data/stdbool.h-data: Likewise.
16533 * conform/data/stdnoreturn.h-data: Likewise.
16535 2012-11-07 Roland McGrath <roland@hack.frob.com>
16538 * manual/filesys.texi (Directory Entries): Typo fix.
16539 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16541 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16543 * elf/elf.h (EM_AARCH64): New macro.
16544 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16545 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16546 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16547 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16548 (R_AARCH64_TLSDESC): Likewise.
16549 (NT_ARM_TLS): Likewise.
16550 (NT_ARM_HW_BREAK): Likewise.
16551 (NT_ARM_HW_WATCH): Likewise.
16553 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16557 (__ieee754_powl): Saturate nonzero exponents with absolute value
16558 below 0x1p-79 to +/- 0x1p-79.
16559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16560 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16562 nonzero exponents with absolute value below 0x1p-32 to +/-
16564 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16565 (__ieee754_powl): Saturate nonzero exponents with absolute value
16566 below 0x1p-79 to +/- 0x1p-79.
16567 * math/libm-test.inc (pow_test): Add more tests.
16569 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16571 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16572 _dl_s390_cap_flags with kernel. Increase string length.
16573 (_dl_s390_platforms): Add z196 and zEC12.
16575 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16577 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16578 Change XOPEN21K to XOPEN2K.
16580 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16582 * string/memmove.c: Use memcpy when possible.
16584 2012-11-06 Andreas Jaeger <aj@suse.de>
16586 * po/eo.po: Update from translation team.
16588 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16592 exponent and small x and y exponents, scale x or y up. Increase
16593 by 2 the exponent used in scaling up.
16594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16596 * math/libm-test.inc (fma_test): Add more tests.
16597 (fma_test_towardzero): Likewise.
16598 (fma_test_downward): Likewise.
16599 (fma_test_upward): Likewise.
16601 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16608 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16609 namespace for names of struct fields.
16610 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16612 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16613 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16615 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16618 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16620 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16622 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16629 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16633 definitely overflow as x * y not x * y + z.
16634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16636 * math/libm-test.inc (fma_test): Add more tests.
16637 (fma_test_towardzero): Likewise.
16638 (fma_test_downward): Likewise.
16639 (fma_test_upward): Likewise.
16641 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16645 * include/stub-tag.h: Remove file.
16646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16648 * manual/maint.texi (Porting): Don't reference it.
16649 * Makerules ($(objpfx)stubs): Likewise.
16650 * dirent/closedir.c: Don't include <stub-tag.h>.
16651 * dirent/dirfd.c: Likewise.
16652 * dirent/fdopendir.c: Likewise.
16653 * dirent/getdents.c: Likewise.
16654 * dirent/getdents64.c: Likewise.
16655 * dirent/opendir.c: Likewise.
16656 * dirent/readdir.c: Likewise.
16657 * dirent/readdir64.c: Likewise.
16658 * dirent/readdir64_r.c: Likewise.
16659 * dirent/readdir_r.c: Likewise.
16660 * dirent/rewinddir.c: Likewise.
16661 * dirent/seekdir.c: Likewise.
16662 * dirent/telldir.c: Likewise.
16663 * gmon/profil.c: Likewise.
16664 * grp/setgroups.c: Likewise.
16665 * inet/if_index.c: Likewise.
16666 * io/access.c: Likewise.
16667 * io/chdir.c: Likewise.
16668 * io/chmod.c: Likewise.
16669 * io/chown.c: Likewise.
16670 * io/close.c: Likewise.
16671 * io/dup.c: Likewise.
16672 * io/dup2.c: Likewise.
16673 * io/dup3.c: Likewise.
16674 * io/euidaccess.c: Likewise.
16675 * io/faccessat.c: Likewise.
16676 * io/fchdir.c: Likewise.
16677 * io/fchmod.c: Likewise.
16678 * io/fchmodat.c: Likewise.
16679 * io/fchown.c: Likewise.
16680 * io/fchownat.c: Likewise.
16681 * io/fcntl.c: Likewise.
16682 * io/flock.c: Likewise.
16683 * io/fstatfs.c: Likewise.
16684 * io/fstatfs64.c: Likewise.
16685 * io/fstatvfs.c: Likewise.
16686 * io/fstatvfs64.c: Likewise.
16687 * io/futimens.c: Likewise.
16688 * io/fxstat.c: Likewise.
16689 * io/fxstat64.c: Likewise.
16690 * io/fxstatat.c: Likewise.
16691 * io/fxstatat64.c: Likewise.
16692 * io/getcwd.c: Likewise.
16693 * io/isatty.c: Likewise.
16694 * io/lchmod.c: Likewise.
16695 * io/lchown.c: Likewise.
16696 * io/link.c: Likewise.
16697 * io/linkat.c: Likewise.
16698 * io/lseek.c: Likewise.
16699 * io/lseek64.c: Likewise.
16700 * io/lxstat64.c: Likewise.
16701 * io/mkdir.c: Likewise.
16702 * io/mkdirat.c: Likewise.
16703 * io/mkfifo.c: Likewise.
16704 * io/mkfifoat.c: Likewise.
16705 * io/open.c: Likewise.
16706 * io/open64.c: Likewise.
16707 * io/openat.c: Likewise.
16708 * io/openat64.c: Likewise.
16709 * io/pipe.c: Likewise.
16710 * io/pipe2.c: Likewise.
16711 * io/poll.c: Likewise.
16712 * io/posix_fadvise.c: Likewise.
16713 * io/posix_fadvise64.c: Likewise.
16714 * io/posix_fallocate.c: Likewise.
16715 * io/posix_fallocate64.c: Likewise.
16716 * io/read.c: Likewise.
16717 * io/readlink.c: Likewise.
16718 * io/readlinkat.c: Likewise.
16719 * io/rmdir.c: Likewise.
16720 * io/sendfile.c: Likewise.
16721 * io/sendfile64.c: Likewise.
16722 * io/statfs.c: Likewise.
16723 * io/statfs64.c: Likewise.
16724 * io/statvfs.c: Likewise.
16725 * io/statvfs64.c: Likewise.
16726 * io/symlink.c: Likewise.
16727 * io/symlinkat.c: Likewise.
16728 * io/ttyname.c: Likewise.
16729 * io/ttyname_r.c: Likewise.
16730 * io/umask.c: Likewise.
16731 * io/unlink.c: Likewise.
16732 * io/unlinkat.c: Likewise.
16733 * io/utime.c: Likewise.
16734 * io/utimensat.c: Likewise.
16735 * io/write.c: Likewise.
16736 * io/xmknod.c: Likewise.
16737 * io/xmknodat.c: Likewise.
16738 * io/xstat.c: Likewise.
16739 * io/xstat64.c: Likewise.
16740 * login/getpt.c: Likewise.
16741 * login/grantpt.c: Likewise.
16742 * login/unlockpt.c: Likewise.
16743 * math/e_acoshl.c: Likewise.
16744 * math/e_acosl.c: Likewise.
16745 * math/e_asinl.c: Likewise.
16746 * math/e_atan2l.c: Likewise.
16747 * math/e_atanhl.c: Likewise.
16748 * math/e_coshl.c: Likewise.
16749 * math/e_expl.c: Likewise.
16750 * math/e_fmodl.c: Likewise.
16751 * math/e_gammal_r.c: Likewise.
16752 * math/e_hypotl.c: Likewise.
16753 * math/e_j0l.c: Likewise.
16754 * math/e_j1l.c: Likewise.
16755 * math/e_jnl.c: Likewise.
16756 * math/e_lgammal_r.c: Likewise.
16757 * math/e_log10l.c: Likewise.
16758 * math/e_log2l.c: Likewise.
16759 * math/e_logl.c: Likewise.
16760 * math/e_powl.c: Likewise.
16761 * math/e_rem_pio2l.c: Likewise.
16762 * math/e_sinhl.c: Likewise.
16763 * math/e_sqrtl.c: Likewise.
16764 * math/fclrexcpt.c: Likewise.
16765 * math/fedisblxcpt.c: Likewise.
16766 * math/feenablxcpt.c: Likewise.
16767 * math/fegetenv.c: Likewise.
16768 * math/fegetexcept.c: Likewise.
16769 * math/fegetround.c: Likewise.
16770 * math/feholdexcpt.c: Likewise.
16771 * math/fesetenv.c: Likewise.
16772 * math/fesetround.c: Likewise.
16773 * math/feupdateenv.c: Likewise.
16774 * math/fgetexcptflg.c: Likewise.
16775 * math/fraiseexcpt.c: Likewise.
16776 * math/fsetexcptflg.c: Likewise.
16777 * math/ftestexcept.c: Likewise.
16778 * math/k_cosl.c: Likewise.
16779 * math/k_rem_pio2l.c: Likewise.
16780 * math/k_sinl.c: Likewise.
16781 * math/k_tanl.c: Likewise.
16782 * math/s_asinhl.c: Likewise.
16783 * math/s_atanl.c: Likewise.
16784 * math/s_cbrtl.c: Likewise.
16785 * math/s_erfl.c: Likewise.
16786 * math/s_expm1l.c: Likewise.
16787 * math/s_log1pl.c: Likewise.
16788 * math/s_tanhl.c: Likewise.
16789 * misc/acct.c: Likewise.
16790 * misc/brk.c: Likewise.
16791 * misc/chflags.c: Likewise.
16792 * misc/chroot.c: Likewise.
16793 * misc/fchflags.c: Likewise.
16794 * misc/fgetxattr.c: Likewise.
16795 * misc/flistxattr.c: Likewise.
16796 * misc/fremovexattr.c: Likewise.
16797 * misc/fsetxattr.c: Likewise.
16798 * misc/fsync.c: Likewise.
16799 * misc/ftruncate.c: Likewise.
16800 * misc/futimes.c: Likewise.
16801 * misc/futimesat.c: Likewise.
16802 * misc/getdomain.c: Likewise.
16803 * misc/getdtsz.c: Likewise.
16804 * misc/gethostid.c: Likewise.
16805 * misc/gethostname.c: Likewise.
16806 * misc/getloadavg.c: Likewise.
16807 * misc/getpagesize.c: Likewise.
16808 * misc/getsysstats.c: Likewise.
16809 * misc/getxattr.c: Likewise.
16810 * misc/gtty.c: Likewise.
16811 * misc/ioctl.c: Likewise.
16812 * misc/lgetxattr.c: Likewise.
16813 * misc/listxattr.c: Likewise.
16814 * misc/llistxattr.c: Likewise.
16815 * misc/lremovexattr.c: Likewise.
16816 * misc/lsetxattr.c: Likewise.
16817 * misc/lutimes.c: Likewise.
16818 * misc/madvise.c: Likewise.
16819 * misc/mincore.c: Likewise.
16820 * misc/mlock.c: Likewise.
16821 * misc/mlockall.c: Likewise.
16822 * misc/mmap.c: Likewise.
16823 * misc/mprotect.c: Likewise.
16824 * misc/msync.c: Likewise.
16825 * misc/munlock.c: Likewise.
16826 * misc/munlockall.c: Likewise.
16827 * misc/munmap.c: Likewise.
16828 * misc/preadv.c: Likewise.
16829 * misc/preadv64.c: Likewise.
16830 * misc/ptrace.c: Likewise.
16831 * misc/pwritev.c: Likewise.
16832 * misc/pwritev64.c: Likewise.
16833 * misc/readv.c: Likewise.
16834 * misc/reboot.c: Likewise.
16835 * misc/remap_file_pages.c: Likewise.
16836 * misc/removexattr.c: Likewise.
16837 * misc/revoke.c: Likewise.
16838 * misc/select.c: Likewise.
16839 * misc/setdomain.c: Likewise.
16840 * misc/setegid.c: Likewise.
16841 * misc/seteuid.c: Likewise.
16842 * misc/sethostid.c: Likewise.
16843 * misc/sethostname.c: Likewise.
16844 * misc/setregid.c: Likewise.
16845 * misc/setreuid.c: Likewise.
16846 * misc/setxattr.c: Likewise.
16847 * misc/sstk.c: Likewise.
16848 * misc/stty.c: Likewise.
16849 * misc/swapoff.c: Likewise.
16850 * misc/swapon.c: Likewise.
16851 * misc/sync.c: Likewise.
16852 * misc/syncfs.c: Likewise.
16853 * misc/syscall.c: Likewise.
16854 * misc/truncate.c: Likewise.
16855 * misc/ualarm.c: Likewise.
16856 * misc/usleep.c: Likewise.
16857 * misc/ustat.c: Likewise.
16858 * misc/utimes.c: Likewise.
16859 * misc/vhangup.c: Likewise.
16860 * misc/writev.c: Likewise.
16861 * posix/_exit.c: Likewise.
16862 * posix/alarm.c: Likewise.
16863 * posix/execve.c: Likewise.
16864 * posix/fexecve.c: Likewise.
16865 * posix/fork.c: Likewise.
16866 * posix/fpathconf.c: Likewise.
16867 * posix/getaddrinfo.c: Likewise.
16868 * posix/getegid.c: Likewise.
16869 * posix/geteuid.c: Likewise.
16870 * posix/getgid.c: Likewise.
16871 * posix/getgroups.c: Likewise.
16872 * posix/getlogin.c: Likewise.
16873 * posix/getlogin_r.c: Likewise.
16874 * posix/getpgid.c: Likewise.
16875 * posix/getpid.c: Likewise.
16876 * posix/getppid.c: Likewise.
16877 * posix/getresgid.c: Likewise.
16878 * posix/getresuid.c: Likewise.
16879 * posix/getsid.c: Likewise.
16880 * posix/getuid.c: Likewise.
16881 * posix/glob64.c: Likewise.
16882 * posix/nanosleep.c: Likewise.
16883 * posix/pathconf.c: Likewise.
16884 * posix/pause.c: Likewise.
16885 * posix/posix_madvise.c: Likewise.
16886 * posix/pread.c: Likewise.
16887 * posix/pread64.c: Likewise.
16888 * posix/pwrite.c: Likewise.
16889 * posix/pwrite64.c: Likewise.
16890 * posix/sched_getaffinity.c: Likewise.
16891 * posix/sched_getp.c: Likewise.
16892 * posix/sched_gets.c: Likewise.
16893 * posix/sched_primax.c: Likewise.
16894 * posix/sched_primin.c: Likewise.
16895 * posix/sched_rr_gi.c: Likewise.
16896 * posix/sched_setaffinity.c: Likewise.
16897 * posix/sched_setp.c: Likewise.
16898 * posix/sched_sets.c: Likewise.
16899 * posix/sched_yield.c: Likewise.
16900 * posix/setgid.c: Likewise.
16901 * posix/setlogin.c: Likewise.
16902 * posix/setpgid.c: Likewise.
16903 * posix/setresgid.c: Likewise.
16904 * posix/setresuid.c: Likewise.
16905 * posix/setsid.c: Likewise.
16906 * posix/setuid.c: Likewise.
16907 * posix/sleep.c: Likewise.
16908 * posix/spawni.c: Likewise.
16909 * posix/sysconf.c: Likewise.
16910 * posix/times.c: Likewise.
16911 * posix/wait.c: Likewise.
16912 * posix/wait3.c: Likewise.
16913 * posix/wait4.c: Likewise.
16914 * posix/waitpid.c: Likewise.
16915 * resolv/gai_sigqueue.c: Likewise.
16916 * resource/getpriority.c: Likewise.
16917 * resource/getrlimit.c: Likewise.
16918 * resource/getrusage.c: Likewise.
16919 * resource/nice.c: Likewise.
16920 * resource/setpriority.c: Likewise.
16921 * resource/setrlimit.c: Likewise.
16922 * resource/ulimit.c: Likewise.
16923 * rt/aio_cancel.c: Likewise.
16924 * rt/aio_fsync.c: Likewise.
16925 * rt/aio_read.c: Likewise.
16926 * rt/aio_sigqueue.c: Likewise.
16927 * rt/aio_suspend.c: Likewise.
16928 * rt/aio_write.c: Likewise.
16929 * rt/clock_getres.c: Likewise.
16930 * rt/clock_gettime.c: Likewise.
16931 * rt/clock_nanosleep.c: Likewise.
16932 * rt/clock_settime.c: Likewise.
16933 * rt/lio_listio.c: Likewise.
16934 * rt/mq_close.c: Likewise.
16935 * rt/mq_getattr.c: Likewise.
16936 * rt/mq_notify.c: Likewise.
16937 * rt/mq_open.c: Likewise.
16938 * rt/mq_receive.c: Likewise.
16939 * rt/mq_send.c: Likewise.
16940 * rt/mq_setattr.c: Likewise.
16941 * rt/mq_timedreceive.c: Likewise.
16942 * rt/mq_timedsend.c: Likewise.
16943 * rt/mq_unlink.c: Likewise.
16944 * rt/shm_open.c: Likewise.
16945 * rt/shm_unlink.c: Likewise.
16946 * rt/timer_create.c: Likewise.
16947 * rt/timer_delete.c: Likewise.
16948 * rt/timer_getoverr.c: Likewise.
16949 * rt/timer_gettime.c: Likewise.
16950 * rt/timer_settime.c: Likewise.
16951 * setjmp/__longjmp.c: Likewise.
16952 * setjmp/setjmp.c: Likewise.
16953 * signal/kill.c: Likewise.
16954 * signal/killpg.c: Likewise.
16955 * signal/raise.c: Likewise.
16956 * signal/sigaction.c: Likewise.
16957 * signal/sigaltstack.c: Likewise.
16958 * signal/sigblock.c: Likewise.
16959 * signal/sigignore.c: Likewise.
16960 * signal/sigintr.c: Likewise.
16961 * signal/signal.c: Likewise.
16962 * signal/sigpause.c: Likewise.
16963 * signal/sigpending.c: Likewise.
16964 * signal/sigqueue.c: Likewise.
16965 * signal/sigreturn.c: Likewise.
16966 * signal/sigset.c: Likewise.
16967 * signal/sigsetmask.c: Likewise.
16968 * signal/sigstack.c: Likewise.
16969 * signal/sigsuspend.c: Likewise.
16970 * signal/sigtimedwait.c: Likewise.
16971 * signal/sigvec.c: Likewise.
16972 * signal/sigwait.c: Likewise.
16973 * signal/sigwaitinfo.c: Likewise.
16974 * signal/sysv_signal.c: Likewise.
16975 * socket/accept.c: Likewise.
16976 * socket/accept4.c: Likewise.
16977 * socket/bind.c: Likewise.
16978 * socket/connect.c: Likewise.
16979 * socket/getpeername.c: Likewise.
16980 * socket/getsockname.c: Likewise.
16981 * socket/getsockopt.c: Likewise.
16982 * socket/isfdtype.c: Likewise.
16983 * socket/listen.c: Likewise.
16984 * socket/recv.c: Likewise.
16985 * socket/recvfrom.c: Likewise.
16986 * socket/recvmsg.c: Likewise.
16987 * socket/send.c: Likewise.
16988 * socket/sendmsg.c: Likewise.
16989 * socket/sendto.c: Likewise.
16990 * socket/setsockopt.c: Likewise.
16991 * socket/shutdown.c: Likewise.
16992 * socket/sockatmark.c: Likewise.
16993 * socket/socket.c: Likewise.
16994 * socket/socketpair.c: Likewise.
16995 * stdio-common/ctermid.c: Likewise.
16996 * stdio-common/cuserid.c: Likewise.
16997 * stdio-common/remove.c: Likewise.
16998 * stdio-common/rename.c: Likewise.
16999 * stdio-common/renameat.c: Likewise.
17000 * stdio-common/tempname.c: Likewise.
17001 * stdlib/getcontext.c: Likewise.
17002 * stdlib/makecontext.c: Likewise.
17003 * stdlib/setcontext.c: Likewise.
17004 * stdlib/swapcontext.c: Likewise.
17005 * stdlib/system.c: Likewise.
17006 * streams/fattach.c: Likewise.
17007 * streams/fdetach.c: Likewise.
17008 * streams/getmsg.c: Likewise.
17009 * streams/getpmsg.c: Likewise.
17010 * streams/putmsg.c: Likewise.
17011 * streams/putpmsg.c: Likewise.
17012 * sysdeps/unix/bsd/getpt.c: Likewise.
17013 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17014 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17018 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17019 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17020 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17021 * sysvipc/msgctl.c: Likewise.
17022 * sysvipc/msgget.c: Likewise.
17023 * sysvipc/msgrcv.c: Likewise.
17024 * sysvipc/msgsnd.c: Likewise.
17025 * sysvipc/semctl.c: Likewise.
17026 * sysvipc/semget.c: Likewise.
17027 * sysvipc/semop.c: Likewise.
17028 * sysvipc/semtimedop.c: Likewise.
17029 * sysvipc/shmat.c: Likewise.
17030 * sysvipc/shmctl.c: Likewise.
17031 * sysvipc/shmdt.c: Likewise.
17032 * sysvipc/shmget.c: Likewise.
17033 * termios/tcdrain.c: Likewise.
17034 * termios/tcflow.c: Likewise.
17035 * termios/tcflush.c: Likewise.
17036 * termios/tcgetattr.c: Likewise.
17037 * termios/tcgetpgrp.c: Likewise.
17038 * termios/tcsendbrk.c: Likewise.
17039 * termios/tcsetattr.c: Likewise.
17040 * termios/tcsetpgrp.c: Likewise.
17041 * time/adjtime.c: Likewise.
17042 * time/clock.c: Likewise.
17043 * time/getitimer.c: Likewise.
17044 * time/gettimeofday.c: Likewise.
17045 * time/setitimer.c: Likewise.
17046 * time/settimeofday.c: Likewise.
17047 * time/stime.c: Likewise.
17048 * time/time.c: Likewise.
17050 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17052 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17055 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17057 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17059 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17063 FE_TONEAREST before applying Dekker multiplication and Knuth
17064 addition. Clear inexact exceptions and check for exact zero
17065 results afterwards.
17066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17069 * math/libm-test.inc (fma_test): Add more tests.
17070 (fma_test_towardzero): Likewise.
17071 (fma_test_downward): Likewise.
17072 (fma_test_upward): Likewise.
17073 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17075 (libc_fesetround): New macro.
17076 (libc_fesetroundf): Likewise.
17077 (libc_fesetroundl): Likewise.
17078 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17080 (libc_fesetround_387): Likewise.
17081 (libc_fesetroundf): New macro.
17082 (libc_fesetround): Likewise.
17083 (libc_fesetroundl): Likewise.
17084 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17086 (libc_fesetroundf): New macro.
17087 (libc_fesetround): Likewise.
17088 (libc_fesetroundl): Likewise.
17089 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17090 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17091 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17093 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17094 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17096 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17097 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17099 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17103 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17104 integer constant usable in #if and use that to give value to enum
17106 (FE_DIVBYZERO): Likewise.
17107 (FE_UNDERFLOW): Likewise.
17108 (FE_OVERFLOW): Likewise.
17109 (FE_INVALID): Likewise.
17110 (FE_INVALID_SNAN): Likewise.
17111 (FE_INVALID_ISI): Likewise.
17112 (FE_INVALID_IDI): Likewise.
17113 (FE_INVALID_ZDZ): Likewise.
17114 (FE_INVALID_IMZ): Likewise.
17115 (FE_INVALID_COMPARE): Likewise.
17116 (FE_INVALID_SOFTWARE): Likewise.
17117 (FE_INVALID_SQRT): Likewise.
17118 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17119 (FE_TONEAREST): Likewise.
17120 (FE_TOWARDZERO): Likewise.
17121 (FE_UPWARD): Likewise.
17122 (FE_DOWNWARD): Likewise.
17123 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17124 (FE_DIVBYZERO): Likewise.
17125 (FE_OVERFLOW): Likewise.
17126 (FE_UNDERFLOW): Likewise.
17127 (FE_INEXACT): Likewise.
17128 (FE_TONEAREST): Likewise.
17129 (FE_DOWNWARD): Likewise.
17130 (FE_UPWARD): Likewise.
17131 (FE_TOWARDZERO): Likewise.
17132 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17133 (FE_UNDERFLOW): Likewise.
17134 (FE_OVERFLOW): Likewise.
17135 (FE_DIVBYZERO): Likewise.
17136 (FE_INVALID): Likewise.
17137 (FE_TONEAREST): Likewise.
17138 (FE_TOWARDZERO): Likewise.
17139 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17140 (FE_OVERFLOW): Likewise.
17141 (FE_UNDERFLOW): Likewise.
17142 (FE_DIVBYZERO): Likewise.
17143 (FE_INEXACT): Likewise.
17144 (FE_TONEAREST): Likewise.
17145 (FE_TOWARDZERO): Likewise.
17146 (FE_UPWARD): Likewise.
17147 (FE_DOWNWARD): Likewise.
17148 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17149 (FE_DIVBYZERO): Likewise.
17150 (FE_OVERFLOW): Likewise.
17151 (FE_UNDERFLOW): Likewise.
17152 (FE_INEXACT): Likewise.
17153 (FE_TONEAREST): Likewise.
17154 (FE_DOWNWARD): Likewise.
17155 (FE_UPWARD): Likewise.
17156 (FE_TOWARDZERO): Likewise.
17158 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17160 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17162 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17164 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17165 commands. Quote $PWD.
17166 (blacklist_exports): Don't use remove_newlines. Replace "declare
17168 (remove_newlines): Remove.
17170 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17172 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17173 * stdlib/stdlib.h (atof): Moved to ...
17174 * include/bits/stdlib-float.h: Here. New file.
17175 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17176 * stdlib/bits/stdlib-float.h: New file.
17177 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17182 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17184 * conform/conformtest.pl (@headers): Add fenv.h.
17185 * conform/data/fenv.h-data: New file.
17186 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17187 include of <math/fenv.h>.
17189 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17190 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17191 && !UNIX98]. Enables tests for XOPEN2K8.
17192 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17193 POSIX2008]: Likewise.
17195 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17196 (struct rusage): Do not expect type or its members.
17199 * math/math.h (FP_NAN): Define macro to integer constant usable in
17200 #if and use that to give value to enum constant.
17201 (FP_INFINITE): Likewise.
17202 (FP_ZERO): Likewise.
17203 (FP_SUBNORMAL): Likewise.
17204 (FP_NORMAL): Likewise.
17206 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17208 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17209 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17212 2012-11-02 Roland McGrath <roland@hack.frob.com>
17214 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17215 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17216 autoconf-time if not.
17217 * configure.in: Remove AC_PREREQ.
17219 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17221 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17222 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17223 of the internal implementation.
17225 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17227 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17228 except include of <misc/sys/syslog.h>.
17230 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17233 function returns with a NULL context exit with zero.
17235 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17237 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17239 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17241 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17242 (run_program_cmd): This.
17243 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17244 (tst_langinfo): New variable. Use it.
17246 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17248 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17249 floating point opcodes.
17251 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17253 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17256 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17258 * sysdeps/mach/hurd/powerpc: Remove directory.
17259 * sysdeps/mach/powerpc: Likewise.
17261 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17263 * scripts/check-local-headers.sh: Ignore c++ headers.
17265 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17267 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17268 __libc_cleanup_region_start argument.
17270 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17275 x * y using scaling, not as x * y + z.
17276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17278 * math/libm-test.inc (fma_test): Add more tests.
17279 (fma_test_towardzero): Likewise.
17280 (fma_test_downward): Likewise.
17281 (fma_test_upward): Likewise.
17283 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17285 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17287 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17289 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17292 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17294 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17296 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17303 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17306 Fix the order of the list for glibc 2.17.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17310 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17314 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17318 for low part of x being zero before using __atanl (y).
17319 * math/libm-test.inc (atan2_test): Add another test.
17321 * manual/install.texi (Configuring and compiling): Document
17322 general use of test-wrapper and test-wrapper-env.
17323 * INSTALL: Regenerated.
17325 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17326 (__fma): Do not extract and scale down low bits on after-rounding
17327 systems when result rounded to normal precision would have normal
17329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17330 (__fmal): Do not extract and scale down low bits on after-rounding
17331 systems when result rounded to normal precision would have normal
17333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17334 (__fmal): Do not extract and scale down low bits on after-rounding
17335 systems when result rounded to normal precision would have normal
17337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17339 (fma_test): Add more tests.
17340 (fma_test_towardzero): Likewise.
17341 (fma_test_downward): Likewise.
17342 (fma_test_upward): Likewise.
17344 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17346 * sysdeps/i386/tininess.h: Renamed to ...
17347 * sysdeps/x86/tininess.h: This.
17348 * sysdeps/x86_64/tininess.h: Removed.
17350 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17352 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17353 input. Use $(build-program-cmd).
17354 ($(objpfx)tst-array1-static.out): Likewise.
17355 ($(objpfx)tst-array2.out): Likewise.
17356 ($(objpfx)tst-array3.out): Likewise.
17357 ($(objpfx)tst-array4.out): Likewise.
17358 ($(objpfx)tst-array5.out): Likewise.
17359 ($(objpfx)tst-array5-static.out): Likewise.
17361 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17363 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17366 * nss/nsswitch.h (nss_interface_function): Provide new
17367 macro for use with NSS functions.
17368 * grp/initgroups.c: Use new macro.
17369 * nss/getXXbyYY.c: Likewise.
17370 * nss/getXXbyYY_r.c: Likewise.
17371 * nss/getXXent.c: Likewise.
17372 * nss/getXXent_r.c: Likewise.
17373 * sysdeps/posix/getaddrinfo.c: Likewise.
17375 2012-10-30 Andreas Jaeger <aj@suse.de>
17377 * po/ru.po: Update Russion translation from translation project.
17379 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17384 result and shift together with sticky bit instead of replicating
17385 round-to-nearest rounding.
17386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17388 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17389 missing underflow exceptions.
17390 (fma_test_towardzero): Add more tests.
17391 (fma_test_downward): Likewise.
17392 (fma_test_upward): Likewise.
17395 * sysdeps/generic/tininess.h: New file.
17396 * sysdeps/i386/tininess.h: Likewise.
17397 * sysdeps/sh/tininess.h: Likewise.
17398 * sysdeps/x86_64/tininess.h: Likewise.
17399 * stdlib/tst-strtod-underflow.c: Likewise.
17400 * stdlib/tst-tininess.c: Likewise.
17401 * stdlib/strtod_l.c: Include <tininess.h>.
17402 (round_and_return): Do not set errno for exact underflow cases.
17403 Force an underflow exception when setting errno for underflow.
17404 Determine underflow based on rounding to normal precision if
17405 TININESS_AFTER_ROUNDING.
17406 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17407 ERANGE for exact underflow cases.
17408 * stdlib/Makefile (tests): Add tst-tininess and
17409 tst-strtod-underflow.
17410 ($(objpfx)tst-tininess): Use $(link-libm).
17411 ($(objpfx)tst-strtod-underflow): Likewise.
17413 2012-10-30 Andreas Jaeger <aj@suse.de>
17416 * elf/Makefile (tests): Remove conditional for have-initfini-array
17417 since this is now always required and the variable does not exist
17419 (tests-static): Likewise.
17420 (modules-names): Likewise.
17422 * po/eo.po: Add Esperanto translation from translation project.
17424 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17425 merged with constructor/destructor.
17426 (init_array): Likewise.
17427 * elf/tst-array2dep.c (fini_array): Likewise.
17428 (init_array): Likewise.
17430 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17432 * manual/message.texi: Delete @cartouche tags.
17434 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17436 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17438 * sysdeps/mach/hurd/fsync.c: Likewise.
17440 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17441 [_POSIX_REALTIME_SIGNALS]: Change condition to
17442 [_POSIX_REALTIME_SIGNALS > 0].
17444 2012-10-27 Andreas Jaeger <aj@suse.de>
17446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17447 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17449 [__WORDSIZE != 64]: Likewise.
17451 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17453 * iconvdata/tst-table.sh: Remove ${SHELL}.
17454 * iconvdata/tst-tables.sh: Likewise.
17456 2012-10-25 David S. Miller <davem@davemloft.net>
17458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17459 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17465 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17466 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17469 2012-10-25 Roland McGrath <roland@hack.frob.com>
17471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17472 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17475 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17476 Jim Blandy <jimb@codesourcery.com>
17478 * scripts/cross-test-ssh.sh: New file.
17479 * manual/install.texi (Configuring and compiling): Document use of
17481 * INSTALL: Regenerated.
17483 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17485 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17488 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17490 * Makeconfig (run-program-prefix): Fix comment.
17492 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17493 Jim Blandy <jimb@codesourcery.com>
17495 * Makeconfig (test-wrapper): New variable,
17496 (test-wrapper-env): Likewise.
17497 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17498 (run-built-tests): Define to yes.
17499 (run-program-prefix): Use $(test-wrapper).
17500 (built-program-cmd): Likewise.
17501 * Rules (make-test-out): Use $(test-wrapper-env) and
17502 $(host-built-program-cmd).
17503 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17504 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17506 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17507 $(test-wrapper-env) to tst-rtld-load-self.sh.
17508 ($(objpfx)order2.out): Use $(test-wrapper).
17509 ($(objpfx)tst-initorder.out): Likewise.
17510 ($(objpfx)tst-initorder2.out): Likewise.
17511 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17512 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17513 (test_wrapper_env): New variable. Use it to run ld.so.
17514 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17515 Use it to run ld.so.
17516 (test_wrapper_env): Likewise.
17517 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17518 $(test-wrapper) to run-iconv-test.sh.
17519 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17520 (ICONV): Use $test_wrapper.
17521 * posix/Makefile ($(objpfx)globtest.out): Pass
17522 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17523 globtest.sh, not $(run-program-prefix).
17524 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17525 (test_wrapper): Likewise.
17526 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17527 set together with run_via_rtld_prefix.
17528 (run_program_prefix): Define in terms of test_wrapper and
17529 run_via_rtld_prefix.
17531 2012-10-24 Roland McGrath <roland@hack.frob.com>
17533 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17534 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17538 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17539 Declare __clock_getres, __clock_gettime, __clock_settime,
17540 __clock_nanosleep, and __clock_getcpuclockid.
17541 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17542 Remove librt_hidden_def (clock_gettime).
17543 * sysdeps/unix/clock_gettime.c: Likewise.
17544 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17546 * rt/clock_getres.c: Define __clock_getres as an alias.
17547 * sysdeps/posix/clock_getres.c: Likewise.
17548 * rt/clock_settime.c: Define __clock_settime as an alias.
17549 * sysdeps/unix/clock_settime.c: Likewise.
17550 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17551 * sysdeps/unix/clock_nanosleep.c: Likewise.
17552 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17553 * rt/clock-compat.c: New file.
17554 * rt/Makefile (librt-routines): Add clock-compat and move
17555 $(clock-routines) to ...
17556 (routines): ... here, new variable.
17557 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17558 Don't add get_clockfreq here.
17559 * rt/Versions (libc: GLIBC_2.17): New version set.
17560 Add clock_* symbols here.
17561 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17563 (GLIBC_2.17): Add clock_* symbols.
17564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17575 * NEWS: Mention the move.
17577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17578 Use __open, __read, __close rather than their public counterparts.
17579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17580 (__get_clockfreq_via_cpuinfo): Likewise.
17581 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17582 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17584 * config.h.in (HAVE_IFUNC): New #undef.
17585 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17587 * configure: Regenerated.
17589 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17591 * configure.in: Move READELF check to start of file.
17592 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17593 libc_cv_asm_gnu_indirect_function in the process.
17594 * configure: Regenerated.
17596 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17598 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17599 send the output to /dev/null.
17600 (libc_cv_cc_with_libunwind): Likewise.
17601 (libc_cv_as_noexecstack): Likewise.
17602 * configure: Regenerate.
17604 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17606 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17608 * posix/globtest.sh (TMPDIR): Do not set.
17609 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17610 (testout): Likewise.
17612 2012-10-24 Andreas Jaeger <aj@suse.de>
17614 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17615 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17616 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17617 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17618 posix_fadvise64, posix_fallocate64.
17620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17621 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17622 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17624 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17626 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17629 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17630 <bits/fcntl-linux.h>.
17631 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17634 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17635 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17636 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17637 [__WORDSIZE != 64]: Likewise.
17639 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17641 * Makeconfig (run-built-tests): New variable.
17642 * Rules [$(cross-compiling) = yes]: Change condition to
17643 [$(run-built-tests) = no].
17644 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17645 to [$(run-built-tests) = yes].
17646 * elf/Makefile [$(cross-compiling) = no]: Likewise
17647 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17648 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17649 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17650 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17651 * io/Makefile [$(cross-compiling) = no]: Likewise.
17652 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17653 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17654 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17655 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17656 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17657 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17658 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17659 * string/Makefile [$(cross-compiling) = no]: Likewise.
17661 * posix/Makefile ($(objpfx)globtest.out): Pass
17662 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17663 $(rtld-installed-name).
17664 * posix/globtest.sh (elf_objpfx): Remove variable.
17665 (rtld_installed_name): Likewise.
17666 (library_path): Likewise.
17667 (run_program_prefix): New variable. Use for running globtest
17670 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17671 Joseph Myers <joseph@codesourcery.com>
17673 * Makeconfig (host-built-program-cmd): New variable.
17674 * elf/Makefile (tst-stackguard1-ARGS): Use
17675 $(host-built-program-cmd).
17676 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17677 (tst-spawn-ARGS): Likewise.
17678 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17680 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17681 Jim Blandy <jimb@codesourcery.com>
17683 * Makeconfig (run-via-rtld-prefix): New variable.
17684 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17685 (built-program-cmd): Likewise.
17687 2012-10-22 Andreas Jaeger <aj@suse.de>
17689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17690 __O_RSYNC if it exists, otherwise to O_SYNC.
17692 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17693 Joseph Myers <joseph@codesourcery.com>
17695 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17697 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17699 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17702 2012-10-22 Andreas Jaeger <aj@suse.de>
17704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17709 bits/fcntl-linux.h.
17711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17712 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17719 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17720 Joseph Myers <joseph@codesourcery.com>
17722 * config.make.in (NM): New variable.
17724 2012-10-21 Andreas Jaeger <aj@suse.de>
17726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17727 definitions and declarations that are provided by
17728 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17730 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17733 * elf/Makefile (tests-static): Add tst-leaks1-static.
17734 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17735 ($(objpfx)tst-leaks1-static): New rule.
17736 ($(objpfx)tst-leaks1-static-mem): Likewise.
17737 (tst-leaks1-static-ENV): New macro.
17738 * elf/dl-open.c (dl_open_worker): Check the main application
17739 only if SHARED is defined.
17740 * elf/tst-leaks1-static.c: New file.
17742 2012-10-20 Andreas Jaeger <aj@suse.de>
17744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17745 generic values for Linux.
17746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17747 and declarations that are provided by <bits/fcntl-linux.h> and
17748 include <bits/fcntl-linux.h>.
17749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17752 2012-10-20 Roland McGrath <roland@hack.frob.com>
17754 * io/fcntl.h: Move include of <bits/types.h> to the top and
17755 include it unconditionally.
17757 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17759 * wcsmbs/Makefile (tests-ifunc): New variable.
17760 (tests): Add $(tests-ifunc).
17761 * wcsmbs/test-wcschr-ifunc.c: New file.
17762 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17763 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17764 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17765 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17766 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17768 * string/Makefile (tests-ifunc): New variable.
17769 (tests): Add $(tests-ifunc).
17770 * string/test-memccpy.c (TEST_NAME): New macro.
17771 * string/test-memchr.c (TEST_NAME): Likewise.
17772 * string/test-memcmp.c (TEST_NAME): Likewise.
17773 * string/test-memcpy.c (TEST_NAME): Likewise.
17774 * string/test-memmem.c (TEST_NAME): Likewise.
17775 * string/test-memmove.c (TEST_NAME): Likewise.
17776 * string/test-memset.c (TEST_NAME): Likewise.
17777 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17778 * string/test-stpcpy.c (TEST_NAME): Likewise.
17779 * string/test-stpncpy.c (TEST_NAME): Likewise.
17780 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17781 * string/test-strcasestr.c (TEST_NAME): Likewise.
17782 * string/test-strcat.c (TEST_NAME): Likewise.
17783 * string/test-strchr.c (TEST_NAME): Likewise.
17784 * string/test-strcmp.c(TEST_NAME): Likewise.
17785 * string/test-strcpy.c (TEST_NAME): Likewise.
17786 * string/test-strcspn.c (TEST_NAME): Likewise.
17787 * string/test-strlen.c (TEST_NAME): Likewise.
17788 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17789 * string/test-strncmp.c (TEST_NAME): Likewise.
17790 * string/test-strncpy.c (TEST_NAME): Likewise.
17791 * string/test-strnlen.c (TEST_NAME): Likewise.
17792 * string/test-strpbrk.c (TEST_NAME): Likewise.
17793 * string/test-strrchr.c (TEST_NAME): Likewise.
17794 * string/test-strspn.c (TEST_NAME): Likewise.
17795 * string/test-strstr.c (TEST_NAME): Likewise.
17796 * string/test-bcopy-ifunc.c: New file.
17797 * string/test-bzero-ifunc.c: Likewise.
17798 * string/test-memccpy-ifunc.c: Likewise.
17799 * string/test-memchr-ifunc.c: Likewise.
17800 * string/test-memcmp-ifunc.c: Likewise.
17801 * string/test-memcpy-ifunc.c: Likewise.
17802 * string/test-memmem-ifunc.c: Likewise.
17803 * string/test-memmove-ifunc.c: Likewise.
17804 * string/test-mempcpy-ifunc.c: Likewise.
17805 * string/test-memset-ifunc.c: Likewise.
17806 * string/test-rawmemchr-ifunc.c: Likewise.
17807 * string/test-stpcpy-ifunc.c: Likewise.
17808 * string/test-stpncpy-ifunc.c: Likewise.
17809 * string/test-strcasecmp-ifunc.c: Likewise.
17810 * string/test-strcasestr-ifunc.c: Likewise.
17811 * string/test-strcat-ifunc.c: Likewise.
17812 * string/test-strchr-ifunc.c: Likewise.
17813 * string/test-strchrnul-ifunc.c: Likewise.
17814 * string/test-strcmp-ifunc.c: Likewise.
17815 * string/test-strcpy-ifunc.c: Likewise.
17816 * string/test-strcspn-ifunc.c: Likewise.
17817 * string/test-strlen-ifunc.c: Likewise.
17818 * string/test-strncasecmp-ifunc.c: Likewise.
17819 * string/test-strncat-ifunc.c: Likewise.
17820 * string/test-strncmp-ifunc.c: Likewise.
17821 * string/test-strncpy-ifunc.c: Likewise.
17822 * string/test-strnlen-ifunc.c: Likewise.
17823 * string/test-strpbrk-ifunc.c: Likewise.
17824 * string/test-strrchr-ifunc.c: Likewise.
17825 * string/test-strspn-ifunc.c: Likewise.
17826 * string/test-strstr-ifunc.c: Likewise.
17828 * debug/Makefile (tests-ifunc): New variable.
17829 (tests): Add $(tests-ifunc).
17830 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17831 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17832 * debug/test-stpcpy_chk-ifunc.c: New file.
17833 * debug/test-strcpy_chk-ifunc.c: Likewise.
17835 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17838 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17839 header is not read in.
17841 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17843 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17844 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17845 directly. Pass built executable to script as
17846 $(built-program-cmd).
17847 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17848 $testprogram without using LD_LIBRARY_PATH and $ldso.
17850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17851 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17852 $(rtld-installed-name).
17853 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17854 (rtld_installed_name): Likewise.
17855 (library_path): Likewise.
17856 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17858 $(run-program-prefix) to tst-tables.sh.
17859 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17860 it to run tst-table-from and tst-table-to.
17861 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17862 Pass it to tst-table.sh.
17863 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17864 $(run-program-prefix) to tst-gettext.sh.
17865 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17867 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17869 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17870 to run tst-gettext.
17871 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17872 to run tst-gettext2.
17873 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17874 to run tst-translit.
17875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17876 $(run-program-prefix) to tst-mtrace.sh.
17877 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17879 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17880 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17881 $(rtld-installed-name).
17882 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17883 (rtld_installed_name): Likewise.
17884 (run_program_prefix): New variable. Use it to run wordexp-test.
17886 * Makeconfig (ARCH): Remove all definitions.
17887 (machine): Likewise.
17888 [ARCH]: Remove conditional code.
17889 [!objdir]: Give error.
17890 [!objdir] (objpfx): Remove.
17891 [!objdir] (common-objpfx): Likewise.
17892 [!objdir] (common-objdir): Likewise.
17893 * configure.in (config_makefile): Remove. Hardcode Makefile in
17894 AC_CONFIG_FILES call.
17895 * configure: Regenerated.
17898 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17900 (testout): Likewise.
17902 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17903 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17904 $(rtld-installed-name).
17905 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17906 (rtld_installed_name): Likwise.
17907 (runit): Remove function.
17908 (run_getconf): New variable, Use it for running getconf binary.
17910 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17913 * string/test-memmem.c (check_result): New function.
17914 (do_one_test): Use it.
17915 (check1): New function.
17916 (test_main): Use it.
17918 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17920 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17922 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17924 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17925 (_G_LSEEK64): Likewise.
17926 (_G_MMAP64): Likewise.
17927 (_G_FSTAT64): Likewise.
17928 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17929 (_G_LSEEK64): Likewise.
17930 (_G_MMAP64): Likewise.
17931 (_G_FSTAT64): Likewise.
17932 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17933 unconditional. Call __mmap64 directly.
17934 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17935 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17936 __lseek64 directly.
17937 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17938 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17940 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17941 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17942 __lseek64 directly.
17943 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17944 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17945 __lseek64 directly.
17946 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17947 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17948 __lseek64 directly.
17949 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17950 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17951 __fxstat64 directly.
17952 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17953 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17955 (freopen64) [!_G_OPEN64]: Remove conditional code.
17956 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17958 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17959 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17961 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17962 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17964 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17965 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17967 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17968 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17970 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17971 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17973 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17974 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17976 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17978 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * manual/memory.texi (Malloc Tunable Parameters): Add note
17982 about free list pointers overwriting some perturb bytes.
17983 Wording suggested by Roland McGrath.
17985 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17987 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17988 (lgamma_test): Likewise.
17989 (tgamma_test): Likewise.
17991 2012-10-16 Florian Weimer <fweimer@redhat.com>
17994 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17995 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17997 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17999 * NEWS: Mention BZ #14716.
18000 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18001 when removing AVAILABLE1_USES_J macro.
18003 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18005 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18006 (__bswap_64): __uint64_t for unsigned 64-bit int.
18008 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18010 * include/string.h (memmem): Declare libc hidden alias.
18011 * string/memmem.c (memmem): Define libc hidden alias.
18012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18013 __read, __close instead of open, read, close.
18015 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18018 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18020 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18021 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18022 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18024 (__rawmemchr_sse2): Likewise.
18025 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18027 (__strchr_sse2): Likewise.
18028 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18029 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18030 (__strcasecmp_sse2): Likewise.
18031 (__strncasecmp_sse2): Likewise.
18032 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18033 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18034 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18035 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18036 (__strrchr_sse2): Likewise.
18037 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18039 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18040 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18041 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18042 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18043 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18045 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18046 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18047 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18048 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18049 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18051 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18052 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18053 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18055 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18056 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18057 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18058 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18059 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18060 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18061 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18063 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18065 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18066 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18067 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18068 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18072 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18073 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18074 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18075 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18077 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18079 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18080 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18081 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18082 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18126 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18127 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18128 * include/ifunc-impl-list.h: New file.
18129 * misc/ifunc-impl-list.c: Likewise.
18130 * misc/Makefile (routines): Add ifunc-impl-list.
18131 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18132 * string/test-string.h: Include <ifunc-impl-list.h>.
18133 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18134 impl_array): New variables.
18135 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18137 (test_init): Call __libc_ifunc_impl_list to initialize
18138 func_list if TEST_IFUNC and TEST_NAME are defined.
18140 * string/Makefile (strop-tests): Add bcopy and bzero.
18141 * string/test-bcopy.c: New file.
18142 * string/test-bzero.c: Likewise.
18143 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18145 * string/test-memset.c: Support bzero test if TEST_BZERO is
18147 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18149 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18151 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18154 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18156 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18157 * configure: Regenerated.
18159 * Makeconfig (+link-static-before-libc): Don't include
18160 $(link-static-libc).
18162 * libio/libio.h (_IO_pos_t): Remove.
18164 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18166 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18169 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18171 * crypt/crypt-entry.c: Include fips-private.h.
18172 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18173 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18174 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18175 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18177 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18179 * crypt/crypt-private.h: Include stdbool.h.
18180 (_ufc_setup_salt_r): Return bool.
18181 * crypt/crypt-entry.c: Include errno.h.
18182 (__crypt_r): Return NULL with EINVAL for bad salt.
18183 * crypt/crypt_util.c (bad_for_salt): New.
18184 (_ufc_setup_salt_r): Check that salt is long enough and within
18185 the specified alphabet.
18186 * crypt/badsalttest.c: New file.
18187 * crypt/Makefile (tests): Add it.
18188 ($(objpfx)badsalttest): New.
18190 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18192 * NEWS: Add entry for BZ #14602.
18194 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18196 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18198 * math/libm-test.inc: Update comment listing what functions and
18200 (isgreater_test): New function.
18201 (isgreaterequal_test): Likewise.
18202 (isless_test): Likewise.
18203 (islessequal_test): Likewise.
18204 (islessgreater_test): Likewise.
18205 (isunordered_test): Likewise.
18206 (main): Call the new functions.
18208 2012-10-09 Roland McGrath <roland@hack.frob.com>
18210 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18211 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18212 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18213 * sysdeps/i386/configure: Regenerated.
18214 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18215 * sysdeps/mach/configure: Regenerated.
18216 * sysdeps/mach/hurd/configure: Regenerated.
18217 * sysdeps/powerpc/configure: Regenerated.
18218 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18219 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18220 * sysdeps/s390/s390-32/configure: Regenerated.
18221 * sysdeps/s390/s390-64/configure: Regenerated.
18222 * sysdeps/sh/configure: Regenerated.
18223 * sysdeps/sparc/configure: Regenerated.
18224 * sysdeps/unix/sysv/linux/configure: Regenerated.
18225 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18226 * sysdeps/x86_64/configure: Regenerated.
18228 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18229 defined. Don't check if MAP is NULL.
18231 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18233 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18234 (_G_stat64): Likewise.
18235 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18236 (_G_stat64): Likewise.
18237 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18238 instead of struct _G_stat64.
18239 * libio/fileops.c (mmap_remap_check): Likewise.
18240 (decide_maybe_mmap): Likewise.
18241 (_IO_new_file_seekoff): Likewise.
18242 (_IO_file_stat): Likewise.
18243 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18245 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18246 instead of struct _G_stat64.
18247 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18249 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18254 (CHECK_EOL): New macro.
18255 (two_way_short_needle): Check beginning of haystack for EOL. Use
18257 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18258 Replace with CHECK_EOL.
18259 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18260 Replace with CHECK_EOL.
18262 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18264 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18266 * math/libm-test.inc: Update comment listing what functions and
18268 (finite_test): New function.
18269 (isinf_test): Likewise.
18270 (isnan_test): Likewise.
18271 (fpclassify_test): Test subnormal input.
18272 (isfinite_test): Likewise.
18273 (isnormal_test): Likewise.
18274 (main): Call the new functions.
18276 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18279 * Makerules (%.dynsym): Force C locale when running
18280 $(OBJDUMP) --dynamic-syms.
18282 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18284 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18287 2012-10-06 David S. Miller <davem@davemloft.net>
18289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18290 upper 32-bits of the length value in %o2 since we use branch-on-register
18291 tests which consider the entire 64-bit register.
18293 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18295 * string/test-strstr.c (check2): Add a test for page boundary.
18297 2012-10-05 David S. Miller <davem@davemloft.net>
18299 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18305 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18306 and bzero when HWCAP_SPARC_CRYPTO is present.
18308 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18311 * string/test-strstr.c (check2): New function.
18312 (test_main): Call check2.
18314 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18316 * string/bug-strcasestr1.c (do_test): Moved to ...
18317 * string/test-strcasestr.c (check1): Here. New function.
18318 (do_one_test): Break out result checking code into ...
18319 (check_result): This. New function.
18320 (do_one_test): Call check_result.
18321 (test_main): Call check1.
18322 * string/bug-strchr1.c (do_test): Moved to ...
18323 * string/test-strchr.c (check1): Here. New function.
18324 (do_one_test): Break out result checking code into ...
18325 (check_result): This. New function.
18326 (do_one_test): Call check_result.
18327 (test_main): Call check1.
18328 * string/bug-strstr1.c (main): Moved to ...
18329 * string/test-strstr.c (check1): Here. New function.
18330 (do_one_test): Break out result checking code into ...
18331 (check_result): This. New function.
18332 (do_one_test): Call check_result.
18333 (test_main): Call check1.
18334 * string/bug-strcasestr1.c: Removed.
18335 * string/bug-strchr1.c: Likewise.
18336 * string/bug-strstr1.c: Likewise.
18338 * elf/Makefile (dl-routines): Add hwcaps.
18339 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18340 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18341 (_dl_important_hwcaps): Moved to ...
18342 * elf/dl-hwcaps.c: Here. New file.
18343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18346 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18347 if IS_IN_rtld isn't defined.
18349 * elf/dl-support.c (_dl_sysinfo_map): New.
18350 Include "get-dynamic-info.h" and "setup-vdso.h".
18351 (_dl_non_dynamic_init): Call setup_vdso.
18352 * elf/dynamic-link.h: Don't include <assert.h>.
18353 (elf_get_dynamic_info): Moved to ...
18354 * elf/get-dynamic-info.h: Here. New file.
18355 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18356 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18357 * elf/setup-vdso.h: Here. New file.
18358 * elf/rtld.c: Include "setup-vdso.h".
18359 (dl_main): Call setup_vdso.
18361 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18363 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18364 creal in comment listing functions tested. List finite, isinf,
18365 isnan, isless, islessequal, isgreater, isgreaterequal,
18366 islessgreater, isunordered, lgamma_r and pow10 as functions and
18367 macros not tested. Mention which functions not tested are aliases
18368 for other functions. Fix typo. Note that signs of NaNs are not
18371 * scripts/config.guess: Update from config.git.
18372 * scripts/config.sub: Likewise.
18374 2012-10-04 Roland McGrath <roland@hack.frob.com>
18376 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18377 * misc/madvise.c (madvise): Renamed to __madvise.
18378 Make madvise a weak alias.
18379 * include/sys/mman.h: Declare __madvise.
18380 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18381 * sysdeps/unix/syscalls.list
18382 (madvise): Make __madvise the strong name, and madvise a weak alias.
18383 * sysdeps/unix/sysv/linux/syscalls.list
18384 (madvise, mmap): Remove redundant entries.
18385 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18386 * malloc/malloc.c (mtrim): Likewise.
18387 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18389 2012-10-03 Roland McGrath <roland@hack.frob.com>
18391 * sysdeps/mach/hurd/dl-cache.c: File removed.
18392 * config.h.in (USE_LDCONFIG): New #undef.
18393 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18394 * configure: Regenerated.
18395 * elf/Makefile (dl-routines): Add dl-cache only under
18396 [$(use-ldconfig) = yes].
18397 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18398 cache on [USE_LDCONFIG].
18399 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18401 * elf/rtld.c (dl_main): Likewise.
18403 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18405 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18406 _SC_LEVEL4_CACHE_LINESIZE.
18408 2012-10-03 Roland McGrath <roland@hack.frob.com>
18410 * sysdeps/unix/bsd/confstr.h: File removed.
18412 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18414 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18417 2012-10-02 Roland McGrath <roland@hack.frob.com>
18419 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18420 Make 'mapoff' field ElfW(Off) rather than off_t.
18422 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18424 * nscd/Makefile: Remove nscd-cflags and all its users.
18425 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18426 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18429 * malloc.c (malloc_printerr): Clarify error message.
18431 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18435 Set bit_FMA_Usable if FMA is supported.
18436 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18438 (bit_FMA4_Usable): Updated.
18439 (index_FMA_Usable): New macro.
18440 (CPUID_FMA): Likewise
18441 (HAS_FMA): Defined with bit_FMA_Usable.
18443 2012-10-01 Roland McGrath <roland@hack.frob.com>
18445 * bits/types.h (__swblk_t): Type removed.
18446 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18447 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18449 (__SWBLK_T_TYPE): Likewise.
18450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18451 (__SWBLK_T_TYPE): Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18453 (__SWBLK_T_TYPE): Likewise.
18454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18455 (__SWBLK_T_TYPE): Likewise.
18457 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18458 Honza Horak <hhorak@redhat.com>
18460 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18461 (xdr_mapname): Use YPMAXMAP as maxsize.
18462 (xdr_peername): Use YPMAXPEER as maxsize.
18463 (xdr_keydat): Use YPAXRECORD as maxsize.
18464 (xdr_valdat): Use YPMAXRECORD as maxsize.
18466 2012-10-01 Roland McGrath <roland@hack.frob.com>
18468 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18470 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18471 * csu/init-first.c: ... here.
18472 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18473 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18476 * sysdeps/i386/init-first.c: File removed.
18477 * sysdeps/sh/init-first.c: File removed.
18479 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18483 if x * y might underflow to zero and z is zero.
18484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18486 * math/libm-test.inc (min_subnorm_value): New variable.
18487 (fma_test): Add more tests.
18488 (fma_test_towardzero): Likewise.
18489 (fma_test_downward): Likewise
18490 (fma_test_upward): Likewise.
18491 (initialize): Set min_subnorm_value.
18493 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18499 mode for addition resulting in exact zero.
18500 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18505 * math/libm-test.inc (fma_test): Add more tests.
18506 (fma_test_towardzero): New function.
18507 (fma_test_downward): Likewise.
18508 (fma_test_upward): Likewise.
18509 (main): Call the new functions.
18511 2012-09-28 David S. Miller <davem@davemloft.net>
18513 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18515 2012-09-28 Roland McGrath <roland@hack.frob.com>
18517 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18518 instead of SIGALRM.
18520 * sysdeps/gnu/_G_config.h: Moved to ...
18521 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18522 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18523 * sysdeps/generic/_G_config.h: ... here.
18525 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18527 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18529 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18530 Conditionalize target on [libnss_test1.so-version].
18532 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18534 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18535 (elfobjdir): Move out of conditionals.
18537 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18538 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18539 (__nss_lookup_function): Conditionalize label remove_from_tree on
18540 [!DO_STATIC_NSS || SHARED], matching its only use.
18542 2012-09-28 David S. Miller <davem@davemloft.net>
18544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18547 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18551 when HWCAP_SPARC_CRYPTO is present.
18553 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18555 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18557 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18560 * stdio-common/vfprintf.c (process_string_arg): Revert
18563 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18565 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18567 * stdio-common/tst-sprintf.c: Include <locale.h>
18568 (main): Test sprintf's handling of incomplete multibyte
18571 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18573 * elf/dl-runtime.c (VERSYMIDX): Removed.
18574 * elf/dl-version.c (VERSYMIDX): Likewise.
18575 * elf/do-rel.h (VERSYMIDX): Likewise.
18576 (VALIDX): Likewise.
18577 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18578 * elf/rtld.c (VALIDX): Likewise.
18579 (ADDRIDX): Likewise.
18580 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18581 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18582 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18583 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18584 (VALIDX): Likewise.
18585 (ADDRIDX): Likewise.
18587 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18589 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18591 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18594 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18596 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18597 addresses are in the same scope as 192.0.2/24.
18598 * posix/gai.conf: Document new scope table defaults.
18600 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18603 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18604 for ftell. Compute offsets from write pointers instead.
18605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18607 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18610 * libio/Makefile (tests): New test case tst-fseek.
18611 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18612 combination works in wide mode.
18613 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18614 state when the external buffer state changes.
18616 2012-09-27 David S. Miller <davem@davemloft.net>
18619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18620 pass reloc->r_addend in as the 'high' argument to
18621 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18625 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18627 * rt/tst-aio2.c: Include <pthread.h>.
18628 * rt/tst-aio3.c: Likewise.
18630 2012-09-27 Steve Ellcey <sellcey@mips.com>
18632 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18634 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18636 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18637 contents on [SHARED].
18639 2012-09-26 Marek Polacek <polacek@redhat.com>
18643 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18644 for C++ and GCC <4.3 as well as for non GCC compilers.
18646 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18650 2012-09-25 Roland McGrath <roland@hack.frob.com>
18652 * Makefile.in (all, install): Declare with .PHONY.
18653 Reported by Michael Hope <michael.hope@linaro.org>.
18655 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18657 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18658 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18662 (sydep_routines): Add the new and the internal functions.
18663 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18664 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18666 (GLIBC_2.17): Add the new function.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18668 (GLIBC_2.17): Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18670 (GLIBC_2.17): Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18672 (GLIBC_2.17): Likewise.
18673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18675 2012-09-25 Alan Modra <amodra@gmail.com>
18677 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18678 Add release barrier before setting once_control to say
18679 initialisation is done. Add hints on lwarx. Use macro in
18681 (clear_once_control): Add release barrier.
18683 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18686 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18688 * math/s_clog10.c (__clog10): Likewise.
18689 * math/s_clog10f.c (__clog10f): Likewise.
18690 * math/s_clog10l.c (__clog10l): Likewise.
18691 * math/s_clogf.c (__clogf): Likewise.
18692 * math/s_clogl.c (__clogl): Likewise.
18693 * math/Makefile (libm-calls): Add x2y2m1.
18694 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18695 (__x2y2m1): Likewise.
18696 (__x2y2m1l): Likewise.
18697 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18698 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18701 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18702 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18703 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18708 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18709 int as type of variable DEPTH.
18710 (glob): Use size_t instead of int as type of variables NEWCOUNT
18713 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18716 Add s_sincosf-sse2.
18717 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18719 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18720 macros for using routine as __sincosf_ia32.
18721 Use macro for function declaration and weak_alias.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18724 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18727 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18728 subnormal argument.
18729 * math/s_cexpf.c (__cexpf): Likewise.
18730 * math/s_csinf.c (__csinf): Likewise.
18731 * math/s_csinhf.c (__csinhf): Likewise.
18732 * math/s_ctanf.c (__ctanf): Likewise.
18733 * math/s_ctanhf.c (__ctanhf): Likewise.
18734 * math/s_ccosh.c (__ccoshf): Likewise.
18735 * math/s_cexp.c (__cexpl): Likewise.
18736 * math/s_csin.c (__csin): Likewise.
18737 * math/s_csinh.c (__csinh): Likewise.
18738 * math/s_ctan.c (__ctan): Likewise.
18739 * math/s_ctanh.c (ctanh): Likewise.
18740 * math/s_ccoshl.c (__ccoshl): Likewise.
18741 * math/s_cexpl.c (__cexpl): Likewise.
18742 * math/s_csinl.c (__csinl): Likewise.
18743 * math/s_csinhl.c (__csinhl): Likewise.
18744 * math/s_ctanl.c (__ctanl): Likewise.
18745 * math/s_ctanhl.c (__ctanhl): Likewise.
18747 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18749 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18750 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18751 (_IO_off_t): Define to __off_t, not _G_off_t.
18752 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18753 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18754 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18755 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18756 type of __dummy and __dummy2 fields.
18757 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18758 (_G_ssize_t): Likewise.
18759 (_G_off_t): Likewise.
18760 (_G_pid_t): Likewise.
18761 (_G_uid_t): Likewise.
18762 (_G_wchar_t): Likewise.
18763 (_G_wint_t): Likewise.
18764 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18765 (_G_ssize_t): Likewise.
18766 (_G_off_t): Likewise.
18767 (_G_pid_t): Likewise.
18768 (_G_uid_t): Likewise.
18769 (_G_wchar_t): Likewise.
18770 (_G_wint_t): Likewise.
18771 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18772 (_G_ssize_t): Likewise.
18773 (_G_off_t): Likewise.
18774 (_G_pid_t): Likewise.
18775 (_G_uid_t): Likewise.
18776 (_G_wchar_t): Likewise.
18777 (_G_wint_t): Likewise.
18779 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18781 * malloc/arena.c: Include malloc-sysdep.h.
18782 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18783 is sufficient to shrink the heap or an unmap is needed.
18784 * sysdeps/generic/malloc-sysdep.h: New file. Define
18785 new function check_may_shrink_heap.
18786 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18787 new function check_may_shrink_heap.
18789 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18791 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18794 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18796 * catgets/test-gencat.sh: Add "set -e".
18797 * elf/tst-pathopt.sh: Likewise.
18798 * grp/tst_fgetgrent.sh: Likewise.
18799 * iconvdata/run-iconv-test.sh: Likewise.
18800 * intl/tst-gettext.sh: Likewise.
18801 * intl/tst-gettext2.sh: Likewise.
18802 * intl/tst-gettext4.sh: Likewise.
18803 * intl/tst-gettext6.sh: Likewise.
18804 * intl/tst-translit.sh: Likewise.
18805 * io/ftwtest-sh: Likewise.
18806 * libio/test-freopen.sh: Likewise.
18807 * malloc/tst-mtrace.sh: Likewise.
18808 * posix/globtest.sh: Likewise.
18809 * posix/tst-getconf.sh: Likewise.
18810 * posix/wordexp-tst.sh: Likewise.
18811 * stdio-common/tst-printf.sh: Likewise.
18812 * stdio-common/tst-unbputc.sh: Likewise.
18813 * stdlib/tst-fmtmsg.sh: Likewise.
18814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18815 * catgets/Makefile: Do not specify -e option when running
18816 testsuite shell scripts.
18817 * elf/Makefile: Likewise.
18818 * grp/Makefile: Likewise.
18819 * iconvdata/Makefile: Likewise.
18820 * intl/Makefile: Likewise.
18821 * io/Makefile: Likewise.
18822 * libio/Makefile: Likewise.
18823 * malloc/Makefile: Likewise.
18824 * posix/Makefile: Likewise.
18825 * stdio-common/Makefile: Likewise.
18826 * stdlib/Makefile: Likewise.
18827 * sysdeps/x86_64/Makefile: Likewise.
18829 * io/ftwtest-sh: Add copyright header.
18830 * posix/globtest.sh: Likewise.
18831 * posix/tst-getconf.sh: Likewise.
18832 * posix/wordexp-tst.sh: Likewise.
18833 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18835 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18838 * Makeconfig (+link): Defined as $(+link-static) if
18839 $(build-shared) isn't yes.
18840 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18842 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18844 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18847 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18848 new chunk size with MALLOC_ALIGN_MASK.
18850 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18853 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18855 (__printf_fphex): Determine rounding using get_rounding_mode and
18857 * stdio-common/tst-printf-round.c (struct hex_test): New
18859 (hex_tests): New variable.
18860 (test_hex_in_one_mode): New function.
18861 (do_test): Also run tests for hex float output.
18863 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18865 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18866 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18867 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18868 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18870 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18871 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18874 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18876 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18877 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18878 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18879 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18881 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18884 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18886 * elf/tst-rtld-load-self.sh: New test.
18887 * elf/Makefile: Run it.
18889 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18891 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18892 (tst-writev-ENV): Remove.
18893 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18895 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18897 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18899 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18901 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18903 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18905 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18906 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18907 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18910 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18913 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18914 * config.make.in (have-cpp-asm-debuginfo): Removed.
18915 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18916 * configure: Regenerated.
18918 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18921 * stdio-common/printf_fp.c: Include <stdbool.h> and
18923 (___printf_fp): Determine rounding using get_rounding_mode and
18925 * stdio-common/tst-printf-round.c: New file.
18926 * stdio-common/Makefile (tests): Add tst-printf-round.
18927 (link-libm): New variable.
18928 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18930 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18933 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18934 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18936 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18939 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18941 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18942 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18943 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18946 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18949 * include/rounding-mode.h: New file.
18950 * sysdeps/generic/get-rounding-mode.h: Likewise.
18951 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18952 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18953 (MAX_VALUE): New macro.
18954 (MIN_VALUE): Likewise.
18955 (overflow_value): New function.
18956 (underflow_value): Likewise.
18957 (round_and_return): Use overflow_value and underflow_value to
18958 determine return values in overflow and underflow cases. Use
18959 round_away to determine rounding depending on rounding mode.
18960 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18961 determine return values in overflow and underflow cases.
18962 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18963 (struct test_results): New structure.
18964 (struct test): Use struct test_results to store expected results
18965 for all rounding modes.
18966 (TEST): Include expected results for all rounding modes.
18967 (test_in_one_mode): New function.
18968 (do_test): Use test_in_one_mode to compute and check results.
18969 Check results for all rounding modes.
18970 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18973 2012-12-09 Allan McRae <allan@archlinux.org>
18975 * sysdeps/i386/fpu/libm-test-ulps: Update
18977 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18979 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18980 (_G_int32_t): Likewise.
18981 (_G_uint16_t): Likewise.
18982 (_G_uint32_t): Likewise.
18983 (_G_HAVE_BOOL): Likewise.
18984 (_G_HAVE_ATEXIT): Likewise.
18985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18986 (_G_HAVE_IO_FILE_OPEN): Likewise.
18987 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18988 (_G_int32_t): Likewise.
18989 (_G_uint16_t): Likewise.
18990 (_G_uint32_t): Likewise.
18991 (_G_HAVE_BOOL): Likewise.
18992 (_G_HAVE_ATEXIT): Likewise.
18993 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18994 (_G_HAVE_IO_FILE_OPEN): Likewise.
18995 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18996 (_G_int32_t): Likewise.
18997 (_G_uint16_t): Likewise.
18998 (_G_uint32_t): Likewise.
18999 (_G_HAVE_BOOL): Likewise.
19000 (_G_HAVE_ATEXIT): Likewise.
19001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19002 (_G_HAVE_IO_FILE_OPEN): Likewise.
19004 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19006 * csu/libc-tls.c: Update copyright years.
19008 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19010 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19011 [!_G_USING_THUNKS]: Remove conditional code.
19012 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19013 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19015 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19016 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19017 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19018 (_G_VTABLE_LABEL_PREFIX): Likewise.
19019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19020 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19022 (_G_VTABLE_LABEL_PREFIX): Likewise.
19023 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19024 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19026 (_G_VTABLE_LABEL_PREFIX): Likewise.
19027 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19029 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19031 * libio/Makefile: Include ../Makeconfig before tests.
19032 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19033 only if $(build-shared) is yes.
19035 * iconv/gconv_db.c: Update copyright years.
19037 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19039 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19040 unwind info if defined PIC. Fix special cases description.
19041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19043 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19045 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19047 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19049 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19051 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19054 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19055 (LDLIBS-tst-chk4): This.
19056 (LDFLAGS-tst-chk5): Renamed to ...
19057 (LDLIBS-tst-chk5): This.
19058 (LDFLAGS-tst-chk6): Renamed to ...
19059 (LDLIBS-tst-chk6): This.
19060 (LDFLAGS-tst-lfschk4): Renamed to ...
19061 (LDLIBS-tst-lfschk4): This.
19062 (LDFLAGS-tst-lfschk5): Renamed to ...
19063 (LDLIBS-tst-lfschk5): This.
19064 (LDFLAGS-tst-lfschk6): Renamed to ...
19065 (LDLIBS-tst-lfschk6): This.
19067 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19068 on $(common-objpfx)soversions.mk.
19070 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19073 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19076 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19078 * malloc/arena.c (arena_get_retry): New function that gets
19079 another arena for the caller to try its request on.
19080 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19081 current arena cannot fulfill the request.
19082 (__libc_memalign): Likewise.
19083 (__libc_memalign): Likewise.
19084 (__libc_pvalloc): Likewise.
19085 (__libc_calloc): Likewise.
19087 2012-09-05 John Tobey <john.tobey@gmail.com>
19090 * manual/arith.texi (Operations on Complex): Fix description
19091 of carg branch cut.
19093 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19096 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19100 * manual/memory.texi (Memory): Make order of menu items match
19103 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19105 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19106 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19107 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19109 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19111 * csu/libc-tls.c (static_dtv): Renamed to ...
19112 (_dl_static_dtv): This. Make it global.
19113 (_dl_initial_dtv): Removed.
19114 (__libc_setup_tls): Updated.
19115 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19116 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19119 2012-09-06 Petr Machata <pmachata@redhat.com>
19121 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19122 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19123 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19124 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19126 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19129 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19130 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19133 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19136 * Makeconfig (link-static-before-libc): Replace $(+prector)
19138 (link-static-after-libc): Replace $(+postctor) with
19140 (link-bounded): Replace $(+prector)/$(+postctor) with
19141 $(+prectorT)/$(+postctorT).
19142 (+prectorT): New macro.
19143 (+postctorT): Likewise.
19145 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19147 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19148 (round_str): Handle values above the maximum for IBM long double
19150 * stdlib/tst-strtod-round.c (tests): Regenerated.
19152 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19154 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19156 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19157 zarch_nohighgprs around the zarch optimized routines.
19158 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19159 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19163 2012-09-05 David S. Miller <davem@davemloft.net>
19165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19167 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19168 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19169 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19170 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19175 * malloc/arena.c: Fold copyright years.
19176 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19178 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19180 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19184 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19186 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19188 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19189 change internal state upon failure.
19191 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19193 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19194 * malloc/memusage.c (mmap): Likewise.
19195 (mmap64, mremap): Likewise. Adjust name in comment.
19197 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19199 * libio/fileops.c: Fix typos in comments.
19200 * libio/oldfileops.c: Likewise.
19201 * libio/wfileops.c: Likewise.
19203 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19206 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19207 (tst-malloc-usable-ENV): Set environment for test case.
19208 * malloc/hooks.c (malloc_check_get_size): New function to get
19210 * malloc/malloc.c (musable): Use malloc_check_get_size.
19211 * malloc/tst-malloc-usable.c: New test case.
19213 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19215 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19217 2012-09-05 Allan McRae <allan@archlinux.org>
19220 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19221 determine header location.
19222 * configure: Regenerated.
19224 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19226 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19228 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19229 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19231 (test): Regenerate.
19233 2012-09-04 David S. Miller <davem@davemloft.net>
19235 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19236 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19239 2012-09-04 Florian Weimer <fweimer@redhat.com>
19241 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19244 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19246 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19249 * libio/iogetdelim.c: Include <limits.h>.
19250 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19251 + len + 1 would overflow.
19253 2012-09-03 Andreas Jaeger <aj@suse.de>
19255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19256 * sysdeps/i386/fpu/libm-test-ulps: Update.
19258 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19261 Add s_sinf-sse2, s_conf-sse2.
19263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19265 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19266 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19268 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19269 for using routine as __sinf_ia32.
19270 Use macro for function declaration and weak_alias.
19271 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19272 for using routine as __cosf_ia32.
19273 Use macro for function declaration and weak_alias.
19275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19276 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19278 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19279 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19282 * math/libm-test.inc (cos_test): Add more test cases.
19283 (sin_test): Likewise.
19284 (sincos_test): Likewise.
19286 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19289 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19291 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19293 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19296 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19297 first element of the GOT.
19298 (elf_machine_load_address): Return the difference between
19299 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19301 2012-09-01 Allan McRae <allan@archlinux.org>
19304 * configure.in (AWK): Require gawk version 3.0 or later.
19305 * configure: Regenerated.
19307 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19309 * sysdeps/unix/sysv/linux/kernel-features.h
19310 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19312 [__NR_clock_getres]: Make code unconditional.
19313 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19314 (clock_getcpuclockid): Remove code left unreachable by removal of
19316 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19317 code unconditional.
19318 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19321 Make code unconditional.
19322 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/clock_settime.c
19325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19327 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19330 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19333 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19334 scripts/test-installation.pl.
19336 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19337 and $ld_so_version if it is set.
19339 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19343 failure if reading from procfs failed.
19344 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19346 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19348 * sysdeps/unix/sysv/linux/kernel-features.h
19349 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19350 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19351 Remove conditional code.
19352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19354 Remove conditional code.
19355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/i386/fxstat.c
19357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/i386/lxstat.c
19363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19366 Remove conditional code.
19367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19372 <kernel-features.h>.
19373 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19375 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19376 Remove conditional code.
19377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19378 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19379 Remove conditional.
19381 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19384 * NEWS: Add fixed bug number.
19386 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19389 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19390 underflowing exponent in case of negative sign.
19391 * stdlib/tst-strtod-round-data: Add more tests.
19392 * stdlib/tst-strtod-round.c (tests): Regenerated.
19395 * stdlib/strtod_l.c (NDIG): Remove.
19396 (HEXNDIG): Likewise.
19397 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19398 smallest representable value.
19399 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19400 lie within an exact representation of 1/2 ulp of the result.
19401 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19403 (TENS_P9_IDX): Define unconditionally.
19404 (TENS_P9_SIZE): Likewise.
19405 (TENS_P10_IDX): Likewise.
19406 (TENS_P10_SIZE): Likewise.
19407 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19408 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19410 entries for 10^2^13 and 10^2^14.
19411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19412 (TENS_P13_IDX): Define.
19413 (TENS_P13_SIZE): Likewise.
19414 (TENS_P14_IDX): Likewise.
19415 (TENS_P14_SIZE): Likewise.
19416 (_fpioconst_pow10): Change array size to
19417 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19419 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19420 1024]: Add entries for 10^2^13 and 10^2^14.
19421 [LAST_POW10 > _LAST_POW10]: Remove #error.
19422 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19423 (_fpioconst_pow10): Change array size to
19424 FPIOCONST_POW10_ARRAY_SIZE.
19425 * stdlib/gen-fpioconst.c: New file.
19426 * stdlib/gen-tst-strtod-round.c: Likewise.
19427 * stdlib/tst-strtod-round-data: Likewise.
19428 * stdlib/tst-strtod-round.c: Likewise.
19429 * stdlib/Makefile (tests): Add tst-strtod-round.
19432 * stdlib/strtod_l.c: Include <stdint.h>.
19433 (NDEBUG): Do not define.
19434 (round_and_return): Change EXPONENT parameter to type intmax_t.
19435 Rearrange calculations to avoid internal overflow possibilities.
19436 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19437 Rearrange calculations to avoid internal overflow possibilities.
19438 Assert that number fits inside MPNSIZE limbs.
19439 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19440 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19441 calculations and add assertions to avoid internal overflow
19442 possibilities. Add casts to avoid signed/unsigned operations.
19443 * stdlib/tst-strtod-overflow.c: New file.
19444 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19446 2012-08-25 Marek Polacek <polacek@redhat.com>
19448 * time/time.h: Fix some typos in comments.
19450 2012-08-23 Roland McGrath <roland@hack.frob.com>
19452 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19453 * posix/tst-rfc3484-2.c: Likewise.
19454 * posix/tst-rfc3484-3.c: Likewise.
19456 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19458 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19459 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19461 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19463 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19464 #include of fxstatat64.c.
19466 2012-08-22 Roland McGrath <roland@hack.frob.com>
19468 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19469 * shadow/getspent_r.c: Likewise.
19470 * shadow/getspnam.c: Likewise.
19471 * shadow/getspnam_r.c: Likewise.
19472 * gshadow/getsgent.c: Likewise.
19473 * gshadow/getsgent_r.c: Likewise.
19474 * gshadow/getsgnam.c: Likewise.
19475 * gshadow/getsgnam_r.c: Likewise.
19476 * inet/getnetbyad.c: Likewise.
19477 * inet/getnetbyad_r.c: Likewise.
19478 * inet/getnetbynm.c: Likewise.
19479 * inet/getnetbynm_r.c: Likewise.
19480 * inet/getnetent.c: Likewise.
19481 * inet/getnetent_r.c: Likewise.
19482 * inet/getproto.c: Likewise.
19483 * inet/getproto_r.c: Likewise.
19484 * inet/getprtent.c: Likewise.
19485 * inet/getprtent_r.c: Likewise.
19486 * inet/getprtname.c: Likewise.
19487 * inet/getprtname_r.c: Likewise.
19488 * inet/getrpcbyname.c: Likewise.
19489 * inet/getrpcbyname_r.c: Likewise.
19490 * inet/getrpcbynumber.c: Likewise.
19491 * inet/getrpcbynumber_r.c: Likewise.
19492 * inet/getrpcent.c: Likewise.
19493 * inet/getrpcent_r.c: Likewise.
19494 * inet/getaliasent.c: Likewise.
19495 * inet/getaliasent_r.c: Likewise.
19496 * inet/getaliasname.c: Likewise.
19497 * inet/getaliasname_r.c: Likewise.
19498 * nscd/getgrgid_r.c: Likewise.
19499 * nscd/getgrnam_r.c: Likewise.
19500 * nscd/gethstbyad_r.c: Likewise.
19501 * nscd/gethstbynm3_r.c: Likewise.
19502 * nscd/getpwnam_r.c: Likewise.
19503 * nscd/getpwuid_r.c: Likewise.
19504 * nscd/getsrvbynm_r.c: Likewise.
19505 * nscd/getsrvbypt_r.c: Likewise.
19506 * nscd/gai.c: Likewise.
19508 * configure.in (build_nscd): New substituted variable, set
19509 by --disable-build-nscd and defaults to $use_nscd.
19510 * configure: Regenerated.
19511 * config.make.in (build-nscd): New substituted variable.
19512 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19513 Change conditional to require [$(build-nscd) = yes] as well.
19514 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19517 * configure.in (use_nscd): New substituted variable, set by
19518 --disable-nscd. If enabled, define USE_NSCD.
19519 * configure: Regenerated.
19520 * config.h.in: Add USE_NSCD.
19521 * config.make.in (use-nscd): New substituted variable.
19522 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19523 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19524 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19525 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19526 (CFLAGS-getgrnam_r.c): Likewise.
19527 (CFLAGS-initgroups.c): Likewise.
19528 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19529 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19531 * inet/getnetgrent_r.c
19532 (nscd_setnetgrent): New function, broken out of ...
19533 (setnetgrent): ... here. Call it.
19534 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19535 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19536 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19537 * nscd/Makefile (routines, aux): Move definitions after include of
19538 Makeconfig. Conditionalize on [$(use-nscd) != no].
19539 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19540 Conditionalize on [USE_NSCD].
19541 (is_nscd, nscd_init_cb): Likewise.
19542 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19543 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19544 * nss/nss_db/db-init.c: Likewise.
19545 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19547 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19548 (make_request): Use it.
19549 (cache_valid_p): New function.
19550 (__check_pf): Use it.
19551 * NEWS: Add item for --disable-nscd.
19553 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19555 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19556 to support sed >= 4.2.1-20-ga9bf076.
19557 * configure: Regenerated.
19559 2012-08-22 Roland McGrath <roland@hack.frob.com>
19561 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19562 Conditionalize whole body on [IREL].
19564 2012-08-22 Jeff Law <law@redhat.com>
19567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19568 if the family is PF_UNSPEC.
19570 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19572 * Makerules (lib-version): Rename from V.
19573 (install-lib-nosubdir): Change V to lib-version.
19575 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19578 * powerpc32/power6/wcschr.c: New file.
19579 * powerpc32/power6/wcscpy.c: New file.
19580 * powerpc32/power6/wcsrchr.c: New file.
19581 * powerpc64/power6/wcschr.c: New file.
19582 * powerpc64/power6/wcscpy.c: New file.
19583 * powerpc64/power6/wcsrchr.c: New file.
19585 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19587 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19588 (two_way_short_needle): Use it.
19589 * string/strstr.c (AVAILABLE1_USES_J): Define.
19590 * string/strcasestr.c: Likewise.
19592 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19594 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19597 * NEWS: Add an entry.
19598 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19599 define their defaults.
19600 (two_way_short_needle): Detect end-of-string on-the-fly.
19601 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19602 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19603 * string/bug-strcasestr1.c: New test.
19604 * string/Makefile: Run it.
19606 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19609 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19610 the first character.
19612 2012-08-21 Roland McGrath <roland@hack.frob.com>
19614 * csu/elf-init.c (__libc_csu_irel): Function removed.
19615 * csu/libc-start.c (apply_irel): New function.
19616 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19618 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19620 * sysdeps/unix/sysv/linux/kernel-features.h
19621 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19622 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19623 <kernel-features.h>.
19624 [__NR_fadvise64_64]: Make code unconditional.
19625 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19626 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19627 !__NR_fadvise64_64)]: Likewise.
19628 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19629 !__NR_fadvise64_64))]: Likewise.
19630 [__NR_fadvise64]: Make code unconditional.
19631 [!__NR_fadvise64]: Remove conditional code.
19632 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19633 <kernel-features.h>.
19634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19639 not include <kernel-features.h>.
19640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19644 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19645 include <kernel-features.h>.
19646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19651 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19654 slight instruction rearrangements per scrollpipe analysis.
19655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19657 2012-08-20 Roland McGrath <roland@hack.frob.com>
19659 * manual/syslog.texi (syslog; vsyslog, closelog):
19660 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19661 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19663 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19664 DSOCAPS to match condition on defining it.
19666 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19668 * sysdeps/unix/sysv/linux/kernel-features.h
19669 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19680 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19681 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19683 * sysdeps/unix/sysv/linux/kernel-features.h
19684 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19685 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19687 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19688 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19691 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19692 Make code unconditional.
19693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19694 (__mmap64) [!__NR_mmap2]: Likewise.
19695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19699 [__NR_mmap2]: Make code unconditional.
19700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19701 (__mmap64) [!__NR_mmap2]: Likewise.
19703 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19705 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19707 2012-08-18 Andreas Jaeger <aj@suse.de>
19709 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19711 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19713 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19714 * include/unistd.h (__have_sock_cloexec): Likewise.
19715 (__have_pipe2): Likewise.
19716 (__have_dup3): Likewise.
19718 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19721 * include/unistd.h (__have_pipe2): Change define into an extern int.
19722 (__have_dup3): Likewise.
19723 * socket/have_sock_cloexec.c: Include fcntl.h.
19724 (__have_pipe2): New variable.
19725 (__have_dup3): Likewise.
19727 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19729 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19731 2012-08-17 Marek Polacek <polacek@redhat.com>
19733 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19734 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19736 2012-08-17 Roland McGrath <roland@hack.frob.com>
19738 * configure.in: Add AC_SUBST for sysheaders.
19739 * configure: Regenerated.
19740 * config.make.in (sysheaders): New substituted variable.
19742 * sysdeps/unix/mkfifo.c: Moved ...
19743 * sysdeps/posix/mkfifo.c: ... here.
19744 * sysdeps/unix/mkfifoat.c: Moved ...
19745 * sysdeps/posix/mkfifoat.c: ... here.
19747 * sysdeps/unix/utime.c: Moved ...
19748 * sysdeps/posix/utime.c: ... here.
19750 * sysdeps/unix/time.c: Moved ...
19751 * sysdeps/posix/time.c: ... here.
19752 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19755 * sysdeps/unix/nice.c: Moved ...
19756 * sysdeps/posix/nice.c: ... here.
19758 * sysdeps/unix/alarm.c: Moved ...
19759 * sysdeps/posix/alarm.c: ... here.
19761 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19763 2012-08-17 Jeff Law <law@redhat.com>
19765 * intl/Makefile (codeset_mo): New variable.
19766 ($(codeset_mo)): New target.
19767 (tst-codeset.out): Depend on that. Remove explicit rule.
19768 (tst-gettext3.out, tst-gettext5.out): Likewise.
19769 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19770 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19771 * intl/tst-codeset.sh: Remove.
19772 * intl/tst-gettext3.sh: Likewise.
19773 * intl/tst-gettext5.sh: Likewise.
19775 2012-08-17 Roland McGrath <roland@hack.frob.com>
19777 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19778 * sysdeps/unix/syscalls.list: ... here.
19780 * sysdeps/posix/getaddrinfo.c
19781 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19782 (gaiconf_init, gaiconf_reload): Use them.
19783 [!_STATBUF_ST_NSEC]
19784 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19785 Define using time_t rather than struct timespec.
19787 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19788 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19790 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19792 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19793 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19796 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19797 __libc_cleanup_push argument.
19799 * bits/param.h: New file.
19800 * misc/sys/param.h: New file.
19801 * include/sys/param.h: New file.
19802 * misc/Makefile (headers): Add bits/param.h.
19803 * sysdeps/generic/sys/param.h: File removed.
19804 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19805 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19806 * sysdeps/mach/hurd/bits/param.h: New file.
19807 * sysdeps/mach/hurd/sys/param.h: File removed.
19809 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19812 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19814 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19815 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19818 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19819 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19820 rather than -D_IO_MTSAFE_IO conditionally.
19821 * stdio-common/Makefile (CPPFLAGS): Likewise.
19822 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19823 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19824 Use $(libio-mtsafe).
19825 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19826 of -D_IO_MTSAFE_IO.
19827 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19828 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19829 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19830 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19831 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19832 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19833 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19834 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19835 (CFLAGS-fread_u_chk.c): Likewise.
19836 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19837 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19838 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19839 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19840 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19841 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19842 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19843 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19844 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19846 * libio/Makefile: Test [$(libc-reentrant) = yes]
19847 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19850 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19851 * sysdeps/pthread/configure: File removed.
19852 * sysdeps/pthread/Makeconfig: New file.
19853 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19854 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19856 2012-08-16 Gary Benson <gbenson@redhat.com>
19858 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19859 unmapping the first object in a namespace.
19861 2012-08-16 Roland McGrath <roland@hack.frob.com>
19863 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19864 (__internal_setnetgrent): ... this. Add internal_function to
19865 definition. Add libc_hidden_def.
19866 (setnetgrent): Update caller.
19867 (internal_endnetgrent): Renamed to ...
19868 (__internal_endnetgrent): ... this. Add internal_function to
19869 definition. Add libc_hidden_def.
19870 (endnetgrent): Update caller.
19871 (internal_getnetgrent_r): Renamed to ...
19872 (__internal_getnetgrent_r): ... this. Add internal_function to
19873 definition. Add libc_hidden_def.
19874 (__getnetgrent_r): Update caller.
19875 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19877 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19879 * stdlib/longlong.h: Update from GCC.
19881 2012-08-16 Roland McGrath <roland@hack.frob.com>
19883 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19884 on _QL, which is set by umul_ppmm but never used.
19885 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19886 variables, which are set by GMP macros but never used.
19887 * stdio-common/_itowa.c (_itowa): Likewise.
19888 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19889 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19891 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19893 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19894 struct La_sh_regs is not constant.
19895 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19896 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19897 and struct La_sparc64_regs are not constant.
19899 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19901 * sysdeps/unix/sysv/linux/kernel-features.h
19902 (__ASSUME_POSIX_TIMERS): Remove.
19903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19906 Make code unconditional.
19907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19908 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19909 Make code unconditional.
19910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19911 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19912 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19914 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19915 Make code unconditional.
19916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19917 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19918 (__libc_missing_posix_timers): Remove.
19920 2012-08-15 Roland McGrath <roland@hack.frob.com>
19922 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19923 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19925 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19927 * elf/dl-sym.c: Include <stdlib.h>.
19929 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19930 constants, which avoids warnings in 32-bit builds.
19932 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19933 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19935 * misc/lseek.c: File moved to ...
19936 * io/lseek.c: ... here.
19938 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19940 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19941 shifting LEN more than 31 bits at once.
19943 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19946 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19947 segmentation fault for a case of two empty input strings.
19948 * string/test-strncasecmp.c (check1): Renamed to...
19949 (bz12205): ...this.
19950 (bz14195): Add new testcase for two empty input strings and N > 0.
19951 (test_main): Call new testcase, adapt for renamed function.
19953 2012-08-15 Andreas Jaeger <aj@suse.de>
19956 * crypt/md5test2.c: New test, based on test supplied by Serge
19957 Belyshev <belyshev@depni.sinp.msu.ru>.
19958 * crypt/Makefile (xtests): Add md5test-giant..
19959 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19961 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19964 * crypt/md5.c (md5_process_block): Don't assume the buffer
19965 length is less than 2**32.
19966 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19967 length is less than 2**64.
19969 2012-08-15 Roland McGrath <roland@hack.frob.com>
19971 * string/str-two-way.h: Include <sys/param.h>.
19972 (MAX): Macro removed.
19974 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19975 Move #define and #undef of memmove to just before and after
19976 including <string.h>.
19978 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19979 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19980 and after including <string.h>. Move declarations of
19981 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19982 to before #include "string/memmove.c".
19984 * include/dirent.h: Declare __getdirentries.
19986 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19987 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19989 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19991 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19992 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19993 * sysdeps/i386/configure: Regenerated.
19994 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19995 STABS_CURRENT_FILE, and STABS_FUN.
19996 (END): Remove call to STABS_FUN_END.
19997 (STABS_CURRENT_FILE1): Delete.
19998 (STABS_CURRENT_FILE): Likewise.
19999 (STABS_FUN): Likewise.
20000 (STABS_FUN_END): Likewise.
20001 (STABS_FUN2): Likewise.
20002 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20003 * sysdeps/x86_64/configure: Regenerated.
20005 2012-08-14 Roland McGrath <roland@hack.frob.com>
20007 * elf/dl-open.c: Include <atomic.h>.
20008 * elf/dl-lookup.c: Likewise.
20010 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20012 * sysdeps/unix/sysv/linux/kernel-features.h
20013 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20014 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20016 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20018 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20019 condition on __ASSUME_CLONE_THREAD_FLAGS.
20021 2012-08-14 Andreas Jaeger <aj@suse.de>
20023 * sysdeps/i386/fpu/libm-test-ulps: Update.
20025 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20027 * include/atomic.h (atomic_exchange_and_add): Split into ...
20028 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20031 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20035 2012-08-13 Jeff Law <law@redhat.com>
20037 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20038 null byte in the output string.
20040 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20042 * sysdeps/unix/sysv/linux/kernel-features.h
20043 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20044 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20045 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20046 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20047 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20048 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20049 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20051 2012-08-09 Jeff Law <law@redhat.com>
20054 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20055 When avoid_arena is set, don't retry in the that arena. Pick the
20056 next one, whatever it might be.
20057 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20058 (arena_lock): Pass in new parameter to arena_get2.
20059 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20061 (__libc_malloc): Unify retrying after main arena failure with
20062 __libc_memalign version.
20063 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20065 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20068 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20069 to __redirect_strstr.
20070 (__strstr_sse42): Use typeof __redirect_strstr.
20071 (__strstr_ia32): Likewise.
20072 (__libc_strstr): New prototype.
20073 (strstr): Renamed to ...
20074 (__libc_strstr): This.
20075 (strstr): New strong alias of __libc_strstr.
20076 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20077 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20080 (__libc_time): New prototype.
20081 (time_ifunc): Replace time with __libc_time.
20082 (time): New strong alias and hidden definition of __libc_time.
20083 (__GI_time): Remove strong alias.
20084 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20085 Include <stddef.h>.
20086 (memmove): Redefined to __redirect_memmove.
20087 (__memmove_sse2): Use typeof __redirect_memmove.
20088 (__memmove_ssse3): Likewise.
20089 (__memmove_ssse3_back): Likewise.
20090 (__libc_memmove): New prototype.
20091 (memmove): Renamed to ...
20092 (__libc_memmove): This.
20093 (memmove): New strong alias of __libc_memmove.
20095 2012-08-08 Mark Salter <msalter@redhat.com>
20098 (R_MN10300_TLS_GD): Define.
20099 (R_MN10300_TLS_LD): Likewise.
20100 (R_MN10300_TLS_LDO): Likewise.
20101 (R_MN10300_TLS_GOTIE): Likewise.
20102 (R_MN10300_TLS_IE): Likewise.
20103 (R_MN10300_TLS_LE): Likewise.
20104 (R_MN10300_TLS_DTPMOD): Likewise.
20105 (R_MN10300_TLS_DTPOFF): Likewise.
20106 (R_MN10300_TLS_TPOFF): Likewise.
20107 (R_MN10300_SYM_DIFF): Likewise.
20108 (R_MN10300_ALIGN): Likewise.
20109 (R_MN10300_NUM): Update.
20111 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20116 2012-08-08 Roland McGrath <roland@hack.frob.com>
20118 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20120 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20121 sysdeps/unix -> sysdeps/posix move.
20122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20124 2012-08-07 Allan McRae <allan@archlinux.org>
20127 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20128 (SUNOS_CPP): Likewise.
20129 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20131 (open_input): Call CPP using execvp.
20133 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20135 * sysdeps/unix/sysv/linux/kernel-features.h
20136 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20137 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20138 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20139 (__ASSUME_WAITID_SYSCALL): Likewise.
20140 * sysdeps/unix/sysv/linux/dl-execstack.c
20141 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20142 code unconditional.
20143 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20145 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20146 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20147 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20149 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20151 [__ASSUME_WAITID_SYSCALL]: Likewise.
20152 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20154 2012-08-07 Roland McGrath <roland@hack.frob.com>
20156 * sysdeps/unix/closedir.c: Renamed to ...
20157 * sysdeps/posix/closedir.c: ... here.
20158 * sysdeps/unix/dirfd.c: Renamed to ...
20159 * sysdeps/posix/dirfd.c: ... here.
20160 * sysdeps/unix/dirstream.h: Renamed to ...
20161 * sysdeps/posix/dirstream.h: ... here.
20162 * sysdeps/unix/fdopendir.c: Renamed to ...
20163 * sysdeps/posix/fdopendir.c: ... here.
20164 * sysdeps/unix/opendir.c: Renamed to ...
20165 * sysdeps/posix/opendir.c: ... here.
20166 * sysdeps/unix/readdir.c: Renamed to ...
20167 * sysdeps/posix/readdir.c: ... here.
20168 * sysdeps/unix/readdir_r.c: Renamed to ...
20169 * sysdeps/posix/readdir_r.c: ... here.
20170 * sysdeps/unix/rewinddir.c: Renamed to ...
20171 * sysdeps/posix/rewinddir.c: ... here.
20172 * sysdeps/unix/seekdir.c: Renamed to ...
20173 * sysdeps/posix/seekdir.c: ... here.
20174 * sysdeps/unix/telldir.c: Renamed to ...
20175 * sysdeps/posix/telldir.c: ... here.
20176 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20177 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20178 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20179 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20182 * bits/fcntl.h: ... here.
20184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20186 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20187 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20188 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20189 (struct flock): Move l_start, l_len to the beginning.
20190 Use __pid_t for l_pid.
20191 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20192 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20193 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20194 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20195 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20196 [__USE_LARGEFILE64] (struct flock64): New type.
20197 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20200 * bits/dirent.h: ... here.
20202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20203 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20205 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20208 Change from 2.6.0 to 2.6.16.
20209 * sysdeps/unix/sysv/linux/configure: Regenerated.
20210 * sysdeps/unix/sysv/linux/kernel-features.h
20211 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20212 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20214 (__ASSUME_UTIMES): Likewise.
20215 (__ASSUME_CLONE_STOPPED): Remove.
20216 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20217 architectures, not kernel version.
20218 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20219 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20220 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20221 (__ASSUME_WAITID_SYSCALL): Likewise.
20222 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20223 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20224 * README: State 2.6.16 as minimum Linux kernel version. Do not
20225 refer to older versions.
20227 2012-08-06 Roland McGrath <roland@hack.frob.com>
20229 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20230 Define alphasort64 as an alias.
20231 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20232 Define versionsort64 as an alias.
20233 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20234 Define scandir64 as an alias.
20235 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20236 Define scandirat64 as an alias.
20237 * dirent/alphasort64.c (alphasort64):
20238 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20239 * dirent/versionsort64.c: Likewise.
20240 * dirent/scandir64.c: Likewise.
20241 * dirent/scandirat64.c: Likewise.
20242 * sysdeps/wordsize-64/alphasort.c: File removed.
20243 * sysdeps/wordsize-64/alphasort64.c: File removed.
20244 * sysdeps/wordsize-64/scandir.c: File removed.
20245 * sysdeps/wordsize-64/scandir64.c: File removed.
20246 * sysdeps/wordsize-64/scandirat.c: File removed.
20247 * sysdeps/wordsize-64/scandirat64.c: File removed.
20248 * sysdeps/wordsize-64/versionsort.c: File removed.
20249 * sysdeps/wordsize-64/versionsort64.c: File removed.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20259 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20261 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20263 [defined __arch64__ || defined __sparcv9]
20264 (__INO_T_MATCHES_INO64_T): New macro.
20265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20266 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20267 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20268 * sysdeps/unix/sysv/linux/bits/dirent.h
20269 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20270 (_DIRENT_MATCHES_DIRENT64): New macro.
20272 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20273 Define lockf64 as an alias.
20274 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20275 Define fseeko64 as an alias.
20276 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20277 Define ftello64 as an alias.
20278 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20279 Define _IO_fgetpos64 and fgetpos64 as aliases.
20280 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20281 Define _IO_fsetpos64 and fsetpos64 as aliases.
20282 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20283 Conditionalize body on this.
20284 * libio/fseeko64.c: Likewise.
20285 * libio/ftello64.c: Likewise.
20286 * libio/iofgetpos64.c: Likewise.
20287 * libio/iofsetpos64.c: Likewise.
20288 * sysdeps/wordsize-64/lockf.c: File removed.
20289 * sysdeps/wordsize-64/lockf64.c: File removed.
20290 * sysdeps/wordsize-64/fseeko.c: File removed.
20291 * sysdeps/wordsize-64/fseeko64.c: File removed.
20292 * sysdeps/wordsize-64/ftello.c: File removed.
20293 * sysdeps/wordsize-64/ftello64.c: File removed.
20294 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20295 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20296 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20297 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20309 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20311 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20313 [defined __arch64__ || defined __sparcv9]
20314 (__OFF_T_MATCHES_OFF64_T): New macro.
20315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20316 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20318 (__OFF_T_MATCHES_OFF64_T): New macro.
20320 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20322 * stdlib/secure-getenv.c (__secure_getenv): Replace
20323 GLIBC_2_16 with GLIBC_2_17.
20325 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20330 2012-08-03 David S. Miller <davem@davemloft.net>
20332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20334 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20338 (__ASSUME_CORRECT_SI_PID): Likewise.
20339 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20340 (__ASSUME_TMPFS_NAME): Likewise.
20341 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20342 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20343 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20344 (HAVE_AUX_SECURE): Make definition unconditional.
20345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20346 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20348 2012-08-03 Roland McGrath <roland@hack.frob.com>
20350 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20351 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20352 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20354 __eloop_threshold instead of SYMLOOP_MAX.
20356 * sysdeps/generic/eloop-threshold.h: New file.
20357 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20359 * elf/chroot_canon.c (chroot_canon): Likewise.
20361 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20365 Change to 2.6.0 everywhere.
20366 * sysdeps/unix/sysv/linux/configure: Regenerated.
20367 * sysdeps/unix/sysv/linux/kernel-features.h
20368 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20369 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20371 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20372 (__ASSUME_FUTEX_REQUEUE): Remove.
20373 (__ASSUME_STATFS64): Define unconditionally.
20374 (__ASSUME_AT_SECURE): Likewise.
20375 (__ASSUME_CORRECT_SI_PID): Likewise.
20376 (__ASSUME_TGKILL): Define without depending on kernel version for
20378 (__ASSUME_UTIMES): Likewise.
20379 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20381 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20382 (__ASSUME_TMPFS_NAME): Likewise.
20383 * README: Update reference to Linux kernel versions.
20385 2012-08-02 Marek Polacek <polacek@redhat.com>
20388 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20389 libc_cv_asm_type_prefix with %.
20390 * configure: Regenerated.
20391 * include/libc-symbols.h: Remove comment about
20392 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20393 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20394 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20395 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20396 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20397 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20398 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20399 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20400 * elf/tst-unique2mod1.c: Likewise.
20401 * elf/tst-unique1mod2.c: Likewise.
20402 * elf/tst-unique1mod1.c: Likewise.
20403 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20404 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20405 Replace ASM_TYPE_DIRECTIVE with .type.
20406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20407 * sysdeps/i386/sysdep.h: Likewise.
20408 * sysdeps/x86_64/sysdep.h: Likewise.
20409 * sysdeps/sh/sysdep.h: Likewise.
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20411 Do not define ASM_TYPE_DIRECTIVE.
20412 * sysdeps/powerpc/sysdep.h: Likewise.
20413 * sysdeps/powerpc/powerpc32/sysdep.h:
20414 Replace ASM_TYPE_DIRECTIVE with .type.
20415 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20416 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20417 * sysdeps/i386/fpu/e_powf.S: Likewise.
20418 * sysdeps/i386/fpu/e_expl.S: Likewise.
20419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20421 * sysdeps/i386/fpu/e_pow.S: Likewise.
20422 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20424 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20425 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20426 * sysdeps/i386/fpu/e_log2.S: Likewise.
20427 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20428 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20429 * sysdeps/i386/fpu/e_powl.S: Likewise.
20430 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20431 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20432 * sysdeps/i386/fpu/e_logl.S: Likewise.
20433 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20434 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20435 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20438 * sysdeps/i386/fpu/e_log.S: Likewise.
20439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20440 * sysdeps/i386/fpu/e_logf.S: Likewise.
20441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20443 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20444 * sysdeps/i386/fpu/e_log10.S: Likewise.
20445 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20447 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20448 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20451 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20452 * sysdeps/i386/i686/strtok.S: Likewise.
20453 * sysdeps/i386/i386-mcount.S: Likewise.
20454 * sysdeps/i386/strtok.S: Likewise.
20455 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20456 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20459 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20464 * sysdeps/x86_64/_mcount.S: Likewise.
20465 * sysdeps/x86_64/strtok.S: Likewise.
20466 * sysdeps/sh/_mcount.S: Likewise.
20468 2012-08-01 Roland McGrath <roland@hack.frob.com>
20470 * libio/iofopen.c: Include <fcntl.h>.
20471 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20472 (_IO_fopen64, fopen64): Define as aliases.
20473 * libio/iofopen64.c: Include <fcntl.h>.
20474 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20475 Conditionalize body on this.
20476 * sysdeps/wordsize-64/iofopen.c: File removed.
20477 * sysdeps/wordsize-64/iofopen64.c: File removed.
20479 2012-08-01 Marek Polacek <polacek@redhat.com>
20481 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20482 Use dlfcn directly instead of a variable.
20483 (binfmt-subdir): Do not define.
20486 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20488 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20489 Remove all definitions.
20490 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20491 <kernel-features.h>.
20492 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20493 (miss_F_GETOWN_EX): Remove all definitions.
20494 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20496 [!__ASSUME_FCNTL64]: Remove conditional code.
20497 [__ASSUME_FCNTL64]: Make code unconditional.
20498 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20499 <kernel-features.h>.
20500 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20501 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20502 (lockf64) [__NR_fcntl64]: Make code unconditional.
20503 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20505 * sysdeps/unix/sysv/linux/kernel-features.h
20506 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20507 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20508 Make code unconditional.
20509 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20510 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20512 [__NR_vfork]: Make code unconditional.
20513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20516 [__NR_vfork]: Make code unconditional.
20517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20520 2012-08-01 Roland McGrath <roland@hack.frob.com>
20522 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20523 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20525 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20526 Define mkstemp64 as an alias.
20527 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20528 Define mkstemps64 as an alias.
20529 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20530 Define mkostemp64 as an alias.
20531 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20532 Define mkostemps64 as an alias.
20533 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20534 Conditionalize body on this.
20535 * misc/mkostemp64.c: Likewise.
20536 * misc/mkostemps64.c: Likewise.
20537 * misc/mkstemps64.c: Likewise.
20538 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20539 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20540 * sysdeps/wordsize-64/mkostemp.c: File removed.
20541 * sysdeps/wordsize-64/mkstemp.c: File removed.
20542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20548 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20549 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20550 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20551 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20553 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20554 compat_symbol macros from <shlib-compat.h> rather than the underlying
20555 default_symbol_version and symbol_version macros, so that DEFAULT
20556 lines in shlib-versions are respected.
20557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20559 2012-08-01 Florian Weimer <fweimer@redhat.com>
20561 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20562 Declare with warn_unused_result.
20563 (setgid, setregid, setegid, setresgid): Likewise.
20564 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20566 * WUR-REPORT: Remove set*id functions.
20568 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20570 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20572 2012-07-31 Roland McGrath <roland@hack.frob.com>
20575 * include/sys/socket.h (__libc_accept, __libc_accept4):
20576 Add attribute_hidden.
20577 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20581 * inet/getnetgrent_r.c (setup): Likewise.
20583 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20585 2012-07-31 David S. Miller <davem@davemloft.net>
20587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20589 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20592 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20593 value between 1.0 and 2.0 and smaller part has absolute value less
20595 * math/s_clog10.c (__clog10): Likewise.
20596 * math/s_clog10f.c (__clog10f): Likewise.
20597 * math/s_clog10l.c (__clog10l): Likewise.
20598 * math/s_clogf.c (__clogf): Likewise.
20599 * math/s_clogl.c (__clogl): Likewise.
20600 * math/libm-test.inc (clog_test): Add more tests.
20601 (clog10_test): Likewise.
20602 * sysdeps/i386/fpu/libm-test-ulps: Update.
20603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605 2012-07-31 Florian Weimer <fweimer@redhat.com>
20607 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20608 Exit with zero in case no suitable GID is found, and write a
20609 message to standard error.
20611 2012-07-30 Roland McGrath <roland@hack.frob.com>
20613 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20615 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20616 (MAXPATHLEN): Removed.
20617 (NOGROUP, NODEV): New macros.
20618 (setbit, clrbit, isset, isclr): New macros.
20619 (howmany, roundup, powerof2): New macros.
20620 (DEV_BSIZE): New macro.
20622 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20623 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20625 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20626 definition on [!__NO_LONG_DOUBLE_MATH].
20628 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20629 PTR_MANGLE and PTR_DEMANGLE.
20631 * socket/accept4.c (accept4): Rename to __libc_accept4.
20632 Define accept4 as a weak alias.
20634 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20635 on [_DIRENT_HAVE_D_TYPE].
20636 * io/ftw.c (ftw_dir): Likewise.
20638 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20640 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20642 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20643 Use the BSD numbers rather than the arbitrary ones we had.
20644 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20645 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20646 (SIGXCPU, SIGXFSZ): New macros.
20649 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20650 initializer on [_LIBC_REENTRANT].
20652 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20653 definitions inside [_POSIX_MAPPED_FILES].
20655 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20657 * dirent/opendir.c: Include <fcntl.h>.
20659 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20660 (__libc_getspecific): Likewise.
20661 (__libc_key_create): Likewise.
20663 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20664 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20665 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20666 (tmpfile64): Define as alias.
20667 * sysdeps/wordsize-64/tmpfile.c: File removed.
20668 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20669 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20672 * stdio-common/vfscanf.c: Include <stdbool.h>.
20673 * nss/makedb.c: Likewise.
20674 * stdio-common/_i18n_number.h: Likewise.
20675 * argp/argp-help.c: Likewise.
20676 * posix/wordexp.c: Likewise.
20677 * sysdeps/posix/spawni.c: Likewise.
20678 * nss/nss_files/files-initgroups.c: Likewise.
20679 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20680 * nss/nss_files/files-initgroups.c: Likewise.
20681 * nss/nss_db/db-netgrp.c: Likewise.
20682 * nss/nss_db/db-initgroups.c: Likewise.
20683 * io/fchmodat.c: Include <sys/stat.h>.
20685 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20686 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20688 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20691 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20692 Add multiple inclusion protection.
20694 2012-07-27 David S. Miller <davem@davemloft.net>
20696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20698 2012-07-27 Gary Benson <gbenson@redhat.com>
20701 * elf/rtld.c: Include <stap-probe.h>.
20702 (dl_main): Added static probes "init_start" and "init_complete".
20703 * elf/dl-load.c: Include <stap-probe.h>.
20704 (lose): Take new parameter "nsid".
20705 Added static probe "map_failed".
20706 (_dl_map_object_from_fd): Pass namespace id to lose.
20707 Added static probe "map_start".
20708 (open_verify): Pass namespace id to lose.
20709 * elf/dl-open.c: Include <stap-probe.h>.
20710 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20711 and "reloc_complete".
20712 * elf/dl-close.c: Include <stap-probe.h>.
20713 (_dl_close_worker): Added static probes "unmap_start" and
20715 * elf/rtld-debugger-interface.txt: New file documenting the above.
20717 2012-07-26 Roland McGrath <roland@hack.frob.com>
20719 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20720 rather than a string variable.
20721 * sunrpc/rpc_main.c (h_output): Likewise.
20722 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20724 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20726 * inet/check_native.c: New file.
20728 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20731 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20732 if larger part has absolute value 1.0.
20733 * math/s_clog10.c (__clog10): Likewise.
20734 * math/s_clog10f.c (__clog10f): Likewise.
20735 * math/s_clog10l.c (__clog10l): Likewise.
20736 * math/s_clogf.c (__clogf): Likewise.
20737 * math/s_clogl.c (__clogl): Likewise.
20738 * math/libm-test.inc (clog_test): Add more tests.
20739 (clog10_test): Likewise.
20740 * sysdeps/i386/fpu/libm-test-ulps: Update.
20741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20743 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20744 (pltexit): Likewise.
20745 (La_regs): Likewise.
20746 (La_retval): Likewise.
20747 (int_retval): Likewise.
20748 Update #error for removed macros to refer only to definitions in
20750 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20752 (pltexit): Likewise.
20753 (La_regs): Likewise.
20754 (La_retval): Likewise.
20755 (int_retval): Likewise.
20756 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20758 (pltexit): Likewise.
20759 (La_regs): Likewise.
20760 (La_retval): Likewise.
20761 (int_retval): Likewise.
20762 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20764 (pltexit): Likewise.
20765 (La_regs): Likewise.
20766 (La_retval): Likewise.
20767 (int_retval): Likewise.
20768 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20770 (pltexit): Likewise.
20771 (La_regs): Likewise.
20772 (La_retval): Likewise.
20773 (int_retval): Likewise.
20774 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20776 (pltexit): Likewise.
20777 (La_regs): Likewise.
20778 (La_retval): Likewise.
20779 (int_retval): Likewise.
20780 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20782 (pltexit): Likewise.
20783 (La_regs): Likewise.
20784 (La_retval): Likewise.
20785 (int_retval): Likewise.
20786 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20787 macro definitions in tst-audit.h.
20788 * sysdeps/i386/tst-audit.h: New file.
20789 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20790 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20791 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20792 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20793 * sysdeps/sh/tst-audit.h: Likewise.
20794 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20795 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20796 * sysdeps/x86_64/tst-audit.h: Likewise.
20798 2012-07-26 Andreas Jaeger <aj@suse.de>
20800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20803 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20804 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20805 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20807 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20808 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20809 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20811 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20814 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20816 (si_call_addr, si_syscall, si_arch): Define new macro.
20817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20819 (si_call_addr, si_syscall, si_arch): Define new marcro.
20820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20822 (si_call_addr, si_syscall, si_arch): Define new macro.
20823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20825 (si_call_addr, si_syscall, si_arch): Define new macro.
20827 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20831 Change to 2.4.21 where previously 2.4.1.
20832 * sysdeps/unix/sysv/linux/configure: Regenerated.
20833 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20834 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20835 Linux kernel version.
20836 (__ASSUME_STD_AUXV): Remove.
20837 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20839 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20840 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20841 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20842 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20843 (__ASSUME_NETLINK_SUPPORT): Likewise.
20844 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20845 (__no_netlink_support): Remove conditional definition.
20846 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20848 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20849 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20850 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20851 (if_nameindex_ioctl): Remove.
20852 (if_nameindex_netlink): Do not handle __no_netlink_support.
20853 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20855 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20856 Remove conditional code.
20857 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20859 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20861 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20862 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20863 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20865 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20866 [!__ASSUME_STD_AUXV]: Remove conditional code.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20868 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20869 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20871 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20874 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20877 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20881 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20884 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20887 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20888 code unconditional.
20889 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20891 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20893 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20896 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20898 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20901 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20902 code unconditional.
20903 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20905 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20907 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20910 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20911 code unconditional.
20912 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20914 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20916 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20919 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20921 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20922 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20923 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20924 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20925 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20926 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20927 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20928 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20929 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20931 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20932 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20933 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20934 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20937 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20939 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20941 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20942 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20945 2012-07-25 Florian Weimer <fweimer@redhat.com>
20947 * Versions.def: Add GLIBC_2.17.
20948 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20949 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20950 Introduce __libc_secure_getenv.
20951 * stdlib/Versions (2.17): Add secure_getenv
20952 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20953 * stdlib/secure-getenv.c: Rename __secure_getenv to
20954 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20955 symbol __secure_getenv for GLIBC_2.0.
20956 * stdlib/tst-secure-getenv.c: New.
20957 * stdlib/Makefile (tests): Add testcase.
20958 * manual/startup.texi (Environment Access): Document
20960 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20961 __libc_secure_getenv.
20962 * inet/ruserpass.c (ruserpass): Likewise.
20963 * malloc/mtrace.c (mtrace): Likewise.
20964 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20965 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20966 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20967 * sysdeps/posix/tempname.c: Likewise. Evaluate
20968 HAVE_SECURE_GETENV.
20969 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20970 __secure_getenv to __libc_secure_getenv.
20971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20984 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20986 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20987 (struct La_i86_retval): Likewise.
20988 (struct La_x86_64_regs): Likewise.
20989 (struct La_x86_64_retval): Likewise.
20990 (struct La_x32_regs): Likewise.
20991 (struct La_x32_retval): Likewise.
20992 (struct La_ppc32_regs): Likewise.
20993 (struct La_ppc32_retval): Likewise.
20994 (struct La_ppc64_regs): Likewise.
20995 (struct La_ppc64_retval): Likewise.
20996 (struct La_sh_regs): Likewise.
20997 (struct La_sh_retval): Likewise.
20998 (struct La_s390_32_regs): Likewise.
20999 (struct La_s390_32_retval): Likewise.
21000 (struct La_s390_64_regs): Likewise.
21001 (struct La_s390_64_retval): Likewise.
21002 (struct La_sparc32_regs): Likewise.
21003 (struct La_sparc32_retval): Likewise.
21004 (struct La_sparc64_regs): Likewise.
21005 (struct La_sparc64_retval): Likewise.
21006 (struct audit_ifaces): Remove architecture-specific pltenter and
21008 * sysdeps/i386/ldsodefs.h: New file.
21009 * sysdeps/powerpc/ldsodefs.h: Likewise.
21010 * sysdeps/s390/ldsodefs.h: Likewise.
21011 * sysdeps/sh/ldsodefs.h: Likewise.
21012 * sysdeps/sparc/ldsodefs.h: Likewise.
21013 * sysdeps/x86_64/ldsodefs.h: Likewise.
21015 2012-07-25 Marek Polacek <polacek@redhat.com>
21018 * math/libm-test.inc (yn_test): Add another test.
21019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21020 to ERANGE when the result is +-Inf.
21021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21022 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21026 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21028 * conform/data/time.h-data (NULL): Use macro-constant. Require
21030 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21032 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21034 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21036 * configure.in <sysdeps resolving>: Correct printing
21038 * configure: Regenerate.
21040 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21042 * math/w_ilogb.c: Include <limits.h>.
21043 * math/w_ilogbl.c: Likewise.
21045 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21047 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21048 va_copy. Document allowing for unavailable va_copy only as
21049 pre-C99 compatibility.
21050 * manual/string.texi (Copying and Concatenation): Use va_copy
21051 instead of __va_copy in concat example.
21053 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21055 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21056 (__sendto): Use create_address_port. Initialize APORT and deallocate
21059 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21060 with O_NOLINK passed to __file_name_lookup.
21062 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21063 with O_NOLINK passed to __file_name_lookup.
21065 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21066 negative N or less than NGIDS.
21068 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21069 type to string_t. Set ERANGE as errno and return it if NAME is not big
21070 enough. Use memcpy instead of strncpy.
21072 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21074 * elf/Makefile (check-data): Remove.
21075 (localplt.data): New vpath directive.
21076 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21077 instead of $(check-data).
21078 * scripts/data/localplt-generic.data: Move to ...
21079 * sysdeps/generic/localplt.data: ... here.
21080 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21081 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21082 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21085 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21088 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21091 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21094 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21097 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21101 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21104 PPC32 and PPC64 files.
21105 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21106 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21108 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21110 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21111 __makecontext_ret to ...
21112 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21113 ... here and call exit if uc_link is NULL. New file.
21114 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21115 __makecontext_ret.S.
21116 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21117 __makecontext_ret to ...
21118 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21119 ... here and call exit if uc_link is NULL. New file.
21120 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21121 __makecontext_ret.S.
21123 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21125 * elf/elf.h (R_390_IRELATIVE): New definition.
21126 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21127 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21128 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21130 (elf_machine_lazy_rel): Likewise.
21131 * sysdeps/s390/dl-irel.h: New file.
21132 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21133 * sysdeps/s390/s390-64/memset.S: New asm code.
21134 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21135 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21137 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21138 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21139 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21141 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21142 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21143 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21144 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21145 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21146 * sysdeps/s390/s390-32/memset.S: New asm code.
21147 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21149 2012-07-17 Marek Polacek <polacek@redhat.com>
21152 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21153 * sysdeps/s390/s390-64/configure.in: Likewise.
21154 * sysdeps/sparc/configure.in: Likewise.
21155 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21156 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21157 * sysdeps/i386/configure.in: Likewise.
21158 * sysdeps/x86_64/configure.in: Likewise.
21159 * sysdeps/sh/configure.in: Likewise.
21160 * sysdeps/s390/s390-32/configure: Regenerated.
21161 * sysdeps/s390/s390-64/configure: Likewise.
21162 * sysdeps/x86_64/configure: Likewise.
21163 * sysdeps/sh/configure: Likewise.
21164 * sysdeps/powerpc/powerpc64/configure: Likewise.
21165 * sysdeps/powerpc/powerpc32/configure: Likewise.
21166 * sysdeps/sparc/configure: Likwise.
21167 * sysdeps/i386/configure: Likewise.
21169 * elf/dl-open.c: Comment fixes.
21171 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21173 * Makefile [CXX] (check-data): Remove.
21174 [CXX] (c++-types.data): New vpath directive.
21175 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21176 vpath. Do not allow for C++ type data being missing.
21177 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21178 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21179 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21180 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21181 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21182 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21183 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21186 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21189 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21192 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21195 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21198 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21201 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21204 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21207 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21208 definitions to architecture-specific files.
21209 (TLS_IE): Likewise.
21210 (TLS_LD): Likewise.
21211 (TLS_GD): Likewise.
21212 * sysdeps/i386/tls-macros.h: New file.
21213 * sysdeps/powerpc/tls-macros.h: Likewise.
21214 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21215 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21216 * sysdeps/sh/tls-macros.h: Likewise.
21217 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21218 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21219 * sysdeps/x86_64/tls-macros.h: Likewise.
21221 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21223 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21224 zero value for regular exit case.
21226 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21227 (__start_context): Preserve zero value for regular exit case.
21229 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21230 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21232 * manual/setjmp.texi (setcontext): Clarify normal process
21233 termination when uc_link is the null pointer.
21234 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21237 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21239 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21240 preprocessor. Test for each exception mask separately.
21242 2012-07-16 Andreas Jaeger <aj@suse.de>
21244 * po/ru.po: Update from translation team.
21246 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21248 * conform/data/string.h-data (NULL): Use macro-constant. Require
21250 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21251 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21252 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21253 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21256 2012-07-13 Andreas Jaeger <aj@suse.de>
21258 * po/fr.po: Update from translation team.
21260 2012-07-12 Marek Polacek <polacek@redhat.com>
21263 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21267 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21271 Change to 2.4.1 where previously 2.4.0.
21272 * sysdeps/unix/sysv/linux/configure: Regenerated.
21273 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21274 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21276 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21277 (__ASSUME_AT_CLKTCK): Remove.
21278 (__ASSUME_AT_PAGESIZE): Likewise.
21279 (__ASSUME_AT_XID): Likewise.
21280 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21281 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21282 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21284 (HAVE_AUX_PAGESIZE): Likewise.
21285 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21286 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21287 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21289 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21293 the temporary buffer used to invoke __gethostbyname2_r,
21294 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21295 host_data / struct gaih_addrtuple.
21296 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21297 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21298 header file nss/nsswitch.h.
21299 * nss/nsswitch.h (global scope): Add definition of implementation
21300 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21301 resolv/nss_dns/dns-host.c).
21303 2012-07-11 Andreas Jaeger <aj@suse.de>
21305 * po/fr.po: Update from translation team.
21307 * po/sv.po: Update from translation team
21308 * po/fr.po: Another update from translation team.
21310 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21313 for subnormals or multiply small sinh result by itself.
21314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21317 2012-07-11 David S. Miller <davem@davemloft.net>
21319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21321 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21324 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21325 (INTERNAL_MARK): Shift it here.
21327 2012-07-10 Marek Polacek <polacek@redhat.com>
21330 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21331 libc_cv_asm_global_directive with .globl.
21332 * configure: Regenerated.
21333 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21335 * sysdeps/i386/configure: Regenerated.
21336 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21338 * sysdeps/x86_64/configure: Regenerated.
21339 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21340 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21341 * elf/tst-unique2mod2.c: Likewise.
21342 * elf/tst-unique2mod1.c: Likewise.
21343 * elf/tst-unique1mod2.c: Likewise.
21344 * elf/tst-unique1mod1.c: Likewise.
21345 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21346 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21349 * sysdeps/mach/sysdep.h: Likewise.
21350 * sysdeps/i386/sysdep.h: Likewise.
21351 * sysdeps/i386/i386-mcount.S: Likewise.
21352 * sysdeps/x86_64/_mcount.S: Likewise.
21353 * sysdeps/x86_64/sysdep.h: Likewise.
21354 * sysdeps/sh/_mcount.S: Likewise.
21355 * sysdeps/sh/sysdep.h: Likewise.
21356 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21357 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21358 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21359 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21360 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21361 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21362 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21363 * locale/localeinfo.h: Likewise.
21364 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21365 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21367 2012-07-09 Roland McGrath <roland@hack.frob.com>
21370 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21372 * manual/message.texi (The Uniforum approach): Likewise.
21373 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21374 (glibc iconv Implementation): Likewise.
21376 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21379 * math/s_clog.c (__clog): Avoid scaling a value down where that
21380 could result in underflow.
21381 * math/s_clog10.c (__clog10): Likewise.
21382 * math/s_clog10f.c (__clog10f): Likewise.
21383 * math/s_clog10l.c (__clog10l): Likewise.
21384 * math/s_clogf.c (__clogf): Likewise.
21385 * math/s_clogl.c (__clogl): Likewise.
21386 * math/libm-test.inc (clog_test): Add more tests.
21387 (clog10_test): Likewise.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21391 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21394 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21395 by 7 not 8 to examine high bit of fractional part.
21398 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21399 for call to __mcount_internal.
21400 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21401 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21402 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21404 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21407 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21408 approximation for values within 0x1p-13f of an odd multiple of
21410 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21411 exception. Add more tests.
21412 * sysdeps/i386/fpu/libm-test-ulps: Update.
21415 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21416 inputs and return -1 for them. Do not check for +Inf in case not
21417 reachable for +Inf.
21418 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21419 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21420 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21421 and return -1 for them. Do not check for +Inf in case not
21422 reachable for +Inf.
21423 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21426 and return -1 for them. Do not check for +Inf in case not
21427 reachable for +Inf.
21428 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21429 spurious underflow.
21430 * sysdeps/i386/fpu/libm-test-ulps: Update.
21431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21433 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21435 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21437 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21441 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21442 could result in spurious underflow. Scale down values above
21443 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21444 * math/s_csqrtf.c (__csqrtf): Likewise.
21445 * math/s_csqrtl.c (__csqrtl): Likewise.
21446 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21447 spurious underflow.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21451 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21453 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21455 * catgets/xopen-msg.awk: New file.
21456 * catgets/xopen-msg.sed: Removed.
21458 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21460 * intl/po2test.awk: New file.
21461 * intl/po2test.sed: Removed.
21463 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21466 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21467 or multiply small sinh result by itself.
21468 * math/s_ctanf.c (__ctanf): Likewise.
21469 * math/s_ctanh.c (__ctanh): Likewise.
21470 * math/s_ctanhf.c (__ctanhf): Likewise.
21471 * math/s_ctanhl.c (__ctanhl): Likewise.
21472 * math/s_ctanl.c (__ctanl): Likewise.
21473 * math/libm-test.inc (ctan_test_tonearest): New function.
21474 (ctan_test_towardzero): Likewise.
21475 (ctan_test_downward): Likewise.
21476 (ctan_test_upward): Likewise.
21477 (ctanh_test_tonearest): Likewise.
21478 (ctanh_test_towardzero): Likewise.
21479 (ctanh_test_downward): Likewise.
21480 (ctanh_test_upward): Likewise.
21481 (main): Call these new functions.
21482 * sysdeps/i386/fpu/libm-test-ulps: Update.
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21485 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21487 * .gitignore: Delete /ports entry.
21489 2012-07-03 Andreas Jaeger <aj@suse.de>
21491 * po/bg.po: Update from translation team.
21492 * po/cs.po: Likewise.
21493 * po/de.po: Likewise.
21494 * po/hr.po: Likewise.
21495 * po/nl.pl: Likewise.
21496 * po/pl.po: Likewise.
21497 * po/vi.po: Likewise.
21499 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21501 * Makeconfig [!+link] (+link-before-libc): New variable.
21502 [!+link] (+link-after-libc): Likewise.
21503 [!+link] (+link-tests): Likewise.
21504 [!+link] (+link): Define in terms of $(+link-before-libc) and
21505 $(+link-after-libc).
21506 [!+link-static] (+link-static-before-libc): New variable.
21507 [!+link-static] (+link-static-after-libc): Likewise.
21508 [!+link-static] (+link-static-tests): Likewise.
21509 [!+link-static] (+link-static): Define in terms of
21510 $(+link-static-before-libc) and $(+link-static-after-libc).
21511 [build-shared] (link-libc-before-gnulib): New variable.
21512 [build-shared] (link-libc-tests): Likewise.
21513 [build-shared] (link-libc): Define in terms of
21514 $(link-libc-before-gnulib).
21515 [!build-shared] (link-libc-tests): New variable.
21516 (link-libc-static-tests): New variable.
21517 [!gnulib] (gnulib-arch): New variable.
21518 [!gnulib] (gnulib-tests): Likewise.
21519 [!gnulib] (static-gnulib-arch): Likewise.
21520 [!gnulib] (static-gnulib-tests): Likewise.
21521 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21522 Define with "=" instead of ":=".
21523 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21524 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21525 * Rules (binaries-all-notests): New variable.
21526 (binaries-all-tests): Likewise.
21527 (binaries-static-notests): Likewise.
21528 (binaries-static-tests): Likewise.
21529 (binaries-all): Define using $(binaries-all-notests) and
21530 $(binaries-all-tests).
21531 (binaries-static): Define using $(binaries-static-notests) and
21532 $(binaries-static-tests).
21533 (binaries-shared-tests): New variable.
21534 (binaries-shared-notests): Likewise.
21535 (binaries-shared): Remove variable.
21536 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21537 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21538 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21539 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21540 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21541 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21542 * elf/Makefile (sln-modules): New variable.
21543 (extra-objs): Add $(sln-modules:=.o).
21544 (ldconfig-modules): Add static-stubs.
21545 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21546 * elf/static-stubs.c: New file.
21549 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21550 by 7 not 8 to examine high bit of fractional part. Use volatile
21551 variables when splitting into final array of floats if
21552 __FLT_EVAL_METHOD__ != 0.
21553 * math/libm-test.inc (cos_test): Add another test.
21554 (sin_test): Likewise.
21555 * sysdeps/i386/fpu/libm-test-ulps: Update.
21558 * math/libm-test.inc (cosh_test): Add more tests.
21560 * version.h (RELEASE): Set to "development".
21561 (VERSION): Set to "2.16.90".
21563 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21565 * NEWS: Update copyright. Remove last-updated date.
21566 Mention math library bug fixes and timezone data changes.
21567 * README: Mention GNU/Hurd, x32, and HPPA support status.
21569 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21571 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21573 2012-06-27 Andreas Jaeger <aj@suse.de>
21575 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21577 2012-06-25 Andreas Jaeger <aj@suse.de>
21579 * sysdeps/s390/fpu/libm-test-ulps: Update.
21581 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21582 Thomas Schwinge <thomas@codesourcery.com>
21584 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21585 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21589 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21591 * sysdeps/mach/start.c: Remove file.
21592 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21593 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21594 * sysdeps/sh/init-first.c: Likewise.
21596 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21597 registers for frame unwinding purposes, add CFI directives.
21598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21600 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21603 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21604 __fortify_fail returning.
21605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21607 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21608 sysdeps/sh/____longjmp_chk.S.
21609 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21610 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21611 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21612 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21614 * sysdeps/sh/abort-instr.h: New file.
21615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21616 process in case exit returns.
21618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21619 initialize the GOT register before use.
21621 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21622 calculation of ARGC > 4.
21624 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21625 meaningful names to some local labels.
21627 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21628 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21631 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21632 (__arch_compare_and_exchange_val_16_acq): Likewise.
21633 (__arch_compare_and_exchange_val_32_acq): Likewise.
21634 (atomic_exchange_and_add): Fix gUSA sequence.
21635 (atomic_add): Likewise.
21636 (atomic_add_negative): Likewise.
21637 (atomic_add_zero): Likewise.
21638 (atomic_bit_test_set): Likewise.
21640 2012-06-22 Andreas Schwab <schwab@redhat.com>
21643 * include/link.h (struct link_map): Add l_free_initfini.
21644 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21646 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21647 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21648 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21651 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21653 * configure.in: Use AC_LANG_SOURCE.
21654 * configure: Regenerate.
21656 2012-06-22 Roland McGrath <roland@hack.frob.com>
21658 * configure.in (libc_cv_localstatedir): New substituted variable.
21659 * configure: Regenerated.
21660 * config.make.in (localstatedir): New variable, substituted from
21661 libc_cv_localstatedir.
21662 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21663 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21664 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21665 * sysdeps/gnu/configure: Regenerated.
21667 2012-06-21 Jeff Law <law@redhat.com>
21670 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21671 free. Simplify list management for _LIBC case.
21673 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21676 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21677 Clear sign bit of 64-bit integer value before comparing against
21680 * sysdeps/mach/configure: Regenerated.
21682 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21685 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21687 2012-06-21 Jeff Law <law@redhat.com>
21690 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21691 uint16_t for elements in the "seen" array to avoid char overflows.
21692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21693 * elf/dl-open.c (dl_open_worker): Likewise.
21695 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21697 * scripts/list-sources.sh: Scan PORTS for translations.
21698 * po/libc.pot: Regenerated.
21700 2012-06-21 Andreas Jaeger <aj@suse.de>
21703 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21705 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21706 * bits/byteswap-16.h (__bswap_16): Likewise.
21707 * bits/byteswap.h (__bswap_constant_16): Likewise.
21709 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21712 * sysdeps/i386/fpu_control.h: Removed.
21713 * sysdeps/x86_64/fpu_control.h: Moved to ...
21714 * sysdeps/x86/fpu_control.h: Here.
21716 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21717 (_FPU_SETCW): Likewise.
21719 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21722 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21723 * sysdeps/x86/fpu/bits/mathinline.h: This.
21724 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21728 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21729 functions if __x86_64__ is defined.
21731 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21733 * string/endian.h: Add !__ASSEMBLER__ condition for including
21734 conversion interfaces.
21736 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21740 of ABS(x) in calculating zero to negative powers other than odd
21742 * math/libm-test.inc (pow_test): Add more tests.
21744 2012-06-15 Andreas Jaeger <aj@suse.de>
21746 * manual/contrib.texi (Contributors): Update entry of Liubov
21747 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21750 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21752 * string/string.h: Add __wur to GNU version of strerror_r.
21754 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21757 * string/Makefile (tests): Add tst-strtok_r.
21758 * string/tst-strtok_r.c: New file.
21759 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21760 RAX_LP/RDX_LP on SAVE_PTR.
21762 2012-06-14 Roland McGrath <roland@hack.frob.com>
21764 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21766 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21768 * libm_test.inc (csqrt_test): Allow more spurious underflow
21770 (j0_test): Likewise.
21771 (j1_test): Likewise.
21772 (y0_test): Likewise.
21773 (y1_test): Likewise.
21775 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21777 * po/Makefile (libc.pot): Use UTF-8 charset.
21779 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21782 Suppress sign-conversion warning from FD_SET.
21783 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21784 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21785 not unsigned long int.
21786 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21788 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21792 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21793 __extern_always_inline instead of __extern_inline.
21794 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21795 (__signbit): Likewise.
21796 (__signbitl): Support C++ namespace.
21797 (lrintf): New inline function.
21799 (llrintf): Likewise.
21800 (llrint): Likewise.
21810 (floorf): Likewise.
21811 (nearbyint): Likewise.
21812 (nearbyintf): Likewise.
21814 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21817 non-default versions.
21819 2012-06-11 Roland McGrath <roland@hack.frob.com>
21822 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21824 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21826 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21827 (FE_UPWARD, FE_DOWNWARD): Don't define.
21828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21833 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21836 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21838 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21840 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21841 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21843 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21846 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21847 * sysdeps/i386/fpu/Implies: New file.
21848 * sysdeps/x86_64/fpu/Implies: Likewise.
21849 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21850 * sysdeps/x86/fpu/bits/fenv.h: This.
21852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21855 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21858 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21859 character 0xffff that matches the last element of the
21862 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21867 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21870 values higher than 25.6283.
21872 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21875 subnormal exponent extraction and add some __builtin_expect.
21876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21877 Fix for subnormal mantissa calculation.
21879 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21881 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21882 cpu2 is -1 and errno is not ENOSYS.
21884 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21887 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21888 * sysdeps/x86/bits/string.h: This.
21889 * sysdeps/x86_64/bits/string.h: Removed.
21891 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21892 if not compiling for x86-64, but compiling for >= i486.
21894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21898 New macro from Linux kernel 3.4.0.
21899 (FP_XSTATE_MAGIC2): Likewise.
21900 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21901 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21902 (struct _fpx_sw_bytes): New struct.
21903 (struct _xsave_hdr): Likewise.
21904 (struct _ymmh_state): Likewise.
21905 (struct _xstate): Likewise.
21907 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21908 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21910 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21912 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21914 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21916 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21917 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21918 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21919 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21921 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21924 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21925 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21926 (sysdep_headers): Include sys/platform/ppc.h.
21927 * sysdeps/powerpc/test-gettimebase.c: Test for
21928 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21929 * manual/Makefile (appendices): Include platform.texi.
21930 * manual/contrib.texi (Contributors): Update @node pointers.
21931 * manual/maint.texi (Maintenance): Likewise.
21932 (Platform): New node.
21933 * manual/platform.texi: New file. Document the new features.
21935 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21936 Jakub Jelinek <jakub@redhat.com>
21939 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21940 where __builtin_expect is unavailable.
21942 2012-06-03 David S. Miller <davem@davemloft.net>
21944 * stdlib/longlong.h: Updated from GCC.
21946 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21949 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21950 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21953 (GLIBC_2.16): Likewise.
21955 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21957 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21959 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21962 (default-abi): New variable.
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21964 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21968 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21970 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21973 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21974 definition. Document in comment.
21976 2012-06-01 David S. Miller <davem@davemloft.net>
21978 * stdlib/longlong.h: Updated from GCC.
21980 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21983 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21984 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21985 sys/debugreg.h sys/io.h here.
21986 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21987 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21989 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21990 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21991 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21992 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21993 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21994 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21997 Define only if __x86_64__ is defined.
21999 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22003 Use int64_t for variable i.
22004 * math/libm-test.inc (fmod_test): Add more tests.
22006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22007 z computation is not scheduled after fetestexcept.
22008 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22009 Use math_force_eval instead of asm to ensure calculation scheduled
22010 before exception test.
22011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22012 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22014 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22017 computation is not scheduled after fetestexcept.
22019 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22023 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22025 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22027 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22030 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22033 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22035 (__WCHAR_MIN): Support __WORDSIZE == 64.
22036 (__WCHAR_MAX): Likewise.
22038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22043 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22046 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22049 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22050 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22053 Defined to 1 if __x86_64__ isn't defined.
22054 (_STAT_VER_LINUX_OLD): New.
22055 (st_atime): Remove duplicate.
22056 (st_mtime): Likewise.
22057 (st_ctime): Likewise.
22059 2012-05-31 David S. Miller <davem@davemloft.net>
22061 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22064 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22066 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22070 * elf/dl-reloc.c: Include <_itoa.h>.
22071 (_dl_reloc_bad_type): Remove use of INTUSE.
22072 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22073 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22074 * stdio-common/psiginfo.c (psiginfo): Likewise.
22075 * stdio-common/psignal.c (psignal): Likewise.
22076 * string/strsignal.c (strsignal): Likewise.
22077 * include/signal.h (_sys_siglist): Declare hidden proto.
22078 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22079 INTVARDEF with libc_hidden_data_def.
22080 * stdio-common/itoa-udigits.c: Likewise.
22081 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22082 (_itoa_lower_digits_internal): Remove declaration.
22083 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22084 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22085 (_sys_sigabbrev_internal): Remove aliases.
22086 (_sys_siglist): Define hidden alias.
22088 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22093 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22096 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22097 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22099 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22100 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22101 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22102 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22104 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22106 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22107 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22108 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22110 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22122 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22123 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22124 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22125 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22126 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22127 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22129 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22130 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22132 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22133 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22137 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22139 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22140 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22142 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22144 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22145 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22146 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22148 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22150 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22152 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22154 * math/math.h (M_El): Use two more decimal places.
22155 (M_LOG2El): Likewise.
22156 (M_LOG10El): Likewise.
22157 (M_LN2l): Likewise.
22158 (M_LN10l): Likewise.
22160 (M_PI_2l): Likewise.
22161 (M_PI_4l): Likewise.
22162 (M_1_PIl): Likewise.
22163 (M_2_PIl): Likewise.
22164 (M_2_SQRTPIl): Likewise.
22165 (M_SQRT2l): Likewise.
22166 (M_SQRT1_2l): Likewise.
22168 2012-05-31 David S. Miller <davem@davemloft.net>
22170 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22171 values between float registers.
22172 * sysdeps/sparc/sparc64/memset.S: Likewise.
22173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22175 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22177 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22178 -D_FORTIFY_SOURCE=1.
22179 (CPPFLAGS-tst-longjmp_chk.c): Define.
22180 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22181 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22182 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22183 CFLAGS-tst-wchar-h.c.
22185 2012-05-31 Marek Polacek <polacek@redhat.com>
22188 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22189 __endmntent_internal): Remove declaration.
22190 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22191 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22192 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22194 2012-05-30 David S. Miller <davem@davemloft.net>
22196 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22197 (___Q_simulate_exceptions): Use real FP ops rather than writing
22199 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22202 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22205 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22206 * sysdeps/x86/bits/xtitypes.h: This.
22208 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22209 * sysdeps/x86/bits/wordsize.h: This.
22211 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22212 * sysdeps/x86/bits/huge_vall.h: This.
22214 * sysdeps/i386/bits/select.h: Removed.
22215 * sysdeps/x86_64/bits/select.h: Renamed to ...
22216 * sysdeps/x86/bits/select.h: This.
22218 * sysdeps/i386/bits/setjmp.h: Removed.
22219 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22220 * sysdeps/x86/bits/setjmp.h: This.
22222 * sysdeps/i386/bits/mathdef.h: Removed.
22223 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22224 * sysdeps/x86/bits/mathdef.h: This.
22226 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22229 * include/sys/socket.h (__connect_internal)
22230 (__libc_sa_len_internal): Remove declaration.
22231 (__connect, __libc_sa_len): Declare hidden_proto.
22232 (SA_LEN): Remove use of INTUSE.
22233 * socket/connect.c: Add libc_hidden_def.
22234 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22235 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22236 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22238 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22240 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22241 of adding _internal alias.
22243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22246 * sysdeps/i386/bits/link.h: Removed.
22247 * sysdeps/i386/bits/linkmap.h: Likewise.
22248 * sysdeps/x86_64/bits/link.h: Renamed to ...
22249 * sysdeps/x86/bits/link.h: This.
22250 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22251 * sysdeps/x86/bits/linkmap.h: This.
22253 * sysdeps/i386/bits/endian.h: Removed.
22254 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22255 * sysdeps/x86/bits/endian.h: This.
22257 * sysdeps/i386/bits/byteswap.h: Removed.
22258 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22259 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22260 * sysdeps/x86/bits/byteswap.h: This.
22261 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22262 * sysdeps/x86/bits/byteswap-16.h: This.
22263 * sysdeps/i386/Implies: Add x86.
22264 * sysdeps/x86_64/Implies: Likewise.
22266 2012-05-30 David S. Miller <davem@davemloft.net>
22268 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22269 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22270 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22271 (FP_TRAPPING_EXCEPTIONS): Define.
22272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22273 (FP_TRAPPING_EXCEPTIONS): Define.
22274 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22275 subnormals only when inexact has been signalled or underflow
22276 exceptions are enabled.
22277 (_FP_PACK_CANONICAL): Likewise.
22279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22283 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22285 2012-05-30 Richard Henderson <rth@twiddle.net>
22287 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22288 with #ifndef NOT_IN_libc.
22290 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22291 marked to avoid plt entry.
22293 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22296 * Makeconfig (default-abi): New macro.
22297 (abi-includes): Likewise.
22298 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22299 $(abi-$(default-abi)-lib-soname) for soname if defined.
22300 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22302 * Makefile (installed-stubs): Likewise.
22303 * include/stubs-biarch.h: Removed.
22304 * scripts/lib-names.awk: Only handle one library at a time.
22305 * scripts/soversions.awk: Remove WORDSIZE support.
22306 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22308 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22310 (syscall-list-default-condition): Likewise.
22311 (syscall-list-default-condition): Likewise.
22312 (syscall-list-includes): Likewise.
22313 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22314 syscall-list-* with abi-*. Handle undefined abi-variants.
22315 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22316 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22317 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22318 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22319 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22320 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22322 (syscall-list-32-options): Likewise.
22323 (syscall-list-32-condition): Likewise.
22324 (syscall-list-64-options): Likewise.
22325 (syscall-list-64-condition): Likewise.
22326 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22328 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22331 (abi-64-ld-soname): New macro.
22332 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22336 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22337 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22339 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22341 * sysdeps/unix/sysv/linux/kernel-features.h
22342 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22343 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22344 include <kernel-features.h>.
22345 [!__NR_ftruncate64]: Remove conditional code.
22346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22347 [__NR_ftruncate64]: Make code unconditional.
22348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22349 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22350 include <kernel-features.h>.
22351 [!__NR_ftruncate64]: Remove conditional code.
22352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22353 [__NR_ftruncate64]: Make code unconditional.
22354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22356 include <kernel-features.h>.
22357 [!__NR_ftruncate64]: Remove conditional code.
22358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22359 [__NR_ftruncate64]: Make code unconditional.
22360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22362 include <kernel-features.h>.
22363 [!__NR_ftruncate64]: Remove conditional code.
22364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22365 [__NR_ftruncate64]: Make code unconditional.
22366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22368 * configure.in (libc_cv_fpie): Weaken to a compile test using
22369 LIBC_TRY_CC_OPTION.
22370 * configure: Regenerated.
22372 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22387 2012-05-27 David S. Miller <davem@davemloft.net>
22389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22391 (__Q_simulate_exceptions): Return void. Change to simulate
22392 exceptions by writing into the %fsr.
22393 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22394 (__Qp_handle_exceptions): Likewise.
22396 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22397 __Qp_handle_exceptions.
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22399 __Qp_handle_exceptions.
22400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22401 as unused and give dummy FP_RND_NEAREST initializer.
22402 (FP_INHIBIT_RESULTS): Define.
22403 (___Q_simulate_exceptions): Update declaration.
22404 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22407 as unused and give dummy FP_RND_NEAREST initializer.
22408 (__Qp_handle_exceptions): Update declaration.
22409 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22412 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22414 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22415 the temporary FPU control word.
22416 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22417 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22419 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22420 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22421 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22422 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22424 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22425 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22426 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22428 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22430 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22433 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22435 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22436 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22437 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22438 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22440 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22441 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22444 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22446 * po/h.po: Update from translation team.
22448 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22450 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22452 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22453 handling of denormals.
22454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22455 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22456 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22463 2012-05-26 Marek Polacek <polacek@redhat.com>
22466 * math/libm-test.inc (fma_test): Don't always expect underflow
22469 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22472 * elf/tst-execstack.c: Include stackinfo.h.
22473 (do_test): Adjust test case to ensure that pthread_getattr_np
22474 behaviour remains the same after marking stack executable.
22476 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22478 * sysdeps/unix/sysv/linux/kernel-features.h
22479 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22480 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22482 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22483 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22484 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22486 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22487 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22489 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22491 * configure.in: Define the default includes to being none.
22492 * configure: Regenerated.
22494 2012-05-25 Roland McGrath <roland@hack.frob.com>
22496 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22497 * sysdeps/x86_64/setjmp.S: Likewise.
22498 * sysdeps/i386/bsd-setjmp.S: Likewise.
22499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22500 * sysdeps/i386/setjmp.S: Likewise.
22501 * sysdeps/i386/__longjmp.S: Likewise.
22502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22505 * include/stap-probe.h: New file.
22506 * configure.in: Handle --enable-systemtap.
22507 * configure: Regenerated.
22508 * config.h.in (USE_STAP_PROBE): New #undef.
22509 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22510 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22511 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22513 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22517 to 2.4.0 where earlier.
22518 * sysdeps/unix/sysv/linux/configure: Regenerated.
22519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22520 <kernel-features.h>.
22521 [__ASSUME_32BITUIDS]: Make code unconditional.
22522 [!__ASSUME_32BITUIDS]: Remove conditional code.
22523 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22524 <kernel-features.h>.
22525 [__ASSUME_32BITUIDS]: Make code unconditional.
22526 [!__ASSUME_32BITUIDS]: Remove conditional code.
22527 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22528 [__ASSUME_32BITUIDS]: Make code unconditional.
22529 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22530 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22531 <kernel-features.h>.
22532 [__ASSUME_32BITUIDS]: Make code unconditional.
22533 [!__ASSUME_32BITUIDS]: Remove conditional code.
22534 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22535 <kernel-features.h>.
22536 [__ASSUME_32BITUIDS]: Make code unconditional.
22537 [!__ASSUME_32BITUIDS]: Remove conditional code.
22538 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22539 <kernel-features.h>.
22540 [__ASSUME_32BITUIDS]: Make code unconditional.
22541 [!__ASSUME_32BITUIDS]: Remove conditional code.
22542 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22543 <kernel-features.h>.
22544 [__ASSUME_32BITUIDS]: Make code unconditional.
22545 [!__ASSUME_32BITUIDS]: Remove conditional code.
22546 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22547 <kernel-features.h>.
22548 [__ASSUME_32BITUIDS]: Make code unconditional.
22549 [!__ASSUME_32BITUIDS]: Remove conditional code.
22550 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22551 <kernel-features.h>.
22552 [__ASSUME_32BITUIDS]: Make code unconditional.
22553 [!__ASSUME_32BITUIDS]: Remove conditional code.
22554 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22555 <kernel-features.h>.
22556 [__ASSUME_32BITUIDS]: Make code unconditional.
22557 [!__ASSUME_32BITUIDS]: Remove conditional code.
22558 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22559 <kernel-features.h>.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22563 <kernel-features.h>.
22564 [__ASSUME_32BITUIDS]: Make code unconditional.
22565 [!__ASSUME_32BITUIDS]: Remove conditional code.
22566 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22567 <kernel-features.h>.
22568 [__ASSUME_32BITUIDS]: Make code unconditional.
22569 [!__ASSUME_32BITUIDS]: Remove conditional code.
22570 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22571 <kernel-features.h>.
22572 [__NR_setresgid] (__setresgid): Do not declare.
22573 [__ASSUME_32BITUIDS]: Make code unconditional.
22574 [!__ASSUME_32BITUIDS]: Remove conditional code.
22575 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22576 <kernel-features.h>.
22577 [__NR_setresuid] (__setresuid): Do not declare.
22578 [__ASSUME_32BITUIDS]: Make code unconditional.
22579 [!__ASSUME_32BITUIDS]: Remove conditional code.
22580 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22581 <kernel-features.h>.
22582 [__ASSUME_32BITUIDS]: Make code unconditional.
22583 [!__ASSUME_32BITUIDS]: Remove conditional code.
22584 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22585 <kernel-features.h>.
22586 [__ASSUME_32BITUIDS]: Make code unconditional.
22587 [!__ASSUME_32BITUIDS]: Remove conditional code.
22588 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22589 <kernel-features.h>.
22590 [__ASSUME_32BITUIDS]: Make code unconditional.
22591 [!__ASSUME_32BITUIDS]: Remove conditional code.
22592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22593 <kernel-features.h>.
22594 [__ASSUME_32BITUIDS]: Make code unconditional.
22595 [!__ASSUME_32BITUIDS]: Remove conditional code.
22596 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22597 <kernel-features.h>.
22598 [__ASSUME_32BITUIDS]: Make code unconditional.
22599 [!__ASSUME_32BITUIDS]: Remove conditional code.
22600 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22601 <kernel-features.h>.
22602 [__ASSUME_32BITUIDS]: Make code unconditional.
22603 [!__ASSUME_32BITUIDS]: Remove conditional code.
22604 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22605 <kernel-features.h>.
22606 [__ASSUME_32BITUIDS]: Make code unconditional.
22607 [!__ASSUME_32BITUIDS]: Remove conditional code.
22608 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22609 <kernel-features.h>.
22610 [__ASSUME_32BITUIDS]: Make code unconditional.
22611 [!__ASSUME_32BITUIDS]: Remove conditional code.
22612 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22613 <kernel-features.h>.
22614 [__ASSUME_32BITUIDS]: Make code unconditional.
22615 [!__ASSUME_32BITUIDS]: Remove conditional code.
22616 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22617 <kernel-features.h>.
22618 [__ASSUME_32BITUIDS]: Make code unconditional.
22619 [!__ASSUME_32BITUIDS]: Remove conditional code.
22620 * sysdeps/unix/sysv/linux/kernel-features.h
22621 (__ASSUME_SETRESUID_SYSCALL): Remove.
22622 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22623 (__ASSUME_32BITUIDS): Likewise.
22624 (__ASSUME_LDT_WORKS): Likewise.
22625 (__ASSUME_O_DIRECTORY): Likewise.
22626 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22627 architecture but not kernel version.
22628 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22629 (__ASSUME_MMAP2_SYSCALL): Likewise.
22630 (__ASSUME_STAT64_SYSCALL): Likewise.
22631 (__ASSUME_IPC64): Likewise.
22632 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22633 <kernel-features.h>.
22634 [__ASSUME_32BITUIDS]: Make code unconditional.
22635 [!__ASSUME_32BITUIDS]: Remove conditional code.
22636 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22637 <kernel-features.h>.
22638 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22639 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22640 132096]: Remove conditional code.
22641 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22643 <kernel-features.h>.
22644 [__ASSUME_32BITUIDS]: Make code unconditional.
22645 [!__ASSUME_32BITUIDS]: Remove conditional code.
22646 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22647 <kernel-features.h>.
22648 [__ASSUME_32BITUIDS]: Make code unconditional.
22649 [!__ASSUME_32BITUIDS]: Remove conditional code.
22650 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22651 <kernel-features.h>.
22652 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22654 (__setresgid): Do not declare.
22655 [__ASSUME_32BITUIDS]: Make code unconditional.
22656 [!__ASSUME_32BITUIDS]: Remove conditional code.
22657 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22658 <kernel-features.h>.
22659 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22661 (__setresuid): Do not declare.
22662 [__ASSUME_32BITUIDS]: Make code unconditional.
22663 [!__ASSUME_32BITUIDS]: Remove conditional code.
22664 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22665 <kernel-features.h>.
22666 [__ASSUME_32BITUIDS]: Make code unconditional.
22667 [!__ASSUME_32BITUIDS]: Remove conditional code.
22668 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22669 <kernel-features.h>.
22670 [__ASSUME_32BITUIDS]: Make code unconditional.
22671 [!__ASSUME_32BITUIDS]: Remove conditional code.
22673 2012-05-25 Richard Henderson <rth@twiddle.net>
22675 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22676 dl_hwcap to ifunc resolver.
22677 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22679 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22680 dl_hwcap to ifunc resolver.
22681 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22683 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22686 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22687 for |x| <= 2**-26, not 2**-57.
22688 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22691 2012-05-24 Jeff Law <law@redhat.com>
22693 * stdio-common/Makefile (tests): Add bug25.
22694 * stdio-common/bug25.c: New test.
22696 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22699 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22700 multiple of MALLOC_ALIGNMENT in size.
22701 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22703 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22705 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22707 (FILENAME_MAX): Use macro-int-constant.
22708 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22709 (_IOFBF): Use macro-int-constant.
22710 (_IOLBF): Likewise.
22711 (_IONBF): Likewise.
22712 (SEEK_CUR): Likewise.
22713 (SEEK_END): Likewise.
22714 (SEEK_SET): Likewise.
22715 (TMP_MAX): Likewise.
22716 (EOF): Use macro-int-constant. Require < 0.
22717 (NULL): Use macro-constant. Require == 0.
22718 (stdin): Require type to be FILE *.
22719 (stdout): Likewise.
22720 (stderr): Likewise.
22721 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22722 macro-int-constant.
22723 (EXIT_SUCCESS): Likewise.
22724 (NULL): Use macro-constant. Require == 0.
22725 (RAND_MAX): Use macro-int-constant.
22726 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22727 [C99-based standards] (strtof): Require function.
22728 [C99-based standards] (strtold): Likewise.
22729 [C99-based standards] (strtoll): Likewise.
22730 [C99-based standards] (strtoull): Likewise.
22731 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22732 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22733 [ISO || ISO99 || ISO11] (math.h): Likewise.
22734 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22738 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22741 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22742 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22743 * intl/dgettext.c (DCGETTEXT): Likewise.
22744 * intl/gettext.c (DCGETTEXT): Likewise.
22745 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22746 * posix/regex_internal.h (gettext): Likewise.
22747 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22748 Remove declaration.
22749 * include/argz.h (__argz_count_internal)
22750 (__argz_stringify_internal): Remove declaration.
22751 (__argz_count, __argz_stringify): Declare hidden proto.
22752 * intl/dcgettext.c: Remove use of INTDEF.
22753 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22754 * string/argz-stringify.c: Likewise.
22755 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22756 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22757 Declare hidden proto.
22758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22760 Declare hidden proto.
22761 * include/stdio.h (__asprintf_internal): Don't declare.
22762 (__asprintf): Don't define as macro. Declare hidden proto.
22763 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22764 (__fsetlocking): Declare hidden proto.
22765 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22766 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22768 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22769 (_IO_setlinebuf): Remove use of INTUSE.
22770 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22771 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22772 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22773 Remove declaration.
22774 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22775 (_IO_do_flush): Remove use of INTUSE.
22776 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22777 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22778 (_IO_adjust_column, _IO_least_wmarker)
22779 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22780 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22781 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22782 (_IO_default_doallocate, _IO_wdefault_doallocate)
22783 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22784 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22785 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22786 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22787 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22788 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22789 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22790 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22791 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22792 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22793 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22794 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22795 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22797 (_IO_flush_all_internal, _IO_adjust_column_internal)
22798 (_IO_default_uflow_internal, _IO_default_finish_internal)
22799 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22800 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22801 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22802 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22803 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22804 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22805 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22806 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22807 (_IO_file_close_internal, _IO_file_close_it_internal)
22808 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22809 (_IO_file_init_internal, _IO_file_attach_internal)
22810 (_IO_file_fopen_internal, _IO_file_read_internal)
22811 (_IO_file_sync_internal, _IO_file_seek_internal)
22812 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22813 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22814 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22815 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22816 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22817 (_IO_list_all_internal, _IO_link_in_internal)
22818 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22819 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22820 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22821 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22822 (_IO_do_write_internal, _IO_padn_internal)
22823 (_IO_getline_info_internal, _IO_getline_internal)
22824 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22825 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22826 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22827 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22828 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22829 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22830 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22831 with libc_hidden_ver, remove use of INTUSE.
22832 * libio/genops.c: Likewise.
22833 * libio/freopen.c: Likewise.
22834 * libio/freopen64.c: Likewise.
22835 * libio/iofclose.c: Likewise.
22836 * libio/iofdopen.c: Likewise.
22837 * libio/iofflush.c: Likewise.
22838 * libio/iofflush_u.c: Likewise.
22839 * libio/iofgets.c: Likewise.
22840 * libio/iofgets_u.c: Likewise.
22841 * libio/iofopen.c: Likewise.
22842 * libio/iofopncook.c: Likewise.
22843 * libio/iofread.c: Likewise.
22844 * libio/iofread_u.c: Likewise.
22845 * libio/ioftell.c: Likewise.
22846 * libio/iofwrite.c: Likewise.
22847 * libio/iogetline.c: Likewise.
22848 * libio/iogets.c: Likewise.
22849 * libio/iogetwline.c: Likewise.
22850 * libio/iopadn.c: Likewise.
22851 * libio/iopopen.c: Likewise.
22852 * libio/ioseekoff.c: Likewise.
22853 * libio/ioseekpos.c: Likewise.
22854 * libio/iosetbuffer.c: Likewise.
22855 * libio/iosetvbuf.c: Likewise.
22856 * libio/ioungetc.c: Likewise.
22857 * libio/ioungetwc.c: Likewise.
22858 * libio/iovdprintf.c: Likewise.
22859 * libio/iovsprintf.c: Likewise.
22860 * libio/iovsscanf.c: Likewise.
22861 * libio/memstream.c: Likewise.
22862 * libio/obprintf.c: Likewise.
22863 * libio/oldfileops.c: Likewise.
22864 * libio/oldiofclose.c: Likewise.
22865 * libio/oldiofdopen.c: Likewise.
22866 * libio/oldiofopen.c: Likewise.
22867 * libio/oldiopopen.c: Likewise.
22868 * libio/oldstdfiles.c: Likewise.
22869 * libio/putc.c: Likewise.
22870 * libio/setbuf.c: Likewise.
22871 * libio/setlinebuf.c: Likewise.
22872 * libio/stdfiles.c: Likewise.
22873 * libio/strops.c: Likewise.
22874 * libio/vasprintf.c: Likewise.
22875 * libio/vscanf.c: Likewise.
22876 * libio/vsnprintf.c: Likewise.
22877 * libio/vswprintf.c: Likewise.
22878 * libio/wfiledoalloc.c: Likewise.
22879 * libio/wfileops.c: Likewise.
22880 * libio/wgenops.c: Likewise.
22881 * libio/wmemstream.c: Likewise.
22882 * libio/wstrops.c: Likewise.
22883 * libio/__fpurge.c: Likewise.
22884 * libio/__fsetlocking.c: Likewise.
22885 * assert/assert.c: Likewise.
22886 * debug/fgets_chk.c: Likewise.
22887 * debug/fgets_u_chk.c: Likewise.
22888 * debug/fread_chk.c: Likewise.
22889 * debug/fread_u_chk.c: Likewise.
22890 * debug/gets_chk.c: Likewise.
22891 * debug/obprintf_chk.c: Likewise.
22892 * debug/vasprintf_chk.c: Likewise.
22893 * debug/vdprintf_chk.c: Likewise.
22894 * debug/vsnprintf_chk.c: Likewise.
22895 * debug/vsprintf_chk.c: Likewise.
22896 * malloc/mtrace.c: Likewise.
22897 * misc/error.c: Likewise.
22898 * misc/syslog.c: Likewise.
22899 * stdio-common/asprintf.c: Likewise.
22900 * stdio-common/fxprintf.c: Likewise.
22901 * stdio-common/getw.c: Likewise.
22902 * stdio-common/isoc99_fscanf.c: Likewise.
22903 * stdio-common/isoc99_scanf.c: Likewise.
22904 * stdio-common/isoc99_vfscanf.c: Likewise.
22905 * stdio-common/isoc99_vscanf.c: Likewise.
22906 * stdio-common/isoc99_vsscanf.c: Likewise.
22907 * stdio-common/printf-prs.c: Likewise.
22908 * stdio-common/printf_fp.c: Likewise.
22909 * stdio-common/printf_fphex.c: Likewise.
22910 * stdio-common/printf_size.c: Likewise.
22911 * stdio-common/putw.c: Likewise.
22912 * stdio-common/scanf.c: Likewise.
22913 * stdio-common/sprintf.c: Likewise.
22914 * stdio-common/tmpfile.c: Likewise.
22915 * stdio-common/vfprintf.c: Likewise.
22916 * stdio-common/vfscanf.c: Likewise.
22917 * stdlib/strfmon_l.c: Likewise.
22918 * sunrpc/openchild.c: Likewise.
22919 * sunrpc/xdr_stdio.c: Likewise.
22920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22921 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22923 2012-05-24 Roland McGrath <roland@hack.frob.com>
22925 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22927 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22928 in the third column, to generate for the shared library an IFUNC
22929 that uses _dl_vdso_vsym.
22930 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22931 * Makeconfig (object-suffixes-noshared): New variable.
22933 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22934 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22935 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22936 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22939 * include/sys/time.h (__gettimeofday): Remove macro.
22940 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22941 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22943 (__gettimeofday): Add libc_hidden_def.
22944 (gettimeofday): Add libc_hidden_weak.
22945 * sysdeps/mach/gettimeofday.c: Likewise.
22946 * sysdeps/posix/gettimeofday.c: Likewise.
22947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22950 (__gettimeofday_internal): Remove strong_alias.
22951 (__gettimeofday): Add libc_hidden_def.
22952 (gettimeofday): Add libc_hidden_weak.
22953 * sysdeps/unix/syscalls.list (gettimeofday):
22954 Remove __gettimeofday_internal alias.
22956 2012-05-24 Daniel Jacobowitz <drow@false.org>
22957 H.J. Lu <hongjiu.lu@intel.com>
22960 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22961 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22962 (largebin_index_32_big): New.
22963 (largebin_index): Use it for 16-byte alignment.
22964 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22965 correction with front_misalign.
22967 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22995 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22996 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22998 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23002 * math/libm-test.inc (exp_test): Add test from bug 14036.
23003 (pow_test): Add test from bug 10846.
23005 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23007 (special_function): Do not include flags in test name.
23008 (parse_args): Likewise.
23009 * sysdeps/i386/fpu/libm-test-ulps: Update.
23010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23011 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23015 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23017 * math/libm-test.inc ("Philosophy"): Update comment about
23019 (UNDERFLOW_EXCEPTION): New macro.
23020 (UNDERFLOW_EXCEPTION_OK): Likewise.
23021 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23022 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23023 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23024 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23025 (INVALID_EXCEPTION_OK): Update value.
23026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23027 (OVERFLOW_EXCEPTION_OK): Likewise.
23028 (IGNORE_ZERO_INF_SIGN): Likewise.
23029 (test_exceptions): Handle underflow exceptions.
23030 (acos_test): Update for underflow exception expectations.
23031 (cexp_test): Likewise.
23032 (clog_test): Likewise.
23033 (clog10_test): Likewise.
23034 (csqrt_test): Likewise.
23035 (ctan_test): Likewise.
23036 (ctanh_test): Likewise.
23037 (exp_test): Likewise.
23038 (exp10_test): Likewise.
23039 (exp2_test): Likewise.
23040 (expm1_test): Likewise.
23041 (fma_test): Likewise.
23042 (j0_test): Likewise.
23043 (jn_test): Likewise.
23044 (nexttoward_test): Likewise.
23045 (pow_test): Likewise.
23046 (scalbn_test): Likewise.
23047 (scalbln_test): Likewise.
23048 (tan_test): Likewise.
23049 (y1_test): Likewise.
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23053 2012-05-23 David S. Miller <davem@davemloft.net>
23055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23056 (__libc_sigaction): Remove unused local variables.
23058 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23060 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23062 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23064 mktime: avoid signed integer overflow
23065 * time/mktime.c (__mktime_internal): Do not mishandle the case
23066 where diff == INT_MIN.
23068 mktime: simplify computation of average
23069 * time/mktime.c (ranged_convert): Use new time_t_avg function
23070 instead of rolling our own (probably-slower) code.
23072 mktime: do not assume signed right shift propagates sign bit
23073 * time/mktime.c (isdst_differ): New static function.
23074 (__mktime_internal): No need to normalize tm_isdst now.
23075 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23078 mktime: merge another wrapv change from gnulib
23079 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23080 from some compilers.
23082 mktime: remove incorrect attempt at unusual arithmetics
23083 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23084 The code didn't really work on such machines anyway.
23085 (TYPE_MINIMUM): Assume two's complement.
23086 (twos_complement_arithmetic): Verify that long_int and time_t
23087 are two's complement (or unsigned, in the latter case).
23089 mktime: check signed shifts on long_int and time_t, too
23090 * time/mktime.c (SHR): Check that shifts work as desired
23091 on the types long_int and time_t too, as SHR is used on
23094 mktime: do not assume 'long' is wide enough
23095 * time/mktime.c (verify): Move decl up.
23096 (long_int): New type.
23097 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23098 to remove assumption in the code that 'long' is wide enough to
23099 store year values. This assumption is not true on x32 and on
23100 some non-glibc platforms.
23102 mktime: merge wrapv change from gnulib
23103 * time/mktime.c (WRAPV): New macro.
23104 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23105 (guess_time_tm, __mktime_internal): Do not assume that signed
23106 integer overflow wraps around; modern compilers generate code
23107 where this assumption is no longer valid.
23109 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23111 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23112 Replace "jmp L(pseudo_end)" with "ret".
23113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23116 2012-05-23 Andreas Jaeger <aj@suse.de>
23118 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23119 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23121 2012-05-23 Andreas Jaeger <aj@suse.de>
23122 Maximilian Attems <max@stro.at>
23124 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23127 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23130 code so that pseudo_end is just ret and the stack pointer is
23131 correct also for static library in error case.
23133 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23135 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23136 move to syscalls.list.
23137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23142 * manual/install.texi (Running make install): Do not mention Linux
23143 kernel version for which pt_chown is not needed.
23144 (Linux): Do not mention problems with nscd with 2.0 kernels.
23145 * INSTALL: Regenerated.
23147 2012-05-23 Andreas Jaeger <aj@suse.de>
23149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23150 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23152 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23154 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23156 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23162 * sysdeps/unix/sysv/linux/bits/in.h
23163 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23165 2012-05-22 Roland McGrath <roland@hack.frob.com>
23167 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23168 (PREPARE_VERSION): Just use assert instead, it will be elided
23169 under [NDEBUG] anyway.
23171 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/unix/sysv/linux/Makefile: Include
23174 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23175 (sysdep_routines): Remove sysctl.
23176 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23177 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23180 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23182 2012-05-22 Andreas Jaeger <aj@suse.de>
23184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23185 that pseudo_end is just ret and the stack pointer is correct also
23186 for static library in error case.
23188 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23191 * nss/nsswitch.c (defconfig_entries): New variable.
23192 (__nss_database_lookup): Don't leak defconfig entries.
23193 (nss_parse_service_list): Don't leak on error paths.
23194 (free_database_entries): New function.
23195 (free_defconfig): New function.
23196 (free_mem): Move common code to free_database_entries.
23198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23202 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23204 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23205 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23208 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23209 (INTERNAL_SYSCALL_TYPES): Likewise.
23210 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23211 (LOAD_REGS_TYPES_[1-6]): Likewise.
23212 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23213 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23215 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23218 copysignl for GLIBC_2_0.
23219 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23220 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23222 logbl for GLIBC_2_0.
23223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23224 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23226 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23231 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23234 * time/mktime.c: Update copyright years.
23236 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23238 mktime: merge comment-quoting-style change from gnulib
23239 * time/mktime.c: Quote 'like this' in comments.
23240 The GNU coding standards suggest that we no longer quote `like this',
23241 as "`" and "'" are typically rendered asymmetrically nowadays.
23242 The typical gnulib style is to quote 'like this' when quoting
23243 code, and "like this" when quoting English.
23245 * time/mktime.c (compile-command): Add "-I.".
23247 mktime: merge mktime-internal.h change from gnulib
23248 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23250 mktime: merge time_r change from gnulib
23251 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23253 mktime: merge DEBUG change from gnulib
23254 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23255 case system <time.h> has a #define.
23257 mktime: merge <sys/types.h> change from gnulib
23258 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23259 since <time.t> is now guaranteed to define time_t.
23261 mktime: merge HAVE_CONFIG_H change from gnulib
23262 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23264 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23269 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23271 (struct rusage): Use anonymous union to pad each field to
23274 2012-05-21 David S. Miller <davem@davemloft.net>
23276 * Makefules (o-iterator): Remove .s cases.
23277 (compile-command.s): Delete.
23278 (COMPILE.s): Delete.
23279 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23281 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23283 * configure.in (libc_cv_predef_stack_protector): Only consider
23284 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23285 * configure: Regenerated.
23287 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23290 New macro. Use R*LP on int and pointer.
23291 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23292 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23293 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23294 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23296 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23297 [__WORDSIZE_TIME64_COMPAT32] instead of
23298 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23299 (struct utmp): Likewise.
23300 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23301 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23303 (__WORDSIZE_TIME64_COMPAT32): This.
23304 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23305 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23306 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23307 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23308 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23309 (__WORDSIZE_TIME64_COMPAT32): New macro.
23311 2012-05-21 Andreas Jaeger <aj@suse.de>
23313 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23314 only if [SHARED]. Add prototype for __wcschr_ia32.
23316 2012-05-21 Roland McGrath <roland@hack.frob.com>
23318 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23319 of %rbp unmolested in the jmp_buf while mangling the low bits.
23320 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23321 unmolested high bits of %rbp while demangling the low bits.
23322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23324 2012-05-21 Andreas Jaeger <aj@suse.de>
23326 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23327 * sunrpc/svc_simple.c: Use it for registerrpc.
23328 * sunrpc/xcrypt.c: Use it for passwd2des.
23330 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23332 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23334 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23335 Don't define if [__SYSCALL_WORDSIZE != 32].
23336 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23339 2012-05-21 Bruno Haible <bruno@clisp.org>
23340 Andreas Jaeger <aj@suse.de>
23342 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23343 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23344 inptr and inend for must_buffer_ch.
23345 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23346 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23347 * stdio-common/Makefile (tests): Remove bug15.
23348 (bug15-ENV): Remove macro.
23349 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23352 2012-05-19 Andreas Jaeger <aj@suse.de>
23353 Roland McGrath <roland@hack.frob.com>
23355 * manual/contrib.texi: Completely rewritten. It contains now an
23356 alphabetical list of contributors and their contributions.
23358 2012-05-21 Richard Henderson <rth@twiddle.net>
23360 * misc/getauxval.c (__getauxval): Use unsigned long int.
23361 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23362 (getauxval): Use unsigned long int.
23364 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23368 2012-05-21 Roland McGrath <roland@hack.frob.com>
23370 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23371 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23372 __alignof__ (long double).
23374 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23378 2012-05-20 Richard Henderson <rth@twiddle.net>
23380 * misc/getauxval.c: New file.
23381 * misc/sys/auxv.h: New file.
23382 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23383 (routines): Add getauxval.
23384 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23385 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23386 * elf/dl-sysdep.c (_dl_auxv): Remove.
23387 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23388 * elf/dl-support.c (_dl_auxv): New variable.
23389 (_dl_aux_init): Initialize it.
23390 * manual/startup.texi (Auxiliary Vector): New node.
23391 * sysdeps/generic/bits/hwcap.h: New file.
23392 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23393 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23394 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23395 * sysdeps/sparc/sysdep.h: ... here. Include it.
23396 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23409 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23413 2012-05-19 David S. Miller <davem@davemloft.net>
23415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23417 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23420 * math/s_ccosh.c: Include <float.h>
23421 (__ccosh): Avoid internal overflow calculating sinh and cosh
23422 values before multiplying by sin and cos values.
23423 * math/s_ccoshf.c: Likewise.
23424 * math/s_ccoshl.c: Likewise.
23425 * math/s_csin.c: Likewise.
23426 * math/s_csinf.c: Likewise.
23427 * math/s_csinl.c: Likewise.
23428 * math/s_csinh.c: Likewise.
23429 * math/s_csinhf.c: Likewise.
23430 * math/s_csinhl.c: Likewise.
23431 * math/libm-test.inc (ccos_test): Add more tests.
23432 (ccosh_test): Likewise.
23433 (csin_test): Likewise.
23434 (csinh_test): Likewise.
23435 * sysdeps/i386/fpu/libm-test-ulps: Update.
23436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23438 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23440 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23441 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23443 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23445 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23447 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23448 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23449 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23450 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23451 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23452 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23453 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23454 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23455 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23456 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23457 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23458 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23459 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23460 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23461 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23462 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23463 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23464 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23465 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23466 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23467 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23468 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23469 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23470 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23471 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23472 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23473 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23474 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23475 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23476 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23477 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23479 2012-05-18 Andreas Jaeger <aj@suse.de>
23481 * csu/.gitignore: Delete.
23483 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23485 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23486 (timex): Use __syscall_slong_t.
23488 2012-05-18 Andreas Jaeger <aj@suse.de>
23489 Carlos O'Donell <carlos_odonell@mentor.com>
23491 * manual/install.texi (Configuring and compiling): Update
23492 description about files modified in the source directory.
23493 * INSTALL: Regenerated.
23495 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23497 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23498 value. Use "or" to set return value to -1.
23499 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23500 negate return value.
23502 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23504 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23505 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23506 failure if the compiler has Graphite support disabled.
23507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23509 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23510 CFLAGS-memmove.c): Likewise.
23511 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23514 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23516 * sysdeps/x86_64/x32/_itoa.h: New file.
23518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23519 getdents system call only if kernel and user dirents have the
23520 same d_ino and d_off.
23522 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23523 LLONG_MAX != LONG_MAX.
23524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23525 (_fitoa_word): Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23529 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23530 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23534 include <bits/wordsize.h>. Check __x86_64__ instead of
23536 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23537 if __x86_64__ is defined. Use anonymous union on fpstate.
23539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23542 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23544 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23545 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23546 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23547 Refer to _rtld_local_ro instead of _rtld_global_ro.
23548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23550 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23552 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23554 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23555 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23556 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23558 * sysdeps/powerpc/powerpc32/dl-machine.c
23559 (__elf_machine_runtime_setup) [PROF]: Don't reference
23562 2012-05-18 Andreas Jaeger <aj@suse.de>
23564 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23565 function only available for GCCs before 3.4 since GCC 3.4
23566 introduced a builtin.
23568 (llrintf): Likewise.
23569 (llrint): Likewise.
23576 (nearbyint): Likewise.
23577 (nearbyintf): Likewise.
23581 (floorf): Likewise.
23583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23585 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23586 on both fields and cast pointer to __syscall_ulong_t.
23588 * bits/types.h (__fsword_t): New type.
23589 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23590 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23592 (__FSWORD_T_TYPE): Likewise.
23593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23594 (__FSWORD_T_TYPE): Likewise.
23595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23596 (__FSWORD_T_TYPE): Likewise.
23597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23598 (__FSWORD_T_TYPE): Likewise.
23599 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23600 __SWORD_TYPE with __fsword_t.
23601 (statfs64): Likewise.
23603 2012-05-17 David S. Miller <davem@davemloft.net>
23605 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23607 2012-05-17 Andreas Jaeger <aj@suse.de>
23609 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23612 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23614 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23616 2012-05-17 Andreas Jaeger <aj@suse.de>
23618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23621 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23623 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23625 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23627 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23628 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23630 2012-05-17 Andreas Jaeger <aj@suse.de>
23631 Carlos O'Donell <carlos_odonell@mentor.com>
23634 * sysdeps/x86_64/multiarch/init-arch.h
23635 (bit_YMM_Usable): Rename to...
23636 (bit_AVX_Usable): ... this.
23637 (bit_FMA4_Usable): New macro.
23638 (bit_XMM_state): New macro.
23639 (bit_YMM_state): New macro.
23640 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23641 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23642 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23643 (CPUID_OSXSAVE): New macro.
23644 (CPUID_AVX): New macro.
23645 (CPUID_FMA4): New macro.
23646 (index_YMM_Usable): Rename to...
23647 (index_AVX_Usable): ... this.
23648 (HAS_AVX): Use HAS_ARCH_FEATURE.
23649 (HAS_FMA4): Likewise.
23650 (HAS_YMM_USABLE): Remove.
23651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23652 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23654 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23655 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23656 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23657 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23658 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23660 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23662 * math/libm-test.c: Support platforms without multiple rounding modes.
23663 * math/bug-nextafter.c: Support platforms without FP exceptions.
23664 * math/bug-nexttoward.c: Likewise.
23665 * math/test-fenv.c: Likewise.
23666 * math/test-misc.c: Likewise.
23667 * stdlib/bug-getcontext.c: Likewise.
23669 2012-05-17 Andreas Jaeger <aj@suse.de>
23671 * manual/examples/search.c (critter_cmp): Change signature to
23673 * manual/string.texi (Collation Functions): Likewise.
23675 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23677 * bits/types.h: Fold copyright years.
23678 * bits/typesizes.h: Likewise.
23679 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23683 * time/time.h: Likewise.
23685 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23688 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23689 in instead of returning them. Return void.
23690 (__libc_mallinfo): Accumulate over all arenas.
23691 (__malloc_stats): Adjust for change in int_mallinfo interface.
23693 2012-05-16 Roland McGrath <roland@hack.frob.com>
23696 * configure.in (NM): Add AC_CHECK_TOOL for it.
23697 (libc_extra_cflags): New substituted variable.
23698 Check for -fstack-protector being used implicitly.
23699 * configure: Regenerated.
23700 * config.make.in (config-extra-cflags): New variable,
23701 gets @libc_extra_cflags@.
23702 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23705 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23706 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23707 * configure: Regenerated.
23708 * config.make.in (CPPUNDEFS): New substituted variable.
23709 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23710 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23711 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23713 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23715 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23716 (mq_attr): Use __syscall_slong_t.
23718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23721 Check __x86_64__ instead of __WORDSIZE.
23722 (_STAT_VER_LINUX): Likewise.
23723 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23724 __syscall_ulong_t and __syscall_slong_t.
23725 (stat64): Likewise.
23727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23731 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23733 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23735 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23737 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23740 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23741 include <bits/wordsize.h>. Check __x86_64__ instead of
23743 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23745 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23748 include <bits/wordsize.h>. Check __x86_64__ instead of
23750 (user_regs_struct): Use "__extension__ unsigned long long"
23751 instead of "unsigned long" if __x86_64__ is defined.
23752 (user): Likewise. Pad after pointer field if __ILP32__ is
23755 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23757 * configure.in (makeinfo): Require version 4.5 or later. Allow
23759 * configure: Regenerated.
23760 * manual/install.texi (texinfo): Increase version requirement to
23762 * INSTALL: Regenerated.
23764 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23768 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23770 * sysdeps/x86_64/x32/ffs.c: New file.
23772 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23774 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23775 defined. Use __syscall_ulong_t.
23776 (shminfo): Use __syscall_ulong_t.
23777 (shm_info): Likewise.
23779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23782 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23784 (msgqnum_t): Use __syscall_ulong_t.
23785 (msglen_t): Likewise.
23786 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23789 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23792 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23794 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23795 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23797 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23801 include <bits/wordsize.h>. Check __x86_64__ instead of
23804 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23805 "unsigned long long int" if __x86_64__ is defined.
23806 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23809 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23810 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23812 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23814 (GET_PC): Cast to uintptr_t first.
23815 (GET_FRAME): Likewise.
23816 (GET_STACK): Likewise.
23818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23829 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23835 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23848 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23850 * Makerules (+depfiles): Also collect depfiles from .oS in
23852 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23853 .oS, $(libnldbl-routines)).
23855 * Makerules (native-compile-mkdep-flags): Define.
23856 * sunrpc/Makefile (extra-objs): Add $(addprefix
23857 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23858 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23859 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23860 calling $(make-target-directory).
23862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23864 * bits/types.h (__snseconds_t): Removed.
23865 * time/time.h (struct timespec): Replace __snseconds_t with
23867 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23868 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23871 (__SNSECONDS_T_TYPE): Likewise.
23872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23873 (__SNSECONDS_T_TYPE): Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23875 (__SNSECONDS_T_TYPE): Likewise.
23877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23879 * sysdeps/mach/hurd/bits/typesizes.h
23880 (__SYSCALL_SLONG_TYPE): New macro.
23881 (__SYSCALL_ULONG_TYPE): Likewise.
23883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23885 * bits/types.h (__syscall_slong_t): New type.
23886 (__syscall_ulong_t): Likewise.
23888 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23889 (__SYSCALL_ULONG_TYPE): Likewise.
23890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23891 (__SYSCALL_SLONG_TYPE): Likewise.
23892 (__SYSCALL_ULONG_TYPE): Likewise.
23893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23894 (__SYSCALL_SLONG_TYPE): Likewise.
23895 (__SYSCALL_ULONG_TYPE): Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23897 (__SYSCALL_SLONG_TYPE): Likewise.
23898 (__SYSCALL_ULONG_TYPE): Likewise.
23900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23902 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23903 Add sigaltstack-offsets.sym.
23904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23905 <sigaltstack-offsets.h>.
23906 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23907 longjmp_msg pointer.
23908 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23909 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23911 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23913 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23915 * elf/stackguard-macros.h: Remove file.
23916 * sysdeps/generic/stackguard-macros.h: New file.
23917 * sysdeps/i386/stackguard-macros.h: Likewise.
23918 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23919 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23920 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23921 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23922 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23923 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23924 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23925 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23926 <elf/stackguard-macros.h>.
23929 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23930 __aligned__ in attribute.
23931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23932 (gregset_t): Likewise.
23934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23936 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23937 * sysdeps/x86_64/64/Implies-after: Here. New file.
23938 * sysdeps/x86_64/x32/Implies-after: New file.
23940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23942 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23943 and access return value for _dl_profile_fixup. Use R10_LP to
23946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23952 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23953 * sysdeps/x86_64/x32/sysdep.h: New file.
23955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23957 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23958 * sysdeps/x86_64/setjmp.S: Likewise.
23960 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23962 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23964 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23966 remove unused global constant.
23968 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23970 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23971 include of <not-cancel.h>.
23973 2012-05-15 Roland McGrath <roland@hack.frob.com>
23975 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23977 2012-05-15 Jeff Law <law@redhat.com>
23978 Andreas Jaeger <aj@suse.de>
23981 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23983 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23984 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23985 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23986 code changing __hst_map_handle.map.
23988 2012-05-15 Roland McGrath <roland@hack.frob.com>
23990 * configure.in (sysnames): Look for Implies-before and Implies-after
23992 * configure: Regenerated.
23994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23997 8-byte data alignment with LP_SIZE alignment.
23999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24006 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24011 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24014 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24018 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24019 (stackinfo_sub_sp): Likewise.
24021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24038 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24042 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24043 into R11_LP and load __x86_64_shared_cache_size_half into
24046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24051 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24060 powerpc32/power7/fpu/s_logb.c via #include.
24061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24062 powerpc32/power7/fpu/s_logbf.c via #include.
24063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24064 powerpc32/power7/fpu/s_logbl.c via #include.
24066 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24068 * README.libm: Remove file.
24070 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24072 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24073 count for x32. Use R*_LP and omit operand-size suffix.
24075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24077 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24078 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24079 * sysdeps/x86_64/x32/shlib-versions: New file.
24081 2012-05-14 Roland McGrath <roland@hack.frob.com>
24083 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24084 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24085 Use _dl_fatal_printf instead.
24087 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24089 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24090 set if not set by the user. Do not allow for being unset.
24091 * sysdeps/unix/sysv/linux/configure: Regenerated.
24093 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24095 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24096 the `q' suffix from lea and replace .quad with ASM_ADDR.
24098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24101 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24103 (PTR_DEMANGLE): Likewise.
24105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24107 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24109 (ASM_ADDR): Likewise.
24110 (RAX_LP): Likewise.
24111 (RBP_LP): Likewise.
24112 (RBX_LP): Likewise.
24113 (RCX_LP): Likewise.
24114 (RDI_LP): Likewise.
24115 (RSI_LP): Likewise.
24116 (RSP_LP): Likewise.
24119 (R10_LP): Likewise.
24120 (R10_LP): Likewise.
24121 (R11_LP): Likewise.
24122 (R12_LP): Likewise.
24123 (R13_LP): Likewise.
24124 (R14_LP): Likewise.
24125 (R15_LP): Likewise.
24127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24129 * sysdeps/x86_64/x32/dl-machine.h: New file.
24131 2012-05-14 Andreas Jaeger <aj@suse.de>
24133 * manual/Makefile (subdir): Remove export of subdir.
24134 (all): Remove target.
24135 (.PHONY): Remove all from list.
24136 (mkinstalldirs): Remove.
24137 (.PHONY): Remove installdirs from list.
24138 ($(inst_infodir)/libc.info): Use make-target-directory.
24139 (installdirs): Remove.
24140 (subdir_%): Remove.
24141 (glibc-targets): Remove.
24144 ($(objpfx)stubs ../po/manual.pot): Remove.
24145 ($(objpfx)stamp%): Remove.
24146 (make-target-directory): Remove.
24147 (subdir_install): Remove.
24148 (routines): Remove.
24155 * manual/.gitignore: Remove, it's not needed anymore.
24156 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24158 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24160 (texis): Renamed to $(objpfx)texis.
24161 (texis-path): New, contains path to generated files.
24162 (chapters.%): Use texis-path for complete path, add extra argument
24164 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24165 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24166 (summary,texi, stamp-summary): Use complete path of
24167 files. Generate files in build dir.
24168 (dir-add.texi): Build in build dir.
24169 (libm-err.texi,stamp-libm-err): Likewise.
24170 (version.texi, stamp-version): Likewise.
24171 (.%c.texi): Likewise.
24172 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24173 (mostlyclean): Remove target.
24174 (realclean): Remove target.
24175 (generated): Add new variable with contents from mostlyclean and
24176 realclean, remove entries duplicated in common-mostlyclean, add
24177 stamp-libm-err and stamp-version.
24178 (generated-dirs): Add libc directory.
24179 ($(inst_infodir)/libc.info): Install files from build dir.
24181 * manual/install.texi (Configuring and compiling): Adjust since
24182 the info files are not part of the tar ball anymore.
24184 2012-05-14 Andreas Jaeger <aj@suse.de>
24186 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24189 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24193 to 2.2.0 where earlier.
24194 * sysdeps/unix/sysv/linux/configure: Regenerated.
24195 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24196 Remove conditional code.
24197 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24198 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24199 Remove conditional code.
24200 [!__NR_lchown]: Likewise.
24201 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24202 [__NR_lchown]: Likewise.
24203 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24204 comment referencing __ASSUME_LCHOWN_SYSCALL.
24205 * sysdeps/unix/sysv/linux/i386/sigaction.c
24206 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24207 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24209 Remove conditional code.
24210 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24211 (__protocol_available): Remove #if 0 code.
24212 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24214 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24215 * sysdeps/unix/sysv/linux/kernel-features.h
24216 (__ASSUME_GETCWD_SYSCALL): Don't define.
24217 (__ASSUME_REALTIME_SIGNALS): Likewise.
24218 (__ASSUME_PREAD_SYSCALL): Likewise.
24219 (__ASSUME_PWRITE_SYSCALL): Likewise.
24220 (__ASSUME_POLL_SYSCALL): Likewise.
24221 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24222 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24224 (__ASSUME_SIOCGIFNAME): Don't define.
24225 (__ASSUME_MSG_NOSIGNAL): Likewise.
24226 (__ASSUME_SENDFILE): Define unconditionally.
24227 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24228 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24230 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24231 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24233 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24236 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24261 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24262 Remove conditional code.
24263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24264 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24265 Remove conditional code.
24266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24267 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24268 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24269 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24270 Remove conditional code.
24271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24272 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24273 Remove conditional code.
24274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24275 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24276 Remove conditional code.
24277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24278 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24279 Remove conditional code.
24280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24281 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24282 Remove conditional code.
24283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24284 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24287 * sysdeps/unix/sysv/linux/sigaction.c
24288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24290 * sysdeps/unix/sysv/linux/sigpending.c
24291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24293 * sysdeps/unix/sysv/linux/sigprocmask.c
24294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24296 * sysdeps/unix/sysv/linux/sigsuspend.c
24297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24300 (__libc_missing_rt_sigs): Remove.
24301 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24302 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24303 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24304 Remove conditional code.
24305 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24306 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24308 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24309 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24310 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24311 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24313 2012-05-14 Andreas Jaeger <aj@suse.de>
24315 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24316 it's not used in glibc.
24317 (__coshm1): Likewise.
24318 (__acosh1p): Likewise.
24321 * manual/string.texi (Copying and Concatenation): Add missing
24322 variable in concat example.
24323 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24329 __builtin_clzl with __builtin_clzll.
24331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24334 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24337 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24339 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24340 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24341 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24344 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24346 * NEWS: Update ia64 info.
24348 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24350 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24353 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24355 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24356 * sysdeps/unix/syscalls.list (dup3): Likewise.
24357 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24358 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24360 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24362 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24363 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24365 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24367 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24369 (TLS_IE): Use mov/add instead of movq/addq to load thread
24371 (TLS_GD_PREFIX): New.
24374 2012-05-11 David S. Miller <davem@davemloft.net>
24376 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24377 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24378 (_FPU_SETCW): Likewise.
24380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24382 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24383 is 32-byte aligned.
24385 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24388 * iconvdata/gb18030.c: Update tables.
24389 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24390 characters specially.
24391 (BODY for TO_LOOP): Add encoding of missing ranges.
24393 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24396 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24397 * sysdeps/mach/hurd/dup3.c: Likewise.
24398 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24399 * sysdeps/powerpc/memmove.c:: Likewise.
24401 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24404 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24408 * elf/elf.h (R_X86_64_RELATIVE64): New.
24409 (R_X86_64_NUM): Updated.
24410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24411 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24412 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24413 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24414 tst-quad1pie tst-quad2pie
24415 (modules-names): Add tst-quadmod1 tst-quadmod2.
24416 ($(objpfx)tst-quad1): New dependency.
24417 ($(objpfx)tst-quad2): Likewise.
24418 ($(objpfx)tst-quad1pie): Likewise.
24419 ($(objpfx)tst-quad2pie): Likewise.
24420 * sysdeps/x86_64/tst-quad1.c: New file.
24421 * sysdeps/x86_64/tst-quad1pie.c: New file.
24422 * sysdeps/x86_64/tst-quad2.c: Likewise.
24423 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24424 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24425 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24426 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24427 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24431 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24432 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24433 * streams/stropts.h (t_scalar_t): Define type.
24435 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24436 (_PATH_PRESERVE): Set to "/var/lib".
24437 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24439 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24442 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24443 if __dir_mkfile succeeded.
24445 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24446 checking for _hurd_dtablesize. Unlock it right after having
24447 finished _hurd_dtable allocation.
24449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24451 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24452 * sysdeps/mach/hurd/configure: Regenerated.
24453 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24454 special-casing to...
24455 * sysdeps/gnu/configure.in: ... this new file.
24456 * sysdeps/unix/sysv/linux/configure: Regenerated.
24457 * sysdeps/gnu/configure: New generated file.
24459 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24460 for Linux: use nsec instead of usec, as well as:
24461 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24462 members of type struct timespec.
24463 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24465 (struct stat64): Likewise.
24466 (_STATBUF_ST_NSEC): New macro.
24467 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24470 __strtoul_internal rather than strtoul.
24472 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24474 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24479 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24480 which preserves existing values.
24481 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24485 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24486 TIMEOUT values. Return EINVAL for NFDS values either negative or
24487 greater than FD_SETSIZE.
24489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24491 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24492 allocated, call __vm_protect to finish enabling the existing space, and
24493 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24494 allocate the remainder.
24496 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24498 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24499 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24503 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24504 sysdeps/mach/hurd/readlink.c.
24506 * posix/tst-sysconf.c (posix_options): Only use
24507 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24508 _POSIX_SYNCHRONIZED_IO when they are defined
24509 * sysdeps/mach/hurd/bits/posix_opt.h:
24510 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24511 (_XOPEN_REALTIME): Undefine macro.
24512 (_XOPEN_REALTIME_THREADS): Undefine macro.
24513 (_XOPEN_SHM): Undefine macro.
24514 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24516 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24518 (_POSIX_ASYNC_IO): Undefine macro.
24519 (_POSIX_PRIORITIZED_IO): Undefine macro.
24520 (_POSIX_SPIN_LOCKS): Define macro to -1.
24522 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24523 SA_NODEFER, SA_RESETHAND.
24524 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24525 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24530 * elf/Makefile (pldd-modules): Define unconditionally.
24532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24534 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24538 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24539 Return ENOENT when name is empty.
24540 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24544 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24546 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24550 Fix mlock in all cases except non-readable pages.
24551 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24552 instead of VM_PROT_ALL as parameter to __vm_wire function.
24554 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24555 (__mkdir): When path is `/', just fail with EEXIST.
24556 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24560 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24561 <sys/uio.h> (for writev).
24562 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24563 and <sys/param.h> (for MIN).
24565 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24567 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24568 REQUESTED_TIME. Properly set the remaining time and return EINTR
24571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24573 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24574 Depend on against $(link-rpcuserlibs).
24576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24578 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24579 (__libc_stack_end): Do not use attribute_relro.
24580 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24581 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24582 to libthread-provided value.
24583 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24589 * bits/libc-lock.h (__libc_once_get): New macro.
24590 * sysdeps/mach/bits/libc-lock.h: Likewise.
24591 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24593 instead of using implementation details.
24595 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24596 * libio/freopen.c: Likewise.
24597 * libio/freopen64.c: Likewise.
24598 * misc/syslog.c: Likewise.
24599 * nscd/connections.c: Likewise.
24600 * nscd/netgroupcache.c: Likewise.
24601 * sysdeps/posix/getcwd.c: Likewise.
24603 2012-05-10 Roland McGrath <roland@hack.frob.com>
24605 * math/w_ilogbf.c: Add #include <limits.h>.
24607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24609 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24610 path instead of returning without unlocking.
24612 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24613 immediate-write ioctls.
24614 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24618 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24619 __builtin_frame_address instead of making assumptions about the
24620 location of the return address relative to DATA. Force early load of
24621 the return address.
24622 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24623 __builtin_frame_address.
24626 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24627 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24628 implement dup3 and do some further code clean-ups.
24629 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24634 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24636 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24637 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24638 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24639 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24640 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24643 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24644 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24645 when handler == SIG_ERR, not when handler != SIG_ERR.
24647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24649 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24650 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24653 accept4 for GNU Hurd.
24654 * include/sys/socket.h (__libc_accept4): New prototype.
24655 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24656 to implement __libc_accept4.
24657 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24661 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24662 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24663 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24664 signal-defines.sym.
24666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24668 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24672 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24673 assertion on O_CLOEXEC flag.
24674 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24675 * hurd/intern-fd.c: Likewise.
24676 * hurd/port2fd.c: Likewise.
24678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24681 * bits/in.h (IPV6_PKTINFO): Define new macro.
24682 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24684 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24691 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24692 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24694 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24695 * math/libm-test.inc (logb_test) : Additional logb tests.
24697 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24698 Andreas Jaeger <aj@suse.de>
24700 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24701 * configure: Regenerated.
24702 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24703 * config.make.in (link-obsolete-rpc): New substituted variable.
24704 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24705 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24706 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24707 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24708 so that libc.a contains the symbols.
24709 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24710 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24711 * sunrpc/auth_none.c: Likewise.
24712 * sunrpc/auth_unix.c: Likewise.
24713 * sunrpc/authdes_prot.c: Likewise.
24714 * sunrpc/authuxprot.c: Likewise.
24715 * sunrpc/clnt_gen.c: Likewise.
24716 * sunrpc/clnt_perr.c: Likewise.
24717 * sunrpc/clnt_raw.c: Likewise.
24718 * sunrpc/clnt_simp.c: Likewise.
24719 * sunrpc/clnt_tcp.c: Likewise.
24720 * sunrpc/clnt_udp.c: Likewise.
24721 * sunrpc/clnt_unix.c: Likewise.
24722 * sunrpc/des_crypt.c: Likewise.
24723 * sunrpc/des_soft.c: Likewise.
24724 * sunrpc/get_myaddr.c: Likewise.
24725 * sunrpc/key_call.c: Likewise.
24726 * sunrpc/key_prot.c: Likewise.
24727 * sunrpc/netname.c: Likewise.
24728 * sunrpc/pm_getmaps.c: Likewise.
24729 * sunrpc/pm_getport.c: Likewise.
24730 * sunrpc/pmap_clnt.c: Likewise.
24731 * sunrpc/pmap_prot.c: Likewise.
24732 * sunrpc/pmap_prot2.c: Likewise.
24733 * sunrpc/pmap_rmt.c: Likewise.
24734 * sunrpc/publickey.c: Likewise.
24735 * sunrpc/rpc_cmsg.c: Likewise.
24736 * sunrpc/rpc_common.c: Likewise.
24737 * sunrpc/rpc_dtable.c: Likewise.
24738 * sunrpc/rpc_prot.c: Likewise.
24739 * sunrpc/rpc_thread.c: Likewise.
24740 * sunrpc/rtime.c: Likewise.
24741 * sunrpc/svc.c: Likewise.
24742 * sunrpc/svc_auth.c: Likewise.
24743 * sunrpc/svc_raw.c: Likewise.
24744 * sunrpc/svc_run.c: Likewise.
24745 * sunrpc/svc_tcp.c: Likewise.
24746 * sunrpc/svc_udp.c: Likewise.
24747 * sunrpc/svc_unix.c: Likewise.
24748 * sunrpc/svcauth_des.c: Likewise.
24749 * sunrpc/xcrypt.c: Likewise.
24750 * sunrpc/xdr.c: Likewise.
24751 * sunrpc/xdr_array.c: Likewise.
24752 * sunrpc/xdr_float.c: Likewise.
24753 * sunrpc/xdr_intXX_t.c: Likewise.
24754 * sunrpc/xdr_mem.c: Likewise.
24755 * sunrpc/xdr_rec.c: Likewise.
24756 * sunrpc/xdr_ref.c: Likewise.
24757 * sunrpc/xdr_sizeof.c: Likewise.
24758 * sunrpc/xdr_stdio.c: Likewise.
24760 2012-05-10 Roland McGrath <roland@hack.frob.com>
24762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24763 change. Update copyright years.
24765 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24767 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24769 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24770 Joseph Myers <joseph@codesourcery.com>
24771 Paul Pluzhnikov <ppluzhnikov@google.com>
24774 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24776 [cross-compiling] (extra-libs): Likewise.
24777 [cross-compiling] (extra-libs-others): Likewise.
24778 [cross-compiling] (librpcsvc-routines): Likewise.
24779 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24780 [cross-compiling] (omit-deps): Likewise.
24781 (sunrpc-CPPFLAGS): New variable.
24782 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24783 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24784 (cross-rpcgen-objs): New variable.
24785 (extra-objs): Append $(cross-rpcgen-objs).
24786 ($(cross-rpcgen-objs)): New rule.
24787 ($(objpfx)cross-rpcgen): Likewise.
24788 (rpcgen-cmd): Define to use $(built-program-file). Expand
24790 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24791 ($(objpfx)x%.stmp): Likewise.
24792 * sunrpc/proto.h [IS_IN_build] (_): Define.
24793 [IS_IN_build] (_libc_intl_domainname): Likewise.
24795 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24798 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24799 and R_X86_64_TPOFF64.
24801 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24803 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24804 sysdeps/unix/sysv/syscalls.list.
24807 * sysdeps/unix/sysv/syscalls.list: Remove file.
24809 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24812 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24813 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24814 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24815 (__LC_IDENTIFICATION): Make these macros useful in #if
24816 expressions, as required by C99.
24818 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24820 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24821 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24824 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24826 * stdlib/longlong.h: Updated from GCC.
24828 2012-05-09 Andreas Jaeger <aj@suse.de>
24830 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24831 default is first entry.
24832 (run_mode): Set type.
24833 (main): Remove informal message about syslog.
24834 (options): Fix typo.
24837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24840 (llrintf): Likewise.
24841 (llrint): Likewise.
24844 (nearbyint): Likewise.
24845 (nearbyintf): Likewise.
24847 2012-05-09 Andreas Jaeger <aj@suse.de>
24848 Pedro Alves <palves@redhat.com>
24850 * nscd/nscd.c (run_mode): Use enum.
24851 (main): Cleanup coding style issue.
24853 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24854 Andreas Jaeger <aj@suse.de>
24856 * nscd/nscd.c (go_background): Replaced with...
24857 (run_mode): ... this.
24858 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24859 (options): Add -F --foreground.
24860 (main): Implement it.
24861 (parse_opt): Parse it.
24863 2012-05-09 Andreas Jaeger <aj@suse.de>
24866 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24867 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24868 -Wconversion warning.
24869 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24872 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24874 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24876 (LC_ALL): Use macro-int-constant.
24877 (LC_COLLATE): Likewise.
24878 (LC_CTYPE): Likewise.
24879 (LC_MESSAGES): Likewise.
24880 (LC_MONETARY): Likewise.
24881 (LC_NUMERIC): Likewise.
24882 (LC_TIME): Likewise.
24883 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24884 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24886 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24888 [C99-based standards] (float_t): Expect type.
24889 [C99-based standards] (double_t): Expect type.
24890 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24892 [C99-based standards] (HUGE_VALL): Likewise.
24893 [C99-based standards] (INFINITY): Likewise.
24894 [C99-based standards] (NAN): Likewise.
24895 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24896 [C99-based standards] (FP_NAN): Likewise.
24897 [C99-based standards] (FP_NORMAL): Likewise.
24898 [C99-based standards] (FP_SUBNORMAL): Likewise.
24899 [C99-based standards] (FP_ZERO): Likewise.
24900 [C99-based standards] (FP_FAST_FMA): Use
24901 optional-macro-int-constant. Specify type. Require == 1.
24902 [C99-based standards] (FP_FAST_FMAF): Likewise.
24903 [C99-based standards] (FP_FAST_FMAL): Likewise.
24904 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24905 [C99-based standards] (FP_ILOGBNAN): Likewise.
24906 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24908 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24909 [C99-based standards] (math_errhandling): Specify type.
24910 [ISO99 || ISO11] (signgam): Do not allow.
24911 [non-C99-based standards] (copysignf): Do not allow.
24912 [non-C99-based standards] (exp2f): Likewise.
24913 [non-C99-based standards] (log2f): Likewise.
24914 [non-C99-based standards] (modff): Allow.
24915 [non-C99-based standards] (erff): Do not allow.
24916 [non-C99-based standards] (erfcf): Likewise.
24917 [non-C99-based standards] (gammaf): Likewise.
24918 [non-C99-based standards] (hypotf): Likewise.
24919 [non-C99-based standards] (j0f): Likewise.
24920 [non-C99-based standards] (j1f): Likewise.
24921 [non-C99-based standards] (jnf): Likewise.
24922 [non-C99-based standards] (lgammaf): Likewise.
24923 [non-C99-based standards] (tgammaf): Likewise.
24924 [non-C99-based standards] (y0f): Likewise.
24925 [non-C99-based standards] (y1f): Likewise.
24926 [non-C99-based standards] (ynf): Likewise.
24927 [non-C99-based standards] (isnanf): Likewise.
24928 [non-C99-based standards] (acoshf): Likewise.
24929 [non-C99-based standards] (asinhf): Likewise.
24930 [non-C99-based standards] (atanhf): Likewise.
24931 [non-C99-based standards] (cbrtf): Likewise.
24932 [non-C99-based standards] (expm1f): Likewise.
24933 [non-C99-based standards] (ilogbf): Likewise.
24934 [non-C99-based standards] (log1pf): Likewise.
24935 [non-C99-based standards] (logbf): Likewise.
24936 [non-C99-based standards] (nextafterf): Likewise.
24937 [non-C99-based standards] (remainderf): Likewise.
24938 [non-C99-based standards] (rintf): Likewise.
24939 [non-C99-based standards] (scalbf): Likewise.
24940 [non-C99-based standards] (copysignl): Likewise.
24941 [non-C99-based standards] (exp2l): Likewise.
24942 [non-C99-based standards] (log2l): Likewise.
24943 [non-C99-based standards] (modfl): Allow.
24944 [non-C99-based standards] (erfl): Do not allow.
24945 [non-C99-based standards] (erfcl): Likewise.
24946 [non-C99-based standards] (gammal): Likewise.
24947 [non-C99-based standards] (hypotl): Likewise.
24948 [non-C99-based standards] (j0l): Likewise.
24949 [non-C99-based standards] (j1l): Likewise.
24950 [non-C99-based standards] (jnl): Likewise.
24951 [non-C99-based standards] (lgammal): Likewise.
24952 [non-C99-based standards] (tgammal): Likewise.
24953 [non-C99-based standards] (y0l): Likewise.
24954 [non-C99-based standards] (y1l): Likewise.
24955 [non-C99-based standards] (ynl): Likewise.
24956 [non-C99-based standards] (isnanl): Likewise.
24957 [non-C99-based standards] (acoshl): Likewise.
24958 [non-C99-based standards] (asinhl): Likewise.
24959 [non-C99-based standards] (atanhl): Likewise.
24960 [non-C99-based standards] (cbrtl): Likewise.
24961 [non-C99-based standards] (expm1l): Likewise.
24962 [non-C99-based standards] (ilogbl): Likewise.
24963 [non-C99-based standards] (log1pl): Likewise.
24964 [non-C99-based standards] (logbl): Likewise.
24965 [non-C99-based standards] (nextafterl): Likewise.
24966 [non-C99-based standards] (remainderl): Likewise.
24967 [non-C99-based standards] (rintl): Likewise.
24968 [non-C99-based standards] (scalbl): Likewise.
24969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24970 [non-C99-based standards] (FP_*): Do not allow.
24971 [C99-based standards] (FP_*): Change to
24972 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24973 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24975 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24976 (SIG_ERR): Likewise.
24977 [X/Open-based standards] (SIG_HOLD): Likewise.
24978 (SIG_IGN): Likewise.
24979 (SIGABRT): Use macro-int-constant. Specify type. Require
24981 (SIGFPE): Likewise.
24982 (SIGILL): Likewise.
24983 (SIGINT): Likewise.
24984 (SIGSEGV): Likewise.
24985 (SIGTER): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24991 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24996 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24997 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24998 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24999 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25000 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25001 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25002 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25003 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25004 [X/Open-based standards] (SIGTRAP): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25009 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25012 2012-05-08 Ian Wienand <ianw@vmware.com>
25015 * time/tzset.c (__tzset_parse_tz): Update default rules for
25016 daylight time changes in the Energy Policy Act of 2005.
25018 2012-05-09 Andreas Jaeger <aj@suse.de>
25021 * elf/ldconfig.c (parse_conf): Change string to make clear that
25022 ldconfig only issued a warning if ld.so.conf does not exist.
25024 2012-05-08 David S. Miller <davem@davemloft.net>
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25027 movxtod instead of popping the value on the stack.
25029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25031 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25033 * config.h.in: Add HAVE_ARM_PCS_VFP.
25035 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25038 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25039 checking but the checks are disabled for any reason.
25041 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25043 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25044 and ELF64_R_TYPE with ELFW(R_TYPE).
25046 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25048 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25049 (ulimit): Likewise.
25051 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25052 (settimeofday): Likewise.
25054 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25056 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25057 a struct th_u2 inside the union, and move tu_block/tu_code into
25058 a new th_u3 union of tu_block/tu_code inside of that. Move
25059 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25060 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25061 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25062 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25063 (th_stuff): Change to th_u1.tu_stuff.
25065 (th_msg): Change to th_u1.th_u2.tu_data.
25067 2012-05-07 David S. Miller <davem@davemloft.net>
25069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25073 (SETUP_PIC_REG): Use it.
25074 (SETUP_PIC_REG_LEAF): Use it.
25076 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25082 (EXPL_FINITE): Likewise.
25083 (FLDLOG): Likewise.
25084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25085 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25089 (EXPL_FINITE): Likewise.
25090 (FLDLOG): Likewise.
25091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25092 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25094 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25095 test of -max_value argument for long double.
25096 * sysdeps/i386/fpu/libm-test-ulps: Update.
25097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25099 2012-05-06 David S. Miller <davem@davemloft.net>
25101 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25102 quad soft-float symbols whose references which are compiler
25104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25106 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25112 (EXPL_FINITE): Likewise.
25113 (FLDLOG): Likewise.
25116 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25117 Adjust comments for base varying.
25118 (__expl_finite): Change alias to EXPL_FINITE.
25119 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25121 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25122 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25124 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25127 (EXPL_FINITE): Likewise.
25128 (FLDLOG): Likewise.
25131 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25132 Adjust comments for base varying.
25133 (__expl_finite): Change alias to EXPL_FINITE.
25134 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25139 * math/libm-test.inc (check_float_internal): Correct ulp
25140 calculation for subnormal expected results.
25142 2012-05-06 Andreas Jaeger <aj@suse.de>
25144 * Makeconfig (+math-flags): New, set to -frounding-math.
25145 (+cflags): Add +math-flags so that all of glibc gets compiled with
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25150 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25152 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25158 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25159 (__ieee754_expl): Allow for and saturate large arguments.
25160 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25161 (u_threshold): Likewise.
25162 (__exp): Call __ieee754_exp before checking for overflow and
25164 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25165 (u_threshold): Likewise.
25166 (__expf): Call __ieee754_expf before checking for overflow and
25168 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25169 (u_threshold): Likewise.
25170 (__expl): Call __ieee754_expl before checking for overflow and
25172 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25173 (__ieee754_expl): Allow for and saturate large arguments.
25174 * math/libm-test.inc (exp_test): Add another test. Do not allow
25175 missing overflow exception on overflow.
25176 (expm1_test): Do not allow missing overflow exception on overflow.
25178 * sysdeps/i386/fpu/e_expl.c: Move to ...
25179 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25180 rather than using inline asm.
25181 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25182 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25183 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25185 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25188 (signal): Likewise.
25192 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25194 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25195 sysdeps/unix/common/syscalls.list.
25196 (fchmod): Likewise.
25197 (fchown): Likewise.
25198 (ftruncate): Likewise.
25199 (getrusage): Likewise.
25200 (gettimeofday): Likewise.
25201 (setpgid): Likewise.
25202 (setregid): Likewise.
25203 (setreuid): Likewise.
25204 (sigaction): Likewise.
25205 (truncate): Likewise.
25206 (vhangup): Likewise.
25207 * sysdeps/unix/common/syscalls.list: Remove file.
25208 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25209 * sysdeps/unix/sysv/linux/Implies: Likewise.
25211 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25213 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25219 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25222 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25225 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25228 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25231 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25234 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25237 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25241 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25245 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25248 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25252 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25256 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25258 * sysdeps/unix/common/bits/dirent.h: Remove file.
25259 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25261 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25262 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25263 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25264 * sysdeps/unix/bsd/isatty.c: Likewise.
25265 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25266 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25267 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25269 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25273 long double comparison inaccuracies.
25274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25277 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25279 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25282 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25286 nonzero digits before rounding a hex value.
25287 * stdlib/tst-strtod.c (tests): Add another test.
25289 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25291 * sysdeps/s390/fpu/libm-test-ulps: Update.
25293 2012-05-03 Andreas Jaeger <aj@suse.de>
25295 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25296 does not get optimized out.
25297 (malloc_opt_barrier): New.
25299 2012-05-03 Andreas Jaeger <aj@suse.de>
25300 Roland McGrath <roland@hack.frob.com>
25302 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25303 intermediate file deletion.
25304 (generated): Add .symlist files.
25306 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25309 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25310 Redirect under this condition.
25311 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25312 [__USE_GNU] (__dprintf_chk): Not under this condition.
25313 [__USE_GNU] (__vdprintf_chk): Likewise.
25314 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25315 under this condition.
25316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25317 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25318 [__USE_XOPEN2K8] (vdprintf): Likewise.
25319 [__USE_GNU] (__dprintf_chk): Not under this condition.
25320 [__USE_GNU] (__vdprintf_chk): Likewise.
25321 [__USE_GNU] (dprintf): Likewise.
25322 [__USE_GNU] (vdprintf): Likewise.
25324 2012-05-03 Roland McGrath <roland@hack.frob.com>
25326 * elf/Makefile (common-generated): Set this instead of generated for
25327 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25328 $(all-built-dso)-derived lists.
25330 2012-05-03 Andreas Jaeger <aj@suse.de>
25332 * sysdeps/i386/fpu/libm-test-ulps: Update.
25335 * FAQ.in: Likewise.
25336 * scripts/gen-FAQ.pl: Likewise.
25337 * manual/install.texi (Installation): Point to online location of
25339 * Makefile (files-for-dist): Remove FAQ.
25342 2012-05-02 Allan McRae <allan@archlinux.org>
25344 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25345 (LDFLAGS-reldepmod5.so): Likewise.
25346 (LDFLAGS-reldep6mod1.so): Likewise.
25347 (LDFLAGS-reldep6mod4.so): Likewise.
25348 (LDFLAGS-reldep8mod3.so): Likewise.
25349 (LDFLAGS-unload4mod1.so): Likewise.
25350 (LDFLAGS-unload4mod2.so): Likewise.
25351 (LDFLAGS-tst-initorder): Likewise.
25352 (LDFLAGS-tst-initordera2.so): Likewise.
25353 (LDFLAGS-tst-initordera3.so): Likewise.
25354 (LDFLAGS-tst-initordera4.so): Likewise.
25355 (LDFLAGS-tst-initorderb2.so): Likewise.
25356 (LDFLAGS-noload): Likewise.
25357 (LDFLAGS-next): Likewise.
25358 (LDFLAGS-order2mod1.so): Likewise.
25359 (LDFLAGS-order2mod2.so): Likewise.
25360 (LDFLAGS-tst-initorder2): Likewise.
25361 (LDFLAGS-tst-initorder2a.so): Likewise.
25362 (LDFLAGS-tst-initorder2b.so): Likewise.
25363 (LDFLAGS-tst-initorder2c.so): Likewise.
25364 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25366 2012-05-02 David S. Miller <davem@davemloft.net>
25368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25370 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25373 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25375 2012-05-02 Andreas Jaeger <aj@suse.de>
25377 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25378 since we manipulate rounding mode.
25379 (CPPFLAGS-test-idouble.c): Likewise.
25380 (CPPFLAGS-test-ifloat.c): Likewise.
25381 (CFLAGS-test-ldouble.c): Likewise.
25382 (CFLAGS-test-double.c): Likewise.
25383 (CFLAGS-test-float.c): Likewise.
25384 (CFLAGS-test-misc.c): Likewise.
25385 (CFLAGS-test-test-fenv.c): Likewise.
25387 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25391 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25392 comparisons to determine direction to adjust input.
25394 2012-05-01 Roland McGrath <roland@hack.frob.com>
25396 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25397 output to the target.
25399 * scripts/localplt.awk: New file.
25400 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25401 (check-localplt-CFLAGS): Variable removed.
25402 ($(all-built-dso:=.jmprel)): New static pattern rule.
25403 (generated): Add those targets.
25404 (localplt-built-dso): New variable.
25405 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25407 * elf/check-localplt.c: File removed.
25409 * scripts/check-execstack.awk: New file.
25410 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25411 (check-execstack-CFLAGS): Variable removed.
25412 ($(objpfx)check-execstack.h): Target removed.
25413 ($(objpfx)execstack-default): New target.
25414 (generated): Add that instead of check-execstack.h.
25415 ($(all-built-dso:=.phdr)): New static pattern rule.
25416 (generated): Add those targets.
25417 * elf/check-execstack.c: File removed.
25419 * scripts/check-textrel.awk: New file.
25420 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25421 (check-textrel-CFLAGS): Variable removed.
25422 (all-built-dso): Use := to define.o
25423 ($(all-built-dso:=.dyn)): New static pattern rule.
25424 (generated): Add those targets.
25425 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25426 * config.make.in (READELF): New substituted variable.
25427 * elf/check-textrel.c: File removed.
25429 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25431 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25433 * conform/data/ctype.h-data [C99-based standards] (isblank):
25435 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25436 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25438 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25439 Specify type. Require positive value.
25440 (EILSEQ): Likewise.
25441 (ERANGE): Likewise.
25442 [ISO || POSIX] (EILSEQ): Do not expect.
25443 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25444 Specify type. Require positive value.
25445 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25512 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25513 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25514 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25515 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25516 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25517 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25518 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25519 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25520 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25521 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25523 (FLT_ROUNDS): Expect as macro, not constant.
25524 (FLT_MANT_DIG): Use macro-int-constant.
25525 (DBL_MANT_DIG): Likewise.
25526 (LDBL_MANT_DIG): Likewise.
25527 (FLT_DIG): Likewise.
25528 (DBL_DIG): Likewise.
25529 (LDBL_DIG): Likewise.
25530 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25531 (DBL_MIN_EXP): Likewise.
25532 (LDBL_MIN_EXP): Likewise.
25533 (FLT_MAX_EXP): Use macro-int-constant.
25534 (DBL_MAX_EXP): Likewise.
25535 (LDBL_MAX_EXP): Likewise.
25536 (FLT_MAX_10_EXP): Likewise.
25537 (DBL_MAX_10_EXP): Likewise.
25538 (LDBL_MAX_10_EXP): Likewise.
25539 (FLT_MAX): Use macro-constant.
25540 (DBL_MAX): Likewise.
25541 (LDBL_MAX): Likewise.
25542 (FLT_EPSILON): Use macro-constant. Give upper bound.
25543 (DBL_EPSILON): Likewise.
25544 (LDBL_EPSILON): Likewise.
25545 (FLT_MIN): Likewise.
25546 (DBL_MIN): Likewise.
25547 (LDBL_MIN): Likewise.
25548 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25549 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25550 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25551 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25552 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25553 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25554 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25555 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25556 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25557 [ISO11] (FLT_TRUE_MIN): Likewise.
25558 [ISO11] (LDBL_TRUE_MIN): Likewise.
25559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25560 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25561 (SCHAR_MIN): Use macro-int-constant. Specify type.
25562 (SCHAR_MAX): Likewise.
25563 (UCHAR_MAX): Likewise.
25564 (CHAR_MIN): Likewise.
25565 (CHAR_MAX): Likewise.
25566 (MB_LEN_MAX): Use macro-int-constant.
25567 (SHRT_MIN): Use macro-int-constant. Specify type.
25568 (SHRT_MAX): Likewise.
25569 (USHRT_MAX): Likewise.
25570 (INT_MAX): Likewise.
25571 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25573 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25575 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25577 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25578 bound negative. Suffix upper bound with "L".
25579 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25581 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25583 [C99-based standards] (LLONG_MAX): Likewise.
25584 [C99-based standards] (ULLONG_MAX): Likewise.
25585 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25587 [ISO11] (max_align_t): Require type.
25588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25590 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25591 from $CFLAGS, without defining away __attribute__ calls.
25592 (checknamespace): Use $CFLAGS_namespace.
25594 * conform/conformtest.pl (@keywords): Only include C99 keywords
25595 for standards based on C99 or C11.
25597 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25599 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25602 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25603 usability of symbols in #if.
25605 * conform/conformtest.pl: If macro or constant types start
25606 "promoted:", expect the symbol to be of the following type
25607 promoted by the integer promotions.
25609 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25610 in one place. Also handle "macro-constant".
25612 * conform/conformtest.pl: Only accept expected macro values with
25613 "==". Parse all "macro" lines in one place.
25614 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25616 * conform/conformtest.pl: Handle braced types on "constant" lines
25617 instead of handling "typed-constant".
25618 * conform/data/signal.h-data: Use "constant" instead of
25621 * conform/conformtest.pl: Handle "optional-" at start of lines in
25622 one place rather than duplicating several cases. Handle each
25623 format of "macro" line with initial "optional-".
25625 * conform/conformtest.pl: Only accept expected constant or
25626 optional-constant values with "==". Parse all "constant" lines in
25627 one place. Parse all "optional-constant" lines in one place.
25628 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25629 * conform/data/fmtmsg.h-data: Likewise.
25630 * conform/data/netinet/in.h-data: Likewise.
25631 * conform/data/tar.h-data: Likewise.
25632 * conform/data/limits.h-data: Use "==" form on "constant" and
25633 "optional-constant" lines.
25635 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25636 Use -std=c99 for XOPEN2K.
25637 (@knownproblems): Remove.
25638 (newtoken): Don't check %isknown.
25640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25641 Do not expect macro.
25642 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25654 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25655 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25672 [XPG3] (acosh): Likewise.
25673 [XPG3] (asinh): Likewise.
25674 [XPG3] (atanh): Likewise.
25675 [XPG3] (cbrt): Likewise.
25676 [XPG3] (expm1): Likewise.
25677 [XPG3] (ilogb): Likewise.
25678 [XPG3] (log1p): Likewise.
25679 [XPG3] (logb): Likewise.
25680 [XPG3] (nextafter): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25683 [XPG3] (remainder): Likewise.
25684 [XPG3] (rint): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25692 [UNIX98 || XOPEN2K] (scalb): Expect.
25693 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25694 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25820 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25831 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25832 _XOPEN_SOURCE_EXTENDED for XPG4.
25834 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25836 * Makeconfig (localtime): Remove variable.
25837 (inst_localtime-file): Likewise.
25839 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25860 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25864 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25865 comparisons to determine direction to adjust input.
25866 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25867 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25877 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25879 * math/libm-test.inc (nexttoward_test): Add more tests.
25881 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25885 in version GLIBC_2.1, not GLIBC_2.0.
25886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25889 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25894 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25895 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25896 * math/libm-test.inc (acos_test): Add more tests.
25897 (asin_test): Likewise.
25898 * sysdeps/i386/fpu/libm-test-ulps: Update.
25899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25902 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25904 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25905 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25906 * math/libm-test.inc (acos_test_tonearest): New function.
25907 (acos_test_towardzero): Likewise.
25908 (acos_test_downward): Likewise.
25909 (acos_test_upward): Likewise.
25910 (asin_test_tonearest): Likewise.
25911 (asin_test_towardzero): Likewise.
25912 (asin_test_downward): Likewise.
25913 (asin_test_upward): Likewise.
25914 (main): Call the new functions.
25915 * sysdeps/i386/fpu/libm-test-ulps: Update.
25916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25920 * math/e_exp10.c: Include <float.h>.
25921 (__ieee754_exp10): Handle underflow here rather than multiplying
25922 large negative argument by M_LN10.
25923 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25925 * math/e_exp10l.c: Include <float.h>.
25926 (__ieee754_exp10l): Handle underflow here rather than multiplying
25927 large negative argument by M_LN10l.
25928 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25929 spurious overflow exception on underflow.
25931 2012-04-29 Marek Polacek <polacek@redhat.com>
25933 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25934 (__fortify_function): New macro.
25935 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25936 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25937 __extern_always_inline.
25938 * libio/bits/stdio2.h: Likewise.
25939 * libio/bits/stdio.h: Likewise.
25940 * string/string.h: Likewise.
25941 * string/bits/string3.h: Likewise.
25942 * include/stdio.h: Likewise.
25943 * stdlib/bits/stdlib.h: Likewise.
25944 * stdlib/stdlib.h: Likewise.
25945 * rt/bits/mqueue2.h: Likewise.
25946 * rt/mqueue.h: Likewise.
25947 * posix/bits/unistd.h: Likewise.
25948 * posix/unistd.h: Likewise.
25949 * io/bits/poll2.h: Likewise.
25950 * io/bits/fcntl2.h: Likewise.
25951 * io/fcntl.h: Likewise.
25952 * io/sys/poll.h: Likewise.
25953 * misc/bits/syslog.h: Likewise.
25954 * misc/bits/syslog-ldbl.h: Likewise.
25955 * misc/sys/syslog.h: Likewise.
25956 * socket/bits/socket2.h: Likewise.
25957 * socket/sys/socket.h: Likewise.
25958 * debug/tst-chk1.c: Likewise.
25959 * wcsmbs/bits/wchar2.h: Likewise.
25960 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25961 * wcsmbs/wchar.h: Likewise.
25963 2012-04-29 Andreas Jaeger <aj@suse.de>
25965 * Makerules (tests): Remove enable-check-abi protection.
25966 (check-abi-warn): Remove.
25967 (check-abi-%): Remove check-abi-warn usage.
25969 * configure.in: Remove check-abi configure option.
25970 * configure: Regenerated.
25971 * config.make.in (enable-check-abi): Remove.
25973 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25976 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25977 double functions to double *_finite functions.
25980 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25981 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25983 * stdio-common/Makefile (tests): Add tst-sprintf3.
25984 * stdio-common/tst-sprintf3.c: New file.
25986 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25987 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25989 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25991 * conform/conformtest.pl: Remove duplicate typed-constant
25994 2012-04-28 David S. Miller <davem@davemloft.net>
25996 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25997 (check-abi-%): Remove AWK script prerequisite and explicit
25999 (check-abi): Rewrite to just diff the symlist with the abilist.
26000 (config-tls, config-abi-config): Delete, no longer used.
26001 (update-abi-%): Remove AWK script and explicit abilist directory.
26002 (update-abi): Rewrite to simply compare and conditionally copy the
26003 symlist and the sysdep abilist file. Remove update-abi-config
26005 * abilist/ld.abilist: Remove.
26006 * abilist/libBrokenLocale.abilist: Remove.
26007 * abilist/libanl.abilist: Remove.
26008 * abilist/libcrypt.abilist: Remove.
26009 * abilist/libdl.abilist: Remove.
26010 * abilist/librt.abilist: Remove.
26011 * abilist/libthread_db.abilist: Remove.
26012 * abilist/libutil.abilist: Remove.
26013 * scripts/extract-abilist.awk: Remove.
26014 * scripts/merge-abilist.awk: Remove.
26015 * sysdeps/generic/libcidn.abilist: New file.
26016 * sysdeps/generic/libnss_compat.abilist: New file.
26017 * sysdeps/generic/libnss_db.abilist: New file.
26018 * sysdeps/generic/libnss_dns.abilist: New file.
26019 * sysdeps/generic/libnss_files.abilist: New file.
26020 * sysdeps/generic/libnss_hesiod.abilist: New file.
26021 * sysdeps/generic/libnss_nis.abilist: New file.
26022 * sysdeps/generic/libnss_nisplus.abilist: New file.
26023 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26024 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26025 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26027 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26028 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26029 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26030 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26031 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26032 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26033 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26034 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26035 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26037 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26038 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26039 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26040 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26042 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26043 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26044 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26045 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26046 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26047 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26049 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26050 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26053 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26156 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26157 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26158 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26161 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26162 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26164 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26165 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26166 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26167 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26168 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26169 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26221 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26223 * conform/conformtest.pl: Fix typo in handling typed-constant from
26226 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26228 * README: Cut down references to pre-2.6 Linux kernels and
26229 Linuxthreads. Update lists of configurations in libc and ports
26230 and sort alphabetically. Say "or newer" with Linux kernel version
26233 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26235 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26238 * math/libm-test.inc (logb_test_downward): New test to expose
26239 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26242 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26245 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26247 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26248 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26250 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26252 * sysdeps/unix/i386/brk.S: Remove file.
26253 * sysdeps/unix/i386/dl-brk.S: Likewise.
26254 * sysdeps/unix/i386/pipe.S: Likewise.
26255 * sysdeps/unix/i386/sigreturn.S: Likewise.
26256 * sysdeps/unix/i386/syscall.S: Likewise.
26257 * sysdeps/unix/i386/vfork.S: Likewise.
26258 * sysdeps/unix/i386/wait.S: Likewise.
26260 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26261 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26263 * configure.in (arm*-none*): Do not allow without
26264 --enable-hacker-mode.
26265 (netbsd*): Remove case setting base_os.
26266 (386bsd*): Likewise.
26267 (freebsd*): Likewise.
26270 (sunos*): Likewise.
26271 (ultrix*): Likewise.
26272 (newsos*): Likewise.
26273 (dynix*): Likewise.
26279 (minix*): Likewise.
26280 (irix4*): Likewise.
26281 (irix6*): Likewise.
26282 (solaris[2-9]*): Likewise.
26284 * configure: Regenerated.
26286 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26290 overflow or cancellation in calculating denominator.
26291 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26293 down expression to avoid unexpected rounding in newer GCCs.
26294 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26296 2012-04-26 David S. Miller <davem@davemloft.net>
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26299 long-double compat symbols.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26314 2012-04-25 David S. Miller <davem@davemloft.net>
26316 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26317 HWCAP_* values only after the memory barriers have been defined.
26318 (atomic_full_barrier): Define.
26319 (atomic_read_barrier): Define.
26320 (atomic_write_barrier): Define.
26322 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26324 * shlib-versions: Add libgcc_s version information.
26325 * sysdeps/generic/libgcc_s.h: Remove.
26326 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26328 * sysdeps/gnu/unwind-resume.c: Likewise.
26329 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26331 2012-04-25 David S. Miller <davem@davemloft.net>
26333 * sysdeps/unix/sparc/brk.S: Delete.
26334 * sysdeps/unix/sparc/dl-brk.S: Delete.
26335 * sysdeps/unix/sparc/pipe.S: Delete.
26336 * sysdeps/unix/sparc/sysdep.S: Delete.
26337 * sysdeps/unix/sparc/sysdep.h: Delete.
26338 * sysdeps/unix/sparc/vfork.S: Delete.
26339 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26340 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26342 ret_ERRVAL, r0, r1, MOVE): Define.
26343 (JUMPTARGET): Remove.
26344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26345 sysdeps/unix/sparc/sysdep.h
26346 (ENTRY, END): Remove.
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26349 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26351 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26352 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26355 * timezone/README: Update upstream location and email address for
26357 * timezone/zdump.c: Update from tzcode 2012b.
26358 * timezone/zic.c: Likewise.
26360 * configure.in (libc_cv_as_needed): Remove test.
26361 * configure: Regenerated.
26362 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26363 conditional definition.
26364 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26365 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26366 * config.make.in (have-as-needed): Remove variable.
26368 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26369 Paul Pluzhnikov <ppluzhnikov@google.com>
26371 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26374 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26376 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26377 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26378 * sysdeps/sh/strlen.S: Likewise.
26380 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26382 * sysdeps/unix/fork.S: Remove file.
26383 * sysdeps/unix/i386/fork.S: Likewise.
26384 * sysdeps/unix/sparc/fork.S: Likewise.
26386 * sysdeps/unix/system.c: Remove file.
26387 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26389 * sysdeps/unix/getegid.S: Remove file.
26390 * sysdeps/unix/geteuid.S: Likewise.
26392 2012-04-24 Roland McGrath <roland@hack.frob.com>
26394 * scripts/check-localplt.awk: New file.
26395 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26397 * scripts/data/localplt-generic.data: Add a comment.
26399 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26400 NODE when __dir_mkfile failed.
26401 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26402 Reported by Ludovic Courtès <ludo@gnu.org>.
26404 2012-04-24 Andreas Jaeger <aj@suse.de>
26406 * Makerules (common-clean): Also remove gen-as-const-headers
26409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26411 * Makerules (native-compile): Do not change working directory for
26412 build. Use $(OUTPUT_OPTION) in command.
26413 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26415 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26418 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26419 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26420 * math/libm-test.inc (floor_test): Add more tests.
26421 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26425 * sysdeps/unix/getdents.c: Remove file.
26426 * sysdeps/unix/sysv/getdents.c: Likewise.
26427 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26429 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26430 sysdeps/unix/mman/syscalls.list.
26432 (mprotect): Likewise.
26434 (munmap): Likewise.
26435 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26436 * sysdeps/unix/mman/syscalls.list: Remove.
26437 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26439 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26440 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26441 * configure: Regenerated.
26442 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26443 $(libgcc_s_suffix).
26444 * config.make.in (libgcc_s_suffix): Remove variable.
26446 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26448 * sysdeps/unix/sysv/gethostname.c: Move to ...
26449 * sysdeps/posix/gethostname.c: ... here.
26451 * sysdeps/unix/execve.S: Remove file.
26453 * sysdeps/unix/_exit.S: Remove file.
26455 2012-04-23 Andreas Jaeger <aj@suse.de>
26458 * manual/Makefile: Remove make dist support, there's no
26459 need for a stand-alone documentation tar ball.
26460 (TEXI2DVI): Define always, it's not in Makeconfig.
26463 (edition): Removed.
26464 (glibc-doc-$(edition).tar): Removed
26468 (ETAGS): Remove, it's in Makeconfig.
26469 (move-if-change): Remove, it's in Makeconfig.
26471 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26474 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26475 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26476 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26477 (strtod_l, strtof_l, strtold_l): Remove __wur.
26478 It is not necessarily an error to ignore strtol's return value.
26479 One can reliably look at the stored endptr to decide whether
26480 the number had valid syntax.
26482 2012-04-21 Andreas Jaeger <aj@suse.de>
26485 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26487 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26490 * sysdeps/unix/sysv/Versions: Remove file.
26492 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26497 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26501 version from __vm86.
26503 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26505 * sysdeps/unix/common/lxstat.c: Remove file.
26506 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26508 * sysdeps/unix/sysv/Makefile: Remove file.
26510 * sysdeps/unix/sysv/direct.h: Remove file.
26512 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26513 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26514 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26515 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26516 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26517 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26518 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26520 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26522 * sysdeps/unix/xmknod.c: Remove file.
26523 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26525 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26527 * sysdeps/unix/sysv/i386/time.S: Remove file.
26529 * sysdeps/unix/fxstat.c: Remove file.
26530 * sysdeps/unix/xstat.c: Likewise.
26531 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26533 * sysdeps/unix/sysv/sigaction.c: Remove file.
26535 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26536 (sysdep_headers): Remove variable.
26537 [termio.h not in sysdep_headers] (generated): Likewise.
26538 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26539 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26540 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26541 * sysdeps/unix/sysv/tcflow.c: Likewise.
26542 * sysdeps/unix/sysv/tcflush.c: Likewise.
26543 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26544 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26545 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26546 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26547 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26549 * sysdeps/unix/siglist.c: Remove file.
26551 * sysdeps/unix/getppid.S: Remove file.
26553 * sysdeps/unix/mkdir.c: Remove file.
26554 * sysdeps/unix/rmdir.c: Likewise.
26556 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26558 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26560 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26561 errlist-compat value.
26563 2012-04-18 David S. Miller <davem@davemloft.net>
26565 * sysdeps/generic/memcopy.h (reg_char): Delete.
26566 * debug/strcat_chk.c: Use char, not reg_char.
26567 * debug/strcpy_chk.c: Likewise.
26568 * debug/strncat_chk.c: Likewise.
26569 * debug/strncpy_chk.c: Likewise.
26570 * string/memchr.c: Likewise.
26571 * string/memrchr.c: Likewise.
26572 * string/rawmemchr.c: Likewise.
26573 * string/strcat.c: Likewise.
26574 * string/strchr.c: Likewise.
26575 * string/strchrnul.c: Likewise.
26576 * string/strcmp.c: Likewise.
26577 * string/strcpy.c: Likewise.
26578 * string/strncat.c: Likewise.
26579 * string/strncmp.c: Likewise.
26580 * string/strncpy.c: Likewise.
26582 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26584 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26585 __builtin_memcopy is called when src and dest ranges are known to not
26588 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26591 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26592 fwd_align_merge macro call.
26593 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26594 bwd_align_merge macro call.
26595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26597 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26600 bwd_align_merge macros.
26601 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26602 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26603 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26605 2012-04-18 David S. Miller <davem@davemloft.net>
26607 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26609 2012-04-18 Andreas Jaeger <aj@suse.de>
26612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26613 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26617 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26618 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26620 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26621 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26622 Adjust for changed ldbl-128 files.
26624 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26625 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26626 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26628 2012-04-17 David S. Miller <davem@davemloft.net>
26630 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26632 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26634 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26635 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26636 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26637 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26638 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26639 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26641 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26644 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26645 * math/libm-test.inc: Add ilogb errno and exception tests.
26646 * math/w_ilogb.c: New file: ilogb wrapper.
26647 * math/w_ilogbf.c: New file: ilogbf wrapper.
26648 * math/w_ilogbl.c: New file: ilogbl wrapper.
26649 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26650 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26651 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26652 exception being thrown with 0.0 as argument.
26653 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26654 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26655 exception being thrown with 0.0 as argument.
26656 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26657 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26658 exception being thrown with 0.0 as argument.
26659 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26660 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26661 exception being thrown with 0.0 as argument.
26662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26663 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26665 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26668 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26669 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26670 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26672 2012-04-17 Petr Baudis <pasky@ucw.cz>
26674 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26677 2012-04-16 Marek Polacek <polacek@redhat.com>
26679 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26681 2012-04-16 Marek Polacek <polacek@redhat.com>
26683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26684 operands of fdivp instruction.
26686 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26688 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26689 * elf/tst-auditmod3b.c: Likewise.
26690 * elf/tst-auditmod4b.c: Likewise.
26691 * elf/tst-auditmod5b.c: Likewise.
26692 * elf/tst-auditmod6b.c: Likewise.
26693 * elf/tst-auditmod6c.c: Likewise.
26694 * elf/tst-auditmod7b.c: Likewise.
26695 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26696 * sysdeps/x86_64/preconfigure.in: Likewise.
26697 * sysdeps/x86_64/preconfigure: Regenerated.
26699 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26701 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26704 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26707 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26709 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26712 * locale/iso-639.def: Fix gl language name. Spotted by
26715 2012-04-12 Roland McGrath <roland@hack.frob.com>
26718 * libio/libio.h (__io_write_fn): Update comment.
26720 2012-04-12 Petr Baudis <pasky@ucw.cz>
26723 * stdio.texi (Hook Functions): The user provided writer function
26724 is not allowed to return -1.
26726 2012-04-11 David S. Miller <davem@davemloft.net>
26728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26730 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26732 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26733 Add a leading slash to rtkaio.
26735 2012-04-11 Jim Meyering <meyering@redhat.com>
26738 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26739 It is not necessarily an error to ignore fwrite's return
26740 value. One can reliably use ferror to test for errors after
26743 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26745 * bits/types.h (__snseconds_t): New type.
26746 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26748 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26750 (__SNSECONDS_T_TYPE): Likewise.
26751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26752 (__SNSECONDS_T_TYPE): Likewise.
26753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26754 (__SNSECONDS_T_TYPE): Likewise.
26756 2012-04-10 Andreas Jaeger <aj@suse.de>
26759 * manual/time.texi (Processor Time): Return type of times is
26760 elapsed real time since an arbitrary point in the past.
26761 (CPU Time): Move CLK_TCK from here...
26762 (Processor Time): ...to here. Correct description.
26763 * manual/conf.texi (Constants for Sysconf): Correct description of
26766 2012-04-10 David S. Miller <davem@davemloft.net>
26769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26770 where the is a gap between DT_REL(A) and DT_JMPREL.
26772 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26774 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26775 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26776 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26778 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26780 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26781 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26782 (dl_main): Handle --inhibit-cache.
26783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26785 * elf/dl-load.c (_dl_map_object): Use it.
26786 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26788 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26791 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26792 (__ieee754_powl): Saturate large exponents rather than testing for
26793 overflow of y*log2(x).
26794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26795 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26799 * math/s_ctan.c: Include <float.h>.
26800 (__ctan): Avoid internal overflow or cancellation in calculating
26802 * math/s_ctanf.c: Likewise.
26803 * math/s_ctanl.c: Likewise.
26804 * math/s_ctanh.c: Likewise.
26805 * math/s_ctanhf.c: Likewise.
26806 * math/s_ctanhl.c: Likewise.
26807 * math/libm-test.inc (ctan_test): Add more tests.
26808 (ctanh_test): Likewise.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26812 2012-04-09 Andreas Jaeger <aj@suse.de>
26815 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26816 is an optional BSD extension.
26819 * manual/stdio.texi (Opening Streams): Document additional fopen
26822 2012-04-09 Roland McGrath <roland@hack.frob.com>
26824 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26825 %eax without telling the compiler.
26827 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26830 * manual/install.texi: Use sourceware.org.
26832 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26835 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26836 (__ieee754_pow): Generate overflow and underflow using huge*huge
26837 and tiny*tiny rather than just returning constant infinity or zero
26838 for large exponents.
26839 * math/libm-test.inc (pow_test): Require overflow exceptions for
26840 applicable cases of large exponents.
26843 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26844 (__ieee754_pow): Use iterative multiplication algorithm only for
26845 integer exponents with absolute value below 1024. Check for odd
26846 integer exponents when using algorithm for real exponents.
26847 * math/libm-test.inc (pow_test): Add more tests.
26848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26850 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26853 * math/libm-test.inc (exp_test): Do not allow overflow exception
26856 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26859 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26860 instead of __kernel_standard_f.
26862 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26864 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26865 * sysdeps/x86_64/memset_chk.S: Likewise.
26867 2012-04-08 Andreas Jaeger <aj@suse.de>
26870 * manual/startup.texi (Environment Access): Describe return value
26871 for putenv and setenv.
26874 * manual/filesys.texi (Directory Entries): Add description for
26878 * manual/filesys.texi (Directory Entries): Clarify that it's file
26879 system not operating system in the description of DT_UNKNOWN.
26882 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26884 2012-04-08 Stephen Compall <s11@member.fsf.org>
26887 * manual/llio.texi (Opening and Closing Files): Add cross
26888 reference to explain mode argument.
26890 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26892 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26893 * sysdeps/x86_64/memset_chk.S: Likewise.
26895 2012-04-07 David S. Miller <davem@davemloft.net>
26897 * elf/elf.h (R_SPARC_WDISP10): Define.
26898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26901 R_SPARC_SIZE64 and R_SPARC_H34.
26903 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26905 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26906 conditions and remove no longer applicable assertion.
26908 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26910 * bits/byteswap.h: Include <features.h>.
26911 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26912 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26914 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26916 * bits/byteswap.h (__bswap_16): Removed.
26917 Include <bits/byteswap-16.h> to get __bswap_16.
26918 * sysdeps/i386/bits/byteswap.h: Likewise.
26919 * sysdeps/s390/bits/byteswap.h: Likewise.
26920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26921 * bits/byteswap-16.h: New file.
26922 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26923 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26924 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26925 * string/Makefile (headers): Add bits/byteswap-16.h.
26927 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26930 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26932 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26933 * nss/tst-nss-static.c: New.
26935 2012-04-06 Robert Millan <rmh@gnu.org>
26938 * manual/llio.texi (File Position Primitive): lseek
26939 refers to WHENCE when it really means OFFSET.
26941 2012-04-06 Andreas Jaeger <aj@suse.de>
26943 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26944 strncmp declarations.
26946 * abilist/libc.abilist: Add __poll and __ppoll.
26948 2012-04-05 David S. Miller <davem@davemloft.net>
26950 * scripts/check-local-headers.sh: Accept a host triplet in the
26951 path matched by the exclude regexp.
26953 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26955 * sysdeps/powerpc/powerpc32/dl-machine.h
26956 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26957 * sysdeps/s390/s390-32/dl-machine.h
26958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26959 * sysdeps/sparc/sparc32/dl-machine.h
26960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26961 * sysdeps/sparc/sparc64/dl-machine.h
26962 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26964 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26966 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26967 undefined symbol errors.
26969 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26972 2012-04-05 Michael Matz <matz@suse.de>
26975 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26977 2012-04-05 Andreas Jaeger <aj@suse.de>
26980 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26983 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26986 which ROUND is no valid rounding mode.
26988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26990 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26992 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26994 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26996 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26997 an exception using FPU order intentionally.
26999 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27001 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27002 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27003 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27004 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27006 2012-04-05 Simon Josefsson <simon@josefsson.org>
27009 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27010 EINVAL when BUFLEN is too smal.
27012 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27015 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27016 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27018 2012-04-03 Andreas Jaeger <aj@suse.de>
27021 * manual/setjmp.texi (System V contexts): Fix sentence.
27024 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27025 New macro for this case.
27026 [!__GNUC__] (__bswap_64): New inline function for this case.
27027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27028 * bits/byteswap.h: Likewise.
27029 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27030 ull, guard with __GLIBC_HAVE_LONG_LONG.
27032 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27033 __GLIBC_HAVE_LONG_LONG.
27035 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27036 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27038 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27042 inptr and inend, rather than using last_ch.
27044 2012-04-02 David S. Miller <davem@davemloft.net>
27046 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27047 * stdio-common/printf-parse.h (read_int): Change return type to
27048 'int', return -1 on INT_MAX overflow.
27049 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27050 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27051 overflows INT_MAX. Check for overflow of in-format-string precision
27052 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27053 SIZE_MAX not INT_MAX for integer overflow test.
27054 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27055 skip the construct in the format string but do not record anything.
27056 * stdio-common/bug22.c: Adjust to test both width/prevision
27057 INT_MAX overflow as well as total length INT_MAX overflow. Check
27058 explicitly for proper errno values.
27060 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27062 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27064 * string/test-strcmp.c [! WIDE]: Likewise.
27065 * time/tst-mktime2.c: Likewise for INT_MAX.
27066 * string/test-string.h: #include <sys/param.h> for MIN.
27068 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27069 * sysdeps/i386/init-first.c (init): Likewise.
27070 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27071 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27072 * sysdeps/sh/init-first.c (init): Likewise.
27074 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27076 * po/ru.po: Update from translation team.
27077 * po/vi.po: Likewise.
27079 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27081 * resolv/nss_dns/dns-host.c: Merge copyright years.
27083 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27086 Optimize memcpy with prefetch if
27087 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27088 src, dst pointers have unequal 16 byte alignments.
27090 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27093 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27094 from a CNAME entry and return the minimum ttl for the query.
27095 (gaih_getanswer_slice): Likewise.
27097 2012-03-30 Jeff Law <law@redhat.com>
27099 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27101 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27102 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27104 * resolv/nss_dns/dns-host.c: Update copyright year.
27106 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27108 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27109 requests to save a system call. Fix check that all bytes are sent.
27111 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27112 comments for sendmmsg.
27114 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27117 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27118 with only 1 character between 0x0041 and 0x01b0.
27119 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27120 * wcsmbs/tst-mbsnrtowcs.c: New file.
27122 2012-03-29 David S. Miller <davem@davemloft.net>
27124 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27125 small copies by hand.
27127 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27130 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27131 _nss_compat_initgroups_dyn): Fall back to malloc/free
27132 for large group memberships.
27134 2012-03-28 David S. Miller <davem@davemloft.net>
27136 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27137 that branches into memcpy.
27138 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27141 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27144 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27145 implementation too.
27146 * sysdeps/sparc/mempcpy.S: New file.
27148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27149 the IFUNC routine in the libc case.
27150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27152 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27154 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27155 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27156 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27157 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27158 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27159 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27161 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27162 loop to 256 bytes instead of 64 bytes and fix test signedness.
27164 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27165 * sysdeps/sparc/sparc32/Makefile: rather than here...
27166 * sysdeps/sparc/sparc64/Makefile: and here.
27168 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27170 * malloc/mallocbug.c: Avoid warnings about unused variables.
27172 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27175 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27176 in the right place. Discard and retry query if response is
27177 larger than input buffer size.
27179 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27185 x for large integer exponent.
27186 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27187 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27188 sign of result as needed afterwards.
27189 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27191 result for underflowing pow the same as for overflow.
27192 (__kernel_standard_l): Handle powl overflow and underflow here
27193 rather than calling __kernel_standard.
27194 * math/libm-test.inc (pow_test): Add more tests.
27209 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27210 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27211 (__kernel_standard_l): New function.
27212 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27214 * math/w_acosl.c (__acosl): Likewise.
27215 * math/w_asinl.c (__asinl): Likewise.
27216 * math/w_atan2l.c (__atan2l): Likewise.
27217 * math/w_atanhl.c (__atanhl): Likewise.
27218 * math/w_coshl.c (__coshl): Likewise.
27219 * math/w_exp10l.c (__exp10l): Likewise.
27220 * math/w_exp2l.c (__exp2l): Likewise.
27221 * math/w_fmodl.c (__fmodl): Likewise.
27222 * math/w_hypotl.c (__hypotl): Likewise.
27223 * math/w_j0l.c (__j0l, __y0l): Likewise.
27224 * math/w_j1l.c (__j1l, __y1l): Likewise.
27225 * math/w_jnl.c (__jnl, __ynl): Likewise.
27226 * math/w_lgammal.c (__lgammal): Likewise.
27227 * math/w_log10l.c (__log10l): Likewise.
27228 * math/w_log2l.c (__log2l): Likewise.
27229 * math/w_logl.c (__logl): Likewise.
27230 * math/w_powl.c (__powl): Likewise.
27231 * math/w_remainderl.c (__remainderl): Likewise.
27232 * math/w_scalbl.c (sysv_scalbl): Likewise.
27233 * math/w_sinhl.c (__sinhl): Likewise.
27234 * math/w_sqrtl.c (__sqrtl): Likewise.
27235 * math/w_tgammal.c (__tgammal): Likewise.
27236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27237 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27238 * math/libm-test.inc (acos_test): Add more tests.
27239 (acosh_test): Likewise.
27240 (asin_test): Likewise.
27241 (atanh_test): Likewise.
27242 (exp_test): Likewise.
27243 (exp10_test): Likewise.
27244 (exp2_test): Likewise.
27245 (expm1_test): Likewise.
27246 (lgamma_test): Likewise.
27247 (log_test): Likewise.
27248 (log10_test): Likewise.
27249 (log1p_test): Likewise.
27250 (log2_test): Likewise.
27251 (pow_test): Do not allow some spurious overflow exceptions.
27252 (sqrt_test): Add more tests.
27253 (tgamma_test): Likewise.
27254 (y0_test): Likewise.
27255 (y1_test): Likewise.
27256 (yn_test): Likewise.
27258 2012-03-27 Anton Blanchard <anton@samba.org>
27260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27266 2012-03-27 David S. Miller <davem@davemloft.net>
27268 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27270 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27271 have-as-vis3 check.
27273 2012-03-27 Andreas Jaeger <aj@suse.de>
27275 * sysdeps/x86_64/elf/configure.in: Moved to ...
27276 * sysdeps/x86_64/configure.in: ... here.
27277 * sysdeps/x86_64/elf/start.S: Moved to ...
27278 * sysdeps/x86_64/start.S: ... here.
27279 * sysdeps/x86_64/elf/configure: Delete.
27281 * sysdeps/x86_64/configure.in: Merge contents from
27282 sysdeps/i386/configure.in (without i686 check).
27284 * sysdeps/i386/elf/Versions: Merge into ...
27285 * sysdeps/i386/Versions: ... this.
27286 * sysdeps/i386/elf/Versions: Delete file.
27287 * sysdeps/i386/elf/start.S: Moved to ...
27288 * sysdeps/i386/start.S: ...here.
27289 * sysdeps/i386/elf/configure.in: Merge into...
27290 * sysdeps/i386/configure.in: ...here.
27291 * sysdeps/i386/elf/configure.in: Delete file.
27292 * sysdeps/i386/elf/configure: Delete file.
27294 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27295 * debug/backtracesyms.c: ... here.
27296 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27297 * debug/backtracesymsfd.c: ... here.
27298 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27299 * sysdeps/generic/ifunc-sel.h: ... here.
27301 * sysdeps/unix/i386/start.c: Delete file.
27302 * sysdeps/unix/sparc/start.c: Delete file.
27303 * sysdeps/unix/start.c: Delete file.
27305 * sysdeps/sh/elf/configure.in: Moved to ...
27306 * sysdeps/sh/configure.in: ... here.
27307 * sysdeps/sh/elf/start.S: Moved to ...
27308 * sysdeps/sh/start.S: ... here.
27309 * sysdeps/sh/elf/configure: Delete file.
27311 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27312 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27313 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27314 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27315 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27316 * sysdeps/powerpc/powerpc64/start.S: here.
27317 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27318 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27319 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27320 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27321 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27323 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27324 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27325 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27326 * sysdeps/powerpc/powerpc32/start.S: ... here.
27327 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27328 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27329 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27331 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27332 * sysdeps/powerpc/ifunc-sel.h: ... here.
27333 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27334 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27336 * sysdeps/sparc/elf/configure.in: Moved to ...
27337 * sysdeps/sparc/configure.in: ... here.
27338 * sysdeps/sparc/elf/configure: Delete file.
27339 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27340 * sysdeps/sparc/sparc32/start.S: ... here.
27341 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27342 * sysdeps/sparc/sparc64/start.S: ... here.
27343 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27344 * sysdeps/sparc/sparc32/Makefile: ... this.
27345 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27346 * sysdeps/sparc/sparc64/Makefile: ... this.
27348 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27349 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27350 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27351 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27352 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27353 * sysdeps/s390/s390-32/setjmp.S: ... here.
27354 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27355 * sysdeps/s390/s390-32/configure.in: ... here.
27356 * sysdeps/s390/s390-32/elf/configure: Delete file.
27357 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27358 * sysdeps/s390/s390-32/start.S: ... here.
27360 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27361 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27362 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27363 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27364 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27365 * sysdeps/s390/s390-64/setjmp.S: ... here.
27366 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27367 * sysdeps/s390/s390-64/configure.in: ... here
27368 * sysdeps/s390/s390-64/elf/configure: Delete file.
27369 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27370 * sysdeps/s390/s390-64/start.S: ... here.
27371 * sysdeps/s390/s390-64/elf/configure: Delete.
27373 * configure.in: Remove support for elf directories in sysdeps.
27375 * configure: Regenerated.
27376 * sysdeps/i386/configure: Regenerated.
27377 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27378 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27379 * sysdeps/s390/s390-32/configure: Regenerated.
27380 * sysdeps/s390/s390-64/configure: Regenerated.
27381 * sysdeps/sh/configure: Regenerated.
27382 * sysdeps/sparc/configure: Regenerated.
27383 * sysdeps/x86_64/configure: Regenerated.
27385 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27390 denormal result into account.
27392 2012-03-25 Roland McGrath <roland@hack.frob.com>
27394 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27395 Reported by Allan McRae <allan@archlinux.org>.
27397 2012-03-23 Jeff Law <law@redhat.com>
27399 * nss/getnssent.c (__nss_getent): Fix typo.
27401 2012-03-23 David S. Miller <davem@davemloft.net>
27403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27405 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27407 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27408 to pad to uint64_t for each field.
27409 (dl_tls_index): Replace unsigned long with uint64_t.
27411 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27412 Paul Pluzhnikov <ppluzhnikov@google.com>
27415 * grp/Makefile (otherlibs): Don't set it.
27416 * inet/Makefile (otherlibs): Likewise.
27417 * login/Makefile (otherlibs): Likewise.
27418 * nscd/Makefile (otherlibs): Likewise.
27419 * posix/Makefile (otherlibs): Likewise.
27420 * pwd/Makefile (otherlibs): Likewise.
27421 * rt/Makefile (otherlibs): Likewise.
27422 * sunrpc/Makefile (otherlibs): Likewise.
27423 * nss/Makefile (otherlibs): Likewise.
27424 Add libnss_files to routines and static-only-routines.
27425 ($(objpfx)getent): Remove rule.
27426 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27427 static-only-routines.
27429 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27432 * math/s_cexp.c: Include <float.h>.
27433 (__cexp): Handle exp result overflowing not necessarily
27434 overflowing both real and imaginary parts of result.
27435 * math/s_cexpf.c: Likewise.
27436 * math/s_cexpl.c: Likewise.
27437 * math/libm-test.inc (cexp_test): Add more tests.
27438 * sysdeps/i386/fpu/libm-test-ulps: Update.
27439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27441 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27443 * include/link.h (ELFW): New macro.
27444 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27445 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27447 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27449 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27454 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27456 (struct La_x32_retval): Likewise.
27458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27460 * sysdeps/x86_64/preconfigure.in: New file.
27461 * sysdeps/x86_64/preconfigure: New generated file.
27463 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27466 * math/e_exp2l.c: Include <float.h>.
27467 (__ieee754_exp2l): Handle overflow and underflow cases
27468 separately. Only pass fractional part of argument to
27470 * math/libm-test.inc (exp2_test): Add more tests.
27472 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27473 negating x to take absolute value.
27474 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27479 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27480 computing low part if x was negated.
27481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27483 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27485 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27486 la_x32_gnu_pltexit.
27487 (pltexit): Cast int_retval to ptrdiff_t.
27488 * elf/tst-auditmod3b.c: Likewise.
27489 * elf/tst-auditmod4b.c: Likewise.
27490 * elf/tst-auditmod5b.c: Likewise.
27491 * elf/tst-auditmod6b.c: Likewise.
27492 * elf/tst-auditmod6c.c: Likewise.
27493 * elf/tst-auditmod7b.c: Likewise.
27495 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27496 and x32_gnu_pltexit.
27498 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27499 __ELF_NATIVE_CLASS.
27500 (La_x32_regs): New macro.
27501 (La_x32_retval): Likewise.
27502 (la_x32_gnu_pltenter): New function prototype.
27503 (la_x32_gnu_pltexit): Likewise.
27505 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27512 * configure.in (libc_cv_cc_nofma): Check for option to disable
27513 generation of FMA instructions.
27514 * configure: Regenerate.
27515 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27516 * sysdeps/ieee754/dbl-64/Makefile: New file.
27517 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27518 Remove brandred-fma4.
27519 (CFLAGS-brandred-fma4.c): Remove.
27520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27526 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27528 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27529 LLONG_MAX != LONG_MAX.
27530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27531 (_fitoa_word): Likewise.
27532 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27533 LLONG_MAX != LONG_MAX.
27534 * stdio-common/_itowa.h: Include <_itoa.h>.
27535 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27536 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27537 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27538 only if not defined.
27539 (_ITOA_WORD_TYPE): Likewise.
27540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27541 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27543 2012-03-21 David S. Miller <davem@davemloft.net>
27545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27547 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27549 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27550 of x86_64 when setting libc_cv_slibdir, libdir and
27552 * sysdeps/unix/sysv/linux/configure: Regenerated.
27554 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27556 * manual/lang.texi (Old Varargs): Remove section.
27557 (How Variadic): Update menu.
27558 (va_start): Do not mention varargs.h.
27560 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27561 Joseph Myers <joseph@codesourcery.com>
27563 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27565 * configure: Regenerated.
27567 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27569 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27570 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27573 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27576 * Makefile (files-for-dist): Remove NOTES.
27577 (NOTES): Remove rule.
27578 * README: Don't refer to NOTES.
27579 * manual/creature.texi: Don't include macros.texi.
27580 * manual/intro.texi (creature.texi): Remove comment referring to
27583 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27584 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27585 * configure: Regenerated.
27586 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27587 LIBC_TRY_CC_OPTION.
27588 (libc_cv_as_i686): Likewise.
27589 (libc_cv_cc_avx): Likewise.
27590 (libc_cv_cc_sse2avx): Likewise.
27591 (libc_cv_cc_fma4): Likewise.
27592 (libc_cv_cc_novzeroupper): Likewise.
27593 * sysdeps/i386/configure: Regenerated.
27596 * sysdeps/i386/fpu/s_cexp.S: Remove.
27597 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27599 * math/libm-test.inc (cexp_test): Add more tests.
27600 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27603 2012-03-21 Allan McRae <allan@archlinux.org>
27605 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27607 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27610 * math/w_exp2.c: Do not include <float.h>.
27611 (o_threshold, u_threshold): Remove.
27612 (__exp2): Calculate result before checking finiteness and calling
27614 * math/w_exp2f.c: Likewise.
27615 * math/w_exp2l.c: Likewise.
27616 * math/libm-test.inc (exp2_test): Require overflow exception for
27620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27621 range of signed 64-bit integers before using fistpll. Remove
27622 checks for whether integers fit in mantissa bits.
27623 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27624 the range of signed 32-bit integers before using fistpl. Remove
27625 checks for whether integers fit in mantissa bits.
27626 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27627 (__ieee754_powl): Test for y outside the range of signed 64-bit
27628 integers before using fistpll. Reduce 64-bit values to 63-bit
27630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27631 divide-by-zero is raised for zero to large negative powers.
27632 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27633 (__ieee754_powl): Test for y outside the range of signed 64-bit
27634 integers before using fistpll. Reduce 64-bit values to 63-bit
27636 * math/libm-test.inc (pow_test): Add more tests.
27638 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27640 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27641 <stdio-common/_itoa.h>.
27642 * debug/segfault.c: Likewise.
27643 * elf/dl-cache.c: Likewise.
27644 * elf/dl-minimal.c: Likewise.
27645 * elf/dl-misc.c: Likewise.
27646 * elf/dl-sysdep.c: Likewise.
27647 * elf/dl-version.c: Likewise.
27648 * elf/rtld.c: Likewise.
27649 * hurd/hurdsock.c: Likewise.
27650 * hurd/lookup-retry.c: Likewise.
27651 * malloc/malloc.c: Likewise.
27652 * malloc/mtrace.c: Likewise.
27653 * nscd/nscd_getgr_r.c: Likewise.
27654 * nscd/nscd_getpw_r.c: Likewise.
27655 * nscd/nscd_getserv_r.c: Likewise.
27656 * posix/getopt_init.c: Likewise.
27657 * posix/wordexp.c: Likewise.
27658 * stdio-common/_itoa.c: Likewise.
27659 * stdio-common/printf_fphex.c: Likewise.
27660 * stdio-common/vfprintf.c: Likewise.
27661 * string/_strerror.c: Likewise.
27662 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27663 * sysdeps/i386/i686/hp-timing.h: Likewise.
27664 * sysdeps/mach/_strerror.c: Likewise.
27665 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27666 * sysdeps/mach/hurd/sethostid.c: Likewise.
27667 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27668 * sysdeps/mach/xpg-strerror.c: Likewise.
27669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27671 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27672 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27674 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27675 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27676 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27677 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27678 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27679 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27680 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27681 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27682 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27687 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27688 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27689 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27691 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27693 * stdio-common/_itoa.h: Moved to ...
27694 * sysdeps/generic/_itoa.h: Here.
27696 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27698 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27699 instead of "_itoa.h" and "_itowa.h".
27700 * stdio-common/vfprintf.: Likewise.
27702 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27704 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27706 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27707 (__signbit): Likwise.
27708 (llrintf): Likwise.
27711 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27713 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27716 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27718 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27719 OVERFLOW_EXCEPTION_OK.
27720 * math/libm-test.inc ("Philosophy"): Update comment about
27722 (OVERFLOW_EXCEPTION): Define.
27723 (OVERFLOW_EXCEPTION_OK): Likewise.
27724 (INVALID_EXCEPTION_OK): Renumber.
27725 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27726 (IGNORE_ZERO_INF_SIGN): Likewise.
27727 (test_exceptions): Handle FE_OVERFLOW.
27728 (exp10_test): Expect overflow exceptions.
27729 (exp2_test): Likewise.
27730 (expm1_test): Likewise.
27731 (nextafter_test): Likewise.
27732 (pow_test): Likewise.
27733 (scalbn_test): Likewise.
27734 (scalbln_test): Likewise.
27736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27738 * sysdeps/x86_64/bits/atomic.h
27739 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27741 (atomic_exchange_acq): Likewise.
27742 (__arch_exchange_and_add_body): Likewise.
27743 (__arch_add_body): Likewise.
27744 (atomic_add_negative): Likewise.
27745 (atomic_add_zero): Likewise.
27747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27749 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27750 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27754 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27755 Check __x86_64__ instead of __WORDSIZE.
27757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27759 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27761 2012-03-19 David S. Miller <davem@davemloft.net>
27763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27765 * sysdeps/sparc/fpu/fenv_private.h: New file.
27766 * sysdeps/sparc/fpu/math_private.h: Use it.
27767 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27769 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27770 (libc_feholdexcept_setroundl): Remove.
27771 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27773 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27774 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27778 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27779 int64_t instead of long int.
27780 (INSERT_WORDS64): Likwise.
27782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27784 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27785 _Unwind_GetCFA return to _Unwind_Ptr first.
27787 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27790 * math/s_clog.c: Include <float.h>.
27791 (__clog): Scale large or subnormal inputs.
27792 * math/s_clogf.c: Likewise.
27793 * math/s_clogl.c: Likewise.
27794 * math/s_clog10.c: Include <float.h>.
27795 (M_LOG10_2): Define.
27796 (__clog10): Scale large or subnormal inputs.
27797 * math/s_clog10f.c: Likewise.
27798 * math/s_clog10l.c: Likewise.
27799 * math/libm-test.inc (clog_test): Add more tests.
27800 (clog10_test): Likewise.
27801 * sysdeps/i386/fpu/libm-test-ulps: Update.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27805 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27807 * math/libm-test.inc (atan2_test): Add another test.
27809 * Makerules (common-objdir-compile): Remove.
27810 * sysdeps/unix/Makefile (config-generated): Do not add
27811 $(unix-generated) to variable.
27812 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27813 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27815 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27817 [generic bits/local_lim.h] (before-compile): Do not append to
27819 [generic bits/local_lim.h] (common-generated): Likewise.
27820 [generic sys/param.h] (before-compile): Do not append to variable.
27821 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27822 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27823 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27826 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27827 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27828 [generic sys/param.h] ($(addprefix
27829 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27830 [generic sys/param.h] (common-generated): Do not append to
27832 [generic sys/param.h] (sysdep_headers): Likewise.
27833 [generic bits/errno.h] (before-compile): Do not append to
27835 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27837 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27838 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27839 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27840 [generic bits/errno.h] (common-generated): Do not append to
27842 [generic bits/ioctls.h] (before-compile): Do not append to
27844 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27846 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27847 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27848 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27850 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27851 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27852 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27853 [generic bits/ioctls.h] (common-generated): Do not append to
27855 [generic sys/syscall.h] (syscall.h): Remove variable.
27856 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27858 [generic sys/syscall.h] (before-compile): Do not append to
27860 [generic sys/syscall.h] (common-generated): Likewise.
27861 * sysdeps/unix/errnos-tmpl.c: Remove file.
27862 * sysdeps/unix/errnos.awk: Likewise.
27863 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27864 * sysdeps/unix/ioctls.awk: Likewise.
27865 * sysdeps/unix/mk-local_lim.c: Likewise.
27866 * sysdeps/unix/snarf-ioctls: Likewise.
27868 2012-03-19 Richard Henderson <rth@twiddle.net>
27870 * sysdeps/i386/fpu/fenv_private.h: New file.
27871 * sysdeps/i386/fpu/math_private.h: Use it.
27872 (math_opt_barrier, math_force_eval): Remove.
27873 (libc_feholdexcept_setround_53bit): Remove.
27874 (libc_feupdateenv_53bit): Remove.
27875 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27876 (math_opt_barrier, math_force_eval): Remove.
27877 (libc_feholdexcept): Remove.
27878 (libc_feholdexcept_setround): Remove.
27879 (libc_fetestexcept, libc_fesetenv): Remove.
27880 (libc_feupdateenv_test): Remove.
27881 (libc_feupdateenv, libc_feholdsetround): Remove.
27882 (libc_feresetround): Remove.
27884 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27885 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27887 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27888 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27889 (libc_feupdateenv_testl): New.
27890 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27891 (libc_feupdateenv_testf): New.
27892 (libc_feupdateenv): Use libc_feupdateenv_test.
27893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27896 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27897 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27898 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27899 (libc_feresetround_noex): New.
27900 (libc_feresetround_noexf): New.
27901 (libc_feresetround_noexl): New.
27902 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27903 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27904 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27910 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27911 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27912 SET_RESTORE_ROUND_NOEX.
27913 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27914 SET_RESTORE_ROUND_NOEXF.
27915 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27916 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27917 (libc_feholdsetroundf): New.
27918 (libc_feresetround, libc_feresetroundf): New.
27920 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27921 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27922 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27924 * sysdeps/generic/math_private.h: Include <fenv.h>.
27925 (default_libc_feholdexcept): New.
27926 (default_libc_feholdexcept_setround): New.
27927 (default_libc_fesetenv, default_libc_feupdateenv): New.
27928 (libc_feholdexcept): Only define if undefined.
27929 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27930 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27931 (libc_feholdexcept_setroundl): Likewise.
27932 (libc_feholdexcept_setround_53bit): Likewise.
27933 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27934 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27935 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27936 (libc_feupdateenv_53bit): Likewise.
27937 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27938 (libc_feholdexcept): Convert from macro to inline function.
27939 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27940 (libc_fesetenv, libc_feupdateenv): Likewise.
27942 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27943 not previously defined.
27944 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27945 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27946 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27947 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27948 * sysdeps/ieee754/flt-32/math_private.h: New file.
27949 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27950 math_private.h below SET_FLOAT_WORD.
27951 (__isnan, __isinf_ns, __finite): Remove.
27952 (__isnanf, __isinf_nsf, __finitef): Remove.
27954 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27958 2012-03-17 David S. Miller <davem@davemloft.net>
27961 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27964 2012-03-16 David S. Miller <davem@davemloft.net>
27966 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27970 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27972 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27973 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27974 sysdep_routines when subdir is sysvipc.
27975 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27976 __getshmlba helper.
27978 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27982 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27988 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27989 (__lround): Renamed to ...
27990 (__llround): This. Replace long int with long long int.
27991 Define lround functions as aliases of llround functions.
27992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27996 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27997 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27998 adresses to uintptr_t. Replace "long int" and "unsigned long
27999 int" with "greg_t" on va_arg.
28001 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28003 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28004 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28006 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28007 Move e_machine check before EI_CLASS check. Handle x32
28008 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28009 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28010 SKIP_EM_IA_64 and include
28011 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28013 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28014 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28015 (add_system_dir): New macro.
28017 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28018 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28020 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28031 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28033 * math/w_j0f.c (j0f): Likewise.
28035 * math/w_j0l.c (__j0l): Likewise.
28037 * math/w_j1.c (j1): Likewise.
28039 * math/w_j1f.c (j1f): Likewise.
28041 * math/w_j1l.c (__j1l): Likewise.
28043 * math/w_jn.c (jn): Likewise.
28045 * math/w_jnf.c (jnf): Likewise.
28047 * math/w_jnl.c (__jnl): Likewise.
28049 * math/libm-test.inc (j0_test): Add more tests.
28050 (j1_test): Likewise.
28051 (jn_test): Likewise. Add trailing semicolon to existing test.
28052 (y0_test): Likewise.
28053 (y1_test): Likewise.
28054 * sysdeps/i386/fpu/libm-test-ulps: Update.
28055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28059 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28060 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28061 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28062 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28063 (__tanl): Set errno for infinite argument.
28064 * sysdeps/i386/fpu/mptan.c: Remove.
28065 * sysdeps/i386/fpu/s_tan.S: Likewise.
28066 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28067 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28068 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28069 * math/libm-test.inc (tan_test): Add more tests and enable more
28070 tests for double and long double.
28071 * sysdeps/i386/fpu/libm-test-ulps: Update.
28072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28076 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28077 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28079 2012-03-16 Roland McGrath <roland@hack.frob.com>
28081 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28082 * configure.in: Use it for both main tree and add-ons.
28083 * configure: Regenerated.
28085 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28087 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28089 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28091 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28095 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28096 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28101 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28103 != 0 for prec == 2.
28104 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28105 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28106 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28107 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28108 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28109 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28110 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28111 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28112 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28113 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28114 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28115 * math/libm-test.inc (cos_test): Add more tests and enable more
28116 tests for long double.
28117 (sin_test): Likewise.
28118 (sincos_test): Likewise.
28119 * sysdeps/i386/fpu/libm-test-ulps: Update.
28120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28122 2012-03-16 David S. Miller <davem@davemloft.net>
28124 * sysdeps/sparc/fpu/math_private.h: New file.
28126 2012-03-15 David S. Miller <davem@davemloft.net>
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28142 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28143 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28145 * sysdeps/sparc/sparc-ifunc.h: New file.
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28191 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28193 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28197 2012-03-15 Andreas Jaeger <aj@suse.de>
28200 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28201 ieee754/flt-32 implementation for sin, cos and sincos.
28202 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28203 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28204 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28205 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28206 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28207 ieee754/flt-32 implementation for tan.
28209 * math/libm-test.inc (cos_test): Enable some large input tests for
28211 (sin_test): Likewise.
28212 (sincos_test): Likewise.
28213 (tan_test): Add tests for large input.
28215 * sysdeps/i386/fpu/libm-test-ulps: Update.
28217 2012-03-15 Andreas Jaeger <aj@suse.de>
28220 * math/libm-test.inc (cos_test): Add more test cases.
28221 (sin_test): Likewise.
28222 (sincos_test): Likewise.
28224 2012-03-15 Andreas Jaeger <aj@suse.de>
28227 * math/libm-test.inc (cos_test): Add a test case for large input
28229 (sin_test): Likewise.
28230 (sincos_test): Likewise.
28232 2012-03-15 Andreas Jaeger <aj@suse.de>,
28233 Joseph Myers <joseph@codesourcery.com>
28236 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28237 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28238 * sysdeps/i386/fpu/branred.c: Likewise.
28239 * sysdeps/i386/fpu/dosincos.c: Likewise.
28240 * sysdeps/i386/fpu/mpa.c: Likewise.
28241 * sysdeps/i386/fpu/s_cos.S: Likewise.
28242 * sysdeps/i386/fpu/s_sin.S: Likewise.
28243 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28244 * sysdeps/i386/fpu/sincos32.c: Likewise.
28246 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28248 (libc_feupdateenv_53bit): Define.
28249 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28251 (libc_feupdateenv_53bit): Define.
28253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28254 53 bit (without extend i386 double precision).
28256 * math/libm-test.inc (sincos_test): Add tests for large input.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28262 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28266 2012-03-15 David S. Miller <davem@davemloft.net>
28268 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28270 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28296 fmin/fmax sysdep routines.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28299 2012-03-14 David S. Miller <davem@davemloft.net>
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28378 * sysdeps/sparc/configure.in: New file.
28379 * sysdeps/sparc/configure: Generate.
28380 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28381 * configure: Regenerate.
28382 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28383 * config.make.in (have-as-vis3): New.
28384 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28385 available use -Av9d instead of -Av9a.
28386 * sysdeps/sparc/sparc64/Makefile: Likewise.
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28402 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28403 fzeros/fnegs to load 0x80000000 into a float register instead of
28405 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28407 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28411 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28412 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28413 ($(inst_includedir)/bits/syscall.h): Remove rule.
28414 ($(objpfx)bits/syscall.d): Include instead of
28415 $(objpfx)syscall-list.d.
28416 (generated): Change syscall-list.h and syscall-list.d to
28417 bits/syscall.h and bits/syscall.d.
28419 2012-03-14 Roland McGrath <roland@hack.frob.com>
28422 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28424 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28427 * math/s_csqrt.c: Include <float.h>.
28428 (__csqrt): Scale large or subnormal inputs.
28429 * math/s_csqrtf.c: Likewise.
28430 * math/s_csqrtl.c: Likewise.
28431 * math/libm-test.inc (csqrt_test): Add more tests.
28432 * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28436 * math/libm-test.inc (hypot_test): Add more tests.
28438 2012-03-13 David S. Miller <davem@davemloft.net>
28441 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28442 double-precision for the calculation instead of scaling.
28444 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28446 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28447 manipulate bits before adding and subtracting TWO52[sx].
28448 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28453 2012-03-13 David S. Miller <davem@davemloft.net>
28455 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28456 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28458 rtld-global-offsets.h
28459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28461 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28466 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28467 'err' in the ifdef scope in which it is actually used.
28469 * nss/nss_db/db-init.c: Include string.h
28471 2012-03-12 David S. Miller <davem@davemloft.net>
28473 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28474 masking out of the most significant byte of random value used.
28475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28476 Fix coding style in previous change.
28478 * sysdeps/unix/sysv/linux/kernel-features.h
28479 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28480 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28482 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28485 2012-03-11 David S. Miller <davem@davemloft.net>
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28488 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28490 for 'resultvar' otherwise things get truncated on 64-bit.
28492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28493 Fix masking out of the most significant byte of random value used.
28495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28497 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28501 2012-03-09 David S. Miller <davem@davemloft.net>
28503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28504 variables with appropriate CPP guards.
28505 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28506 frame pointer, not the stack pointer. Correct layout comments. Fix test
28507 on resulting framesize and the management of the outregs buffer for pltexit.
28508 Preserve floating point return values across _dl_call_pltexit call.
28509 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28510 framesize and the management of the outregs buffer for pltexit.
28511 Preserve floating point return values across _dl_call_pltexit
28513 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28514 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28515 (print_exit): Fix format string for return register value.
28517 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28519 * sunrpc/Makefile (others): Add rpcgen.
28520 ($(objpfx)rpcgen): Remove special build rule and dependency on
28522 * sunrpc/rpcgen.c: New file.
28524 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28527 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28528 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28529 * sysdeps/i386/crti.S: Likewise.
28530 * sysdeps/i386/crtn.S: Likewise.
28531 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28532 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28535 * sysdeps/sh/crti.S: Likewise.
28536 * sysdeps/sh/crtn.S: Likewise.
28537 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28540 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28542 * locale/programs/locfile-kw.gperf: Likewise.
28543 * locale/programs/charmap-kw.h: Regenerated.
28544 * locale/programs/locfile-kw.h: Likewise.
28547 * intl/plural.y: Replace FSF snail mail address with URL.
28548 * intl/plural.c: Regenerated.
28550 2012-03-09 Richard Henderson <rth@twiddle.net>
28552 * include/math_private.h: Remove file.
28553 * math/math_private.h: Move file ...
28554 * sysdeps/generic/math_private.h: ... here.
28556 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28557 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28560 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28561 and <math_private.h>.
28562 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28563 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28564 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28565 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28566 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28684 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28700 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28703 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28704 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28705 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28706 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28710 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28711 * sysdeps/ieee754/k_standard.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28872 * sysdeps/ieee754/s_lib_version.c: Likewise.
28873 * sysdeps/ieee754/s_matherr.c: Likewise.
28874 * sysdeps/ieee754/s_signgam.c: Likewise.
28875 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28876 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28881 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28882 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28883 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28884 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28886 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28887 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28888 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28889 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28897 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28899 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28900 * sunrpc/rpc_main.c: Likewise.
28901 * sunrpc/rpc_svcout.c: Likewise.
28903 2012-03-09 David S. Miller <davem@davemloft.net>
28905 * include/math_private.h: New file.
28907 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28909 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28910 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28911 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28912 from <bits/socket_type.h>.
28913 (enum __socket_type): Don't define here.
28914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28916 bits/socket_type.h.
28919 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28920 checking __USE_GNU.
28922 * Makerules ($(inst_includedir)/%.h): New rule.
28923 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28924 (install-others): Remove variable setting.
28925 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28927 2012-03-08 Richard Henderson <rth@twiddle.net>
28929 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28930 from macro to inline function; merge with the
28931 !__LIBC_INTERNAL_MATH_INLINES version.
28932 (__ieee754_sqrtf): Likewise.
28934 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28935 to inline function.
28936 (__rintf, __floor, __floorf): Likewise.
28938 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28939 macro to inline function.
28940 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28943 not <math/math_private.h>.
28945 2012-03-08 David S. Miller <davem@davemloft.net>
28947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28949 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28951 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28953 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28955 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28956 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28958 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28960 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28961 be defined individually, they must be defined as a block. Define
28962 S for printing a string instead of hidint the different by using a
28963 macro for adding the 'l'.
28964 * stdio-common/tst-fphex-wide.c: Adjust.
28966 2012-03-07 Marek Polacek <polacek@redhat.com>
28968 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28970 2012-03-08 Marek Polacek <polacek@redhat.com>
28973 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28974 * stdio-common/tst-fphex.c: Define a few macros to make the
28975 test reusable. Use them.
28976 * stdio-common/tst-fphex-wide.c: New file.
28978 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28981 * manual/macros.texi (gnusystems): New macro.
28982 (nongnusystems): Likewise.
28983 (gnulinuxhurdsystems): Likewise.
28984 (gnuhurdsystems): Likewise..
28985 (gnulinuxsystems): Likewise.
28986 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28987 variants of the GNU system, not "GNU system".
28988 * manual/conf.texi: Likewise.
28989 * manual/errno.texi: Likewise. Update example of errno macro
28991 * manual/filesys.texi: Likewise.
28992 (getumask): Document as specific to GNU/Hurd.
28993 * manual/install.texi: Likewise. Reword some references to
28995 * manual/intro.texi: Likewise.
28996 * manual/io.texi: Likewise.
28997 (File Name Portability): Detail which constraints are inapplicable
28998 to all GNU systems and which are only inapplicable to GNU/Hurd.
28999 * manual/job.texi: Likewise.
29000 * manual/llio.texi: Likewise.
29001 (O_NOCTTY): Document as present on GNU/Linux.
29002 * manual/maint.texi: Likewise.
29003 * manual/memory.texi: Likewise.
29004 * manual/pattern.texi: Likewise.
29005 * manual/pipe.texi: Likewise.
29006 * manual/process.texi: Likewise.
29007 * manual/resource.texi: Likewise.
29008 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29010 * manual/setjmp.texi: Likewise.
29011 * manual/signal.texi: Likewise.
29012 * manual/startup.texi: Likewise.
29013 * manual/stdio.texi: Likewise.
29014 * manual/terminal.texi: Likewise.
29015 (ONLCR): Document as POSIX.
29016 (OXTABS): Document availability on GNU/Linux as XTABS.
29017 (ONOEOT): Document availability separately from other bits.
29018 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29019 * manual/time.texi: Likewise.
29020 * manual/users.texi: Likewise.
29021 * INSTALL: Regenerated.
29022 * sysdeps/gnu/errlist.c: Regenerated.
29024 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29025 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29026 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29028 * configure: Regenerated.
29030 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29032 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29033 default includes instead of AC_HEADER_CHECK.
29034 * sysdeps/i386/configure: Regenerated.
29037 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29038 * math/s_cacoshf.c (__cacoshf): Likewise.
29039 * math/s_cacoshl.c (__cacoshl): Likewise.
29040 * math/s_casinh.c (__casinh): Set signs of result from argument.
29041 * math/s_casinhf.c (__casinhf): Likewise.
29042 * math/s_casinhl.c (__casinhl): Likewise.
29043 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29044 (casinh_test): Add more tests.
29045 * sysdeps/i386/fpu/libm-test-ulps: Update.
29046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29050 * po/zh_TW.po: Update from translation team.
29052 * login/Makefile (distribute): Remove variable.
29053 * catgets/Makefile: Likewise.
29054 * mach/Makefile: Likewise.
29055 * malloc/Makefile: Likewise.
29056 * misc/Makefile: Likewise.
29057 * iconv/Makefile: Likewise.
29058 * nscd/Makefile: Likewise.
29059 * hurd/Makefile: Likewise.
29060 * manual/Makefile: Likewise.
29061 * locale/Makefile: Likewise.
29062 * intl/Makefile: Likewise.
29063 * conform/Makefile: Likewise.
29064 * nss/Makefile: Likewise.
29065 * time/Makefile: Likewise.
29066 * soft-fp/Makefile: Likewise.
29067 * dirent/Makefile: Likewise.
29068 * gmon/Makefile: Likewise.
29069 * po/Makefile: Likewise.
29070 * rt/Makefile: Likewise.
29071 * socket/Makefile: Likewise.
29072 * math/Makefile: Likewise.
29073 * signal/Makefile: Likewise.
29074 * debug/Makefile: Likewise.
29075 * elf/Makefile: Likewise.
29076 * timezone/Makefile: Likewise.
29077 * stdlib/Makefile: Likewise.
29078 * iconvdata/Makefile: Likewise.
29079 * sunrpc/Makefile: Likewise.
29080 * io/Makefile: Likewise.
29081 * argp/Makefile: Likewise.
29082 * inet/Makefile: Likewise.
29083 * hesiod/Makefile: Likewise.
29084 * grp/Makefile: Likewise.
29085 * csu/Makefile: Likewise.
29086 * wctype/Makefile: Likewise.
29087 * crypt/Makefile: Likewise.
29088 * libio/Makefile: Likewise.
29089 * string/Makefile: Likewise.
29090 * nis/Makefile: Likewise.
29091 * resolv/Makefile: Likewise.
29092 * stdio-common/Makefile: Likewise.
29093 * wcsmbs/Makefile: Likewise.
29094 * dlfcn/Makefile: Likewise.
29095 * posix/Makefile: Likewise.
29098 * timezone/Makefile: Don't install timezone files, just the programs
29101 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29103 * nss/databases.def: Add missing gshadow entry.
29105 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29107 2012-03-06 Marek Polacek <polacek@redhat.com>
29110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29112 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29113 * stdio-common/tst-long-dbl-fphex.c: New file.
29115 2012-03-06 David S. Miller <davem@davemloft.net>
29117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29118 (set_obp_int): New function.
29119 (get_obp_int): New function.
29120 (__get_clockfreq_via_dev_openprom): Likewise.
29121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29122 Avoid unused variable warnings on 'val' and use builtin_expect.
29123 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29125 (INLINE_CLONE_SYSCALL): Likewise.
29127 2012-03-05 David S. Miller <davem@davemloft.net>
29129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29131 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29136 only for |x| >= 40.
29137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29139 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29142 Replace gettimeofday with __vdso_gettimeofday.
29144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29145 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29146 __vdso_clock_gettime and __vdso_getcpu.
29148 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29149 time with __vdso_time.
29151 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29153 * manual/lang.texi (size_t): Note types to which size_t may be
29154 equivalent with the GNU C Library, but do not describe when
29155 differences between them are significant.
29157 2012-03-05 Andreas Jaeger <aj@suse.de>
29159 * sysdeps/i386/fpu/libm-test-ulps: Update.
29161 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29164 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29165 (__ieee754_pow): Save and restore rounding mode and use
29166 round-to-nearest for main computations.
29167 * math/libm-test.inc (pow_test_tonearest): New function.
29168 (pow_test_towardzero): Likewise.
29169 (pow_test_downward): Likewise.
29170 (pow_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.
29176 * math/libm-test.inc (cosh_test_tonearest): New function.
29177 (cosh_test_towardzero): Likewise.
29178 (cosh_test_downward): Likewise.
29179 (cosh_test_upward): Likewise.
29180 (sinh_test_tonearest): Likewise.
29181 (sinh_test_towardzero): Likewise.
29182 (sinh_test_downward): Likewise.
29183 (sinh_test_upward): Likewise.
29184 (main): Call the new functions.
29185 * sysdeps/i386/fpu/libm-test-ulps: Update.
29186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29188 2012-03-05 Tom de Vries <tom@codesourcery.com>
29190 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29191 default stack guard is set in last bytes.
29192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29194 2012-03-05 Kees Cook <keescook@chromium.org>
29196 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29199 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29200 possibly allocate from heap instead of stack.
29201 * stdio-common/bug-vfprintf-nargs.c: New file.
29202 * stdio-common/Makefile (tests): Add nargs overflow test.
29204 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29208 2012-03-03 Marek Polacek <polacek@redhat.com>
29210 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29211 * math/math_private.h: Likewise.
29212 * stdlib/tst-strtod.c: Likewise.
29213 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29214 * sysdeps/x86_64/bits/atomic.h: Likewise.
29216 2012-03-02 David S. Miller <davem@davemloft.net>
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29222 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29223 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29224 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29225 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29227 2012-03-02 Roland McGrath <roland@hack.frob.com>
29230 * manual/examples/README: New file, says the example source files
29231 can be used under GPL>=2.
29232 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29233 line containing just "*/".
29234 * manual/examples/add.c: Add copyright header (GPL>=2).
29235 * manual/examples/argp-ex1.c: Likewise.
29236 * manual/examples/argp-ex2.c: Likewise.
29237 * manual/examples/argp-ex3.c: Likewise.
29238 * manual/examples/argp-ex4.c: Likewise.
29239 * manual/examples/atexit.c: Likewise.
29240 * manual/examples/db.c: Likewise.
29241 * manual/examples/dir.c: Likewise.
29242 * manual/examples/dir2.c: Likewise.
29243 * manual/examples/execinfo.c: Likewise.
29244 * manual/examples/filecli.c: Likewise.
29245 * manual/examples/filesrv.c: Likewise.
29246 * manual/examples/fmtmsgexpl.c: Likewise.
29247 * manual/examples/genpass.c: Likewise.
29248 * manual/examples/inetcli.c: Likewise.
29249 * manual/examples/inetsrv.c: Likewise.
29250 * manual/examples/isockad.c: Likewise.
29251 * manual/examples/longopt.c: Likewise.
29252 * manual/examples/memopen.c: Likewise.
29253 * manual/examples/memstrm.c: Likewise.
29254 * manual/examples/mkfsock.c: Likewise.
29255 * manual/examples/mkisock.c: Likewise.
29256 * manual/examples/mygetpass.c: Likewise.
29257 * manual/examples/pipe.c: Likewise.
29258 * manual/examples/popen.c: Likewise.
29259 * manual/examples/rprintf.c: Likewise.
29260 * manual/examples/search.c: Likewise.
29261 * manual/examples/select.c: Likewise.
29262 * manual/examples/setjmp.c: Likewise.
29263 * manual/examples/sigh1.c: Likewise.
29264 * manual/examples/sigusr.c: Likewise.
29265 * manual/examples/stpcpy.c: Likewise.
29266 * manual/examples/strdupa.c: Likewise.
29267 * manual/examples/strftim.c: Likewise.
29268 * manual/examples/strncat.c: Likewise.
29269 * manual/examples/subopt.c: Likewise.
29270 * manual/examples/swapcontext.c: Likewise.
29271 * manual/examples/termios.c: Likewise.
29272 * manual/examples/testopt.c: Likewise.
29273 * manual/examples/testpass.c: Likewise.
29274 * manual/examples/timeval_subtract.c: Likewise.
29277 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29279 * manual/timeval_subtract.c.texi: ... here, new file.
29281 2012-03-02 David S. Miller <davem@davemloft.net>
29283 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29285 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29288 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29289 (__sin): Save and restore rounding mode and use round-to-nearest
29290 for all computations.
29291 (__cos): Save and restore rounding mode and use round-to-nearest
29292 for all computations.
29293 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29295 (tan): Save and restore rounding mode and use round-to-nearest for
29297 * math/libm-test.inc (cos_test_tonearest): New function.
29298 (cos_test_towardzero): Likewise.
29299 (cos_test_downward): Likewise.
29300 (cos_test_upward): Likewise.
29301 (sin_test_tonearest): Likewise.
29302 (sin_test_towardzero): Likewise.
29303 (sin_test_downward): Likewise.
29304 (sin_test_upward): Likewise.
29305 (tan_test_tonearest): Likewise.
29306 (tan_test_towardzero): Likewise.
29307 (tan_test_downward): Likewise.
29308 (tan_test_upward): Likewise.
29309 (main): Call the new functions.
29310 * sysdeps/i386/fpu/libm-test-ulps: Update.
29311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29314 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29315 small n, then large n, before computing and testing k+n.
29316 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29321 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29322 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29329 * math/libm-test.inc (scalbn_test): Add more tests.
29330 (scalbln_test): Likewise.
29332 * manual/filesys.texi (mode_t): Describe constraints on size and
29333 signedness, not exact equivalence to a particular type.
29335 (ino64_t): Likewise.
29337 (nlink_t): Likewise.
29338 (blkcnt_t): Likewise.
29339 (blkcnt64_t): Likewise.
29340 * manual/llio.texi (off_t): Likewise.
29343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29344 (__ieee754_exp): Save and restore rounding mode and use
29345 round-to-nearest for all computations.
29346 * math/libm-test.inc (exp_test_tonearest): New function.
29347 (exp_test_towardzero): Likewise.
29348 (exp_test_downward): Likewise.
29349 (exp_test_upward): Likewise.
29350 (main): Call the new functions.
29351 * sysdeps/i386/fpu/libm-test-ulps: Update.
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29354 2012-03-01 Chris Demetriou <cgd@google.com>
29356 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29357 have predictable order.
29359 2012-03-01 David S. Miller <davem@davemloft.net>
29361 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29363 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29364 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29365 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29368 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29369 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29370 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29372 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29373 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29374 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29375 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29376 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29381 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29384 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29391 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29398 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29400 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29401 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29402 * sysdeps/sparc/elf/configure: Regenerated.
29404 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29406 * configure.in (AS, LD): Require binutils 2.20 or later.
29407 * configure: Regenerated.
29408 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29409 as required minimum version.
29410 * INSTALL: Regenerated.
29414 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29415 before squaring exponent.
29416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29417 bottom long double and 27 bits of top long double before squaring
29419 * math/libm-test.inc (erfc_test): Add more tests.
29420 * sysdeps/i386/fpu/libm-test-ulps: Update.
29421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29424 2012-03-01 Kai Tietz <ktietz@redhat.com>
29426 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29427 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29428 containing bit-fields.
29429 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29430 * soft-fp/single.h (_FP_UNION_S): Likewise.
29431 * soft-fp/double.h (_FP_UNION_D): Likewise.
29433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29436 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29437 not include ../strcmp.S.
29438 [USE_AS_STRNCASECMP_L]: Likewise.
29439 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29440 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29441 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29442 (__strncasecmp_l_ia32): Define as alias to
29443 __strncasecmp_l_nonascii.
29446 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29447 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29450 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29453 2012-02-29 Jeff Law <law@redhat.com>
29455 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29456 out of bounds read.
29458 2012-02-29 Marek Polacek <polacek@redhat.com>
29461 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29462 * elf/Makefile: Add rules to run tst-unused-dep.out.
29464 2012-02-28 David S. Miller <davem@davemloft.net>
29466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29471 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29473 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29475 * math/libm-test.inc (llround_test): Move one test from
29476 lround_test. Use TEST_f_L in moved test.
29477 (lround_test): Move misplaced test to llround_test. Add testcase
29480 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29482 * sysdeps/x86_64/fpu/e_expf.S: New file.
29483 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29485 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29488 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29489 of remain_len that may cause incomplete multi-byte character and
29491 * posix/bug-regex33.c: New file.
29492 * posix/Makefile (tests): Add bug-regex33.
29494 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29496 * manual/macros.texi: New file.
29497 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29498 * manual/libc.texinfo: Include macros.texi.
29499 * manual/creatute.texi: Likewise.
29500 * manual/install.texi: Likewise.
29501 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29502 @glibcadj{} in references to the GNU C Library.
29503 * manual/charset.texi: Likewise.
29504 * manual/conf.texi: Likewise.
29505 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29506 when not using those macros.
29507 * manual/creature.texi: Likewise.
29508 * manual/crypt.texi: Likewise.
29509 * manual/errno.texi: Likewise.
29510 * manual/filesys.texi: Likewise.
29511 * manual/header.texi: Likewise.
29512 * manual/install.texi: Likewise.
29513 * manual/intro.texi: Likewise.
29514 * manual/io.texi: Likewise.
29515 * manual/job.texi: Likewise.
29516 * manual/lang.texi: Likewise.
29517 * manual/libc.texiinfo: Likewise.
29518 * manual/llio.texi: Likewise.
29519 * manual/locale.texi: Likewise.
29520 * manual/maint.texi: Likewise.
29521 * manual/math.texi: Likewise.
29522 * manual/memory.texi: Likewise.
29523 * manual/message.texi: Likewise.
29524 * manual/nss.texi: Likewise.
29525 * manual/pattern.texi: Likewise.
29526 * manual/process.texi: Likewise.
29527 * manual/resource.texi: Likewise.
29528 * manual/search.texi: Likewise.
29529 * manual/setjmp.texi: Likewise.
29530 * manual/signal.texi: Likewise.
29531 * manual/socket.texi: Likewise.
29532 * manual/startup.texi: Likewise.
29533 * manual/stdio.texi: Likewise.
29534 * manual/string.texi: Likewise.
29535 * manual/sysinfo.texi: Likewise.
29536 * manual/syslog.texi: Likewise.
29537 * manual/terminal.texi: Likewise.
29538 * manual/time.texi: Likewise.
29539 * manual/users.texi: Likewise.
29540 * INSTALL: Regenerated.
29541 * NOTES: Regenerated.
29542 * sysdeps/gnu/errlist.c: Regenerated.
29544 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29546 * include/dirent.h: Include <dirstream.h> before
29549 2012-02-28 David S. Miller <davem@davemloft.net>
29551 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29552 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29556 2012-02-27 David S. Miller <davem@davemloft.net>
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29560 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29561 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29564 frame pointer instead of stack pointer relative arg slot.
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29569 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29572 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29574 2012-02-27 David S. Miller <davem@davemloft.net>
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29582 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29585 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29587 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29588 later. Allow versions 5-9.
29589 * configure: Regenerated.
29590 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29591 required minimum version and 4.6 as recommended version. Do not
29592 mention bugs in GCC 2.7 and 2.8.
29593 * INSTALL: Regenerated.
29595 2012-02-27 David S. Miller <davem@davemloft.net>
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29601 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29602 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29603 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29604 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29607 manipulate bits before adding and subtracting TWO112[sx].
29608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29610 2012-02-27 Roland McGrath <roland@hack.frob.com>
29613 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29614 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29615 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29616 being in POSIX, because they are in 1003.1-2008.
29618 * rt/tst-aio.c: Include <fcntl.h>.
29619 * rt/tst-aio7.c: Likewise.
29620 * rt/tst-aio64.c: Likewise.
29622 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29624 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29626 * manual/install.texi (--with-headers): Describe headers as
29627 interface headers, not private headers.
29628 (Specific advice for GNU/Linux systems): Describe use of headers
29629 from "make headers_install", not private headers from older
29631 * INSTALL: Regenerated.
29632 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29634 * sysdeps/unix/sysv/linux/configure: Regenerated.
29636 * manual/llio.texi (fclean): Remove documentation.
29638 * manual/Makefile (libc-texi-generated): New variable. Include
29640 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29641 $(libc-texi-generated), not duplicated list of files.
29642 (version.texi, stamp-version): New rules.
29643 (realclean): Remove $(libc-texi-generated), not individual files
29644 from that list. Do not remove dir-add.texinfo.
29645 * manual/libc.texinfo: Comment out uses of edition numbers and
29646 references to printed manual. Remove last-updated dates.
29647 (EDITION): Comment out.
29649 (VERSION, UPDATED): Remove.
29650 (version.texi): Include.
29652 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29654 * sysdeps/posix/spawni.c: Include <signal.h>.
29655 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29656 * sysdeps/pthread/aio_fsync.c: Likewise.
29658 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29660 * conform/Makefile (tests): Run only when not cross-compiling and
29661 when fast-check is not defined.
29663 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29664 * conform/data/limits.h-data: Fixes for POSIX2008.
29665 * conform/run-conformtest.sh: Run all tests.
29666 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29668 * include/bits/dlfcn.h: Likewise.
29669 * include/langinfo.h: Likewise.
29670 * include/monetary.h: Likewise.
29671 * include/sys/poll.h: Likewise.
29673 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29675 * posix/spawn.h: Define __need_sigset_t.
29676 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29677 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29678 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29679 to get sigevent_t only.
29680 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29681 only for __USE_GNU.
29682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29683 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29684 process_vm_writev only for __USE_GNU.
29685 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29687 * conform/Makefile: For now ignore errors from run-conformtest.
29688 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29689 POSIX to avoid namespace pollution. Don't prepend headers.
29690 * conform/data/aio.h-data: Fixes for POSIX testing.
29691 * conform/data/fcntl.h-data: Likewise.
29692 * conform/data/glob.h-data: Likewise.
29693 * conform/data/grp.h-data: Likewise.
29694 * conform/data/pthread.h-data: Likewise.
29695 * conform/data/pwd.h-data: Likewise.
29696 * conform/data/signal.h-data: Likewise.
29697 * conform/data/spawn.h-data: Likewise.
29698 * conform/data/stdio.h-data: Likewise.
29699 * conform/data/stdlib.h-data: Likewise.
29700 * conform/data/stropts.h-data: Likewise.
29701 * conform/data/sys/mman.h-data: Likewise.
29702 * conform/data/sys/stat.h-data: Likewise.
29703 * conform/data/sys/types.h-data: Likewise.
29704 * conform/data/sys/wait.h-data: Likewise.
29705 * conform/data/time.h-data: Likewise.
29706 * conform/data/unistd.h-data: Likewise.
29707 * conform/data/utime.h-data: Likewise.
29709 * io/sys/stat.h: fchmod was always in POSIX.
29710 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29711 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29712 * rt/aio.h: Define __need_timespec before including <time.h>.
29713 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29714 struct. Add forward declaration of pthread_attr_t and use it in
29716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29718 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29719 always remove CLK_TCK definition.
29721 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29723 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29725 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29727 * conform/run-conformtest.sh: New file.
29728 * conform/Makefile: Run run-conformtest for tests.
29729 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29732 * conform/data/uchar.h-data: New file.
29733 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29734 * conform/data/arpa/inet.h-data: Likewise.
29735 * conform/data/assert.h-data: Likewise.
29736 * conform/data/complex.h-data: Likewise.
29737 * conform/data/cpio.h-data: Likewise.
29738 * conform/data/ctype.h-data: Likewise.
29739 * conform/data/dirent.h-data: Likewise.
29740 * conform/data/dlfcn.h-data: Likewise.
29741 * conform/data/errno.h-data: Likewise.
29742 * conform/data/fcntl.h-data: Likewise.
29743 * conform/data/float.h-data: Likewise.
29744 * conform/data/fmtmsg.h-data: Likewise.
29745 * conform/data/fnmatch.h-data: Likewise.
29746 * conform/data/ftw.h-data: Likewise.
29747 * conform/data/glob.h-data: Likewise.
29748 * conform/data/grp.h-data: Likewise.
29749 * conform/data/iconv.h-data: Likewise.
29750 * conform/data/inttypes.h-data: Likewise.
29751 * conform/data/langinfo.h-data: Likewise.
29752 * conform/data/libgen.h-data: Likewise.
29753 * conform/data/limits.h-data: Likewise.
29754 * conform/data/locale.h-data: Likewise.
29755 * conform/data/math.h-data: Likewise.
29756 * conform/data/monetary.h-data: Likewise.
29757 * conform/data/mqueue.h-data: Likewise.
29758 * conform/data/ndbm.h-data: Likewise.
29759 * conform/data/net/if.h-data: Likewise.
29760 * conform/data/netdb.h-data: Likewise.
29761 * conform/data/netinet/in.h-data: Likewise.
29762 * conform/data/nl_types.h-data: Likewise.
29763 * conform/data/poll.h-data: Likewise.
29764 * conform/data/pthread.h-data: Likewise.
29765 * conform/data/pwd.h-data: Likewise.
29766 * conform/data/regex.h-data: Likewise.
29767 * conform/data/sched.h-data: Likewise.
29768 * conform/data/search.h-data: Likewise.
29769 * conform/data/semaphore.h-data: Likewise.
29770 * conform/data/setjmp.h-data: Likewise.
29771 * conform/data/signal.h-data: Likewise.
29772 * conform/data/spawn.h-data: Likewise.
29773 * conform/data/stdarg.h-data: Likewise.
29774 * conform/data/stdio.h-data: Likewise.
29775 * conform/data/stdlib.h-data: Likewise.
29776 * conform/data/string.h-data: Likewise.
29777 * conform/data/strings.h-data: Likewise.
29778 * conform/data/stropts.h-data: Likewise.
29779 * conform/data/sys/ipc.h-data: Likewise.
29780 * conform/data/sys/mman.h-data: Likewise.
29781 * conform/data/sys/msg.h-data: Likewise.
29782 * conform/data/sys/resource.h-data: Likewise.
29783 * conform/data/sys/select.h-data: Likewise.
29784 * conform/data/sys/sem.h-data: Likewise.
29785 * conform/data/sys/shm.h-data: Likewise.
29786 * conform/data/sys/socket.h-data: Likewise.
29787 * conform/data/sys/stat.h-data: Likewise.
29788 * conform/data/sys/statvfs.h-data: Likewise.
29789 * conform/data/sys/time.h-data: Likewise.
29790 * conform/data/sys/timeb.h-data: Likewise.
29791 * conform/data/sys/times.h-data: Likewise.
29792 * conform/data/sys/types.h-data: Likewise.
29793 * conform/data/sys/uio.h-data: Likewise.
29794 * conform/data/sys/un.h-data: Likewise.
29795 * conform/data/sys/utsname.h-data: Likewise.
29796 * conform/data/sys/wait.h-data: Likewise.
29797 * conform/data/syslog.h-data: Likewise.
29798 * conform/data/tar.h-data: Likewise.
29799 * conform/data/termios.h-data: Likewise.
29800 * conform/data/utime.h-data: Likewise.
29801 * conform/data/utmpx.h-data: Likewise.
29802 * conform/data/varargs.h-data: Likewise.
29803 * conform/data/wchar.h-data: Likewise.
29804 * conform/data/wctype.h-data: Likewise.
29805 * conform/data/wordexp.h-data: Likewise.
29807 * include/stropts.h: New file.
29808 * include/uchar.h: New file.
29809 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29810 * include/assert.h: Likewise.
29811 * include/ctype.h: Likewise.
29812 * include/dirent.h: Likewise.
29813 * include/dlfcn.h: Likewise.
29814 * include/fcntl.h: Likewise.
29815 * include/fnmatch.h: Likewise.
29816 * include/glob.h: Likewise.
29817 * include/grp.h: Likewise.
29818 * include/libio.h: Likewise.
29819 * include/locale.h: Likewise.
29820 * include/math.h: Likewise.
29821 * include/net/if.h: Likewise.
29822 * include/netdb.h: Likewise.
29823 * include/netinet/in.h: Likewise.
29824 * include/pthread.h: Likewise.
29825 * include/pwd.h: Likewise.
29826 * include/regex.h: Likewise.
29827 * include/sched.h: Likewise.
29828 * include/search.h: Likewise.
29829 * include/setjmp.h: Likewise.
29830 * include/signal.h: Likewise.
29831 * include/stdio.h: Likewise.
29832 * include/stdlib.h: Likewise.
29833 * include/string.h: Likewise.
29834 * include/sys/cdefs.h: Likewise.
29835 * include/sys/mman.h: Likewise.
29836 * include/sys/msg.h: Likewise.
29837 * include/sys/resource.h: Likewise.
29838 * include/sys/select.h: Likewise.
29839 * include/sys/socket.h: Likewise.
29840 * include/sys/stat.h: Likewise.
29841 * include/sys/statvfs.h: Likewise.
29842 * include/sys/time.h: Likewise.
29843 * include/sys/times.h: Likewise.
29844 * include/sys/uio.h: Likewise.
29845 * include/sys/utsname.h: Likewise.
29846 * include/sys/wait.h: Likewise.
29847 * include/termios.h: Likewise.
29848 * include/time.h: Likewise.
29849 * include/ulimit.h: Likewise.
29850 * include/unistd.h: Likewise.
29851 * include/utime.h: Likewise.
29852 * include/wchar.h: Likewise.
29853 * include/wctype.h: Likewise.
29854 * include/wordexp.h: Likewise.
29856 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29858 * time/time.h: TIME_UTC must be a macro.
29859 Make timespec_get available for ISO C11 only as well.
29861 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29863 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29864 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29868 * configure.in: Use -o not -a in test for unsupported multi-arch.
29870 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29872 * manual/texinfo.tex: Update to version 2012-01-19.16.
29874 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29876 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29878 2012-02-24 Roland McGrath <roland@hack.frob.com>
29881 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29882 * manual/fdl-1.3.texi: New file.
29883 * manual/fdl-1.1.texi: File removed.
29886 * manual/libc.texinfo (FDL_VERSION): New @set.
29887 Use it for mention of FDL in cover text.
29888 (Documentation License): Use it in @include file name.
29890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29891 Roland McGrath <roland@hack.frob.com>
29894 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29895 not LONG_LONG_MAX and LONG_LONG_MIN.
29896 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29897 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29899 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29905 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29906 manipulate bits before adding and subtracting TWO23[sx].
29907 * math/libm-test.inc (nearbyint_test): Add more tests.
29909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29912 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29913 bits before adding and subtracting TWO23[sx].
29914 * math/libm-test.inc (rint_test): Add more tests.
29915 (rint_test_tonearest): Likewise.
29916 (rint_test_towardzero): Likewise.
29917 (rint_test_downward): Likewise.
29918 (rint_test_upward: Likewise.
29920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29923 * include/stdc-predef.h: New file. Extracted from features.h.
29924 * include/features.h: Include stdc-predef.h.
29925 * Makefile (headers): Add stdc-predef.h.
29926 * CONFORMANCE (Compiler limitations): Update.
29928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29930 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29932 2012-02-21 David S. Miller <davem@davemloft.net>
29934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29937 2012-02-20 David S. Miller <davem@davemloft.net>
29939 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29940 using a normal save/restore sequence, rather than allocating a
29941 dummy stack frame just to store a frame pointer and restore.
29942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29944 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29946 * manual/install.texi: Fix stray word in line-wrapped comment.
29948 2012-02-20 David S. Miller <davem@davemloft.net>
29950 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29951 both binutils and gcc support GOTDATA.
29953 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29954 "rd %pc" in the PIC register setup sequences.
29956 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29957 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29959 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29960 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29965 (SYSCALL_ERROR_HANDLER): Likewise.
29966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29969 (SYSCALL_ERROR_HANDLER): Likewise.
29971 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29972 (HAVE_GCC_GOTDATA): New.
29973 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29974 relocation support in both binutils and gcc.
29975 * sysdeps/sparc/elf/configure: Regenerate.
29977 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29978 * sysdeps/sparc/sparc32/elf/configure: Delete.
29979 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29980 * sysdeps/sparc/sparc64/elf/configure: Delete.
29981 * sysdeps/sparc/elf/configure.in: New file.
29982 * sysdeps/sparc/elf/configure: Generate.
29984 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29985 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29987 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29988 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29990 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29992 * manual/install.texi: Do not mention specific glibc version
29994 * manual/libc.texinfo (VERSION, UPDATED): Update.
29995 (@copying): Use @copyright{} and range of years.
29997 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30000 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30001 [crti.S not in sysdirs] (generated): Do not append.
30002 [crti.S not in sysdirs] (omit-deps): Likewise.
30003 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30004 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30005 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30006 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30007 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30009 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30010 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30011 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30012 * csu/defs.awk: Remove file.
30013 * sysdeps/generic/initfini.c: Likewise.
30014 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30016 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30021 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30022 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30023 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30024 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30028 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30029 (__EPOLL_PACKED): Define to empty if not defined by
30031 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30035 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30037 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30038 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30040 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30042 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30048 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30051 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30055 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30060 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30062 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30063 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30065 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30067 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30070 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30072 * math/w_acos.c: Use non-signaling floating-point comparisons.
30073 * math/w_acosf.c: Likewise.
30074 * math/w_acosh.c: Likewise.
30075 * math/w_acoshf.c: Likewise.
30076 * math/w_acoshl.c: Likewise.
30077 * math/w_acosl.c: Likewise.
30078 * math/w_asin.c: Likewise.
30079 * math/w_asinf.c: Likewise.
30080 * math/w_asinl.c: Likewise.
30081 * math/w_atanh.c: Likewise.
30082 * math/w_atanhf.c: Likewise.
30083 * math/w_atanhl.c: Likewise.
30084 * math/w_exp2.c: Likewise.
30085 * math/w_exp2f.c: Likewise.
30086 * math/w_exp2l.c: Likewise.
30087 * math/w_j0.c: Likewise.
30088 * math/w_j0f.c: Likewise.
30089 * math/w_j0l.c: Likewise.
30090 * math/w_j1.c: Likewise.
30091 * math/w_j1f.c: Likewise.
30092 * math/w_j1l.c: Likewise.
30093 * math/w_jn.c: Likewise.
30094 * math/w_jnf.c: Likewise.
30095 * math/w_log.c: Likewise.
30096 * math/w_log10.c: Likewise.
30097 * math/w_log10f.c: Likewise.
30098 * math/w_log10l.c: Likewise.
30099 * math/w_log2.c: Likewise.
30100 * math/w_log2f.c: Likewise.
30101 * math/w_log2l.c: Likewise.
30102 * math/w_logf.c: Likewise.
30103 * math/w_logl.c: Likewise.
30104 * math/w_sqrt.c: Likewise.
30105 * math/w_sqrtf.c: Likewise.
30106 * math/w_sqrtl.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30110 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30116 * manual/string.texi (strnlen): Use correct parameter name in
30117 equivalent expression.
30119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30122 * manual/users.texi (seteuid): Consistently use neweuid for
30125 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30128 * manual/nss.texi (Services in the NSS configuration): Correct
30129 list of services in example configuration file.
30131 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30134 * manual/arith.texi: Remove statements about negative zero
30135 behaving identically to zero.
30137 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30140 * manual/install.texi: Do not document upgrading from libc5.
30142 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30145 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30147 2012-02-18 David S. Miller <davem@davemloft.net>
30149 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30150 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30151 %o7 across the call.
30152 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30155 SETUP_PIC_REG_LEAF.
30156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30157 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30158 * sysdeps/sparc/crtn.S: Likewise.
30160 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30162 * aout/Makefile: Remove.
30164 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30167 * manual/examples/argp-ex1.c (main): Format definition in GNU
30169 * manual/examples/argp-ex2.c (main): Likewise.
30170 * manual/examples/argp-ex3.c (main): Likewise.
30171 * manual/examples/argp-ex4.c (main): Likewise.
30172 * manual/examples/longopt.c (main): Use new-style prototype
30174 * manual/examples/strncat.c (main): Specify return type and use
30175 (void) for arguments.
30176 * manual/examples/subopt.c (main): Use char **argv argument.
30178 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30181 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30184 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30187 * manual/string.texi (strchr): Change when strchrnul is
30190 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30193 * manual/locale.texi (setlocale): Document LOCPATH.
30195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30198 * manual/process.texi (execle): Move @dots{} before last argument.
30200 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30203 * manual/charset.texi (Generic Charset Conversion): Fix typo
30204 (LC_TYPE -> LC_CTYPE).
30206 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30209 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30210 (scalbnf): Likewise.
30211 (scalbnl): Likewise.
30212 (scalbln): Likewise.
30213 (scalblnf): Likewise.
30214 (scalblnl): Likewise.
30215 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30216 (vwarnx): Likewise.
30219 * manual/filesys.texi (telldir): Use braces around return type.
30220 * manual/llio.texi (mmap): Add space after comma.
30221 (mmap64): Likewise.
30222 * manual/math.texi (jn): Use @var{} on parameter names.
30228 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30230 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30232 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30233 (sched_get_priority_max): Likewise.
30234 * manual/signal.texi (sigvec): Add space after comma.
30235 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30237 (if_indextoname): Likewise.
30238 (if_freenameindex): Likewise.
30239 (sendto): Use ',' instead of '.' in prototype.
30240 * manual/startup.texi (syscall): Use @dots{} instead of literal
30242 * manual/stdio.texi (__fpending): Separate initial words of
30243 paragraph from @deftypefun line.
30244 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30246 (vsyslog): Use @var{} on parameter names.
30247 * manual/terminal.texi (stty): Use @var{} on parameter names.
30248 * manual/users.texi (getutmp): Use @var{} on parameter names.
30249 (getutmpx): Likewise.
30251 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30254 * manual/stdio.texi (fopen): Fix typos in description of
30257 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30260 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30261 get clock_id definition.
30263 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30266 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30267 (madvise): Cast every argument to void on its own.
30269 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30272 * manual/startup.texi (Exit Status): Fix typo.
30274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30277 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30278 * manual/examples/argp-ex2.c: Likewise.
30279 * manual/examples/argp-ex3.c: Likewise.
30281 2012-02-16 Richard Henderson <rth@redhat.com>
30283 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30284 * sysdeps/s390/s390-32/initfini.c: Remove.
30285 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30286 * sysdeps/s390/s390-64/initfini.c: Remove.
30288 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30290 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30291 compiler output for sysdeps/generic/initfini.c.
30292 * sysdeps/sh/elf/initfini.c: Remove file.
30294 2012-02-16 David S. Miller <davem@davemloft.net>
30297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30299 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30300 * sysdeps/sparc/crti.S: New file.
30301 * sysdeps/sparc/crtn.S: New file.
30302 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30303 * sysdeps/sparc/sparc64/Makefile: Likewise.
30305 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30308 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30310 2012-02-15 Roland McGrath <roland@hack.frob.com>
30313 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30315 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30316 (write, read, close): Likewise.
30317 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30319 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30321 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30322 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30323 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30324 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30326 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30330 2012-02-14 Marek Polacek <polacek@redhat.com>
30332 * sysdeps/x86_64/crti.S: New file.
30333 * sysdeps/x86_64/crtn.S: New file.
30334 * sysdeps/x86_64/elf/initfini.c: Remove file.
30336 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30338 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30339 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30341 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30343 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30347 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30349 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30352 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30354 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30358 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30360 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30361 __feraiseexcept instead of feraiseexcept.
30363 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30364 nanosleep invocations.
30365 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30366 strings, and add error checking for a nanosleep invocations.
30368 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30370 Replace FSF snail mail address with URLs, as per GNU coding standards.
30371 Most of the snail mail addresses were wrong anyway, and omitting
30372 them makes the source code easier to maintain. Almost all of the
30373 changes are to license notices and to locale LC_IDENTIFICATION
30374 addresses, except for this one:
30375 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30376 not its snail mail address.
30378 2012-02-09 Richard Henderson <rth@twiddle.net>
30380 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30381 of kernel-features.h.
30383 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30385 2012-02-08 Marek Polacek <polacek@redhat.com>
30387 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30388 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30389 * sysdeps/gnu/_G_config.h: Likewise.
30390 * sysdeps/generic/_G_config.h: Likewise.
30392 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30394 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30398 * sysdeps/powerpc/powerpc32/crti.S: New file.
30399 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30400 * sysdeps/powerpc/powerpc64/crti.S: New file.
30401 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30403 * Makeconfig (have-initfini): Don't set.
30404 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30405 * configure.in (nopic_initfini): Don't substitute.
30406 * config.h.in (HAVE_INITFINI): Don't #undef.
30407 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30408 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30410 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30412 Support crti.S and crtn.S provided directly by architectures.
30413 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30414 [crti.S in sysdirs] (omit-deps): Likewise.
30415 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30416 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30417 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30418 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30419 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30420 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30421 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30422 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30423 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30424 compiler output for sysdeps/generic/initfini.c.
30425 * sysdeps/i386/elf/Makefile: Remove file.
30426 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30428 2012-02-07 Marek Polacek <polacek@redhat.com>
30430 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30431 * sysdeps/gnu/_G_config.h: Likewise.
30432 * sysdeps/mach/hurd/_G_config.h: Likewise.
30434 2012-02-07 Marek Polacek <polacek@redhat.com>
30436 * math/Makefile (tests): Add tst-CMPLX2.
30437 * math/tst-CMPLX2.c: New file.
30439 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30443 * math/libm-test.inc (jn_test): Add missing L suffix.
30445 2012-02-06 Marek Polacek <polacek@redhat.com>
30447 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30448 * sysdeps/i386/fpu/e_powf.S: Likewise.
30449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30452 * sysdeps/i386/fpu/e_pow.S: Likewise.
30453 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30454 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30455 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30456 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30457 * sysdeps/i386/fpu/e_log2.S: Likewise.
30458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30460 * sysdeps/i386/fpu/e_powl.S: Likewise.
30461 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30464 * sysdeps/i386/fpu/e_logl.S: Likewise.
30465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30466 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30467 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30468 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30469 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30471 * sysdeps/i386/fpu/e_log.S: Likewise.
30472 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30474 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30475 * sysdeps/i386/fpu/e_logf.S: Likewise.
30476 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30478 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30479 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30480 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30481 * sysdeps/i386/fpu/e_log10.S: Likewise.
30482 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30483 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30484 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30485 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30487 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30488 * sysdeps/i386/asm-syntax.h: Likewise.
30489 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30492 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30493 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30498 * sysdeps/powerpc/sysdep.h: Likewise.
30499 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30502 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30505 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30507 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30509 * sysdeps/i386/sysdep.h: Include <features.h>.
30510 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30513 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30517 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30520 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30522 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30523 (SETUP_PIC_REG): Use GET_PC_THUNK.
30524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30527 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30530 for non-PIC compilation.
30531 (SETUP_PIC_REG): Add .p2align directive.
30532 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30533 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30566 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30571 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30574 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30576 * math/tst-CMPLX.c: Include <stdio.h>.
30578 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30580 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30582 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30583 * sysdeps/sparc/bits/mathdef.h: Likewise.
30585 2012-01-31 Marek Polacek <polacek@redhat.com>
30587 * libio/libio.h: Don't define _PARAMS.
30588 * locale/programs/config.h: Don't define PARAMS.
30589 * stdlib/strtol_l.c: Likewise.
30590 (__strtol_l): Remove PARAMS from the prototype.
30592 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30594 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30595 names. Just use the correct names. Remove unnecessary wrapper
30597 * malloc/arena.c: Likewise.
30598 * malloc/hooks.c: Likewise.
30600 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30601 ARENA_TEST says not to. Simplify test for creation of a new arena.
30602 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30604 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30606 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30608 (update_get_addr): New function.
30609 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30610 GET_ADDR_MODULE parameter.
30612 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30614 * crypt/cert.c: Remove __STDC__ conditionals.
30615 * crypt/crypt-entry.c: Likewise.
30616 * crypt/crypt_util.c: Likewise.
30617 * libio/filedoalloc.c: Likewise.
30618 * libio/fileops.c: Likewise.
30619 * libio/genops.c: Likewise.
30620 * libio/iofclose.c: Likewise.
30621 * libio/iofdopen.c: Likewise.
30622 * libio/iofopen.c: Likewise.
30623 * libio/iofopen64.c: Likewise.
30624 * libio/iogetdelim.c: Likewise.
30625 * libio/iopopen.c: Likewise.
30626 * libio/obprintf.c: Likewise.
30627 * libio/oldfileops.c: Likewise.
30628 * libio/oldiofclose.c: Likewise.
30629 * libio/oldiofdopen.c: Likewise.
30630 * libio/oldiofopen.c: Likewise.
30631 * libio/oldiopopen.c: Likewise.
30632 * libio/wfiledoalloc.c: Likewise.
30633 * libio/wgenops.c: Likewise.
30634 * locale/programs/xmalloc.c: Likewise.
30635 * misc/syslog.c: Likewise.
30636 * stdio-common/xbug.c: Likewise.
30637 * string/memchr.c: Likewise.
30638 * string/memcmp.c: Likewise.
30639 * string/memrchr.c: Likewise.
30640 * string/rawmemchr.c: Likewise.
30641 * sysdeps/posix/getcwd.c: Likewise.
30642 * time/strftime_l.c: Likewise.
30644 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30646 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30647 * config.make.in (config-cflags-sse2avx): Define.
30648 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30651 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30653 * scripts/config.guess: Update from upstream config git repository.
30654 * scripts/config.sub: Likewise.
30656 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30658 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30660 (R_TILEPRO_*, R_TILEGX_*): New macros.
30662 * scripts/firstversions.awk: Fix bug in version range handling.
30664 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30666 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30668 * include/sys/epoll.h: New file.
30669 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30672 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30674 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30675 Avoid unnecessary __WORDSIZE == 64 test.
30676 (fmaxf): Use VEX format if possible.
30681 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30682 * math/math_private.h: Remove libc_fegetround* and
30684 * sysdeps/i386/configure.in: Check for -msse2avx.
30685 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30686 also if SSE2AVX is defined.
30687 Remove libc_fegetround* and libc_fesetround*.
30688 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30689 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30698 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30700 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30702 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30706 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30709 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30711 * Makeconfig (libm): Define.
30712 * elf/Makefile: Add rules to build and run tst-relsort1.
30713 * elf/tst-relsort1.c: New file.
30714 * elf/tst-relsort1mod1.c: New file.
30715 * elf/tst-relsort1mod2.c: New file.
30717 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30719 * math/s_ldexp.c: Remove __STDC__ conditionals.
30720 * math/s_ldexpf.c: Likewise.
30721 * math/s_ldexpl.c: Likewise.
30722 * math/s_nextafter.c: Likewise.
30723 * math/s_nexttowardf.c: Likewise.
30724 * math/s_significand.c: Likewise.
30725 * math/s_significandf.c: Likewise.
30726 * math/s_significandl.c: Likewise.
30727 * math/w_jnl.c: Likewise.
30728 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30729 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30730 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30731 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30732 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30747 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30748 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30756 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30759 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30762 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30765 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30767 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30768 * sysdeps/ieee754/k_standard.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30848 * sysdeps/ieee754/s_matherr.c: Likewise.
30849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30854 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30856 * crypt/md5.h: Remove __STDC__ conditionals.
30857 * libio/libioP.h: Likewise.
30858 * locale/programs/config.h: Likewise.
30859 * sysdeps/generic/sysdep.h: Likewise.
30860 * sysdeps/i386/asm-syntax.h: Likewise.
30861 * sysdeps/s390/asm-syntax.h: Likewise.
30862 * sysdeps/unix/sysdep.h: Likewise.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30866 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30868 * libio/libio.h: Remove __STDC__ conditionals.
30869 * malloc/obstack.h: Likewise.
30870 * math/complex.h: Likewise.
30871 * math/math.h: Likewise.
30872 * sysdeps/generic/_G_config.h: Likewise.
30873 * sysdeps/gnu/_G_config.h: Likewise.
30874 * sysdeps/mach/hurd/_G_config.h: Likewise.
30875 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30877 * sysdeps/sparc/bits/mathdef.h: Likewise.
30879 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30882 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30883 Clean up HAS_* macros.
30884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30885 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30895 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30897 * elf/tst-unique3.cc (gets): Remove declaration.
30898 * elf/tst-unique3lib.cc (gets): Likewise.
30899 * elf/tst-unique3lib2.cc (gets): Likewise.
30900 * elf/tst-unique4.cc (gets): Likewise.
30902 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30904 * include/stdio.h: Add C++ protection. Add gets declarations and
30906 * debug/tst-chk1.c: Don't declare gets here.
30907 * stdio-common/tst-gets.c: Likewise.
30909 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30911 * posix/glob: Remove directory.
30913 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30915 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30917 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30919 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30920 of the non-standard EPFNOSUPPORT.
30922 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30924 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30925 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30926 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30928 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30930 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30932 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30934 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30936 * nscd/grpcache.c (cache_addgr): Likewise.
30937 * nscd/hstcache.c (cache_addhst): Likewise.
30938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30939 * nscd/pwdcache.c (cache_addpw): Likewise.
30940 * nscd/servicescache.c (cache_addserv): Likewise.
30942 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30944 * malloc/malloc.c: Various cleanups.
30945 * malloc/hooks.c: Likewise.
30947 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30948 * stdlib/bug-fmtmsg1.c: New file.
30950 * stdlib/fmtmsg.c (init): Add missing unlock.
30951 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30953 2012-01-12 Marek Polacek <polacek@redhat.com>
30955 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30958 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30960 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30961 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30962 macro to ensure uniqueness of label name.
30963 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30964 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30966 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30971 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30975 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30979 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30980 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30983 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30985 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30990 * math/bits/math-finite.h: Add ldexp support.
30992 2012-01-10 Marek Polacek <polacek@redhat.com>
30994 * locale/programs/localedef.h (show_archive_content): Add noreturn
30997 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30999 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31001 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31003 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31005 * io/Makefile (headers): Add bits/poll2.h.
31007 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31010 typo #include statement.
31012 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31014 * include/sys/cdefs.h: Define __attribute_alloc_size.
31015 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31016 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31017 * elf/pldd.c: Likewise.
31018 * iconv/iconv_charmap.c: Likewise.
31019 * iconv/iconvconfig.c: Likewise.
31020 * iconv/strtab.c: Likewise.
31021 * locale/programs/locale.c: Likewise.
31022 * locale/programs/localedef.h: Likewise.
31023 * locale/programs/simple-hash.c: Likewise.
31024 * nscd/nscd.h: Likewise.
31025 * nss/makedb.c: Likewise.
31026 * sysdeps/generic/ldconfig.h: Likewise.
31027 * locale/programs/localedef.c: Remove xmalloc prototype.
31028 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31030 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31037 * math/Makefile (tests): Add tst-CMPLX.
31038 * math/tst-CMPLX.c: New file.
31040 * math/complex.h (CMPLXL): Fix typo.
31042 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31043 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31045 * debug/tst-chk1.c: Add poll and ppoll tests.
31046 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31047 * include/sys/poll.h: Add hidden proto for ppoll.
31048 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31049 * sysdeps/mach/hurd/ppoll.c: Likewise.
31050 * io/ppoll.c: Likewise.
31051 * debug/poll_chk.c: New file.
31052 * debug/ppoll_chk.c: New file.
31053 * include/bits/poll2.h: New file.
31054 * io/bits/poll2.h: New file.
31057 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31059 * configure.in: static is always set to yes. Remove.
31060 * config.make.in: Don't set build-static.
31061 * Makeconfig: Remove use of build-static.
31062 * dlfcn/Makefile: Likewise.
31063 * elf/Makefile: Likewise.
31064 * math/Makefile: Likewise.
31065 * misc/Makefile: Likewise.
31066 * nptl/Makefile: Likewise.
31067 * sysdeps/mach/hurd/Makefile: Likewise.
31069 * configure.in: PWD_P is not used anymore.
31070 * config.make.in: Remove PWD_P entry.
31072 * configure.in: Remove last remnants of RANLIB.
31073 No need to check for signed size_t anymore.
31074 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31076 Remove __builtin_expect test because we require at least gcc 3.4.
31077 * aclocal.m4: Likewise.
31079 * wcsmbs/mbrtoc16.c: Implement using towc function.
31080 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31081 * wcsmbs/wcsmbsload.c: Likewise.
31082 * iconv/gconv_simple.c: Likewise.
31083 * iconv/gconv_int.h: Likewise.
31084 * iconv/gconv_builtin.h: Likewise.
31085 * iconv/iconv_prog.c: Remove CHAR16 handling.
31087 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31089 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31091 * configure.in: Remove --with-elf and --enable-bounded options.
31092 Dont set base_machine for ia64. More non-ELF conditions removed.
31093 Remove testing and setting of leading underscore information.
31094 * config.make.in (build-bounded): Set to no.
31095 * config.h.in: Remove NO_UNDERSCORES entry.
31096 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31098 * csu/start.c: Remove !NO_UNDERSCORE code.
31099 * locale/localeinfo.h: Likewise.
31100 * sysdeps/generic/machine-gmon.h: Likewise.
31101 * sysdeps/generic/sysdep.h: Likewise.
31102 * sysdeps/i386/sysdep.h: Likewise.
31103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31104 * sysdeps/mach/sysdep.h: Likewise.
31105 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31107 * sysdeps/sh/sysdep.h: Likewise.
31108 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31109 * sysdeps/unix/i386/sysdep.S: Likewise.
31110 * sysdeps/unix/sparc/start.c: Likewise.
31111 * sysdeps/unix/sparc/sysdep.S: Likewise.
31112 * sysdeps/unix/sparc/sysdep.h: Likewise.
31113 * sysdeps/unix/start.c: Likewise.
31114 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31115 * sysdeps/x86_64/sysdep.h: Likewise.
31117 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31120 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31122 * argp/argp-fmtstream.h: Use const instead __const.
31123 * argp/argp.h: Likewise.
31124 * assert/assert.h: Likewise.
31125 * bits/fenv.h: Likewise.
31126 * bits/sched.h: Likewise.
31127 * bits/sigset.h: Likewise.
31128 * bits/sigthread.h: Likewise.
31129 * catgets/nl_types.h: Likewise.
31130 * conform/data/pthread.h-data: Likewise.
31131 * crypt/crypt-private.h: Likewise.
31132 * crypt/crypt.h: Likewise.
31133 * crypt/crypt_util.c: Likewise.
31134 * ctype/ctype.h: Likewise.
31135 * debug/execinfo.h: Likewise.
31136 * debug/mbsnrtowcs_chk.c: Likewise.
31137 * debug/mbsrtowcs_chk.c: Likewise.
31138 * debug/wcsnrtombs_chk.c: Likewise.
31139 * debug/wcsrtombs_chk.c: Likewise.
31140 * debug/wcstombs_chk.c: Likewise.
31141 * dirent/dirent.h: Likewise.
31142 * dlfcn/dlfcn.h: Likewise.
31143 * elf/neededtest4.c: Likewise.
31144 * grp/grp.h: Likewise.
31145 * gshadow/gshadow.h: Likewise.
31146 * iconv/gconv.h: Likewise.
31147 * iconv/gconv_int.h: Likewise.
31148 * iconv/gconv_simple.c: Likewise.
31149 * iconv/iconv.h: Likewise.
31150 * iconv/loop.c: Likewise.
31151 * iconv/skeleton.c: Likewise.
31152 * include/aio.h: Likewise.
31153 * include/aliases.h: Likewise.
31154 * include/argz.h: Likewise.
31155 * include/arpa/inet.h: Likewise.
31156 * include/assert.h: Likewise.
31157 * include/dirent.h: Likewise.
31158 * include/dlfcn.h: Likewise.
31159 * include/execinfo.h: Likewise.
31160 * include/fcntl.h: Likewise.
31161 * include/fenv.h: Likewise.
31162 * include/glob.h: Likewise.
31163 * include/grp.h: Likewise.
31164 * include/libintl.h: Likewise.
31165 * include/mntent.h: Likewise.
31166 * include/netdb.h: Likewise.
31167 * include/pwd.h: Likewise.
31168 * include/rpc/netdb.h: Likewise.
31169 * include/sched.h: Likewise.
31170 * include/search.h: Likewise.
31171 * include/shadow.h: Likewise.
31172 * include/signal.h: Likewise.
31173 * include/stdio.h: Likewise.
31174 * include/stdlib.h: Likewise.
31175 * include/string.h: Likewise.
31176 * include/sys/socket.h: Likewise.
31177 * include/sys/stat.h: Likewise.
31178 * include/sys/statfs.h: Likewise.
31179 * include/sys/statvfs.h: Likewise.
31180 * include/sys/syslog.h: Likewise.
31181 * include/sys/time.h: Likewise.
31182 * include/sys/uio.h: Likewise.
31183 * include/time.h: Likewise.
31184 * include/unistd.h: Likewise.
31185 * include/utmp.h: Likewise.
31186 * include/wchar.h: Likewise.
31187 * include/wctype.h: Likewise.
31188 * inet/aliases.h: Likewise.
31189 * inet/arpa/inet.h: Likewise.
31190 * inet/netinet/ether.h: Likewise.
31191 * inet/netinet/in.h: Likewise.
31192 * intl/libintl.h: Likewise.
31193 * io/bits/fcntl2.h: Likewise.
31194 * io/fcntl.h: Likewise.
31195 * io/ftw.h: Likewise.
31196 * io/sys/poll.h: Likewise.
31197 * io/sys/stat.h: Likewise.
31198 * io/sys/statfs.h: Likewise.
31199 * io/sys/statvfs.h: Likewise.
31200 * io/utime.h: Likewise.
31201 * libio/bits/stdio.h: Likewise.
31202 * libio/bits/stdio2.h: Likewise.
31203 * libio/libio.h: Likewise.
31204 * libio/libioP.h: Likewise.
31205 * libio/stdio.h: Likewise.
31206 * locale/lc-ctype.c: Likewise.
31207 * locale/locale.h: Likewise.
31208 * login/utmp.h: Likewise.
31209 * malloc/arena.c: Likewise.
31210 * malloc/malloc.c: Likewise.
31211 * malloc/malloc.h: Likewise.
31212 * malloc/mcheck.c: Likewise.
31213 * malloc/mtrace.c: Likewise.
31214 * math/bits/mathcalls.h: Likewise.
31215 * math/fenv.h: Likewise.
31216 * math/math_private.h: Likewise.
31217 * misc/bits/error.h: Likewise.
31218 * misc/bits/syslog.h: Likewise.
31219 * misc/err.h: Likewise.
31220 * misc/error.h: Likewise.
31221 * misc/fstab.h: Likewise.
31222 * misc/mntent.h: Likewise.
31223 * misc/regexp.h: Likewise.
31224 * misc/search.h: Likewise.
31225 * misc/sgtty.h: Likewise.
31226 * misc/sys/mman.h: Likewise.
31227 * misc/sys/syslog.h: Likewise.
31228 * misc/sys/uio.h: Likewise.
31229 * misc/sys/xattr.h: Likewise.
31230 * misc/ttyent.h: Likewise.
31231 * nis/rpcsvc/ypclnt.h: Likewise.
31232 * nss/nss.h: Likewise.
31233 * posix/bits/unistd.h: Likewise.
31234 * posix/fnmatch.h: Likewise.
31235 * posix/glob.h: Likewise.
31236 * posix/sched.h: Likewise.
31237 * posix/spawn.h: Likewise.
31238 * posix/sys/wait.h: Likewise.
31239 * posix/unistd.h: Likewise.
31240 * posix/wordexp.h: Likewise.
31241 * pwd/pwd.h: Likewise.
31242 * resolv/netdb.h: Likewise.
31243 * resource/sys/resource.h: Likewise.
31244 * rt/aio.h: Likewise.
31245 * rt/bits/mqueue2.h: Likewise.
31246 * rt/mqueue.h: Likewise.
31247 * shadow/shadow.h: Likewise.
31248 * signal/signal.h: Likewise.
31249 * socket/send.c: Likewise.
31250 * socket/sendto.c: Likewise.
31251 * socket/sys/socket.h: Likewise.
31252 * stdio-common/printf.h: Likewise.
31253 * stdlib/bits/stdlib.h: Likewise.
31254 * stdlib/fmtmsg.h: Likewise.
31255 * stdlib/monetary.h: Likewise.
31256 * stdlib/stdlib.h: Likewise.
31257 * stdlib/ucontext.h: Likewise.
31258 * streams/stropts.h: Likewise.
31259 * string/argz.h: Likewise.
31260 * string/bits/string2.h: Likewise.
31261 * string/string.h: Likewise.
31262 * string/strings.h: Likewise.
31263 * sunrpc/rpc/auth.h: Likewise.
31264 * sunrpc/rpc/auth_des.h: Likewise.
31265 * sunrpc/rpc/clnt.h: Likewise.
31266 * sunrpc/rpc/netdb.h: Likewise.
31267 * sunrpc/rpc/pmap_clnt.h: Likewise.
31268 * sunrpc/rpc/xdr.h: Likewise.
31269 * sysdeps/generic/inttypes.h: Likewise.
31270 * sysdeps/generic/net/if.h: Likewise.
31271 * sysdeps/generic/sys/swap.h: Likewise.
31272 * sysdeps/gnu/net/if.h: Likewise.
31273 * sysdeps/gnu/utmpx.h: Likewise.
31274 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31275 * sysdeps/i386/i486/bits/string.h: Likewise.
31276 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31277 * sysdeps/s390/bits/string.h: Likewise.
31278 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31279 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31280 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31281 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31282 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31283 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31284 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31285 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31286 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31287 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31288 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31289 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31290 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31291 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31292 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31300 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31301 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31302 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31303 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31304 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31306 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31308 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31309 * sysvipc/sys/ipc.h: Likewise.
31310 * sysvipc/sys/msg.h: Likewise.
31311 * sysvipc/sys/sem.h: Likewise.
31312 * sysvipc/sys/shm.h: Likewise.
31313 * termios/termios.h: Likewise.
31314 * time/sys/time.h: Likewise.
31315 * time/time.h: Likewise.
31316 * wcsmbs/bits/wchar2.h: Likewise.
31317 * wcsmbs/uchar.h: Likewise.
31318 * wcsmbs/wchar.h: Likewise.
31319 * wctype/wctype.h: Likewise.
31322 * Makeconfig: Remove all but ELF support including AIX support.
31323 * Makerules: Likewise.
31324 * config.h.in: Likewise.
31325 * config.make.in: Likewise.
31326 * configure: Likewise.
31327 * configure.in: Likewise.
31328 * csu/Makefile: Likewise.
31329 * csu/version.c: Likewise.
31330 * debug/Makefile: Likewise.
31331 * dlfcn/Makefile: Likewise.
31332 * elf/Makefile: Likewise.
31333 * extra-lib.mk: Likewise.
31334 * iconv/Makefile: Likewise.
31335 * include/libc-symbols.h: Likewise.
31336 * include/shlib-compat.h: Likewise.
31337 * resolv/Makefile: Likewise.
31338 * resolv/res_libc.c: Likewise.
31339 * rt/Makefile: Likewise.
31340 * sysdeps/i386/asm-syntax.h: Likewise.
31341 * sysdeps/i386/sysdep.h: Likewise.
31342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31343 * sysdeps/mach/sysdep.h: Likewise.
31344 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31345 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31346 * sysdeps/s390/asm-syntax.h: Likewise.
31347 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31349 * sysdeps/sh/sysdep.h: Likewise.
31350 * sysdeps/unix/sparc/sysdep.h: Likewise.
31351 * sysdeps/wordsize-32/divdi3.c: Likewise.
31352 * sysdeps/x86_64/sysdep.h: Likewise.
31354 * argp/Versions: Remove _argp_unlock_xxx.
31357 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31358 * abilist/libBrokenLocale.abilist: Likewise.
31359 * abilist/libanl.abilist: Likewise.
31360 * abilist/libc.abilist: Likewise.
31361 * abilist/libcrypt.abilist: Likewise.
31362 * abilist/libdl.abilist: Likewise.
31363 * abilist/libm.abilist: Likewise.
31364 * abilist/libnsl.abilist: Likewise.
31365 * abilist/libpthread.abilist: Likewise.
31366 * abilist/libresolv.abilist: Likewise.
31367 * abilist/librt.abilist: Likewise.
31368 * abilist/libthread_db.abilist: Likewise.
31369 * abilist/libutil.abilist: Likewise.
31370 * abilist/libnss_db.abilist: New file.
31372 * scripts/abilist.awk: Add support for indirect functions.
31374 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31376 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31378 * shlib-versions: Remove entries for ports architectures.
31380 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31382 * elf/stackguard-macros.h: Remove support for IA-64.
31383 * elf/tst-auditmod1.c: Likewise.
31384 * sysdeps/generic/ldsodefs.h: Likewise.
31386 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31387 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31391 * configure.in: Remove --enable-omitfp support.
31393 * config.make.in: Likewise.
31394 * Makeconfig: Likewise.
31395 * manual/install.texi: Likewise.
31397 In case anyone cares, the IA-64 architecture could move to ports.
31398 * sysdeps/ia64/*: Removed.
31399 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31400 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31403 * configure.in: Remove entries for unsupported architectures.
31406 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31407 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31409 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31410 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31411 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31412 fall back to using wcrtomb.
31413 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31414 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31416 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31417 * wcsmbs/tst-c16c32-1.c: New file.
31419 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31422 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31424 * elf/tst-unique3.cc: Add explicit declaration of gets.
31425 * elf/tst-unique3lib.cc: Likewise.
31426 * elf/tst-unique3lib2.cc: Likewise.
31427 * elf/tst-unique4.cc: Likewise.
31429 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31431 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31434 * assert/assert.h (static_assert): Don't define for C++.
31435 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31436 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31438 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31440 * iconv/loop.c (single loop): Fix assertion in storing of
31443 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31445 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31447 * posix/getconf.c: Update copyright year.
31448 * nss/getent.c: Likewise.
31449 * nss/makedb.c: Likewise.
31450 * iconv/iconvconfig.c: Likewise.
31451 * iconv/iconv_prog.c: Likewise.
31452 * elf/ldconfig.c: Likewise.
31453 * elf/pldd.c: Likewise.
31454 * elf/sotruss.ksh: Likewise.
31455 * catgets/gencat.c: Likewise.
31456 * csu/version.c: Likewise.
31457 * elf/ldd.bash.in: Likewise.
31458 * elf/sprof.c (print_version): Likewise.
31459 * locale/programs/locale.c: Likewise.
31460 * locale/programs/localedef.c: Likewise.
31461 * login/programs/pt_chown.c: Likewise.
31462 * nscd/nscd.c (print_version): Likewise.
31463 * debug/xtrace.sh: Likewise.
31464 * malloc/memusage.sh: Likewise.
31465 * malloc/mtrace.pl: Likewise.
31466 * debug/catchsegv.sh: Likewise.
31468 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31470 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31473 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31476 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31477 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31479 * iconv/gconv_int.h: Likewise.
31480 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31481 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31482 from libc for GLIBC_2.16.
31483 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31484 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31485 * wcsmbs/uchar.h: Really define mbstate_t.
31486 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31487 * wcsmbs/c16rtomb.c: New file.
31488 * wcsmbs/mbrtoc16.c: New file.
31489 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31490 for C/POSIX locale.
31491 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31492 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31494 * wcsmbs/wchar.h: Add missing __restrict.
31496 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31499 * time/Makefile (routines): Add timespec_get.
31500 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31501 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31502 timespec for ISO C11.
31503 * time/timespec_get.c: New file.
31504 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31505 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31508 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31509 * stdlib/stdlib.h: Declare aligned_alloc.
31510 * Versions.def: Add GLIBC_2.16 for libc.
31511 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31514 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31517 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31521 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31524 * assert/assert.h (static_assert): Define.
31526 * version.h: Update for 2.16 development version.
31529 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31532 * version.h (RELEASE): Bump for 2.15 release.
31533 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31535 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31536 Patch by Marek Polacek <mpolacek@redhat.com>.
31538 * bits/byteswap.h: Protect long long constants with __extension__.
31539 * sysdeps/i386/bits/byteswap.h: Likewise.
31540 * sysdeps/ia64/bits/byteswap.h: Likewise.
31541 * sysdeps/s390/bits/byteswap.h: Likewise.
31542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31544 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31548 destination buffer.
31549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31551 2011-12-23 Marek Polacek <polacek@redhat.com>
31553 * elf/dl-addr.c (determine_info): Add inline keyword.
31554 * elf/tst-auditmod4b.c (check_avx): Likewise.
31555 * elf/tst-auditmod6b.c (check_avx): Likewise.
31556 * elf/tst-auditmod6c.c (check_avx): Likewise.
31557 * elf/tst-auditmod7b.c (check_avx): Likewise.
31559 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31561 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31564 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31568 processing for last bytes.
31570 2011-08-06 Bruno Haible <bruno@clisp.org>
31573 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31574 U+0385, not to U+1FEE.
31577 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31578 entry for U+00A5 U+0301.
31580 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31583 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31584 buffer for the output is too small.
31586 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31590 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31591 SSE flags if possible.
31593 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31597 processing for last bytes.
31599 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31601 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31602 (syscall-list-default-options, syscall-list-default-condition)
31603 (syscall-list-includes): Define.
31604 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31605 list of ABIs and options and #if conditions for each ABI. Do not
31606 handle common syscalls between ABIs specially.
31607 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31609 (syscall-list-variants, syscall-list-32bit-options)
31610 (syscall-list-32bit-condition, syscall-list-64bit-options)
31611 (syscall-list-64bit-condition): Define.
31612 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31613 (syscall-list-variants, syscall-list-32bit-options)
31614 (syscall-list-32bit-condition, syscall-list-64bit-options)
31615 (syscall-list-64bit-condition): Define.
31616 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31618 (syscall-list-variants, syscall-list-32bit-options)
31619 (syscall-list-32bit-condition, syscall-list-64bit-options)
31620 (syscall-list-64bit-condition): Define.
31621 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31623 (syscall-list-variants, syscall-list-32bit-options)
31624 (syscall-list-32bit-condition, syscall-list-64bit-options)
31625 (syscall-list-64bit-condition): Define.
31627 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31629 * locale/iso-639.def: Add brx entry.
31632 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31633 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31635 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31636 __feraiseexcept_renamed.
31638 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31641 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31642 EPOLLET with unsigned values.
31643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31646 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31647 to large cancellation.
31648 * math/s_cacoshf.c: Likewise.
31649 * math/s_cacoshl.c: Likewise.
31651 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31655 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31656 * math/s_cacoshf.c: Likewise.
31657 * math/s_cacoshl.c: Likewise.
31659 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31662 * iconv/gconv.h: Define __GCONV_SWAP.
31663 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31664 * iconvdata/utf-16.c: Likewise.
31665 * iconvdata/utf-32.c: Likewise.
31667 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31671 numerator after shifting it by one limb.
31673 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31675 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31676 under [__USE_EXTERN_INLINES].
31678 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31681 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31683 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31685 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31686 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31688 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31690 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31691 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31692 for strncasecmp/strncasecmp_l compilation.
31693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31694 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31696 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31699 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31702 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31705 * time/tzfile.c (__tzfile_read): Check values from file header.
31707 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31709 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31710 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31711 * powerpc/powerpc32/dl-start.S: Likewise.
31712 * powerpc/powerpc32/elf/start.S: Likewise.
31713 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31714 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31715 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31716 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31717 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31718 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31719 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31720 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31721 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31722 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31723 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31724 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31725 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31726 * powerpc/powerpc32/memset.S: Likewise.
31727 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31728 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31729 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31730 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31731 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31732 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31733 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31734 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31735 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31736 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31737 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31741 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31743 * math/libm-test.inc: Added more nearbyint tests.
31744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31749 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31751 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31754 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31756 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31757 Add wcscpy-ssse3 wcscpy-c.
31758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31759 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31760 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31761 * sysdeps/x86_64/wcschr.S: New file.
31762 * sysdeps/x86_64/wcsrchr.S: New file.
31763 * string/test-strcmp.c: Remove checking of wcscmp function for
31765 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31766 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31767 wcsrchr-sse2 wcsrchr-c.
31768 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31769 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31770 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31771 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31772 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31773 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31774 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31775 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31777 * wcsmbc/wcschr.c (WCSCHR): New macro.
31779 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31781 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31782 * wcsmbs/test-wcsrchr.c: New file.
31783 * string/test-strrchr.c: Add wcsrchr support.
31785 * wcsmbs/test-wcscpy.c: New file.
31786 * string/test-strcpy.c: Add wcscpy support.
31789 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31794 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31797 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31799 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31802 Minor optimizations.
31804 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31805 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31806 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31808 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31810 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31811 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31812 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31813 for gcc to avoid warnings.
31814 * inet/Makefile (tests): Add tst-checks.
31815 * inet/tst-checks.c: New file.
31817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31820 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31823 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31824 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31826 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31828 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31830 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31833 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31835 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31837 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31838 conditional on GCC version.
31839 (__arch_compare_and_exchange_val_8_acq)
31840 (__arch_compare_and_exchange_val_16_acq)
31841 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31842 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31843 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31845 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31847 * sysdeps/sh/backtrace.c: New file.
31849 2011-12-02 Andreas Schwab <schwab@redhat.com>
31851 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31854 2011-12-01 Andreas Schwab <schwab@redhat.com>
31856 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31857 falling back to utime.
31859 2011-11-30 Andreas Schwab <schwab@redhat.com>
31861 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31862 expectations for float.
31864 2011-11-29 Andreas Schwab <schwab@redhat.com>
31866 * locale/weight.h (findidx): Add parameter len.
31867 * locale/weightwc.h (findidx): Likewise.
31868 * posix/fnmatch_loop.c (FCT): Adjust caller.
31869 * posix/regcomp.c (build_equiv_class): Likewise.
31870 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31871 * posix/regexec.c (check_node_accept_bytes): Likewise.
31872 * string/strcoll_l.c (STRCOLL): Likewise.
31873 * string/strxfrm_l.c (STRXFRM): Likewise.
31875 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31877 * Makefile.in: Remove CVSOPT handling.
31878 * configure.in: Remove use of AC_REVISION.
31879 * iconvdata/Makefile (distribute): No need to filter out CVS.
31880 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31883 2011-11-16 Andreas Schwab <schwab@redhat.com>
31885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31886 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31887 [USE_AS_STRNCASECMP_L]: Likewise.
31888 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31889 NO_TLS_DIRECT_SEG_REFS.
31890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31891 Fix argument offsets for non-PIC.
31892 [USE_AS_STRNCASECMP_L]: Likewise.
31893 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31894 NO_TLS_DIRECT_SEG_REFS.
31896 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31898 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31900 * locale/loadlocale.c (_nl_load_locale): Likewise.
31902 2011-11-15 Andreas Schwab <schwab@redhat.com>
31904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31905 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31907 (SYSCALL_GETTIME): Set errno on error.
31909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31910 count references to noai6ai_cached.
31912 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31914 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31916 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31917 FD_CLOEXEC for /proc/self/maps.
31919 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31920 FD_CLOEXEC for /proc/meminfo.
31922 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31925 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31926 FD_CLOEXEC for given file.
31928 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31930 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31931 FD_CLOEXEC for /etc/hosts.
31932 (_gethtent): Likewise.
31934 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31936 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31937 cancellation and set FD_CLOEXEC for /etc/netgroup.
31939 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31940 reading /etc/publickey.
31942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31943 allow cancellation when reading /etc/group.
31945 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31947 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31949 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31950 when using data file.
31952 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31954 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31955 (write_nis_obj): Use "c" and "e" in fopen.
31957 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31959 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31961 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31963 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31965 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31968 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31970 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31972 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31974 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31975 file parsing and set FD_CLOEXEC.
31977 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31979 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31981 2011-11-14 Andreas Schwab <schwab@redhat.com>
31983 * malloc/arena.c (arena_get2): Don't call reused_arena when
31984 _int_new_arena failed.
31986 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31989 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31991 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31994 to compile strcasecmp and strncasecmp.
31995 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31996 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32000 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32003 locale-defines.sym to gen-as-const-headers.
32004 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32005 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32007 to compile strcasecmp and strncasecmp.
32008 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32009 strcasecmp_l and strncasecmp_l.
32010 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32011 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32012 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32013 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32014 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32015 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32016 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32017 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32018 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32019 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32020 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32022 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32024 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32025 result of SYSDEP_GETTIME_CPU to retval.
32026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32027 parameter list to macro. Remove trailing semicolon. Adjust users.
32029 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32032 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32037 from unused variable.
32039 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32041 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32044 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32047 * sunrpc/rpc_prot.c (rejected): Fix case value.
32049 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32050 unsigned long long int to avoid warnings in shift.
32052 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32054 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32057 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32058 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32061 * nis/nis_table.c (nis_list): Use variable of correct type for
32062 result of __follow_path call.
32064 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32066 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32067 of math functions ceil, trunc, floor, round, and sqrt, when
32068 avaliable on the platform.
32069 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32075 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32077 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32080 2011-11-11 Roland McGrath <roland@hack.frob.com>
32082 * include/unistd.h: Fix __readlink return type.
32083 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32085 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32087 * stdlib/ucontext.h: Undo last change for makecontext.
32089 2011-11-11 Andreas Schwab <schwab@redhat.com>
32091 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32093 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32094 * setjmp/setjmp.h: Mark functions as non-leaf.
32095 * setjmp/bits/setjmp2.h: Likewise.
32096 * stdlib/ucontext.h: Likewise.
32098 2011-11-10 Andreas Schwab <schwab@redhat.com>
32100 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32101 (reused_arena): Don't check arena limit.
32102 (arena_get2): Atomically check arena limit.
32104 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32106 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32107 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32112 2011-11-07 Andreas Schwab <schwab@redhat.com>
32114 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32115 handler when locking.
32117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32118 Fix size of allocated buffer.
32120 2011-11-04 Andreas Schwab <schwab@redhat.com>
32123 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32124 declarations for long double functions.
32125 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32127 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32129 2011-11-03 Andreas Schwab <schwab@redhat.com>
32131 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32134 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32137 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32139 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32141 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32143 * include/alloca.h (stackinfo_alloca_round): Define.
32144 (extend_alloca): Use it.
32145 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32146 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32149 * scripts/check-local-headers.sh: Ignore libaudit.h.
32151 * nscd/Makefile (extra-objs): Make recursively expanded.
32153 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32155 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32158 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32159 * posix/tst-rfc3484-2.c: Likewise.
32160 * posix/tst-rfc3484-3.c: Likewise.
32162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32164 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32166 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32167 process_vm_writev from libc using GLIBC_2.15 version.
32169 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32171 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32173 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32176 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32179 * nss/getent.c (initgroups_keys): Show error message in case no group
32182 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32183 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32184 __bump_nl_timestamp.
32185 * nscd/connections (nscd_init): When host database is served open
32186 netlink socket and request notification about configuration changes.
32187 (main_loop_poll): Track netlink file descriptor and bump timestamp
32188 in case data becomes available.
32189 (main_loop_epoll): Likewise.
32190 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32191 (database_pers_head): Add extra_data fileds.
32192 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32194 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32197 in6ai data, call __free_in6ai.
32198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32199 Add -DHAVE_NETLINK.
32200 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32201 interface information. Reuse previous data if netlink timestamp
32203 (__bump_nl_timestamp): New function.
32204 (__free_in6ai): New function.
32206 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32209 close_not_cancel_no_status here.
32210 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32212 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32215 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32218 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32219 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32220 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32222 2011-07-03 Andreas Jaeger <aj@suse.de>
32225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32226 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32227 * math/libm-test.inc (sin_test): Add test case.
32229 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32232 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32235 * elf/chroot_canon.c (chroot_canon): Cleanups.
32237 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32240 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32243 * string/test-strchr.c: Make usable for strchrnul testing.
32244 * string/test-strchrnul.c: New file.
32245 * string/Makefile (strop-tests): Add strchrnul.
32247 * po/it.po: Update from translation team.
32248 * po/es.po: Likewise.
32250 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32252 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32253 the three constants needed as parameters. Drop the others.
32254 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32255 __m128i_strloadu_tolower.
32256 Create and initialize variable zero and use it in all the places
32257 where _mm_setzero_si128 was used.
32259 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32260 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32261 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32267 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32269 __mpranred, __mptan.
32270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32280 2011-10-28 Andreas Schwab <schwab@redhat.com>
32282 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32283 redefine if SHARED.
32284 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32287 wide char related routines to wcsmbs subdir.
32289 2011-10-27 Andreas Schwab <schwab@redhat.com>
32292 * misc/sys/cdefs.h (__THROWNL): Define.
32293 * posix/unistd.h: Use __THREADNL instead of __THREAD
32294 for memory synchronization functions.
32296 2011-10-26 Roland McGrath <roland@hack.frob.com>
32299 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32301 * manual/stdio.texi (Obstack Streams): Node removed.
32303 2011-10-26 Andreas Schwab <schwab@redhat.com>
32305 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32309 * math/math_private.h (math_force_eval): Allow non-addressable
32311 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32313 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32315 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32316 file is not needed.
32318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32347 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32348 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32351 place. Use VEX encoding when compiling for AVX.
32353 2011-10-25 Andreas Schwab <schwab@redhat.com>
32355 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32358 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32360 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32362 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32363 useless if() expression.
32364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32382 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32384 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32386 2011-10-25 Andreas Schwab <schwab@redhat.com>
32388 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32392 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32394 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32395 .text section. Avoid duplicate constants.
32396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32408 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32442 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32444 * sysdeps/x86_64/dla.h: Move to ...
32445 * sysdeps/x86_64/fpu/dla.h: ...here.
32446 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32447 situations. Use __builtin_fma only for gcc 4.6 and up.
32449 * config.make.in: Add have-mfma4 entry.
32450 * configure.in: Substitute libc_cv_cc_fma4.
32451 * math/Makefile (dbl-only-routines): Add sincostab.
32452 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32453 Use __sincostab not sincos.
32454 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32461 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32462 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32463 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32464 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32467 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32469 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32470 define aliases when function name is a macro.
32471 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32472 sysdeps/ieee754/dbl-64/sincos.tbl.
32473 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32474 fma4-enabled routines.
32475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32485 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32487 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32502 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32504 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32506 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32517 2011-10-24 Andreas Schwab <schwab@redhat.com>
32519 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32521 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32525 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32529 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32530 Remove unused variable magic_bits.
32531 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32533 * string/strnlen.c: Define and use STRNLEN macro.
32534 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32535 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32537 * wcsmbs/wcslen.c: Define and use WCSLEN.
32538 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32539 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32540 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32541 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32542 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32543 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32546 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32549 strnlen-sse2-no-bsf.
32550 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32552 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32553 Add strnlen support.
32554 (USE_AS_STRNLEN): New macro.
32555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32557 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32558 * sysdeps/x86_64/wcslen.S: New file.
32560 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32563 XMM-moves are used for copying on small sizes.
32565 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32567 * wcsmbs/Makefile (strop-tests): Add wcschr.
32568 * wcsmbs/test-wcschr.c: New file.
32569 * string/test-strchr.c: Update.
32570 Add wcschr support.
32573 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32575 * wcsmbs/Makefile (strop-tests): Add wcslen.
32576 * wcsmbs/test-wcslen.c: New file.
32577 * string/test-strlen.c: Update.
32578 Add wcslen support.
32581 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32583 * po/it.po: Update from translation team.
32585 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32587 * sysdeps/x86_64/wcscmp.S: Update.
32588 Fix wrong comparison semantics.
32589 wcscmp shall use signed comparison not unsigned.
32590 Don't use substraction to avoid overflow bug.
32591 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32592 * wcsmbc/wcscmp.c: Likewise.
32593 * string/test-strcmp.c: Likewise.
32594 Add new tests to check cases with negative values.
32596 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32598 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32599 * sysdeps/x86_64/dla.h: ...here. New file.
32600 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32610 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32613 __ynl_finite aliases.
32615 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32619 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32621 [DLA_FMA] (EMULV): Use DLA_FMA.
32622 [DLA_FMA] (MUL12): Use EMULV.
32623 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32624 that are not needed.
32625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32633 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32635 * math/s_nan.c: Undef __nan.
32636 * math/s_nanf.c: Undef __nanf.
32637 * math/s_nanl.c: Undef __nanl.
32638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32641 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32643 * math/s_catan.c: Add branch predictions.
32644 * math/s_catanf.c: Likewise.
32645 * math/s_catanh.c: Likewise.
32646 * math/s_catanhf.c: Likewise.
32647 * math/s_catanhl.c: Likewise.
32648 * math/s_catanl.c: Likewise.
32649 * math/s_cexp.c: Likewise.
32650 * math/s_cexpf.c: Likewise.
32651 * math/s_cexpl.c: Likewise.
32652 * math/s_clog.c: Likewise.
32653 * math/s_clog10.c: Likewise.
32654 * math/s_clog10f.c: Likewise.
32655 * math/s_clog10l.c: Likewise.
32656 * math/s_clogf.c: Likewise.
32657 * math/s_clogl.c: Likewise.
32658 * math/s_csqrt.c: Likewise.
32659 * math/s_csqrtf.c: Likewise.
32660 * math/s_csqrtl.c: Likewise.
32661 * math/s_ctanf.c: Likewise.
32662 * math/s_ctanh.c: Likewise.
32663 * math/s_ctanhf.c: Likewise.
32664 * math/s_ctanhl.c: Likewise.
32665 * math/s_ctanl.c: Likewise.
32667 * math/math_private.h: Define __nan, __nanf, __nanl.
32668 * math/s_cacosh.c: Include <math_private.h>.
32669 * math/s_cacoshl.c: Likewise.
32670 * math/s_casinh.c: Likewise.
32671 * math/s_casinhf.c: Likewise.
32672 * math/s_casinhl.c: Likewise.
32673 * math/s_ccos.c: Rely entire on ccosh.
32674 * math/s_ccosf.c: Rely entire on ccoshf.
32675 * math/s_ccosl.c: Rely entirely on ccoshl.
32676 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32677 Remove tests for FE_INVALID.
32678 * math/s_ccoshf.c: Likewise.
32679 * math/s_ccoshl.c: Likewise.
32680 * math/s_csin.c: Likewise.
32681 * math/s_csinf.c: Likewise.
32682 * math/s_csinh.c Likewise.
32683 * math/s_csinhf.c: Likewise.
32684 * math/s_csinhl.c: Likewise.
32685 * math/s_csinl.c: Likewise.
32686 * math/s_ctan.c: Likewise.
32687 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32688 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32691 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32694 compilation problems.
32696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32699 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32701 * sysdeps/i386/configure.in: Test for -mfma4 option.
32702 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32703 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32704 COMMON_CPUID_INDEX_80000001.
32705 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32706 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32707 use it if FMA3 is not supported.
32708 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32710 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32713 2011-10-20 Andreas Schwab <schwab@redhat.com>
32716 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32717 it would create a cycle with a link time dependency.
32719 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32721 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32723 * string/Makefile (strop-tests): Add rawmemchr.
32724 * string/test-rawmemchr.c: New file.
32726 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32727 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32728 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32729 when compiling str{,n}casecmp and when AVX is available. Hook up
32730 new optimized code in initializers.
32732 2011-10-19 Andreas Schwab <schwab@redhat.com>
32734 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32735 __feraiseexcept instead of feraiseexcept.
32737 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32739 * math/math_private.h: Define defaults for libc_fetestexcept and
32741 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32742 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32747 libc_fetestexcept and libc_feupdateenv.
32749 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32750 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32751 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32752 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32753 libc_feholdexcept_setround.
32755 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32756 Add s_nearbyint-c and s_nearbyintf-c.
32757 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32758 nearbyintf inlines.
32759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32764 * math/math_private.h: Define defaults for libc_fegetround,
32765 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32766 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32767 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32769 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32770 standard functions.
32771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32772 Remove comments and hacks for old compiler versions.
32773 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32774 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32775 libc_feholdexceptl.
32777 2011-10-18 Andreas Schwab <schwab@redhat.com>
32779 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32780 (__feraiseexcept_renamed): Add __NTH.
32781 (feraiseexcept): Add __NTH. Rename local variables to fix
32782 namespace violations.
32784 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32790 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32791 recently added interfaces.
32792 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32794 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32795 about macro parameter expansion.
32797 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32798 __NO_MATH_INLINES is defined. Cleanups.
32800 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32801 and __floorf is target has SSE4.1.
32802 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32803 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32805 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32807 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32809 (floorf): Likewise.
32811 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32813 2011-10-17 Andreas Schwab <schwab@redhat.com>
32815 * misc/sys/cdefs.h: Fix last change.
32817 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32820 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32822 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32824 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32832 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32834 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32835 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32836 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32837 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32838 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32839 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32841 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32842 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32843 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32845 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32847 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32848 ceil, ceilf, floor, floorf.
32850 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32851 Perform IRELATIVE relocations last.
32853 * elf/do-rel.h: Add another parameter nrelative, replacing the
32854 local variable with the same name. Change name of the function
32855 to end in Rel or Rela (uppercase).
32856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32857 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32858 elf_dynamic_do_##reloc function.
32860 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32862 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32863 is sufficient, at least on modern CPUs.
32865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32867 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32870 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32872 * math/bits/math-finite.h: Add entries for exp.
32873 * math/e_expl.c: Add __*_finite alias.
32874 * sysdeps/i386/fpu/e_exp.S: Likewise.
32875 * sysdeps/i386/fpu/e_expf.S: Likewise.
32876 * sysdeps/i386/fpu/e_expl.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32878 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32879 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32882 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32883 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32885 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32886 is sufficient, at least on modern CPUs.
32888 * ctype/ctype-info.c (__ctype_init): Define.
32889 * include/ctype.h (__ctype_init): Declare.
32890 (__ctype_b_loc): The variable is always initialized.
32891 (__ctype_toupper_loc): Likewise.
32892 (__ctype_tolower_loc): Likewise.
32893 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32894 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32896 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32898 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32900 * configure.in: Also look in $cxxmachine/include for C++ system
32903 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32905 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32906 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32907 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32908 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32909 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32910 (USE_AS_WMEMCMP): New macro.
32912 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32913 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32914 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32915 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32917 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32918 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32920 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32921 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32922 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32923 (USE_AS_WMEMCMP): New macro.
32924 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32925 * sysdeps/string/test-memcmp.c: Update.
32926 Fix simple_wmemcmp.
32928 * wcsmbs/wmemcmp.c: Update.
32929 (WMEMCMP): New macro.
32932 2011-10-12 Andreas Jaeger <aj@suse.de>
32935 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32937 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32939 * libio/iofwide.c (do_length): Avoid warning.
32941 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32943 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32945 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32947 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32948 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32949 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32950 * sysdeps/i386/i686/fpu/e_log.S: New file.
32951 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32952 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32954 * ctype/ctype.h: Add support for inlined isXXX functions when
32955 compiling C++ code.
32957 2011-10-14 Andreas Schwab <schwab@redhat.com>
32959 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32963 2011-10-13 Roland McGrath <roland@hack.frob.com>
32966 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32968 2011-10-13 Andreas Schwab <schwab@redhat.com>
32970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32971 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32974 * sysdeps/x86_64/memrchr.S: Check for zero size.
32976 * string/stratcliff.c: Add memrchr tests.
32978 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32981 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32982 rawmemchr-sse2 rawmemchr-sse2-bsf.
32983 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32984 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32985 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32986 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32987 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32988 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32989 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32990 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32993 * string/memrchr.c (MEMRCHR): New macro.
32995 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32997 Add integration with gcc's -ffinite-math-only and optimize wrapper
32999 * Versions.def: Define GLIBC_2.15 version for libm.
33000 * math/Makefile (headers): Add bits/math-finite.h.
33001 * math/bits/math-finite.h: New file.
33002 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33003 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33004 * math/e_acoshl.c: Add __*_finite alias.
33005 * math/e_acosl.c: Likewise.
33006 * math/e_asinl.c: Likewise.
33007 * math/e_atan2l.c: Likewise.
33008 * math/e_atanhl.c: Likewise.
33009 * math/e_coshl.c: Likewise.
33010 * math/e_exp10.c: Likewise.
33011 * math/e_exp10f.c: Likewise.
33012 * math/e_exp10l.c: Likewise.
33013 * math/e_exp2l.c: Likewise.
33014 * math/e_fmodl.c: Likewise.
33015 * math/e_gammal_r.c: Likewise.
33016 * math/e_hypotl.c: Likewise.
33017 * math/e_j0l.c: Likewise.
33018 * math/e_j1l.c: Likewise.
33019 * math/e_jnl.c: Likewise.
33020 * math/e_lgammal_r.c: Likewise.
33021 * math/e_log10l.c: Likewise.
33022 * math/e_log2l.c: Likewise.
33023 * math/e_logl.c: Likewise.
33024 * math/e_powl.c: Likewise.
33025 * math/e_sinhl.c: Likewise.
33026 * math/e_sqrtl.c: Likewise.
33027 * math/e_scalb.c: Completely rewritten and optimized.
33028 * math/e_scalbf.c: Likewise.
33029 * math/e_scalbl.c: Likewise.
33030 * math/w_acos.c: Likewise.
33031 * math/w_acosf.c: Likewise.
33032 * math/w_acosl.c: Likewise.
33033 * math/w_acosh.c: Likewise.
33034 * math/w_acoshf.c: Likewise.
33035 * math/w_acoshl.c: Likewise.
33036 * math/w_asin.c: Likewise.
33037 * math/w_asinf.c: Likewise.
33038 * math/w_asinl.c: Likewise.
33039 * math/w_atan2.c: Likewise.
33040 * math/w_atan2f.c: Likewise.
33041 * math/w_atan2l.c: Likewise.
33042 * math/w_atanh.c: Likewise.
33043 * math/w_atanhf.c: Likewise.
33044 * math/w_atanhl.c: Likewise.
33045 * math/w_exp10.c: Likewise.
33046 * math/w_exp10f.c: Likewise.
33047 * math/w_exp10l.c: Likewise.
33048 * math/w_fmod.c: Likewise.
33049 * math/w_fmodf.c: Likewise.
33050 * math/w_fmodl.c: Likewise.
33051 * math/w_j0.c: Likewise.
33052 * math/w_j0f.c: Likewise.
33053 * math/w_j0l.c: Likewise.
33054 * math/w_j1.c: Likewise.
33055 * math/w_j1f.c: Likewise.
33056 * math/w_j1l.c: Likewise.
33057 * math/w_jn.c: Likewise.
33058 * math/w_jnf.c: Likewise.
33059 * math/w_log.c: Likewise.
33060 * math/w_logf.c: Likewise.
33061 * math/w_logl.c: Likewise.
33062 * math/w_log10.c: Likewise.
33063 * math/w_log10f.c: Likewise.
33064 * math/w_log10l.c: Likewise.
33065 * math/w_log2.c: Likewise.
33066 * math/w_log2f.c: Likewise.
33067 * math/w_log2l.c: Likewise.
33068 * math/w_pow.c: Likewise.
33069 * math/w_powf.c: Likewise.
33070 * math/w_powl.c: Likewise.
33071 * math/w_remainder.c: Likewise.
33072 * math/w_remainderf.c: Likewise.
33073 * math/w_remainderl.c: Likewise.
33074 * math/w_scalb.c: Likewise.
33075 * math/w_scalbf.c: Likewise.
33076 * math/w_scalbl.c: Likewise.
33077 * math/w_sqrt.c: Likewise.
33078 * math/w_sqrtf.c: Likewise.
33079 * math/w_sqrtl.c: Likewise.
33080 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33081 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33083 * math/math_private.h: Declare __kernel_standard_f.
33084 * math/w_cosh.c: Remove cruft and optimize a bit.
33085 * math/w_coshf.c: Likewise.
33086 * math/w_coshl.c: Likewise.
33087 * math/w_exp2.c: Likewise.
33088 * math/w_exp2f.c: Likewise.
33089 * math/w_exp2l.c: Likewise.
33090 * math/w_hypot.c: Likewise.
33091 * math/w_hypotf.c: Likewise.
33092 * math/w_hypotl.c: Likewise.
33093 * math/w_lgamma.c: Likewise.
33094 * math/w_lgamma_r.c: Likewise.
33095 * math/w_lgammaf.c: Likewise.
33096 * math/w_lgammaf_r.c: Likewise.
33097 * math/w_lgammal.c: Likewise.
33098 * math/w_lgammal_r.c: Likewise.
33099 * math/w_sinh.c: Likewise.
33100 * math/w_sinhf.c: Likewise.
33101 * math/w_sinhl.c: Likewise.
33102 * math/w_tgamma.c: Likewise.
33103 * math/w_tgammaf.c: Likewise.
33104 * math/w_tgammal.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33107 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33108 Minor optimizations. Pretty printing. Remove cruft.
33109 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33110 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33111 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33113 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33114 * sysdeps/i386/fpu/e_asin.S: Likewise.
33115 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33116 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33117 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33118 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33122 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33123 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33124 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33125 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33126 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33127 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33128 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33129 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33130 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33131 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33132 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33133 * sysdeps/i386/fpu/e_log.S: Likewise.
33134 * sysdeps/i386/fpu/e_log10.S: Likewise.
33135 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33136 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33137 * sysdeps/i386/fpu/e_log2.S: Likewise.
33138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33140 * sysdeps/i386/fpu/e_logf.S: Likewise.
33141 * sysdeps/i386/fpu/e_logl.S: Likewise.
33142 * sysdeps/i386/fpu/e_pow.S: Likewise.
33143 * sysdeps/i386/fpu/e_powf.S: Likewise.
33144 * sysdeps/i386/fpu/e_powl.S: Likewise.
33145 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33146 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33147 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33148 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33149 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33151 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33152 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33153 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33168 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33170 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33175 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33179 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33181 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33183 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33185 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33188 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33189 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33190 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33191 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33192 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33193 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33194 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33195 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33245 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33247 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33248 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33249 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33250 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33251 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33252 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33253 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33254 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33255 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33256 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33257 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33258 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33262 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33264 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33265 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33266 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33267 (__isnanf): Likewise.
33268 (__isinf_ns): Likewise.
33269 (__isinf_nsf): Likewise.
33270 (__finite): Likewise.
33271 (__finitef): Likewise.
33272 (__ieee754_sqrt): Define as macro.
33273 (__ieee754_sqrtf): Define as macro.
33274 (__ieee754_sqrtl): Define as macro.
33275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33277 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33278 __FINITE_MATH_ONLY__ consistent.
33279 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33281 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33283 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33288 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33290 * po/ja.po: Update from translation team.
33292 2011-10-08 Roland McGrath <roland@hack.frob.com>
33294 * locale/programs/locarchive.c (prepare_address_space): New function.
33295 (create_archive, enlarge_archive, open_archive): Use it.
33297 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33298 inside [SHARED], where it is used.
33300 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33302 * nss/getent.c (netgroup_keys): Remove unused variable.
33303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33305 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33307 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33312 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33313 * math/Makefile (libm-calls): Add s_isinf_ns.
33314 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33315 * math/multc3.c: Likewise.
33316 * math/s_casin.c: Likewise.
33317 * math/s_casinf.c: Likewise.
33318 * math/s_casinl.c: Likewise.
33319 * math/s_ccos.c: Likewise.
33320 * math/s_ccosf.c: Likewise.
33321 * math/s_ccosl.c: Likewise.
33322 * math/s_ctan.c: Likewise.
33323 * math/s_ctanf.c: Likewise.
33324 * math/s_ctanh.c: Likewise.
33325 * math/s_ctanhf.c: Likewise.
33326 * math/s_ctanhl.c: Likewise.
33327 * math/s_ctanl.c: Likewise.
33328 * math/w_fmod.c: Likewise.
33329 * math/w_fmodf.c: Likewise.
33330 * math/w_fmodl.c: Likewise.
33331 * math/w_remainder.c: Likewise.
33332 * math/w_remainderf.c: Likewise.
33333 * math/w_remainderl.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33335 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33338 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33339 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33340 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33341 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33343 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33345 * stdio-common/printf_fphex.c: Likewise.
33346 * stdio-common/printf_size.c: Likewise.
33348 * math/e_exp10.c: Include math_private.h using <...> not "...".
33349 * math/e_exp10f.c: Likewise.
33350 * math/e_exp10l.c: Likewise.
33351 * math/e_exp2l.c: Likewise.
33352 * math/e_j0l.c: Likewise.
33353 * math/e_j1l.c: Likewise.
33354 * math/e_jnl.c: Likewise.
33355 * math/e_lgammal_r.c: Likewise.
33356 * math/e_rem_pio2l.c: Likewise.
33357 * math/e_scalb.c: Likewise.
33358 * math/e_scalbf.c: Likewise.
33359 * math/e_scalbl.c: Likewise.
33360 * math/k_cosl.c: Likewise.
33361 * math/k_sinl.c: Likewise.
33362 * math/k_tanl.c: Likewise.
33363 * math/s_cacoshf.c: Likewise.
33364 * math/s_catan.c: Likewise.
33365 * math/s_catanf.c: Likewise.
33366 * math/s_catanh.c: Likewise.
33367 * math/s_catanhf.c: Likewise.
33368 * math/s_catanhl.c: Likewise.
33369 * math/s_catanl.c: Likewise.
33370 * math/s_ccosh.c: Likewise.
33371 * math/s_ccoshf.c: Likewise.
33372 * math/s_ccoshl.c: Likewise.
33373 * math/s_cexp.c: Likewise.
33374 * math/s_cexpf.c: Likewise.
33375 * math/s_cexpl.c: Likewise.
33376 * math/s_clog.c: Likewise.
33377 * math/s_clog10.c: Likewise.
33378 * math/s_clog10f.c: Likewise.
33379 * math/s_clog10l.c: Likewise.
33380 * math/s_clogf.c: Likewise.
33381 * math/s_clogl.c: Likewise.
33382 * math/s_csin.c: Likewise.
33383 * math/s_csinf.c: Likewise.
33384 * math/s_csinh.c: Likewise.
33385 * math/s_csinhf.c: Likewise.
33386 * math/s_csinhl.c: Likewise.
33387 * math/s_csinl.c: Likewise.
33388 * math/s_csqrt.c: Likewise.
33389 * math/s_csqrtf.c: Likewise.
33390 * math/s_csqrtl.c: Likewise.
33391 * math/s_ctan.c: Likewise.
33392 * math/s_ctanf.c: Likewise.
33393 * math/s_ctanh.c: Likewise.
33394 * math/s_ctanhf.c: Likewise.
33395 * math/s_ctanhl.c: Likewise.
33396 * math/s_ctanl.c: Likewise.
33397 * math/s_ldexp.c: Likewise.
33398 * math/s_ldexpf.c: Likewise.
33399 * math/s_ldexpl.c: Likewise.
33400 * math/s_significand.c: Likewise.
33401 * math/s_significandf.c: Likewise.
33402 * math/s_significandl.c: Likewise.
33403 * math/w_acos.c: Likewise.
33404 * math/w_acosf.c: Likewise.
33405 * math/w_acosh.c: Likewise.
33406 * math/w_acoshf.c: Likewise.
33407 * math/w_acoshl.c: Likewise.
33408 * math/w_acosl.c: Likewise.
33409 * math/w_asin.c: Likewise.
33410 * math/w_asinf.c: Likewise.
33411 * math/w_asinl.c: Likewise.
33412 * math/w_atan2.c: Likewise.
33413 * math/w_atan2f.c: Likewise.
33414 * math/w_atan2l.c: Likewise.
33415 * math/w_atanh.c: Likewise.
33416 * math/w_atanhf.c: Likewise.
33417 * math/w_atanhl.c: Likewise.
33418 * math/w_cosh.c: Likewise.
33419 * math/w_coshf.c: Likewise.
33420 * math/w_coshl.c: Likewise.
33421 * math/w_dremf.c: Likewise.
33422 * math/w_exp10.c: Likewise.
33423 * math/w_exp10f.c: Likewise.
33424 * math/w_exp10l.c: Likewise.
33425 * math/w_exp2.c: Likewise.
33426 * math/w_exp2f.c: Likewise.
33427 * math/w_fmod.c: Likewise.
33428 * math/w_fmodf.c: Likewise.
33429 * math/w_fmodl.c: Likewise.
33430 * math/w_hypot.c: Likewise.
33431 * math/w_hypotf.c: Likewise.
33432 * math/w_hypotl.c: Likewise.
33433 * math/w_j0.c: Likewise.
33434 * math/w_j0f.c: Likewise.
33435 * math/w_j0l.c: Likewise.
33436 * math/w_j1.c: Likewise.
33437 * math/w_j1f.c: Likewise.
33438 * math/w_j1l.c: Likewise.
33439 * math/w_jn.c: Likewise.
33440 * math/w_jnf.c: Likewise.
33441 * math/w_jnl.c: Likewise.
33442 * math/w_lgamma.c: Likewise.
33443 * math/w_lgamma_r.c: Likewise.
33444 * math/w_lgammaf.c: Likewise.
33445 * math/w_lgammaf_r.c: Likewise.
33446 * math/w_lgammal.c: Likewise.
33447 * math/w_lgammal_r.c: Likewise.
33448 * math/w_log.c: Likewise.
33449 * math/w_log10.c: Likewise.
33450 * math/w_log10f.c: Likewise.
33451 * math/w_log10l.c: Likewise.
33452 * math/w_log2.c: Likewise.
33453 * math/w_log2f.c: Likewise.
33454 * math/w_log2l.c: Likewise.
33455 * math/w_logf.c: Likewise.
33456 * math/w_logl.c: Likewise.
33457 * math/w_pow.c: Likewise.
33458 * math/w_powf.c: Likewise.
33459 * math/w_powl.c: Likewise.
33460 * math/w_remainder.c: Likewise.
33461 * math/w_remainderf.c: Likewise.
33462 * math/w_remainderl.c: Likewise.
33463 * math/w_scalb.c: Likewise.
33464 * math/w_scalbf.c: Likewise.
33465 * math/w_scalbl.c: Likewise.
33466 * math/w_sinh.c: Likewise.
33467 * math/w_sinhf.c: Likewise.
33468 * math/w_sinhl.c: Likewise.
33469 * math/w_sqrt.c: Likewise.
33470 * math/w_sqrtf.c: Likewise.
33471 * math/w_sqrtl.c: Likewise.
33472 * math/w_tgamma.c: Likewise.
33473 * math/w_tgammaf.c: Likewise.
33474 * math/w_tgammal.c: Likewise.
33476 * po/ja.po: Update from translation team.
33478 2011-09-29 Andreas Jaeger <aj@suse.de>
33481 * sunrpc/netname.c (netname2host): Fix logic.
33485 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33487 * math/w_remainder.c (__remainder): Likewise.
33488 * math/w_remainderf.c (__remainderf): Likewise.
33489 * math/libm-test.inc (remainder_test): Add test cases.
33491 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33493 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33496 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33498 * string/test-memcmp.c: Avoid unncessary #defines.
33499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33501 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33503 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33504 Use new sse2 version for core i3 - i7 as it's faster
33505 than sse42 version.
33506 (bit_Prefer_PMINUB_for_stringop): New.
33507 * sysdeps/x86_64/rawmemchr.S: Update.
33508 Replace with faster SSE2 version.
33509 * sysdeps/x86_64/memrchr.S: New file.
33510 * sysdeps/x86_64/memchr.S: Update.
33511 Replace with faster SSE2 version.
33513 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33515 * elf/dl-load.c (lose): Add cast to avoid warning.
33517 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33519 * po/ca.po: Update from translation team.
33521 * inet/getnetgrent_r.c: Hook up nscd.
33522 * nscd/Makefile (routines): Add nscd_netgroup.
33523 (nscd-modules): Add netgroupcache.
33524 (CFLAGS-netgroupcache.c): Define.
33525 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33526 (cache_search): Add const to second parameter.
33527 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33529 (dbs): Add netgrdb entry.
33530 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33531 (verify_persistent_db): Handle netgrdb.
33532 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33533 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33535 (netgroup_response_header): Define.
33536 (innetgroup_response_header): Define.
33537 (datahead): Add netgroup_response_header and innetgroup_response_header
33539 * nscd/nscd.conf: Add entries for netgroup cache.
33540 * nscd/nscd.h (dbtype): Add netgrdb.
33541 (_PATH_NSCD_NETGROUP_DB): Define.
33542 (netgroup_iov_disabled): Declare.
33543 (xmalloc, xcalloc, xrealloc): Move declarations here.
33544 (cache_search): Adjust prototype.
33545 Add netgroup-related prototypes.
33546 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33547 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33548 (__nscd_innetgr): Declare.
33549 * nscd/selinux.c (perms): Use access_vector_t as element type and
33550 add netgroup-related initializers.
33551 * nscd/netgroupcache.c: New file.
33552 * nscd/nscd_netgroup.c: New file.
33553 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33554 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33555 For four parameters use innetgr.
33556 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33557 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33558 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33559 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33561 * nscd/connections.c (register_traced_file): Don't register file
33562 for disabled databases.
33564 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33566 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33568 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33569 from tree and freeing node.
33571 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33573 * nss/nsswitch.c (__nss_database_lookup): Handle
33574 nss_parse_service_list out of memory case.
33576 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33578 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33579 out of memory case.
33581 2011-10-04 Andreas Schwab <schwab@redhat.com>
33583 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33584 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33586 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33587 elf_machine_rela, elf_machine_lazy_rel.
33588 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33589 (ELF_DYNAMIC_DO_REL): Likewise.
33590 (ELF_DYNAMIC_DO_RELA): Likewise.
33591 (ELF_DYNAMIC_RELOCATE): Likewise.
33592 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33593 to ELF_DYNAMIC_DO_REL.
33594 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33595 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33596 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33599 skip_ifunc, don't call ifunc function if non-zero.
33600 (elf_machine_rela): Likewise.
33601 (elf_machine_lazy_rel): Likewise.
33602 (elf_machine_lazy_rela): Likewise.
33603 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33604 (elf_machine_lazy_rel): Likewise.
33605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33607 (elf_machine_lazy_rel): Likewise.
33608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33610 (elf_machine_lazy_rel): Likewise.
33611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33612 (elf_machine_lazy_rel): Likewise.
33613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33614 (elf_machine_lazy_rel): Likewise.
33615 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33616 (elf_machine_lazy_rel): Likewise.
33617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33618 (elf_machine_lazy_rel): Likewise.
33619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33620 (elf_machine_lazy_rel): Likewise.
33621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33622 (elf_machine_lazy_rel): Likewise.
33624 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33626 * nss/nss_files/files-init.c (_nss_files_init): Use static
33627 initialization for all the *_traced_file variables.
33629 2011-09-28 Andreas Schwab <schwab@redhat.com>
33631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33633 2011-09-27 Roland McGrath <roland@hack.frob.com>
33636 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33638 2011-09-27 Andreas Schwab <schwab@redhat.com>
33640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33641 Reread the line before reparsing it.
33643 2011-09-26 Andreas Schwab <schwab@redhat.com>
33645 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33647 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33648 Maxim Kuvyrkov <maxim@codesourcery.com>
33649 Joseph Myers <joseph@codesourcery.com>
33651 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33652 if needed for __stack_chk_guard.
33654 2011-09-19 Roland McGrath <roland@hack.frob.com>
33656 * sysdeps/posix/spawni.c (script_execute): Always define it.
33657 It will be optimized away if unused.
33658 (maybe_script_execute): New function.
33659 (__spawni): Call it.
33661 * Makerules: Don't include tls.make.
33662 (config-tls): Always set to thread.
33663 * tls.make.c: File removed.
33665 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33667 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33668 * config.make.in (CPPFLAGS-config): New substituted variable.
33670 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33672 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33675 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33676 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33678 2011-09-15 Roland McGrath <roland@hack.frob.com>
33680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33681 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33683 (CALL_FAIL): Likewise.
33684 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33685 (CALL_FAIL): Macro removed.
33686 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33688 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33690 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33691 for __FINITE_MATH_ONLY__ == 1.
33693 2011-09-15 Andreas Schwab <schwab@redhat.com>
33695 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33696 __ieee754_sqrt instead of sqrt.
33697 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33698 __ieee754_sqrtf instead of sqrtf.
33699 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33700 __floorf instead of floorf.
33701 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33702 __floorf, __truncf instead of floorf, truncf.
33704 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33706 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33708 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33709 __extern_always_inline.
33710 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33713 2011-09-14 Andreas Schwab <schwab@redhat.com>
33715 * elf/rtld.c (dl_main): Also relocate in dependency order when
33716 doing symbol dependency testing.
33718 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33721 Always define `refsym'.
33723 2011-09-13 Andreas Schwab <schwab@redhat.com>
33725 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33726 (__FD_ELT): Renamed from __FDELT.
33727 * misc/bits/select2.h (__FD_ELT): Likewise.
33728 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33729 __FD_MASK instead of __FDELT, __FDMASK.
33730 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33732 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33735 * elf/Makefile (gen-ldd): Fix pattern.
33737 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33738 (init_tls): Likewise.
33740 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33744 2011-09-12 Andreas Schwab <schwab@redhat.com>
33746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33747 `struct cmsghdr *' instead of `void *'.
33748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33751 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33753 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33755 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33756 ldd_rewrite_script.
33758 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33760 * configure.in: Remove --with-tls option.
33761 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33762 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33763 out in case it is missing.
33764 * sysdeps/ia64/elf/configure.in: Likewise.
33765 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33766 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33767 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33768 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33769 * sysdeps/sh/elf/configure.in: Likewise.
33770 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33771 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33772 * sysdeps/x86_64/elf/configure.in: Likewise.
33773 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33774 * sysdeps/mach/hurd/tls.h: Likewise.
33777 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33780 * configure.in: Fix use of AC_INIT.
33782 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33784 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33786 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33788 * malloc/hooks.c: Likewise.
33791 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33792 variables statically.
33793 (narenas): Initialize.
33794 (list_lock): Initialize.
33795 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33796 initializtion of main_arena and list_lock. Small cleanups.
33797 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33798 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33799 Add initializers to main_arena and mp_.
33800 (malloc_state): Remove pagesize member. Change all users to use
33803 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33804 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33805 is always initialized.
33807 * malloc/malloc.c: Removed unused configurations and dead code.
33808 * malloc/arena.c: Likewise.
33809 * malloc/hooks.c: Likewise.
33810 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33812 * include/tls.h: Removed. USE___THREAD must always be defined.
33813 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33814 * elf/dl-libc.c: Likewise.
33815 * elf/dl-tsd.c: Likewise.
33816 * include/errno.h: Likewise.
33817 * include/netdb.h: Likewise.
33818 * include/resolv.h: Likewise.
33819 * inet/herrno-loc.c: Likewise.
33820 * inet/herrno.c: Likewise.
33821 * malloc/arena.c: Likewise.
33822 * malloc/hooks.c: Likewise.
33823 * malloc/malloc.c: Likewise.
33824 * resolv/res-state.c: Likewise.
33825 * resolv/res_libc.c: Likewise.
33826 * sysdeps/i386/dl-machine.h: Likewise.
33827 * sysdeps/ia64/dl-machine.h: Likewise.
33828 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33829 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33830 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33831 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33832 * sysdeps/sh/dl-machine.h: Likewise.
33833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33835 * sysdeps/unix/i386/sysdep.S: Likewise.
33836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33837 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33847 * sysdeps/x86_64/dl-machine.h: Likewise.
33848 * tls.make.c: Likewise.
33850 * configure.in: Remove --with-__thread option. Make tests for
33851 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33852 tls_model attribute fail if no support is available. Remove
33854 * Makeconfig: Adjust for dropped configure option. All features are
33856 * Makerules: Likewise.
33857 * Versions.def: Likewise.
33858 * argp/argp-fmtstream.c: Likewise.
33859 * argp/argp-fmtstream.h: Likewise.
33860 * argp/argp-help.c: Likewise.
33861 * assert/assert.c: Likewise.
33862 * config.h.in: Likewise.
33863 * config.make.in: Likewise.
33864 * configure: Likewise.
33865 * configure.in: Likewise.
33866 * csu/Versions: Likewise.
33867 * csu/init.c: Likewise.
33868 * elf/tst-audit2.c: Likewise.
33869 * elf/tst-tls10.c: Likewise.
33870 * elf/tst-tls10.h: Likewise.
33871 * elf/tst-tls11.c: Likewise.
33872 * elf/tst-tls12.c: Likewise.
33873 * elf/tst-tls14.c: Likewise.
33874 * elf/tst-tlsmod11.c: Likewise.
33875 * elf/tst-tlsmod12.c: Likewise.
33876 * elf/tst-tlsmod13.c: Likewise.
33877 * elf/tst-tlsmod13a.c: Likewise.
33878 * elf/tst-tlsmod14a.c: Likewise.
33879 * elf/tst-tlsmod15b.c: Likewise.
33880 * elf/tst-tlsmod16a.c: Likewise.
33881 * elf/tst-tlsmod16b.c: Likewise.
33882 * elf/tst-tlsmod7.c: Likewise.
33883 * elf/tst-tlsmod8.c: Likewise.
33884 * elf/tst-tlsmod9.c: Likewise.
33885 * gmon/gmon.c: Likewise.
33886 * grp/fgetgrent_r.c: Likewise.
33887 * grp/putgrent.c: Likewise.
33888 * hurd/fopenport.c: Likewise.
33889 * include/libc-symbols.h: Likewise.
33890 * include/tls.h: Likewise.
33891 * intl/gettextP.h: Likewise.
33892 * intl/loadinfo.h: Likewise.
33893 * locale/global-locale.c: Likewise.
33894 * locale/localeinfo.h: Likewise.
33895 * mach/devstream.c: Likewise.
33896 * malloc/arena.c: Likewise.
33897 * malloc/set-freeres.c: Likewise.
33898 * misc/err.c: Likewise.
33899 * misc/getttyent.c: Likewise.
33900 * misc/mntent_r.c: Likewise.
33901 * posix/getopt.c: Likewise.
33902 * posix/wordexp.c: Likewise.
33903 * pwd/fgetpwent_r.c: Likewise.
33904 * resolv/Versions: Likewise.
33905 * resolv/res_hconf.c: Likewise.
33906 * shadow/fgetspent_r.c: Likewise.
33907 * shadow/putspent.c: Likewise.
33908 * stdio-common/printf_fphex.c: Likewise.
33909 * stdio-common/tmpfile.c: Likewise.
33910 * stdlib/abort.c: Likewise.
33911 * stdlib/fmtmsg.c: Likewise.
33912 * sunrpc/auth_unix.c: Likewise.
33913 * sunrpc/clnt_perr.c: Likewise.
33914 * sunrpc/clnt_tcp.c: Likewise.
33915 * sunrpc/clnt_udp.c: Likewise.
33916 * sunrpc/clnt_unix.c: Likewise.
33917 * sunrpc/openchild.c: Likewise.
33918 * sunrpc/svc_simple.c: Likewise.
33919 * sunrpc/svc_tcp.c: Likewise.
33920 * sunrpc/svc_udp.c: Likewise.
33921 * sunrpc/svc_unix.c: Likewise.
33922 * sunrpc/xdr.c: Likewise.
33923 * sunrpc/xdr_array.c: Likewise.
33924 * sunrpc/xdr_rec.c: Likewise.
33925 * sunrpc/xdr_ref.c: Likewise.
33926 * sunrpc/xdr_stdio.c: Likewise.
33928 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33930 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33932 2011-07-03 Andreas Jaeger <aj@suse.de>
33934 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33935 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33936 regenerate with gen-libm-tests.pl.
33938 2010-05-12 Petr Baudis <pasky@suse.cz>
33941 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33942 around j0() zero points by switching to j1().
33943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33955 Patch in part by Pavel Roskin <proski@gnu.org>.
33958 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33960 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33961 Free memory block if necessary.
33964 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33965 be NULL. Don't lock in this case.
33967 2011-09-09 Roland McGrath <roland@hack.frob.com>
33969 * elf/elf.h (ELFOSABI_GNU): New macro.
33970 (ELFOSABI_LINUX): Define to that.
33972 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33974 * string/strncat.c (strncat): Undef the symbol in case it has been
33975 defined in bits/string.h.
33977 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33979 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33981 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33984 2011-08-17 Andreas Jaeger <aj@suse.de>
33986 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33988 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33989 Ian Lance Taylor <iant@google.com>
33991 * math/libm-test.inc (lround_test): New testcase.
33992 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33994 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33996 * Makefile: Remove support for automatic cvs check-ins.
33997 * Makerules: Likewise.
33998 * config.make.in: Likewise.
33999 * configure.in: Likewise.
34000 * intl/Makefile: Likewise.
34001 * locale/Makefile: Likewise.
34002 * po/Makefile: Likewise.
34003 * posix/Makefile: Likewise.
34004 * sysdeps/gnu/Makefile: Likewise.
34005 * sysdeps/mach/hurd/Makefile: Likewise.
34006 * sysdeps/sparc/sparc32/Makefile: Likewise.
34009 * posix/Makefile (bug-regex32-ENV): Define.
34010 Patch by John Stanley <jpsinthemix@verizon.net>.
34012 * misc/Makefile (headers): Add bits/select2.h.
34013 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34014 * misc/bits/select2.h: New file.
34015 * include/bits/select2.h: New file.
34016 * debug/Makefile (routines): Add fdelt_chk.
34017 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34018 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34020 * debug/fdelt_chk.c: New file.
34022 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34023 * wcsmbs/test-wmemcmp.c: Likewise.
34024 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34025 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34027 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34029 * string/Makefile (strop-tests): Add memcmp.
34030 * string/test-wmemcmp.c: New file.
34031 * string/test-memcmp.c: Add wmemcmp support.
34033 2011-09-08 Roland McGrath <roland@hack.frob.com>
34036 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34039 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34040 garbage value in a __mach_port_mod_refs call in the cases of the
34041 task-self and thread-self ports.
34043 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34045 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34047 2011-09-08 Andreas Schwab <schwab@redhat.com>
34049 * elf/dl-load.c (lose): Check for non-null L.
34051 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34053 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34055 * elf/dl-libc.c (dlerror_run): Pass back error code from
34059 * elf/dl-load.c (lose): Free l_origin if it is valid.
34061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34065 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34067 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34068 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34070 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34072 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34073 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34074 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34076 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34077 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34078 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34079 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34080 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34081 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34083 2011-08-15 Alan Modra <amodra@gmail.com>
34086 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34087 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34088 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34089 ppc_mcount to static-only-routines.
34090 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34092 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34093 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34095 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34097 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34098 for finite and infinity parameters.
34100 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34103 and add nop instructions for throughput optimization.
34104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34106 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34109 aligned copy for power7 with vector-scalar instructions.
34110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34112 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34117 2011-09-07 Andreas Schwab <schwab@redhat.com>
34120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34123 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34126 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34127 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34131 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34133 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34134 Forgot to demangle the pointer.
34136 * sysdeps/i386/sysdep.h: Define atom_text_section.
34137 * sysdeps/x86_64/sysdep.h: Likewise.
34138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34139 section with atom_text_section.
34140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34147 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34148 already be defined. Change to take two parameters and don't assign
34149 result to variable. Adjust all users.
34150 Define INTERNAL_GETTIME if not already defined.
34151 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34154 HAVE_CLOCK_GETTIME_VSYSCALL.
34155 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34158 gettimeofday vsyscall, just use time.
34160 2011-09-06 Andreas Schwab <schwab@redhat.com>
34162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34165 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34167 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34171 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34173 syscall if possible.
34175 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34177 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34178 e_ident. Don't pass to find_mapsXX.
34179 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34181 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34184 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34185 * sysdeps/x86_64/multiarch/strchr.S: Update.
34186 Check bit_slow_BSF bit.
34187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34191 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34194 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34196 (tryshell): Define.
34197 (__spawni): Change last parameter to be flag. Test
34198 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34199 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34200 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34201 * posix/spawni.c: Likewise.
34202 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34203 * posix/spawnp.c: Likewise. Change normal version to use
34204 SPAWN_XFLAGS_USE_PATH.
34205 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34206 SPAWN_XFLAGS_TRY_SHELL.
34209 * posix/glob.h: Remove gcc 1.x support.
34212 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34214 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34217 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34219 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34220 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34221 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34222 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34226 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34228 * sysdeps/x86_64/wcscmp.S: New file.
34230 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34231 wcscmp-c wcscmp-sse2
34232 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34233 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34234 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34235 * wcsmbs/wcscmp.c: Allow renaming.
34237 2011-09-05 David S. Miller <davem@davemloft.net>
34239 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34240 stack slot, rather than the struct return pointer slot.
34241 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34242 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34246 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34248 * po/ja.po: Update from translation team.
34251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34252 kernel in 64-bit binaries.
34254 2011-09-01 David S. Miller <davem@davemloft.net>
34256 * elf/elf.h (HWCAP_SPARC_*): Move to..
34257 * sysdeps/sparc/sysdep.h: this new file and add new values.
34258 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34259 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34260 _DL_HWCAP_COUNT to 24.
34261 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34263 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34264 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34265 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34267 instead of magic constants.
34268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34270 2011-08-31 David S. Miller <davem@davemloft.net>
34272 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34274 Reimplement to do errno handling inline.
34275 (SYSCALL_ERROR_HANDLER): New macro.
34276 (__SYSCALL_STRING): Do not do errno handling in asm.
34277 (__CLONE_SYSCALL_STRING): Delete.
34278 (__INTERNAL_SYSCALL_STRING): Delete.
34279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34280 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34281 (PSEUDO): Reimplement to do errno handling inline.
34282 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34283 (SYSCALL_ERROR_HANDLER): New macro.
34284 (__SYSCALL_STRING): Do not do errno handling in asm.
34285 (__CLONE_SYSCALL_STRING): Delete.
34286 (__INTERNAL_SYSCALL_STRING): Delete.
34287 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34288 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34290 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34291 (inline_syscall*): Add 'err' argument.
34292 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34293 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34294 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34295 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34297 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34300 2011-08-30 Andreas Schwab <schwab@redhat.com>
34302 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34304 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34306 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34309 2011-08-24 David S. Miller <davem@davemloft.net>
34311 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34313 2011-08-24 Andreas Schwab <schwab@redhat.com>
34315 * elf/Makefile: Add rules to build and run unload8 test.
34316 * elf/unload8.c: New file.
34317 * elf/unload8mod1.c: New file.
34318 * elf/unload8mod1x.c: New file.
34319 * elf/unload8mod2.c: New file.
34320 * elf/unload8mod3.c: New file.
34322 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34325 2011-08-23 David S. Miller <davem@davemloft.net>
34327 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34328 subtract stack bias.
34329 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34330 %sp not %fp in calculations.
34331 (_JMPBUF_UNWINDS_ADJ): Likewise.
34333 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34334 (aio_suspend): Call it to force an exception region around the
34335 AIO_MISC_WAIT() invocation.
34337 2011-08-23 Andreas Schwab <schwab@redhat.com>
34339 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34342 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34344 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34346 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34347 and <dl-machine.h>.
34348 (Elf64_FuncDesc): Remove.
34350 2011-08-22 David S. Miller <davem@davemloft.net>
34352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34353 sigaltstack check, add missing cfi directives.
34354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34355 missing cfi directives, and sigaltstack handling.
34357 2011-08-16 Andreas Schwab <schwab@redhat.com>
34360 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34361 object is seen twice.
34362 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34364 * elf/Makefile (distribute): Add tst-initorder2.c.
34365 (tests): Add tst-initorder2.
34366 (modules-names): Add tst-initorder2a tst-initorder2b
34367 tst-initorder2c tst-initorder2d. Add rules to build them.
34368 ($(objpfx)tst-initorder2.out): New rule.
34369 * elf/tst-initorder2.c: New file.
34370 * elf/tst-initorder2.exp: New file.
34372 2011-08-22 Andreas Schwab <schwab@redhat.com>
34374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34376 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34377 dependencies back to end of function.
34379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34380 $(elfobjdir)/ld.so.
34382 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34385 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34387 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34388 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34389 of __vdso_gettimeofday.
34390 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34391 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34393 (_libc_vdso_platform_setup): Remove initialization of
34394 __vdso_gettimeofday and __vdso_time.
34396 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34398 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34399 and fgetc_unlocked.
34400 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34403 * elf/dl-open.c (add_to_global): Report additions to the global scope
34404 for LD_DEBUG=scopes.
34405 (dl_open_worker): Also print scope of newly loaded dependencies.
34406 (_dl_show_scope): Indicate if there is no scope.
34409 * stdio-common/Makefile (tests): Add bug24.
34410 * stdio-common/bug24.c: New file.
34412 2011-08-19 Andreas Jaeger <aj@suse.de>
34415 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34416 non-existant file when using close-on-exec mode.
34418 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34421 the very first instruction.
34423 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34424 the CFI state in the end.
34425 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34426 inclusion of dl-trampoline.h.
34427 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34429 2011-08-19 Andreas Schwab <schwab@redhat.com>
34431 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34432 expectations for long double.
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34435 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34437 2011-08-14 David S. Miller <davem@davemloft.net>
34439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34440 artificual limit depends upon the system page size.
34442 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34444 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34445 * resolv/Makefile: Define CFLAGS-libresolv.
34447 2011-08-17 Andreas Schwab <schwab@redhat.com>
34449 * nss/makedb.c (compute_tables): Make variables used in nested
34452 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34454 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34455 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34456 if buffer was too small.
34458 * elf/pldd.c (main): Attach to all threads in the process.
34459 Rewrite /proc handling to use *at functions.
34461 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34463 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34464 specifies first scope to show.
34465 (dl_open_worker): Update callers. Move printing scope of new
34466 object to before the relocation.
34467 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34468 * sysdeps/generic/ldsodefs.h: Update declaration.
34470 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34471 string for the scope number.
34473 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34475 * nscd/servicescache.c (cache_addserv): Make sure written is always
34478 2011-08-14 Roland McGrath <roland@hack.frob.com>
34480 * sysdeps/i386/i486/bits/atomic.h
34481 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34482 statement expression, so as to suppress "set but not used" warning.
34483 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34485 * string/strncat.c (STRNCAT): Use prototype definition.
34487 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34488 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34490 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34491 (localedef-modules): Add localedef.
34492 (locale-modules): Add locale.
34494 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34495 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34496 to avoid a warning.
34498 2011-08-14 David S. Miller <davem@davemloft.net>
34500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34501 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34503 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34505 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34506 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34507 * elf/rtld.c (dl_main): Set l_name of vDSO.
34508 Call _dl_show_scope when DL_DEBUG_SCOPES.
34509 (process_dl_debug): Recognize scopes flag and also set it for all.
34510 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34511 Declare _dl_show_scope.
34513 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34514 (do_dlopen): Pass caller_dlopen to dl_open.
34515 (__libc_dlopen_mode): Initialize caller_dlopen.
34517 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34518 of libc. Make tolower call locale-independent. Optimize a bit by
34519 using isdigit instead of isalnum.
34520 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34522 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34524 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34525 was a dependency or dynamically loaded.
34527 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34529 * intl/l10nflist.c: Allow architecture-specific pop function.
34530 * sysdeps/x86_64/l10nflist.c: New file.
34532 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34535 2011-08-10 Andreas Schwab <schwab@redhat.com>
34537 * include/dirent.h: Add libc_hidden_proto for scandirat and
34538 scandirat64. Don't declare __scandirat64.
34539 * dirent/scandirat.c: Add libc_hidden_def.
34540 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34541 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34543 2011-08-10 David S. Miller <davem@davemloft.net>
34545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34551 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34553 * Versions.def [libc]: Add GLIBC_2.15.
34554 * dirent/Makefile (routines): Add scandirat and scandirat64.
34555 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34557 * dirent/dirent.h: Declare scandirat and scandirat64.
34558 * dirent/scandirat.c: New file.
34559 * dirent/scandirat64.c: New file.
34560 * sysdeps/wordsize-64/scandirat.c: New file.
34561 * sysdeps/wordsize-64/scandirat64.c: New file.
34562 * dirent/opendir.c: Define opendirat.
34563 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34565 * dirent/scandir64.c: Adjust for scandir.c change.
34566 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34567 __scandirat64, and __scandir_cancel_handler.
34568 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34569 additional parameter and use openat instead of open (outside of ld.so).
34570 Add new __opendir as wrapper around __opendirat.
34571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34572 here without requiring old scandirat implementation.
34574 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34576 * dirent/scandir.c (cancel_handler): Renamed to
34577 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34578 defined. Adjust users.
34579 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34582 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34584 * string/test-string.h (IMPL): Use __STRING to expand name and then
34587 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34590 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34592 * string/Makefile: Update.
34593 (strop-tests): Append strncat.
34594 * string/test-wcscmp.c: New file.
34595 New comprehensive test for wcscmp.
34596 * string/test-strcmp.c: Update.
34597 (WIDE): New define.
34599 2011-07-22 Andreas Schwab <schwab@redhat.com>
34601 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34604 2011-07-26 Andreas Schwab <schwab@redhat.com>
34606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34607 encoding to ACE if AI_IDN.
34609 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34612 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34614 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34617 Fix overflow bug in strncat.
34618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34620 * string/test-strncat.c: Update.
34621 Add new tests for checking overflow bugs.
34623 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34626 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34627 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34628 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34630 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34631 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34632 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34633 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34636 (USE_AS_STRCAT): Define.
34637 Add strcat and strncat support.
34638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34640 2011-07-25 Andreas Schwab <schwab@redhat.com>
34642 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34643 __n bigger than INT_MAX+1.
34644 (__strncmp_g): Likewise.
34646 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34648 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34649 * libio/stido.h: Likewise.
34651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34656 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34659 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34663 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34668 (_dl_x86_64_save_sse): Likewise.
34670 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34674 (_dl_x86_64_save_sse): Likewise.
34676 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34678 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34680 2011-07-21 Andreas Schwab <schwab@redhat.com>
34682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34684 (_dl_x86_64_save_sse): Use correct AVX check.
34686 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34689 bug in strncpy/strncat.
34690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34692 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34694 * string/tester.c (test_strcat): Add tests for different alignments
34695 of source and destination.
34696 (test_strncat): Likewise.
34698 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34701 * posix/glob.c (glob): Check passed in values before using them in
34702 expressions to avoid some overflows.
34703 (glob_in_dir): Likewise.
34706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34707 check for AVX enablement so that we don't crash with old kernels and
34709 * elf/tst-audit4.c: Add same checks here.
34710 * elf/tst-audit6.c: Likewise.
34712 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34714 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34716 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34718 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34720 * po/cs.po: Update from translation team.
34721 * po/bg.po: Likewise.
34723 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34725 * misc/sys/cdefs.h: Add support for const attribute.
34726 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34727 to gnu_dev_{major,minor,makedev} functions.
34729 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34731 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34733 2011-07-20 Andreas Schwab <schwab@redhat.com>
34735 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34738 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34741 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34742 register in order to avoid conflicts with the soft frame pointer
34743 being held in r11 when necessary.
34744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34745 (INTERNAL_VSYSCALL_NCS): Likewise.
34747 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34749 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34750 * elf/dl-fini.c (_dl_fini): Adjust caller.
34751 * elf/dl-close.c (_dl_close_worker): Likewise.
34752 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34754 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34756 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34757 "aux_cache->nlibs < 0".
34759 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34760 in the reload-count case.
34762 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34765 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34766 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34767 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34768 * sysdeps/x86_64/multiarch/strcat.S: New file.
34769 * sysdeps/x86_64/multiarch/strncat.S: New file.
34770 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34772 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34773 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34775 (USE_AS_STRCAT): Define.
34776 Add strcat and strncat support.
34777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34779 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34780 * string/strncat.c: Update.
34781 (USE_AS_STRNCAT): Define.
34782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34783 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34785 * sysdeps/x86_64/multiarch/init-arch.h
34786 (bit_Prefer_PMINUB_for_stringop): New.
34787 (index_Prefer_PMINUB_for_stringop): Likewise.
34788 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34789 bit_Prefer_PMINUB_for_stringop.
34791 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34793 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34795 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34796 of casting of buffer.
34797 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34798 buffer32 and buffer64.
34799 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34800 writes instead of casting of buffer.
34801 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34803 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34806 2011-07-19 Andreas Schwab <schwab@redhat.com>
34808 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34810 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34812 * nscd/nscd.c (termination_handler): Don't do anything for a database
34813 if it has not yet been initialized.
34815 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34817 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34819 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34821 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34823 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34825 * po/nl.po: Update from translation team.
34826 * po/sv.po: Likewise.
34828 2011-07-16 Roland McGrath <roland@hack.frob.com>
34830 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34831 now disallowed by GCC.
34833 * configure.in (use-default-link): Default to yes if a test -shared
34834 link meets our qualifications.
34835 * configure: Regenerated.
34837 * config.make.in (output-format): New variable.
34838 * configure.in: Check for ld --print-output-format support.
34839 * configure: Regenerated.
34840 * Makerules ($(common-objpfx)format.lds)
34841 [$(output-format) != unknown]: Just use $(output-format),
34842 instead of the linker-script munging.
34844 2011-07-14 Roland McGrath <roland@hack.frob.com>
34846 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34847 of $(common-objpfx)shlib.lds.
34848 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34850 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34851 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34853 * configure.in (-z relro check): Adjust test code to add a large
34854 writable data section after it.
34855 * configure: Regenerated.
34857 2011-07-11 Roland McGrath <roland@hack.frob.com>
34859 * configure.in (-z relro check): Fix test code to make the variable
34861 * configure: Regenerated.
34863 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34865 * nscd/nscd.h (struct traced_file): Define.
34866 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34867 elements. Add traced_files.
34868 (inotify_fd): Declare.
34869 (register_traced_file): Declare.
34870 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34871 (inotify_fd): Export.
34872 (resolv_conf_descr): Remove.
34873 (nscd_init): Move inotify descriptor creation to main.
34874 Don't register files for notification here.
34875 (register_traced_file): New function.
34876 (invalidate_cache): Don't use reset_res to determine whether to call
34877 res_init, go through the list of registered files.
34878 (main_loop_poll): The inotify descriptors are now stored in the
34879 structures for the traced files.
34880 (main_loop_epoll): Likewise
34881 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34882 to __nss_disable_nscd.
34883 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34884 for a database anymore. Check the records for all the registered
34886 * nss/Makefile (libnss_files-routines): Add files-init.
34887 (libnss_db-routines): Add db-init.
34888 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34889 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34890 * nss/nss_db/db-init.c: New file.
34891 * nss/nss_files/files-init.c: New file.
34892 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34893 __nss_lookup_function.
34894 (__nss_lookup_function): Call nss_load_library.
34895 (nss_load_all_libraries): New function.
34896 (__nss_disable_nscd): Take parameter with callback function for files
34897 to register. Set is_nscd. Load all the DSOs for the NSS modules
34898 used for the cached services.
34899 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34900 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34901 options for features to all the files in nscd.
34903 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34905 2011-07-10 Roland McGrath <roland@hack.frob.com>
34907 * csu/elf-init.c (__libc_csu_init): Comment typo.
34909 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34911 * po/pl.po: Update from translation team.
34912 * po/ja.po: Likewise.
34913 * po/ru.po: Likewise.
34914 * po/ko.po: Likewise.
34915 * po/fr.po: Likewise.
34917 2011-07-09 Roland McGrath <roland@hack.frob.com>
34919 * configure.in (.ctors/.dtors header and trailer check):
34920 Use an empirical test on a built program.
34921 * configure: Regenerated.
34923 * configure.in (-z relro check): Use an empirical test on a built DSO.
34924 Detect, but do not require, on ia64.
34925 * configure: Regenerated.
34927 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34928 Update tests that use readelf to use $READELF instead.
34929 * configure: Regenerated.
34931 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34933 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34934 if the result is not used.
34936 2011-07-05 Andreas Jaeger <aj@suse.de>
34939 * stdlib/tst-strtod.c: Add testcase.
34941 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34943 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34944 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34945 The latter has a higher limit. Take additional parameter to pass to
34947 (__pathconf): Pass file to __statfs_link_max.
34948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34950 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34954 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34958 (__statfs_filesize_max): Likewise.
34959 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34961 2011-07-05 Andreas Jaeger <aj@suse.de>
34963 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34965 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34967 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34969 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34972 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34974 * Makefile (strop-tests): Add strncat.
34975 * string/test-strncat.c: New file.
34977 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34979 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34981 2011-06-21 Andreas Jaeger <aj@suse.de>
34983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34984 Copy rule from iconvdata/Makefile.
34986 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34989 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34990 but no long options are defined, just return 'W'.
34992 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34995 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34997 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34999 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35001 (innetgr): Likewise.
35003 2011-07-05 Roland McGrath <roland@hack.frob.com>
35005 * config.make.in (install_root): Default to $(DESTDIR).
35007 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35009 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35011 2011-07-02 Roland McGrath <roland@hack.frob.com>
35013 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35015 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35016 containing directory rather than embedding absolute directory names.
35018 * scripts/check-local-headers.sh: Rewritten using awk.
35019 Match by word, not by line. Print error messages for matches.
35020 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35022 * Makerules [shlib-lds-flags empty]:
35023 ($(common-objpfx)libc_pic.opts): New target.
35024 ($(common-objpfx)libc_pic.os.clean): New target.
35025 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35027 * config.make.in (OBJCOPY): New variable.
35028 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35029 * configure: Regenerated.
35031 * config.make.in (use-default-link): New variable.
35032 * configure.in (use_default_link): Grok --with-default-link to set it.
35033 * configure: Regenerated.
35034 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35035 (shlib-lds, shlib-lds-flags): Define to empty.
35037 * Makerules (shlib-lds): New variable.
35038 (shlib-lds-flags): New variable.
35039 (build-shlib, build-moduile, build-module-asneeded): Use it.
35040 ($(common-objpfx)libc.so): Use $(shlib-lds).
35041 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35042 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35044 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35045 DT_FLAGS/DT_FLAGS_1 with zero flags.
35047 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35048 linker script munging.
35050 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35052 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35054 * crypt/sha512.c (sha512_process_block): Perform total addition using
35055 128-bit if possible.
35056 (__sha512_finish_ctx): Likewise.
35057 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35059 * crypt/sha256.c (SWAP64): Define.
35060 (sha256_process_block): Perform total addition using 64-bit if
35062 (__sha256_finish_ctx): Likewise.
35064 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35066 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35068 * nscd/hstcache.c (cache_addhst): Likewise.
35069 * nscd/grpcache.c (cache_addgr): Likewise.
35070 * nscd/aicache.c (addhstaiX): Likewise
35071 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35073 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35075 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35077 * nscd/hstcache.c (cache_addhst): Likewise.
35078 * nscd/grpcache.c (cache_addgr): Likewise.
35079 * nscd/aicache.c (addhstaiX): Likewise
35081 2011-07-01 Andreas Schwab <schwab@redhat.com>
35083 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35084 domain only when needed.
35086 2011-06-30 Andreas Schwab <schwab@redhat.com>
35088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35089 is always restored.
35091 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35093 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35094 are re-adding the entry.
35095 * nscd/servicescache.c (cache_addserv): Likewise.
35097 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35099 * sysdeps/generic/dl-irel.h: fix protection against multiple
35101 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35103 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35106 * malloc/memusage.sh: Fix quoting in message.
35107 * debug/xtrace.sh: Likewise.
35109 * configure.in: Remove support for --experimental-malloc option, make
35111 * config.make.in: Likewise.
35112 * malloc/Makefile: Likewise.
35114 2011-06-27 Andreas Schwab <schwab@redhat.com>
35116 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35117 two-byte characters.
35119 2011-06-27 Roland McGrath <roland@hack.frob.com>
35121 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35122 AC_CACHE_CHECK invocation.
35123 * configure: Regenerated.
35125 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35127 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35130 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35131 bit from old_res_options.
35133 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35135 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35136 value type for setfct.
35138 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35141 __gettimeofday instead of gettimeofday.
35143 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35145 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35147 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35154 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35157 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35158 strcpy-sse2-unaligned strncpy-sse2-unaligned
35159 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35160 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35161 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35162 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35163 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35166 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35167 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35168 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35169 (STRCPY): Support SSE2 and SSSE3 versions.
35171 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35175 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35176 kernels which artificially limit size of requests.
35178 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35181 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35182 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35183 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35184 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35185 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35186 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35187 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35190 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35191 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35192 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35193 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35194 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35196 Enable unaligned load optimization for Intel Core i3, i5 and i7
35198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35200 (index_Fast_Unaligned_Load): Define.
35201 (HAS_FAST_UNALIGNED_LOAD): Define.
35203 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35205 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35207 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35211 until it is clear that the information is realy needed.
35212 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35214 2011-06-22 Andreas Schwab <schwab@redhat.com>
35216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35218 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35221 /sys/devices/system/cpu/online if it is usable.
35223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35224 reading the information from the /proc filesystem to once a second.
35226 2011-06-21 Andreas Jaeger <aj@suse.de>
35228 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35229 NULL after inclusion of kernel headers.
35231 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35233 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35234 calls to internal_setent.
35237 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35238 addresses using gethostbyname4_r ignore IPv4 addresses.
35240 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35241 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35243 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35245 2011-06-20 David S. Miller <davem@davemloft.net>
35247 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35249 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35251 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35252 (elf_irel): Use it.
35253 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35254 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35255 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35256 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35257 * sysdeps/x86_64/dl-irel.h: Likewise.
35259 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35260 * elf/dl-sym.c: Likewise.
35262 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35264 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35265 need to dereference resplen2.
35267 2011-06-14 Andreas Schwab <schwab@redhat.com>
35269 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35271 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35273 * Makeconfig: Define vardbdir and inst_vardbdir.
35274 * nss/Makefile: Add rules to install db-Makefile.
35276 * nss/nss_db/db-XXX.c: Cleanup.
35278 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35279 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35281 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35282 * nss/makedb.c: Implement -g option to specify that value strings
35283 are generated and should not be added to table iterated over for
35285 * nss/nss_db/db-initgroups.c: New file.
35287 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35290 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35291 (internal_getgrouplist): Adjust to name change.
35292 Update use_initgroups_entry if this is not the first call.
35293 * nss/databases.def: Add initgroups entry.
35295 * nss/makedb.c (compute_tables): Check result of multiple hash table
35296 sizes to minimize maximum chain length.
35298 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35300 * Versions.def: Add entry for libnss_db.
35301 * shlib-versions: Likewise.
35302 * nss/Makefile: Add rules to build libnss_db.
35303 * nss/Versions: Add libnss_db information. Organize libnss_files
35305 * nss/db-Makefile: Add gshadow support. Change rules for the new
35306 makedb progra. Some minor improvements to generate smaller files.
35307 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35309 * nss/makedb.c: ...here.
35310 Improve database format to be smaller and require less memory at
35312 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35314 * nss/nss_db/db-netgrp.c: Likewise.
35315 * nss/nss_db/db-open.c: Likewise.
35316 * nss/nss_files/flies-XXX.x: Adjust comments.
35317 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35318 * nss/nss_files/files-grp.c: Likewise.
35319 * nss/nss_files/files-hosts.c: Likewise.
35320 * nss/nss_files/files-network.c: Likewise.
35321 * nss/nss_files/files-proto.c: Likewise.
35322 * nss/nss_files/files-pwd.c: Likewise.
35323 * nss/nss_files/files-rpc.c: Likewise.
35324 * nss/nss_files/files-service.c: Likewise.
35325 * nss/nss_files/files-sgrp.c: Likewise.
35326 * nss/nss_files/files-spwd.c: Likewise.
35327 * nss/nss_db/db-alias.c: Removed.
35328 * nss/nss_db/dummy-db.h: Removed.
35330 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35332 * nss/makedb.c: Rewritten to not use database library.
35333 * nss/Makefile: Update to build new makedb program.
35335 2011-06-14 Andreas Jaeger <aj@suse.de>
35337 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35338 memset declaration.
35340 2011-06-10 Andreas Schwab <schwab@redhat.com>
35342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35345 2011-06-10 Roland McGrath <roland@hack.frob.com>
35347 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35348 * elf/Makefile ($(objpfx)ld.so): Likewise.
35350 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35351 Don't list ld.so twice in dependencies.
35353 * posix/bug-regex31.c: Include <stdlib.h>.
35355 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35357 * nis/nss_compat/compat-spwd.c
35358 (getspent_next_nss_netgr): Remove unused variable.
35359 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35361 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35362 nonmembers" output to use the right array.
35364 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35366 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35368 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35369 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35370 * catgets/gencat.c (read_input_file): Likewise.
35371 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35373 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35374 variable definition inside #if's controlling its use.
35376 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35378 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35380 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35382 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35385 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35387 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35388 * configure: Regenerated.
35390 * Makerules: Revert last change.
35391 * elf/Makefile: Likewise.
35393 2011-06-09 Roland McGrath <roland@hack.frob.com>
35395 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35396 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35397 (reloc-link): Likewise.
35399 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35401 * elf/Makefile: Add rules to build pldd.
35402 * elf/pldd.c: New file.
35403 * elf/pldd-xx.c: New file.
35405 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35407 * version.h: Update for 2.15 development version.
35409 2011-06-07 David S. Miller <davem@davemloft.net>
35411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35414 elf_machine_lazy_rel): Likewise.
35415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35417 elf_machine_lazy_rel): Likewise.
35418 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35419 dl_hwcap via passed in argument.
35420 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35423 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35425 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35427 2011-06-06 Roland McGrath <roland@hack.frob.com>
35430 * manual/fdl-1.1.texi: New file, verbatim from:
35431 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35432 * manual/lgpl-2.1.texi: New file, verbatim from:
35433 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35434 * manual/Makefile (licenses): New variable, list those new file names.
35436 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35438 * manual/fdl.texi: File removed.
35439 * manual/lesser.texi: File removed.
35440 * manual/libc.texinfo (Copying, Documentation License):
35441 Use new @include file names, put @appendix directive before @include.
35443 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35446 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35447 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35448 (mq_open): Add __NTH.
35450 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35453 Assume Intel Core i3/i5/i7 processor if AVX is available.
35455 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35460 2011-05-31 Andreas Schwab <schwab@redhat.com>
35462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35463 memory. Use alloca_account. Fix memory leak when retrying.
35465 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35467 * version.h (RELEASE): Bump for 2.14 release.
35468 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35470 * config.make.in (RANLIB): Remove entry.
35472 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35474 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35475 (libc.pot): Work around missing support for .ksh extension in xgettext.
35478 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35479 if both request failed.
35480 (send_dg): In case of server errors clear resplen or *resplen2.
35483 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35484 when there are multiple maps.
35485 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35486 (_dl_fini): Remove test here.
35488 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35490 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35493 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35494 bit from old_res_options.
35495 (gaih_inet): Likewise.
35498 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35501 * resolv/res_init.c (res_setoptions): Make the code more compact.
35504 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35508 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35510 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35513 * malloc/malloc.h: Declare malloc hook variables as volatile.
35515 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35519 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35520 raise in the comment.
35521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35523 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35525 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35528 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35529 grow the buffers more if it already has to be sufficient.
35530 (build_wcs_upper_buffer): Likewise.
35531 * posix/regexec.c (check_matching): Likewise.
35532 (clean_state_log_if_needed): Likewise.
35533 (extend_buffers): Don't enlarge buffers beyond size of the input
35535 Patches mostly by Emil Wojak <emil@wojak.eu>.
35536 * posix/bug-regex32.c: New file.
35537 * posix/Makefile (tests): Add bug-regex32.
35539 * locale/findlocale.c (_nl_find_locale): Return right away if
35540 _nl_explode_name failed.
35541 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35545 * debug/xtrace.sh: Unify messages.
35546 * malloc/memusage.sh: Likewise.
35549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35550 time symbol from vDSO. Substitute with vsyscall if not available.
35551 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35554 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35555 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35556 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35557 Add sendmmsg and internal_sendmmsg.
35558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35559 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35562 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35563 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35566 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35570 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35576 * iconvdata/Makefile (tests): Add bug-iconv9.
35577 * iconvdata/bug-iconv9.c: New file.
35579 2011-05-27 Andreas Schwab <schwab@redhat.com>
35582 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35584 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35587 (struct user_regs_struct): Change intcs field back to cs.
35589 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35591 * po/ja.po: Update from translation team.
35593 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35599 2011-05-20 Andreas Schwab <schwab@redhat.com>
35601 * stdlib/longlong.h: Update from GCC.
35603 2011-05-23 Andreas Schwab <schwab@redhat.com>
35605 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35607 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35608 Add parameter name.
35609 (__sysconf): Pass it down.
35611 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35614 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35617 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35618 add in in __libc_use_alloca calls. Adjust callers.
35619 (glob): Use malloc in some situations.
35621 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35622 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35625 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35627 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35628 and CLOCK_BOOTTIME_ALARM.
35631 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35634 * string/_strerror.c (__strerror_r): Print negative errors as signed
35638 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35639 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35640 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35642 * configure.in: Fix typo in redirection and correct removal of test
35643 files in two cases.
35646 * locale/setlocale.c (new_composite_name): Fix test to check for
35647 identical name of all categories.
35650 * libio/filedoalloc.c (local_isatty): New function.
35651 (_IO_file_doallocate): Use local_isatty.
35652 * stdio-common/perror.c (perror): In case a new stream is used
35653 forward the stream error.
35654 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35657 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35662 * include/alloca.h (extend_alloca_account): Define.
35665 * posix/regex.h: Fix comments with documentation of user-accessible
35666 fields after compilation and describe correct free'ing of pattern
35667 after re_compile_pattern.
35668 Patch by Reuben Thomas <rrt@sc3d.org>.
35670 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35672 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35673 and -mno-altivec to prevent the compiler from using Altivec and/or
35674 VSX instructions when the corresponding registers are not available.
35676 2011-05-19 Andreas Schwab <schwab@redhat.com>
35678 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35680 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35682 * libio/freopen.c (freopen): Use __dup2, not dup2.
35683 * libio/freopen64.c (freopen64): Likewise.
35685 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35688 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35689 * math/Makefile (tests): Add test-powl.
35690 (CFLAGS-test-powl.c): Define.
35691 * math/test-powl.c: New file.
35693 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35695 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35697 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35700 * iconvdata/gb18030.c: Update to GB18020-2005.
35702 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35704 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35705 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35706 Patch by Aharon Robbins <arnold@skeeve.com>.
35709 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35713 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35714 through underflows.
35717 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35718 point to strings before performing equality test for error_one_per_line
35722 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35726 (struct user_fpregs_struct): Avoid __uint*_t types.
35729 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35730 symbol info. Use it instead of calling _dl_addr locally.
35731 (lock_and_info): New function.
35732 (tr_freehook): Call lock_and_info and pass symbol info as additional
35733 parameter to tr_where.
35734 (tr_mallochook): Likewise.
35735 (tr_reallochook): Likewise.
35736 (tr_memalignhook): Likewise.
35738 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35739 used and couldn't be at all thread-safe.
35741 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35743 * libio/freopen.c (freopen): Don't close old file descriptor
35744 before the new one is opened. Instead dup the new file descriptor
35745 to the old one after the new stream is created.
35746 * libio/freopen64.c (freopen64): Likewise.
35747 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35748 * libio/fileops.c (_IO_new_file_close_it): Handle new
35749 _IO_FLAGS2_NOCLOSE flag.
35750 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35751 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35752 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35753 _IO_FLAGS2_NOCLOSE flag.
35754 * include/unistd.h: Add hidden_proto for dup3.
35755 Define __have_dup3.
35756 * io/dup3.c: Define hidden symbol.
35757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35760 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35761 when an incomplete long option is used.
35762 * posix/tst-getopt_long1.c: New file.
35763 * posix/Makefile (tests): Add tst-getopt_long1.
35766 * scripts/config.guess: Update from autoconf-2.68.
35767 * scripts/config.sub: Likewise.
35770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35772 (has_cpuclock): ...this. New function.
35773 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35774 macro here based on has_cpuclock code.
35777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35778 First byte (not low byte) is now always NUL.
35779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35782 Use non-cancelable interfaces.
35785 * locale/iso-639.def: Add entry for Sorani.
35788 * include/stdlib.h: Move include protection to the right place.
35789 Define abort_msg_s. Declare __abort_msg with it.
35790 * stdlib/abort.c (__abort_msg): Adjust type.
35791 * assert/assert.c (__assert_fail_base): New function. Majority
35792 of code from __assert_fail. Allocate memory for __abort_msg with
35794 (__assert_fail): Now call __assert_fail_base.
35795 * assert/assert-perr.c: Remove bulk of implementation. Use
35796 __assert_fail_base.
35797 * include/assert.hL Declare __assert_fail_base.
35798 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35800 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35802 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35806 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35807 until all modules are registered in the DTV.
35808 * elf/Makefile: Add rules to build and run tst-tls19.
35809 * elf/tst-tls19.c: New file.
35810 * elf/tst-tls19mod1.c: New file.
35811 * elf/tst-tls19mod2.c: New file.
35812 * elf/tst-tls19mod3.c: New file.
35813 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35816 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35820 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35821 two-byte sequence errors.
35822 * iconvdata/Makefile (tests): Add bug-iconv8.
35823 * iconvdata/bug-iconv8.c: New file.
35826 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35829 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35832 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35833 (dummy_getcfa): New function.
35834 (init): Get _Unwind_GetCFA address, use dummy if not found.
35835 (backtrace_helper): In recursion check, also check whether CFA changes.
35836 (__backtrace): Completely initialize arg.
35838 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35839 storing incomplete byte sequence in state object. Avoid testing for
35840 guaranteed too small input if we know there is enough data available.
35842 2011-05-11 Andreas Schwab <schwab@redhat.com>
35844 * Makeconfig (+link-pie): Indent.
35845 * Rules (binaries-pie): Define if $(have-fpie) and
35847 (binaries-shared): Also filter out $(binaries-pie).
35848 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35849 * nscd/Makefile (others-pie): Add nscd.
35850 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35851 ($(objpfx)nscd): Remove command override.
35852 * login/Makefile (others-pie): Add pt_chown.
35853 ($(objpfx)pt_chown): Remove command override.
35854 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35855 remove command overrides.
35857 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35859 * libio/tst_putwc.c: Fix error messages.
35862 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35863 currently writing and seek to current position when not.
35864 * libio/Makefile (tests): Add bug-fclose1.
35865 * libio/bug-fclose1.c: New file.
35867 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35870 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35871 don't set DF_1_NODELETE here.
35872 (do_lookup_x): When entering new entry test for copy relocation
35873 and if necessary set DF_1_NODELETE flag.
35874 * elf/tst-unique4.cc: New file.
35875 * elf/tst-unique4.h: New file.
35876 * elf/tst-unique4lib.cc: New file.
35877 * elf/Makefile: Add rules to build and run tst-unique4.
35878 Patch by Piotr Bury <pbury@goahead.com>.
35880 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35883 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35886 * misc/mntent_r.c (addmntent): Flush the stream after the output
35889 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35890 (is_trusted_path_normalize): Skip initial colon. Append slash
35891 to empty buffer. Duplicate is_trusted_path code but allow
35892 constructed patch to be prefix.
35893 (is_dst): Allow $ORIGIN followed by /.
35894 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35895 Correct testing of result of is_trusted_path_normalize
35896 (decompose_rpath): Fix warning.
35898 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35901 * grp/initgroups.c (internal_getgrouplist): When we found the service
35902 list through the initgroups entry in nsswitch.conf do not always
35903 continue on a successful lookup. Don't always use the
35904 __nss_group_database value if it is set.
35905 * nss/nsswitch.conf (initgroups): Change action for successful db
35906 lookup to continue for compatibility.
35908 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35911 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35913 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35915 * iconvdata/tst-tables.sh: Likewise.
35916 * iconvdata/cp770.c: New file.
35917 * iconvdata/cp771.c: New file.
35918 * iconvdata/cp772.c: New file.
35919 * iconvdata/cp773.c: New file.
35920 * iconvdata/cp774.c: New file.
35921 * iconvdata/testdata/CP770: New file.
35922 * iconvdata/testdata/CP770..UTF8: New file.
35923 * iconvdata/testdata/CP771: New file.
35924 * iconvdata/testdata/CP771..UTF8: New file.
35925 * iconvdata/testdata/CP772: New file.
35926 * iconvdata/testdata/CP772..UTF8: New file.
35927 * iconvdata/testdata/CP773: New file.
35928 * iconvdata/testdata/CP773..UTF8: New file.
35929 * iconvdata/testdata/CP774: New file.
35930 * iconvdata/testdata/CP774..UTF8: New file.
35932 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35934 * iconvdata/gen-8bit-gap.sh: Likewise.
35935 * iconvdata/gen-8bit.sh: Likewise.
35937 * locale/iso-639.def: Add ary entry.
35940 * locale/C-translit.h.in: Add U20A1 transliteration.
35943 * locale/iso-639.def: Add wae entry.
35944 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35947 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35951 * locale/C-translit.h.in: Add entry for U20B9.
35952 Patch by pravin.d.s@gmail.com.
35954 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35957 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35958 ENAMETOOLONG use generic getcwd.
35959 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35960 in rtld. Use *stat64.
35961 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35962 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35963 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35964 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35965 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35966 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35967 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35968 __fstatat64 macros.
35969 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35970 * dirent/rewinddir.c: Add libc_hidden_def.
35971 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35972 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35974 * include/dirent.h (__alloc_dir): Add flags parameter.
35975 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35976 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35978 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35979 from fdopendir if O_CLOEXEC is already set.
35981 2011-03-15 Alan Modra <amodra@gmail.com>
35983 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35984 l_tls_firstbyte_offset non-zero. Save padding offset in
35985 l_tls_firstbyte_offset for later use.
35986 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35987 freeing static tls block.
35989 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35991 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35992 where #ifdef was intended. The intent is to prevent ARG_MAX from
35993 being defined by the kernel headers.
35995 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35998 * resolv/resolv.h: Define RES_NOTLDQUERY.
35999 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36000 no-tld-query and set RES_NOTLDQUERY.
36001 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36002 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36003 modern BIND to search name as TLD unless forbidden.
36005 2011-05-07 Petr Baudis <pasky@suse.cz>
36006 Ulrich Drepper <drepper@gmail.com>
36009 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36010 (is_trusted_path): ...to here.
36011 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36012 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36013 using is_trusted_path_normalize() in setuid scripts.
36015 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36018 __BEGIN/__END_DECLS.
36020 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36023 NSS_STATUS_NOTFOUND if no record was found.
36025 2011-05-05 Andreas Schwab <schwab@redhat.com>
36027 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36028 (headers-not-in-tirpc): Remove rpc/netdb.h
36029 * resolv/netdb.h: Revert last change.
36031 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36033 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36034 circular dependency between libgcc.a and libc.a.
36036 2011-05-05 Andreas Schwab <schwab@redhat.com>
36038 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36039 * nis/Makefile: Don't install rpcsvc/*.
36040 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36041 instead of <rpc/types.h>.
36042 (MAXHOSTNAMELEN): Define.
36044 2011-05-03 Andreas Schwab <schwab@redhat.com>
36046 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36048 2011-04-28 Maciej Babinski <mbabinski@google.com>
36051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36052 gethostbyname4_r when IPv6 results are possible.
36054 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36057 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36058 _PC_PIPE_BUF handling.
36060 2011-04-30 Bruno Haible <bruno@clisp.org>
36063 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36064 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36066 * inet/getnameinfo.c (getnameinfo): Likewise.
36068 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36070 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36071 to groups setting in database lookup.
36072 * nss/nsswitch.conf: Add initgroups entry.
36074 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36077 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36079 Patch by Eric Blake <eblake@redhat.com>.
36081 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36083 * sunrpc/Makefile (need-export-routines): Add svc_run.
36084 (routines): Remove svc_run.
36085 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36086 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36087 * sunrpc/svc_run.c (svc_run): Likewise.
36088 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36090 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36093 problem in reallocation in last patch.
36095 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36097 * sunrpc/Makefile: Move inclusion of Rules.
36099 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36101 * nss/nss_files/files-initgroups.c: New file.
36102 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36103 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36104 _nss_files_initgroups_dyn.
36106 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36108 * elf/elf.h (R_ARM_IRELATIVE): Define.
36110 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36112 * po/ru.po: Update from translation team.
36114 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36116 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36119 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36122 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36123 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36128 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36132 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36136 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36139 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36141 * stdlib/bug-getcontext.c: New file.
36142 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36144 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36146 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36147 instructions into .machine "z9-109".
36148 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36149 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36151 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36153 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36154 between environment variables and auxiliary vector.
36156 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36158 * Makefile: Add rules to build linkobj/libc.so.
36159 * include/libc-symbols.h: Define libc_hidden_nolink.
36160 * include/rpc/auth.h: Mark functions which are to be hidden.
36161 * include/rpc/auth_des.h: Likewise.
36162 * include/rpc/auth_unix.h: Likewise.
36163 * include/rpc/clnt.h: Likewise.
36164 * include/rpc/des_crypt.h: Likewise.
36165 * include/rpc/key_prot.h: Likewise.
36166 * include/rpc/pmap_clnt.h: Likewise.
36167 * include/rpc/pmap_prot.h: Likewise.
36168 * include/rpc/pmap_rmt.h: Likewise.
36169 * include/rpc/rpc_msg.h: Likewise.
36170 * include/rpc/svc.h: Likewise.
36171 * include/rpc/svc_auth.h: Likewise.
36172 * include/rpc/xdr.h: Likewise.
36173 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36174 * nss/Makefile: Likewise.
36175 * sunrpc/Makefile: Don't install headers. Build library with normal
36176 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36177 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36178 for the compat linking library. Remove use of INTDEF/INTUSE.
36179 * sunrpc/auth_none.c: Likewise.
36180 * sunrpc/auth_unix.c: Likewise.
36181 * sunrpc/authdes_prot.c: Likewise.
36182 * sunrpc/authuxprot.c: Likewise.
36183 * sunrpc/clnt_gen.c: Likewise.
36184 * sunrpc/clnt_perr.c: Likewise.
36185 * sunrpc/clnt_raw.c: Likewise.
36186 * sunrpc/clnt_simp.c: Likewise.
36187 * sunrpc/clnt_tcp.c: Likewise.
36188 * sunrpc/clnt_udp.c: Likewise.
36189 * sunrpc/clnt_unix.c: Likewise.
36190 * sunrpc/des_crypt.c: Likewise.
36191 * sunrpc/des_soft.c: Likewise.
36192 * sunrpc/get_myaddr.c: Likewise.
36193 * sunrpc/key_call.c: Likewise.
36194 * sunrpc/key_prot.c: Likewise.
36195 * sunrpc/netname.c: Likewise.
36196 * sunrpc/pm_getmaps.c: Likewise.
36197 * sunrpc/pm_getport.c: Likewise.
36198 * sunrpc/pmap_clnt.c: Likewise.
36199 * sunrpc/pmap_prot.c: Likewise.
36200 * sunrpc/pmap_prot2.c: Likewise.
36201 * sunrpc/pmap_rmt.c: Likewise.
36202 * sunrpc/publickey.c: Likewise.
36203 * sunrpc/rpc_cmsg.c: Likewise.
36204 * sunrpc/rpc_common.c: Likewise.
36205 * sunrpc/rpc_dtable.c: Likewise.
36206 * sunrpc/rpc_prot.c: Likewise.
36207 * sunrpc/rpc_thread.c: Likewise.
36208 * sunrpc/rtime.c: Likewise.
36209 * sunrpc/svc.c: Likewise.
36210 * sunrpc/svc_auth.c: Likewise.
36211 * sunrpc/svc_authux.c: Likewise.
36212 * sunrpc/svc_raw.c: Likewise.
36213 * sunrpc/svc_run.c: Likewise.
36214 * sunrpc/svc_simple.c: Likewise.
36215 * sunrpc/svc_tcp.c: Likewise.
36216 * sunrpc/svc_udp.c: Likewise.
36217 * sunrpc/svc_unix.c: Likewise.
36218 * sunrpc/svcauth_des.c: Likewise.
36219 * sunrpc/xcrypt.c: Likewise.
36220 * sunrpc/xdr.c: Likewise.
36221 * sunrpc/xdr_array.c: Likewise.
36222 * sunrpc/xdr_float.c: Likewise.
36223 * sunrpc/xdr_intXX_t.c: Likewise.
36224 * sunrpc/xdr_mem.c: Likewise.
36225 * sunrpc/xdr_rec.c: Likewise.
36226 * sunrpc/xdr_ref.c: Likewise.
36227 * sunrpc/xdr_sizeof.c: Likewise.
36228 * sunrpc/xdr_stdio.c: Likewise.
36230 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36233 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36234 * sysdeps/ia64/dl-tls.h: Likewise.
36235 * sysdeps/powerpc/dl-tls.h: Likewise.
36236 * sysdeps/s390/dl-tls.h: Likewise.
36237 * sysdeps/sh/dl-tls.h: Likewise.
36238 * sysdeps/sparc/dl-tls.h: Likewise.
36239 * sysdeps/x86_64/dl-tls.h: Likewise.
36240 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36242 2011-03-14 Andreas Schwab <schwab@redhat.com>
36244 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36245 rpath element also skip the following colon.
36246 (expand_dynamic_string_token): Add is_path parameter and pass
36247 down to DL_DST_REQUIRED and _dl_dst_substitute.
36248 (decompose_rpath): Call expand_dynamic_string_token with
36249 non-zero is_path. Ignore empty rpaths.
36250 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36253 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36258 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36261 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36262 Patch by Filipe David Manana <fdmanana@apache.org>.
36264 2011-04-07 Andreas Schwab <schwab@redhat.com>
36266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36267 Maintain aligned stack.
36268 (CHECK_RSP): Remove unused macro.
36270 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36272 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36273 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36275 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36277 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36279 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36281 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36284 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36285 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36286 * sysdeps/x86_64/memmove.c: New file.
36287 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36288 (memcpy): Renamed to ...
36289 (__new_memcpy): This.
36290 (memcpy): Provide GLIBC_2_14 memcpy.
36291 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36292 (memcpy): Provide GLIBC_2_2_5 memcpy.
36294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36297 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36299 2011-03-30 Andreas Schwab <schwab@redhat.com>
36301 * misc/syncfs.c: New file.
36302 * misc/Makefile (routines): Add syncfs.
36303 * posix/unistd.h: Declare syncfs.
36304 * sysdeps/unix/syscalls.list: Add syncfs.
36306 2011-04-01 Andreas Schwab <schwab@redhat.com>
36308 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36315 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36318 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36322 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36328 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36329 sync_file_range.c with -fexceptions.
36330 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36331 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36332 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36333 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36334 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36335 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36337 sync_file_range as cancellation point
36338 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36339 now a wrapper around __call_sync_file_range with cancellation handling.
36340 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36342 function name to __call_sync_file_range.
36343 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36344 Add call_sync_file_range.
36346 2011-04-01 Andreas Schwab <schwab@redhat.com>
36348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36353 * iconv/iconv.h: Fix typo in comment.
36354 * io/fcntl.h: Likewise.
36355 * libio/stdio.h: Likewise.
36356 * posix/spawn.h: Likewise.
36357 * posix/unistd.h: Likewise.
36358 * stdlib/stdlib.h: Likewise.
36359 * time/time.h: Likewise.
36360 * wcsmbs/wchar.h: Likewise.
36362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36363 open_by_handle): Add.
36364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36365 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36366 Augment a few comments.
36367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36372 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36375 * io/fcntl.h (AT_EMPTY_PATH): Define.
36377 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36379 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36380 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36381 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36383 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36384 * Versions.def: Add GLIBC_2.14.
36385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36388 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36394 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36397 * string/test-strncmp.c (do_page_test): New function.
36398 (check2): Likewise.
36399 (test_main): Call check2.
36400 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36402 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36406 Handle cache information in CPU leaf 4.
36407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36409 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36412 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36413 character representation.
36414 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36416 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36419 END(__isnan) to END(__isnanf) to match function entry point/label
36420 EALIGN(__isnanf,...).
36422 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36424 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36426 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36429 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36430 copy from the symbol referenced in the relocation to initialize the
36432 Patch by Piotr Bury <pbury@goahead.com>.
36433 * elf/Makefile: Add rules to build and tst-unique3.
36434 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36435 * elf/tst-unique3.cc: New file.
36436 * elf/tst-unique3.h: New file.
36437 * elf/tst-unique3lib.cc: New file.
36438 * elf/tst-unique3lib2.cc: New file.
36440 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36442 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36444 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36445 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36448 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36450 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36451 to-be-loaded object along a path to loader is ld.so.
36453 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36454 Ulrich Drepper <drepper@gmail.com>
36456 * sysdeps/x86_64/memset.S: After aligning destination, code
36457 branches to different locations depending on the value of
36458 misalignment, when multiarch is enabled. Fix this.
36460 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36462 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36463 Set _x86_64_preferred_memory_instruction for AMD processsors.
36464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36465 Set bit_Prefer_SSE_for_memop for AMD processors.
36467 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36469 * libio/fmemopen.c (fmemopen): Optimize a bit.
36471 2011-03-03 Andreas Schwab <schwab@redhat.com>
36473 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36475 2011-03-03 Roland McGrath <roland@redhat.com>
36477 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36479 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36481 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36482 __bzero_ultra1 instead of __memset_ultra1.
36484 2011-02-23 Andreas Schwab <schwab@redhat.com>
36485 Ulrich Drepper <drepper@gmail.com>
36488 * include/link.h (struct link_map): Add l_orig_initfini.
36489 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36490 returning unsuccessfully.
36491 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36492 close of a file loaded at startup, restore the original l_initfini
36494 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36495 list, store the pointer.
36496 * elf/Makefile ($(objpfx)noload-mem): New rule.
36497 (noload-ENV): Define.
36498 (tests): Add $(objpfx)noload-mem.
36499 * elf/noload.c: Include <memcheck.h>.
36500 (main): Call mtrace. Close all opened handles.
36502 2011-02-17 Andreas Schwab <schwab@redhat.com>
36505 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36506 dependencies are missing.
36508 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36510 Fix __if_freereq crash: Unlike the generic version which uses free,
36512 * sysdeps/mach/hurd/ifreq.h: New file.
36514 2011-01-27 Petr Baudis <pasky@suse.cz>
36515 Ulrich Drepper <drepper@gmail.com>
36518 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36519 to extend_alloca().
36520 * stdio-common/bug23.c: New file.
36521 * stdio-common/Makefile (tests): Add bug23.
36523 2010-09-28 Andreas Schwab <schwab@redhat.com>
36524 Ulrich Drepper <drepper@gmail.com>
36527 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36528 before performing relro protection. At old place add assertion
36529 to make sure nothing changed.
36531 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36532 Glauber de Oliveira Costa <glommer@gmail.com>
36534 * elf/elf.h: Add new ARM TLS relocs.
36536 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36539 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36541 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36543 * sysdeps/wordsize-64/tst-writev.c: New file.
36545 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36547 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36548 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36549 insns in _dl_start to prevent a TOC reference before relocs are
36552 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36555 * Makeconfig: Remove RANLIB definition.
36556 * Makerules: Don't use RANLIB.
36557 * aclocal.m4: Remove ranlib test.
36558 * configure.in: No need to check for ranlib.
36559 * elf/rtld-Rules: Don't use RANLIB.
36561 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36563 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36565 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36566 inclusion protection macro.
36568 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36569 SIGRTMIN and SIGRTMAX and print information in that case only when
36570 SIGRTMIN is defined.
36572 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36574 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36575 arginfo fn returning -1.
36577 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36578 and thousands string is zero terminated.
36580 2011-02-03 Andreas Schwab <schwab@redhat.com>
36582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36583 sysdeps/unix/sysv/linux/bits/socket.h.
36585 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36587 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36588 (__CPU_COUNT): Remove old macros.
36589 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36590 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36591 (__CPU_ALLOC, __CPU_FREE): Add macros.
36592 (__sched_cpualloc, __sched_cpufree): Add declarations.
36594 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36596 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36597 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36598 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36599 (readdhstai): Return value of addhstaiX call.
36600 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36601 (addgrbyX): Return value returned by cache_addgr.
36602 (readdgrbyname): Return value returned by addgrbyX.
36603 (readdgrbygid): Likewise.
36604 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36605 (addpwbyX): Return value returned by cache_addpw.
36606 (readdpwbyname): Return value returned by addhstbyX.
36607 (readdpwbyuid): Likewise.
36608 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36609 (addservbyX): Return value returned by cache_addserv.
36610 (readdservbyname): Return value returned by addservbyX:
36611 (readdservbyport): Likewise.
36612 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36613 (addhstbyX): Return value returned by cache_addhst.
36614 (readdhstbyname): Return value returned by addhstbyX.
36615 (readdhstbyaddr): Likewise.
36616 (readdhstbynamev6): Likewise.
36617 (readdhstbyaddrv6): Likewise.
36618 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36619 (readdinitgroups): Return value returned by addinitgroupsX.
36620 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36621 (prune_cache): Keep track of timeout value of re-added entries.
36622 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36623 * nscd/nscd.h: Adjust prototypes of readd* functions.
36625 2011-02-04 Roland McGrath <roland@redhat.com>
36627 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36628 (nis_stats): Likewise.
36629 * nis/nis_modify.c (nis_modify): Likewise.
36630 * nis/nis_remove.c (nis_remove): Likewise.
36631 * nis/nis_add.c (nis_add): Likewise.
36633 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36635 * posix/fnmatch_loop.c: Add some consts.
36637 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36639 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36642 * config.make.in (config-cflags-novzeroupper): Define.
36643 * configure.in: Substitute libc_cv_cc_novzeroupper.
36644 * elf/Makefile (AVX-CFLAGS): Define.
36645 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36646 (CFLAGS-tst-auditmod4a.c): Likewise.
36647 (CFLAGS-tst-auditmod4b.c): Likewise.
36648 (CFLAGS-tst-auditmod6b.c): Likewise.
36649 (CFLAGS-tst-auditmod6c.c): Likewise.
36650 (CFLAGS-tst-auditmod7b.c): Likewise.
36651 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36653 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36655 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36656 function to the callback.
36657 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36659 2011-02-02 Andreas Schwab <schwab@redhat.com>
36661 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36664 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36667 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36669 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36671 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36674 * elf/Makefile: Add rules to build and run new test.
36675 * elf/tst-initorder.c: New file.
36676 * elf/tst-initorder.exp: New file.
36677 * elf/tst-initordera1.c: New file.
36678 * elf/tst-initordera2.c: New file.
36679 * elf/tst-initordera3.c: New file.
36680 * elf/tst-initordera4.c: New file.
36681 * elf/tst-initorderb1.c: New file.
36682 * elf/tst-initorderb2.c: New file.
36683 * elf/tst-order-a1.c: New file.
36684 * elf/tst-order-a2.c: New file.
36685 * elf/tst-order-a3.c: New file.
36686 * elf/tst-order-a4.c: New file.
36687 * elf/tst-order-b1.c: New file.
36688 * elf/tst-order-b2.c: New file.
36689 * elf/tst-order-main.c: New file.
36690 New test case by George Gensure <werkt0@gmail.com>.
36692 2010-10-01 Andreas Schwab <schwab@redhat.com>
36694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36695 decoding ACE if AI_CANONIDN.
36697 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36699 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36701 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36703 * version.h (RELEASE): Bump for 2.13 release.
36704 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36706 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36717 * posix/getconf.c: Update copyright year.
36718 * catgets/gencat.c: Likewise.
36719 * csu/version.c: Likewise.
36720 * debug/catchsegv.sh: Likewise.
36721 * debug/xtrace.sh: Likewise.
36722 * elf/ldconfig.c: Likewise.
36723 * elf/ldd.bash.in: Likewise.
36724 * elf/sprof.c (print_version): Likewise.
36725 * iconv/iconv_prog.c: Likewise.
36726 * iconv/iconvconfig.c: Likewise.
36727 * locale/programs/locale.c: Likewise.
36728 * locale/programs/localedef.c: Likewise.
36729 * malloc/memusage.sh: Likewise.
36730 * malloc/mtrace.pl: Likewise.
36731 * nscd/nscd.c (print_version): Likewise.
36732 * nss/getent.c: Likewise.
36734 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36735 PF_CAIF, and PF_ALG.
36736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36738 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36740 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36741 (modules-names): Use them.
36742 (ifunc-test-modules, ifunc-pie-tests): Define.
36743 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36744 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36745 (test-extras): Likewise.
36746 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36747 $(compile-command.c).
36748 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36749 (all-built-dso): Define.
36750 (check-textrel.out, check-execstack.out): Depend on it.
36752 * configure.in: Don't override --enable-multi-arch.
36754 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36757 * nscd/hstcache.c (tryagain): Define.
36758 (cache_addhst): Return tryagain not notfound for temporary errors.
36759 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36762 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36766 to make the syscall.
36767 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36770 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36771 and fall back to matching as normal character if the string ends before
36772 the matching ']' is found. This is what POSIX requires.
36773 * posix/testfnm.c: Adjust test result.
36774 * posix/globtest.sh: Adjust test result. Add new test.
36775 * posix/tst-fnmatch.input: Likewise.
36776 * posix/tst-fnmatch2.c: Add new test.
36778 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36780 * elf/Makefile (check-execstack): Revert last change. Depend on
36782 (check-execstack.h): New target.
36783 (generated): Add check-execstack.h.
36784 * elf/check-execstack.c: Include "check-execstack.h".
36785 (main): Revert last change.
36786 (handle_file): Return zero if GNU_STACK is absent and
36787 DEFAULT_STACK_PERMS doesn't include PF_X.
36789 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36791 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36792 in child fails because the descriptor is already closed.
36793 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36794 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36795 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36802 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36803 temporary buffer used to handle multi lookups locally.
36804 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36806 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36808 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36811 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36813 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36814 alignment for SSE2.
36816 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36819 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36820 characters. When rounding increased number of integer digits recompute
36822 * stdio-common/tst-grouping.c: New file.
36823 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36825 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36827 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36828 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36830 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36832 * bits/select.h: Likewise.
36834 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36836 * po/ja.po: Update from translation team.
36838 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36841 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36842 implementation just like for lxstat, fxstatat, et al.
36844 2010-12-27 Jim Meyering <meyering@redhat.com>
36847 * posix/regexec.c (build_trtable): Return failure indication upon
36848 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36850 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36853 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36854 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36859 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36862 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36863 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36865 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36867 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36868 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36869 script has SORT_BY_INIT_PRIORITY.
36870 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36871 NO_CTORS_DTORS_SECTIONS is defined.
36872 * elf/soinit.c: Likewise.
36873 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36874 NO_CTORS_DTORS_SECTIONS is defined.
36875 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36876 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36877 * sysdeps/sh/init-first.c: Likewise.
36878 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36880 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36882 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36883 always use the slow path.
36885 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36887 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36888 similar rule which adds the sysdep directories to the header search in
36889 order to pick up the correct platform stackinfo.h.
36890 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36891 perform test if it is, otherwise return successfully without testing.
36892 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36893 DEFAULT_STACK_PERMS define in stackinfo.h.
36894 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36895 defined in stackinfo.h.
36896 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36897 DEFAULT_STACK_PERMS defined in stackinfo.h.
36898 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36899 * sysdeps/ia64/stackinfo.h: Likewise.
36900 * sysdeps/s390/stackinfo.h: Likewise.
36901 * sysdeps/sh/stackinfo.h: Likewise.
36902 * sysdeps/sparc/stackinfo.h: Likewise.
36903 * sysdeps/x86_64/stackinfo.h: Likewise.
36904 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36905 PF_X for powerpc64. Retain PF_X for powerpc32.
36907 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36909 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36911 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36912 GETDENTS_64BIT_ALIGNED.
36914 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36916 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36918 2010-12-10 Andreas Schwab <schwab@redhat.com>
36920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36924 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36926 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36927 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36929 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36932 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36935 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36937 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36939 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36941 * po/it.po: Update from translation team.
36943 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36948 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36950 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36952 2010-11-24 Andreas Schwab <schwab@redhat.com>
36954 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36956 (gaih_getanswer_slice): Likewise.
36958 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36962 2010-05-31 Petr Baudis <pasky@suse.cz>
36965 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36966 silently even in the chroot mode.
36968 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36971 last patch a bit. Pretty printing
36973 2010-05-31 Petr Baudis <pasky@suse.cz>
36976 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36977 initialization of skip_initgroups_dyn.
36979 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36984 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36986 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36988 2010-11-11 Andreas Schwab <schwab@redhat.com>
36990 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36991 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36992 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36993 ($(objpfx)tst-fnmatch-mem): New rule.
36994 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36995 * posix/tst-fnmatch.c (main): Call mtrace.
36997 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37000 Support Intel processor model 6 and model 0x2c.
37002 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37007 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37010 * string/test-strncasecmp.c (check_result): New function.
37011 (do_one_test): Use it.
37012 (check1): New function.
37013 (test_main): Use it.
37014 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37015 Support strcasecmp and strncasecmp.
37017 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37020 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37023 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37025 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37029 * sysdeps/x86_64/multiarch/bzero.S: New file.
37030 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37031 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37032 * sysdeps/x86_64/multiarch/memset.S: New file.
37033 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37035 Set bit_Prefer_SSE_for_memop for Intel processors.
37036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37038 (index_Prefer_SSE_for_memop): Define.
37039 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37041 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37046 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37049 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37050 (__x86_64_raw_data_cache_size_half): Likewise.
37051 (__x86_64_raw_shared_cache_size): Likewise.
37052 (__x86_64_raw_shared_cache_size_half): Likewise.
37054 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37055 (__x86_64_raw_data_cache_size_half): Likewise.
37056 (__x86_64_raw_shared_cache_size): Likewise.
37057 (__x86_64_raw_shared_cache_size_half): Likewise.
37058 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37059 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37060 and __x86_64_raw_shared_cache_size_half. Round
37061 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37062 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37063 to multiple of 256 bytes.
37065 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37069 of inacessible symlinks. Verify result of symlink before returning it.
37070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37071 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37073 2010-10-28 Erich Ritz <erichritz@gmail.com>
37075 * math/math.h (isinf): Fix typo in comment.
37077 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37079 * po/da.po: Update from translation team.
37081 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37083 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37084 is added to the list.
37086 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37087 Ulrich Drepper <drepper@gmail.com>
37089 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37090 the global list here. Move code to...
37091 (_dl_add_to_namespace_list): ...here. New function.
37092 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37093 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37094 * elf/dl-load.c (lose): Don't remove the element from the list.
37095 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37096 (_dl_map_object): Likewise.
37098 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37101 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37102 into all bytes of SSE register.
37103 Patch by Richard Li <richardpku@gmail.com>.
37105 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37108 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37111 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37113 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37114 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37121 2010-10-22 Andreas Schwab <schwab@redhat.com>
37123 * include/dlfcn.h (__RTLD_SECURE): Define.
37124 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37125 mode & __RTLD_SECURE instead.
37126 (open_path): Rename preloaded parameter to secure.
37127 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37128 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37129 * elf/dl-deps.c (openaux): Likewise.
37130 * elf/rtld.c (struct map_args): Remove is_preloaded.
37131 (map_doit): Don't use it.
37132 (dl_main): Likewise.
37133 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37134 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37136 2010-09-09 Andreas Schwab <schwab@redhat.com>
37138 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37139 (sysd-rules-targets): Remove duplicates.
37140 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37141 rtld-%.$o dependency.
37143 2010-10-18 Andreas Schwab <schwab@redhat.com>
37145 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37146 _dl_map_object do it.
37148 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37150 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37151 fast fma builtins, define the macros in the C99 standard.
37152 (FP_FAST_FMAF): Likewise.
37153 (FP_FAST_FMAL): Likewise.
37154 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37156 * bits/mathdef.h: Update copyright year.
37157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37159 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37161 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37162 builtins, define the macros in the C99 standard.
37163 (FP_FAST_FMAF): Likewise.
37164 (FP_FAST_FMAL): Likewise.
37165 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37167 (FP_FAST_FMAF): Likewise.
37169 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37172 * math/libm-test.inc (fma_test): Some new testcases.
37173 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37175 y and infinite z. Do multiplication by C already in long double.
37176 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37178 y and infinite z. Do bitwise or of inexact bit into u.d.
37179 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37180 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37181 * sysdeps/i386/fpu/s_fma.S: Removed.
37182 * sysdeps/i386/fpu/s_fmal.S: Removed.
37184 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37187 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37189 computation is not scheduled after fetestexcept. Fix value
37190 of minimum denormal long double.
37192 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37195 * math/libm-test.inc (fma_test): Add some more tests.
37196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37199 2010-10-15 Andreas Schwab <schwab@redhat.com>
37201 * scripts/data/localplt-s390-linux-gnu.data: New file.
37202 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37204 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37207 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37208 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37210 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37212 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37214 if one of x and y is very large and the other is subnormal.
37215 * sysdeps/s390/fpu/s_fmaf.c: New file.
37216 * sysdeps/s390/fpu/s_fma.c: New file.
37217 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37218 * sysdeps/powerpc/fpu/s_fma.S: New file.
37219 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37220 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37221 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37223 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37226 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37229 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37230 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37231 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37232 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37233 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37236 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37239 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37240 * posix/bug-regex31.input: Add test case.
37242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37244 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37245 * posix/bug-regex31.input: New file.
37248 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37249 (parse_sub_exp): Fix last change, use postorder.
37251 * posix/bug-regex31.c: New file.
37252 * posix/Makefile: Add rules to build and run bug-regex31.
37254 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37257 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37260 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37261 to have entries in sys_siglist.
37264 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37267 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37270 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37271 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37272 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37273 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37274 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37275 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37276 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37277 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37278 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37279 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37280 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37282 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37283 * math/ftestexcept.c (fetestexcept): Likewise.
37284 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37285 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37286 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37287 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37288 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37289 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37292 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37295 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37298 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37300 * string/bug-strstr1.c: New file.
37301 * string/Makefile: Add rules to build and run bug-strstr1.
37303 2010-10-05 Eric Blake <eblake@redhat.com>
37306 * string/str-two-way.h (two_way_long_needle): Always clear memory
37307 when skipping input due to the shift table.
37309 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37312 * malloc/mcheck.c: Handle large requests.
37315 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37316 for strncmp and strncasecmp.
37317 * string/stratcliff.c: Add tests for strcmp and strncmp.
37318 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37320 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37322 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37325 2010-09-30 Andreas Jaeger <aj@suse.de>
37327 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37328 (CGROUP_SUPER_MAGIC): Define.
37329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37330 Handle btrfs and cgroup file systems.
37331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37334 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37336 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37337 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37339 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37342 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37343 trying to locate the ELF header.
37345 2010-09-27 Andreas Schwab <schwab@redhat.com>
37348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37349 Mask out sign-bit copies when constructing f_fsid.
37351 2010-09-24 Petr Baudis <pasky@suse.cz>
37353 * debug/stack_chk_fail_local.c: Add missing licence exception.
37354 * debug/warning-nop.c: Likewise.
37356 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37358 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37359 implementing getdents64 using getdents syscall, set d_type if
37360 __ASSUME_GETDENTS32_D_TYPE.
37362 2010-09-16 Andreas Schwab <schwab@redhat.com>
37364 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37365 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37367 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37370 * posix/unistd.h: Undo change of feature selection for ftruncate from
37373 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37375 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37378 2010-09-20 Andreas Schwab <schwab@redhat.com>
37380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37384 2010-09-14 Andreas Schwab <schwab@redhat.com>
37386 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37387 variables after CHECK_SP call.
37388 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37390 2010-09-13 Andreas Schwab <schwab@redhat.com>
37391 Ulrich Drepper <drepper@redhat.com>
37393 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37394 re-relocationg ld.so.
37395 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37396 _dl_init_paths call.
37397 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37400 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37402 * resolv/res_init.c (__res_vinit): Count the default server we added.
37404 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37405 Ulrich Drepper <drepper@redhat.com>
37408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37409 (____longjmp_chk): Use %ebx for saving value across system call.
37412 2010-09-06 Andreas Schwab <schwab@redhat.com>
37414 * manual/Makefile: Don't mix pattern rules with normal rules.
37416 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37418 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37420 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37421 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37422 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37423 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37427 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37430 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37431 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37433 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37435 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37436 * sysdeps/x86_64/addmul_1.S: Likewise.
37437 * sysdeps/x86_64/lshift.S: Likewise.
37438 * sysdeps/x86_64/mul_1.S: Likewise.
37439 * sysdeps/x86_64/rshift.S: Likewise.
37440 * sysdeps/x86_64/sub_n.S: Likewise.
37441 * sysdeps/x86_64/submul_1.S: Likewise.
37443 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37445 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37446 Define __sched_param instead of SCHED_* and sched_param when
37447 <bits/sched.h> is included with __need_schedparam defined.
37448 * bits/sched.h [__need_schedparam]
37449 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37450 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37451 (__defined_schedparam): Define to 1.
37452 (__sched_param): New structure, identical to sched_param.
37453 (__need_schedparam): Undefine.
37455 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37458 (epoll_create1): Declare.
37460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37462 2010-08-31 Andreas Schwab <schwab@redhat.com>
37465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37466 shifting retval into place.
37468 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37470 * nis/rpcsvc/nis.h: Update copyright notice.
37471 * nis/rpcsvc/nis.x: Likewise.
37472 * nis/rpcsvc/nis_callback.h: Likewise.
37473 * nis/rpcsvc/nis_callback.x: Likewise.
37474 * nis/rpcsvc/nis_object.x: Likewise.
37475 * nis/rpcsvc/nis_tags.h: Likewise.
37476 * nis/rpcsvc/yp.h: Likewise.
37477 * nis/rpcsvc/yp.x: Likewise.
37478 * nis/rpcsvc/ypupd.h: Likewise.
37479 * nis/yp_xdr.c: Likewise.
37480 * nis/ypupdate_xdr.c: Likewise.
37482 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37483 mainly the body of pmap_getport. Add parameters to specify timeouts.
37484 (pmap_getport): Use __libc_rpc_getport.
37485 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37486 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37487 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37489 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37494 2010-08-27 Roland McGrath <roland@redhat.com>
37496 * sysdeps/i386/i686/multiarch/Makefile
37497 (CFLAGS-varshift.c): New variable.
37499 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37501 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37502 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37506 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37508 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37510 * sysdeps/x86_64/strlen.S: Unroll the loop.
37511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37512 strlen-sse2 strlen-sse2-bsf.
37513 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37514 __strlen_no_bsf if bit_Slow_BSF is set.
37515 (__strlen_sse42): Removed.
37516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37517 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37519 2010-08-25 Roland McGrath <roland@redhat.com>
37521 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37522 * sysdeps/x86_64/multiarch/varshift.c: New file.
37523 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37524 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37525 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37528 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37531 strlen-sse2 strlen-sse2-bsf.
37532 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37533 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37534 (__strlen_sse2): Removed.
37535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37538 bit_Slow_BSF for Atom.
37539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37540 (index_Slow_BSF): Define.
37541 (HAS_SLOW_BSF): Define.
37543 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37546 * resolv/res_init.c (__res_vinit): When no server address at all
37547 is given default to loopback.
37549 2010-08-24 Roland McGrath <roland@redhat.com>
37551 * configure.in: Remove config-name.h generation.
37552 * configure: Regenerated.
37553 * config-name.in: File removed.
37554 * scripts/config-uname.sh: New file.
37555 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37556 ($(objdir)config-name.h): New target.
37558 * sunrpc/rpc_parse.h: Avoid nested comment.
37560 2010-08-24 Richard Henderson <rth@redhat.com>
37561 Ulrich Drepper <drepper@redhat.com>
37562 H.J. Lu <hongjiu.lu@intel.com>
37564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37566 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37567 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37568 _mm_alignr_epi8 with _mm_loadu_si128.
37569 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37570 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37571 (__m128i_shift_right): Removed.
37572 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37573 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37574 * sysdeps/x86_64/multiarch/varshift.h: New file.
37575 * sysdeps/x86_64/multiarch/varshift.S: New file.
37577 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37579 * configure.in: Move assembler checks to before sysdep dir checking.
37581 2010-08-20 Petr Baudis <pasky@suse.cz>
37583 * LICENSES: Sync the sunrpc license.
37585 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37587 * sunrpc/auth_des.c: Update copyright notice once again.
37588 * sunrpc/auth_none.c: Likewise.
37589 * sunrpc/auth_unix.c: Likewise.
37590 * sunrpc/authdes_prot.c: Likewise.
37591 * sunrpc/authuxprot.c: Likewise.
37592 * sunrpc/bindrsvprt.c: Likewise.
37593 * sunrpc/clnt_gen.c: Likewise.
37594 * sunrpc/clnt_perr.c: Likewise.
37595 * sunrpc/clnt_raw.c: Likewise.
37596 * sunrpc/clnt_simp.c: Likewise.
37597 * sunrpc/clnt_tcp.c: Likewise.
37598 * sunrpc/clnt_udp.c: Likewise.
37599 * sunrpc/clnt_unix.c: Likewise.
37600 * sunrpc/des_crypt.c: Likewise.
37601 * sunrpc/des_soft.c: Likewise.
37602 * sunrpc/get_myaddr.c: Likewise.
37603 * sunrpc/getrpcport.c: Likewise.
37604 * sunrpc/key_call.c: Likewise.
37605 * sunrpc/key_prot.c: Likewise.
37606 * sunrpc/openchild.c: Likewise.
37607 * sunrpc/pm_getmaps.c: Likewise.
37608 * sunrpc/pm_getport.c: Likewise.
37609 * sunrpc/pmap_clnt.c: Likewise.
37610 * sunrpc/pmap_prot.c: Likewise.
37611 * sunrpc/pmap_prot2.c: Likewise.
37612 * sunrpc/pmap_rmt.c: Likewise.
37613 * sunrpc/rpc/auth.h: Likewise.
37614 * sunrpc/rpc/auth_unix.h: Likewise.
37615 * sunrpc/rpc/clnt.h: Likewise.
37616 * sunrpc/rpc/des_crypt.h: Likewise.
37617 * sunrpc/rpc/key_prot.h: Likewise.
37618 * sunrpc/rpc/netdb.h: Likewise.
37619 * sunrpc/rpc/pmap_clnt.h: Likewise.
37620 * sunrpc/rpc/pmap_prot.h: Likewise.
37621 * sunrpc/rpc/pmap_rmt.h: Likewise.
37622 * sunrpc/rpc/rpc.h: Likewise.
37623 * sunrpc/rpc/rpc_des.h: Likewise.
37624 * sunrpc/rpc/rpc_msg.h: Likewise.
37625 * sunrpc/rpc/svc.h: Likewise.
37626 * sunrpc/rpc/svc_auth.h: Likewise.
37627 * sunrpc/rpc/types.h: Likewise.
37628 * sunrpc/rpc/xdr.h: Likewise.
37629 * sunrpc/rpc_clntout.c: Likewise.
37630 * sunrpc/rpc_cmsg.c: Likewise.
37631 * sunrpc/rpc_common.c: Likewise.
37632 * sunrpc/rpc_cout.c: Likewise.
37633 * sunrpc/rpc_dtable.c: Likewise.
37634 * sunrpc/rpc_hout.c: Likewise.
37635 * sunrpc/rpc_main.c: Likewise.
37636 * sunrpc/rpc_parse.c: Likewise.
37637 * sunrpc/rpc_parse.h: Likewise.
37638 * sunrpc/rpc_prot.c: Likewise.
37639 * sunrpc/rpc_sample.c: Likewise.
37640 * sunrpc/rpc_scan.c: Likewise.
37641 * sunrpc/rpc_scan.h: Likewise.
37642 * sunrpc/rpc_svcout.c: Likewise.
37643 * sunrpc/rpc_tblout.c: Likewise.
37644 * sunrpc/rpc_util.c: Likewise.
37645 * sunrpc/rpc_util.h: Likewise.
37646 * sunrpc/rpcinfo.c: Likewise.
37647 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37648 * sunrpc/rpcsvc/key_prot.x: Likewise.
37649 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37650 * sunrpc/rpcsvc/mount.x: Likewise.
37651 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37652 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37653 * sunrpc/rpcsvc/rex.x: Likewise.
37654 * sunrpc/rpcsvc/rstat.x: Likewise.
37655 * sunrpc/rpcsvc/rusers.x: Likewise.
37656 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37657 * sunrpc/rpcsvc/spray.x: Likewise.
37658 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37659 * sunrpc/rtime.c: Likewise.
37660 * sunrpc/svc.c: Likewise.
37661 * sunrpc/svc_auth.c: Likewise.
37662 * sunrpc/svc_authux.c: Likewise.
37663 * sunrpc/svc_raw.c: Likewise.
37664 * sunrpc/svc_run.c: Likewise.
37665 * sunrpc/svc_simple.c: Likewise.
37666 * sunrpc/svc_tcp.c: Likewise.
37667 * sunrpc/svc_udp.c: Likewise.
37668 * sunrpc/svc_unix.c: Likewise.
37669 * sunrpc/svcauth_des.c: Likewise.
37670 * sunrpc/xcrypt.c: Likewise.
37671 * sunrpc/xdr.c: Likewise.
37672 * sunrpc/xdr_array.c: Likewise.
37673 * sunrpc/xdr_float.c: Likewise.
37674 * sunrpc/xdr_mem.c: Likewise.
37675 * sunrpc/xdr_rec.c: Likewise.
37676 * sunrpc/xdr_ref.c: Likewise.
37677 * sunrpc/xdr_sizeof.c: Likewise.
37678 * sunrpc/xdr_stdio.c: Likewise.
37680 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37683 2010-08-19 Andreas Schwab <schwab@redhat.com>
37685 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37687 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37689 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37691 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37692 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37694 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37696 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37698 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37699 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37700 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37701 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37704 2010-07-26 Anton Blanchard <anton@samba.org>
37706 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37707 * malloc/arena.c (heap_trim): Likewise.
37709 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37711 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37714 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37716 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37718 * sysdeps/i386/elf/Makefile: New file.
37720 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37722 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37723 from fanotify_init.
37724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37727 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37729 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37731 * sysdeps/multiarch/strcmp.S: Likewise.
37733 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37736 strncase_l-nonascii.
37737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37738 Add strncase_l-ssse3.
37739 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37740 * sysdeps/x86_64/strcmp.S: Likewise.
37741 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37742 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37743 * sysdeps/x86_64/strncase.S: New file.
37744 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37745 * sysdeps/x86_64/strncase_l.S: New file.
37746 * string/Makefile (strop-tests): Add strncasecmp.
37747 * string/test-strncasecmp.c: New file.
37749 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37752 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37753 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37755 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37757 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37759 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37761 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37763 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37765 2010-05-01 Alan Modra <amodra@gmail.com>
37767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37768 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37769 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37770 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37771 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37772 tidying. Don't tail-call __sigjmp_save for static lib.
37773 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37775 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37776 (CALL_MCOUNT): Add eh info, and nop after bl.
37777 (TAIL_CALL_SYSCALL_ERROR): New macro.
37778 (PSEUDO_RET): Use it.
37779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37780 Correct save location of integer regs and cr.
37781 (_dl_profile_resolve): Correct cr save location. Delete nops
37782 after bl when SHARED. Reduce cfi size a little by better
37783 placement of cfi directives.
37784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37785 make a stack frame. Instead use parm save area as a temp.
37786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37787 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37789 Don't make a stack frame for parent, use parm save area.
37790 Increase child stack frame to 112 bytes. Don't save unused reg,
37791 and adjust reg usage. Set up cfi on error recovery and
37792 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37794 (__makecontext): Add dummy nop after jump to exit.
37795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37796 Use correct parm save area and cr save, reduce stack frame.
37797 Correct cfi for possible PSEUDO_RET frame setup.
37798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37799 Branch to local label emitted by PSEUDO_RET rather than
37802 2010-08-12 Andreas Schwab <schwab@redhat.com>
37805 * locale/programs/locale.c (print_assignment): New function.
37806 (show_locale_vars): Use it.
37808 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37810 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37812 (struct statfs64): Likewise.
37813 (_STATFS_F_FLAGS): Define.
37814 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37815 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37816 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37817 (ST_VALID): Define locally.
37818 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37819 __statvfs_getflags, use the provided value.
37820 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37821 __ASSUME_STATFS_F_FLAGS.
37823 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37826 Add sys/fanotify.h.
37827 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37828 fanotify_mask for GLIBC_2.13.
37829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37830 fanotify_init and fanotify_mark.
37831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37832 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37834 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37836 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37837 prlimit64 for GLIBC_2.13.
37838 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37848 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37851 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37852 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37854 * nss/Makefile: Add rules to build and run tst-nss-test1.
37855 * shlib-versions: Add entry for libnss_test1.
37856 * nss/nss_test1.c: New file.
37857 * nss/tst-nss-test1.c: New file.
37859 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37860 (__nss_configure_lookup): Set appropriate entry in
37861 __nss_configure_lookup to true.
37862 * nss/nsswitch.h: Define enum with indeces of databases in
37863 databases and __nss_database_custom arrays. Declare
37864 __nss_database_custom.
37865 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37866 to avoid using nscd when custom rules are installed.
37867 * nss/getXXbyYY_r.c: Likewise.
37868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37870 * nss/nss_files/files-parse.c: Whitespace fixes.
37872 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37875 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37876 * posix/fnmatch_loop.c: Likewise.
37878 2010-07-17 Andi Kleen <ak@linux.intel.com>
37880 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37881 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37882 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37883 * Versions.def [GLIBC_2.13]: Add.
37885 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37888 Also fail if tpwd after pwuid call is NULL.
37890 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37892 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37893 when converting to ms.
37895 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37897 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37898 EOPNOTSUPP errors with ENOTTY.
37899 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37900 EOPNOTSUPP errors with ENOTTY.
37902 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37904 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37905 Add strcasecmp_l-ssse3.
37906 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37908 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37909 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37910 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37912 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37914 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37916 * string/Makefile (strop-tests): Add strcasecmp.
37917 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37918 strcasecmp_l-nonascii.
37919 (gen-as-const-headers): Add locale-defines.sym.
37920 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37921 * sysdeps/x86_64/strcasecmp.S: New file.
37922 * sysdeps/x86_64/strcasecmp_l.S: New file.
37923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37924 * sysdeps/x86_64/locale-defines.sym: New file.
37925 * string/test-strcasecmp.c: New file.
37927 * string/test-strcasestr.c: Test both ends of the range of characters.
37928 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37930 2010-07-29 Roland McGrath <roland@redhat.com>
37933 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37935 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37937 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37940 2010-07-27 Andreas Schwab <schwab@redhat.com>
37942 * manual/memory.texi (Malloc Tunable Parameters): Document
37945 2010-07-26 Roland McGrath <roland@redhat.com>
37948 * configure.in (-fgnu89-inline check): Set and substitute
37949 gnu89_inline, not libc_cv_gnu89_inline.
37950 * configure: Regenerated.
37951 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37953 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37955 * string/test-strnlen.c: New file.
37956 * string/Makefile (strop-tests): Add strnlen.
37957 * string/tester.c (test_strnlen): Add a few more test cases.
37958 * string/tst-strlen.c: Better error reporting.
37960 * sysdeps/x86_64/strnlen.S: New file.
37962 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37965 lower-latency instructions.
37967 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37969 * string/test-strcasestr.c: New file.
37970 * string/test-strstr.c: New file.
37971 * string/Makefile (strop-tests): Add strstr and strcasestr.
37972 * string/str-two-way.h: Don't undefine MAX.
37973 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37975 2010-07-21 Andreas Schwab <schwab@redhat.com>
37977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37978 strcasestr-nonascii.
37979 (CFLAGS-strcasestr-nonascii.c): Define.
37980 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37982 Remove unused attribute.
37984 2010-07-20 Roland McGrath <roland@redhat.com>
37986 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37987 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37988 ld.so.cache was broken. With it, there is no way to disable dsocaps
37989 like LD_HWCAP_MASK can disable hwcaps.
37991 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37993 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37995 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37997 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37998 call in strcasestr.
37999 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38000 __strcasestr_sse42_nonascii.
38001 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38002 strcasestr-nonascii.c.
38003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38005 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38012 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38017 2010-07-06 Andreas Schwab <schwab@redhat.com>
38020 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38023 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38026 _PC_PIPE_BUF using F_GETPIPE_SZ.
38028 2010-07-05 Roland McGrath <roland@redhat.com>
38030 * manual/arith.texi (Rounding Functions): Fix rint description
38031 implicit in round description.
38033 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38035 * elf/Makefile: Fix linking for a few tests to make recent linker
38038 2010-06-30 Andreas Schwab <schwab@redhat.com>
38040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38041 $(common-objpfx)libc_nonshared.a.
38043 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38045 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38046 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38047 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38048 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38049 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38052 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38067 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38068 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38069 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38070 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38071 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38072 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38073 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38074 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38075 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38076 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38077 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38078 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38094 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38096 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38097 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38098 * string/memmove.c (memmove): Renamed to ...
38099 (MEMMOVE): ...this. Default to memmove.
38100 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38101 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38104 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38105 mempcpy-ssse3-back memmove-ssse3-back.
38106 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38109 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38110 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38111 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38112 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38113 * sysdeps/x86_64/multiarch/memmove.c: New file.
38114 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38115 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38116 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38117 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38121 (index_Fast_Copy_Backward): Define.
38122 (HAS_ARCH_FEATURE): Define.
38123 (HAS_FAST_REP_STRING): Define.
38124 (HAS_FAST_COPY_BACKWARD): Define.
38126 2010-06-21 Andreas Schwab <schwab@redhat.com>
38128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38129 Restore proper fallback handling.
38131 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38134 * posix/group_member.c (__group_member): Correct checking loop.
38136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38137 OOM in getpwuid_r correctly. Return error number when the caller
38138 should return, otherwise -1.
38139 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38140 call returning > 0 value.
38141 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38143 2010-06-07 Andreas Schwab <schwab@redhat.com>
38145 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38146 libc_nonshared.a from targets in modules-names.
38148 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38150 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38153 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38160 2010-06-02 Andreas Schwab <schwab@redhat.com>
38162 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38164 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38175 2010-06-14 Roland McGrath <roland@redhat.com>
38177 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38179 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38181 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38182 __REDIRECT followed by __THROW.
38183 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38184 * posix/getopt.h (getopt): Likewise.
38186 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38188 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38189 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38190 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38192 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38193 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38195 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38199 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38203 Properly check family and model.
38205 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38207 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38209 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38211 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38213 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38215 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38218 2010-05-19 Andreas Schwab <schwab@redhat.com>
38220 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38223 2010-05-21 Andreas Schwab <schwab@redhat.com>
38225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38226 and internal_recvmmsg.
38227 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38228 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38230 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38232 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38233 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38234 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38236 2010-05-20 Andreas Schwab <schwab@redhat.com>
38238 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38240 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38242 POWER7 optimizations.
38243 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38244 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38246 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38248 * version.h: Update for 2.13 development version.
38250 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38253 exceptions. Return 0.
38255 2010-05-07 Roland McGrath <roland@redhat.com>
38257 * elf/ldconfig.c (main): Add a const.
38259 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38261 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38262 (args_options): Add no-idn option.
38263 (ahosts_keys_int): Add idn_flags to ai_flags.
38264 (parse_option): Handle 'i' option to clear idn_flags.
38266 * malloc/malloc.c (_int_free): Possible race in the most recently
38267 added check. Only act on the data if no current modification
38270 See ChangeLog.17 for earlier changes.